:root {
  color-scheme: light;
  --paper: #fbf5ea;
  --ink: #382722;
  --quiet: #654e44;
  --wine: #792d46;
  --wine-dark: #562136;
  --rose: #f1d8d9;
  --line: #e3d4c6;
  --olive: #505739;
  --olive-wash: #eeedde;
  --blush: #ffbac5;
  --card: #fffbf1;
  --cream: #ffedcc;
  --serif: Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 20px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.65 var(--sans); }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
a { color: inherit; }
a:hover { color: var(--wine); }
:focus-visible { outline: 3px solid var(--wine); outline-offset: 4px; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.06; }
h2 { font-size: clamp(2rem, 5vw, 3.3rem); font-weight: 400; letter-spacing: -.045em; }
h3 { font-size: 1.4rem; }
.site-width { width: min(1120px, calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: absolute; left: 12px; top: 12px; z-index: 8; transform: translateY(-200%); background: white; padding: 8px 14px; }
.skip-link:focus { transform: none; }
.site-head { border-bottom: 1px solid var(--line); }
.head-line, .footer-line { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 69px; }
.wordmark { display: inline-flex; white-space: nowrap; align-items: center; gap: 9px; font: 700 1.24rem/1 var(--serif); text-decoration: none; }
.heartmark { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--wine); color: var(--cream); font: 17px/1 var(--serif); }
.desktop-nav, .footer-line nav { display: flex; gap: 25px; }
.desktop-nav a, .head-discuss, .footer-line nav a { text-decoration: none; font-size: .86rem; font-weight: 650; }
.head-discuss { display: inline-flex; align-items: center; gap: 10px; padding: 7px 12px; border: 1px solid var(--line); border-radius: 99px; color: var(--wine); }
.mobile-tabs { display: none; }
.hero-mast { display: flex; align-items: baseline; justify-content: space-between; padding: 25px 0 16px; gap: 14px; }
.hero-mast h1 { font-size: clamp(3.55rem, 7vw, 6.4rem); font-weight: 400; letter-spacing: -.085em; }
.hero-mast p { color: var(--quiet); font-size: .9rem; font-weight: 600; }
.player { position: relative; height: 486px; overflow: hidden; isolation: isolate; border: 1px solid var(--wine-dark); border-radius: 22px; background: var(--card); }
.player iframe, .cover, .game-loading { display: block; width: 100%; height: 100%; position: absolute; inset: 0; border: 0; }
.cover {
  display: grid; grid-template-columns: .87fr 1.13fr; align-items: center;
  padding: 38px 50px; gap: 31px; color: var(--cream);

  background: radial-gradient(ellipse at 78% 34%, color-mix(in srgb, var(--wine) 82%, var(--blush)) 0, transparent 63%), var(--wine-dark);
}
.cover::before { content: ""; position: absolute; pointer-events: none; inset: 13px; z-index: -1; border: 1px solid color-mix(in srgb,var(--blush) 35%,transparent); border-radius: 14px; background-image: radial-gradient(color-mix(in srgb,var(--cream) 18%,transparent) .8px, transparent .8px); background-size: 17px 17px; }
.cover-copy { position: relative; z-index: 1; }
.cover-question { font: 400 clamp(2.9rem, 5.5vw, 5.35rem)/.95 var(--serif); letter-spacing: -.06em; }
.cover-question em { color: var(--blush); }
.cover-copy .cover-desc { color: var(--rose); max-width: 31ch; font-size: .95rem; margin: 19px 0 23px; }
.ink-button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 47px; border: 0; border-radius: 9px; padding: 9px 17px; font-weight: 750; background: var(--wine); color: var(--card); }
.ink-button:hover { background: var(--wine-dark); }
.cover .ink-button { background: var(--cream); color: var(--wine-dark); padding-inline: 17px 15px; }
.cover .ink-button:hover { background: color-mix(in srgb, var(--cream) 80%, var(--blush)); }
.cover .ink-button:focus-visible { outline-color: var(--cream); }
.play-glyph { display: inline-grid; place-items: center; width: 24px; height: 24px; border: 1px solid var(--rose); border-radius: 50%; font-size: .67rem; }
.cover-art { position: relative; padding: 15px 23px 28px 13px; transform: rotate(4deg); }
.cover-art::before, .cover-art::after { content: ""; position: absolute; inset: 21px 22px 28px 14px; border-radius: 12px; }
.cover-art::before { background: var(--rose); transform: rotate(-12deg) translate(-4%, 0); }
.cover-art::after { background: var(--cream); transform: rotate(8deg) translate(2%, 1%); }
.cover-shot { position: relative; z-index: 1; background: var(--card); border-radius: 11px; padding: 9px 9px 0; color: var(--wine-dark); box-shadow: 0 15px 35px color-mix(in srgb,var(--ink) 48%,transparent); }
.cover-shot img { display: block; width: 100%; height: auto; border-radius: 6px; border: 1px solid var(--line); }
.cover-shot figcaption { text-align: center; font: italic 1rem/1.25 var(--serif); padding: 9px; }
.art-seal { position: absolute; z-index: 2; right: 1px; bottom: 10px; display: grid; place-items: center; width: 61px; height: 61px; background: var(--wine); color: var(--cream); border: 2px dotted var(--blush); border-radius: 50%; box-shadow: 0 5px 9px color-mix(in srgb,var(--ink) 22%,transparent); font: 27px/1 var(--serif); transform: rotate(-8deg); }
.game-loading { display: none; align-content: center; justify-items: center; gap: 16px; background: var(--wine-dark); color: var(--cream); }
.player[data-gf-state="loading"] .game-loading { display: grid; }
.player[data-gf-state] .cover { display: none; }

