/* ============================================================
   World Select ― Design tokens & base
   DNA: 16Personalities + UIPocket "Finch" single-select.
   Violet brand is the single source of truth.
   ============================================================ */
:root {
  /* Brand ― violet (single source of truth) */
  --primary:      #88619A;   /* primary violet */
  --primary-700:  #654873;   /* deep violet ― hover / emphasis */
  --primary-050:  #F3EFF5;   /* lavender tint */
  --primary-100:  #E7DFEA;   /* deeper lavender tint */

  /* Per-category accents ― ALL derived from the violet family */
  --c-violet:#88619A;  --c-violet-700:#5E4173;  --c-violet-050:#F1ECF5;
  --c-grape:#7A4FA0;   --c-grape-700:#553574;   --c-grape-050:#EFE9F6;
  --c-iris:#6461AE;    --c-iris-700:#434083;    --c-iris-050:#ECECF7;
  --c-mauve:#8C6E9A;   --c-mauve-700:#5E4870;   --c-mauve-050:#F1EDF4;
  --c-plum:#9C5C82;    --c-plum-700:#6E3C58;    --c-plum-050:#F5ECF0;
  --c-orchid:#A865A6;  --c-orchid-700:#774577;  --c-orchid-050:#F6ECF5;

  /* Default accent = violet; overridden per-card/screen via accentVars() */
  --accent:      var(--c-violet);
  --accent-700:  var(--c-violet-700);
  --accent-050:  var(--c-violet-050);

  /* Semantic accents */
  --blue:         #4298B4;
  --green:        #33A474;
  --green-050:    #E6F4EE;
  --success:      #33A474;
  --success-050:  #E6F4EE;
  --danger:       #C8453B;

  /* Surfaces & ink */
  --bg:        #F3EFF5;   /* lavender page */
  --bg-2:      #E7DFEA;   /* secondary tint */
  --surface:   #FFFFFF;   /* paper */
  --tint-1:    #F3EFF5;   /* lavender tint surface */
  --tint-2:    #E7DFEA;   /* deeper lavender */
  --head:      #36263D;   /* plum heading */
  --heading:   var(--head);
  --head-ls:   -.2px;     /* Red Hat Display tracking */
  --ink:       #343C4B;   /* body ink */
  --ink-2:     #6B7280;   /* sub text (AA-safe muted grey) */
  --ink-3:     #9AA0AC;   /* tertiary */
  --line:      #E4DEE9;   /* borders */
  --line-2:    #D3CADB;

  /* Radius ― calm & modest (~8px); answer options use --r-opt */
  --r-sm: 6px;
  --r-md: 8px;
  --r-lg: 10px;
  --r-xl: 14px;
  --r-opt: 16px;
  --r-pill: 999px;

  /* Shadow ― light, cool violet-grey */
  --sh-1: 0 1px 2px rgba(54,38,61,.06), 0 1px 1px rgba(54,38,61,.04);
  --sh-2: 0 2px 4px rgba(54,38,61,.05), 0 8px 20px rgba(54,38,61,.07);
  --sh-3: 0 10px 30px rgba(54,38,61,.12), 0 2px 8px rgba(54,38,61,.06);
  --sh-primary: 0 6px 18px color-mix(in oklab, var(--primary) 30%, transparent);
  --sh-accent:  0 6px 16px color-mix(in oklab, var(--accent) 32%, transparent);

  /* Type ― Red Hat Display headings, Inter body (Noto Sans JP fallback) */
  --font-head: "Red Hat Display", "Noto Sans JP", system-ui, sans-serif;
  --font-body: "Inter", "Noto Sans JP", system-ui, sans-serif;

  --maxw: 1200px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  font-weight: 440;
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.62;
}
button { font-family: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid color-mix(in oklab, var(--primary) 55%, transparent); outline-offset: 2px; }

