@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 400 800; font-display: swap; src: url('fonts/plus-jakarta-sans.woff2') format('woff2'); }

:root {
    color-scheme: dark;
    --bg: #090b16;
    --panel: #111526;
    --panel-soft: rgb(255 255 255 / 0.06);
    --text: #f7f8ff;
    --text-light: #a7aec7;
    --muted: #737b99;
    --line: rgb(255 255 255 / 0.12);
    --coral: #ff7d68;
    --coral-bright: #ffad6b;
    --mint: #9ee8c8;
    --indigo: #7778ff;
    --radius: 22px;
    --shadow: 0 24px 80px rgb(0 0 0 / 0.38);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { min-height: 100vh; padding: 24px; display: flex; flex-direction: column; align-items: center; justify-content: center; background: radial-gradient(circle at 10% 0%, #242348 0%, transparent 36%), radial-gradient(circle at 100% 100%, #153a42 0%, transparent 32%), var(--bg); color: var(--text); font-family: 'Plus Jakarta Sans', sans-serif; }
button { border: 0; cursor: pointer; font: inherit; font-weight: 700; }
.app-shell { width: min(1450px, 100%); display: grid; grid-template-columns: 255px minmax(0, 560px) 255px; justify-content: center; align-items: start; gap: 18px; }
.theme-sidebar { padding: 24px 14px; border: 1px solid var(--line); border-radius: 24px; background: rgb(10 13 27 / 0.76); box-shadow: var(--shadow); }
.sidebar-eyebrow { padding: 0 10px; color: var(--mint); font-size: 0.7rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
.sidebar-title { margin: 8px 10px 18px; color: var(--text); font-size: 1.15rem; letter-spacing: -0.03em; }
.theme-navigation { display: grid; gap: 7px; }
.theme-group { border: 1px solid transparent; border-radius: 14px; background: rgb(255 255 255 / 0.035); }
.theme-group[open] { border-color: var(--line); background: rgb(255 255 255 / 0.06); }
.theme-group summary { padding: 11px 10px; display: flex; align-items: center; gap: 8px; cursor: pointer; list-style: none; color: var(--text); font-size: 0.75rem; font-weight: 800; line-height: 1.25; }
.theme-group summary::-webkit-details-marker { display: none; }
.theme-group summary::after { margin-left: auto; color: var(--muted); content: '+'; font-size: 1rem; }
.theme-group[open] summary::after { color: var(--coral); content: '−'; }
.theme-group summary span { color: var(--coral-bright); font-size: 0.65rem; }
.theme-group ul { padding: 0 12px 12px 38px; display: grid; gap: 7px; color: var(--text-light); font-size: 0.68rem; line-height: 1.35; }
.theme-group li::marker { color: var(--coral); }
.game-container { width: 100%; max-width: 560px; min-height: 650px; padding: 34px; display: flex; flex-direction: column; overflow: hidden; background: linear-gradient(145deg, rgb(24 28 52 / 0.96), rgb(10 13 27 / 0.98)); border: 1px solid var(--line); border-radius: 30px; box-shadow: var(--shadow); }
.screen { display: none; flex-direction: column; animation: screen-in 0.5s cubic-bezier(.2,.8,.2,1); }
.screen.active { display: flex; }
@keyframes screen-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
.brand-eyebrow, .eyebrow, .result-kicker { color: var(--mint); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
#start-screen { flex: 1; align-items: flex-start; justify-content: center; text-align: left; }
h1 { margin: 14px 0 6px; font-size: clamp(2.8rem, 11vw, 4.5rem); font-weight: 800; letter-spacing: -0.07em; line-height: 0.9; }
h1 span { color: var(--coral); }
.election-year { margin: 0 0 18px; color: var(--muted); font-size: 0.85rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
h2 { margin-bottom: 12px; font-size: clamp(1.55rem, 6vw, 2.1rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1.08; }
.intro-copy { max-width: 390px; color: var(--text-light); font-size: 1rem; line-height: 1.65; }
.intro-chips { width: 100%; margin: 26px 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.intro-chip { padding: 12px; display: flex; align-items: flex-start; gap: 10px; border: 1px solid var(--line); border-radius: 14px; background: rgb(255 255 255 / 0.04); }
.intro-chip svg { flex: 0 0 22px; margin-top: 1px; fill: none; stroke: var(--mint); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.intro-chip:nth-child(2) svg { stroke: var(--coral-bright); }
.intro-chip strong { display: block; color: var(--text); font-size: 0.78rem; line-height: 1.3; }
.intro-chip small { display: block; margin-top: 2px; color: var(--text-light); font-size: 0.68rem; line-height: 1.4; }
.fairness-notice .data-explanation { margin: 0 14px 14px; }
.data-explanation { margin-top: 12px; padding: 13px 14px; border-left: 2px solid var(--coral); border-radius: 0 12px 12px 0; background: rgb(255 255 255 / 0.05); color: var(--text-light); }
.data-list-title { margin-top: 13px; color: var(--text); font-size: 0.72rem; font-weight: 800; }
.data-list { margin: 6px 0 0 18px; display: grid; gap: 4px; }
.data-list li::marker { color: var(--coral); }
.fairness-notice { width: 100%; margin-bottom: 24px; border: 1px solid var(--line); border-radius: 16px; background: rgb(255 255 255 / 0.04); text-align: left; }
.fairness-notice summary { padding: 14px 16px; cursor: pointer; color: var(--text); font-size: 0.84rem; font-weight: 700; }
.fairness-notice ul { padding: 0 18px 16px 34px; color: var(--text-light); font-size: 0.78rem; line-height: 1.65; }
.fairness-notice li + li { margin-top: 5px; }
.mode-selection { width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.mode-card { min-height: 160px; padding: 18px; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(150deg, rgb(255 255 255 / 0.1), rgb(255 255 255 / 0.035)); color: var(--text); text-align: left; transition: transform 0.24s ease, border-color 0.24s ease, background 0.24s ease; }
.mode-card:hover, .mode-card:focus-visible { border-color: var(--coral); background: linear-gradient(150deg, rgb(255 125 104 / 0.16), rgb(255 255 255 / 0.05)); transform: translateY(-4px); }
.mode-card:disabled { cursor: wait; opacity: 0.55; }
.mode-card strong { color: var(--coral-bright); font-size: 1rem; line-height: 1.2; }
.mode-card span { color: var(--text-light); font-size: 0.76rem; font-weight: 600; line-height: 1.55; }
.quiz-topline { margin-bottom: 12px; display: flex; align-items: center; gap: 14px; }
.quiz-topline .eyebrow { margin-right: auto; }
.text-btn { padding: 5px 0; color: var(--text-light); background: transparent; font-size: 0.74rem; font-weight: 800; }
.text-btn:hover, .text-btn:focus-visible { color: var(--coral-bright); }
#progress-label { color: var(--text-light); font-size: 0.78rem; font-weight: 800; }
.progress-container { position: relative; width: 100%; height: 8px; margin-bottom: 12px; overflow: visible; background: rgb(255 255 255 / 0.1); border-radius: 20px; }
#progress-bar { width: 0; height: 100%; background: linear-gradient(90deg, var(--coral), var(--coral-bright)); border-radius: 20px; transition: width 0.4s ease; }
.progress-dots { min-height: 10px; margin-bottom: 28px; display: flex; gap: 5px; }
.progress-dot { width: 5px; height: 5px; border-radius: 50%; background: rgb(255 255 255 / 0.2); transition: transform 0.25s ease, background 0.25s ease; }
.progress-dot.active { background: var(--mint); transform: scale(1.4); }
.transition-note { min-height: 20px; margin-bottom: 8px; color: var(--coral-bright); font-size: 0.78rem; font-weight: 800; }
#category-title { margin-bottom: 7px; color: var(--coral-bright); font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; }
.subcategory-title { margin-bottom: 10px; color: var(--text); font-size: 1.05rem; font-weight: 800; }
.mode-label { margin-bottom: 8px; color: var(--muted); font-size: 0.75rem; font-weight: 700; }
.instruction { margin-bottom: 20px; color: var(--text-light); font-size: 1rem; font-weight: 600; }
.option-count-note { margin: -12px 0 20px; padding: 10px 12px; border-left: 2px solid var(--coral); border-radius: 0 10px 10px 0; background: rgb(255 255 255 / 0.05); color: var(--muted); font-size: 0.72rem; line-height: 1.5; }
.option-count-note[hidden] { display: none; }
.options-stack { display: flex; flex-direction: column; gap: 11px; }
.option-card { position: relative; padding: 17px 18px; border: 1px solid var(--line); border-radius: 17px; cursor: pointer; background: linear-gradient(135deg, rgb(255 255 255 / 0.085), rgb(255 255 255 / 0.035)); color: var(--text); font-size: 0.9rem; font-weight: 600; text-align: left; line-height: 1.5; transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease; }
.option-card:hover, .option-card:focus-visible { border-color: var(--coral); background: linear-gradient(135deg, rgb(255 125 104 / 0.16), rgb(119 120 255 / 0.08)); box-shadow: 0 0 24px rgb(255 125 104 / 0.15); transform: scale(1.015); }
.option-card.selected { border-color: var(--mint); background: linear-gradient(135deg, rgb(158 232 200 / 0.18), rgb(119 120 255 / 0.1)); box-shadow: 0 0 0 2px rgb(158 232 200 / 0.18), 0 0 28px rgb(158 232 200 / 0.16); }
.option-card:active { transform: scale(0.985); }
.option-card:disabled { cursor: not-allowed; opacity: 0.38; }
.question-in { animation: answer-in 0.38s cubic-bezier(.2,.8,.2,1) both; }
.question-out { animation: answer-out 0.18s ease both; }
@keyframes answer-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@keyframes answer-out { to { opacity: 0; transform: translateX(-18px); } }
.validate-btn { margin-top: 5px; }
.validate-btn:disabled { cursor: not-allowed; opacity: 0.5; }
.previous-btn { margin-top: 16px; align-self: flex-start; padding: 7px 0; color: var(--text-light); background: transparent; font-size: 0.76rem; font-weight: 700; }
.previous-btn:hover:not(:disabled), .previous-btn:focus-visible:not(:disabled) { color: var(--mint); }
.previous-btn:disabled { cursor: not-allowed; opacity: 0.25; }
.main-btn, .secondary-btn { padding: 15px 20px; border-radius: 14px; font-size: 0.9rem; }
.main-btn { background: linear-gradient(135deg, var(--coral), var(--coral-bright)); color: #24131a; box-shadow: 0 10px 24px rgb(255 125 104 / 0.2); }
.main-btn:hover { transform: translateY(-2px); filter: saturate(1.1) brightness(1.05); }
.secondary-btn { background: rgb(255 255 255 / 0.08); color: var(--text-light); }
.secondary-btn:hover { background: rgb(255 255 255 / 0.14); color: var(--text); }
.results-list { margin: 26px 0; display: flex; flex-direction: column; gap: 11px; }
.result-item { padding: 15px; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(135deg, rgb(255 255 255 / 0.08), rgb(255 255 255 / 0.035)); animation: reveal-card 0.45s cubic-bezier(.2,.8,.2,1) both; }
@keyframes reveal-card { from { opacity: 0; transform: translateY(14px) scale(0.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
.result-kicker { margin-bottom: 8px; }
.top-result { margin: 8px 0 12px; color: var(--coral-bright); font-size: 1.6rem; font-weight: 800; line-height: 1.2; }
.result-summary { color: var(--text-light); font-size: 0.85rem; line-height: 1.5; }
.result-info { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; color: var(--text); font-weight: 700; }
.profile-label { display: inline-flex; min-width: 0; align-items: center; gap: 8px; }
.profile-label small { color: var(--text-light); font-size: 0.7rem; font-weight: 600; }
.profile-avatar { width: 30px; height: 30px; flex: 0 0 30px; display: grid; place-items: center; border: 3px solid rgb(255 255 255 / 0.16); border-radius: 10px 14px 10px 14px; color: white; font-size: 0.72rem; font-weight: 800; box-shadow: 3px 3px 0 rgb(255 255 255 / 0.1); }
.result-bar-bg { height: 8px; overflow: hidden; background: rgb(255 255 255 / 0.1); border-radius: 20px; }
.result-bar-fill { width: 0; height: 100%; border-radius: 20px; transition: width 1s cubic-bezier(.2,.8,.2,1); }
.answers-details { margin: 4px 0 22px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.answers-details summary { padding: 15px 0; display: flex; align-items: center; justify-content: space-between; cursor: pointer; color: var(--text); font-size: 0.82rem; font-weight: 800; list-style: none; }
.answers-details summary::-webkit-details-marker { display: none; }
.answers-details summary span { color: var(--coral-bright); font-family: Arial, sans-serif; font-size: 1.2rem; transition: transform 0.2s ease; }
.answers-details[open] summary span { transform: rotate(90deg); }
.answers-list { padding-bottom: 14px; display: grid; gap: 10px; }
.answer-item { padding: 13px; border: 1px solid var(--line); border-radius: 14px; background: rgb(255 255 255 / 0.035); }
.answer-question { margin-bottom: 9px; color: var(--coral-bright); font-size: 0.7rem; font-weight: 800; line-height: 1.4; text-transform: uppercase; }
.answer-line + .answer-line { margin-top: 10px; padding-top: 10px; border-top: 1px solid rgb(255 255 255 / 0.08); }
.answer-proposal { color: var(--text); font-size: 0.78rem; font-weight: 600; line-height: 1.5; }
.answer-attribution { margin-top: 5px; color: var(--mint); font-size: 0.7rem; font-weight: 800; line-height: 1.4; }
.answer-source-link { color: var(--coral-bright); text-decoration: underline; text-underline-offset: 2px; }
.result-actions { display: grid; gap: 10px; }
@media (max-width: 1120px) { body { align-items: flex-start; } .app-shell { grid-template-columns: 220px minmax(0, 560px); justify-content: center; } .theme-sidebar { order: 1; } .game-container { order: 2; } .info-sidebar { grid-column: 1 / -1; order: 3; max-height: none; } }
@media (max-width: 520px) { body { padding: 0; align-items: stretch; } .app-shell { display: flex; flex-direction: column; } .game-container { min-height: 100vh; padding: 28px 20px; border: 0; border-radius: 0; } .info-sidebar { order: 3; margin: 14px 14px 0; border-radius: 20px; } .game-container { order: 1; } .theme-sidebar { order: 2; margin: 14px 14px 0; border-radius: 20px; max-height: none; } .mode-selection { grid-template-columns: 1fr; } .intro-chips { display: flex; flex-wrap: wrap; margin: 20px 0; } .intro-chip { padding: 8px 12px; align-items: center; } .intro-chip small { display: none; } .mode-card { min-height: 125px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; } }
.site-footer { width: 100%; padding: 18px 0 6px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; text-align: center; }
.site-footer a { color: var(--muted); font-size: 0.7rem; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.site-footer span { color: var(--muted); font-size: 0.7rem; }
.site-footer a:hover, .site-footer a:focus-visible { color: var(--text-light); }
.info-sidebar { align-self: start; padding: 24px 18px; border: 1px solid rgb(158 232 200 / 0.2); border-radius: 24px; background: linear-gradient(160deg, rgb(158 232 200 / 0.08), rgb(10 13 27 / 0.78)); box-shadow: var(--shadow); }
.info-card { margin-bottom: 14px; padding: 14px; border: 1px solid var(--line); border-radius: 16px; background: rgb(255 255 255 / 0.04); color: var(--text-light); font-size: 0.74rem; line-height: 1.5; }
.info-card h3 { margin-bottom: 10px; color: var(--text); font-size: 0.8rem; font-weight: 800; }
.stat-row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-top: 8px; }
.stat-row strong { flex: 0 0 auto; color: var(--coral-bright); font-size: 0.82rem; }
.stat-bar { height: 6px; margin-top: 5px; overflow: hidden; border-radius: 20px; background: rgb(255 255 255 / 0.1); }
.stat-bar i { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--mint), #6cc8c4); transition: width 0.8s ease; }
.info-note { margin-top: 12px; color: var(--muted); font-size: 0.68rem; line-height: 1.55; }
.info-links, .info-points { margin-left: 16px; display: grid; gap: 6px; }
.info-links a { color: var(--coral-bright); text-decoration: underline; text-underline-offset: 2px; }
.info-links a:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; }
.info-links li::marker { color: var(--coral); }
.info-example { color: var(--coral-bright); font-size: 0.9rem; }
.info-card p + .info-note { margin-top: 8px; }
.theme-sidebar .info-card { margin: 18px 0 0; }
.faq details { border-top: 1px solid var(--line); }
.faq details:first-of-type { border-top: 0; }
.faq summary { padding: 9px 0; cursor: pointer; color: var(--text); font-size: 0.74rem; font-weight: 700; line-height: 1.4; }
.faq summary:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; }
.faq details p { padding-bottom: 10px; color: var(--text-light); font-size: 0.72rem; line-height: 1.55; }
.support-link { display: inline-block; margin-top: 10px; padding: 10px 16px; border-radius: 12px; background: rgb(255 255 255 / 0.08); color: var(--coral-bright); font-size: 0.78rem; font-weight: 800; text-decoration: none; }
.support-link:hover, .support-link:focus-visible { background: rgb(255 255 255 / 0.14); outline: 2px solid var(--mint); outline-offset: 3px; }
.coverage-warning { width: 100%; margin: 14px 0 16px; padding: 12px 14px; border-left: 2px solid var(--coral-bright); border-radius: 0 12px 12px 0; background: rgb(255 173 107 / 0.08); color: var(--text-light); font-size: 0.76rem; line-height: 1.55; }
.coverage-warning[hidden] { display: none; }
.coverage-btn { padding: 0; display: inline; color: var(--coral-bright); text-decoration: underline; text-underline-offset: 2px; }
.result-disclaimer { margin-top: 12px; padding: 10px 12px; border-left: 2px solid var(--mint); border-radius: 0 10px 10px 0; background: rgb(255 255 255 / 0.05); color: var(--text-light); font-size: 0.76rem; line-height: 1.55; }
.result-percentage { display: inline-flex; flex-direction: column; align-items: flex-end; flex: 0 0 auto; }
.result-count { color: var(--text-light); font-size: 0.66rem; font-weight: 600; }
.low-exposure { margin: -8px 0 20px; padding: 12px 14px; border: 1px dashed var(--line); border-radius: 14px; color: var(--text-light); font-size: 0.74rem; line-height: 1.5; }
.low-exposure[hidden] { display: none; }
.noscript-note { padding: 16px; color: var(--text-light); font-size: 0.85rem; text-align: center; }
.option-card:focus-visible, .main-btn:focus-visible, .secondary-btn:focus-visible, .text-btn:focus-visible, .previous-btn:focus-visible, .site-footer a:focus-visible, .fairness-notice summary:focus-visible, .data-details summary:focus-visible, .theme-group summary:focus-visible, .answers-details summary:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; }
.legal-page { width: min(760px, 100%); padding: 32px 0 8px; color: var(--text-light); font-size: 0.9rem; line-height: 1.7; }
.legal-page h1 { margin: 0 0 6px; font-size: clamp(1.9rem, 7vw, 2.6rem); letter-spacing: -0.04em; line-height: 1.05; }
.legal-page h2 { margin: 28px 0 8px; color: var(--text); font-size: 1.1rem; letter-spacing: -0.02em; }
.legal-page p + p { margin-top: 10px; }
.legal-page ul { margin: 8px 0 0 20px; display: grid; gap: 6px; }
.legal-page a { color: var(--coral-bright); text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 520px) { .legal-page { padding: 28px 20px 8px; } }
.legal-back { display: inline-block; margin-bottom: 18px; font-size: 0.8rem; font-weight: 700; }
