@font-face { font-family: "Poppins"; src: url("/assets/fonts/poppins-latin-400.8fc43e96c7.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/assets/fonts/poppins-latin-500.3986a1bf8b.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/assets/fonts/poppins-latin-600.ef2d69dacf.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/assets/fonts/poppins-latin-700.ce7cb59771.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins Fallback"; src: local("Arial"), local("Helvetica"), local("Liberation Sans"); ascent-override: 93.62%; descent-override: 31.21%; line-gap-override: 8.92%; size-adjust: 112.16%; }
:root {
--canvas: #F8F9FD;
--surface: #FFFFFF;
--ink: #16213D;
--action: #3549DB;
--action-hover: #2638BA;
--action-press: #1F2E99;
--muted: #5C657A;
--line: #DFE4F0;
--pale: #EEF0FF;
--correct: #176344;
--correct-bg: #E9F6EF;
--error: #A13D22;
--error-bg: #FFF0EA;
--disabled: #D9DDED;
--footer-2: #D9E1F3;
--gutter: 20px;
--content: 1200px;
--lh: 1.48;
--t: 150ms;
--z-header: 30;
--z-mega: 40;
--z-menu: 50;
}
@media (min-width: 600px) { :root { --gutter: 32px; } }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 16px; }
body {
margin: 0;
background: var(--canvas);
color: var(--ink);
font-family: "Poppins", "Poppins Fallback", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
font-size: 17px;
line-height: var(--lh);
-webkit-font-smoothing: antialiased;
overflow-x: hidden;
}
html.is-locked, html.is-locked body { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ol, ul, figure, fieldset, legend { margin: 0; }
ol, ul { padding: 0; list-style: none; }
fieldset { border: 0; padding: 0; min-width: 0; }
legend { padding: 0; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--action); text-decoration: none; transition: color var(--t); }
a:hover { color: var(--action-hover); text-decoration: none; }
a:active { color: var(--action-press); }
h1, h2, h3 { line-height: 1.2; overflow-wrap: break-word; }
h2 { font-size: 26px; font-weight: 700; letter-spacing: -0.005em; }
@media (min-width: 800px) { h2 { font-size: 32px; } }
:focus { outline: none; }
:focus-visible { outline: 3px solid var(--action); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }
.visually-hidden {
position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.icon { width: 24px; height: 24px; flex: none; }
@media (prefers-reduced-motion: reduce) {
*, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
.container { width: min(var(--content), 100% - 2 * var(--gutter)); margin-inline: auto; }
.site-main { padding-top: 31px; padding-bottom: 48px; }
.site-main:focus { outline: none; }
@media (min-width: 800px) { .site-main { padding-top: 45px; } }
.section { margin-top: 48px; }
.section > h2 { margin-bottom: 22px; }
.prose p, .page-intro .intro { max-width: 800px; }
.prose p { color: var(--muted); font-size: 17px; }
.prose p a, .prose li a, .footer-contact a, .mm-contact a { font-weight: 600; }
.intro { color: var(--muted); font-size: 18px; }
.eyebrow { color: var(--action); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.02em; }
.breadcrumbs { font-size: 12px; color: var(--muted); margin-bottom: 10px; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; }
.breadcrumbs li { display: inline-flex; align-items: center; }
.breadcrumbs li + li::before { content: "/"; margin: 0 6px; color: var(--muted); }
.breadcrumbs a { color: var(--muted); display: inline-flex; align-items: center; min-height: 24px; }
.breadcrumbs a:hover { color: var(--action); }
.page-title { font-size: 35px; font-weight: 700; letter-spacing: -0.01em; line-height: var(--lh); max-width: 980px; margin-top: 18px; }
.page-intro .intro { margin-top: 18px; }
@media (min-width: 800px) { .page-title { font-size: 53px; margin-top: 22px; } }
.page-intro .start-row, .page-intro .download, .page-intro > .btn { margin-top: 20px; }
.btn {
display: inline-flex; align-items: center; justify-content: flex-start; gap: 10px;
min-height: 48px; padding: 0 16px; border-radius: 9px;
font-size: 14px; font-weight: 600; line-height: 1.2; text-align: left;
border: 1px solid transparent; transition: background-color var(--t), color var(--t), border-color var(--t);
text-decoration: none;
}
.btn .icon { width: 18px; height: 18px; }
.btn-primary { background: var(--action); color: #fff; border-color: var(--action); min-width: 170px; }
.btn-primary:hover { background: var(--action-hover); border-color: var(--action-hover); color: #fff; }
.btn-primary:active { background: var(--action-press); border-color: var(--action-press); }
.btn-secondary { background: var(--surface); color: var(--action); border-color: var(--line); min-width: 155px; }
.btn-secondary:hover { border-color: var(--action); color: var(--action-hover); }
.btn-secondary:active { background: var(--pale); }
.btn-text, .btn-text-strong {
background: none; border: 0; padding: 0 4px; min-height: 44px; color: var(--action);
font-size: 14px; font-weight: 500; display: inline-flex; align-items: center;
}
.btn-text-strong { font-size: 16px; font-weight: 600; padding: 0 16px; }
.btn-text:hover, .btn-text-strong:hover { color: var(--action-hover); }
.btn-start { min-width: 178px; }
.btn-showall { min-width: 190px; margin-bottom: 22px; }
.btn-download { min-width: 300px; }
.skip-link {
position: absolute; left: 12px; top: -100px; z-index: 100;
background: var(--ink); color: #fff; padding: 12px 16px; border-radius: 9px; font-weight: 600; font-size: 15px;
}
.skip-link:focus, .skip-link:focus-visible { top: 12px; color: #fff; outline-color: #fff; }
.site-header { background: var(--surface); position: relative; z-index: var(--z-header); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 80px; gap: 24px; position: relative; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); min-height: 44px; }
.brand:hover { color: var(--ink); }
.brand:hover .logo { transform: rotate(-6deg); }
.logo { width: 36px; height: 36px; transition: transform 200ms ease; }
.brand-name { font-size: 21px; font-weight: 700; letter-spacing: -0.015em; line-height: 1; }
@media (min-width: 800px) { .brand-name { font-size: 25px; } }
.main-nav { display: none; }
.nav-list { display: flex; align-items: center; gap: 6px; }
.nav-link {
position: relative; display: inline-flex; align-items: center; gap: 6px; min-height: 44px;
padding: 0 16px; border-radius: 999px; border: 1px solid transparent; background: none;
font-size: 15px; font-weight: 600; color: var(--ink); white-space: nowrap;
transition: background-color var(--t), color var(--t), border-color var(--t);
}
.nav-link:hover { background: var(--pale); color: var(--action); }
.nav-link[aria-current="page"], .nav-trigger.is-section {
color: var(--action); background: var(--pale); border-color: #CDD3FA;
}
.nav-link[aria-current="page"]::before, .nav-trigger.is-section::before {
content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--action); margin-right: 2px;
}
.nav-chevron { width: 16px; height: 16px; transition: transform 200ms ease; }
.nav-trigger[aria-expanded="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.nav-trigger[aria-expanded="true"]::before { background: #fff; }
.nav-trigger[aria-expanded="true"] .nav-chevron { transform: rotate(180deg); }
.nav-mega { position: static; }
.mega {
position: absolute; top: calc(100% - 4px); right: 0; width: min(880px, 100%);
z-index: var(--z-mega); background: var(--surface); border: 1px solid var(--line); border-radius: 18px;
padding: 24px; display: grid; grid-template-columns: 1fr 240px; gap: 24px;
}
.mega-heading { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); margin-bottom: 12px; }
.mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mega-col-side { border-left: 1px solid var(--line); padding-left: 24px; }
.mega-list { display: grid; gap: 4px; }
.mega-link {
display: grid; grid-template-columns: 1fr auto; grid-template-areas: "count arrow" "title arrow";
align-items: center; column-gap: 12px; padding: 12px 14px; border-radius: 12px; color: var(--ink);
border: 1px solid var(--line); min-height: 64px; transition: background-color var(--t), border-color var(--t);
}
.mega-list .mega-link {
border-color: transparent; min-height: 48px; padding: 10px 12px;
grid-template-columns: 1fr auto auto; grid-template-areas: "title count arrow";
}
.mega-list .mega-count { display: none; }
.mega-count { grid-area: count; font-size: 11px; font-weight: 600; color: var(--action); }
.mega-title { grid-area: title; font-size: 16px; font-weight: 600; line-height: 1.3; }
.mega-arrow { grid-area: arrow; width: 18px; height: 18px; color: var(--action); transition: transform 200ms ease; }
.mega-link:hover { background: var(--pale); border-color: #CDD3FA; color: var(--ink); }
.mega-link:hover .mega-arrow { transform: translateX(3px); }
.mega-link[aria-current="page"] { background: var(--pale); border-color: var(--action); }
.mega-link[aria-current="page"] .mega-title { color: var(--action); }
.menu-toggle {
display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
margin-right: -10px; background: none; border: 0; border-radius: 12px; color: var(--ink);
}
.menu-toggle:hover { background: var(--pale); color: var(--action); }
.menu-icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .menu-icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .menu-icon-close { display: block; }
html.menu-open .site-header { position: fixed; inset: 0 0 auto 0; }
.mobile-menu {
position: fixed; inset: 80px 0 0 0; z-index: var(--z-menu); background: var(--canvas);
overflow-y: auto; overscroll-behavior: contain; border-top: 1px solid var(--line);
}
.mobile-menu-inner { padding: 28px 0 48px; }
.mm-title { font-size: 26px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 16px; }
.mm-group { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); margin: 20px 0 4px; }
.mm-list li + li { border-top: 1px solid var(--line); }
.mm-link {
display: flex; align-items: center; gap: 12px; min-height: 62px; color: var(--ink);
font-size: 21px; font-weight: 600; letter-spacing: -0.01em;
}
.mm-label { flex: 1; }
.mm-count {
font-size: 12px; font-weight: 600; color: var(--action); background: var(--pale);
border-radius: 999px; padding: 2px 10px; min-width: 32px; text-align: center;
}
.mm-arrow { width: 20px; height: 20px; color: var(--action); transition: transform 200ms ease; }
.mm-link:hover { color: var(--action); }
.mm-link:hover .mm-arrow { transform: translateX(3px); }
.mm-link[aria-current="page"] { color: var(--action); }
.mm-link[aria-current="page"] .mm-label::after { content: " · här är du"; font-size: 13px; font-weight: 500; color: var(--muted); }
.mm-contact { margin-top: 32px; font-size: 15px; color: var(--muted); }
@media (min-width: 1000px) {
.main-nav { display: block; }
.menu-toggle, .mobile-menu { display: none !important; }
html.menu-open .site-header { position: relative; }
}
.mega-grid .mega-arrow { grid-row: 1 / span 2; }
.hero { display: grid; gap: 40px; }
.hero-title { font-size: 42px; font-weight: 700; letter-spacing: -0.01em; line-height: var(--lh); margin-top: 18px; }
.hero .intro { margin-top: 17px; max-width: 550px; }
.hero .start-row { margin-top: 24px; }
.hero-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: contain; background: #C9D3FA; }
@media (min-width: 800px) {
.hero { grid-template-columns: minmax(0, 590fr) minmax(0, 550fr); gap: 60px; align-items: start; min-height: 400px; }
.hero-title { font-size: clamp(48px, 4.4vw, 62px); margin-top: 31px; }
.hero-media { padding-top: 0; }
}
.start-row { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 20px; }
.start-count { font-size: 14px; color: var(--muted); }
.noscript-note { font-size: 15px; color: var(--muted); }
.how { margin-top: 56px; }
.how-list { display: grid; gap: 20px; }
.how-item { display: flex; gap: 15px; align-items: flex-start; }
.how-num {
flex: none; width: 40px; height: 40px; border-radius: 10px; background: var(--pale); color: var(--action);
display: grid; place-items: center; font-size: 15px; font-weight: 600;
}
.how-title { font-size: 19px; font-weight: 600; }
.how-item p { color: var(--muted); font-size: 15px; margin-top: 8px; }
@media (min-width: 800px) {
.how { margin-top: 56px; }
.how-list { grid-template-columns: repeat(3, 1fr); gap: 0 30px; }
}
.search { position: relative; margin-bottom: 22px; }
.search-input {
width: 100%; height: 50px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface);
padding: 0 52px 0 16px; font-size: 16px; color: var(--ink); appearance: none;
}
.search-input::placeholder { color: var(--muted); }
.search-input:focus-visible { outline: 3px solid var(--action); outline-offset: 2px; border-color: var(--action); }
.search-input::-webkit-search-cancel-button { cursor: pointer; }
.search-icon {
position: absolute; right: 3px; top: 3px; width: 44px; height: 44px; display: grid; place-items: center;
background: none; border: 0; border-radius: 8px; color: var(--ink); padding: 0;
}
.search-icon:hover { color: var(--action); background: var(--pale); }
.search-icon .icon { width: 20px; height: 20px; }
.search-empty { margin: 0 0 24px; }
.search-empty p { color: var(--muted); margin-bottom: 16px; }
.search-empty .btn { min-width: 180px; }
.card-grid { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 800px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .card-grid { grid-template-columns: repeat(3, 1fr); } }
.card {
position: relative; display: flex; flex-direction: column; background: var(--surface);
border: 1px solid var(--line); border-radius: 14px; padding: 24px; transition: border-color var(--t), background-color var(--t);
}
.card:hover { border-color: var(--action); }
.card:focus-within { border-color: var(--action); }
.card-meta { font-size: 11px; font-weight: 600; color: var(--action); }
.card-title { font-size: 23px; font-weight: 700; line-height: var(--lh); margin-top: 14px; letter-spacing: -0.01em; }
.card-link { color: var(--ink); }
.card-link:hover { color: var(--ink); }
.card-link::after { content: ""; position: absolute; inset: 0; border-radius: 14px; }
.card-link:focus-visible { outline: none; }
.card-link:focus-visible::after { outline: 3px solid var(--action); outline-offset: 3px; }
.card-text { font-size: 15px; color: var(--muted); margin-top: 14px; flex: 1; }
.card-cta { display: inline-flex; align-items: center; gap: 6px; margin-top: 24px; font-size: 15px; font-weight: 600; color: var(--action); }
.card-cta .icon { width: 16px; height: 16px; transition: transform 200ms ease; }
.card:hover .card-cta .icon { transform: translateX(3px); }
.qa-list { display: grid; gap: 12px; }
.qa { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; }
.qa[open] { border-color: #CDD3FA; }
.qa-summary {
display: grid; grid-template-columns: 30px 1fr 44px; align-items: start; gap: 0;
padding: 10px 6px 10px 15px; min-height: 60px; cursor: pointer; list-style: none; border-radius: 10px;
}
.qa-summary::-webkit-details-marker { display: none; }
.qa-summary:hover .qa-q { color: var(--action); }
.qa-num { font-size: 11px; font-weight: 600; color: var(--action); padding-top: 7px; }
.qa-q { font-size: 17px; font-weight: 600; padding-top: 4px; transition: color var(--t); }
.qa-toggle { width: 44px; height: 36px; display: grid; place-items: center; color: var(--ink); }
.qa-toggle .icon { width: 16px; height: 16px; transition: transform 200ms ease; }
.qa[open] .qa-toggle .icon { transform: rotate(180deg); }
.qa-body { padding: 0 24px 22px; }
.qa-answer { font-size: 16px; font-weight: 600; color: var(--action); margin-top: 6px; }
.qa-expl { font-size: 16px; color: var(--muted); margin-top: 10px; }
.faq-list { border-top: 0; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px;
font-size: 17px; font-weight: 600; cursor: pointer; list-style: none; padding: 8px 0;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q .icon { width: 16px; height: 16px; margin-right: 8px; transition: transform 200ms ease; }
.faq-q:hover { color: var(--action); }
.faq-item[open] .faq-q .icon { transform: rotate(180deg); }
.faq-a { padding: 0 0 20px; }
.faq-a p { color: var(--muted); font-size: 16px; max-width: 800px; }
.related-list { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.related-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: 16px; font-weight: 500; }
.related-link .icon { width: 16px; height: 16px; transition: transform 200ms ease; }
.related-link:hover .icon { transform: translateX(3px); }
.prompt-panel {
margin-top: 32px; background: var(--pale); border-radius: 16px; padding: 24px;
display: flex; flex-direction: column; align-items: flex-start;
}
.prompt-count { font-size: 13px; font-weight: 600; color: var(--action); margin-bottom: 8px; }
.prompt-text { font-size: 25px; font-weight: 700; line-height: 1.35; letter-spacing: -0.01em; margin-bottom: 40px; max-width: 900px; }
.prompt-list { display: grid; gap: 14px; }
.prompt-list li { font-size: 17px; }
.prompt-list li.is-current { color: var(--action); font-weight: 600; }
.download-meta { margin-top: 12px; font-size: 14px; color: var(--muted); }
.site-footer { background: var(--ink); color: #fff; margin-top: 0; }
.footer-inner { display: grid; gap: 32px; padding: 32px 0 56px; }
.footer-name { font-size: 27px; font-weight: 700; letter-spacing: -0.01em; }
.footer-tagline { color: var(--footer-2); font-size: 15px; margin-top: 8px; }
.footer-contact { color: var(--footer-2); font-size: 15px; margin-top: 20px; }
.footer-nav { display: grid; gap: 24px; }
.footer-heading { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; color: var(--footer-2); margin-bottom: 6px; }
.site-footer a { color: #fff; display: inline-flex; align-items: center; min-height: 32px; font-size: 15px; }
.footer-contact a { color: #fff; }
.site-footer a:hover { color: var(--footer-2); }
.site-footer a[aria-current="page"] { color: var(--footer-2); }
.site-footer a[aria-current="page"]::before { content: "›"; margin-right: 6px; }
.site-footer :focus-visible { outline-color: #fff; }
@media (min-width: 600px) { .footer-nav { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }
@media (min-width: 1000px) {
.footer-inner { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 32px; padding: 32px 0 64px; }
}
@media (min-width: 1200px) {
.footer-inner { grid-template-columns: 480px 1fr; gap: 0; }
}
.footer-button {
background: none; border: 0; padding: 0; color: #fff; font-size: 15px; min-height: 32px;
display: inline-flex; align-items: center; text-align: left;
}
.footer-button:hover { color: var(--footer-2); }
@media (max-width: 799px) { .footer-inner { padding-top: 40px; } }
.player .breadcrumbs { margin-bottom: 10px; }
.player-title { font-size: 28px; font-weight: 700; letter-spacing: -0.015em; margin-top: 22px; line-height: 1.3; }
@media (min-width: 800px) { .player-title { font-size: 32px; } }
.player-title:focus, .question:focus, .result-title:focus, #review-title:focus { outline: none; }
.player-title:focus-visible, .question:focus-visible, .result-title:focus-visible { outline: 3px solid var(--action); outline-offset: 4px; }
.progress-label { color: var(--action); font-size: 15px; margin-top: 18px; }
.progress {
display: block; width: 100%; height: 6px; margin-top: 16px; border: 0; border-radius: 3px;
background: var(--line); appearance: none; -webkit-appearance: none; overflow: hidden; color: var(--action);
}
.progress::-webkit-progress-bar { background: var(--line); border-radius: 3px; }
.progress::-webkit-progress-value { background: var(--action); border-radius: 3px; transition: width 200ms ease; }
.progress::-moz-progress-bar { background: var(--action); border-radius: 3px; }
.player-card {
max-width: 820px; margin: 26px auto 0; background: var(--surface); border: 1px solid var(--line);
border-radius: 18px; padding: 24px;
}
@media (min-width: 800px) { .player-card { padding: 36px; } }
.question-legend { width: 100%; }
.question { font-size: 25px; font-weight: 700; line-height: var(--lh); letter-spacing: -0.01em; }
@media (min-width: 800px) { .question { font-size: 32px; } }
.choice-list { display: grid; gap: 14px; margin-top: 28px; }
.choice { position: relative; display: block; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.choice-box {
display: grid; grid-template-columns: 32px 1fr auto; align-items: center; min-height: 56px;
padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface);
cursor: pointer; transition: background-color var(--t), border-color var(--t);
}
.choice-letter { font-size: 16px; font-weight: 600; color: var(--action); }
.choice-text { font-size: 16px; font-weight: 500; line-height: 1.4; }
.choice-tag { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 600; margin-left: 12px; }
.choice-tag .icon { width: 16px; height: 16px; }
.choice-box:hover { border-color: var(--action); }
.choice input:focus-visible + .choice-box { outline: 3px solid var(--action); outline-offset: 3px; }
.choice input:checked + .choice-box { background: var(--pale); border-color: var(--action); box-shadow: inset 0 0 0 1px var(--action); }
.choice input:disabled + .choice-box { cursor: default; }
.choice input:disabled + .choice-box:hover { border-color: var(--line); }
.choice.is-correct .choice-box, .choice.is-correct input:checked + .choice-box { background: var(--correct-bg); border-color: var(--correct); box-shadow: inset 0 0 0 1px var(--correct); }
.choice.is-correct .choice-tag { color: var(--correct); }
.choice.is-wrong .choice-box, .choice.is-wrong input:checked + .choice-box { background: var(--error-bg); border-color: var(--error); box-shadow: inset 0 0 0 1px var(--error); }
.choice.is-wrong .choice-tag { color: var(--error); }
.choice-error { display: flex; align-items: center; gap: 8px; margin-top: 18px; color: var(--error); font-size: 14px; font-weight: 500; }
.choice-error .icon { width: 18px; height: 18px; }
.feedback:empty { display: none; }
.feedback { margin-top: 20px; }
.feedback-status { font-size: 18px; font-weight: 700; }
.feedback-status.is-correct { color: var(--correct); }
.feedback-status.is-wrong { color: var(--error); }
.feedback-answer { font-size: 16px; font-weight: 600; margin-top: 6px; }
.feedback-expl { font-size: 16px; color: var(--muted); margin-top: 12px; }
.player-actions { margin-top: 22px; }
.player-actions .btn { min-width: 170px; }
.reassure { max-width: 820px; margin: 13px auto 0; font-size: 13px; color: var(--muted); }
.player-stage[data-stage="question"] > .btn-text { margin: 4px 0 0 calc((100% - min(820px, 100%)) / 2); }
.result-title { font-size: 28px; font-weight: 700; letter-spacing: -0.015em; margin-top: 22px; line-height: 1.3; }
.result-score { font-size: 42px; font-weight: 700; color: var(--action); letter-spacing: -0.02em; line-height: var(--lh); margin-top: 18px; }
.result-text { margin-top: 20px; max-width: 800px; }
.result-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 20px; }
.result-actions .btn { min-width: 155px; }
@media (min-width: 800px) {
.result-title { font-size: 32px; }
.result-score { font-size: 64px; }
}
@media (max-width: 359px) { .result-actions .btn, .modal-actions .btn { width: 100%; } }
.review-list { display: grid; gap: 28px; }
.review-q { font-size: 17px; font-weight: 500; }
.review-mine { font-size: 15px; margin-top: 10px; font-weight: 500; }
.review-mine.is-correct { color: var(--correct); }
.review-mine.is-wrong { color: var(--error); }
.review-right { font-size: 15px; margin-top: 8px; color: var(--action); font-weight: 500; }
.review-expl { font-size: 16px; color: var(--muted); margin-top: 8px; max-width: 800px; }
.player-stage[data-stage="result"] > .btn-text { margin-top: 32px; }
.modal {
width: min(460px, 100% - 40px); max-width: none; border: 0; border-radius: 16px; padding: 24px;
background: var(--surface); color: var(--ink);
}
.modal::backdrop { background: rgba(22, 33, 61, 0.48); }
.modal-title { font-size: 25px; font-weight: 700; }
.modal-text { font-size: 16px; color: var(--muted); margin-top: 20px; }
.modal-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 32px; }
.modal-actions .btn-primary { min-width: 160px; }
.prose h3 { font-size: 20px; font-weight: 600; margin: 26px 0 8px; line-height: 1.3; }
.prose p + p { margin-top: 14px; }
.prose-list { list-style: disc; padding-left: 22px; max-width: 800px; color: var(--muted); display: grid; gap: 8px; }
.prose-list li::marker { color: var(--action); }
.prose p + .prose-list, .prose-list + p, .table-wrap + p { margin-top: 14px; }
.prose code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.9em; color: var(--ink); }
.todo { background: #FFF4D6; color: #6B4A00; border: 1px dashed #B88400; border-radius: 6px; padding: 1px 6px; font-weight: 600; }
.updated { margin-top: 40px; font-size: 14px; color: var(--muted); }
.consent-status { color: var(--ink) !important; font-weight: 600; }
.table-wrap { max-width: 100%; overflow-x: auto; margin-top: 8px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.table-wrap:focus-visible { outline: 3px solid var(--action); outline-offset: 3px; }
.data-table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 15px; }
.data-table caption { text-align: left; padding: 14px 16px 0; font-weight: 600; color: var(--ink); }
.data-table th, .data-table td { text-align: left; vertical-align: top; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.data-table thead th { font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); font-weight: 600; }
.data-table tbody tr:last-child > * { border-bottom: 0; }
.data-table td { color: var(--muted); }
.back-to-top {
position: fixed; right: 20px; bottom: 20px; z-index: 20; width: 48px; height: 48px; border-radius: 50%;
display: grid; place-items: center; background: var(--ink); color: #fff; border: 2px solid #fff;
opacity: 0; visibility: hidden; transform: translateY(8px);
transition: opacity 200ms ease, transform 200ms ease, visibility 0s linear 200ms, background-color var(--t);
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; transition: opacity 200ms ease, transform 200ms ease, visibility 0s, background-color var(--t); }
.back-to-top:hover { background: var(--action); }
.back-to-top:focus-visible { outline: 3px solid var(--action); outline-offset: 3px; }
.back-to-top-icon { width: 22px; height: 22px; transform: rotate(180deg); }
html.has-consent-banner .back-to-top { bottom: 360px; }
@media (min-width: 1000px) { html.has-consent-banner .back-to-top { bottom: 160px; } }
@media print { .back-to-top, .consent-banner { display: none !important; } }
.consent-banner {
position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; background: var(--surface);
border-top: 1px solid var(--line); padding: 20px 0; max-height: 80vh; overflow-y: auto;
}
.consent-banner-inner { display: grid; gap: 16px; }
.consent-title { font-size: 19px; font-weight: 700; }
.consent-banner p { color: var(--muted); font-size: 15px; margin-top: 6px; max-width: 760px; }
.consent-banner a { font-weight: 600; }
.consent-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.consent-actions .btn { min-width: 150px; }
html.has-consent-banner body { padding-bottom: 340px; }
@media (min-width: 1000px) { html.has-consent-banner body { padding-bottom: 140px; } }
@media (min-width: 1000px) {
.consent-banner-inner { grid-template-columns: 1fr auto; align-items: center; gap: 32px; }
}
.consent-dialog { width: min(560px, 100% - 40px); max-height: calc(100vh - 40px); overflow-y: auto; }
.consent-dialog .modal-text a { font-weight: 600; }
.consent-options { display: grid; gap: 12px; margin-top: 20px; }
.consent-option { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; padding: 14px; border: 1px solid var(--line); border-radius: 10px; }
.consent-option input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--action); }
.consent-option label { display: grid; gap: 2px; cursor: pointer; }
.consent-option input:disabled + label { cursor: default; }
.consent-option-name { font-weight: 600; }
.consent-option-desc { color: var(--muted); font-size: 14px; }
.consent-saved { margin-top: 14px; font-size: 14px; font-weight: 600; color: var(--correct); }
.consent-saved:empty { display: none; }
.consent-dialog-actions { margin-top: 20px; }
@media (max-width: 479px) { .consent-dialog-actions .btn, .consent-actions .btn { width: 100%; } }