/* ---- App shell ---- */
.app { min-height: 100vh; display: flex; flex-direction: column; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* ============================================================
   Top bar
   ============================================================ */
.topbar {
  position: sticky; top: 0; z-index: 30;
  background: color-mix(in oklab, var(--surface) 88%, transparent);
  backdrop-filter: saturate(1.3) blur(12px);
  border-bottom: 1px solid var(--line);
}
.topbar__row { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 770; letter-spacing: -.2px; color: var(--heading); background: none; border: 0; padding: 0; font-size: 19px; line-height: 1.15; white-space: nowrap; }
.brand__mark {
  width: 30px; height: 30px; border-radius: var(--r-md); flex: none;
  background: linear-gradient(140deg, var(--primary), var(--primary-700));
  display: grid; place-items: center; color: #fff; box-shadow: var(--sh-primary);
}
.brand__mark svg { width: 18px; height: 18px; }
.brand small { font-weight: 440; color: var(--ink-2); font-family: var(--font-body); font-size: 12px; letter-spacing: 0; }
.topbar__nav { display: flex; align-items: center; gap: 6px; }
.navlink { color: var(--ink-2); font-size: 14px; font-weight: 550; font-family: var(--font-body); padding: 8px 12px; border-radius: var(--r-md); border: 0; background: none; }
.navlink:hover { background: var(--primary-050); color: var(--primary-700); }

@media (max-width: 940px) {
  .brand small { display: none; }
  .navlink--hideable { display: none; }
}
@media (max-width: 680px) {
  .topbar__row { height: 56px; }
  .topbar { top: 0; }
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; border-radius: var(--r-md); font-weight: 550; font-family: var(--font-body);
  font-size: 16px; line-height: 1; padding: 0 22px; min-height: 52px;
  transition: transform .12s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--primary); color: #fff; box-shadow: var(--sh-primary); }
.btn--primary:hover { background: var(--primary-700); }
.btn--primary:disabled { background: var(--line-2); color: #fff; box-shadow: none; cursor: not-allowed; opacity: .85; }
.btn--ghost { background: var(--surface); color: var(--primary-700); border: 1.5px solid var(--line-2); }
.btn--ghost:hover { border-color: var(--primary); background: var(--primary-050); }
.btn--soft { background: var(--primary-050); color: var(--primary-700); }
.btn--soft:hover { background: var(--primary-100); }
.btn--block { width: 100%; }
.btn--lg { min-height: 56px; font-size: 17px; }
.btn svg { width: 19px; height: 19px; }

.iconbtn { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: var(--r-md); border: 1.5px solid var(--line-2); background: var(--surface); color: var(--ink-2); transition: .15s; }
.iconbtn:hover { border-color: var(--primary); color: var(--primary-700); background: var(--primary-050); }
.iconbtn svg { width: 20px; height: 20px; }

/* ============================================================
   Progress bar
   ============================================================ */
.progress { height: 6px; width: 100%; background: var(--bg-2); border-radius: var(--r-pill); overflow: hidden; }
.progress__fill { height: 100%; background: linear-gradient(90deg, var(--primary), var(--primary-700)); border-radius: inherit; transition: width .45s cubic-bezier(.4,0,.2,1); }

/* ============================================================
   Eyebrow / chips / badges
   ============================================================ */
.eyebrow { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-head); font-weight: 700; font-size: 13px; letter-spacing: 0; color: var(--primary-700); }
.qcount { font-family: var(--font-head); font-weight: 770; letter-spacing: -.2px; font-size: 15px; color: var(--ink-2); }
.qcount b { color: var(--primary-700); font-size: 19px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: var(--r-pill); background: var(--primary-050); color: var(--primary-700); font-size: 13px; font-weight: 550; }
.chip svg { width: 14px; height: 14px; }
/* Per-accent pill badge ― inherits --accent-* from accentVars() on an ancestor */
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: var(--r-pill); background: var(--accent-050); color: var(--accent-700); font-family: var(--font-head); font-weight: 700; font-size: 12px; letter-spacing: 0; white-space: nowrap; }
.badge svg { width: 13px; height: 13px; }

