/* gateway-v2/assets/lifeuk.css — Life in the UK Test by Stockertim (3 Nov 2026). Design system tokens (st-tokens.css): gold
   --st-accent (#ffcf5e on dark, #7a5600 on light via :root[data-theme="light"]), golden-black .st-btn with white text.
   Mobile first; tap targets 44 px or more; inputs 16 px; no horizontal scroll; the test player fills the window (no page scroll). */
.luk-body { background: var(--st-bg); color: var(--st-ink); overflow-x: hidden; overflow-x: clip; }   /* clip, not hidden: the top bar stays pinned (3 Nov 2026) */
.luk-body [hidden] { display: none !important; }
.luk, .luk *, .luk-bar, .luk-bar *, .luk-play, .luk-play *, .luk-play *::before, .luk-play *::after, .luk *::before, .luk *::after { box-sizing: border-box; }
.luk, .luk-bar, .luk-play, .luk-sheet { font: 400 16px/1.55 var(--st-ui); color: var(--st-ink); -webkit-text-size-adjust: 100%; }
.luk-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.luk-mark { width: 30px; height: 30px; flex: none; }
.luk-mark-bg { fill: #0b0f19; stroke: #ffcf5e; stroke-width: 2.5; }
.luk-mark-tick { fill: none; stroke: #ffcf5e; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }

/* ── the top bar (3 Nov 2026, owner): like the Learn bar; Home (the test's home), Learn, News, League; a menu button on phones.
   The site header, its market tiles and the League ticker are not drawn on these pages (site-header.php minimal mode). */
.luk-top, .luk-top * { box-sizing: border-box; }
.luk-top { position: sticky; top: 0; z-index: 40; border-bottom: 1px solid var(--st-rule, rgba(255,255,255,.1)); background: color-mix(in srgb, var(--st-page, #070a12) 92%, transparent); -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%); padding-top: env(safe-area-inset-top, 0px); }
.luk-top-in { position: relative; max-width: var(--st-container-wide, 1440px); margin: 0 auto; padding: 6px var(--st-gutter, 16px); display: flex; align-items: center; gap: 6px 18px; }
.luk-lk { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; text-decoration: none; flex: none; border-radius: 10px; }
.luk-lk img { height: 26px; width: auto; display: block; }
.luk-lk-tag { font: 700 12px/1 var(--st-ui, Inter, sans-serif); letter-spacing: .1em; text-transform: uppercase; color: #ffcf5e; padding: 7px 11px; border: 1px solid rgba(255, 207, 94, .35); border-radius: 999px; white-space: nowrap; }
.luk-lk:focus-visible { outline: 2px solid var(--st-accent, #ffcf5e); outline-offset: 3px; }
.luk-top-nav { display: flex; align-items: center; gap: 2px; }
.luk-top-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px; color: var(--st-ink-2, rgba(243,245,251,.86)); font: 600 15px var(--st-ui, Inter, sans-serif); text-decoration: none; white-space: nowrap; }
.luk-top-nav a:hover, .luk-top-nav a[aria-current] { color: var(--st-ink, #f3f5fb); background: var(--st-surface-2, rgba(255,255,255,.06)); }
.luk-top-nav a:focus-visible { outline: 2px solid var(--st-accent, #ffcf5e); outline-offset: 1px; }
.luk-top-tools { display: flex; align-items: center; gap: 2px; margin-left: auto; flex: none; }
.luk-top-ic { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 44px; height: 44px; padding: 0 10px; border-radius: 12px; border: 1px solid transparent; background: transparent; color: var(--st-ink-2, rgba(243,245,251,.86)); cursor: pointer; font: 600 14px var(--st-ui, Inter, sans-serif); }
.luk-top-ic:hover { color: var(--st-ink, #f3f5fb); border-color: var(--st-rule-2, rgba(255,255,255,.18)); background: var(--st-surface-2, rgba(255,255,255,.05)); }
.luk-top-ic:focus-visible { outline: 2px solid var(--st-accent, #ffcf5e); outline-offset: 2px; }
.luk-top-ic svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.luk-top-sign { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px; color: var(--st-ink, #f3f5fb); font: 600 14px var(--st-ui, Inter, sans-serif); text-decoration: none; white-space: nowrap; }
.luk-top-sign:hover { background: var(--st-surface-2, rgba(255,255,255,.06)); }
.luk-top-sign:focus-visible { outline: 2px solid var(--st-accent, #ffcf5e); outline-offset: 1px; }
.luk-top-burger { position: relative; width: 44px; min-width: 44px; padding: 0; display: none; }
.luk-top-nav-sign { display: none !important; }
.luk-top-burger > span { position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .25s, opacity .2s, top .25s; }
.luk-top-burger > span:nth-child(1) { top: 15px; } .luk-top-burger > span:nth-child(2) { top: 21px; } .luk-top-burger > span:nth-child(3) { top: 27px; }
.luk-top-burger[aria-expanded="true"] > span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.luk-top-burger[aria-expanded="true"] > span:nth-child(2) { opacity: 0; }
.luk-top-burger[aria-expanded="true"] > span:nth-child(3) { top: 21px; transform: rotate(-45deg); }
@media (max-width: 1099px) {
  .luk-top-burger { display: inline-flex; }
  .luk-top-sign { display: none; } .luk-top.is-open .luk-top-nav-sign { display: inline-flex !important; } .luk-top-nav-sign { border-top: 1px solid var(--st-rule, rgba(255,255,255,.1)); border-radius: 0 0 12px 12px !important; color: var(--st-ink, #f3f5fb) !important; }
  .luk-top-in { min-width: 0; } .luk-lk { min-width: 0; }
  .luk-top-ic.st-theme-toggle { width: 44px; padding: 0; } .luk-top-ic .st-theme-lbl { display: none; }   /* the theme switch is an icon on phones and tablets */
  .luk-top-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 2px; padding: 8px var(--st-gutter, 16px) 12px; background: var(--st-page, #070a12); border-bottom: 1px solid var(--st-rule, rgba(255,255,255,.1)); box-shadow: 0 18px 30px rgba(0,0,0,.35); }
  .luk-top.is-open .luk-top-nav { display: flex; }
  .luk-top-nav a { min-height: 48px; padding: 0 14px; border-radius: 12px; font-size: 16px; }
}
@media (max-width: 420px) { .luk-lk img { height: 20px; } .luk-lk { gap: 8px; } .luk-lk-tag { font-size: 10px; letter-spacing: .06em; padding: 5px 8px; } .luk-top-in { gap: 6px; } }
@media (max-width: 339px) { .luk-lk-tag { display: none; } }
@media (prefers-reduced-motion: reduce) { .luk-top-burger > span { transition: none; } }
:root[data-theme="light"] .luk-top { background: color-mix(in srgb, #ffffff 94%, transparent); border-bottom-color: rgba(17,21,29,.12); }
:root[data-theme="light"] .luk-lk img { filter: brightness(0) saturate(100%); }
:root[data-theme="light"] .luk-lk-tag { color: #7a5600; border-color: rgba(122, 86, 0, .45); }
:root[data-theme="light"] .luk-top-nav a, :root[data-theme="light"] .luk-top-ic { color: #2b303b; }
:root[data-theme="light"] .luk-top-nav a:hover, :root[data-theme="light"] .luk-top-nav a[aria-current], :root[data-theme="light"] .luk-top-sign { color: #11151d; }
:root[data-theme="light"] .luk-top-nav a:hover, :root[data-theme="light"] .luk-top-nav a[aria-current], :root[data-theme="light"] .luk-top-sign:hover { background: rgba(17,21,29,.06); }
@media (max-width: 1099px) { :root[data-theme="light"] .luk-top-nav { background: #ffffff; border-bottom-color: rgba(17,21,29,.12); box-shadow: 0 18px 30px rgba(17,21,29,.12); } }

/* ── the product bar ─────────────────────────────────────────────────── */
.luk-bar { border-bottom: 1px solid var(--st-line); background: var(--st-chrome-solid, var(--st-bg)); }
.luk-bar-in { max-width: 1120px; margin: 0 auto; padding: 8px 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; }
.luk-brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; color: var(--st-ink); }
.luk-brand-t { display: grid; line-height: 1.1; }
.luk-brand-t b { font: 700 17px/1.1 var(--st-serif); letter-spacing: -.01em; }
.luk-brand-t small { font: 600 11.5px/1.2 var(--st-ui); color: var(--st-accent); letter-spacing: .04em; text-transform: uppercase; }
.luk-bar-nav { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; max-width: 100%; }
.luk-bar-nav::-webkit-scrollbar { display: none; }
.luk-bar-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 999px; color: var(--st-ink-2); font: 600 14px/1 var(--st-ui); text-decoration: none; white-space: nowrap; }
.luk-bar-nav a:hover { color: var(--st-ink); background: var(--st-surface-2); }
.luk-bar-nav a[aria-current] { color: var(--st-accent); box-shadow: inset 0 -2px 0 var(--st-accent); border-radius: 0; }
@media (max-width: 640px) { .luk-bar-nav { margin-left: 0; width: 100%; } .luk-bar-nav a { padding: 0 10px; } }

/* ── page sections ───────────────────────────────────────────────────── */
.luk { max-width: 1120px; margin: 0 auto; padding: 0 16px 48px; }
.luk-hero { padding: 36px 0 20px; max-width: 760px; }
.luk-hero--sm { padding-top: 26px; }
.luk-kicker { margin: 0 0 10px; font: 650 12.5px/1.3 var(--st-ui); letter-spacing: .06em; text-transform: uppercase; color: var(--st-accent); }
.luk-kicker a { color: inherit; text-decoration: none; }
.luk-hero h1 { margin: 0 0 12px; font: 700 clamp(30px, 6vw, 48px)/1.08 var(--st-serif); letter-spacing: -.02em; color: var(--st-ink); }
.luk-dek { margin: 0 0 20px; font: 400 18px/1.55 var(--st-ui); color: var(--st-ink-2); max-width: 64ch; }
.luk-cta { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 18px; }
.luk-btn-lg { min-height: 50px; padding: 0 22px; font-size: 15.5px; }
.luk-facts { list-style: none; margin: 8px 0 18px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; max-width: 620px; }
.luk-facts li { border: 1px solid var(--st-line); border-radius: 14px; padding: 12px 10px; background: var(--st-surface); text-align: center; }
.luk-facts b { display: block; font: 700 24px/1 var(--st-serif); color: var(--st-accent); }
.luk-facts span { display: block; margin-top: 4px; font: 500 12.5px/1.3 var(--st-ui); color: var(--st-ink-2); }
@media (max-width: 420px) { .luk-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.luk-notice { margin: 10px 0 0; padding: 12px 14px; border-left: 3px solid var(--st-accent); background: var(--st-surface); border-radius: 0 10px 10px 0; font: 400 14.5px/1.5 var(--st-ui); color: var(--st-ink-2); }
.luk-notice a { color: var(--st-accent); font-weight: 650; }
.luk-prep { padding: 12px 14px; border: 1px dashed var(--st-line-2, var(--st-line)); border-radius: 10px; color: var(--st-ink-2); }
.luk-sec { padding: 26px 0 8px; }
.luk-sec h2, .luk-panel h2 { margin: 0 0 8px; font: 700 clamp(22px, 4vw, 28px)/1.2 var(--st-serif); color: var(--st-ink); }
.luk-sec-h { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; }
.luk-sub { margin: 0 0 14px; color: var(--st-ink-2); font: 400 15.5px/1.55 var(--st-ui); max-width: 72ch; }
.luk-chap-n { display: block; font: 650 12px/1.3 var(--st-ui); letter-spacing: .06em; text-transform: uppercase; color: var(--st-accent); }
.luk-sec h2 .luk-chap-n { margin-bottom: 4px; }
.luk-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 12px; }
.luk-card { position: relative; display: grid; gap: 6px; align-content: start; min-height: 44px; padding: 16px; border: 1px solid var(--st-line); border-radius: 16px; background: var(--st-surface); color: var(--st-ink); text-decoration: none; transition: border-color var(--st-dur-2), transform var(--st-dur-2); }
.luk-card:hover { border-color: var(--st-accent-line, var(--st-accent)); transform: translateY(-1px); }
.luk-card:focus-visible, .luk-bar-nav a:focus-visible, .luk-brand:focus-visible { outline: 2px solid var(--st-accent); outline-offset: 3px; }
.luk-card b { font: 700 17px/1.25 var(--st-ui); }
.luk-card span { font: 400 14.5px/1.5 var(--st-ui); color: var(--st-ink-2); }
.luk-card em { font: 600 12.5px/1.3 var(--st-ui); font-style: normal; color: var(--st-accent); }
.luk-cards--tests { grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); }
.luk-test b { font: 700 19px/1.2 var(--st-serif); }
.luk-test.is-done { border-color: var(--st-accent-line, var(--st-line)); }
.luk-done { display: inline-block; justify-self: start; padding: 3px 9px; border-radius: 999px; background: var(--st-accent-soft, rgba(255, 207, 94, .14)); color: var(--st-accent); font: 650 12px/1.4 var(--st-ui); font-style: normal; }
.luk-steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 12px; }
.luk-steps li { counter-increment: s; position: relative; padding: 16px 16px 16px 58px; border: 1px solid var(--st-line); border-radius: 16px; background: var(--st-surface); }
.luk-steps li::before { content: counter(s); position: absolute; left: 16px; top: 16px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #0b0f19; border: 1.5px solid #ffcf5e; color: #ffcf5e; font: 700 14px/1 var(--st-ui); }
.luk-steps b, .luk-types b { display: block; font: 700 16px/1.3 var(--st-ui); margin-bottom: 4px; }
.luk-steps span, .luk-types span { font: 400 14.5px/1.55 var(--st-ui); color: var(--st-ink-2); }
.luk-types { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 10px; }
.luk-types li { padding: 14px 16px; border: 1px solid var(--st-line); border-radius: 14px; }
.luk-band { margin-top: 24px; padding: 22px; border: 1px solid var(--st-accent-line, var(--st-line)); border-radius: 18px; background: var(--st-surface); }
.luk-band p { color: var(--st-ink-2); }
.luk-band .st-btn { margin: 4px 8px 4px 0; }
.luk-list { margin: 0 0 14px; padding-left: 20px; display: grid; gap: 6px; font: 400 16px/1.5 var(--st-ui); }
.luk-crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 0 8px; padding-top: 18px; font: 500 13.5px/1.4 var(--st-ui); color: var(--st-ink-3); }
.luk-crumb a { color: var(--st-ink-2); text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.luk .st-link { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; }
.luk-faq details { border-bottom: 1px solid var(--st-line); }
.luk-faq summary { cursor: pointer; padding: 14px 0; min-height: 44px; font: 650 17px/1.4 var(--st-ui); color: var(--st-ink); }
.luk-faq p { margin: 0 0 16px; color: var(--st-ink-2); font: 400 16px/1.6 var(--st-ui); max-width: 72ch; }
.luk-ad { margin: 22px 0; padding-top: 6px; border-top: 1px solid var(--st-line); }
.luk-ad-l { display: block; font: 600 11px/1.4 var(--st-ui); letter-spacing: .06em; text-transform: uppercase; color: var(--st-ink-3); }
.luk-loading { display: grid; justify-items: center; gap: 12px; padding: 40px 16px; color: var(--st-ink-2); text-align: center; }
.luk-spin { width: 28px; height: 28px; border-radius: 50%; border: 3px solid var(--st-line); border-top-color: var(--st-accent); animation: luk-spin 0.9s linear infinite; }
@keyframes luk-spin { to { transform: rotate(360deg); } }
.luk-end { padding: 28px 0; text-align: left; max-width: 620px; }
.luk-end h2 { font: 700 26px/1.2 var(--st-serif); margin: 0 0 8px; }
.luk-end p { color: var(--st-ink-2); }
.luk-linkbtn { background: none; border: 0; padding: 10px 0; min-height: 44px; color: var(--st-ink-2); font: 500 14px/1.3 var(--st-ui); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.luk-linkbtn:hover { color: var(--st-accent); }

/* ── THE PLAYER: a fixed frame, one question per screen, a bottom bar ─── */
html.luk-lock, html.luk-lock body { overflow: hidden; height: 100%; overscroll-behavior: none; }
html.luk-lock body { position: fixed; inset: 0; width: 100%; }   /* the document itself never scrolls during a test: the stage scrolls inside its frame if a long question needs it */
.luk-play { position: fixed; inset: 0 0 var(--st-bottom-inset, 0px) 0; /* above a bottom ad or the cookie banner (4 Nov 2026) */ z-index: 40; display: grid; grid-template-rows: auto auto 1fr auto; background: var(--st-bg); color: var(--st-ink); padding: env(safe-area-inset-top) env(safe-area-inset-right) 0 env(safe-area-inset-left); height: 100vh; height: 100dvh; }
.luk-pbar { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-bottom: 1px solid var(--st-line); min-width: 0; }
.luk-pbar-brand { display: inline-flex; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }
.luk-pbar-t { display: grid; min-width: 0; flex: 1; line-height: 1.25; }
.luk-pbar-t b { font: 700 15px/1.25 var(--st-ui); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.luk-pbar-t span { font: 500 13px/1.3 var(--st-ui); color: var(--st-ink-2); }
.luk-timer { display: inline-flex; align-items: center; gap: 6px; padding: 0 12px; min-height: 40px; border-radius: 999px; border: 1px solid var(--st-line); font: 700 16px/1 var(--st-mono, var(--st-ui)); font-variant-numeric: tabular-nums; color: var(--st-ink); }
.luk-timer svg { width: 17px; height: 17px; fill: none; stroke: var(--st-accent); stroke-width: 2; stroke-linecap: round; }
.luk-timer.warn { border-color: var(--st-dn); color: var(--st-dn); }
.luk-timer.warn svg { stroke: var(--st-dn); }
.luk-iconbtn { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--st-line); background: transparent; color: var(--st-ink); cursor: pointer; flex: none; }
.luk-iconbtn svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; fill: none; }
.luk-dots { display: flex; gap: 4px; padding: 8px 12px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--st-line); }
.luk-dots::-webkit-scrollbar { display: none; }
.luk-segs { flex: 1; display: grid; grid-template-columns: repeat(24, minmax(0, 1fr)); gap: 3px; }
.luk-seg { height: 8px; border-radius: 4px; background: var(--st-line); position: relative; }
.luk-seg.is-ans { background: var(--st-accent); opacity: .7; }
.luk-seg.is-cur { background: var(--st-accent); opacity: 1; box-shadow: 0 0 0 2px var(--st-bg), 0 0 0 3px var(--st-accent); }
.luk-seg.is-flag::after { content: ""; position: absolute; left: 50%; top: -5px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--st-dn); }
.luk-dot { flex: 1 0 34px; min-width: 34px; height: 44px; border-radius: 8px; border: 1px solid var(--st-line); background: transparent; color: var(--st-ink-3); font: 650 12px/1 var(--st-ui); cursor: pointer; padding: 0; position: relative; }
.luk-dot.is-ans { background: var(--st-accent-soft, rgba(255, 207, 94, .16)); color: var(--st-ink); border-color: var(--st-accent-line, var(--st-line)); }
.luk-dot.is-cur { outline: 2px solid var(--st-accent); outline-offset: 1px; color: var(--st-ink); }
.luk-dot.is-flag::after { content: ""; position: absolute; top: 3px; right: 3px; width: 6px; height: 6px; border-radius: 50%; background: var(--st-dn); }
.luk-pbar-track { flex: 1; height: 6px; border-radius: 6px; background: var(--st-line); overflow: hidden; }
.luk-pbar-track i { display: block; height: 100%; background: var(--st-accent); transition: width var(--st-dur-2); }
.luk-stage { overflow-y: auto; overscroll-behavior: contain; padding: 18px 16px 16px; outline: none; -webkit-overflow-scrolling: touch; }
.luk-qwrap { max-width: 720px; margin: 0 auto; }
.luk-in { animation: luk-in .22s var(--st-ease, ease-out); }
@keyframes luk-in { from { opacity: 0; transform: translateX(12px); } to { opacity: 1; transform: none; } }
.luk-q-k { margin: 0 0 8px; font: 650 12.5px/1.3 var(--st-ui); letter-spacing: .06em; text-transform: uppercase; color: var(--st-accent); }
.luk-q { margin: 0 0 18px; font: 650 clamp(20px, 4.6vw, 26px)/1.35 var(--st-serif); color: var(--st-ink); outline: none; }
.luk-opts { display: grid; gap: 10px; }
.luk-opt { position: relative; display: grid; grid-template-columns: 32px 1fr; align-items: center; gap: 12px; min-height: 56px; padding: 10px 14px; border: 1.5px solid var(--st-line-2, var(--st-line)); border-radius: 14px; background: var(--st-surface); cursor: pointer; font: 500 16.5px/1.4 var(--st-ui); color: var(--st-ink); transition: border-color var(--st-dur-1), background var(--st-dur-1); }
.luk-opt:hover { border-color: var(--st-accent-line, var(--st-accent)); }
.luk-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.luk-opt-key { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; border: 1.5px solid var(--st-line-2, var(--st-line)); font: 700 14px/1 var(--st-ui); color: var(--st-ink-2); }
.luk-opt:has(input[type=radio]) .luk-opt-key { border-radius: 50%; }
.luk-opt:has(input:checked) { border-color: var(--st-accent); background: var(--st-accent-soft, rgba(255, 207, 94, .12)); }
.luk-opt:has(input:checked) .luk-opt-key { background: #0b0f19; border-color: #ffcf5e; color: #ffcf5e; }
.luk-opt:has(input:focus-visible) { outline: 2px solid var(--st-accent); outline-offset: 2px; }
.luk-opt:has(input:disabled) { cursor: default; }
.luk-opt-m { grid-column: 2; display: none; align-items: center; gap: 6px; font: 650 13px/1.2 var(--st-ui); }
.luk-opt-m svg, .luk-fb-h svg, .luk-rq svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.luk-opt.is-right, .luk-opt.is-right:has(input:checked) { border-color: var(--st-up); background: var(--st-up-soft, rgba(47, 209, 126, .12)); }
.luk-opt.is-right .luk-opt-key, .luk-opt.is-right:has(input:checked) .luk-opt-key { border-color: var(--st-up); color: var(--st-up); background: transparent; }
.luk-opt.is-wrong .luk-opt-key, .luk-opt.is-wrong:has(input:checked) .luk-opt-key { border-color: var(--st-dn); color: var(--st-dn); background: transparent; }
.luk-opt.is-right .luk-opt-m { display: inline-flex; color: var(--st-up); }
.luk-opt.is-wrong, .luk-opt.is-wrong:has(input:checked) { border-color: var(--st-dn); background: var(--st-dn-soft, rgba(255, 92, 119, .12)); }
.luk-opt.is-wrong .luk-opt-m { display: inline-flex; color: var(--st-dn); }
.luk-fb { margin-top: 16px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--st-line); background: var(--st-surface); }
.luk-fb.ok { border-color: var(--st-up); }
.luk-fb.no { border-color: var(--st-dn); }
.luk-fb-h { display: flex; align-items: center; gap: 6px; margin: 0 0 6px; font: 700 16px/1.3 var(--st-ui); }
.luk-fb.ok .luk-fb-h { color: var(--st-up); }
.luk-fb.no .luk-fb-h { color: var(--st-dn); }
.luk-fb-x { margin: 0 0 6px; font: 400 16px/1.55 var(--st-ui); color: var(--st-ink); }
.luk-fb-ch { margin: 0; font: 500 13.5px/1.45 var(--st-ui); color: var(--st-ink-2); }
.luk-actions { display: flex; gap: 8px; align-items: center; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); border-top: 1px solid var(--st-line); background: var(--st-bg); }
.luk-actions .st-btn { min-height: 48px; }
.luk-act-next { margin-left: auto; min-width: 128px; }
.luk-actions .st-btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.luk-act-flag svg { stroke: currentColor !important; }
.luk-act-flag.on { border-color: var(--st-dn); color: var(--st-dn) !important; }
.luk-act-flag.on svg { fill: var(--st-dn) !important; stroke: var(--st-dn) !important; }
@media (max-width: 420px) { .luk-actions { gap: 6px; padding-left: 8px; padding-right: 8px; } .luk-actions .st-btn { padding: 0 12px; } .luk-act-flag { min-width: 48px; } .luk-act-flag span { display: none; } .luk-act-next { min-width: 104px; } }
.luk-msg { position: fixed; left: 50%; bottom: calc(80px + env(safe-area-inset-bottom) + var(--st-bottom-inset, 0px)); transform: translateX(-50%); z-index: 45; margin: 0; max-width: calc(100% - 32px); padding: 0; border-radius: 12px; font: 600 14px/1.4 var(--st-ui); color: var(--st-ink); background: var(--st-card, var(--st-bg-2)); box-shadow: var(--st-shadow-2); }
.luk-msg:not(:empty) { padding: 10px 14px; border: 1px solid var(--st-line); }
.luk-msg.bad:not(:empty) { border-color: var(--st-dn); }
.luk-sheet { position: fixed; inset: 0; z-index: 50; background: rgba(4, 6, 10, .6); display: grid; align-items: end; justify-items: center; }
.luk-sheet[hidden] { display: none; }
.luk-sheet-in { width: min(100%, 680px); max-height: 88dvh; overflow-y: auto; padding: 20px 16px calc(16px + env(safe-area-inset-bottom)); background: var(--st-bg); border: 1px solid var(--st-line); border-radius: 20px 20px 0 0; outline: none; }
@media (min-width: 700px) { .luk-sheet { align-items: center; } .luk-sheet-in { border-radius: 20px; } }
.luk-sheet-in h2 { margin: 0 0 6px; font: 700 22px/1.25 var(--st-serif); }
.luk-sheet-sum, .luk-sheet-in p { color: var(--st-ink-2); margin: 0 0 12px; }
.luk-rgrid, .luk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 8px; margin: 0 0 14px; }
.luk-rq { display: grid; justify-items: center; gap: 2px; min-height: 56px; padding: 6px 4px; border-radius: 12px; border: 1px solid var(--st-line); background: var(--st-surface); color: var(--st-ink-2); cursor: pointer; font: 500 11.5px/1.2 var(--st-ui); }
.luk-rq b { font: 700 16px/1.1 var(--st-ui); color: var(--st-ink); }
.luk-rq span { display: inline-flex; align-items: center; gap: 2px; }
.luk-rq.is-ans { border-color: var(--st-accent-line, var(--st-line)); background: var(--st-accent-soft, rgba(255, 207, 94, .12)); }
.luk-rq.is-flag { border-color: var(--st-dn); }
.luk-rq.is-flag span { color: var(--st-dn); }
.luk-rq.is-ok { border-color: var(--st-up); color: var(--st-up); }
.luk-rq.is-no { border-color: var(--st-dn); color: var(--st-dn); }
.luk-rq.is-skip { color: var(--st-ink-3); }
.luk-rq.is-cur { outline: 2px solid var(--st-accent); outline-offset: 2px; }
.luk-warn { padding: 10px 12px; border-radius: 10px; border: 1px solid var(--st-dn); color: var(--st-ink) !important; }
.luk-sheet-act { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.luk-sheet-act .st-btn { min-height: 48px; }

/* ── results ─────────────────────────────────────────────────────────── */
.luk-res { padding-top: 24px; }
.luk-score { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center; padding: 20px; border: 1px solid var(--st-line); border-radius: 20px; background: var(--st-surface); }
.luk-score.pass { border-color: var(--st-up); }
.luk-score.fail { border-color: var(--st-accent-line, var(--st-line)); }
@media (max-width: 560px) { .luk-score { grid-template-columns: 1fr; justify-items: start; } }
.luk-ring { --p: 0; width: 128px; height: 128px; border-radius: 50%; display: grid; place-content: center; text-align: center; background: radial-gradient(closest-side, var(--st-bg) 79%, transparent 80% 100%), conic-gradient(var(--st-accent) calc(var(--p) * 1%), var(--st-line) 0); }
.luk-score.pass .luk-ring { background: radial-gradient(closest-side, var(--st-bg) 79%, transparent 80% 100%), conic-gradient(var(--st-up) calc(var(--p) * 1%), var(--st-line) 0); }
.luk-ring b { font: 700 40px/1 var(--st-serif); color: var(--st-ink); }
.luk-ring span { font: 500 13px/1.3 var(--st-ui); color: var(--st-ink-2); }
.luk-score-t h2 { margin: 0 0 6px; font: 700 clamp(28px, 6vw, 40px)/1.1 var(--st-serif); }
.luk-score.pass h2 { color: var(--st-up); }
.luk-score-t p { margin: 0 0 10px; color: var(--st-ink-2); }
.luk-score-note { color: var(--st-ink) !important; }
.luk-res-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 12px; margin-top: 12px; }
.luk-panel { padding: 18px; border: 1px solid var(--st-line); border-radius: 18px; background: var(--st-surface); }
.luk-panel h2 { font-size: 20px; }
.luk-barrow { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--st-line); }
.luk-barrow:last-child { border-bottom: 0; }
.luk-barrow-l { font: 600 14.5px/1.35 var(--st-ui); }
.luk-barrow-v { font: 600 13.5px/1 var(--st-ui); color: var(--st-ink-2); font-variant-numeric: tabular-nums; }
.luk-barrow-b { grid-column: 1 / -1; height: 7px; border-radius: 7px; background: var(--st-line); overflow: hidden; }
.luk-barrow-b i { display: block; height: 100%; background: var(--st-accent); border-radius: 7px; }
.luk-barrow .st-link { grid-column: 1 / -1; justify-self: start; display: inline-flex; align-items: center; min-height: 44px; }
.luk-weak { list-style: none; margin: 0; padding: 0; }
.luk-weak li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--st-line); }
.luk-weak li:last-child { border-bottom: 0; }
.luk-weak span { display: grid; }
.luk-weak small { color: var(--st-ink-2); }
.luk-weak .st-btn { min-height: 44px; }
.luk-rv { margin-top: 8px; padding: 18px 16px; border: 1px solid var(--st-line); border-radius: 18px; background: var(--st-surface); }
.luk-rv .luk-q { font-size: clamp(18px, 4vw, 22px); }
.luk-rv .luk-opt { cursor: default; grid-template-columns: 32px 1fr; }
.luk-rv-nav { display: flex; justify-content: space-between; gap: 8px; margin-top: 14px; }
.luk-rv-nav .st-btn:disabled { opacity: .45; }
.luk-rq i { font-style: normal; font-weight: 700; }

/* ── progress ────────────────────────────────────────────────────────── */
.luk-stats { list-style: none; margin: 0 0 18px; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 140px), 1fr)); gap: 10px; }
.luk-stats li { padding: 14px; border: 1px solid var(--st-line); border-radius: 14px; background: var(--st-surface); }
.luk-stats b { display: block; font: 700 26px/1.1 var(--st-serif); color: var(--st-accent); }
.luk-stats span { font: 500 13px/1.3 var(--st-ui); color: var(--st-ink-2); }
.luk-topics { margin-bottom: 18px; max-width: 760px; }
.luk-recent { list-style: none; margin: 0 0 12px; padding: 0; max-width: 760px; }
.luk-recent li { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--st-line); }
.luk-recent li span:first-child { display: grid; min-width: 0; }
.luk-recent small { color: var(--st-ink-2); }
.luk-recent-s { font: 650 14px/1.3 var(--st-ui); white-space: nowrap; }
.luk-recent-s.pass { color: var(--st-up); }
#lukProg h2 { margin: 18px 0 8px; font: 700 22px/1.2 var(--st-serif); }

@media (prefers-reduced-motion: reduce) { .luk-in { animation: none; } .luk-spin { animation-duration: 3s; } .luk-card, .luk-pbar-track i { transition: none; } }
@media print { .luk-bar, .luk-ad, .luk-actions, .luk-dots { display: none !important; } }
/* 4 Nov 2026 (st-bottom-guard.js): the page ends above a bar fixed to the bottom of the screen */
html.st-has-bottom-bar body { padding-bottom: var(--st-bottom-inset, 0px); }

/* ── the study content (16 Nov 2026): study guides, chapter pages, questions and answers, the test guide ──────────────────
   Reading pages: one column of text at a comfortable measure, tables that never scroll the page sideways on a phone, sample
   questions with the answer behind a "Show the answer" control (tap target 44 px). Gold accents; light theme via data-theme. */
@media (min-width: 1100px) { .luk-top-nav a { padding: 0 10px; font-size: 14.5px; } .luk-top-in { gap: 6px 12px; } }   /* nine links in the bar */
@media (min-width: 1100px) and (max-width: 1379px) { .luk-top-nav a { padding: 0 7px; font-size: 13.5px; } .luk-lk-tag { display: none; } .luk-top-in { gap: 6px 8px; } .luk-top-ic .st-theme-lbl { display: none; } }
.luk-crumb span[aria-current] { color: var(--st-ink-2); }
.luk-meta { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: -8px 0 16px; }
.luk-upd { margin: 0; font: 500 13.5px/1.4 var(--st-ui); color: var(--st-ink-3); }
.luk-prose { max-width: 72ch; }
.luk-prose p, .luk-gcard p { margin: 0 0 14px; font: 400 17px/1.65 var(--st-ui); color: var(--st-ink-2); }
.luk-prose p.luk-lead { font-size: 18px; color: var(--st-ink); }
.luk-prose h2 { margin: 30px 0 10px; font: 700 clamp(22px, 4vw, 27px)/1.2 var(--st-serif); color: var(--st-ink); scroll-margin-top: 76px; }
.luk-prose a, .luk-sub a, .luk-steps a, .luk-src a, .luk-gcard h3 a, .luk-sec h2 a { color: var(--st-accent); text-decoration: underline; text-underline-offset: 3px; }
.luk-sec h2 a { text-decoration: none; }
.luk-prose .luk-list { color: var(--st-ink-2); font-size: 16.5px; line-height: 1.6; }
.luk-src { margin: 0 0 14px; font: 500 14px/1.5 var(--st-ui); color: var(--st-ink-3); }
.luk-now { margin-top: 26px; padding: 2px 18px 6px; border-left: 3px solid var(--st-accent); background: var(--st-surface); border-radius: 0 12px 12px 0; }
.luk-now h2 { margin-top: 16px; }
.luk-toc { max-width: 72ch; margin: 4px 0 18px; padding: 14px 18px; border: 1px solid var(--st-line); border-radius: 14px; background: var(--st-surface); }
.luk-toc h2 { margin: 0 0 6px; font: 700 13px/1.3 var(--st-ui); letter-spacing: .06em; text-transform: uppercase; color: var(--st-ink-3); }
.luk-toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 28px; font: 500 15px/1.4 var(--st-ui); }
.luk-toc li { break-inside: avoid; }
.luk-toc a { display: inline-flex; align-items: center; min-height: 44px; color: var(--st-ink); text-decoration: none; }
.luk-toc a:hover { color: var(--st-accent); text-decoration: underline; }
@media (max-width: 560px) { .luk-toc ol { columns: 1; } }
.luk-tbl { width: 100%; border-collapse: collapse; margin: 0 0 16px; font: 400 15.5px/1.5 var(--st-ui); table-layout: fixed; }
.luk-tbl th, .luk-tbl td { padding: 10px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--st-line); overflow-wrap: anywhere; }
.luk-tbl thead th { font: 700 12.5px/1.3 var(--st-ui); letter-spacing: .05em; text-transform: uppercase; color: var(--st-ink-3); }
.luk-tbl tbody th { width: 34%; font-weight: 650; color: var(--st-ink); }
.luk-tbl td { color: var(--st-ink-2); }
.luk-qs { display: grid; gap: 12px; max-width: 760px; }
.luk-q { padding: 16px 18px; border: 1px solid var(--st-line); border-radius: 16px; background: var(--st-surface); scroll-margin-top: 76px; }
.luk-q-t { margin: 0 0 6px; font: 650 17.5px/1.4 var(--st-ui); color: var(--st-ink); }
.luk-q-n { display: block; margin-bottom: 4px; font: 650 12px/1.3 var(--st-ui); letter-spacing: .06em; text-transform: uppercase; color: var(--st-accent); }
.luk-q-k { margin: 0 0 8px; font: 500 13.5px/1.4 var(--st-ui); color: var(--st-ink-3); }
.luk-q-o { margin: 0 0 6px; padding-left: 26px; list-style: upper-alpha; display: grid; gap: 4px; font: 400 16px/1.5 var(--st-ui); color: var(--st-ink-2); }
.luk-q-a summary { cursor: pointer; display: inline-flex; align-items: center; min-height: 44px; font: 650 15px/1.3 var(--st-ui); color: var(--st-accent); }
.luk-q-a summary:focus-visible, .luk-faq summary:focus-visible, .luk-toc a:focus-visible, .luk-map a:focus-visible, .luk-pn a:focus-visible { outline: 2px solid var(--st-accent); outline-offset: 2px; border-radius: 6px; }
.luk-q-a p { margin: 4px 0 8px; font: 400 15.5px/1.6 var(--st-ui); color: var(--st-ink-2); }
.luk-q-a .luk-q-r { color: var(--st-ink); }
.luk-gcard { max-width: 76ch; padding: 16px 0 6px; border-bottom: 1px solid var(--st-line); }
.luk-gcard h3 { margin: 0 0 6px; font: 700 20px/1.25 var(--st-serif); }
.luk-gcard h3 a, .luk-sec h2 a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.luk-gcard p { font-size: 16px; margin-bottom: 8px; }
.luk-chips { list-style: none; margin: 0 0 6px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.luk-chips li { padding: 4px 10px; border: 1px solid var(--st-line); border-radius: 999px; font: 500 13px/1.4 var(--st-ui); color: var(--st-ink-2); }
.luk-pn { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 22px; }
.luk-pn a { display: grid; gap: 2px; min-height: 44px; padding: 12px 16px; border: 1px solid var(--st-line); border-radius: 14px; background: var(--st-surface); text-decoration: none; color: var(--st-ink); }
.luk-pn a[rel="next"] { text-align: right; }
.luk-pn span { font: 600 12px/1.3 var(--st-ui); letter-spacing: .05em; text-transform: uppercase; color: var(--st-ink-3); }
.luk-pn b { font: 650 15.5px/1.3 var(--st-ui); }
@media (max-width: 520px) { .luk-pn { grid-template-columns: 1fr; } .luk-pn a[rel="next"] { text-align: left; } .luk-pn > span { display: none; } }
.luk-map { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--st-line); }
.luk-map > h2 { margin: 0 0 12px; font: 700 18px/1.3 var(--st-serif); color: var(--st-ink); }
.luk-map-g { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 8px 22px; }
.luk-map h3 { margin: 0 0 2px; font: 700 13.5px/1.35 var(--st-ui); color: var(--st-ink); }
.luk-map h3 a { color: inherit; }
.luk-map ul { list-style: none; margin: 0 0 10px; padding: 0; }
.luk-map a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; font: 500 14.5px/1.35 var(--st-ui); color: var(--st-ink-2); text-decoration: none; }
.luk-map a:hover { color: var(--st-accent); text-decoration: underline; }