.envelope { width: 65px; height: 43px; border-radius: 4px; background: var(--cream); color: var(--wine); text-align: center; box-shadow: 0 7px 14px color-mix(in srgb,var(--ink) 46%,transparent); font-size: 22px; line-height: 43px; animation: float-note .85s ease-in-out infinite alternate; }
@keyframes float-note { to { transform: translateY(-8px) rotate(-4deg); } }
.player-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; min-height: 68px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.action, .small-button { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 6px 13px; border: 1px solid var(--line); border-radius: 8px; background: var(--card); color: var(--wine-dark); font-size: .86rem; font-weight: 700; }
.action:hover, .action[data-gf-liked], .small-button:hover:not(:disabled) { background: var(--rose); }
.action[data-gf-fullscreen] { margin-left: auto; }
.action svg { width: 17px; height: 17px; }
.player-actions [role="status"] { color: var(--quiet); font-size: .84rem; }
.reading { display: grid; gap: 62px; padding: 56px 0 66px; }
.reading p { max-width: 72ch; }
.reading h2 { margin-bottom: 16px; }
.reading h3 { margin-bottom: 5px; }
.intro { display: grid; grid-template-columns: .9fr 1.1fr; gap: 34px; align-items: start; }
.intro h2 { max-width: 13ch; margin: 0; }
.intro p + p, .article p + p { margin-top: 11px; }
.types-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 19px; }
.type-card { border: 1px solid var(--line); border-top: 3px solid var(--wine); border-radius: 10px; background: var(--card); padding: 19px; }
.type-card:nth-child(3n+2) { border-top-color: var(--olive); }
.type-card:nth-child(3n) { border-top-color: var(--olive); }
.type-card p { color: var(--quiet); font-size: .91rem; }
.how { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; border-block: 1px solid var(--line); padding: 30px 0; }
.how ol { margin: 0; padding-left: 24px; }
.how li { padding-left: 3px; margin-bottom: 6px; }
.how aside { align-self: start; background: var(--olive-wash); border: 1px solid var(--line); color: var(--olive); border-radius: 10px; padding: 19px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { cursor: pointer; min-height: 50px; padding: 10px 1px; font-size: 1.02rem; font-weight: 670; }
.faq-list details p { padding: 0 0 16px 18px; color: var(--quiet); }
.discussion { padding: 29px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; }
.discussion h2 { margin-bottom: 8px; }
.comment-form, .comment-list { margin-top: 21px; }
.comment-form { display: grid; gap: 9px; max-width: 650px; }
.comment-form label { font-size: .88rem; font-weight: 650; }
.comment-form :is(input,textarea) { display: block; width: 100%; margin-top: 3px; padding: 9px 11px; background: white; border: 1px solid var(--quiet); border-radius: 7px; color: var(--ink); }

.comment-form textarea { min-height: 95px; resize: vertical; }
.comment-form .ink-button { justify-self: start; }
.comment-form:not([data-gf-replying]) .reply-panel, [data-gf-c-to]:empty { display: none; }
[data-gf-comment-msg] { color: var(--quiet); }
.comment-list:not([data-gf-empty]) .comment-empty { display: none; }
.comment-empty { color: var(--quiet); font-size: .9rem; }
.comment-row { border-top: 1px solid var(--line); padding: 12px 0; overflow-wrap: anywhere; }
.comment-row [data-gf-c-time] { font-size: .82rem; color: var(--quiet); }
.comment-row [data-gf-c-text] { white-space: pre-wrap; margin: 5px 0; }
.comment-row [data-gf-c-owner] { color: var(--wine); font-size: .84rem; }
.comment-replies { padding-left: 18px; }
.site-footer { border-top: 1px solid var(--line); background: var(--cream); }
.article { width: min(720px, calc(100% - 36px)); margin: 42px auto 70px; }
.article h1 { font-size: clamp(2.6rem, 7vw, 4.4rem); letter-spacing: -.05em; font-weight: 400; margin: 14px 0; }
.article h2 { font-size: 1.62rem; margin: 25px 0 8px; }
.article .backlink { color: var(--wine); font-weight: 700; }
.article a { overflow-wrap: anywhere; }
.embed-body { background: var(--card); }
.quiz-app { width: min(710px, 100%); padding: 20px 28px 16px; margin-inline: auto; }
.quiz-meta { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 12px; padding-bottom: 11px; }
.quiz-index { color: var(--wine); font-weight: 750; font-size: .78rem; }
.quiz-meta progress { appearance: none; width: 100%; height: 6px; border: 0; border-radius: 10px; overflow: hidden; background: var(--line); }
.quiz-meta progress::-webkit-progress-bar { background: var(--line); }
.quiz-meta progress::-webkit-progress-value { background: var(--wine); }
.quiz-meta progress::-moz-progress-bar { background: var(--wine); }
.quiz-title { font-weight: 400; font-size: clamp(1.55rem, 4vw, 2.7rem); letter-spacing: -.035em; margin: 3px 0 14px; }
.quiz-title:focus { outline: none; }
.quiz-choices { display: grid; gap: 7px; margin-bottom: 10px; }
.quiz-option { display: flex; align-items: center; width: 100%; min-height: 46px; gap: 10px; text-align: left; padding: 7px 9px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); background: var(--card); font-size: .92rem; line-height: 1.3; }
.quiz-option:hover, .quiz-option[aria-pressed="true"] { border-color: var(--wine); background: var(--rose); }
.choice-letter { display: inline-grid; flex: none; place-items: center; width: 25px; height: 25px; border-radius: 50%; background: var(--rose); color: var(--wine-dark); font-size: .76rem; font-weight: 750; }
.small-button:disabled { opacity: .55; cursor: default; }
.quiz-result { border-top: 1px solid var(--line); padding-top: 16px; }
.quiz-result .quiz-title { color: var(--wine); font-size: clamp(2.45rem, 7vw, 4.8rem); }
.result-note { max-width: 52ch; }