/* ============================================================
   Helpers
   ============================================================ */
.h1 { font-family: var(--font-head); font-weight: 770; font-size: clamp(28px, 6vw, 40px); line-height: 1.2; letter-spacing: -.2px; margin: 0; color: var(--heading); text-wrap: balance; }
.h2 { font-family: var(--font-head); font-weight: 770; font-size: clamp(22px, 4.5vw, 30px); line-height: 1.28; letter-spacing: -.2px; margin: 0; color: var(--heading); }
.lead { color: var(--ink-2); font-size: 16px; margin: 0; }
.muted { color: var(--ink-3); }
/* Base state is fully visible; entrance is a no-preference enhancement.
   Transform-only (no opacity hold) so paused/throttled timelines never hide content. */
@media (prefers-reduced-motion: no-preference) {
  .fade-in { animation: fadeUp .55s cubic-bezier(.2,.7,.2,1) both; }
  @keyframes fadeUp { from { transform: translateY(12px); } to { transform: none; } }
}
/* ============================================================
   World Select ― Screen layouts (violet/lavender system)
   ============================================================ */

/* ====================== QUIZ (回答画面) ====================== */
.quiz { padding: 0 0 124px; }
.quiz__bar { position: sticky; top: 64px; z-index: 20; background: color-mix(in oklab, var(--bg) 92%, transparent); backdrop-filter: blur(8px); padding: 16px 0 15px; }
.quiz__barrow { display: flex; align-items: center; gap: 14px; margin-bottom: 11px; }
.quiz__barrow .qcount { white-space: nowrap; }
.quiz__title-mini { font-size: 13px; color: var(--ink-3); font-weight: 600; margin-left: auto; }
@media (max-width: 680px) { .quiz__bar { top: 58px; } }

.quiz__grid { display: grid; grid-template-columns: 1fr; gap: 28px; padding-top: 20px; }
@media (min-width: 940px) {
  .quiz__grid { grid-template-columns: 360px 1fr; gap: 60px; align-items: start; padding-top: 44px; }
}

.quiz__aside { display: none; }
@media (min-width: 940px) { .quiz__aside { display: block; position: sticky; top: 162px; } }
.quiz__bignum { font-family: var(--font-head); font-weight: 700; font-size: 14px; color: var(--ink-3); letter-spacing: .04em; }
.quiz__bignum b { display: block; font-size: 92px; line-height: 1; color: var(--accent); margin-top: 6px; letter-spacing: -.03em; }
.quiz__bignum b span { color: var(--line-2); font-size: 42px; }
.quiz__asidecard { margin-top: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; box-shadow: var(--sh-1); }
.quiz__asidecard .badge { margin-bottom: 12px; }
.quiz__asidecard p { margin: 8px 0 0; font-size: 14px; color: var(--ink-2); }
.quiz__visual { margin-top: 20px; height: 156px; border-radius: var(--r-md); position: relative; overflow: hidden;
  background:
    radial-gradient(130% 130% at 0% 0%, var(--accent-050), transparent 58%),
    radial-gradient(130% 130% at 100% 100%, var(--tint-2), transparent 55%),
    var(--tint-1);
  border: 1px solid var(--line); }
.quiz__visual::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(color-mix(in oklab, var(--accent) 30%, transparent) 1.5px, transparent 1.5px); background-size: 18px 18px; opacity: .35; }
.quiz__visual svg { position: absolute; right: 18px; bottom: 16px; width: 64px; height: 64px; color: color-mix(in oklab, var(--accent) 60%, var(--surface)); opacity: .9; }

.question { max-width: 100%; }
.question__head { margin-bottom: 24px; }
.question__art { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: var(--r-lg); margin-bottom: 16px;
  background: radial-gradient(120% 120% at 20% 15%, color-mix(in oklab, var(--accent) 24%, var(--surface)), transparent 60%), var(--accent-050);
  color: var(--accent-700); border: 1px solid color-mix(in oklab, var(--accent) 18%, var(--line)); }
