/* ============================================================
   pages.css — catalog · game detail · ranking
   (loaded after site.css on sub-pages)
   ============================================================ */

a.game-card { color: inherit; text-decoration: none; }

/* ---------- page hero (sub-pages) ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line-soft);
  padding-block: clamp(40px, 6vw, 72px) clamp(28px, 4vw, 40px);
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 52px 52px;
  opacity: .45;
  -webkit-mask-image: radial-gradient(120% 100% at 20% 0%, #000 30%, transparent 76%);
          mask-image: radial-gradient(120% 100% at 20% 0%, #000 30%, transparent 76%);
}
body.no-grid .page-hero::before { display: none; }
.page-hero .wrap { position: relative; }
.breadcrumb {
  display: flex; align-items: center; gap: 9px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.04em; color: var(--faint);
  margin-bottom: 18px;
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { opacity: .5; }
.page-hero h1 { font-size: clamp(34px, 5vw, 54px); line-height: 1.04; }
.page-hero .lead { margin: 16px 0 0; color: var(--muted); font-size: 18px; max-width: 60ch; }

/* ============================================================
   CATALOG — filter bar
   ============================================================ */
.filters {
  position: sticky;
  top: 63px;
  z-index: 30;
  background: color-mix(in oklch, var(--bg) 90%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
.filters .wrap {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 18px;
  padding-block: 15px;
}
.filter-group { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.filter-label {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--faint);
}
.search-box {
  display: flex; align-items: center; gap: 9px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-2);
  padding: 9px 13px;
  min-width: 220px;
}
.search-box:focus-within { border-color: var(--accent); }
.search-box span { color: var(--faint); font-size: 14px; }
.search-box input {
  border: 0; background: transparent; outline: none;
  color: var(--fg); font-family: var(--font-body); font-size: 14px; width: 100%;
}
.search-box input::placeholder { color: var(--faint); }
.fchip {
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.04em;
  color: var(--muted);
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 100px;
  padding: 6px 13px;
  cursor: pointer;
  transition: all .16s ease;
}
.fchip:hover { border-color: var(--fg); color: var(--fg); }
.fchip[aria-pressed="true"] {
  background: var(--accent); color: var(--accent-fg); border-color: var(--accent); font-weight: 600;
}
.sort-select {
  font-family: var(--font-mono); font-size: 12px; color: var(--fg);
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 9px 12px;
  cursor: pointer;
}
.filters-meta {
  margin-left: auto;
  display: flex; align-items: center; gap: 16px;
}
.result-count { font-family: var(--font-mono); font-size: 12px; color: var(--faint); }
.result-count b { color: var(--accent); }
.clear-btn {
  font-family: var(--font-mono); font-size: 12px; color: var(--muted);
  background: none; border: 0; cursor: pointer; padding: 0;
  border-bottom: 1px solid var(--line);
}
.clear-btn:hover { color: var(--accent); border-color: var(--accent); }

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 1080px) { .catalog-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 820px)  { .catalog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px)  { .catalog-grid { grid-template-columns: 1fr; } }

.empty {
  text-align: center;
  padding: 80px 20px;
  font-family: var(--font-mono); color: var(--faint); font-size: 14px;
  border: 1px dashed var(--line); border-radius: var(--radius);
}

/* price in card meta */
.cprice { color: var(--fg); font-weight: 500; }

