@charset "UTF-8";
/*
 * Local preview stylesheet. Quiz-specific handoffs take visual precedence:
 * /Users/eunkyeong/Downloads/design_handoff_talk_v2/README.md
 * /Users/eunkyeong/Downloads/design_handoff_talk_match_test/README.md
 * /Users/eunkyeong/Desktop/타임오프클럽/digital-burnout-test/talk.css
 * Shared mobile / Pretendard / motion principles were also checked against:
 * /Users/eunkyeong/Downloads/design_handoff_timeoffclub_v2/README.md
 * /Users/eunkyeong/Desktop/타임오프클럽/timeoffclub/타임오프클럽_디자인_시스템.md
 * /Users/eunkyeong/Desktop/타임오프클럽/timeoffclub/app/globals.css
 * Adaptation: existing local markup acts as a maximum-480px mobile shell.
 * Body is fixed; only #main scrolls. No production stylesheet is modified.
 */
:root {
  color-scheme: light;
  --bg: #FFFFFF;
  --outside: #EBEBEB;
  --surface: #FFFFFF;
  --inset: #F5F5F5;
  --dark: #121212;
  --dark-deep: #121212;
  --dark-chip: #282828;
  --ink: #121212;
  --ink-2: #6A6A6A;
  --ink-3: #949494;
  --label: var(--ink-2);
  --ink-on-dark: #FFFFFF;
  --ink-on-dark-2: #B3B3B3;
  --accent: #1ED760;
  --accent-press: #1DB954;
  --accent-deep: #0F7A34;
  --accent-soft: #E7F8EE;
  --green: var(--accent);
  --green-hover: var(--accent-press);
  --green-tint: var(--accent-soft);
  --mint-top: #EAF9F0;
  --mint-bottom: #D9F3E3;
  --line: #E8E8E8;
  --line-strong: #D9D9D9;
  --backdrop: rgba(25,20,20,.48);
  --r-thumb: 2px;
  --r-card: 16px;
  --r-track: 4px;
  --r-spine: 7px;
  --r-sheet: 18px;
  --r-pill: 500px;
  --shadow-card: 0 4px 4px rgba(0,0,0,.06);
  --shadow-spine: 0 4px 16px rgba(0,0,0,.14);
  --shadow-frame: 0 0 40px rgba(0,0,0,.08);
  --ease: cubic-bezier(.2,0,0,1);
  --ease-out-strong: cubic-bezier(.23,1,.32,1);
  --ease-drawer: cubic-bezier(.32,.72,0,1);
  --dur-fast: 120ms;
  --dur-mid: 200ms;
  --dur-slow: 320ms;
  --viewport-w: 480px;
  --header-h: 56px;
  --footer-h: 52px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-7: 28px;
  --space-8: 32px;
  --space-9: 36px;
  --space-10: 40px;
  --space-12: 48px;
  --page-gutter: 24px;
  --font-sans: Pretendard, 'Avenir Next', 'Apple SD Gothic Neo', 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--outside);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
