/* Fonts hosted on this site (no requests to Google). SIL Open Font License. */
@font-face { font-family: "Lilita One"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/lilita-one-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/figtree-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/figtree-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/figtree-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/figtree-latin-700-normal.woff2") format("woff2"); }

:root { padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; }
img { max-width: 100%; }
[hidden] { display: none !important; }
footer .legal a { color: inherit; }

/* Layout: a shop-style page. Season bar, header with search, hero, trending row, profile shortcuts,
   finder (question sidebar + results grid), gift-by-budget blocks, promise strip, footer. Player-piece colours throughout. */
:root {
  --bg: #F1F3F7;
  --surface: #FFFFFF;
  --surface-2: #E8EBF2;
  --ink: #1B1F3B;
  --muted: #5B6180;
  --line: #D4D8E4;
  --accent: #E2560B;
  --accent-ink: #FFFFFF;
  --p1: #C42136;
  --p2: #1F5C9E;
  --p3: #D9A106;
  --p4: #23874F;
  --bar: #1B1F3B;
  --bar-ink: #FFFFFF;
  --font-display: "Lilita One", "Arial Rounded MT Bold", "Trebuchet MS", sans-serif;
  --font-body: "Figtree", "Helvetica Neue", Arial, system-ui, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #12142A; --surface: #1B1E3A; --surface-2: #242849; --ink: #EEF0FA; --muted: #A4A9C6; --line: #31365C;
    --accent: #FF7A33; --accent-ink: #1A0A00; --p1: #E0475C; --p2: #4385D6; --p3: #E8B52A; --p4: #3BB574;
    --bar: #0B0D1E; --bar-ink: #EEF0FA; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #12142A; --surface: #1B1E3A; --surface-2: #242849; --ink: #EEF0FA; --muted: #A4A9C6; --line: #31365C;
  --accent: #FF7A33; --accent-ink: #1A0A00; --p1: #E0475C; --p2: #4385D6; --p3: #E8B52A; --p4: #3BB574;
  --bar: #0B0D1E; --bar-ink: #EEF0FA; color-scheme: dark;
}
body { background: var(--bg); color: var(--ink); font-family: var(--font-body); font-size: 16px; line-height: 1.5; }
.band { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.inner { max-width: 1120px; margin: 0 auto; }
a { color: inherit; }
h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(26px, 4vw, 32px); line-height: 1.1; margin: 0; text-wrap: balance; }
.sec-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px 16px; flex-wrap: wrap; margin-bottom: 16px; }
.sec-head p { margin: 0; color: var(--muted); font-size: 15px; }
section.block { padding-block: 34px; }

/* season bar */
.season { background: var(--bar); color: var(--bar-ink); font-size: 14px; font-weight: 600; padding-block: 8px; text-align: center; }