/* view toggle */
.view-toggle { display: inline-flex; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.vt-btn {
  width: 36px; height: 36px; display: grid; place-items: center;
  font-size: 15px; background: transparent; color: var(--muted);
  border: 0; border-left: 1px solid var(--line); cursor: pointer; transition: background-color .16s ease, color .16s ease;
}
.vt-btn:first-child { border-left: 0; }
.vt-btn:hover { color: var(--fg); }
.vt-btn[aria-pressed="true"] { background: var(--accent); color: var(--accent-fg); }

/* list view */
.catalog-grid.list { grid-template-columns: 1fr; gap: 14px; }
.catalog-grid.list .game-card { flex-direction: row; align-items: stretch; }
.catalog-grid.list .game-card .shot { width: 248px; flex: none; aspect-ratio: 16 / 10; }
.catalog-grid.list .game-card-body { padding: 20px 24px; }
.catalog-grid.list .game-card p { max-width: 70ch; }
@media (max-width: 600px) {
  .catalog-grid.list .game-card { flex-direction: column; }
  .catalog-grid.list .game-card .shot { width: auto; aspect-ratio: 16 / 9; }
}

/* ============================================================
   GAME DETAIL
   ============================================================ */
/* full-width title block */
.gp-head { padding-top: clamp(6px, 2vw, 14px); }
.gp-meta {
  font-family: var(--font-mono); font-size: 12px; color: var(--faint); letter-spacing: 0.05em;
  display: flex; align-items: center; gap: 9px; flex-wrap: wrap;
}
.gp-meta .cid { color: var(--accent); }
.gp-meta .sep { width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: .5; }
.gp-head h1 { font-size: clamp(32px, 4.4vw, 50px); margin: 12px 0 0; }
.gp-tagline { margin: 12px 0 0; color: var(--muted); font-size: 18px; max-width: 60ch; }

/* two-column body: media + reading on the left, sticky info card on the right */
.gp-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 322px;
  grid-template-areas: "media side" "main side";
  gap: clamp(26px, 3.5vw, 44px);
  align-items: start;
  padding-block: clamp(26px, 4vw, 38px) clamp(48px, 6vw, 80px);
}
.gp-media { grid-area: media; }
.gp-side  { grid-area: side; }
.gp-main  { grid-area: main; min-width: 0; }

.gallery .shot.main { aspect-ratio: 16 / 9; border-radius: var(--radius); }
.gallery-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 10px; }
.gallery-thumbs .shot { aspect-ratio: 16 / 10; border-radius: 3px; cursor: pointer; transition: border-color .18s ease, transform .18s ease; }
.gallery-thumbs .shot:hover { border-color: var(--accent); transform: translateY(-2px); }

/* sticky info card */
.gp-side {
  position: sticky;
  top: 80px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-2);
  padding: 22px 22px 24px;
  display: flex; flex-direction: column; gap: 18px;
}
.sb-score { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; }
.gp-score { font-family: var(--font-mono); font-weight: 600; font-size: 42px; color: var(--accent); line-height: .9; }
.gp-score span { font-size: 15px; color: var(--faint); }
.gp-score-label { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); margin-top: 6px; }
.gp-rankbadge { text-align: right; }
.gp-rankbadge .r { font-family: var(--font-mono); font-size: 26px; font-weight: 600; color: var(--fg); line-height: 1; }
.gp-rankbadge .l { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.07em; text-transform: uppercase; color: var(--faint); margin-top: 5px; }
.sb-divider { height: 1px; background: var(--line-soft); }
.gp-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.gp-buy { display: flex; flex-direction: column; gap: 10px; }
.gp-buy .btn { justify-content: center; }
.gp-note { font-family: var(--font-mono); font-size: 10.5px; color: var(--faint); text-align: center; margin: 2px 0 0; }

.spec-table { display: grid; }
.gp-side .spec-table { border-top: 1px solid var(--line-soft); }
.spec-row {
  display: grid; grid-template-columns: 92px 1fr; gap: 12px;
  padding: 11px 0; border-bottom: 1px solid var(--line-soft);
}
.gp-side .spec-row:last-child { border-bottom: 0; padding-bottom: 0; }
.spec-row dt { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--faint); margin: 0; align-self: center; }
.spec-row dd { margin: 0; font-size: 14px; color: var(--fg); }

/* left-column reading sections */
.gp-main > section { padding-top: clamp(32px, 4vw, 46px); margin-top: clamp(32px, 4vw, 46px); border-top: 1px solid var(--line-soft); }
.gp-main > section:first-child { padding-top: 0; margin-top: 0; border-top: 0; }
.gp-main .eyebrow { margin-bottom: 16px; display: inline-flex; }
.gp-main h2 { font-size: clamp(22px, 2.6vw, 28px); margin-bottom: 20px; }
.about-copy p { font-size: 17px; line-height: 1.7; color: var(--fg); margin: 0 0 18px; }
.about-copy p:last-child { margin-bottom: 0; color: var(--muted); }

.mech-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; }
.mech { background: var(--bg); padding: 22px 20px; }
.mech .mi { font-family: var(--font-mono); font-size: 12px; color: var(--accent); }
.mech h3 { font-size: 18px; margin: 11px 0 7px; }
.mech p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.55; }
@media (max-width: 520px) { .mech-grid { grid-template-columns: 1fr; } }

.screens-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.screens-strip .shot { aspect-ratio: 16 / 10; border-radius: var(--radius); }