.result-match { display: inline-block; margin-top: 11px; padding: 3px 9px; background: var(--olive-wash); color: var(--olive); font-size: .88rem; border-radius: 5px; }
.result-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.result-feedback { margin-top: 10px; overflow-wrap: anywhere; color: var(--wine-dark); font-size: .87rem; }
@media (max-width: 760px) {
  html { scroll-padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  body:not(.embed-body) { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .site-width { width: calc(100% - 32px); }
  .head-line { min-height: 49px; justify-content: center; }
  .wordmark { font-size: 1.13rem; }
  .heartmark { width: 25px; height: 25px; }
  .desktop-nav, .head-discuss { display: none; }
  .mobile-tabs { display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; z-index: 5; inset: auto 0 0; padding: 3px 9px calc(3px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--paper); }
  .mobile-tabs a { display: grid; justify-items: center; align-content: center; min-height: 49px; text-decoration: none; color: var(--wine-dark); font-weight: 700; font-size: .76rem; line-height: 1.35; }
  .mobile-tabs span { font-size: .94rem; }
  .hero-mast { align-items: flex-start; flex-direction: column; gap: 5px; padding: 14px 0 11px; }
  .hero-mast h1 { font-size: clamp(3.2rem, 11vw, 4.8rem); }
  .hero-mast p { font-size: .82rem; }
  .player { height: 472px; border-radius: 13px; }
  .cover { align-content: start; align-items: start; grid-template-columns: 1fr; gap: 13px; padding: 20px 23px 12px; text-align: center; }
  .cover::before { inset: 8px; border-radius: 9px; }
  .cover-question { font-size: clamp(2.3rem, 10.1vw, 3.55rem); }
  .cover-question br { display: none; }
  .cover-copy .cover-desc { margin: 9px auto 13px; font-size: .82rem; }
  .cover-art { width: min(100%, 328px); margin: 0 auto; padding: 4px 15px 14px; transform: rotate(3deg); }
  .cover-art::before, .cover-art::after { inset: 9px 15px 15px; }
  .cover-shot { padding: 5px 5px 0; }
  .cover-shot figcaption { font-size: .79rem; padding: 6px; }
  .art-seal { width: 37px; height: 37px; font-size: 16px; right: 4px; bottom: 4px; }
  .reading { gap: 34px; padding: 34px 0; }
  .intro, .how { grid-template-columns: 1fr; gap: 13px; }
  .intro h2 { max-width: none; }
  .types-list { grid-template-columns: repeat(2, 1fr); gap: 9px; }
  .type-card { padding: 13px; }
  .type-card h3 { font-size: 1.24rem; }
  .type-card p { font-size: .83rem; }
  .discussion { padding: 17px; }
  .footer-line { flex-wrap: wrap; align-content: center; gap: 12px; padding: 11px 0; }
  .footer-line nav { gap: 12px; }
  .footer-line nav a { font-size: .8rem; }
}
@media (max-width: 410px) {
  .player { height: 451px; }
  .action { padding-inline: 9px; gap: 5px; }
  .quiz-app { padding: 13px 12px; }
  .quiz-meta { padding-bottom: 7px; }
  .quiz-title { font-size: clamp(1.46rem, 6.5vw, 1.85rem); margin-bottom: 10px; }
  .quiz-option { font-size: .85rem; min-height: 43px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* Illustrated cover and mode picker */
.cover { gap: 22px; grid-template-columns: .88fr 1.12fr; padding: 30px 36px 30px 48px; }
.cover-question { font-size: clamp(2.8rem, 5.2vw, 5.15rem); }
.cover-copy .cover-desc { margin: 14px 0 15px; }
.cover-art { height: 100%; padding: 0 0 0 8px; transform: none; }
.cover-art::before, .cover-art::after { display: none; }
.cover-shot { width: 100%; height: 100%; padding: 0; border: 1px solid color-mix(in srgb, var(--cream) 68%, transparent); overflow: hidden; }
.cover-shot img { width: 100%; height: 100%; object-fit: cover; object-position: 51% 50%; border: 0; border-radius: 0; }
.art-seal { bottom: 12px; right: 12px; }
.quiz-modes { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; border: 0; padding: 0; margin: 0 0 13px; max-width: 315px; text-align: left; }
.quiz-modes legend { padding: 0 0 5px; color: var(--cream); font-size: .79rem; font-weight: 650; }
.quiz-modes label { position: relative; display: grid; align-content: center; gap: 0; min-height: 58px; padding: 6px 9px 6px 26px; border: 1px solid color-mix(in srgb, var(--rose) 60%, transparent); border-radius: 8px; cursor: pointer; }
.quiz-modes label::before { content: ""; position: absolute; top: 14px; left: 9px; width: 10px; height: 10px; border: 1px solid currentColor; border-radius: 50%; }
.quiz-modes label:focus-within { outline: 2px solid var(--cream); outline-offset: 2px; }
.quiz-modes label:has(input:checked) { color: var(--wine-dark); background: var(--cream); }
.quiz-modes label:has(input:checked)::before { background: var(--wine); box-shadow: inset 0 0 0 2px var(--cream); }
.quiz-modes input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.quiz-modes strong { font-size: .85rem; line-height: 1.35; }
.quiz-modes small { font-size: .73rem; line-height: 1.3; }
.cover .ink-button { background: var(--blush); }
.player { height: 530px; }
.types-list { grid-template-columns: repeat(4, 1fr); }
.type-card { padding: 0; overflow: hidden; }
.type-card img { display: block; width: 100%; height: auto; aspect-ratio: 1.36; object-fit: cover; object-position: center 36%; }
.type-card .type-copy { padding: 13px 15px 16px; }
.type-card h3 { font-size: 1.3rem; }

/* Story player and illustrated result */
.quiz-app { width: min(1010px, 100%); padding: 20px 25px; }
.quiz-meta { gap: 16px; padding-bottom: 12px; }
.quiz-meta .quiz-index { display: flex; gap: 10px; align-items: baseline; }
.quiz-meta [data-quiz-chapter] { color: var(--wine-dark); }
.scene-count { color: var(--quiet); border-left: 1px solid var(--line); padding-left: 9px; }
.quiz-spread { display: grid; grid-template-columns: .8fr 1.45fr; align-items: start; gap: 23px; }
.quiz-title { margin-top: 0; }
.scene-art, .result-art { position: relative; border: 1px solid var(--line); border-radius: 13px; overflow: hidden; background: var(--rose); }
.scene-art { height: 425px; }

.scene-art img, .result-art img { display: block; width: 100%; height: 100%; object-fit: cover; }
.result-art { height: 410px; }
.result-art img { object-position: center 39%; }
.quiz-result { padding-top: 12px; }
.trait-chart { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; max-width: 520px; margin-top: 14px; }
.trait-chart label { display: grid; gap: 2px; color: var(--quiet); font-size: .76rem; font-weight: 700; }
.trait-chart meter { width: 100%; height: 11px; accent-color: var(--wine); }
.trait-chart meter::-webkit-meter-bar { background: var(--line); border: 0; }
.trait-chart meter::-webkit-meter-optimum-value { background: var(--wine); }
.trait-chart meter::-moz-meter-bar { background: var(--wine); }

@media(max-width: 760px) {
  .player { height: 602px; }
  .cover { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); gap: 15px; padding: 21px 14px 15px; }
  .cover-question { font-size: clamp(2.35rem, 10vw, 3.55rem); line-height: 1; }
  .cover-copy .cover-desc { margin: 9px auto 11px; }
  .quiz-modes { margin: 0 auto 11px; }
  .quiz-modes label { min-height: 49px; }
  .cover-art { width: 100%; min-height: 0; padding: 0; }
  .cover-shot { padding: 0; }
  .art-seal { bottom: 6px; right: 6px; }
  .types-list { grid-template-columns: repeat(2, 1fr); }
  .type-card { padding: 0; }
  .type-card .type-copy { padding: 10px; }
  .quiz-app { padding: 12px; }
  .quiz-meta { display: grid; grid-template-columns: 1fr; gap: 5px; padding-bottom: 8px; }
  .quiz-meta .quiz-index { justify-content: space-between; }
  .scene-count { border: 0; padding: 0; }
  .quiz-spread { grid-template-columns: 1fr; gap: 10px; }
  .scene-art { height: 110px; border-radius: 8px; }
  .result-art { height: 138px; border-radius: 8px; }
  .result-art img { object-position: center 34%; }
  .result-content .quiz-title { margin-bottom: 7px; }
  .result-note { font-size: .87rem; line-height: 1.5; }
  .result-actions { margin-top: 12px; }
}
@media (max-width: 350px) {
  .player { height: 640px; }
  .quiz-app { padding: 10px; }
  .scene-art { height: 88px; }
  .quiz-title { line-height: 1.02; }
  .quiz-option { line-height: 1.22; }
  .result-actions .ink-button, .result-actions .small-button { font-size: .8rem; padding-inline: 10px; }
}


.quiz-meta { grid-template-columns: auto minmax(0, 1fr) auto; }
.quiz-meta:has(.quiz-back[hidden]) { grid-template-columns: auto minmax(0, 1fr); }
.quiz-back { white-space: nowrap; }
@media (max-width: 760px) {
  .quiz-meta, .quiz-meta:has(.quiz-back[hidden]) { grid-template-columns: minmax(0, 1fr) auto; gap: 5px 8px; }
  .quiz-meta progress { grid-area: 2 / 1 / 3 / 3; }
  .quiz-meta .quiz-index { flex-wrap: wrap; gap: 3px 7px; }
  .quiz-meta .quiz-back { grid-area: 1 / 2; padding-inline: 9px; }
}
@media (max-width: 350px) {
  .scene-art { height: 72px; }
  .quiz-title { font-size: 1.38rem; line-height: 1.04; margin-bottom: 8px; }
  .quiz-choices { gap: 5px; margin-bottom: 0; }
  .quiz-option { min-height: 44px; padding: 6px 7px; font-size: .83rem; line-height: 1.24; }
}


/* One fieldset, two native radio options, one start action. */
.radio-modes { display: block; padding: 0; border: 0; margin: 0 0 8px; width: min(100%, 342px); max-width: none; }
.radio-modes legend { padding: 0 0 7px; font-size: .9rem; }
.radio-modes label { display: flex; align-items: center; min-height: 45px; gap: 10px; padding: 7px 10px; border: 1px solid color-mix(in srgb, var(--rose) 50%, transparent); border-radius: 0; }
.radio-modes label:first-of-type { border-radius: 9px 9px 0 0; }
.radio-modes label:last-of-type { border-top: 0; border-radius: 0 0 9px 9px; }
.radio-modes label:has(input:checked) { color: var(--cream); background: var(--wine-dark); }
.radio-modes label::before, .radio-modes label:has(input:checked)::before { content: none; }
.radio-modes input { flex: none; position: static; width: 18px; height: 18px; margin: 0; opacity: 1; color-scheme: dark; accent-color: var(--blush); }
.radio-modes label > span { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 3px 12px; width: 100%; }
.radio-modes strong { font-size: .91rem; }
.radio-modes small, .mode-hint { font-size: .78rem; color: var(--rose); }
.mode-hint { margin: 0 0 12px; }
.quiz-result { align-items: start; }
.quiz-result .result-match { display: block; padding: 6px 10px; }
.result-match .quiz-index { color: var(--olive); }
.result-match p:last-child { font-size: .84rem; }
.player[data-gf-state="playing"] iframe { overscroll-behavior: contain; }
.report-offer { margin-top: 10px; padding: 8px 11px; border: 1px solid var(--line); border-radius: 9px; font-size: .85rem; }
.report-offer summary { font-weight: 750; cursor: pointer; color: var(--wine); min-height: 30px; }
.report-offer summary span { float: right; }
.report-offer > p { margin-block: 6px; }
.report-offer output { display: block; color: var(--quiet); overflow-wrap: anywhere; margin: 6px 0; }
.report-terms { color: var(--quiet); }
.report-restore { display: grid; gap: 6px; margin: 8px 0; }
.report-restore input { display: block; padding: 6px; width: 100%; }
.report-restore button { justify-self: start; }
[data-report-sections] h3 { margin-top: 10px; font-size: 1.16rem; }
[data-report-sections] p { margin: 5px 0 9px; }
@media (max-width: 760px) {
  .radio-modes { width: min(100%, 315px); margin: 0 auto 7px; }
  .radio-modes label { min-height: 43px; }
  .mode-hint { margin-bottom: 8px; }
  .player { height: 642px; }
  .result-actions :is(a,button) { font-size: .82rem; padding-inline: 9px; }
}
@media (max-width: 350px) { .player { height: 654px; } }


.quiz-inline {
  position: absolute; inset: 0; overflow: auto; background: var(--card);
  overscroll-behavior: contain;
}
.quiz-inline .quiz-app { min-height: 100%; }
.game-recovery {
  position: absolute; inset: 0; display: grid; align-content: center;
  justify-items: center; gap: 12px; padding: 20px; text-align: center;
  background: var(--wine-dark); color: var(--cream);
}
.game-recovery .ink-button { background: var(--cream); color: var(--wine-dark); }
@media (max-width: 760px) {
  .quiz-inline { max-height: calc(100dvh - 80px); }
}
.player:fullscreen { height: 100%; width: 100%; border-radius: 0; }
.player:fullscreen .quiz-inline { bottom: 0; max-height: none; }


.type-card-link { display: flex; flex-direction: column; height: 100%; color: var(--ink); text-decoration: none; }
.type-card-link:hover { color: var(--ink); background: var(--paper); }
.type-card-link:focus-visible { outline-offset: -4px; }
.type-card-link .type-copy { display: flex; flex: 1; flex-direction: column; }
.type-card-more { display: block; margin-top: auto; padding-top: 10px; color: var(--wine-dark); font-size: .8rem; font-weight: 750; }
.type-card-link:hover .type-card-more { text-decoration: underline; }
.dere-profile { padding-block: 24px 56px; }
.profile-crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 18px; font-size: .88rem; color: var(--quiet); }
.profile-crumb a { color: var(--wine-dark); }
.profile-mast { display: grid; grid-template-columns: minmax(0,1fr) minmax(210px,326px); gap: clamp(24px,6vw,70px); align-items: center; padding: 22px 0 30px; border-bottom: 1px solid var(--line); }
.profile-intro h1 { margin-bottom: 12px; font-size: clamp(3rem,8vw,6.8rem); font-weight: 400; letter-spacing: -.07em; }
.profile-deck { margin: 0 0 12px; color: var(--wine); font: italic clamp(1.4rem,3.5vw,2.2rem)/1.1 var(--serif); }
.profile-intro p { max-width: 59ch; }
.profile-play { margin-top: 15px; text-decoration: none; }
.profile-play:hover { color: var(--cream); }
.profile-mode { margin-top: 5px; color: var(--quiet); font-size: .83rem; }
.profile-portrait { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: var(--rose); }
.profile-portrait img { display: block; width: 100%; height: auto; }
.profile-reading { max-width: 730px; padding-top: 23px; }
.profile-reading h2 { margin: 22px 0 8px; font-size: clamp(1.65rem,4vw,2.5rem); }
.profile-reading p { margin: 9px 0; }
.profile-related div { display: flex; flex-wrap: wrap; gap: 7px; }
.profile-related .small-button { text-decoration: none; }
@media (max-width: 760px) {
  .dere-profile { padding-block: 16px 36px; }
  .profile-mast { grid-template-columns: 1fr; gap: 16px; padding-top: 2px; }
  .profile-intro h1 { font-size: clamp(2.8rem,13vw,4.8rem); }
  .profile-portrait { width: min(100%,326px); margin-inline: auto; }
  .profile-portrait img { aspect-ratio: 1.25; object-fit: cover; object-position: center 28%; }
  .profile-reading { padding-top: 7px; }
}


.profile-play-actions { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; }
.profile-long-quiz { color: var(--wine-dark); font-size: .9rem; font-weight: 700; }
.profile-quiz-area { margin-block: 20px 7px; }
.profile-match-note { padding: 7px 10px; margin-top: 10px; border-left: 3px solid var(--wine); background: var(--rose); font-size: .86rem; }
.result-type-link { display: inline-block; margin-top: 5px; color: var(--wine-dark); font-size: .85rem; font-weight: 700; }


/* Completed reports flow with the page instead of scrolling inside the quiz. */
.player[data-quiz-complete] { height: auto; overflow: visible; }
.player[data-quiz-complete] .quiz-inline {
  position: relative; inset: auto; max-height: none; overflow: visible;
  overscroll-behavior: auto; border-radius: inherit;
}
.player[data-quiz-complete]:fullscreen { overflow: auto; }
.quiz-result { padding-top: 14px; }
.report-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 7px 12px; }
.report-heading h2 { font-size: clamp(1.55rem,4vw,2.65rem); }
.report-tools, .report-access > div { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.report-offer { margin: 12px 0 6px; padding: 12px; }
.report-offer h3 { margin: 0 0 8px; font-size: 1.35rem; }
.report-plans { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
.report-plan { display: grid; grid-template-rows: auto 1fr auto; gap: 4px; border: 1px solid var(--line); padding: 8px 9px; border-radius: 8px; background: var(--card); }
.report-plan[data-report-plan="unlimited"] { border-color: var(--wine); }
.report-plan > div { display: flex; gap: 3px 10px; flex-wrap: wrap; justify-content: space-between; }
.report-plan [data-report-price] { white-space: nowrap; color: var(--wine); font-weight: 750; }
.report-plan p { margin: 0; color: var(--quiet); line-height: 1.35; }
.report-plan button { justify-self: start; min-height: 40px; margin-top: 4px; }
.report-plan button:disabled { cursor: default; }
.report-terms, .report-feedback { margin: 5px 0 0; color: var(--quiet); font-size: .8rem; overflow-wrap: anywhere; }
.report-recovery { font-size: .85rem; }
.report-recovery summary { color: var(--wine); cursor: pointer; }
.report-access p { margin: 5px 0; font-size: .86rem; }
.report-access .small-button { text-decoration: none; }
.report-body { margin-top: 16px; }
.report-body[data-report-locked] { filter: blur(7px); pointer-events: none; user-select: none; }
.report-portrait-placeholder {
  display: block; width: 100%; height: 100%;
  background: radial-gradient(ellipse at 50% 31%, var(--line) 0 23%, transparent 24%),
    radial-gradient(ellipse at 50% 100%, var(--line) 0 54%, var(--rose) 55%);
}
.report-analysis { margin-top: 17px; }
.report-analysis h3 { margin-bottom: 8px; font-size: 1.55rem; }
.report-sections { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
.report-sections section { padding: 9px 11px; border: 1px solid var(--line); border-radius: 8px; }
.report-sections h4 { margin: 0 0 4px; }
.report-sections p { margin: 0; font-size: .86rem; }
@media (max-width: 760px) {
  .report-heading { gap: 4px 8px; }
  .report-offer { margin-top: 6px; padding: 7px; }
  .report-plan { padding: 5px 6px; }
  .report-plan button { font-size: .78rem; padding-inline: 6px; }
  .report-plan p { font-size: .77rem; }
  .report-sections { grid-template-columns: 1fr; }
}


.report-tools a.small-button { text-decoration: none; }
.report-history { width: min(740px, calc(100% - 32px)); margin: 34px auto 64px; }
.report-history h1 { font-size: clamp(2.5rem, 7vw, 4.45rem); margin-bottom: 8px; }
.report-history-form { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: end; margin: 20px 0 7px; }
.report-history-form label { width: min(100%, 320px); font-weight: 700; font-size: .9rem; }
.report-history-form input { display: block; width: 100%; margin-top: 4px; min-height: 47px; padding: 8px; }
.report-history-items { padding: 0; margin: 18px 0 12px; list-style: none; }
.report-history-item { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.report-history-item strong { color: var(--wine-dark); }
.report-history-item p { color: var(--quiet); font-size: .85rem; }
.report-history-item a { text-decoration: none; }


/* 2026-11 首页内容区补充：长文行长、列表节奏 */
.intro > div { max-width: 68ch; }
.intro > div h2 { margin-bottom: 24px; }
.intro > div ul,
.intro > div ol { padding-left: 1.2em; margin: 0 0 20px; }
.intro > div li { margin-bottom: 10px; line-height: 1.55; }
.intro > div li::marker { color: var(--primary, currentColor); }