* { box-sizing: border-box; }
html { height: 100%; overflow: hidden; overscroll-behavior: none; background: var(--outside); }
body { display: flex; flex-direction: column; width: var(--viewport-w); max-width: 100%; height: 100vh; height: 100dvh; margin: 0 auto; overflow: hidden; overscroll-behavior: none; background: var(--bg); color: var(--ink); text-wrap: pretty; box-shadow: var(--shadow-frame); }
button, input, textarea, select { font: inherit; color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button { cursor: pointer; transition: transform var(--dur-fast) var(--ease-out-strong), background-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease); }
button:not(:disabled):active { transform: scale(.97); }
button:disabled { cursor: not-allowed; opacity: .45; }
button, a, input, textarea, select, summary { outline-offset: 3px; }
:focus-visible { outline: 2px solid var(--green); }
#main:focus { outline: none; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
img, svg { max-width: 100%; }
img { display: block; }
input, textarea, select { min-width: 0; max-width: 100%; font-size: 16px; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { word-break: keep-all; overflow-wrap: anywhere; }
p, li { word-break: keep-all; overflow-wrap: anywhere; }
::selection { background: var(--green-tint); color: var(--ink); }
[hidden] { display: none !important; }
.skip-link { position: fixed; z-index: 100; top: -80px; padding: var(--space-3) var(--space-4); border-radius: var(--r-pill); background: var(--dark); color: var(--ink-on-dark); }
.skip-link:focus { top: var(--space-3); }
.site-header { display: flex; flex: 0 0 var(--header-h); align-items: center; justify-content: space-between; gap: var(--space-3); width: 100%; padding: 0 var(--space-5); background: var(--surface); border-bottom: 1px solid var(--inset); }
.wordmark { display: inline-flex; align-items: center; gap: 2px; min-height: 44px; padding: 0; border: 0; background: transparent; font-size: 25px; font-weight: 800; letter-spacing: -.05em; }
.brand-dot { width: 6px; height: 6px; margin-top: var(--space-2); border-radius: var(--r-pill); background: var(--green); }
.wordmark-sub { margin-left: var(--space-2); color: var(--ink-2); font-size: 9px; font-weight: 500; letter-spacing: -.02em; }
.site-header nav { display: flex; align-items: center; gap: var(--space-2); }
.text-button { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); min-height: 44px; padding: var(--space-2) 0; border: 0; border-radius: var(--r-pill); background: transparent; font-size: 12px; font-weight: 600; text-underline-offset: 4px; }
.text-button:hover { color: var(--ink-2); }
.local-pill { display: inline-flex; align-items: center; gap: var(--space-1); padding: var(--space-1) 6px; border-radius: var(--r-pill); background: var(--inset); color: var(--ink-3); font-size: 7px; font-weight: 600; letter-spacing: .015em; white-space: nowrap; }
.local-pill::before { content: ''; width: 4px; height: 4px; border-radius: var(--r-pill); background: var(--green); }
main { flex: 1; min-width: 0; min-height: 0; width: 100%; padding: 0 var(--page-gutter); overflow-y: auto; overflow-x: hidden; overscroll-behavior-y: contain; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
main::-webkit-scrollbar { display: none; }
.site-footer { display: flex; flex: none; align-items: center; justify-content: space-between; gap: var(--space-2); min-height: var(--footer-h); padding: 0 var(--space-5) env(safe-area-inset-bottom); border-top: 1px solid var(--inset); background: var(--surface); color: var(--ink-3); font-size: 9px; }
.site-footer .text-button { flex: none; color: var(--ink-2); font-size: 9px; }
.page-shell { padding: var(--space-8) 0 var(--space-10); }
.eyebrow, .kicker { display: inline-flex; align-items: center; gap: var(--space-2); color: var(--label); font-size: 10px; font-weight: 700; letter-spacing: .03em; line-height: 1.5; }
.status-dot { width: 5px; height: 5px; border-radius: var(--r-pill); background: var(--green); }
.marker { color: var(--ink); background: linear-gradient(transparent 63%, var(--accent) 63%, var(--accent) 94%, transparent 94%); }
.mobile-break { display: none; }
.muted, .hint, .fine-print { color: var(--ink-2); }
.fine-print, .hint { font-size: 11px; line-height: 1.7; letter-spacing: -.02em; }
.micro-copy { color: var(--ink-2); font-size: 11px; line-height: 1.7; letter-spacing: -.02em; }
.lead { font-size: 15px; line-height: 1.75; letter-spacing: -.03em; }
.button, .btn, .primary-button, .secondary-button { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); min-height: 54px; padding: var(--space-4) var(--space-5); border: 1px solid transparent; border-radius: var(--r-pill); background: var(--surface); color: var(--ink); font-size: 14px; font-weight: 800; letter-spacing: -.025em; line-height: 1.3; text-decoration: none; text-align: center; }
.button.primary, .btn-primary, .primary-button { background: var(--green); color: var(--dark); }
.button.primary:hover, .btn-primary:hover, .primary-button:hover { background: var(--green-hover); }
.button.secondary, .btn-secondary, .secondary-button { border-color: var(--line-strong); background: var(--surface); }
.button.dark, .btn-dark { background: var(--dark); color: var(--ink-on-dark); }
.button.small, .btn-small { min-height: 44px; padding: var(--space-3) var(--space-4); font-size: 12px; }
.button.text { min-height: 44px; border-color: transparent; background: transparent; color: var(--ink-2); font-size: 12px; }
.button.text:hover { color: var(--ink); }
.button-row, .actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3); }
.inline-link { display: inline-flex; align-items: center; min-height: 44px; padding: var(--space-2) 0; border: 0; border-radius: var(--r-pill); background: transparent; color: var(--ink); font-size: 12px; font-weight: 600; letter-spacing: -.02em; line-height: 1.5; text-decoration: underline; text-underline-offset: 4px; }
.inline-link:hover { color: var(--ink-2); }
.arrow { margin-left: auto; }
/* Compact landing: same width and hierarchy at every viewport. */
.hero { display: grid; grid-template-columns: 1fr; gap: var(--space-7); padding-top: var(--space-7); padding-bottom: var(--space-8); }
.hero-copy .eyebrow { margin-bottom: var(--space-4); }
.hero h1 { font-size: clamp(32px, 8.9vw, 36px); font-weight: 800; line-height: 1.23; letter-spacing: -.045em; }
.hero-description { margin-top: var(--space-4); color: var(--ink-2); font-size: 14px; line-height: 1.7; letter-spacing: -.025em; }
.hero-actions { display: flex; flex-direction: column; align-items: stretch; gap: var(--space-2); margin-top: var(--space-6); }
.hero-actions .button { justify-content: space-between; width: 100%; }
.hero-actions .micro-copy { text-align: center; }
.hero-copy > .inline-link { display: flex; width: fit-content; margin: var(--space-1) auto 0; font-size: 11px; }
.hero-stage { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); min-width: 0; }
.stage-caption { display: flex; align-items: center; justify-content: space-between; grid-column: 1 / -1; color: var(--label); font-size: 9px; font-weight: 700; letter-spacing: .025em; }
.stage-caption span { color: var(--ink-3); font-size: 9px; font-weight: 400; }
.preview-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface); box-shadow: var(--shadow-card); }
.preview-card-top { display: flex; justify-content: space-between; gap: var(--space-1); padding: var(--space-2) var(--space-3); color: var(--ink-3); font-size: 8px; font-weight: 500; letter-spacing: -.02em; }
.preview-card > img { width: 100%; height: 126px; object-fit: cover; }
.preview-copy { padding: var(--space-3); }
.preview-copy p { margin-bottom: var(--space-1); color: var(--ink-2); font-size: 12px; line-height: 1.5; letter-spacing: -.02em; }
.preview-copy h2 { font-size: 23px; font-weight: 800; line-height: 1.25; letter-spacing: -.05em; }
.preview-copy > span { display: block; margin-top: var(--space-2); color: var(--ink-2); font-size: 11px; line-height: 1.5; letter-spacing: -.02em; }
.duo-portraits { display: grid; grid-template-columns: 1fr 1fr; }
.duo-portraits img { width: 100%; height: 126px; object-fit: cover; }
.stage-sticker { grid-column: 1 / -1; padding: var(--space-3) var(--space-4); border-radius: var(--r-card); background: var(--green-tint); font-size: 11px; line-height: 1.65; letter-spacing: -.02em; text-align: center; }
.stage-sticker br { display: none; }
.stage-sticker strong { margin-left: var(--space-1); font-weight: 700; }
.landing-bottom { padding-top: var(--space-6); border-top: 1px solid var(--line); }
.section-index { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--space-4); color: var(--label); font-size: 9px; font-weight: 700; letter-spacing: .03em; }
.section-index > span { color: var(--ink-3); }
.steps-grid { display: grid; }
.steps-grid > div { position: relative; min-height: 80px; padding: var(--space-4) 0 var(--space-4) var(--space-10); }
.steps-grid > div + div { border-top: 1px solid var(--inset); }
.step-number { position: absolute; top: var(--space-4); left: 0; color: var(--green); font-size: 15px; font-weight: 700; }
.steps-grid h3 { margin-bottom: var(--space-2); font-size: 16px; font-weight: 700; letter-spacing: -.03em; }
.steps-grid p { color: var(--ink-2); font-size: 12px; line-height: 1.65; letter-spacing: -.02em; }
.demo-entry { display: flex; flex-direction: column; align-items: center; margin-top: var(--space-5); padding: var(--space-4) var(--space-3) var(--space-2); border-radius: var(--r-card); background: var(--inset); color: var(--ink-2); font-size: 11px; }
.demo-entry .inline-link { font-size: 11px; }
/* Quiz */
.quiz-shell { width: 100%; padding: var(--space-4) 0 var(--space-10); }
.quiz-meta { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--space-3); }
.quiz-meta > span { color: var(--ink-3); font-size: 12px; font-variant-numeric: tabular-nums; }
.quiz-meta strong { color: var(--ink); font-size: 15px; font-weight: 700; }
.quiz-progress { height: 3px; overflow: hidden; border-radius: var(--r-pill); background: var(--line); }
.quiz-progress > span { display: block; height: 100%; border-radius: inherit; background: var(--green); transition: width var(--dur-mid) var(--ease); }
.question-content { padding: var(--space-8) 0 var(--space-6); }
.question-content .eyebrow { margin-bottom: var(--space-4); color: var(--ink-3); font-size: 9px; letter-spacing: .04em; }
.question-content h1 { font-size: 25px; font-weight: 700; line-height: 1.5; letter-spacing: -.04em; }
.question-hint { margin-top: var(--space-4); color: var(--ink-2); font-size: 12px; line-height: 1.6; }
.answer-list { display: grid; gap: var(--space-3); }
.answer-option { display: flex; align-items: center; gap: var(--space-3); min-height: 108px; width: 100%; padding: var(--space-5) var(--space-4); border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface); box-shadow: var(--shadow-card); text-align: left; }
.answer-option:hover, .answer-option.selected { border-color: var(--green); background: var(--green-tint); }
.answer-letter { display: flex; align-items: center; justify-content: center; flex: 0 0 26px; height: 26px; border-radius: var(--r-pill); background: var(--inset); color: var(--ink-2); font-size: 10px; font-weight: 700; }
.answer-option > span:nth-child(2) { flex: 1; min-width: 0; }
.answer-option strong { display: block; font-size: 15px; font-weight: 700; line-height: 1.5; letter-spacing: -.03em; word-break: keep-all; }
.answer-desc { display: block; margin-top: var(--space-1); color: var(--ink-2); font-size: 12.5px; line-height: 1.6; word-break: keep-all; }
.answer-arrow { margin-left: auto; color: var(--ink-3); font-size: 16px; }
.quiz-foot { margin-top: var(--space-6); color: var(--ink-3); font-size: 11px; line-height: 1.7; text-align: center; }
/* Results: poster content becomes a compact brand card. */
.page-intro { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-1); margin-bottom: var(--space-6); }
.page-intro .eyebrow { margin-bottom: var(--space-2); font-size: 9px; }
.page-intro h2 { font-size: 23px; font-weight: 700; line-height: 1.35; letter-spacing: -.04em; }
.demo-label { display: inline-flex; align-items: center; width: fit-content; margin: var(--space-2) 0; padding: 6px var(--space-2); border-radius: var(--r-pill); background: var(--inset); color: var(--ink-3); font-size: 10px; line-height: 1.5; }
.personal-card, .pair-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface); box-shadow: var(--shadow-card); }
.card-meta { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); min-height: 40px; padding: var(--space-3) var(--space-4); color: var(--label); font-size: 9px; font-weight: 600; letter-spacing: -.01em; }
.card-meta > span:last-child { color: var(--ink-3); font-size: 8px; letter-spacing: .03em; }
.personal-card-grid { display: grid; grid-template-columns: 1fr; }
.personal-art { position: relative; min-width: 0; overflow: hidden; background: var(--inset); }
.personal-art img { width: 100%; height: auto; aspect-ratio: 1.35; object-fit: cover; }
.art-label { position: absolute; bottom: var(--space-3); left: var(--space-3); max-width: calc(100% - var(--space-6)); padding: 6px var(--space-3); border-radius: var(--r-pill); background: var(--surface); font-size: 10px; font-weight: 600; }
.personal-card-copy { min-width: 0; padding: var(--space-6) var(--space-5); }
.card-tag { display: inline-flex; align-items: center; width: fit-content; padding: 6px var(--space-2); border-radius: var(--r-pill); background: var(--inset); color: var(--ink-2); font-size: 10px; font-weight: 500; line-height: 1.4; }
.personal-card-copy h1 { margin-top: var(--space-4); font-size: 30px; font-weight: 800; line-height: 1.3; letter-spacing: -.05em; }
.personal-card-copy > p { margin-top: var(--space-4); color: var(--ink-2); font-size: 13px; line-height: 1.8; letter-spacing: -.02em; }
.personal-topics { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-top: var(--space-5); }
.personal-topics small { color: var(--ink-3); font-size: 9px; }
.topic-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px var(--space-2); border-radius: var(--r-pill); background: var(--inset); color: var(--label); font-size: 10px; font-weight: 600; line-height: 1.4; }
.topic-chip::before { content: ''; width: 5px; height: 5px; border-radius: var(--r-pill); background: var(--green); }
.card-bottom { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); padding: var(--space-4); border-top: 1px solid var(--inset); color: var(--ink-2); font-size: 10px; }
.card-bottom strong { color: var(--ink); font-size: 12px; font-weight: 700; }
.result-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-8); margin-top: var(--space-7); }
.result-actions { grid-row: 1; }
.detail-title { display: flex; align-items: baseline; gap: var(--space-2); margin-bottom: var(--space-4); }
.detail-title > span { color: var(--green); font-size: 12px; font-weight: 700; }
.detail-title h3 { font-size: 17px; font-weight: 700; letter-spacing: -.03em; }
.result-detail blockquote { margin: 0 0 var(--space-4); padding-left: var(--space-4); border-left: 3px solid var(--green); font-size: 21px; font-weight: 700; line-height: 1.65; letter-spacing: -.03em; word-break: keep-all; }
.result-detail > p:not(.fine-print) { margin-bottom: var(--space-7); color: var(--ink-2); font-size: 13px; line-height: 1.8; }
.topic-ranks { display: grid; margin-bottom: var(--space-4); }
.topic-ranks > div { display: flex; align-items: center; gap: var(--space-4); padding: var(--space-3) 0; border-bottom: 1px solid var(--inset); font-size: 12px; }
.topic-ranks > div > span:first-child { flex: 1; font-weight: 500; }
.score-dots { display: flex; gap: var(--space-1); }
.score-dots i { width: 12px; height: 12px; border-radius: var(--r-thumb); background: var(--line); }
.score-dots i.filled { background: var(--green); }
.topic-ranks small { min-width: 20px; color: var(--ink-3); font-size: 10px; }
.share-prompt { padding: var(--space-6) var(--space-5); border-radius: var(--r-card); background: var(--dark); color: var(--ink-on-dark); box-shadow: var(--shadow-card); }
.share-prompt .eyebrow { margin-bottom: var(--space-4); color: var(--ink-on-dark-2); font-size: 9px; }
.share-prompt h2 { font-size: 28px; font-weight: 700; line-height: 1.3; letter-spacing: -.04em; }
.share-prompt p { margin: var(--space-4) 0 var(--space-5); color: var(--ink-on-dark-2); font-size: 13px; line-height: 1.8; }
.share-prompt .button { width: 100%; margin-bottom: var(--space-2); }
.share-prompt .button.secondary { border-color: var(--ink-2); background: transparent; color: var(--ink-on-dark); }
.share-prompt .fine-print { display: block; margin-top: var(--space-1); color: var(--ink-on-dark-2); font-size: 10px; text-align: center; }
.club-bridge { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); margin-top: var(--space-6); padding: var(--space-5) 0 0; border-top: 1px solid var(--line); }
.club-bridge .eyebrow { color: var(--ink-3); font-size: 9px; }
.club-bridge h3 { margin-top: var(--space-2); font-size: 20px; font-weight: 700; line-height: 1.4; letter-spacing: -.04em; }
.club-bridge p { margin-top: var(--space-3); color: var(--ink-2); font-size: 13px; line-height: 1.8; }
.circle-link { display: flex; align-items: center; justify-content: center; flex: 0 0 44px; height: 44px; padding: 0; border: 0; border-radius: var(--r-pill); background: var(--green); color: var(--dark); font-size: 22px; }
.demo-lab { display: grid; gap: var(--space-5); margin-top: var(--space-8); padding: var(--space-6) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.demo-lab .eyebrow { color: var(--ink-3); font-size: 8px; }
.demo-lab h3 { margin-top: var(--space-2); font-size: 15px; font-weight: 600; line-height: 1.5; letter-spacing: -.02em; }
.demo-lab p { margin-top: var(--space-2); color: var(--ink-2); font-size: 11px; line-height: 1.7; }
.demo-friends { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-2); }
.demo-friend { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-2); min-width: 0; padding: var(--space-3); border: 0; border-radius: var(--r-card); background: var(--surface); box-shadow: var(--shadow-card); text-align: left; }
.demo-friend:hover { background: var(--inset); }
.demo-friend img { width: 36px; height: 36px; border-radius: var(--r-pill); }
.demo-friend > span { font-size: 9px; font-weight: 500; line-height: 1.6; word-break: keep-all; }
.demo-friend > b { position: absolute; top: var(--space-3); right: var(--space-2); color: var(--ink-3); font-size: 15px; font-weight: 400; }
.reset-link { margin-top: var(--space-4); color: var(--ink-2); font-size: 11px; }
/* Invitation and gate */
.invite-shell, .gate-shell { width: 100%; padding: var(--space-4) 0 var(--space-10); }
.invite-shell > .text-button { display: flex; width: fit-content; margin-bottom: var(--space-5); }
.invite-shell > .eyebrow, .gate-shell > .eyebrow { margin-bottom: var(--space-4); font-size: 9px; }
.invite-shell h1, .gate-shell h1 { font-size: 34px; font-weight: 800; line-height: 1.25; letter-spacing: -.05em; }
.invite-shell > .lead, .gate-shell > .lead { margin-top: var(--space-5); }
.guess-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3); margin-top: var(--space-6); }
.guess-card { position: relative; overflow: hidden; padding: 0; border: 2px solid transparent; border-radius: var(--r-card); background: var(--surface); box-shadow: var(--shadow-card); text-align: left; }
.guess-card:hover { border-color: var(--line-strong); }
.guess-card.selected { border-color: var(--green); background: var(--green-tint); }
.guess-card img { width: 100%; height: auto; aspect-ratio: 1.05; object-fit: cover; }
.guess-card > span:not(.guess-check) { display: block; padding: var(--space-3) var(--space-1); font-size: 10px; font-weight: 600; text-align: center; letter-spacing: -.02em; }
.guess-check { position: absolute; top: 6px; right: 6px; display: flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: var(--r-pill); background: var(--surface); color: var(--ink); font-size: 14px; }
.guess-card.selected .guess-check { background: var(--green); }
.invite-shell > .fine-print { margin: var(--space-4) 0 var(--space-5); font-size: 10px; }
.invite-shell > .button { width: 100%; padding-right: var(--space-3); padding-left: var(--space-3); font-size: 13px; }
.local-note { display: grid; gap: var(--space-1); margin-top: var(--space-5); padding: var(--space-4); border-radius: var(--r-card); background: var(--inset); color: var(--ink-2); font-size: 11px; line-height: 1.75; }
.local-note strong { color: var(--label); font-size: 11px; font-weight: 600; }
.gate-shell { padding-top: var(--space-10); text-align: center; }
.gate-shell h1 { font-size: 32px; line-height: 1.3; }
.gate-art { position: relative; display: flex; justify-content: center; width: 180px; margin: var(--space-7) auto; }
.gate-art img { width: 180px; height: 180px; border-radius: var(--r-card); box-shadow: var(--shadow-card); }
.gate-art span { position: absolute; right: calc(-1 * var(--space-6)); bottom: var(--space-3); padding: var(--space-2) var(--space-3); border-radius: var(--r-pill); background: var(--green-tint); color: var(--ink); font-size: 9px; font-weight: 600; box-shadow: var(--shadow-card); }
.gate-shell > .lead { color: var(--ink-2); font-size: 14px; }
.gate-shell > .button { width: 100%; margin-top: var(--space-6); font-size: 13px; }
.gate-shell > .inline-link { display: flex; width: fit-content; margin: var(--space-2) auto 0; }
.gate-shell > .micro-copy { margin-top: var(--space-3); }
.gate-shell > .local-note { text-align: left; }
/* Pair result */
.pair-card { padding-bottom: 0; text-align: center; }
.pair-card .card-meta { text-align: left; }
.pair-characters { display: flex; align-items: center; justify-content: center; gap: var(--space-4); margin: var(--space-6) auto var(--space-5); padding: 0 var(--space-4); }
.pair-characters > div { width: 126px; min-width: 0; }
.pair-characters img { width: 110px; height: 110px; margin: 0 auto var(--space-2); border-radius: var(--r-card); object-fit: cover; }
.pair-characters > div > span { display: block; color: var(--ink-2); font-size: 8px; font-weight: 500; line-height: 1.6; }
.pair-plus { flex: none; margin-top: calc(-1 * var(--space-4)); color: var(--ink-3); font-size: 24px; font-weight: 400; }
.pair-card > .card-tag { margin: 0 auto var(--space-4); background: var(--green-tint); color: var(--ink); }
.pair-card > h1 { padding: 0 var(--space-5); font-size: 26px; font-weight: 800; line-height: 1.3; letter-spacing: -.05em; }
.pair-scenario { margin: var(--space-4) auto var(--space-6); padding: 0 var(--space-5); color: var(--ink-2); font-size: 14px; line-height: 1.85; letter-spacing: -.02em; }
.pair-card-bottom { padding: var(--space-3) var(--space-4); background: var(--inset); color: var(--ink-3); font-size: 9px; line-height: 1.7; }
.prediction-reveal { margin-top: var(--space-6); padding: var(--space-5); border-radius: var(--r-card); background: var(--green-tint); }
.prediction-reveal > span { display: block; margin-bottom: var(--space-3); font-size: 18px; font-weight: 700; letter-spacing: -.03em; }
.prediction-reveal > div { display: flex; align-items: center; flex-wrap: wrap; gap: var(--space-2); }
.prediction-reveal small { color: var(--ink-2); font-size: 9px; }
.prediction-reveal strong { font-size: 12px; font-weight: 700; }
.prediction-reveal b { font-size: 17px; font-weight: 400; }
.prediction-reveal p { margin-top: var(--space-3); color: var(--ink-2); font-size: 11px; line-height: 1.7; }
.pair-content-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-8); margin-top: var(--space-7); }
.pair-content-grid > section:nth-child(2) { grid-row: 1; }
.common-topics { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: var(--space-3); }
.common-topics p { font-size: 13px; line-height: 1.8; }
.evidence-list { display: grid; gap: var(--space-4); margin-top: var(--space-5); }
.evidence-list article { padding-top: var(--space-5); border-top: 1px solid var(--line); }
.evidence-badge { display: inline-block; padding: var(--space-1) var(--space-2); border-radius: var(--r-pill); background: var(--inset); color: var(--ink-2); font-size: 9px; font-weight: 500; }
.evidence-list h4 { margin: var(--space-3) 0 var(--space-4); font-size: 13px; font-weight: 600; line-height: 1.7; letter-spacing: -.02em; word-break: keep-all; }
.evidence-list article > div { display: flex; align-items: flex-start; gap: var(--space-3); margin-top: var(--space-2); }
.evidence-list small { flex: 0 0 54px; color: var(--ink-3); font-size: 10px; line-height: 1.8; }
.evidence-list article > div > p { flex: 1; font-size: 13px; line-height: 1.8; }
.question-card { padding: var(--space-6) var(--space-5); border-radius: var(--r-card); background: linear-gradient(150deg, var(--mint-top), var(--mint-bottom)); color: var(--ink); box-shadow: var(--shadow-card); }
.question-card .eyebrow { color: var(--accent-deep); font-size: 9px; }
.question-card h3 { margin-top: var(--space-4); font-size: 25px; font-weight: 700; line-height: 1.35; letter-spacing: -.04em; }
.question-card blockquote { margin: var(--space-6) 0 var(--space-4); color: var(--ink); font-size: 21px; font-weight: 700; line-height: 1.6; letter-spacing: -.03em; word-break: keep-all; }
.question-card p { color: var(--ink-2); font-size: 13px; line-height: 1.7; }
.question-card .button { width: 100%; margin-top: var(--space-5); border-color: var(--line-strong); background: var(--surface); color: var(--ink); font-size: 13px; }
.pair-share-actions { display: grid; gap: var(--space-3); margin-top: var(--space-5); }
.pair-share-actions .button { width: 100%; font-size: 13px; }
.pair-return { display: flex; flex-direction: column; align-items: center; gap: var(--space-2); margin-top: var(--space-8); padding-top: var(--space-5); border-top: 1px solid var(--line); }
/* Club introduction */
.club-shell > .text-button { margin-bottom: var(--space-6); }
.club-hero { display: grid; grid-template-columns: 1fr; gap: var(--space-7); }
.club-hero .eyebrow { margin-bottom: var(--space-4); font-size: 9px; }
.club-hero h1 { font-size: 34px; font-weight: 800; line-height: 1.27; letter-spacing: -.05em; }
.club-hero blockquote { margin: var(--space-6) 0 var(--space-5); padding-left: var(--space-4); border-left: 3px solid var(--green); font-size: 17px; font-weight: 600; line-height: 1.65; letter-spacing: -.02em; word-break: keep-all; }
.club-hero .lead { color: var(--ink-2); font-size: 13px; line-height: 1.85; }
.club-hero .button { width: 100%; margin-top: var(--space-6); font-size: 13px; }
.club-hero .fine-print { margin-top: var(--space-3); font-size: 10px; }
.club-hero figure { min-width: 0; margin: 0; }
.club-hero figure img { width: 100%; height: 320px; border-radius: var(--r-card); object-fit: cover; box-shadow: var(--shadow-card); }
.club-hero figcaption { margin-top: var(--space-3); color: var(--ink-3); font-size: 10px; text-align: right; }
.off-grid { display: grid; grid-template-columns: 1fr; margin-top: var(--space-8); padding-top: var(--space-1); border-top: 1px solid var(--line); }
.off-grid article { padding: var(--space-6) 0; }
.off-grid article + article { border-top: 1px solid var(--line); }
.off-grid article > span { color: var(--ink-3); font-size: 9px; font-weight: 600; }
.off-grid h3 { margin: var(--space-3) 0 var(--space-4); font-size: 23px; font-weight: 700; line-height: 1.4; letter-spacing: -.04em; }
.off-grid p { color: var(--ink-2); font-size: 13px; line-height: 1.85; }
.club-bottom { margin-top: var(--space-5); padding: var(--space-8) var(--space-5); border-radius: var(--r-card); background: var(--dark); color: var(--ink-on-dark); text-align: center; }
.club-bottom h2 { font-size: 29px; font-weight: 700; line-height: 1.35; letter-spacing: -.04em; }
.club-bottom p { margin-top: var(--space-4); color: var(--ink-on-dark-2); font-size: 12px; line-height: 1.7; }
.club-bottom .inline-link { margin-top: var(--space-3); color: var(--green); }
.empty-shell { padding: var(--space-12) 0; }
.empty-shell h1 { margin-top: var(--space-6); font-size: 35px; font-weight: 700; line-height: 1.3; letter-spacing: -.04em; }
.empty-shell p { margin: var(--space-6) 0; color: var(--ink-2); font-size: 13px; line-height: 1.8; }
/* Dialogs remain inside the mobile width. Inputs stay 16px on iOS. */
#toast { position: fixed; z-index: 100; bottom: calc(var(--footer-h) + var(--space-4) + env(safe-area-inset-bottom)); left: 50%; width: max-content; max-width: min(380px, calc(100% - var(--space-8))); padding: var(--space-3) var(--space-5); border-radius: var(--r-pill); background: var(--dark); color: var(--ink-on-dark); box-shadow: var(--shadow-spine); font-size: 12px; font-weight: 500; line-height: 1.5; text-align: center; opacity: 0; pointer-events: none; transform: translate(-50%, var(--space-2)); transition: opacity var(--dur-mid) var(--ease), transform var(--dur-mid) var(--ease-out-strong); }
#toast.show, #toast.visible { opacity: 1; transform: translate(-50%, 0); }
dialog { width: min(396px, calc(100% - var(--space-8))); max-height: calc(100dvh - var(--space-8)); margin: auto; padding: var(--space-6) var(--space-5); overflow: auto; border: 0; border-radius: var(--r-sheet); background: var(--surface); color: var(--ink); box-shadow: var(--shadow-spine); }
dialog::backdrop { background: var(--backdrop); }
dialog h2 { margin: 0 0 var(--space-4); font-size: 24px; font-weight: 700; line-height: 1.35; letter-spacing: -.04em; }
dialog p { margin-bottom: var(--space-4); font-size: 13px; line-height: 1.75; }
dialog .button-row, dialog .actions { margin-top: var(--space-5); }
dialog textarea, dialog input { width: 100%; padding: var(--space-3); border: 1px solid var(--line); border-radius: var(--r-card); background: var(--inset); font-size: 16px; line-height: 1.6; }
dialog textarea { min-height: 100px; resize: vertical; }
.dialog-close { position: absolute; top: var(--space-2); right: var(--space-2); display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: var(--r-pill); background: transparent; color: var(--ink-2); font-size: 25px; font-weight: 400; }
.dialog-close:hover { background: var(--inset); }
#dialog-content > .eyebrow { margin-top: var(--space-3); margin-bottom: var(--space-4); font-size: 9px; }
#dialog-title { max-width: calc(100% - var(--space-7)); padding-top: var(--space-3); }
.dialog-actions { display: grid; gap: var(--space-3); margin-top: var(--space-5); }
.dialog-actions .button { width: 100%; font-size: 12px; }
.message-preview { padding: var(--space-5); border-radius: var(--r-card); background: var(--inset); }
.message-preview > span { color: var(--ink-3); font-size: 10px; font-weight: 600; }
.message-preview p { margin: var(--space-3) 0 var(--space-4); font-size: 15px; font-weight: 600; line-height: 1.7; letter-spacing: -.03em; }
.message-preview strong { font-size: 11px; font-weight: 700; }
.input-label { display: block; margin: var(--space-5) 0 var(--space-2); color: var(--label); font-size: 11px; font-weight: 600; }
#invite-url, #pair-url { min-height: 90px; font-size: 16px; word-break: break-all; }
dialog textarea + .fine-print { margin-top: var(--space-3); margin-bottom: 0; font-size: 10px; }
@media (max-width: 374px) {
  :root { --page-gutter: 20px; }
  .wordmark-sub { display: none; }
  .hero h1 { font-size: 32px; }
  .preview-card-top { padding-right: var(--space-2); padding-left: var(--space-2); font-size: 7px; }
  .preview-card > img, .duo-portraits img { height: 112px; }
  .preview-copy { padding: var(--space-3) var(--space-2); }
  .preview-copy h2 { font-size: 21px; }
  .stage-sticker br { display: block; }
  .stage-sticker strong { margin-left: 0; }
  .question-content h1 { font-size: 23px; }
  .personal-card-copy h1 { font-size: 28px; }
  .pair-card > h1 { font-size: 26px; }
  .invite-shell h1 { font-size: 33px; }
  .guess-grid { gap: var(--space-2); }
  .guess-card > span:not(.guess-check) { font-size: 9px; }
  .pair-characters { gap: var(--space-3); }
  .pair-characters img { width: 98px; height: 98px; }
  .club-hero h1 { font-size: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  :root { --dur-fast: .01ms; --dur-mid: .01ms; --dur-slow: .01ms; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
/* Friend response flow: existing quiz tokens, 480px shell and pill controls. */
.site-header nav { gap: 12px; }
.site-header nav .text-button { font-size: 11px; white-space: nowrap; }
.hero h1 { font-size: 39px; line-height: 1.28; }
.preview-copy h2 { font-size: 21px; }
.local-caption { margin-top: 16px; text-align: center; }
.score-details { padding: 16px; border: 1px solid var(--line); border-radius: var(--r-card); }
summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; }
summary::after { content: '+'; margin-left: auto; font-size: 20px; font-weight: 400; }
details[open] > summary::after { content: '−'; }
.score-details .topic-ranks { margin-top: 12px; }
.book-shortcut { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; padding: 18px 4px; border: 0; border-bottom: 1px solid var(--line); background: transparent; font-size: 13px; font-weight: 600; text-align: left; }
.invite-shell .message-preview { margin-top: 24px; }
.invite-shell input { width: 100%; padding: 15px 16px; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--surface); }
.guess-extra { margin: 24px 0; padding: 10px 16px; border: 1px solid var(--line); border-radius: var(--r-card); }
.guess-extra summary span { color: var(--ink-3); font-size: 10px; font-weight: 400; }
.guess-extra .guess-grid { margin-top: 12px; gap: 8px; }
.guess-extra .fine-print { padding: 12px 0; }
.reaction-gate { text-align: left; padding-top: 28px; }
.reaction-gate > .lead { margin: 16px 0 24px; font-size: 14px; }
.personal-card.compact .personal-card-grid { grid-template-columns: 80px minmax(0,1fr); align-items: start; }
.personal-card.compact .personal-art { margin: 16px 0 0 12px; border-radius: 12px; }
.personal-card.compact .personal-art img { aspect-ratio: 1; }
.personal-card.compact .art-label { display: none; }
.personal-card.compact .personal-card-copy { padding: 16px; }
.personal-card.compact h1 { margin-top: 0; font-size: 22px; line-height: 1.4; }
.personal-card.compact .personal-card-copy > p { display: none; }
.personal-card.compact .personal-topics { margin-top: 12px; }
.personal-card.compact .card-bottom { padding: 12px 16px; }
.reaction-box { margin: 24px 0 0; padding: 24px 20px; border-radius: var(--r-card); background: var(--inset); }
.reaction-box h2 { font-size: 23px; letter-spacing: -.04em; line-height: 1.4; }
.reaction-box h3 { font-size: 21px; letter-spacing: -.04em; }
.reaction-box p { margin: 12px 0 16px; color: var(--ink-2); font-size: 13px; line-height: 1.7; }
.reaction-box > .button, .reaction-buttons .button { width: 100%; margin-top: 10px; }
.reaction-box .fine-print { margin: 12px 0 0; font-size: 11px; text-align: center; }
.reaction-box .inline-link { margin-top: 8px; width: 100%; justify-content: center; font-size: 11px; }
.reaction-box blockquote { margin: 16px 0 4px; font-size: 18px; line-height: 1.6; font-weight: 600; }
.reaction-box hr { border: 0; border-top: 1px solid var(--line-strong); margin: 18px 0 24px; }
.reaction-badge { display: inline-block; padding: 6px 9px; margin-bottom: 12px; border-radius: var(--r-pill); background: var(--green-tint); color: var(--accent-deep); font-size: 11px; font-weight: 600; line-height: 1.5; }
.actual-reaction { display: grid; gap: 9px; margin-top: 20px; padding: 18px; background: var(--green-tint); border-radius: var(--r-card); }
.actual-reaction span { font-size: 10px; color: var(--accent-deep); }
.actual-reaction strong { font-size: 17px; line-height: 1.5; letter-spacing: -.02em; }
.pair-first-actions { display: grid; gap: 10px; margin: 20px 0 28px; }
.delivery-status { font-size: 11px; color: var(--accent-deep); line-height: 1.6; text-align: center; }
.next-friend { display: grid; gap: 16px; margin: 28px 0; padding: 24px 20px; border-radius: var(--r-card); background: var(--dark); color: var(--ink-on-dark); }
.next-friend h2 { font-size: 26px; line-height: 1.35; letter-spacing: -.04em; }
.next-friend .eyebrow, .next-friend p, .next-friend .button.text { color: var(--ink-on-dark-2); }
.next-friend p { font-size: 13px; line-height: 1.8; }
.reaction-summary { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.reaction-summary > div { display: grid; gap: 10px; padding: 20px 12px; background: var(--inset); border-radius: var(--r-card); text-align: center; }
.reaction-summary strong { font-size: 34px; letter-spacing: -.04em; }
.reaction-summary span { font-size: 11px; }
.summary-note { margin: 12px 0 24px; }
.friend-records { display: grid; gap: 16px; }
.friend-record { padding: 20px; border: 1px solid var(--line); border-radius: var(--r-card); }
.record-heading { display: flex; gap: 8px; justify-content: space-between; margin-bottom: 16px; font-size: 12px; font-weight: 700; }
.record-heading > span:last-child { color: var(--ink-2); font-size: 10px; font-weight: 500; }
.record-card-title { font-size: 15px; line-height: 1.6; font-weight: 600; }
.friend-reply { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.friend-reply strong { display: block; font-size: 20px; letter-spacing: -.04em; line-height: 1.5; }
.friend-reply p { color: var(--ink-2); font-size: 12px; line-height: 1.8; }
.friend-record > .text-button { font-size: 10px; color: var(--ink-2); margin-top: 12px; }
.received-title { margin-top: 32px; }
.friend-record > h3 { margin-top: 12px; font-size: 21px; line-height: 1.45; letter-spacing: -.04em; }
.empty-book { display: grid; gap: 20px; padding: 28px 20px; border-radius: var(--r-card); background: var(--inset); }
.empty-book h3 { font-size: 22px; line-height: 1.4; letter-spacing: -.04em; }
.empty-book p { color: var(--ink-2); font-size: 14px; line-height: 1.8; }
.behavior-beats { display: grid; gap: 0; margin: 20px 0; border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; }
.behavior-beats > div { display: grid; grid-template-columns: 48px 1fr; gap: 12px; padding: 14px; }
.behavior-beats > div + div { border-top: 1px solid var(--line); }
.behavior-beats span { color: var(--accent-deep); font-size: 10px; font-weight: 700; line-height: 1.8; }
.behavior-beats p { font-size: 12px; line-height: 1.65; }
@media(max-width:360px){.wordmark-sub{display:none}.site-header{padding:0 16px}.site-header nav{gap:10px}.hero h1{font-size:34px}.preview-copy h2{font-size:18px}.personal-card.compact .personal-card-grid{grid-template-columns:64px minmax(0,1fr)}.personal-card.compact h1{font-size:20px}.reaction-box{padding:20px 16px}.reaction-box .button{font-size:12px}.guess-extra{padding:8px 12px}}

/* Real activity and direct sharing reuse the quiz's dark / green hierarchy. */
.activity-band { min-width: 0; margin-top: var(--space-8); padding: var(--space-6) var(--space-4); border-radius: var(--r-card); background: var(--dark); color: var(--ink-on-dark); }
.activity-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-2); }
.activity-heading .eyebrow { color: var(--ink-on-dark-2); font-size: 9px; letter-spacing: 0; }
.activity-scope { padding: var(--space-1) var(--space-2); border-radius: var(--r-pill); background: var(--dark-chip); color: var(--ink-on-dark-2); font-size: 9px; white-space: nowrap; }
.activity-band h2 { margin-top: var(--space-5); font-size: 24px; font-weight: 700; line-height: 1.4; letter-spacing: -.04em; }
.activity-counts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-2); margin-top: var(--space-6); padding-bottom: var(--space-5); border-bottom: 1px solid var(--dark-chip); }
.activity-counts > div { display: grid; align-content: start; gap: var(--space-2); min-width: 0; text-align: center; }
.activity-counts > div + div { border-left: 1px solid var(--dark-chip); }
.activity-counts strong { min-width: 0; color: var(--green); font-size: clamp(22px, 6vw, 28px); font-weight: 800; line-height: 1.15; letter-spacing: -.04em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.activity-counts span { padding: 0 2px; color: var(--ink-on-dark-2); font-size: 10px; line-height: 1.65; word-break: keep-all; overflow-wrap: anywhere; }
.activity-feed { display: grid; gap: var(--space-4); margin-top: var(--space-5); }
.activity-feed > div { display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; align-items: start; gap: var(--space-2); min-width: 0; }
.activity-event-icon { display: flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: var(--r-pill); background: var(--dark-chip); color: var(--green); font-size: 12px; }
.activity-feed p { min-width: 0; font-size: 11px; line-height: 1.8; }
.activity-feed time { padding-top: 2px; color: var(--ink-on-dark-2); font-size: 9px; line-height: 1.8; white-space: nowrap; }
.activity-feed .activity-empty { color: var(--ink-on-dark-2); font-size: 12px; line-height: 1.8; }
.activity-note { margin-top: var(--space-5); color: var(--ink-on-dark-2); font-size: 10px; line-height: 1.8; }

.share-tools { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; gap: var(--space-1); min-width: 0; }
.share-tools .button.text { min-width: 44px; width: 100%; min-height: 44px; margin: 0; padding: var(--space-2) var(--space-1); border-radius: var(--r-track); color: var(--ink-2); font-size: 11px; font-weight: 600; line-height: 1.55; word-break: keep-all; overflow-wrap: anywhere; }
.share-tools .button.text:hover { background: var(--inset); color: var(--ink); }
.share-prompt .share-tools .button { margin-bottom: 0; color: var(--ink-on-dark-2); }
.share-prompt .share-tools .button:hover { background: var(--dark-chip); color: var(--ink-on-dark); }
.share-prompt .share-help, .share-help { margin: var(--space-2) 0 0; color: var(--ink-2); font-size: 11px; line-height: 1.65; text-align: center; }
.share-prompt .share-help { color: var(--ink-on-dark-2); }

.link-thumbnail { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface); }
.link-thumbnail > img { width: 100%; height: auto; aspect-ratio: 1200 / 630; object-fit: contain; background: var(--inset); }
.link-thumbnail > div { min-width: 0; padding: var(--space-4); }
.link-thumbnail strong { display: block; font-size: 17px; font-weight: 700; line-height: 1.5; letter-spacing: -.035em; word-break: keep-all; overflow-wrap: anywhere; }
.link-thumbnail p { margin: var(--space-2) 0; color: var(--ink-2); font-size: 12px; line-height: 1.7; }
.link-thumbnail > div > span { display: block; color: var(--ink-3); font-size: 10px; line-height: 1.65; }
.share-options { min-width: 0; margin: var(--space-5) 0 var(--space-4); border-top: 1px solid var(--line); }
.share-options > summary { min-height: 48px; color: var(--ink-2); font-size: 12px; }
.share-options textarea { min-height: 88px; margin: var(--space-2) 0; overflow-wrap: anywhere; word-break: break-all; }
.share-options .button { min-height: 44px; width: 100%; padding-right: var(--space-2); padding-left: var(--space-2); font-size: 12px; }
.export-preview { display: block; width: auto; max-width: 100%; height: auto; max-height: min(50dvh, 440px); margin: 0 auto; object-fit: contain; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--inset); }