@media (max-width: 860px) {
  .gp-grid { grid-template-columns: 1fr; grid-template-areas: "media" "side" "main"; }
  .gp-side { position: static; }
}

/* ============================================================
   RANKING PAGE
   ============================================================ */
.method {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  padding-block: clamp(36px, 5vw, 52px);
  border-bottom: 1px solid var(--line-soft);
}
.method p { color: var(--muted); font-size: 16px; margin: 14px 0 0; }
.method-bars { display: flex; flex-direction: column; gap: 14px; }
.method-bar { display: grid; grid-template-columns: 130px 1fr 44px; align-items: center; gap: 14px; }
.method-bar .mb-l { font-family: var(--font-mono); font-size: 12px; color: var(--fg); letter-spacing: 0.03em; }
.method-bar .mb-track { height: 6px; border-radius: 100px; background: var(--bg-3); overflow: hidden; }
.method-bar .mb-track i { display: block; height: 100%; background: var(--accent); border-radius: 100px; }
.method-bar .mb-v { font-family: var(--font-mono); font-size: 12px; color: var(--muted); text-align: right; }

.rank-full { padding-block: clamp(36px, 5vw, 56px); }
.rank-full .rank-num { font-size: 34px; }

/* ============================================================
   ARTICLE (news / review template)
   ============================================================ */
.article-head { max-width: 760px; }
.article-meta {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  font-family: var(--font-mono); font-size: 12px; color: var(--faint); letter-spacing: 0.04em;
  margin-bottom: 18px;
}
.article-meta .pill {
  color: var(--accent);
  border: 1px solid color-mix(in oklch, var(--accent) 40%, transparent);
  border-radius: 100px; padding: 3px 10px;
  text-transform: uppercase; font-size: 10.5px; letter-spacing: 0.08em;
}
.article-head h1 { font-size: clamp(32px, 4.6vw, 52px); line-height: 1.05; }
.article-deck { margin: 18px 0 0; font-size: 20px; color: var(--muted); line-height: 1.45; }
.byline {
  display: flex; align-items: center; gap: 12px;
  margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line-soft);
}
.byline .avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--bg-3); border: 1px solid var(--line);
  display: grid; place-items: center;
  font-family: var(--font-mono); font-size: 13px; color: var(--accent); flex: none;
}
.byline .bl-name { font-size: 14px; color: var(--fg); font-weight: 500; }
.byline .bl-role { font-family: var(--font-mono); font-size: 11px; color: var(--faint); letter-spacing: 0.04em; margin-top: 2px; }

.article-figure { margin-block: clamp(28px, 4vw, 44px); }
.article-figure .shot { aspect-ratio: 16 / 8; border-radius: var(--radius); }
.article-figure figcaption {
  font-family: var(--font-mono); font-size: 11.5px; color: var(--faint);
  margin-top: 10px; letter-spacing: 0.03em;
}

.prose { max-width: 720px; margin-inline: auto; }
.prose > .article-hero-shot {
  aspect-ratio: 16 / 8;
  border-radius: var(--radius);
  margin-bottom: clamp(28px, 4vw, 42px);
}
.prose > p { font-size: 18px; line-height: 1.74; color: var(--fg); margin: 0 0 22px; }
.prose > p.lead { font-size: 21px; line-height: 1.6; color: var(--fg); }
.prose > h2 { font-size: clamp(24px, 3vw, 30px); margin: 40px 0 16px; }
.prose > h3 { font-size: 20px; margin: 30px 0 12px; }
.prose a.inline { color: var(--accent); border-bottom: 1px solid color-mix(in oklch, var(--accent) 40%, transparent); }
.prose > ul {
  margin: 0 0 24px;
  padding-left: 22px;
  color: var(--fg);
}
.prose > ul li {
  font-size: 17px;
  line-height: 1.68;
  margin-bottom: 10px;
}
.prose > ul li::marker { color: var(--accent); }
.article-table-wrap {
  overflow-x: auto;
  margin: clamp(26px, 4vw, 40px) 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--panel);
}
.article-table-wrap table {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
}
.article-table-wrap th,
.article-table-wrap td {
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line-soft);
}
.article-table-wrap th {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  background: color-mix(in oklch, var(--panel-2) 70%, transparent);
}
.article-table-wrap td {
  font-size: 15px;
  line-height: 1.55;
  color: var(--fg);
}
.article-table-wrap tr:last-child td { border-bottom: 0; }
.article-links,
.article-sources {
  max-width: 720px;
  margin: clamp(28px, 4vw, 42px) auto;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-2);
}
.article-links h3 { font-size: 18px; margin: 0 0 14px; }
.article-sources { margin-top: clamp(34px, 5vw, 52px); }
.article-sources .eyebrow { margin-bottom: 14px; display: inline-flex; }
.source-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.source-list a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  padding: 12px 13px;
  color: var(--fg);
  background: var(--bg);
  transition: border-color .16s ease, background-color .16s ease;
}
.source-list a:hover {
  border-color: color-mix(in oklch, var(--accent) 55%, var(--line));
  background: var(--bg-3);
}
.source-list span {
  font-size: 14px;
  line-height: 1.35;
}
.source-list small {
  font-family: var(--font-mono);
  font-size: 10.5px;
  line-height: 1.35;
  color: var(--faint);
}
@media (max-width: 620px) { .source-list { grid-template-columns: 1fr; } }
.pull-quote {
  margin: 36px 0; padding: 4px 0 4px 26px;
  border-left: 3px solid var(--accent);
  font-family: var(--font-head); font-weight: var(--head-weight);
  font-size: clamp(22px, 2.6vw, 28px); line-height: 1.25; color: var(--fg);
  letter-spacing: var(--head-spacing);
}

