:root {
  color-scheme: light;
  --paper: #f5f2e9; --ink: #2f4037; --muted: #697169; --line: #dcded2;
  --green: #425e4d; --soft: #e9ede3; --clay: #94604b; --white: #fbfaf5;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-synthesis: none; font-weight: 400; color: var(--ink); background: var(--paper);
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; min-height: 100svh; font-size: 16px; line-height: 1.75; -webkit-font-smoothing: antialiased; }
button, input, textarea, select { font: inherit; }
button, a, input, textarea, summary { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { opacity: .5; cursor: default; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid #9eae90; outline-offset: 4px;
}
a { color: var(--green); text-underline-offset: 4px; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: clamp(32px, 7.8vw, 48px); font-weight: 500; line-height: 1.34; letter-spacing: -.035em; }
h2 { font-size: 24px; font-weight: 500; line-height: 1.5; letter-spacing: -.02em; }
h3 { font-size: 17px; font-weight: 500; line-height: 1.6; }
p + p { margin-top: 12px; }
.small { font-size: 13px; line-height: 1.75; }
.muted { color: var(--muted); }
.eyebrow { font-size: 12px; letter-spacing: .12em; color: var(--muted); margin-bottom: 20px; }
.lead { font-size: 18px; line-height: 1.9; margin-top: 24px; }
.site-header { max-width: 960px; margin: 0 auto; padding: 25px 32px 18px; display: flex; align-items: center; justify-content: space-between; }
.site-header > span { font-size: 12px; color: var(--muted); letter-spacing: .04em; }
.brand { font-size: 17px; font-weight: 500; letter-spacing: .14em; color: var(--ink); border: 0; background: none; padding: 0; }
.page { width: 100%; max-width: 628px; margin: 0 auto; padding: 40px 32px 64px; min-height: 75vh; overflow-wrap: anywhere; }
.wide-page { max-width: 760px; }
.hero { padding: 16px 0 36px; }
.hero h1 { margin: 0 0 12px; }
.hero-note { color: var(--muted); font-size: 14px; margin-top: 22px; max-width: 460px; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 24px; }
.field label { font-size: 14px; }
.field input { width: 100%; border: 1px solid var(--line); background: var(--white); border-radius: 7px; padding: 13px 14px; color: var(--ink); min-height: 50px; }
input::placeholder { color: #899086; }
.edition-list { border: 0; padding: 0; margin: 36px 0 0; min-width: 0; }
.edition-list legend { font-size: 14px; margin-bottom: 12px; padding: 0; }
.edition-row { display: flex; gap: 14px; align-items: center; padding: 17px 14px; border-top: 1px solid var(--line); cursor: pointer; }
.edition-row:last-child { border-bottom: 1px solid var(--line); }
.edition-row.is-selected { background: var(--soft); }
.edition-row input { accent-color: var(--green); width: 17px; height: 17px; margin: 0; flex-shrink: 0; }
.edition-row > span:nth-child(2) { flex: 1; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.edition-row strong { font-size: 16px; font-weight: 500; }
.edition-row > span > span { font-size: 12px; color: var(--muted); }
.edition-count { font-size: 14px; white-space: nowrap; }
.edition-note { margin: 15px 0 28px; }
.button { display: block; width: 100%; border: 1px solid var(--green); border-radius: 7px; background: var(--green); color: #fffef7; min-height: 52px; padding: 12px 16px; text-align: center; font-weight: 500; transition: background .15s; }
.button:hover:not(:disabled) { background: #334c3f; }
.button + .button { margin-top: 12px; }
.button-secondary { background: transparent; color: var(--ink); border-color: var(--line); font-weight: 400; }
.button-secondary:hover:not(:disabled) { background: var(--soft); }
.text-button { border: 0; background: none; color: var(--green); padding: 10px 0; min-height: 44px; font-size: 14px; text-align: left; }
.quiet-section > .text-button, .report-section > .text-button { display: block; margin-top: 6px; }
.privacy-note { font-size: 12px; color: var(--muted); margin-top: 26px; }
.resume-panel { border-top: 1px solid var(--line); margin-top: 32px; padding-top: 20px; font-size: 14px; }
.resume-panel .text-button { margin-top: 3px; }
.site-footer { max-width: 628px; margin: 0 auto; padding: 0 32px 32px; color: #82897d; font-size: 11px; text-align: center; }
.skip-link { position: absolute; top: -80px; left: 12px; padding: 10px; background: var(--white); z-index: 5; }
.skip-link:focus { top: 8px; }
.loading-page { padding-top: 60px; }
.loading-page h1 { font-size: 32px; margin-bottom: 22px; }
.notice, .error-message, .success-message { padding: 15px 18px; background: #eee9df; border-left: 3px solid var(--clay); font-size: 14px; margin: 12px 0 24px; line-height: 1.8; overflow-wrap: anywhere; }
.error-message { color: #843f32; background: #f2e7de; }
.success-message, .notice-green { background: var(--soft); border-left-color: var(--green); }
.invitation-note { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 20px 0; margin-top: 28px; }
.invitation-note > span { font-size: 14px; }
.invitation-note p { margin-top: 10px; color: var(--muted); font-size: 14px; }
.check { display: flex; align-items: flex-start; gap: 11px; margin: 20px 0; font-size: 14px; line-height: 1.8; }
.check input { margin: 5px 0 0; width: 18px; height: 18px; flex-shrink: 0; accent-color: var(--green); }
#join-form .button { margin-top: 26px; }
.question-top { display: flex; justify-content: space-between; align-items: center; gap: 14px; font-size: 12px; color: var(--muted); margin-bottom: 26px; }
.question-top > span { max-width: 65%; overflow-wrap: anywhere; }
.progress-heading { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; color: var(--muted); margin-bottom: 10px; }
progress { appearance: none; display: block; border: 0; height: 3px; width: 100%; background: #dee2d6; }
progress::-webkit-progress-bar { background: #dee2d6; }
progress::-webkit-progress-value { background: var(--green); }
progress::-moz-progress-bar { background: var(--green); }
.question-body { padding-top: 36px; }
.question-body .eyebrow { margin-bottom: 17px; color: var(--clay); }
.question-title { font-size: clamp(22px, 5.5vw, 29px); line-height: 1.65; font-weight: 500; letter-spacing: -.015em; overflow-wrap: anywhere; }
.answer-options { display: grid; gap: 10px; margin-top: 30px; }
.answer-option { width: 100%; display: flex; gap: 12px; align-items: flex-start; padding: 14px 15px; color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: 7px; font-size: 15px; line-height: 1.8; text-align: left; min-height: 56px; }
.option-mark { width: 14px; height: 14px; border: 1px solid #9da68f; border-radius: 50%; flex-shrink: 0; margin-top: 6px; }
.answer-option:hover, .answer-option[aria-pressed="true"] { background: var(--soft); border-color: #aebda6; }
.answer-option:disabled { opacity: 1; }
.answer-option[aria-pressed="true"] .option-mark { background: var(--green); border-color: var(--green); box-shadow: inset 0 0 0 3px var(--soft); }
.unknown-option { background: transparent; color: var(--muted); margin-top: 6px; }
.question-bottom { display: flex; justify-content: space-between; gap: 14px; padding-top: 16px; margin-bottom: 14px; }
.answer-review { border-top: 1px solid var(--line); margin-top: 28px; }
.answer-review .review-chapter { border-top: 0; }
.review-chapter > summary { padding: 17px 0; }
.review-chapter > summary strong { font-size: 15px; font-weight: 500; }
.review-chapter > summary > span { display: block; margin-left: 18px; font-size: 12px; }
.review-chapter .review-row:last-child { border-bottom: 0; }
.review-row { width: 100%; display: flex; flex-direction: column; gap: 7px; text-align: left; background: none; color: var(--ink); border: 0; border-bottom: 1px solid var(--line); padding: 18px 0; font-size: 14px; }
.review-row strong { font-weight: 500; color: var(--green); }
.submit-panel { padding-top: 16px; }
.submit-panel .button { margin-top: 28px; }
.link-field { display: block; width: 100%; color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: 6px; padding: 12px; resize: vertical; overflow-wrap: anywhere; min-height: 82px; font-size: 13px; margin: 10px 0 20px; }
.quiet-section { margin-top: 34px; border-top: 1px solid var(--line); padding-top: 25px; }
.quiet-section h2 { font-size: 20px; margin-bottom: 12px; }
.quiet-section p { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.report-heading { padding: 10px 0 26px; }
.report-heading h1 { font-size: clamp(30px, 6.7vw, 43px); overflow-wrap: anywhere; }
.report-heading .lead { font-size: 16px; }
.report-names { margin-top: 24px; font-size: 14px; overflow-wrap: anywhere; }
.report-names span { color: var(--muted); margin: 0 5px; }
.report-section { border-top: 1px solid var(--line); padding: 36px 0; }
.report-section > h2 { margin-bottom: 17px; }
.report-section > p + .button { margin-top: 24px; }
.section-title { display: flex; gap: 16px; align-items: baseline; margin-bottom: 12px; }
.section-index { color: var(--clay); font-size: 12px; }
.profiles { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 20px; margin-top: 28px; padding: 25px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.profile { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.profile-name { font-size: 12px; color: var(--muted); overflow-wrap: anywhere; }
.profile strong { font-size: 15px; font-weight: 500; }
.direction-scale { display: flex; gap: 4px; margin-top: 2px; max-width: 150px; }
.direction-scale i { display: block; width: 23px; height: 4px; background: #d9dfd2; }
.direction-scale i.selected { background: var(--green); }
.scale-note { font-size: 11px; color: var(--muted); line-height: 1.9; margin-top: 13px; }
.direction-block { margin-top: 30px; }
.direction-block > p { margin: 10px 0 17px; font-size: 15px; }
details { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
summary { cursor: pointer; min-height: 48px; padding: 12px 0; font-size: 13px; }
summary > span { color: var(--muted); margin-left: 7px; font-size: 11px; }
.evidence-list { padding: 0 0 0 20px; margin: 0; }
.evidence-list li { padding: 12px 0 18px; font-size: 13px; }
.evidence-list strong { font-weight: 500; }
.evidence-list p { margin-top: 8px; }
.conversation { margin-top: 26px; padding: 21px; background: var(--soft); border-radius: 5px; }
.conversation .eyebrow { margin-bottom: 10px; }
blockquote { margin: 14px 0 0; font-size: 17px; line-height: 1.85; }
.insight, .suggestion { padding-top: 24px; }
.insight p, .suggestion p { margin-top: 10px; }
.evidence-quote { border-left: 2px solid var(--line); padding-left: 14px; font-size: 14px; color: var(--muted); }
.report-footer { padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.show-reasons { margin: 26px 0; }
.show-reasons li { font-size: 14px; margin: 8px 0; }
.source-links { font-size: 12px; line-height: 1.8; }
.public-card { padding: 30px 0 42px; border-bottom: 1px solid var(--line); margin-bottom: 28px; }
.public-card h1 { font-size: 38px; }
.public-dimensions { padding-top: 30px; padding-bottom: 20px; color: var(--green); font-size: 14px; }
.saved-image { margin: 24px 0; }
.saved-image img { width: 100%; height: auto; }
.saved-image figcaption { color: var(--muted); font-size: 12px; }
.report-v4 .report-heading { text-align: center; padding: 0 0 22px; }
.report-v4 .report-names { margin: 0 0 18px; font-size: 12px; letter-spacing: .06em; }
.report-v4 .report-heading h1 { font-size: clamp(34px, 9vw, 48px); font-family: "Songti SC", "STSong", "Noto Serif CJK SC", serif; font-weight: 600; letter-spacing: .06em; }
.type-line { max-width: 430px; margin: 14px auto 0; font-size: 15px; line-height: 1.8; color: var(--muted); text-wrap: pretty; }
.relationship-portrait { margin: 10px auto 0; max-width: 430px; }
.relationship-portrait img { width: 100%; height: 200px; object-fit: contain; display: block; }
.programme-result { max-width: 530px; margin: 4px auto 0; padding: 20px 24px 4px; background: #ebece1; border-radius: 3px; text-align: left; }
.programme-result .eyebrow { margin-bottom: 7px; font-size: 11px; }
.programme-result h2 { font-size: 22px; letter-spacing: .02em; }
.programme-line { margin-top: 7px; font-size: 14px; line-height: 1.8; }
.programme-detail { margin-top: 12px; border-bottom: 0; border-top-color: #d4d9ca; }
.programme-detail > summary { font-size: 12px; min-height: 42px; padding: 9px 0; }
.programme-detail .show-reasons { margin: 12px 0; }
.programme-detail .show-reasons ul { padding-left: 18px; }
.programme-empty { margin: 12px auto 0; max-width: 430px; font-size: 12px; color: var(--muted); }
.report-navigation { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.report-navigation button { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 15px 2px; border: 0; background: none; font-size: 13px; color: var(--green); }
.report-navigation button:hover { background: var(--soft); }
.report-navigation span { font-size: 10px; color: var(--clay); letter-spacing: .09em; }
.report-reading-note { font-size: 11px; color: var(--muted); margin: 12px 0 0; text-align: center; }
.dimension-section { padding: 27px 0 24px; scroll-margin-top: 16px; border-bottom: 1px solid var(--line); }
.dimension-intro { display: grid; grid-template-columns: 1fr 132px; gap: 15px; align-items: center; min-height: 104px; }
.dimension-intro .eyebrow { margin-bottom: 9px; font-size: 11px; letter-spacing: .06em; }
.dimension-intro .eyebrow span { color: var(--clay); margin-right: 9px; }
.dimension-intro h2 { font-family: "Songti SC", "STSong", "Noto Serif CJK SC", serif; font-size: 23px; font-weight: 600; line-height: 1.5; text-wrap: balance; }
.dimension-art { width: 132px; height: 112px; object-fit: contain; }
.pair-lines { margin: 12px 0 14px; }
.pair-lines p { display: grid; grid-template-columns: minmax(55px, .32fr) 1fr; gap: 12px; margin: 4px 0; align-items: baseline; font-size: 13px; }
.pair-lines p > span { color: var(--muted); overflow-wrap: anywhere; }
.pair-lines strong { font-weight: 400; }
.dimension-insight { font-size: 13px; line-height: 1.85; }
.insight-tag { display: inline-block; font-size: 10px; color: var(--green); background: #e4e9dc; padding: 1px 7px; border-radius: 3px; margin-right: 8px; vertical-align: 1px; white-space: nowrap; }
.insight-tag.has-gap { background: #eee3d8; color: #855942; }
.small-action { font-size: 13px; color: var(--muted); margin-top: 7px; }
.dimension-details { margin-top: 16px; border: 0; }
.dimension-details > summary { font-size: 12px; min-height: 32px; padding: 4px 0; color: var(--green); }
.dimension-details > summary span { font-size: 10px; }
.dimension-details[open] > summary { margin-bottom: 14px; }
.dimension-details .profiles { margin-top: 15px; padding: 20px 0; }
.dimension-details .direction-block { margin-top: 22px; }
.dimension-details .direction-block > p { font-size: 13px; }
.dimension-details .conversation { margin-bottom: 8px; }
.dimension-details blockquote { font-size: 15px; }
.report-actions { padding: 30px 0 20px; }
.report-actions .eyebrow { margin-bottom: 13px; }
.report-actions > p + .button { margin-top: 12px; }
.report-actions > .text-button { display: block; margin-top: 8px; }
.report-v4 .report-footer { font-size: 11px; padding-top: 18px; }
.report-v4 .report-footer details { border: 0; margin-top: 5px; }
.report-v4 .report-footer summary { min-height: 34px; font-size: 11px; padding: 6px 0; }
.report-update { padding: 18px; background: var(--soft); margin: 0 0 28px; font-size: 14px; }
.report-update .button { margin: 12px 0 8px; }
@media (max-width: 480px) {
  .site-header { padding: 22px 23px 10px; }
  .page { padding: 29px 23px 48px; }
  .hero { padding-top: 10px; }
  .site-footer { padding: 0 23px 28px; }
  .profiles { gap: 22px 15px; }
  .question-body { padding-top: 28px; }
  .report-section { padding: 30px 0; }
  .question-top { margin-bottom: 19px; }
  .relationship-portrait img { height: 170px; }
  .programme-result { padding: 17px 18px 3px; }
  .programme-result h2 { font-size: 20px; }
  .programme-detail > summary > span { display: block; margin-left: 16px; font-size: 10px; }
  .dimension-intro { grid-template-columns: 1fr 102px; gap: 6px; }
  .dimension-intro h2 { font-size: 21px; }
  .dimension-art { width: 102px; height: 100px; }
  .report-navigation button { font-size: 12px; }
  .report-reading-note { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }

/* v5 front-of-house. Report/share components keep their independent styles. */
@font-face {
  font-family: "Youqi Display";
  src: url("/assets/fonts/youqi-display.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
:root {
  --v5-paper: #fff8e9;
  --v5-ink: #23261f;
  --v5-accent: #d3f45b;
  --v5-muted: #64695c;
  --v5-line: #cbd0bf;
  --font-display: "Youqi Display", "Arial Black", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
}
body[data-page]:not([data-page="report"]):not([data-page="public"]) {
  background: var(--v5-paper);
  color: var(--v5-ink);
}
.v5-front-header {
  max-width: 620px;
  padding: 23px 24px 12px;
}
.v5-front-header .brand {
  color: var(--v5-ink);
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -.055em;
}
.v5-front-header > span {
  color: var(--v5-ink);
  border: 1.5px solid var(--v5-ink);
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0;
}
.page-front {
  --paper: var(--v5-paper);
  --ink: var(--v5-ink);
  --green: var(--v5-ink);
  --soft: #edf3d9;
  --muted: var(--v5-muted);
  --line: var(--v5-line);
  --clay: #64713e;
  --white: #fffdf5;
  max-width: 560px;
  padding: 25px 24px 38px;
  min-height: calc(100svh - 125px);
  font-family: var(--font-body);
  line-height: 1.6;
}
.page-front h1 {
  font-family: var(--font-body);
  font-size: clamp(40px, 11.5vw, 56px);
  font-weight: 850;
  letter-spacing: -.055em;
  line-height: 1.15;
}
.has-display-font .page-front .hero h1,
.has-display-font .setup-heading h1,
.has-display-font .page-review h1,
.has-display-font .page-own h1,
.has-display-font .page-front .loading-page h1,
.has-display-font .page-home .game-title,
.has-display-font .page-front .button {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -.01em;
}
.page-front .lead {
  margin-top: 20px;
  font-size: 16px;
  line-height: 1.65;
  font-weight: 500;
}
.page-front .hero { padding: 14px 0 25px; }
.page-front .button {
  min-height: 58px;
  padding: 13px 16px;
  border: 2px solid var(--v5-ink);
  border-radius: 8px;
  background: var(--v5-accent);
  color: var(--v5-ink);
  box-shadow: 4px 4px 0 var(--v5-ink);
  font-size: 24px;
  font-weight: 850;
  line-height: 1.25;
  transition: transform .12s, box-shadow .12s;
}
.page-front .button:hover:not(:disabled) { background: #ddfa78; }
.page-front .button:active:not(:disabled) { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--v5-ink); }
.page-front .button-secondary { background: transparent; box-shadow: none; font-size: 18px; border-color: var(--v5-line); }
.page-front .button-secondary:hover:not(:disabled) { background: #f0f0df; }
.page-front .text-button { color: var(--v5-ink); font-size: 13px; font-weight: 650; min-height: 42px; }
.page-front :is(button, input, textarea, summary):focus-visible { outline-color: #647b16; }
.game-kicker, .game-kicker + p {
  margin: 0 0 15px;
  font-size: 12px;
  font-weight: 700;
  color: var(--v5-muted);
  letter-spacing: .045em;
}
.page-home { padding-top: 26px; }
.game-home { display: flex; flex-direction: column; min-height: calc(100svh - 165px); }
.game-home .game-kicker { margin-bottom: 28px; }
.page-home .game-title { margin: 0; font-size: clamp(51px, 14vw, 70px); line-height: 1.08; }
.title-top { display: block; }
.title-bottom { display: flex; align-items: baseline; gap: 10px; margin-top: 12px; white-space: nowrap; }
.title-leadin { font-size: clamp(24px, 6.8vw, 34px); }
.title-accent {
  display: inline-block;
  font-size: clamp(58px, 18.5vw, 84px);
  background: var(--v5-accent);
  padding: 2px 10px 6px;
  border: 2px solid var(--v5-ink);
  border-radius: 2px;
  line-height: 1.1;
  transform: rotate(-2deg);
}
.home-hook { margin-top: 29px; font-size: 18px; font-weight: 600; line-height: 1.65; }
.duo-steps { display: grid; grid-template-columns: repeat(3, 1fr); list-style: none; padding: 0; margin: 26px 0 0; border-top: 2px solid var(--v5-ink); }
.duo-steps li { padding-top: 12px; display: flex; align-items: baseline; gap: 7px; min-width: 0; }
.duo-steps li + li { justify-content: center; }
.duo-steps li:last-child { justify-content: flex-end; }
.duo-steps span { color: var(--v5-muted); font-size: 10px; font-weight: 650; }
.duo-steps strong { font-size: 14px; font-weight: 750; }
.home-programme { margin-top: 20px; font-size: 12px; line-height: 1.6; color: var(--v5-muted); }
.home-duo { display: block; width: min(220px, 65%); height: 155px; object-fit: contain; margin: 10px auto 0; flex-shrink: 0; }
.home-actions { margin-top: auto; padding: 31px 4px 5px 0; }
.resume-link { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; border: 0; background: none; color: var(--v5-muted); padding: 15px 0 0; font-size: 12px; }
.resume-link span { font-size: 18px; }
.v5-front-footer { color: var(--v5-muted); max-width: 560px; padding: 0 24px 18px; font-size: 10px; }
.screen-top { display: flex; justify-content: space-between; align-items: center; margin: -12px 0 23px; }
.screen-top > span { font-size: 11px; color: var(--v5-muted); }
.setup-heading { margin-bottom: 28px; }
.page-front .field { gap: 7px; margin-bottom: 19px; }
.page-front .field label { font-size: 13px; font-weight: 700; }
.page-front .field input { background: var(--white); color: var(--v5-ink); border: 1.5px solid var(--v5-line); border-radius: 6px; min-height: 55px; padding: 12px 14px; font-size: 17px; font-weight: 550; }
.page-front .field input:focus { border-color: var(--v5-ink); }
.setup-note { color: var(--v5-muted); font-size: 12px; margin: 16px 0 24px; }
.page-front .edition-switch { margin-top: 25px; border-top: 1.5px solid var(--v5-ink); border-bottom: 1.5px solid var(--v5-ink); }
.edition-switch > summary { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 16px 0; list-style: none; }
.edition-switch > summary::-webkit-details-marker { display: none; }
.edition-switch > summary strong { font-size: 23px; font-weight: 850; margin-right: 6px; }
.edition-switch > summary span span { color: var(--v5-muted); font-size: 12px; }
.edition-switch > summary .switch-hint { font-size: 12px; color: var(--v5-ink); margin: 0; border-bottom: 1px solid currentColor; }
.page-front .edition-list { margin: 0; }
.page-front .edition-row { padding: 13px 8px; }
.page-front .edition-row.is-selected { background: var(--v5-accent); }
.page-front .edition-row > span > span { font-size: 11px; }
.page-front .edition-note { margin: 10px 0 15px; font-size: 11px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.page-front .question-top { margin: -12px 0 18px; gap: 16px; }
.page-front .question-top > span { display: flex; gap: 6px; align-items: baseline; color: var(--v5-muted); font-size: 11px; max-width: 75%; }
.question-top strong { color: var(--v5-ink); font-size: 15px; font-weight: 750; }
.page-front .progress-heading { color: var(--v5-muted); font-size: 11px; margin-bottom: 8px; }
.page-front .progress-heading [data-testid] { color: var(--v5-ink); font-weight: 750; font-size: 13px; }
.page-front progress { height: 5px; background: #e3e5d6; }
.page-front progress::-webkit-progress-bar { background: #e3e5d6; }
.page-front progress::-webkit-progress-value { background: var(--v5-ink); }
.page-front progress::-moz-progress-bar { background: var(--v5-ink); }
.page-front .question-body { padding-top: 25px; }
.question-mode { display: inline-block; margin: 0 0 16px; color: var(--v5-ink); font-size: 12px; font-weight: 750; padding: 3px 7px; background: var(--v5-accent); }
.page-front .question-context { font-family: var(--font-body); font-size: 15px; font-weight: 400; line-height: 1.7; color: var(--v5-ink); margin: 0 0 13px; }
.page-front .question-title { font-family: var(--font-body); font-size: clamp(22px, 5.9vw, 25px); font-weight: 750; letter-spacing: -.03em; line-height: 1.48; }
.page-front .answer-options { gap: 8px; margin-top: 25px; }
.page-front .answer-option { padding: 13px 13px; border: 1.5px solid #cbd0bf; background: var(--white); border-radius: 6px; min-height: 54px; font-size: 15px; line-height: 1.5; font-weight: 500; gap: 11px; }
.page-front .answer-option .option-mark { display: grid; place-items: center; width: 22px; height: 23px; border: 0; border-radius: 3px; margin-top: 0; font-size: 12px; font-weight: 850; color: var(--v5-muted); background: #eeeee1; }
.page-front .answer-option:hover { background: var(--white); border-color: var(--v5-line); }
.page-front .answer-option[aria-pressed="true"] { background: var(--v5-accent); border-color: var(--v5-ink); }
.page-front .answer-option[aria-pressed="true"] .option-mark { box-shadow: none; background: var(--v5-ink); color: var(--v5-accent); }
.page-front .unknown-option { background: transparent; border-style: dashed; color: var(--v5-muted); font-size: 13px; margin-top: 3px; min-height: 46px; }
.page-front .unknown-option .option-mark { background: transparent; color: var(--v5-muted); }
.page-front .question-bottom { padding-top: 10px; margin-bottom: 4px; }
.page-front .mini-help { border: 0; margin: 8px 0 12px; }
.page-front .mini-help > summary { min-height: 34px; padding: 7px 0; font-size: 11px; color: var(--v5-muted); }
.page-front .mini-help p { color: var(--v5-muted); font-size: 12px; line-height: 1.7; padding: 4px 0 10px; }
.page-front .check { font-size: 13px; line-height: 1.65; gap: 10px; margin: 20px 0; }
.page-front .check input { margin-top: 2px; accent-color: var(--v5-ink); }
.page-front .consent-detail { display: block; margin-top: 4px; font-size: 11px; color: var(--v5-muted); line-height: 1.7; }
.page-front .check-optional { margin-bottom: 0; }
.review-total { display: flex; gap: 16px; align-items: center; margin-top: 22px; }
.review-total > strong { font-size: 49px; font-weight: 850; line-height: 1; letter-spacing: -.055em; }
.review-total > strong span { font-size: 21px; font-weight: 650; color: var(--v5-muted); letter-spacing: -.03em; }
.review-total > span { font-size: 12px; line-height: 1.6; color: var(--v5-muted); }
.page-front .answer-review { margin-top: 25px; border-top: 1.5px solid var(--v5-ink); }
.page-front .review-chapter { border-bottom: 1px solid var(--v5-line); }
.page-front .review-chapter > summary { display: flex; justify-content: space-between; align-items: center; gap: 9px; padding: 16px 0; list-style: none; }
.page-front .review-chapter > summary::-webkit-details-marker { display: none; }
.page-front .review-chapter > summary::after { content: "+"; font-size: 21px; line-height: 1; color: var(--v5-ink); }
.page-front .review-chapter[open] > summary::after { content: "−"; }
.page-front .review-chapter > summary strong { font-size: 15px; font-weight: 750; margin-right: auto; }
.page-front .review-chapter > summary > span { display: inline; margin: 0; font-size: 11px; }
.page-front .review-row { padding: 15px 0; font-size: 13px; }
.page-front .submit-panel { padding-top: 3px; }
.page-front .submit-panel .button { margin-top: 21px; }
.page-front .inline-note { font-size: 12px; color: #766214; margin-top: 14px; }
.page-front .utility-drawer { border-top: 1px solid var(--v5-line); border-bottom: 0; margin-top: 20px; }
.page-front .utility-drawer > summary { font-size: 12px; color: var(--v5-muted); }
.page-front .utility-drawer p { font-size: 12px; color: var(--v5-muted); }
.page-front .utility-drawer .text-button { display: block; }
.page-front .link-field { min-height: 78px; border-color: var(--v5-line); font-size: 12px; }
.waiting-players { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; margin-top: 28px; }
.waiting-players > span { display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 14px 16px; border: 2px solid var(--v5-ink); border-radius: 6px; font-size: 21px; font-weight: 750; overflow-wrap: anywhere; }
.waiting-players small { font-size: 11px; font-weight: 600; }
.player-done { background: var(--v5-accent); }
.waiting-players .player-next { border-style: dashed; background: transparent; }
.waiting-refresh { text-align: center; padding-top: 12px; }
.invite-edition { display: flex; align-items: baseline; gap: 12px; margin-top: 25px; padding: 14px 0; border-top: 1.5px solid var(--v5-ink); border-bottom: 1.5px solid var(--v5-ink); }
.invite-edition strong { font-size: 28px; font-weight: 850; }
.invite-edition span { font-size: 12px; color: var(--v5-muted); }
.page-front #join-form .button { margin-top: 21px; }
.page-front .notice, .page-front .error-message, .page-front .success-message { border-radius: 4px; border-left-width: 2px; font-size: 13px; padding: 12px 14px; margin-bottom: 20px; }
.page-front .notice, .page-front .success-message { background: #edf1d8; border-left-color: var(--v5-ink); }
@media (max-width: 359px) {
  .v5-front-header { padding-left: 19px; padding-right: 19px; }
  .page-front { padding-left: 19px; padding-right: 19px; }
  .title-bottom { gap: 8px; }
  .title-accent { padding-left: 7px; padding-right: 7px; }
  .duo-steps strong { font-size: 12px; }
  .duo-steps li { gap: 5px; }
}
@media (hover: hover) and (pointer: fine) {
  .page-front .answer-option:hover:not([aria-pressed="true"]) { background: #f0f3e2; border-color: var(--v5-ink); }
}
@media (max-height: 760px) {
  .home-duo { height: 115px; margin-top: 6px; }
  .home-actions { padding-top: 20px; }
  .game-home .game-kicker { margin-bottom: 20px; }
}
@media (max-height: 700px) {
  .page-home { padding-top: 18px; padding-bottom: 22px; }
  .home-duo { height: 70px; margin-top: 4px; }
  .game-home .game-kicker { margin-bottom: 14px; }
  .home-hook { margin-top: 20px; }
  .duo-steps { margin-top: 18px; }
  .home-programme { margin-top: 12px; }
  .home-actions { padding-top: 14px; }
}
@media (max-height: 620px) {
  .page-home { padding-top: 15px; padding-bottom: 18px; }
  .game-home { min-height: calc(100svh - 140px); }
  .game-home > .game-kicker, .home-duo { display: none; }
  .home-hook { margin-top: 18px; }
  .duo-steps { margin-top: 16px; }
  .home-programme { margin-top: 10px; }
  .home-actions { padding-top: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .page-front .button { transition: none; }
}