.friend-mini { display: grid; grid-template-columns: 56px minmax(0, 1fr); align-items: center; gap: var(--space-4); min-width: 0; padding: var(--space-4); border-radius: var(--r-card); background: var(--inset); }
.friend-mini > img { width: 56px; height: 56px; border-radius: var(--space-3); object-fit: cover; }
.friend-mini > span { min-width: 0; font-size: 16px; font-weight: 700; line-height: 1.5; letter-spacing: -.035em; word-break: keep-all; overflow-wrap: anywhere; }
.own-card-peek { min-width: 0; margin-bottom: var(--space-6); padding: 0 var(--space-4); border: 1px solid var(--line); border-radius: var(--r-card); }
.own-card-peek > summary { min-height: 56px; font-size: 13px; }
.own-card-peek > .personal-card { margin-bottom: var(--space-4); box-shadow: none; }
.own-card-peek .personal-card.compact .personal-card-grid { grid-template-columns: 56px minmax(0, 1fr); }
.own-card-peek .personal-card.compact .personal-art { margin: var(--space-3) 0 0 var(--space-2); border-radius: var(--space-2); }
.own-card-peek .personal-card.compact .personal-card-copy { padding: var(--space-3); }
.own-card-peek .personal-card.compact h1 { font-size: 18px; line-height: 1.45; }