.verdict {
  margin: 40px 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-2);
  overflow: hidden;
}
.verdict-top {
  display: flex; align-items: center; gap: 20px;
  padding: 22px 24px; border-bottom: 1px solid var(--line);
}
.verdict-score { font-family: var(--font-mono); font-weight: 600; font-size: 40px; color: var(--accent); line-height: 1; }
.verdict-score span { font-size: 15px; color: var(--faint); }
.verdict-top .vt-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); }
.verdict-top h3 { font-size: 19px; margin-top: 4px; }
.verdict-top .btn { margin-left: auto; }
.verdict-cols { display: grid; grid-template-columns: 1fr 1fr; }
.verdict-col { padding: 20px 24px; }
.verdict-col + .verdict-col { border-left: 1px solid var(--line); }
.verdict-col h4 {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--faint); margin-bottom: 12px;
}
.verdict-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.verdict-col li { font-size: 14.5px; color: var(--muted); padding-left: 20px; position: relative; }
.verdict-col li::before { position: absolute; left: 0; font-family: var(--font-mono); }
.verdict-col.pros li::before { content: "+"; color: var(--good); }
.verdict-col.cons li::before { content: "–"; color: var(--warn); }
@media (max-width: 560px) {
  .verdict-cols { grid-template-columns: 1fr; }
  .verdict-col + .verdict-col { border-left: 0; border-top: 1px solid var(--line); }
  .verdict-top { flex-wrap: wrap; }
  .verdict-top .btn { margin-left: 0; width: 100%; justify-content: center; }
}

.article-foot {
  max-width: 720px; margin: clamp(40px, 5vw, 60px) auto 0;
  padding-top: 28px; border-top: 1px solid var(--line-soft);
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about-section { padding-block: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line-soft); }
.about-lead { max-width: 760px; }
.about-lead p { font-size: 20px; line-height: 1.6; color: var(--fg); margin: 18px 0 0; }
.about-lead p.dim { color: var(--muted); font-size: 17px; }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; }
.value { background: var(--bg); padding: 26px 24px; }
.value .vi { font-family: var(--font-mono); font-size: 12px; color: var(--accent); letter-spacing: 0.06em; }
.value h3 { font-size: 19px; margin: 12px 0 8px; }
.value p { margin: 0; font-size: 14.5px; color: var(--muted); line-height: 1.55; }
@media (max-width: 760px) { .value-grid { grid-template-columns: 1fr; } }

.cta-box {
  position: relative; overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-2);
  padding: clamp(32px, 5vw, 56px);
  text-align: center;
}
.cta-box .hud-corners { inset: 14px; opacity: .55; }
.cta-box h2 { font-size: clamp(26px, 3.4vw, 38px); }
.cta-box p { color: var(--muted); font-size: 17px; margin: 14px auto 0; max-width: 52ch; }
.cta-box .cta-actions { display: flex; gap: 14px; justify-content: center; margin-top: 28px; flex-wrap: wrap; }