@media (min-width: 940px) { .question__art { display: none; } }
.question__h { font-family: var(--font-head); font-weight: 800; font-size: clamp(25px, 4.6vw, 36px); line-height: 1.34; letter-spacing: var(--head-ls); margin: 14px 0 0; color: var(--head); text-wrap: pretty; }
.question__hint { color: var(--ink-3); font-size: 14px; margin: 13px 0 0; }

.options { display: flex; flex-direction: column; gap: 11px; margin-top: 8px; }
.opt {
  display: flex; align-items: center; gap: 15px; width: 100%; text-align: left;
  min-height: 60px; padding: 10px 18px; border-radius: var(--r-opt);
  background: var(--surface); border: 1.5px solid var(--line);
  color: var(--ink); font-size: 16px; font-weight: 600; font-family: var(--font-body);
}
.opt:hover { border-color: var(--line-2); box-shadow: var(--sh-1); }
.opt__icon { flex: none; width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: var(--tint-1); color: var(--ink-2); }
.opt__icon svg { width: 22px; height: 22px; }
.opt__label { flex: 1; line-height: 1.4; }
.opt__check { flex: none; width: 25px; height: 25px; border-radius: var(--r-pill); border: 2px solid var(--line-2); display: grid; place-items: center; color: #fff; }
.opt__check svg { width: 14px; height: 14px; opacity: 0; }
.opt.is-selected { border-color: var(--accent); background: var(--accent-050); box-shadow: 0 0 0 1px var(--accent) inset; }
.opt.is-selected .opt__icon { background: var(--accent); color: #fff; }
.opt.is-selected .opt__check { background: var(--accent); border-color: var(--accent); }
.opt.is-selected .opt__check svg { opacity: 1; }
.opt.is-selected .opt__label { color: var(--accent-700); }

@media (min-width: 940px) {
  .options.is-twocol { display: grid; grid-template-columns: 1fr 1fr; }
}

/* Sticky CTA footer */
.quiz__cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 25;
  background: color-mix(in oklab, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px); border-top: 1px solid var(--line);
  padding: 15px 0 calc(15px + env(safe-area-inset-bottom));
}
.quiz__cta .container { display: flex; align-items: center; gap: 14px; }
.quiz__back { flex: none; }
@media (min-width: 940px) {
  .quiz__cta .container { justify-content: flex-end; }
  .quiz__cta .btn--primary { min-width: 300px; width: auto; flex: none; }
  .quiz__back { margin-right: auto; }
}

/* ====================== RESULT (診断結果) ====================== */
.result { padding: 34px 0 100px; }
.result__hero {
  background: var(--primary); color: #fff;
  border-radius: var(--r-xl); box-shadow: var(--sh-2);
  padding: 34px 24px 40px; overflow: hidden; position: relative;
}
.result__hero::before { content: ""; position: absolute; inset: 0; background:
    radial-gradient(110% 80% at 90% 8%, rgba(255,255,255,.14), transparent 55%),
    radial-gradient(90% 80% at 8% 100%, rgba(0,0,0,.12), transparent 60%);
  pointer-events: none; }
@media (min-width: 940px) {
  .result__hero { display: grid; grid-template-columns: 1.02fr .98fr; gap: 44px; align-items: center; padding: 48px; }
}
.result__type { position: relative; z-index: 1; }
.result__type .badge { margin-bottom: 16px; background: rgba(255,255,255,.16); color: #fff; }
.result__type .badge svg { color: #fff; }
.result__typename { font-family: var(--font-head); font-weight: 800; font-size: clamp(28px, 6vw, 46px); line-height: 1.16; margin: 0 0 16px; letter-spacing: var(--head-ls); color: #fff; }
.result__typename em { font-style: normal; color: #fff; }
.result__typename em::after { content: ""; display: block; height: 4px; border-radius: 3px; background: rgba(255,255,255,.4); margin-top: 6px; max-width: 220px; }
.result__desc { color: rgba(255,255,255,.92); font-size: 16px; margin: 0; max-width: 46ch; }
.result__tags { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 20px; }
.result__type .chip { background: rgba(255,255,255,.16); color: #fff; }
.result__type .chip svg { color: #fff; }

/* Score on a white card so the big number pops on the plum band */
.score { position: relative; z-index: 1; text-align: center; margin-top: 26px; background: var(--surface); border-radius: var(--r-lg); padding: 26px 20px; box-shadow: var(--sh-2); }
@media (min-width: 940px) { .score { margin-top: 0; padding: 30px 24px; } }
.score__label { font-family: var(--font-head); font-weight: 700; font-size: 14px; color: var(--ink-2); letter-spacing: .02em; }
.score__num { font-family: var(--font-head); font-weight: 800; font-size: clamp(76px, 16vw, 132px); line-height: .9; color: var(--accent); letter-spacing: -.03em; margin-top: 4px; }
.score__rank { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; padding: 8px 20px; border-radius: var(--r-pill); background: var(--accent-700); color: #fff; font-weight: 800; font-size: 15px; font-family: var(--font-head); white-space: nowrap; box-shadow: var(--sh-accent); }
.score__rank svg { color: #fff; }
.curve { margin: 18px auto 0; max-width: 380px; width: 100%; }
.ring { margin: 6px auto 0; width: 210px; height: 210px; }

.result__section { margin-top: 52px; }
.result__sectionhead { margin-bottom: 6px; }
.products { display: grid; grid-template-columns: 1fr; gap: 18px; margin-top: 22px; }
@media (min-width: 620px) { .products { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .products { grid-template-columns: repeat(3, 1fr); } }

.pcard { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-1); transition: transform .18s, box-shadow .18s; }
.pcard:hover { transform: translateY(-3px); box-shadow: var(--sh-3); }
.pcard__media { aspect-ratio: 4 / 3; position: relative; display: grid; place-items: center; color: #fff; }
.pcard__media .ph-icon { width: 58px; height: 58px; opacity: .95; }
.pcard__media .ph-tag { position: absolute; left: 13px; top: 13px; background: rgba(255,255,255,.92); color: var(--ink-2); font-size: 11px; font-weight: 700; padding: 4px 11px; border-radius: var(--r-pill); }
.pcard__pick { position: absolute; right: 13px; top: 13px; background: #fff; color: var(--accent-700); font-size: 11px; font-weight: 800; padding: 5px 12px; border-radius: var(--r-pill); box-shadow: var(--sh-1); display: flex; align-items: center; gap: 5px; font-family: var(--font-head); }
.pcard__pick svg { width: 12px; height: 12px; color: var(--accent); }
.pcard__body { padding: 17px 17px 19px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.pcard__name { font-family: var(--font-head); font-weight: 700; font-size: 16px; line-height: 1.42; margin: 0; color: var(--head); letter-spacing: var(--head-ls); }
.pcard__desc { color: var(--ink-2); font-size: 14px; margin: 0; flex: 1; }
.pcard__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 4px; }
.pcard__price { font-family: var(--font-head); font-weight: 800; font-size: 21px; color: var(--head); white-space: nowrap; letter-spacing: var(--head-ls); }
.pcard__price small { font-size: 12px; color: var(--ink-3); font-weight: 600; margin-left: 2px; }
.pcard__buy { min-height: 44px; padding: 0 18px; font-size: 14px; }

.share { margin-top: 48px; padding: 30px 26px; border-radius: var(--r-xl); background: var(--tint-1); text-align: center; }
.share h3 { font-family: var(--font-head); font-weight: 800; font-size: 19px; margin: 0 0 5px; color: var(--head); letter-spacing: var(--head-ls); }
.share p { color: var(--ink-2); font-size: 14px; margin: 0 0 20px; }
.share__row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.sbtn { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 20px; border-radius: var(--r-pill); border: 0; color: #fff; font-weight: 700; font-size: 14px; white-space: nowrap; }
.sbtn svg { width: 18px; height: 18px; }
.sbtn--x { background: #1A1A1A; }
.sbtn--line { background: #06C755; }
.sbtn--fb { background: #1877F2; }
.sbtn--copy { background: var(--surface); color: var(--head); border: 1.5px solid var(--line-2); }

.result__again { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 40px; }

/* ====================== HUB (トップ) ====================== */
/* 16P signature: solid dusty-plum hero band, white text, torn bottom edge */
.hero { position: relative; background: var(--primary); color: #fff; padding: 36px 0 70px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 36px), 90% calc(100% - 18px), 79% calc(100% - 31px), 67% calc(100% - 15px), 55% calc(100% - 27px), 43% calc(100% - 13px), 31% calc(100% - 26px), 19% calc(100% - 12px), 8% calc(100% - 23px), 0 calc(100% - 14px)); }
.hero::before { content: ""; position: absolute; inset: 0; background:
    radial-gradient(120% 90% at 88% 10%, rgba(255,255,255,.12), transparent 55%),
    radial-gradient(90% 80% at 10% 100%, rgba(0,0,0,.10), transparent 60%);
  pointer-events: none; }
@media (min-width: 940px) {
  .hero { padding: 60px 0 96px; }
  .hero .container { display: grid; grid-template-columns: 1.04fr .96fr; gap: 56px; align-items: center; }
}
.hero__copy { position: relative; z-index: 1; }
/* Kicker ― small-caps, letter-spaced, separated words (16P DNA) */
.kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-bottom: 20px; }
.kicker span { font-family: var(--font-head); font-weight: 700; font-size: 12.5px; letter-spacing: 1.2px; text-transform: uppercase; color: rgba(255,255,255,.92); }
.kicker span + span { position: relative; }
.kicker span + span::before { content: "・"; position: absolute; left: -11px; color: rgba(255,255,255,.5); }
.hero__h { font-family: var(--font-head); font-weight: 800; font-size: clamp(34px, 7.6vw, 60px); line-height: 1.1; letter-spacing: var(--head-ls); margin: 0; color: #fff; text-wrap: balance; }
.hero__h em { font-style: normal; color: #fff; position: relative; white-space: nowrap; }
.hero__h em::after { content: ""; position: absolute; left: -2px; right: -2px; bottom: 4px; height: 13px; background: rgba(255,255,255,.22); z-index: -1; border-radius: 5px; }
.hero__sub { color: rgba(255,255,255,.92); font-size: clamp(16px, 2.2vw, 18px); margin: 20px 0 0; max-width: 46ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn--onplum { background: #fff; color: var(--primary-700); box-shadow: 0 6px 18px rgba(54,38,61,.22); }
.btn--onplum:hover { background: #fff; color: var(--primary-700); filter: brightness(.97); }
.btn--onplum-ghost { background: rgba(255,255,255,.10); color: #fff; border: 1.5px solid rgba(255,255,255,.7); }
.btn--onplum-ghost:hover { background: rgba(255,255,255,.18); border-color: #fff; }
.hero__stats { display: flex; gap: 30px; margin-top: 34px; }
.hero__stat b { font-family: var(--font-head); font-weight: 800; font-size: 28px; color: #fff; display: block; line-height: 1; letter-spacing: var(--head-ls); }
.hero__stat span { font-size: 13px; color: rgba(255,255,255,.8); }

.hero__art { display: none; }
@media (min-width: 940px) { .hero__art { display: block; position: relative; z-index: 1; } }
.hero__panel { position: relative; aspect-ratio: 5 / 4.5; border-radius: var(--r-xl); overflow: hidden;
  background:
    radial-gradient(120% 110% at 16% 10%, rgba(255,255,255,.20), transparent 55%),
    radial-gradient(120% 120% at 92% 92%, rgba(54,38,61,.30), transparent 55%),
    color-mix(in oklab, var(--primary) 78%, #2A1B30);
  border: 1px solid rgba(255,255,255,.18); box-shadow: var(--sh-3); }
.hero__panel::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.16) 1.5px, transparent 1.5px); background-size: 20px 20px; opacity: .5; }
.hero__float { position: absolute; z-index: 1; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-2); padding: 15px 17px; }
.hero__float--1 { left: 28px; top: 30px; width: 236px; }
.hero__float--2 { right: 24px; top: 126px; width: 204px; }
.hero__float--3 { left: 40px; bottom: 28px; width: 244px; }
.hero__float .eyebrow { font-size: 11.5px; }
.hero__float .miniscore { font-family: var(--font-head); font-weight: 800; font-size: 40px; color: var(--c-violet); line-height: 1; letter-spacing: -.02em; }
.hero__float .opt { min-height: 0; padding: 9px 11px; font-size: 13px; box-shadow: none; pointer-events: none; }

.section { padding: 40px 0; }
.section--tint { background: var(--tint-1); }
@media (min-width: 940px) { .section { padding: 60px 0; } }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 26px; flex-wrap: wrap; }
.section__head .lead { margin-top: 8px; }

.genres { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 560px) { .genres { grid-template-columns: 1fr 1fr; } }
@media (min-width: 940px) { .genres { grid-template-columns: repeat(3, 1fr); } }

.gcard { position: relative; text-align: left; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-1); transition: transform .2s cubic-bezier(.2,.7,.2,1), box-shadow .2s, border-color .2s; }
.gcard:hover { transform: translateY(-5px); box-shadow: var(--sh-3); border-color: color-mix(in oklab, var(--accent) 40%, var(--line)); }
.gcard__media { height: 140px; position: relative; display: grid; place-items: center; overflow: hidden;
  background:
    radial-gradient(120% 130% at 18% 12%, color-mix(in oklab, var(--accent) 26%, var(--surface)), transparent 60%),
    var(--accent-050); }
.gcard__media .ph-icon { color: var(--accent); }
.gcard__media::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(color-mix(in oklab, var(--accent) 28%, transparent) 1.5px, transparent 1.5px); background-size: 16px 16px; opacity: .4; }
.gcard__media .gcard__q { position: absolute; right: 13px; bottom: 13px; background: rgba(255,255,255,.92); color: var(--accent-700); font-size: 11px; font-weight: 700; padding: 4px 11px; border-radius: var(--r-pill); z-index: 1; white-space: nowrap; }
.gcard__body { padding: 18px 20px 20px; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; flex: 1; }
.gcard__body .badge { align-self: flex-start; }
.gcard__title { font-family: var(--font-head); font-weight: 800; font-size: 19px; line-height: 1.34; margin: 0; color: var(--head); letter-spacing: var(--head-ls); }
.gcard__desc { color: var(--ink-2); font-size: 14px; margin: 0; flex: 1; text-align: left; }
.gcard__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; flex-wrap: wrap; width: 100%; }
.gcard__time { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--ink-3); font-weight: 600; white-space: nowrap; }
.gcard__time svg { width: 14px; height: 14px; }
.gcard__go { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--accent-700); }
.gcard__go svg { width: 16px; height: 16px; transition: transform .18s; }
.gcard:hover .gcard__go svg { transform: translateX(3px); }

.gcard--feat { grid-column: 1 / -1; }
@media (min-width: 940px) {
  .gcard--feat { flex-direction: row; }
  .gcard--feat .gcard__media { width: 44%; height: auto; }
  .gcard--feat .gcard__media .ph-icon { width: 76px; height: 76px; }
  .gcard--feat .gcard__body { padding: 36px; justify-content: center; gap: 10px; }
  .gcard--feat .gcard__title { font-size: 28px; }
  .gcard--feat .gcard__desc { font-size: 15px; max-width: 52ch; }
}

.footer { margin-top: auto; padding: 34px 0; border-top: 1px solid var(--line); color: var(--ink-3); font-size: 13px; background: var(--tint-1); }
.footer .container { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; }