/* This flex sibling stays visible while only #main scrolls. */
#quick-share { display: grid; flex: none; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: var(--space-2); min-width: 0; width: 100%; padding: var(--space-3) var(--page-gutter); border-top: 1px solid var(--line); background: var(--surface); }
#quick-share[hidden] { display: none !important; }
#quick-share .button { min-width: 44px; min-height: 44px; margin: 0; padding: var(--space-3) var(--space-4); font-size: 12px; line-height: 1.4; word-break: keep-all; overflow-wrap: anywhere; }
#quick-share .button.text { padding-right: var(--space-1); padding-left: var(--space-1); white-space: nowrap; }

@media (max-width: 360px) {
  .activity-band { padding-right: var(--space-3); padding-left: var(--space-3); }
  .activity-band h2 { font-size: 22px; }
  .activity-counts { gap: var(--space-1); }
  .activity-heading { gap: var(--space-1); }
  .activity-heading .eyebrow { gap: 6px; font-size: 8px; }
  .activity-scope { font-size: 8px; }
  .share-tools { gap: 0; }
  .share-tools .button.text { font-size: 10px; }
  #quick-share { padding: var(--space-2) var(--space-4); }
  #quick-share .button { padding-right: var(--space-3); padding-left: var(--space-3); }
  #quick-share .button.text { padding-right: var(--space-1); padding-left: var(--space-1); }
}