/* ============================================================
   NEWS INDEX (article list + pagination)
   ============================================================ */
.news-filter { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.news-filter .filter-label { margin-right: 4px; }
.article-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 720px) { .article-grid { grid-template-columns: 1fr; } }

.article-card {
  position: relative;
  display: flex; flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-2);
  overflow: hidden;
  color: inherit;
  transition: transform .16s ease, border-color .2s ease;
}
.article-card:hover { transform: translateY(-3px); border-color: color-mix(in oklch, var(--accent) 50%, var(--line)); }
.article-card .shot { aspect-ratio: 16 / 8; }
.article-card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.ac-meta { display: flex; align-items: center; gap: 11px; font-family: var(--font-mono); font-size: 11px; color: var(--faint); letter-spacing: 0.04em; }
.ac-meta .pill { color: var(--accent); border: 1px solid color-mix(in oklch, var(--accent) 40%, transparent); border-radius: 100px; padding: 2px 9px; text-transform: uppercase; font-size: 10px; letter-spacing: 0.08em; }
.article-card h3 { font-size: 22px; margin: 13px 0 0; line-height: 1.18; }
.article-card p { margin: 10px 0 0; font-size: 14.5px; color: var(--muted); line-height: 1.55; }
.ac-by { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line-soft); font-family: var(--font-mono); font-size: 11.5px; color: var(--faint); display: flex; align-items: center; justify-content: space-between; }
.ac-by .read-on { color: var(--accent); }

.pagination { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: clamp(36px, 5vw, 52px); }
.page-btn {
  font-family: var(--font-mono); font-size: 13px;
  min-width: 40px; height: 40px; padding: 0 12px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: transparent; color: var(--fg); cursor: pointer;
  transition: all .16s ease;
}
.page-btn:hover:not(:disabled) { border-color: var(--fg); }
.page-btn[aria-current="true"] { background: var(--accent); color: var(--accent-fg); border-color: var(--accent); font-weight: 600; }
.page-btn:disabled { opacity: .4; cursor: default; }

/* ============================================================
   GENRE PAGE
   ============================================================ */
.genre-def { max-width: 820px; }
.genre-def p { font-size: 21px; line-height: 1.55; color: var(--fg); margin: 18px 0 0; }
.genre-def p.dim { font-size: 17px; color: var(--muted); }

/* timeline */
.timeline { position: relative; margin-top: 8px; padding-left: 28px; }
.timeline::before { content: ""; position: absolute; left: 5px; top: 6px; bottom: 6px; width: 1px; background: var(--line); }
.tl-item { position: relative; padding: 0 0 30px 4px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ""; position: absolute; left: -27px; top: 5px;
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--accent);
}
.tl-year { font-family: var(--font-mono); font-size: 13px; color: var(--accent); letter-spacing: 0.04em; }
.tl-item h3 { font-size: 19px; margin: 7px 0 6px; }
.tl-item p { margin: 0; font-size: 14.5px; color: var(--muted); line-height: 1.55; max-width: 60ch; }

/* subgenre cards */
.subgenre-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; }
.subgenre { display: block; background: var(--bg); padding: 26px 24px; color: inherit; transition: background-color .18s ease; }
.subgenre:hover { background: var(--bg-2); }
.subgenre .sg-i { font-family: var(--font-mono); font-size: 12px; color: var(--accent); }
.subgenre h3 { font-size: 19px; margin: 12px 0 8px; }
.subgenre p { margin: 0 0 14px; font-size: 14px; color: var(--muted); line-height: 1.55; }
.subgenre .sg-eg { font-family: var(--font-mono); font-size: 12px; color: var(--faint); }
.subgenre .sg-eg b { color: var(--fg); font-weight: 500; }
@media (max-width: 820px) { .subgenre-grid { grid-template-columns: 1fr; } }