/* header */
.top { background: var(--surface); border-bottom: 1px solid var(--line); padding-block: 14px; }
.top .inner { display: flex; align-items: center; gap: 14px 24px; flex-wrap: wrap; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.pieces { display: flex; gap: 4px; }
.pieces i { width: 11px; height: 11px; border-radius: 50%; display: block; }
.pieces i:nth-child(1) { background: var(--p1); } .pieces i:nth-child(2) { background: var(--p2); }
.pieces i:nth-child(3) { background: var(--p3); } .pieces i:nth-child(4) { background: var(--p4); }
.logo span { font-family: var(--font-display); font-size: 24px; }
.search { flex: 1 1 240px; display: flex; min-width: 0; }
.search input { flex: 1; min-width: 0; font: inherit; font-size: 15px; color: var(--ink); background: var(--surface-2); border: 1px solid var(--line); border-radius: 999px; padding: 9px 16px; }
.search input:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
nav.main { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 15px; font-weight: 600; }
nav.main a { text-decoration: none; padding: 4px 0; border-bottom: 2px solid transparent; }
nav.main a:hover, nav.main a:focus-visible { border-color: var(--accent); outline: none; }

/* hero */
.hero { padding-block: 34px 10px; }
.hero .inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 28px; align-items: center; }
@media (max-width: 760px) { .hero .inner { grid-template-columns: minmax(0, 1fr); } }
.hero h1 { font-family: var(--font-display); font-weight: 400; font-size: clamp(40px, 7vw, 66px); line-height: 1; margin: 0 0 12px; text-wrap: balance; }
.hero p { color: var(--muted); font-size: 18px; margin: 0 0 20px; max-width: 46ch; }
.cta { display: inline-block; font-weight: 700; font-size: 17px; padding: 12px 20px; border-radius: 10px; background: var(--accent); color: var(--accent-ink); text-decoration: none; }
.cta:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.quiz { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 22px; display: grid; gap: 16px; box-shadow: 8px 8px 0 var(--surface-2); min-width: 0; }
.progress { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; }
.progress i { height: 8px; border-radius: 999px; background: var(--surface-2); display: block; transition: background .2s; }
.progress i.on:nth-child(4n+1) { background: var(--p1); } .progress i.on:nth-child(4n+2) { background: var(--p2); }
.progress i.on:nth-child(4n+3) { background: var(--p3); } .progress i.on:nth-child(4n+4) { background: var(--p4); }
.qstep { font-size: 13px; font-weight: 700; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }
.qtitle { font-family: var(--font-display); font-weight: 400; font-size: 28px; line-height: 1.1; margin: 0; text-wrap: balance; }
.qhint { margin: -8px 0 0; font-size: 14px; color: var(--muted); }
.answers { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; }
.answers button { font: inherit; font-size: 15px; font-weight: 600; text-align: left; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface-2); color: var(--ink); cursor: pointer; transition: border-color .15s, background .15s; }
.answers button:hover { border-color: var(--ink); }
.answers button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--surface); }
.answers button:focus-visible, .qnav button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.qnav { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; align-items: center; }
.qnav .back { font: inherit; font-size: 14px; font-weight: 600; background: none; border: 0; color: var(--muted); cursor: pointer; padding: 6px 0; }
.qnav .next { font: inherit; font-weight: 700; font-size: 16px; padding: 10px 18px; border-radius: 10px; border: 0; background: var(--accent); color: var(--accent-ink); cursor: pointer; }
.qnav .skip { font: inherit; font-size: 14px; font-weight: 700; background: none; border: 0; color: var(--accent); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; padding: 6px 0; flex-basis: 100%; text-align: left; }
.qsummary { margin: 0; font-size: 15px; color: var(--muted); }
.hero-art { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; transform: rotate(-3deg); }
.hero-art div { aspect-ratio: 1; border-radius: 10px; box-shadow: 6px 6px 0 rgba(0,0,0,.18); }
.hero-art div:nth-child(4n+1) { background: var(--p1); } .hero-art div:nth-child(4n+2) { background: var(--p2); }
.hero-art div:nth-child(4n+3) { background: var(--p3); } .hero-art div:nth-child(4n+4) { background: var(--p4); }

/* cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 1fr); gap: 16px; overflow-x: auto; padding-bottom: 8px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; display: grid; grid-template-rows: auto 1fr; min-width: 0; }
.art { position: relative; aspect-ratio: 4 / 3; background: var(--surface-2); display: grid; place-items: center; }
.art img { width: 100%; height: 100%; object-fit: contain; }
.box { width: 62%; aspect-ratio: 1; border-radius: 8px; box-shadow: 9px 9px 0 rgba(0,0,0,.22); display: grid; align-content: space-between; padding: 10px; box-sizing: border-box; color: #FFFFFF; }
.box .nm { font-family: var(--font-display); font-size: 17px; line-height: 1.05; text-wrap: balance; overflow-wrap: anywhere; }
.box .ico { width: 58%; aspect-ratio: 1; justify-self: center; align-self: center; }
.box .ico svg { width: 100%; height: 100%; display: block; }
.box { grid-template-rows: 1fr auto; }
.box .nm { font-size: 13px; text-align: center; }
.k1 .box { background: var(--p1); } .k2 .box { background: var(--p2); } .k3 .box { background: var(--p3); } .k4 .box { background: var(--p4); }
.badge { position: absolute; top: 10px; left: 10px; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); }
.cbody { padding: 14px; display: grid; gap: 8px; align-content: start; }
.cbody h3 { margin: 0; font-size: 17px; font-weight: 700; line-height: 1.25; }
.meta { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.desc { font-size: 14px; margin: 0; }
.band-price { display: inline-block; width: max-content; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--surface-2); }
.go { display: block; text-align: center; padding: 9px 12px; border-radius: 8px; background: var(--ink); color: var(--surface); font-weight: 700; font-size: 14px; text-decoration: none; margin-top: 4px; }
.go:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* profiles */
.profiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.profiles button { font: inherit; font-weight: 700; font-size: 15px; text-align: left; display: flex; align-items: center; gap: 10px; padding: 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; }
.profiles button i { width: 14px; height: 14px; border-radius: 4px; flex: none; }
.profiles button:hover { border-color: var(--ink); }
.profiles button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* finder */
.finder { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 24px; align-items: start; }
@media (max-width: 860px) { .finder { grid-template-columns: minmax(0, 1fr); } }
.side { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 18px; display: grid; gap: 18px; }
.frow { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 6px; }
.frow legend { font-weight: 700; font-size: 15px; padding: 0; margin-bottom: 6px; }
.frow legend small { font-weight: 500; color: var(--muted); font-size: 13px; }
.opts { display: flex; flex-wrap: wrap; gap: 6px; }
.opt { position: relative; }
.opt input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.opt span { display: inline-block; padding: 6px 11px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface-2); font-size: 14px; cursor: pointer; }
.opt input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--surface); }
.opt input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
details.more { border-top: 1px solid var(--line); padding-top: 14px; }
details.more summary { cursor: pointer; font-weight: 700; font-size: 15px; display: flex; justify-content: space-between; align-items: center; gap: 8px; list-style: none; }
details.more summary::-webkit-details-marker { display: none; }
details.more summary::after { content: "+"; font-size: 20px; line-height: 1; color: var(--accent); }
details.more[open] summary::after { content: "\2212"; }
details.more .n { font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); }
details.more .n:empty { display: none; }
.more-body { display: grid; gap: 16px; margin-top: 14px; }
.more-body .opt span { font-size: 13px; padding: 5px 10px; }
.mech-box { max-height: 190px; overflow-y: auto; padding-right: 4px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--surface-2); }
.chip.award { background: var(--p3); color: #1B1F3B; }
.scenes { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.scenes button { font: inherit; text-align: left; padding: 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; display: grid; gap: 2px; }
.scenes button b { font-size: 15px; }
.scenes button span { font-size: 13px; color: var(--muted); }
.scenes button:hover { border-color: var(--ink); }
.scenes button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.bookbar { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-bottom: 16px; }
.cover { width: 46%; aspect-ratio: 2 / 3; border-radius: 3px 8px 8px 3px; box-shadow: 8px 8px 0 rgba(0,0,0,.22); position: relative; overflow: hidden; display: grid; align-content: space-between; padding: 12px 10px 12px 18px; box-sizing: border-box; color: #FFFFFF; }
.cover::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 8px; background: rgba(0,0,0,.22); }
.cover .nm { font-family: var(--font-display); font-size: 15px; line-height: 1.1; text-wrap: balance; overflow-wrap: anywhere; }
.cover .au { font-size: 10px; font-weight: 600; opacity: .9; }
.k1 .cover { background: var(--p1); } .k2 .cover { background: var(--p2); } .k3 .cover { background: var(--p3); color: #1B1F3B; } .k4 .cover { background: var(--p4); }
button.reset { font: inherit; font-size: 14px; font-weight: 600; padding: 9px 12px; border-radius: 8px; border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; }
.results-bar { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.results-bar .count { font-weight: 700; }
.results-bar label { font-size: 14px; color: var(--muted); display: flex; gap: 8px; align-items: center; }
select { font: inherit; font-size: 14px; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; }
.searchnote { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; font-size: 14px; margin-bottom: 12px; }
.searchnote button { font: inherit; font-size: 13px; border: 0; background: none; color: var(--accent); cursor: pointer; text-decoration: underline; padding: 0; }
.disclose { font-size: 13px; color: var(--muted); margin: 14px 0 0; }
.empty { padding: 20px; border: 1px dashed var(--line); border-radius: 12px; color: var(--muted); margin: 0; }

/* gift by budget */
.budgets { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.budgets button { font: inherit; text-align: left; padding: 18px; border-radius: 12px; border: 0; cursor: pointer; color: #FFFFFF; display: grid; gap: 4px; }
.budgets button b { font-family: var(--font-display); font-weight: 400; font-size: 26px; }
.budgets button span { font-size: 14px; opacity: .92; }
.budgets button:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.budgets button:nth-child(1) { background: var(--p4); } .budgets button:nth-child(2) { background: var(--p2); }
.budgets button:nth-child(3) { background: var(--p1); } .budgets button:nth-child(4) { background: #3A2F6B; }

/* promise strip */
.promise { background: var(--surface); border-block: 1px solid var(--line); padding-block: 22px; }
.promise .inner { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.promise div { display: grid; gap: 2px; }
.promise b { font-size: 15px; }
.promise span { font-size: 14px; color: var(--muted); }

footer { padding-block: 26px 40px; font-size: 13px; color: var(--muted); }
footer .inner { display: grid; gap: 8px; }
footer p { margin: 0; max-width: 80ch; }
footer .legal { display: flex; gap: 16px; flex-wrap: wrap; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } .hero-art { transform: none; } }

/* ---------- pagination ---------- */
.pager { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; margin-top: 20px; }
.pager button { font: inherit; font-size: 15px; font-weight: 600; min-width: 44px; min-height: 44px; padding: 8px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; font-variant-numeric: tabular-nums; }
.pager button[aria-current="page"] { background: var(--ink); color: var(--surface); border-color: var(--ink); }
.pager button:disabled { opacity: .4; cursor: default; }
.pager button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.pager .gap { color: var(--muted); padding: 0 2px; }

/* ---------- guides ---------- */
.guides { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.guides a { display: grid; gap: 2px; padding: 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); text-decoration: none; color: var(--ink); }
.guides a b { font-size: 15px; }
.guides a span { font-size: 13px; color: var(--muted); }
.guides a:hover { border-color: var(--ink); }
.guides a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---------- landing pages ---------- */
.crumbs { font-size: 13px; color: var(--muted); padding-block: 18px 0; }
.crumbs a { color: inherit; }
.lp-hero { padding-block: 18px 6px; }
.lp-hero h1 { font-family: var(--font-display); font-weight: 400; font-size: clamp(32px, 6vw, 52px); line-height: 1.05; margin: 0 0 12px; text-wrap: balance; }
.lp-hero p { color: var(--muted); font-size: 17px; margin: 0 0 16px; max-width: 64ch; }
.lp-hero .cta-row { display: flex; flex-wrap: wrap; gap: 10px; }
.cta.ghost { background: var(--surface); color: var(--ink); border: 1px solid var(--line); }
.tips { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; margin-top: 22px; }
.tips h2 { font-size: 18px; font-family: var(--font-body); font-weight: 700; margin: 0 0 6px; }
.tips ul { margin: 0; padding-left: 20px; display: grid; gap: 4px; font-size: 15px; }
.go .hide-sm { display: inline; }

/* ---------- filters toggle (mobile) ---------- */
.filter-toggle { display: none; }

/* ---------- mobile ---------- */
@media (max-width: 860px) {
  .finder { display: flex; flex-direction: column; gap: 14px; }
  .filter-toggle { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; font: inherit; font-weight: 700; font-size: 16px; min-height: 48px; padding: 10px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; }
  .filter-toggle .n { font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); }
  .filter-toggle .n:empty { display: none; }
  .filter-toggle::after { content: "+"; color: var(--accent); font-size: 22px; line-height: 1; margin-left: auto; }
  .filter-toggle[aria-expanded="true"]::after { content: "\2212"; }
  .side { display: none; }
  .side.open { display: grid; }
}
@media (max-width: 700px) {
  .top .inner { gap: 10px; }
  .search { flex-basis: 100%; order: 3; }
  nav.main { order: 4; flex-wrap: nowrap; overflow-x: auto; width: 100%; gap: 4px 16px; padding-bottom: 4px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  nav.main::-webkit-scrollbar { display: none; }
  nav.main a { white-space: nowrap; padding: 8px 0; }
  .hero { padding-block: 20px 6px; }
  .hero h1 { font-size: clamp(32px, 9vw, 40px); }
  .hero p { font-size: 16px; margin-bottom: 4px; }
  .quiz { padding: 16px; box-shadow: none; }
  .qtitle { font-size: 24px; }
  .answers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .answers button { min-height: 48px; padding: 10px 12px; font-size: 15px; }
  section.block { padding-block: 24px; }
  .opt span { padding: 9px 12px; min-height: 40px; display: inline-flex; align-items: center; box-sizing: border-box; }
  .profiles, .scenes, .budgets, .guides { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .scenes button, .guides a { padding: 12px; }
  .budgets button { padding: 14px; }
  .budgets button b { font-size: 22px; }
  .promise .inner { grid-template-columns: 1fr; gap: 10px; }
}
@media (max-width: 560px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .row { grid-auto-columns: 46%; gap: 10px; }
  .card { border-radius: 10px; }
  .art { aspect-ratio: 1 / 1; }
  .box { width: 70%; padding: 8px; box-shadow: 6px 6px 0 rgba(0,0,0,.22); }
  .box .nm { font-size: 11px; }
  .badge { top: 6px; left: 6px; font-size: 10px; padding: 2px 7px; }
  .cbody { padding: 10px; gap: 6px; }
  .cbody h3 { font-size: 15px; }
  .meta { font-size: 12px; }
  .desc { font-size: 13px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .chip { font-size: 11px; padding: 2px 7px; }
  .band-price { font-size: 11px; }
  .go { font-size: 13px; padding: 10px 8px; min-height: 40px; box-sizing: border-box; }
  .go .hide-sm { display: none; }
  .cover { width: 52%; padding: 8px 8px 8px 14px; }
  .cover .nm { font-size: 12px; }
  .results-bar { font-size: 14px; }
  .sec-head { margin-bottom: 12px; }
  .lp-hero p { font-size: 16px; }
}

/* ---------- share ---------- */
.results-bar { align-items: center; }
.share-btn { font: inherit; font-size: 14px; font-weight: 700; min-height: 40px; padding: 8px 14px; border-radius: 10px; border: 1px solid var(--accent); background: transparent; color: var(--accent); cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.share-btn::before { content: ""; width: 16px; height: 16px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='18' cy='5' r='3'/%3E%3Ccircle cx='6' cy='12' r='3'/%3E%3Ccircle cx='18' cy='19' r='3'/%3E%3Cpath d='m8.6 13.5 6.8 4M15.4 6.5l-6.8 4'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='18' cy='5' r='3'/%3E%3Ccircle cx='6' cy='12' r='3'/%3E%3Ccircle cx='18' cy='19' r='3'/%3E%3Cpath d='m8.6 13.5 6.8 4M15.4 6.5l-6.8 4'/%3E%3C/svg%3E") center / contain no-repeat; }
.share-btn:hover { background: var(--accent); color: var(--accent-ink); }
.share-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.share-panel { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; margin-bottom: 14px; display: grid; gap: 10px; }
.share-title { margin: 0; font-weight: 700; }
.share-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.share-row input { flex: 1 1 220px; min-width: 0; font: inherit; font-size: 14px; color: var(--ink); background: var(--surface-2); border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; }
.share-row button, .share-row a { font: inherit; font-size: 14px; font-weight: 700; min-height: 42px; padding: 9px 14px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); text-decoration: none; cursor: pointer; display: inline-flex; align-items: center; }
.share-row #share-copy { background: var(--ink); color: var(--surface); border-color: var(--ink); }
.share-row #share-wa { background: #1F8F4E; color: #fff; border-color: #1F8F4E; }
.share-row .share-close { margin-left: auto; background: transparent; border-color: transparent; color: var(--muted); }
.share-status { margin: 0; font-size: 13px; color: var(--muted); min-height: 1em; }
.share-status:empty { display: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.answers .share-q { border-color: var(--accent); color: var(--accent); }
@media (max-width: 560px) { .share-btn { font-size: 13px; padding: 8px 10px; } .results-bar label { font-size: 13px; } }

/* ---------- award explanations ---------- */
button.chip.award { font: inherit; font-size: 12px; font-weight: 700; border: 0; cursor: help; color: #1B1F3B; display: inline-flex; align-items: center; gap: 4px; }
button.chip.award::after { content: "?"; display: inline-grid; place-items: center; width: 14px; height: 14px; border-radius: 50%; background: rgba(27,31,59,.18); font-size: 10px; line-height: 1; }
button.chip.award:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.award-tip { position: fixed; z-index: 50; background: var(--ink); color: var(--surface); font-size: 13px; line-height: 1.4; padding: 10px 12px; border-radius: 10px; box-shadow: 0 6px 20px rgba(0,0,0,.25); }
.award-tip b { display: block; font-size: 13px; margin-bottom: 2px; }
@media (max-width: 560px) { button.chip.award { font-size: 11px; } }

/* ---------- clickable tiles ---------- */
.card[data-game], .card[data-book] { cursor: pointer; transition: border-color .15s, transform .15s; }
.card[data-game]:hover, .card[data-book]:hover { border-color: var(--ink); }
.card-open { font: inherit; color: inherit; background: none; border: 0; padding: 0; margin: 0; text-align: left; cursor: pointer; }
.card-open:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.card-open::after { content: " ›"; color: var(--accent); }

/* ---------- quick view sheet ---------- */
html.qv-lock { overflow: hidden; }
.qv { width: min(720px, calc(100vw - 32px)); max-height: calc(100vh - 48px); padding: 0; border: 0; border-radius: 16px; background: var(--bg); color: var(--ink); box-shadow: 0 20px 60px rgba(0,0,0,.35); overflow: hidden; }
.qv[open] { display: flex; flex-direction: column; }
.qv::backdrop { background: rgba(15, 17, 35, .55); }
.qv-bar { display: flex; justify-content: flex-end; padding: 10px 10px 0; position: absolute; right: 0; top: 0; z-index: 2; }
.qv-close { font: inherit; font-size: 18px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; }
.qv-close:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.qv-body { overflow-y: auto; padding: 22px 24px 24px; display: grid; gap: 16px; -webkit-overflow-scrolling: touch; }
.qv-top { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 20px; align-items: start; padding-right: 40px; }
.qv-art { aspect-ratio: 1; background: var(--surface-2); border-radius: 12px; display: grid; place-items: center; }
.qv-art .box { width: 70%; }
.qv-art .box .nm { font-size: 13px; }
.qv-art .cover { width: 56%; }
.qv-head { display: grid; gap: 10px; align-content: start; min-width: 0; }
.qv-head h2 { font-family: var(--font-display); font-weight: 400; font-size: 32px; line-height: 1.05; margin: 0; text-wrap: balance; }
.qv-desc { margin: 0; font-size: 16px; }
.badge-inline { font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); }
.qv-go { font-size: 16px; padding: 12px 16px; }
.qv-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0; }
.qv-facts div { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.qv-facts dt { font-size: 12px; color: var(--muted); font-weight: 600; }
.qv-facts dd { margin: 2px 0 0; font-weight: 700; font-size: 15px; font-variant-numeric: tabular-nums; }
.qv-sec h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 0 0 8px; }
.qv-sec .chip { background: var(--surface); border: 1px solid var(--line); font-size: 13px; padding: 4px 10px; }
.qv-sec .chip.soft { font-weight: 600; }
.qv-p { margin: 0; font-size: 15px; }
.qv-awards { margin: 0; padding-left: 18px; display: grid; gap: 6px; font-size: 14px; }
.qv-awards b { display: inline-block; background: var(--p3); color: #1B1F3B; padding: 1px 8px; border-radius: 999px; font-size: 12px; margin-right: 4px; }
.qv-sim { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.qv-sim button { font: inherit; text-align: left; display: grid; gap: 2px; padding: 10px 12px; min-height: 48px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; }
.qv-sim button b { font-size: 14px; }
.qv-sim button span { font-size: 12px; color: var(--muted); }
.qv-sim button:hover { border-color: var(--ink); }
.qv-note { margin: 0; font-size: 12px; color: var(--muted); }
.qv-go-bottom { display: block; text-align: center; }
@media (max-width: 600px) {
  .qv { width: 100vw; max-width: 100vw; max-height: 92vh; margin: auto 0 0; border-radius: 18px 18px 0 0; }
  .qv-body { padding: 18px 16px calc(20px + env(safe-area-inset-bottom, 0px)); gap: 14px; }
  .qv-top { grid-template-columns: 110px minmax(0, 1fr); gap: 14px; padding-right: 36px; }
  .qv-head h2 { font-size: 24px; }
  .qv-desc { font-size: 14px; }
  .qv-head .qv-go { display: none; }
  .qv-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .qv-go-bottom { position: sticky; bottom: 0; box-shadow: 0 -8px 16px var(--bg); }
}
@media (prefers-reduced-motion: reduce) { .card[data-game], .card[data-book] { transition: none; } }

/* ---------- illustrated covers ---------- */
.gbox { position: absolute; inset: 0; margin: auto; width: 64%; aspect-ratio: 1; box-sizing: border-box; container-type: inline-size; border-radius: 10px; background-color: var(--c); background-size: 64px 64px; color: var(--t); display: grid; grid-template-rows: auto 1fr auto; justify-items: center; padding: 9px 9px 11px; box-shadow: inset -6px -7px 0 rgba(0,0,0,.16), 8px 8px 0 rgba(0,0,0,.2); overflow: hidden; }
.gbox::after, .cover::after { content: ""; position: absolute; inset: 5px; border: 1.5px solid var(--t); opacity: .35; border-radius: 7px; pointer-events: none; }
.gb-top { width: 100%; display: flex; justify-content: flex-end; gap: 4px; font-weight: 700; font-size: 10px; font-size: 6.6cqw; line-height: 1; }
.gb-top span { display: inline-flex; align-items: center; gap: 3px; padding: 3px 6px; border-radius: 999px; background: rgba(255,255,255,.2); }
.gbox[style*="--t:#1B1F3B"] .gb-top span { background: rgba(27,31,59,.12); }
.gb-top svg { width: 1em; height: 1em; }
.gb-med { align-self: center; width: 40%; aspect-ratio: 1; border-radius: 50%; background: var(--t); color: var(--c); display: grid; place-items: center; box-shadow: 0 3px 0 rgba(0,0,0,.18); }
.gb-med svg { width: 62%; height: 62%; display: block; }
.gb-nm { text-align: center; display: grid; gap: 2px; max-width: 100%; }
.gb-nm b { font-family: var(--font-display); font-weight: 400; font-size: 16px; font-size: 11cqw; line-height: 1.02; text-wrap: balance; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.gbox.long .gb-nm b { font-size: 13px; font-size: 8.6cqw; }
.gb-nm small { font-size: 9px; font-size: 6.2cqw; font-weight: 600; opacity: .88; line-height: 1.15; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.k1 .cover, .k2 .cover, .k3 .cover, .k4 .cover, .cover { background-color: var(--c); color: var(--t); background-size: 64px 64px; container-type: inline-size; grid-template-rows: auto 1fr auto; align-content: stretch; gap: 4px; }
.cover::after { inset: 5px 5px 5px 13px; border-radius: 3px 6px 6px 3px; }
.cover .bc-med { width: 34%; aspect-ratio: 1; border-radius: 50%; background: var(--t); color: var(--c); display: grid; place-items: center; }
.cover .bc-med svg { width: 64%; height: 64%; display: block; }
.cover .nm { align-self: center; font-size: 15px; font-size: 13.5cqw; line-height: 1.05; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.cover.long .nm { font-size: 12px; font-size: 11cqw; }
.cover .au { font-size: 9px; font-size: 7.5cqw; line-height: 1.15; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.qv-art { position: relative; }
.qv-art .gbox { width: 80%; }
@media (max-width: 560px) { .gbox { width: 82%; padding: 7px 7px 9px; box-shadow: inset -4px -5px 0 rgba(0,0,0,.16), 6px 6px 0 rgba(0,0,0,.2); } }

.art img.photo { object-fit: cover; }
.qv-art { overflow: hidden; }
.qv-art img.photo { width: 100%; height: 100%; object-fit: cover; display: block; }
.qv-credit { font-size: 12px; color: var(--muted); margin: -4px 0 14px; }
.qv-credit a { color: inherit; }

/* ---------- editorial blocks on guides ---------- */
.byline { font-size: 14px; color: var(--muted); margin: 6px 0 14px; }
.byline a { color: inherit; }
.picks { background: var(--surface); border: 1px solid var(--line); border-left: 5px solid var(--accent); border-radius: 12px; padding: 14px 18px; margin: 0 0 18px; max-width: 760px; }
.picks h2 { font-family: var(--font-display); font-weight: 400; font-size: 20px; margin: 0 0 8px; }
.picks ol { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.picks li { line-height: 1.45; }
.picks a { color: var(--ink); font-weight: 700; }
.faq { margin-top: 28px; max-width: 760px; }
.faq h2 { font-family: var(--font-display); font-weight: 400; font-size: 24px; margin: 0 0 10px; }
.faq h3 { font-size: 17px; margin: 16px 0 4px; }
.faq p { margin: 0; color: var(--ink); line-height: 1.55; }
.see-also { margin-top: 22px; font-size: 15px; line-height: 1.6; }
.see-also a { color: var(--accent); font-weight: 600; }
.about { max-width: 820px; }
.about h2 { font-family: var(--font-display); font-weight: 400; font-size: 26px; margin: 0 0 10px; }
.about p { line-height: 1.6; margin: 0 0 10px; }
.about a { color: var(--accent); font-weight: 600; }

/* ---------- grouped guide lists ---------- */
.guide-groups { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.gg { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.gg h3 { font-family: var(--font-display); font-weight: 400; font-size: 19px; margin: 0 0 8px; }
.gg ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.gg a, .gg span { display: block; padding: 6px 0; font-size: 15px; font-weight: 600; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.gg li:last-child a, .gg li:last-child span { border-bottom: 0; }
.gg a:hover { color: var(--accent); }
.gg span[aria-current] { color: var(--muted); }
@media (max-width: 960px) { .guide-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .guide-groups { grid-template-columns: 1fr; } }

/* ---------- opinions ---------- */
.opinion { margin: 18px 0 8px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.opinion summary { cursor: pointer; padding: 12px 14px; font-weight: 700; list-style-position: inside; }
.opinion[open] summary { border-bottom: 1px solid var(--line); }
.opinion-form { padding: 12px 14px 14px; display: grid; gap: 10px; }
.of-l { display: grid; gap: 4px; font-size: 14px; font-weight: 600; }
.of-l em { font-style: normal; font-weight: 400; color: var(--muted); }
.of-l input, .of-l textarea { font: inherit; font-size: 15px; font-weight: 400; color: var(--ink); background: var(--surface-2); border: 1px solid var(--line); border-radius: 8px; padding: 9px 11px; width: 100%; box-sizing: border-box; }
.of-l textarea { resize: vertical; min-height: 90px; }
.of-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.of-c { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; }
.of-c input { margin-top: 3px; }
.of-send { justify-self: start; font: inherit; font-weight: 700; font-size: 15px; padding: 10px 16px; border-radius: 10px; border: 0; background: var(--accent); color: var(--accent-ink); cursor: pointer; }
.of-send:disabled { opacity: .6; cursor: default; }
.of-msg { margin: 0; font-size: 14px; font-weight: 600; }
.qv-small { font-size: 12px; color: var(--muted); margin: 0; }
.qv-small a { color: inherit; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.qv-quote { margin: 0 0 10px; padding: 10px 14px; border-left: 4px solid var(--accent); background: var(--surface); border-radius: 0 10px 10px 0; }
.qv-quote p { margin: 0 0 4px; }
.qv-quote cite { font-size: 13px; color: var(--muted); font-style: normal; }
@media (max-width: 560px) { .of-row { grid-template-columns: 1fr; } }

/* ---------- ranking pages ---------- */
.rk-quick { list-style: none; counter-reset: rk; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; max-width: 860px; }
.rk-quick li { counter-increment: rk; }
.rk-quick a { display: flex; align-items: baseline; gap: 10px; padding: 10px 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; color: var(--ink); text-decoration: none; }
.rk-quick a::before { content: counter(rk); font-family: var(--font-display); font-size: 20px; color: var(--accent); min-width: 22px; }
.rk-quick b { font-weight: 700; } .rk-quick span { font-size: 13px; color: var(--muted); margin-left: auto; white-space: nowrap; }
.rk-list { display: grid; gap: 18px; }
.rk { position: relative; display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px; scroll-margin-top: 80px; }
.rk-n { position: absolute; top: -12px; left: -10px; width: 46px; height: 46px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-family: var(--font-display); font-size: 24px; z-index: 2; box-shadow: 0 3px 0 rgba(0,0,0,.15); }
.rk-art { border-radius: 12px; overflow: hidden; cursor: pointer; align-self: start; }
.rk-body h2 { margin: 0 0 6px; font-size: 24px; } .rk-body h2 .card-open { font-weight: 800; }
.rk-pos { color: var(--accent); }
.rk-body .meta { font-size: 14px; color: var(--muted); margin-bottom: 8px; }
.rk-why { font-size: 17px; line-height: 1.5; margin: 10px 0 12px; }
.rk-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.rk-cols > div { background: var(--surface-2); border-radius: 10px; padding: 10px 12px; }
.rk-cols h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .03em; color: var(--muted); margin: 0 0 4px; }
.rk-cols p { margin: 0; font-size: 15px; line-height: 1.45; }
.rk-src { font-size: 13px; color: var(--muted); margin: 10px 0 0; } .rk-src a { color: inherit; }
.rk-go { display: inline-block; margin-top: 14px; padding: 10px 18px; }
.rk-method { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; max-width: 860px; }
.rk-method h2 { font-family: var(--font-display); font-weight: 400; font-size: 24px; margin: 0 0 8px; }
.rk-method li { margin-bottom: 6px; line-height: 1.5; } .rk-method a { color: var(--accent); }
.rk-more { display: flex; flex-wrap: wrap; gap: 8px; }
.rk-more a { padding: 8px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; }
.rk-more a:hover { border-color: var(--ink); }
.rk-home { margin-bottom: 16px; } .rk-home h3 { font-family: var(--font-display); font-weight: 400; font-size: 20px; margin: 0 0 8px; }
.rk-link { margin: 0 0 14px; font-weight: 700; } .rk-link a { color: var(--accent); }
@media (max-width: 760px) {
  .rk { grid-template-columns: 1fr; padding: 14px; } .rk-art { max-width: 100%; aspect-ratio: 4 / 3; }
  .rk-cols { grid-template-columns: 1fr; } .rk-quick { grid-template-columns: 1fr; } .rk-quick span { display: none; }
}
.rk-art .gbox { width: auto !important; height: 82%; }

/* ---------- guide header photo ---------- */
.lp-hero .inner.has-photo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 380px); column-gap: 32px; align-items: start; }
.lp-hero .inner.has-photo > * { grid-column: 1; }
.lp-hero .inner.has-photo > .lp-photo { grid-column: 2; grid-row: 1 / span 6; }
.lp-photo { margin: 0; }
.lp-photo img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 16px; display: block; box-shadow: 8px 8px 0 rgba(0,0,0,.12); }
.lp-photo figcaption { font-size: 11px; color: var(--muted); margin-top: 8px; }
@media (max-width: 860px) {
  .lp-hero .inner.has-photo { display: block; }
  .lp-photo { margin: 0 0 16px; } .lp-photo img { aspect-ratio: 16 / 9; }
}

/* Game pages */
a.card-open { text-decoration: none; }
a.card-open:hover { text-decoration: underline; }
.qv-more { display: inline-block; margin: 10px 0 0 14px; font-weight: 700; color: var(--accent); font-size: 15px; }
.gp { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 32px; align-items: start; }
.gp-art { position: relative; aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; background: var(--surface); box-shadow: 8px 8px 0 rgba(0,0,0,.12); }
.gp-art .photo { width: 100%; height: 100%; object-fit: cover; display: block; }
.gp-art .gbox { position: absolute !important; inset: 0; width: auto !important; height: auto !important; }
.gp-head h1 { margin: 8px 0 10px; }
.gp-lead { font-size: 18px; color: var(--muted); margin: 0 0 16px; }
.gp-facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px 18px; margin: 0 0 18px; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.gp-facts dt { font-size: 12px; color: var(--muted); font-weight: 600; }
.gp-facts dd { margin: 0; font-weight: 700; }
.gp-go { display: inline-flex; }
.gp-body { max-width: 820px; }
.gp-body h2 { margin: 28px 0 8px; }
.gp-sim { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
.gp-sim a { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; text-decoration: none; color: inherit; }
.gp-sim a:hover { border-color: var(--accent); }
.gp-sim span { font-size: 13px; color: var(--muted); }
.gp-body .opinion { margin-top: 28px; }
.az { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 8px 32px; }
.az h2 { font-size: 22px; margin: 16px 0 6px; color: var(--accent); }
.az ul { list-style: none; padding: 0; margin: 0; }
.az li { padding: 4px 0; border-bottom: 1px solid var(--line); }
.az li span { font-size: 13px; color: var(--muted); margin-left: 4px; }
@media (max-width: 760px) { .gp { grid-template-columns: 1fr; gap: 18px; } }
.gp-credit { font-size: 12px; color: var(--muted); margin: 14px 0 0; } .gp-credit a { color: inherit; }