/* A small, non-blocking promise keeps the next outcome clear during the quiz. */
.quiz-expectation { margin-top: 24px; padding: 18px 16px; border-radius: var(--r-card); background: var(--green-tint); }
.quiz-expectation > span { display: block; margin-bottom: 8px; color: var(--accent-deep); font-size: 10px; font-weight: 600; }
.quiz-expectation strong { display: block; font-size: 14px; line-height: 1.5; letter-spacing: -.025em; word-break: keep-all; }
.quiz-expectation p { margin-top: 8px; color: var(--ink-2); font-size: 11px; line-height: 1.65; word-break: keep-all; }
.quiz-foot { color: var(--ink-2); }
@media(max-height:700px) { .quiz-expectation { margin-top: 16px; padding: 12px 14px; } }
/* Keep both choices and the result teaser in view on short phone screens. */
@media(max-height:700px) {
  .quiz-shell { padding-bottom: 20px; }
  .question-content { padding: 20px 0 16px; }
  .question-content .eyebrow { margin-bottom: 8px; }
  .question-content h1 { font-size: 22px; line-height: 1.4; }
  .question-hint { margin-top: 10px; font-size: 11px; }
  .answer-option { min-height: 84px; padding: 12px; gap: 8px; }
  .answer-option strong { font-size: 14px; }
  .answer-desc { font-size: 11px; }
  .quiz-expectation p { display: none; }
}
/* Real participation and result browsing: no extra input or blocking popups. */
.live-proof { display:flex; align-items:center; gap:8px; width:100%; min-height:44px; margin-top:12px; padding:10px 12px; border:0; border-radius:12px; background:var(--inset); text-align:left; font-size:12px; line-height:1.5; }
.live-proof > span:nth-child(2) { flex:1; }
.live-proof small { margin-left:8px; color:var(--ink-2); font-size:9px; white-space:nowrap; }
.live-proof strong { font-weight:700; }
.live-intro { margin-top:8px; color:var(--ink-on-dark-2); font-size:12px; line-height:1.6; }
.today-activity { display:flex; flex-wrap:wrap; gap:8px 16px; margin:20px 0; color:var(--ink-on-dark-2); font-size:12px; }
.today-activity strong { margin-left:4px; color:var(--green); }
.activity-feed.live-results { gap:12px; }
.live-result-row { display:grid; grid-template-columns:48px minmax(0,1fr); gap:12px; align-items:center; padding:16px 12px; border-radius:var(--r-card); background:var(--dark-chip); }
.live-portraits { position:relative; width:48px; height:48px; }
.live-portraits img { width:48px; height:48px; object-fit:cover; border-radius:12px; }
.live-portraits.is-pair img { position:absolute; width:34px; height:34px; border-radius:9px; }
.live-portraits.is-pair img + img { bottom:0; right:0; border:2px solid var(--dark-chip); }
.live-reaction-icon { display:grid; place-items:center; width:48px; height:48px; border-radius:12px; background:var(--dark); color:var(--green); font-size:22px; }
.live-result-copy > span { display:block; margin-bottom:6px; color:var(--ink-on-dark-2); font-size:10px; line-height:1.5; }
.live-result-copy strong { display:block; font-size:14px; line-height:1.5; letter-spacing:-.025em; word-break:keep-all; overflow-wrap:anywhere; }
.live-result-row time { grid-column:2; margin-top:-6px; color:var(--ink-on-dark-2); font-size:10px; }
.activity-band > .button { width:100%; margin-top:20px; font-size:13px; }
.activity-band .activity-counts { border-bottom:0; border-top:1px solid var(--dark-chip); padding:20px 0 0; }
@media(min-width:400px) {
 .live-result-row { grid-template-columns:48px minmax(0,1fr) auto; }
 .live-result-row time { grid-column:3; grid-row:1; margin:0; white-space:nowrap; align-self:start; }
}