/* start-here picks */
.start-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.start-card {
  display: flex; flex-direction: column;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--bg-2); padding: 26px 24px; color: inherit;
  transition: transform .16s ease, border-color .2s ease;
}
.start-card:hover { transform: translateY(-3px); border-color: color-mix(in oklch, var(--accent) 50%, var(--line)); }
.start-card .sc-tag { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.start-card h3 { font-size: 22px; margin: 12px 0 0; display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.start-card p { margin: 10px 0 0; font-size: 14.5px; color: var(--muted); line-height: 1.55; }
.start-card .sc-go { margin-top: 16px; }
@media (max-width: 760px) { .start-grid { grid-template-columns: 1fr; } }

/* ============================================================
   GLOSSARY
   ============================================================ */
.glossary-intro { padding-top: clamp(30px, 4vw, 46px); }
.glossary-lead {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  gap: clamp(22px, 4vw, 44px);
  align-items: stretch;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line-soft);
}
.glossary-lead h2 { font-size: clamp(24px, 3vw, 34px); margin: 12px 0 0; }
.glossary-lead p { color: var(--muted); font-size: 16px; line-height: 1.65; margin: 12px 0 0; max-width: 72ch; }
.glossary-stat {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-2);
  display: grid;
  place-content: center;
  text-align: center;
  min-height: 150px;
}
.glossary-stat b { font-family: var(--font-mono); font-size: 44px; line-height: 1; color: var(--accent); }
.glossary-stat span {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--faint);
  margin-top: 8px;
}
.glossary-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.glossary-jump a,
.term-links a {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 7px 11px;
  background: transparent;
  transition: border-color .16s ease, color .16s ease, background-color .16s ease;
}
.glossary-jump a:hover,
.term-links a:hover {
  color: var(--fg);
  border-color: color-mix(in oklch, var(--accent) 50%, var(--line));
  background: var(--bg-2);
}
.glossary-section { padding-top: 0; }
.glossary-category { scroll-margin-top: 86px; }
.glossary-category + .glossary-category { margin-top: clamp(34px, 5vw, 58px); }
.glossary-cat-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-soft);
}
.glossary-cat-head h2 { font-size: clamp(22px, 2.6vw, 30px); margin: 0; }
.glossary-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.term {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-2);
  padding: 20px 22px;
  transition: border-color .18s ease;
  scroll-margin-top: 92px;
}
.term:hover { border-color: color-mix(in oklch, var(--accent) 40%, var(--line)); }
.term .t-cat { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.term h3 { font-size: 18px; margin: 9px 0 0; display: flex; align-items: baseline; gap: 9px; flex-wrap: wrap; }
.term h3 a { color: inherit; }
.term h3 .also { font-family: var(--font-mono); font-size: 11px; color: var(--faint); font-weight: 400; }
.term p { margin: 8px 0 0; font-size: 14.5px; color: var(--muted); line-height: 1.55; }
.term p.term-why { color: var(--fg); font-size: 14px; }
.term-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
@media (max-width: 760px) {
  .glossary-lead { grid-template-columns: 1fr; }
  .glossary-stat { min-height: 112px; }
}
@media (max-width: 680px) {
  .glossary-grid { grid-template-columns: 1fr; }
  .glossary-cat-head { display: block; }
}

/* ============================================================
   LEGAL PAGES (rules / terms / privacy / cookies)
   ============================================================ */
.legal-grid {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
  padding-block: clamp(28px, 4vw, 40px) clamp(48px, 6vw, 80px);
}
.legal-nav { position: sticky; top: 80px; display: flex; flex-direction: column; gap: 2px; }
.legal-nav a {
  font-family: var(--font-mono); font-size: 13px; color: var(--muted);
  padding: 10px 13px; border-radius: var(--radius);
  border-left: 2px solid transparent; transition: all .16s ease;
}
.legal-nav a:hover { color: var(--fg); background: var(--bg-2); }
.legal-nav a.active { color: var(--accent); border-left-color: var(--accent); background: var(--bg-2); }
.legal-body { max-width: 740px; }
.legal-body .updated { font-family: var(--font-mono); font-size: 12px; color: var(--faint); letter-spacing: 0.03em; margin: 0 0 26px; }
.legal-body .prose { margin: 0; }
.legal-body .prose > p { font-size: 16.5px; line-height: 1.7; }
.legal-body .prose ul { margin: 0 0 22px; padding-left: 22px; }
.legal-body .prose li { font-size: 16px; line-height: 1.65; color: var(--fg); margin-bottom: 8px; }
.legal-body .prose li::marker { color: var(--accent); }
@media (max-width: 720px) {
  .legal-grid { grid-template-columns: 1fr; }
  .legal-nav { position: static; flex-direction: row; flex-wrap: wrap; gap: 6px; border-bottom: 1px solid var(--line-soft); padding-bottom: 14px; }
  .legal-nav a { border-left: 0; border: 1px solid var(--line); }
  .legal-nav a.active { border-color: var(--accent); }
}
