/* =========================================================
   HonestPlay theme: dark, neon, built around game artwork
   ========================================================= */
:root {
  --bg: #07070d;
  --surface: #0f0f1a;
  --surface-2: #161626;
  --surface-3: #1e1e33;
  --border: #26263d;
  --border-hi: #3a3a5c;
  --text: #ececf4;
  --muted: #8d8daa;
  --violet: #8b5cf6;
  --cyan: #22d3ee;
  --pink: #f472b6;
  --grad: linear-gradient(120deg, var(--violet), var(--cyan));
  --good: #22e58b;
  --mixed: #fbbf24;
  --bad: #ff4d6d;
  --radius: 12px;
  --cut: 10px; /* size of the angled corners */
  --font-display: "Chakra Petch", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  color: var(--text);
  font: 15.5px/1.6 var(--font-body);
  background:
    radial-gradient(900px 500px at 85% -10%, rgb(139 92 246 / .16), transparent 60%),
    radial-gradient(700px 500px at -10% 30%, rgb(34 211 238 / .08), transparent 60%),
    var(--bg);
  background-attachment: fixed;
  min-height: 100vh;
}
/* faint grid, like a HUD */
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: -1;
  background-image:
    linear-gradient(rgb(255 255 255 / .022) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / .022) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, #000, transparent 80%);
}
a { color: var(--cyan); text-decoration: none; }
a:hover { color: #67e8f9; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; margin: 0 0 .5em; letter-spacing: .01em; }
h1 { font-size: 2.2rem; font-weight: 700; }
h2 { font-size: 1.35rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
h3 { font-size: 1.1rem; font-weight: 600; }
code { background: var(--surface-3); padding: 1px 6px; border-radius: 4px; font-size: .9em; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 16px; }
main.wrap { padding-top: 28px; padding-bottom: 64px; min-height: 70vh; }
section { margin-bottom: 44px; }
.muted { color: var(--muted); }
.small { font-size: .86rem; }
.tiny { font-size: .74rem; }
.right { text-align: right; }
.nowrap { white-space: nowrap; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.empty {
  color: var(--muted); padding: 22px; border: 1px dashed var(--border-hi); border-radius: var(--radius);
  background: rgb(15 15 26 / .6);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgb(7 7 13 / .78); backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid var(--border);
}
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--grad); opacity: .5; }
.nav { display: flex; align-items: center; gap: 18px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; letter-spacing: .02em; white-space: nowrap; }
.brand:hover { color: var(--text); }
.brand-mark { width: 34px; height: 34px; display: grid; place-items: center; background: var(--grad); clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px); }
.brand-mark svg { width: 20px; height: 20px; }
.brand b { font-weight: 700; }
.search { flex: 1; max-width: 420px; position: relative; }
.search input { width: 100%; padding-left: 38px; background: var(--surface); }
.search::before { content: ""; position: absolute; left: 13px; top: 50%; width: 13px; height: 13px; transform: translateY(-60%); border: 2px solid var(--muted); border-radius: 50%; }
.search::after { content: ""; position: absolute; left: 25px; top: 58%; width: 6px; height: 2px; background: var(--muted); transform: rotate(45deg); }
.links { display: flex; align-items: center; gap: 20px; margin-left: auto; font-family: var(--font-display); font-weight: 600; letter-spacing: .03em; }
.links a { color: var(--muted); position: relative; }
.links a:hover, .links a.active { color: var(--text); }
.links a.btn, .links a.btn:hover { color: #fff; }
.links a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -22px; height: 2px; background: var(--grad); }
.inline { display: inline; margin: 0; }
.user-chip { display: inline-flex; align-items: center; gap: 8px; }

/* ---------- Buttons & forms ---------- */
.btn {
  --c: var(--cut);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--grad); color: #fff; border: 0; padding: 11px 20px;
  font: 600 .95rem var(--font-display); letter-spacing: .05em; text-transform: uppercase; cursor: pointer;
  clip-path: polygon(var(--c) 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0 var(--c));
  transition: filter .15s, transform .15s;
}
.btn:hover { color: #fff; filter: brightness(1.15) drop-shadow(0 0 12px rgb(139 92 246 / .6)); }
.btn:active { transform: translateY(1px); }
.btn.small { padding: 7px 13px; font-size: .8rem; --c: 7px; }
.btn.full { width: 100%; }
.btn.ghost { background: var(--surface-3); color: var(--text); box-shadow: inset 0 0 0 1px var(--border-hi); }
.btn.ghost:hover { background: #26264a; filter: none; }
.btn.danger { background: linear-gradient(120deg, #e11d48, var(--bad)); }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: var(--muted); cursor: pointer; }
.linklike:hover { color: var(--text); text-decoration: underline; }
.linklike.danger, .danger { color: var(--bad); }

input, select, textarea {
  font: inherit; color: var(--text); background: var(--bg); border: 1px solid var(--border-hi);
  border-radius: 8px; padding: 10px 13px; width: 100%; transition: border-color .15s, box-shadow .15s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 3px rgb(139 92 246 / .25); }
input[type="checkbox"], input[type="radio"] { width: 18px; height: 18px; accent-color: var(--violet); flex-shrink: 0; }
textarea { resize: vertical; }
label { display: block; margin-bottom: 16px; font-weight: 600; font-size: .92rem; }
label > input, label > select, label > textarea { margin-top: 6px; font-weight: 400; font-size: 1rem; }
label.check { display: block; position: relative; padding-left: 28px; font-weight: 400; }
label.check input { position: absolute; left: 0; top: 3px; margin: 0; }
fieldset { border: 0; padding: 0; margin: 0 0 16px; }
legend { font-weight: 600; font-size: .92rem; margin-bottom: 8px; padding: 0; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Flash messages ---------- */
.flash { padding: 13px 16px; border-radius: 10px; margin-bottom: 18px; background: var(--surface-2); border: 1px solid var(--border-hi); border-left-width: 4px; }
.flash.success { border-left-color: var(--good); }
.flash.error { border-left-color: var(--bad); }
.flash.info { border-left-color: var(--cyan); }

/* ---------- Panels & layout ---------- */
.card { background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.layout-2col { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 32px; }
.sidebar { display: flex; flex-direction: column; gap: 22px; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.section-head h2 { margin: 0; display: flex; align-items: center; gap: 10px; }
.section-head h2::before { content: ""; width: 4px; height: 1.1em; background: var(--grad); border-radius: 2px; }
.see-all { font-family: var(--font-display); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; font-size: .8rem; }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; border-radius: 18px; overflow: hidden; margin-bottom: 40px;
  min-height: 420px; display: flex; align-items: flex-end; border: 1px solid var(--border);
  background: var(--surface) center / cover no-repeat;
}
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(7 7 13 / .96) 0%, rgb(7 7 13 / .75) 45%, rgb(7 7 13 / .15) 100%), linear-gradient(0deg, rgb(7 7 13 / .9), transparent 50%); }
.hero-inner { position: relative; padding: 40px; max-width: 640px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 600; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--cyan); margin-bottom: 12px; }
.eyebrow::before { content: ""; width: 8px; height: 8px; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); transform: rotate(45deg); }
.hero h1 { font-size: 3.2rem; line-height: 1.02; margin-bottom: 14px; text-transform: uppercase; }
.lead { font-size: 1.08rem; color: #c3c3d8; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 22px 0 0; }
.hero-featured { margin-top: 26px; display: flex; align-items: center; gap: 14px; padding-top: 18px; border-top: 1px solid rgb(255 255 255 / .1); }
.hero-featured img { width: 140px; border-radius: 8px; box-shadow: 0 8px 30px rgb(0 0 0 / .6); }
.hero-featured strong { font-family: var(--font-display); font-size: 1.15rem; display: block; color: var(--text); }
/* When a game is spotlighted, the honesty hero below it shrinks to a plain banner. */
.hero.compact { min-height: 0; background: var(--surface); }
.hero.compact::before { display: none; }
.hero.compact .hero-inner { max-width: 860px; padding: 30px 40px; }
.hero.compact h1 { font-size: 2.2rem; }

/* ---------- Spotlight (home) ---------- */
.spotlight {
  --hot: #ff4fa0;
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: minmax(0, 1fr) 360px; align-items: center; gap: 36px;
  min-height: 440px; padding: 40px; margin-bottom: 22px;
  border-radius: 18px; border: 1px solid rgb(255 79 160 / .35); background: #120a1c;
}
.spotlight-bg { position: absolute; inset: -40px; z-index: -2; background: center / cover no-repeat; filter: blur(28px) saturate(1.4); opacity: .55; }
.spotlight::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(7 7 13 / .95) 0%, rgb(7 7 13 / .7) 55%, rgb(7 7 13 / .2) 100%); }
.spotlight h1 { font-size: 3rem; line-height: 1.02; text-transform: uppercase; margin: 12px 0 14px; overflow-wrap: anywhere; text-wrap: balance; }
.live-tag { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 700; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: #ff7ab8; }
.live-tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--hot, #ff4fa0); box-shadow: 0 0 10px var(--hot, #ff4fa0); }
.spotlight-art img { display: block; width: 100%; border-radius: 14px; transform: rotate(2deg); box-shadow: 0 20px 60px rgb(0 0 0 / .7), 0 0 0 1px rgb(255 79 160 / .4), 0 0 50px rgb(255 79 160 / .2); transition: transform .25s; }
.spotlight-art:hover img { transform: rotate(0) scale(1.02); }
.spotlight-score { display: flex; align-items: center; gap: 14px; margin-top: 22px; padding-top: 16px; border-top: 1px solid rgb(255 255 255 / .1); }
.spotlight-score small { color: var(--muted); line-height: 1.35; }
.spotlight-score .ring {
  flex: none; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-display); font-size: 1.45rem; font-weight: 700;
  border: 3px solid var(--border-hi); color: var(--muted); background: rgb(7 7 13 / .6);
}
.spotlight-score .ring.good { border-color: var(--good); color: var(--good); }
.spotlight-score .ring.mixed { border-color: var(--mixed); color: var(--mixed); }
.spotlight-score .ring.bad { border-color: var(--bad); color: var(--bad); }
@media (max-width: 900px) {
  .spotlight { grid-template-columns: 1fr; gap: 22px; padding: 26px; min-height: 0; }
  .spotlight-art { order: -1; max-width: 240px; }
  .spotlight-art img { transform: none; }
  .spotlight h1 { font-size: 2.2rem; }
}
@media (max-width: 700px) {
  .spotlight { padding: 20px; }
  .spotlight h1 { font-size: 1.75rem; }
  .spotlight-art { max-width: 180px; }
  .hero.compact .hero-inner { padding: 22px 20px; }
  .hero.compact h1 { font-size: 1.6rem; }
}

.stat-bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: -16px 0 44px; }
.stat {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 18px;
  display: flex; align-items: center; gap: 12px;
}
.stat strong { font-family: var(--font-display); font-size: 1.7rem; line-height: 1; }
.stat span { color: var(--muted); font-size: .85rem; line-height: 1.3; }
.stat.pledge strong { color: var(--good); }

/* ---------- Scores ---------- */
.score-badge {
  --c: 7px;
  display: inline-grid; place-items: center; flex-shrink: 0; min-width: 46px; height: 46px; padding: 0 8px;
  font: 700 1.3rem var(--font-display); color: #07070d;
  clip-path: polygon(var(--c) 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0 var(--c));
}
.score-badge.sm { min-width: 36px; height: 34px; font-size: 1rem; --c: 5px; }
.score-badge.lg { min-width: 58px; height: 58px; font-size: 1.6rem; }
.score-badge.good { background: var(--good); }
.score-badge.mixed { background: var(--mixed); }
.score-badge.bad { background: var(--bad); color: #fff; }
.score-badge.none { background: var(--surface-3); color: var(--muted); }
.glow.good { filter: drop-shadow(0 0 10px rgb(34 229 139 / .45)); }
.glow.mixed { filter: drop-shadow(0 0 10px rgb(251 191 36 / .4)); }
.glow.bad { filter: drop-shadow(0 0 10px rgb(255 77 109 / .45)); }
.good-text { color: var(--good); }
.mixed-text { color: var(--mixed); }
.bad-text { color: var(--bad); }
.none-text { color: var(--muted); }

/* ---------- Game cards ---------- */
.game-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
.game-card {
  position: relative; display: flex; flex-direction: column; color: var(--text);
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.game-card:hover { color: var(--text); transform: translateY(-4px); border-color: var(--violet); box-shadow: 0 12px 30px -10px rgb(139 92 246 / .55), 0 0 0 1px rgb(139 92 246 / .35); }
.game-card .art { position: relative; aspect-ratio: 460 / 215; overflow: hidden; background: var(--surface-3); }
.game-card .art img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s; }
.game-card:hover .art img { transform: scale(1.06); }
.game-card .art .score-badge { position: absolute; right: 8px; bottom: 8px; }
.game-card-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 3px; flex: 1; }
.game-card-title { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; line-height: 1.25; }
.game-card-meta { display: flex; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 6px; font-size: .8rem; color: var(--muted); }

/* Generated cover for games without official art */
.cover-gen {
  width: 100%; height: 100%; display: grid; place-items: center; text-align: center; padding: 12px;
  background:
    radial-gradient(circle at 25% 20%, hsl(var(--hue) 90% 60% / .55), transparent 55%),
    radial-gradient(circle at 80% 90%, hsl(calc(var(--hue) + 60) 90% 55% / .45), transparent 50%),
    linear-gradient(135deg, hsl(var(--hue) 50% 18%), #0b0b16);
  font: 700 1.15rem/1.15 var(--font-display); text-transform: uppercase; letter-spacing: .04em; color: #fff;
  text-shadow: 0 2px 12px rgb(0 0 0 / .6);
}

/* ---------- Genre chips ---------- */
.genre-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.genre-chip {
  --c: 7px;
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; color: var(--text);
  background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--border-hi);
  font: 600 .88rem var(--font-display); letter-spacing: .04em; text-transform: uppercase;
  clip-path: polygon(var(--c) 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0 var(--c));
  transition: background .15s;
}
.genre-chip:hover { color: #fff; background: var(--grad); }
.genre-chip small { color: var(--muted); font-weight: 500; }
.genre-chip:hover small { color: rgb(255 255 255 / .8); }

/* ---------- Game page ---------- */
.game-banner {
  position: relative; margin: -28px -16px 0; height: 380px; overflow: hidden;
  background: var(--surface) center top / cover no-repeat;
}
.game-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--bg) 3%, rgb(7 7 13 / .55) 55%, rgb(7 7 13 / .35)); }
.game-banner.plain { height: 140px; }
.game-hero { position: relative; display: grid; grid-template-columns: 340px minmax(0, 1fr) 280px; gap: 30px; margin-top: -230px; margin-bottom: 36px; align-items: end; }
.game-banner.plain + .game-hero { margin-top: -80px; }
.game-art { border-radius: var(--radius); overflow: hidden; aspect-ratio: 460 / 215; box-shadow: 0 20px 50px rgb(0 0 0 / .7), 0 0 0 1px rgb(255 255 255 / .08); background: var(--surface-3); }
.game-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.game-info h1 { font-size: 2.6rem; text-shadow: 0 2px 20px rgb(0 0 0 / .8); margin-bottom: 6px; }
.game-meta { color: #c3c3d8; margin-bottom: 10px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; }
.tag {
  display: inline-flex; align-items: center; gap: 5px; border-radius: 6px; padding: 3px 9px; font-size: .76rem; font-weight: 600;
  background: rgb(255 255 255 / .06); color: #c3c3d8; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .08);
}
a.tag:hover { color: #fff; background: rgb(139 92 246 / .35); }
.tag-warn { background: rgb(251 191 36 / .14); color: var(--mixed); box-shadow: inset 0 0 0 1px rgb(251 191 36 / .3); }
.tag-good { background: rgb(34 229 139 / .12); color: var(--good); box-shadow: inset 0 0 0 1px rgb(34 229 139 / .3); }
.tag-guest { background: rgb(141 141 170 / .12); color: var(--muted); }
.tag-new { font-style: italic; }
.platforms { display: flex; flex-wrap: wrap; gap: 6px; font-size: .8rem; color: var(--muted); }

.score-panel { text-align: center; padding: 20px; background: rgb(15 15 26 / .9); backdrop-filter: blur(10px); }
.score-ring {
  --p: 0; --col: var(--muted);
  width: 128px; height: 128px; margin: 0 auto 8px; border-radius: 50%; display: grid; place-items: center;
  background: conic-gradient(var(--col) calc(var(--p) * 1%), var(--surface-3) 0);
  filter: drop-shadow(0 0 14px color-mix(in srgb, var(--col) 40%, transparent));
}
.score-ring > div { width: 104px; height: 104px; border-radius: 50%; background: var(--surface); display: grid; place-items: center; }
.score-ring strong { font: 700 2.4rem var(--font-display); line-height: 1; }
.score-ring.good { --col: var(--good); }
.score-ring.mixed { --col: var(--mixed); }
.score-ring.bad { --col: var(--bad); }
.score-sub { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 12px 0; }
.score-sub div { background: var(--surface-2); border-radius: 8px; padding: 8px 6px; }
.score-sub strong { display: block; font: 700 1.2rem var(--font-display); }
.score-sub span { font-size: .72rem; color: var(--muted); line-height: 1.2; display: block; }
.histogram { margin: 12px 0 8px; display: flex; flex-direction: column; gap: 3px; }
.hist-row { display: grid; grid-template-columns: 18px 1fr 24px; gap: 8px; align-items: center; font-size: .74rem; color: var(--muted); }
.hist-bar { background: var(--surface-3); border-radius: 3px; height: 8px; overflow: hidden; }
.hist-bar span { display: block; height: 100%; border-radius: 3px; }
.hist-bar .good { background: var(--good); }
.hist-bar .mixed { background: var(--mixed); }
.hist-bar .bad { background: var(--bad); }
.hist-count { text-align: right; }

.publisher-desc { border-left: 3px solid var(--border-hi); padding-left: 14px; margin: 0 0 8px; color: #c3c3d8; max-width: 70ch; }

.shots { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 1fr); gap: 12px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; }
.shots a { display: block; border-radius: 10px; overflow: hidden; aspect-ratio: 16 / 9; scroll-snap-align: start; border: 1px solid var(--border); }
.shots img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.shots a:hover img { transform: scale(1.05); }

/* Review form */
.write-review { margin-bottom: 36px; position: relative; overflow: hidden; }
.write-review::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--grad); }
.guest-note { display: flex; gap: 12px; align-items: flex-start; background: rgb(139 92 246 / .1); border: 1px solid rgb(139 92 246 / .3); border-radius: 10px; padding: 12px 14px; margin-bottom: 18px; font-size: .9rem; }
.score-picker { display: flex; flex-wrap: wrap; gap: 6px; }
.score-picker legend { width: 100%; }
.score-picker label { margin: 0; }
.score-picker input { position: absolute; opacity: 0; pointer-events: none; }
.score-picker span {
  --c: 6px;
  display: grid; place-items: center; width: 44px; height: 44px; cursor: pointer;
  background: var(--surface-3); color: var(--text); font: 700 1.05rem var(--font-display);
  clip-path: polygon(var(--c) 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0 var(--c));
  transition: background .12s, transform .12s;
}
.score-picker span:hover { background: var(--border-hi); transform: translateY(-2px); }
.score-picker input:focus-visible + span { outline: 2px solid var(--cyan); }
.score-picker label.good input:checked + span { background: var(--good); color: #07070d; }
.score-picker label.mixed input:checked + span { background: var(--mixed); color: #07070d; }
.score-picker label.bad input:checked + span { background: var(--bad); color: #fff; }
.delete-form { margin-top: 12px; }

.sort-links { display: flex; flex-wrap: wrap; gap: 4px; }
.sort-links a { padding: 5px 11px; border-radius: 6px; color: var(--muted); font-size: .82rem; font-weight: 600; }
.sort-links a:hover { color: var(--text); background: var(--surface-2); }
.sort-links a.active { color: var(--text); background: var(--surface-3); box-shadow: inset 0 0 0 1px var(--border-hi); }

/* ---------- Reviews ---------- */
.review {
  display: flex; gap: 18px; padding: 20px; margin-bottom: 14px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  transition: border-color .2s;
}
.review:target { border-color: var(--violet); box-shadow: 0 0 0 3px rgb(139 92 246 / .2); }
.review-main { flex: 1; min-width: 0; }
.review-author { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.avatar {
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0;
  font: 700 .95rem var(--font-display); color: #fff;
  background: linear-gradient(135deg, hsl(var(--hue) 75% 55%), hsl(calc(var(--hue) + 50) 75% 40%));
}
.avatar.guest { background: var(--surface-3); color: var(--muted); }
.avatar.lg { width: 72px; height: 72px; font-size: 1.8rem; }
.author-name { font-weight: 700; color: var(--text); }
.author-name:hover { color: var(--cyan); }
.trust {
  display: inline-flex; align-items: center; gap: 5px; padding: 2px 9px; border-radius: 999px;
  font-size: .74rem; font-weight: 700; background: var(--surface-3); color: var(--muted);
}
.trust.trusted { background: rgb(34 229 139 / .14); color: var(--good); box-shadow: inset 0 0 0 1px rgb(34 229 139 / .35); }
.trust.solid { background: rgb(34 211 238 / .12); color: var(--cyan); }
.trust.disputed { background: rgb(255 77 109 / .12); color: var(--bad); }
.review-title { margin-bottom: 4px; font-size: 1.15rem; }
.review-facts { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 10px; }
.review-body { white-space: pre-line; overflow-wrap: anywhere; color: #d6d6e4; }
.review-body.clamp { display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.review-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--border); }
.agree-meter { display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; color: var(--muted); }
.agree-meter .bar { width: 70px; height: 6px; border-radius: 3px; background: rgb(255 77 109 / .45); overflow: hidden; }
.agree-meter .bar span { display: block; height: 100%; background: var(--good); }
.chip {
  display: inline-flex; align-items: center; gap: 6px; background: var(--surface-2); border: 1px solid var(--border-hi); color: var(--muted);
  border-radius: 8px; padding: 5px 12px; font: 600 .8rem var(--font-body); cursor: pointer; transition: all .12s;
}
.chip:hover { color: var(--text); border-color: var(--muted); }
.chip.agree.on { color: var(--good); border-color: var(--good); background: rgb(34 229 139 / .1); }
.chip.disagree.on { color: var(--bad); border-color: var(--bad); background: rgb(255 77 109 / .1); }
.report-link { margin-left: auto; }

.mini-reviews { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 12px; }
.mini-review {
  display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 0; overflow: hidden;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); color: var(--text);
  transition: border-color .2s;
}
.mini-review:hover { color: var(--text); border-color: var(--violet); }
.mini-review .thumb { position: relative; background: var(--surface-3); }
.mini-review .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mini-review .thumb .score-badge { position: absolute; left: 8px; bottom: 8px; }
.mini-review .thumb .cover-gen { font-size: .7rem; }
.mini-review .text { padding: 12px 14px; min-width: 0; }
.mini-review .game-name { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--cyan); font-weight: 700; }
.mini-review .rev-title { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-review .snippet { color: var(--muted); font-size: .85rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* Leaderboard */
.leaderboard { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.leaderboard li { display: flex; align-items: center; gap: 10px; }
.leaderboard .lb-pos { font: 700 1rem var(--font-display); color: var(--muted); width: 18px; }
.leaderboard li:first-child .lb-pos { color: var(--mixed); }
.leaderboard .who { flex: 1; min-width: 0; }
.leaderboard .who a { color: var(--text); font-weight: 700; }
.leaderboard .pct { font: 700 1.05rem var(--font-display); color: var(--good); }

/* ---------- Ads: always labelled and kept apart from content ---------- */
.ad { margin: 26px 0; padding: 8px; border: 1px solid var(--border); border-radius: var(--radius); background: rgb(15 15 26 / .7); }
.sidebar .ad { margin: 0; position: sticky; top: 84px; }
.ad-label { display: block; font-size: .66rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 6px; }
.ad-box { display: grid; place-items: center; color: var(--muted); font-size: .82rem; background: repeating-linear-gradient(45deg, transparent 0 10px, rgb(255 255 255 / .025) 10px 20px); border-radius: 6px; }
.ad-sidebar .ad-box { height: 250px; }
.ad-inline .ad-box { height: 100px; }

/* ---------- Misc ---------- */
.pledge-card h3 { margin-bottom: 12px; text-transform: uppercase; letter-spacing: .05em; }
.checklist { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 9px; font-size: .9rem; }
.checklist li { position: relative; padding-left: 20px; }
.checklist li::before { content: ""; position: absolute; left: 1px; top: 8px; width: 8px; height: 8px; background: var(--good); box-shadow: 0 0 8px var(--good); transform: rotate(45deg); }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; padding: 14px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.filters input { flex: 1 1 220px; width: auto; }
.filters select { width: auto; }
.pager { display: flex; gap: 6px; margin: 28px 0; flex-wrap: wrap; }
.pager a { min-width: 38px; text-align: center; padding: 7px 12px; border-radius: 8px; color: var(--muted); background: var(--surface); border: 1px solid var(--border); font-family: var(--font-display); font-weight: 600; }
.pager a:hover { color: var(--text); border-color: var(--border-hi); }
.pager a.current { background: var(--grad); color: #fff; border-color: transparent; }
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.table th, .table td { text-align: left; padding: 11px 10px; border-bottom: 1px solid var(--border); vertical-align: top; }
.table th { color: var(--muted); font: 600 .74rem var(--font-display); text-transform: uppercase; letter-spacing: .08em; }
.table tr:hover td { background: rgb(255 255 255 / .02); }
.count { background: var(--surface-3); border-radius: 999px; padding: 1px 10px; font-size: .85rem; }
.auth { max-width: 460px; margin: 24px auto; }
.auth h1 { font-size: 1.8rem; }
.narrow { max-width: 680px; margin: 0 auto; }
.narrow > .card { margin-bottom: 20px; }
.quote { margin: 0 0 16px; padding: 12px 16px; border-left: 3px solid var(--violet); background: var(--bg); border-radius: 6px; white-space: pre-line; }
.radio-list label { margin-bottom: 9px; }
.prose { max-width: 760px; }
.prose.wide { max-width: none; }
.prose li { margin-bottom: 9px; }
.prose h2 { margin-top: 1.8em; font-size: 1.15rem; }
.stat-row { list-style: none; padding: 0; margin: 0 0 24px; display: flex; gap: 12px; flex-wrap: wrap; }
.stat-row li { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 10px 16px; color: var(--muted); font-size: .88rem; }
.stat-row strong { color: var(--text); font: 700 1.3rem var(--font-display); margin-right: 4px; }
.error-page { text-align: center; padding: 80px 0; }
.error-page h1 { font-size: 3rem; text-transform: uppercase; }
.admin-report { margin-bottom: 14px; }
.admin-report-head { display: flex; gap: 12px; align-items: center; margin-bottom: 8px; }
.admin-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.admin-actions input { width: 260px; padding: 7px 10px; }
.import-results { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.import-results .card { display: flex; align-items: center; gap: 12px; padding: 12px; }
.import-results img { width: 92px; border-radius: 6px; }
.profile-head { display: flex; align-items: center; gap: 20px; margin-bottom: 30px; flex-wrap: wrap; }
.profile-head h1 { margin: 0 0 4px; }
.trust-panel { display: flex; gap: 14px; flex-wrap: wrap; margin-left: auto; }
.trust-panel .stat { min-width: 150px; }
.outbox-mail { margin-bottom: 12px; }
.danger-zone { border-color: rgb(255 77 109 / .35); }
.danger-zone h2 { color: var(--bad); }

/* ---------- Reviewer rank banners (medieval) ---------- */
.rank { --h: 54px; position: relative; display: inline-flex; align-items: center; height: var(--h); padding-left: 34px; font-family: Cinzel, serif; max-width: 100%; }
.rank.crowned { margin-top: 22px; }
.rank .shield { position: absolute; left: 0; top: 50%; width: 58px; height: 66px; transform: translateY(-50%); z-index: 2; filter: drop-shadow(0 3px 4px rgb(0 0 0 / .6)); }
.rank .shield svg { width: 100%; height: 100%; display: block; overflow: visible; }
.plate { position: relative; height: 100%; min-width: 0; padding: 2px; background: var(--trim); clip-path: polygon(0 0, 100% 0, calc(100% - 16px) 50%, 100% 100%, 0 100%); }
.plate-in { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: center; padding: 0 34px; background: var(--cloth); clip-path: polygon(0 0, 100% 0, calc(100% - 15px) 50%, 100% 100%, 0 100%); overflow: hidden; min-width: 210px; }
.plate-in.stitched { outline: 1px dashed rgb(90 75 45 / .6); outline-offset: -6px; }
.plate-in .who { font-weight: 700; font-size: 1.08rem; color: var(--ink); line-height: 1.1; letter-spacing: .02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.plate-in .who.deco { font-family: "Cinzel Decorative", Cinzel, serif; }
.plate-in .title { font-weight: 600; font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-2); margin-top: 3px; white-space: nowrap; }
.rank.wreathed .plate-in { padding-left: 52px; }
.rank.lvl-8 .who, .rank.lvl-10 .who { text-shadow: 0 1px 8px rgb(0 0 0 / .6); }
.pill { display: inline-flex; align-items: center; height: 26px; padding: 2px; background: var(--trim); clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 50%, 100% 100%, 0 100%); font-family: Cinzel, serif; vertical-align: middle; }
.pill:hover { filter: brightness(1.15); }
.pill-in { display: inline-flex; align-items: center; gap: 7px; height: 100%; padding: 0 16px 0 4px; background: var(--cloth); color: var(--ink); clip-path: polygon(0 0, 100% 0, calc(100% - 7px) 50%, 100% 100%, 0 100%); font-weight: 700; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; position: relative; overflow: hidden; }
.pill svg { width: 18px; height: 20px; flex-shrink: 0; }
.shimmer::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgb(255 255 255 / .38) 50%, transparent 65%); transform: translateX(-120%); animation: shimmer 3.2s ease-in-out infinite; pointer-events: none; }
@keyframes shimmer { 0%, 35% { transform: translateX(-120%); } 75%, 100% { transform: translateX(120%); } }
.glow-gold { filter: drop-shadow(0 0 6px rgb(255 205 90 / .55)) drop-shadow(0 0 16px rgb(255 180 40 / .25)); animation: pulse-gold 2.6s ease-in-out infinite; }
@keyframes pulse-gold { 50% { filter: drop-shadow(0 0 10px rgb(255 215 110 / .85)) drop-shadow(0 0 26px rgb(255 180 40 / .4)); } }
.glow-fire { filter: drop-shadow(0 0 8px rgb(255 110 40 / .7)) drop-shadow(0 0 22px rgb(220 40 30 / .35)); animation: pulse-fire 1.8s ease-in-out infinite; }
@keyframes pulse-fire { 50% { filter: drop-shadow(0 0 12px rgb(255 150 60 / .95)) drop-shadow(0 0 34px rgb(255 60 30 / .55)); } }
.flow { background-size: 300% 100% !important; animation: flow 4s linear infinite; }
@keyframes flow { to { background-position: 300% 0; } }
.embers { position: absolute; inset: -30px 0 0 0; pointer-events: none; z-index: 3; }
.embers i { position: absolute; bottom: 0; width: 3px; height: 3px; border-radius: 50%; background: #ffb347; box-shadow: 0 0 6px 2px rgb(255 120 40 / .8); opacity: 0; animation: ember 2.8s linear infinite; }
@keyframes ember { 0% { transform: translate(0, 0); opacity: 0; } 15% { opacity: 1; } 100% { transform: translate(var(--dx), -60px); opacity: 0; } }
.crown { position: absolute; left: 13px; top: -24px; width: 32px; z-index: 4; filter: drop-shadow(0 0 6px rgb(255 200 80 / .8)); animation: bob 2.4s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-3px); } }
.laurel { position: absolute; top: 50%; width: 30px; height: 64px; transform: translateY(-50%); z-index: 1; }
.laurel.l { left: -16px; }
.laurel.r { left: 44px; transform: translateY(-50%) scaleX(-1); }
.rank-progress { height: 10px; background: var(--surface-3); border-radius: 5px; overflow: hidden; margin: 8px 0 4px; }
.rank-progress span { display: block; height: 100%; background: linear-gradient(90deg, #8e1b2b, #e0b54a); }
@media (prefers-reduced-motion: reduce) { .shimmer::after, .glow-gold, .glow-fire, .flow, .embers i, .crown { animation: none !important; } }

/* ---------- Gear ---------- */
.gear-hero { margin-bottom: 22px; max-width: 760px; }
.gear-hero h1 { font-size: 2.4rem; text-transform: uppercase; margin-bottom: 8px; }
.cat-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.cat-tab {
  --c: 7px; display: inline-flex; align-items: center; gap: 7px; padding: 9px 14px; color: var(--muted);
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--border-hi);
  font: 600 .85rem var(--font-display); letter-spacing: .04em; text-transform: uppercase;
  clip-path: polygon(var(--c) 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0 var(--c));
}
.cat-tab small { color: var(--muted); font-weight: 500; opacity: .8; }
.cat-tab:hover { color: var(--text); background: var(--surface-2); }
.cat-tab.active { color: #fff; background: var(--grad); box-shadow: none; }
.cat-tab.active small { color: rgb(255 255 255 / .85); }
/* Product photos are usually on white, so show them whole on a soft light panel */
.gear-card .art { aspect-ratio: 4 / 3; background: radial-gradient(circle at 50% 40%, #ffffff, #dfe3ec); }
.gear-card .art img { object-fit: contain; padding: 14px; }
.gear-gen { display: flex; flex-direction: column; gap: 8px; font-size: .95rem; }
.gear-gen .gear-icon { font-size: 2.4rem; line-height: 1; text-shadow: none; }
.gear-card .art .gear-gen, .gear-photo .gear-gen { background:
    radial-gradient(circle at 30% 20%, hsl(var(--hue) 80% 55% / .45), transparent 60%),
    linear-gradient(135deg, hsl(var(--hue) 35% 22%), #0b0b16); }
.gear-top { display: grid; grid-template-columns: 340px minmax(0, 1fr) 280px; gap: 30px; align-items: start; margin-bottom: 36px; }
.gear-photo { aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: radial-gradient(circle at 50% 40%, #ffffff, #dfe3ec); box-shadow: 0 20px 50px rgb(0 0 0 / .5), 0 0 0 1px rgb(255 255 255 / .08); }
.gear-photo img { width: 100%; height: 100%; object-fit: contain; padding: 24px; display: block; }
.gear-photo .gear-gen { height: 100%; font-size: 1.3rem; }
.gear-photo .gear-gen .gear-icon { font-size: 4rem; }
.gear-top .eyebrow a { color: var(--cyan); }
.gear-desc { color: #c3c3d8; max-width: 60ch; }
.form-row.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 12px; }
.pros-cons ul { list-style: none; margin: 0; padding: 10px 12px; border-radius: 8px; font-size: .9rem; display: flex; flex-direction: column; gap: 4px; }
.pros-cons li { padding-left: 20px; position: relative; overflow-wrap: anywhere; }
.pros { background: rgb(34 229 139 / .07); box-shadow: inset 0 0 0 1px rgb(34 229 139 / .2); }
.cons { background: rgb(255 77 109 / .07); box-shadow: inset 0 0 0 1px rgb(255 77 109 / .2); }
.pros li::before { content: "+"; position: absolute; left: 2px; color: var(--good); font-weight: 800; }
.cons li::before { content: "−"; position: absolute; left: 2px; color: var(--bad); font-weight: 800; }
.buy-box h3 { text-transform: uppercase; letter-spacing: .05em; margin-bottom: 12px; }
.buy-list { list-style: none; padding: 0; margin: 0 0 12px; display: flex; flex-direction: column; gap: 8px; }
.buy-link { display: flex; justify-content: space-between; align-items: center; padding: 11px 14px; border-radius: 8px; background: var(--surface-3); color: var(--text); font-weight: 600; box-shadow: inset 0 0 0 1px var(--border-hi); transition: all .15s; }
.buy-link:hover { color: #fff; background: rgb(139 92 246 / .25); box-shadow: inset 0 0 0 1px var(--violet); }
.affiliate-note { margin: 0; line-height: 1.5; }
.buy-box-inline { display: none; margin-bottom: 24px; }
@media (max-width: 1050px) {
  .gear-top { grid-template-columns: 260px minmax(0, 1fr); }
  .gear-top .score-panel { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .buy-box-inline { display: block; }
  .buy-box-side { display: none; }
}
@media (max-width: 700px) {
  .gear-top { grid-template-columns: 1fr; gap: 18px; }
  .gear-photo { max-width: 260px; }
  .gear-hero h1 { font-size: 1.8rem; }
  .form-row.three, .pros-cons { grid-template-columns: 1fr; }
}

/* ---------- Hiscores ---------- */
.hiscores-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 32px; }
.podium { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 28px; }
.podium-spot { min-width: 0; text-align: center; padding: 30px 12px 16px; display: flex; flex-direction: column; align-items: center; gap: 10px; overflow: hidden; }
.podium-spot .place { font: 900 1.6rem Cinzel, serif; }
.podium-spot.p1 { border-color: #c8952c; box-shadow: 0 0 0 1px rgb(200 149 44 / .3), 0 10px 40px -15px rgb(232 193 90 / .45); }
.podium-spot.p1 .place { color: #f3cf6a; }
.podium-spot.p2 .place { color: #d5dce4; }
.podium-spot.p3 .place { color: #d39349; }
.podium-spot .rank { max-width: 100%; }
.podium-spot .plate { flex: 1; min-width: 0; }
.podium-spot .plate-in { min-width: 0; padding-right: 24px; }
.podium-spot .plate-in .title { overflow: hidden; text-overflow: ellipsis; }
.podium-spot { overflow: visible; }
.hs-table td { vertical-align: middle; }
.hs-table .num { text-align: right; font-variant-numeric: tabular-nums; }
.hs-table .pos { font: 700 1rem var(--font-display); color: var(--muted); width: 48px; }
.hs-table tr.top1 .pos { color: #f3cf6a; }
.hs-table tr.top2 .pos { color: #d5dce4; }
.hs-table tr.top3 .pos { color: #d39349; }
.hs-table tr.me td { background: rgb(139 92 246 / .1); }
.hs-name { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.hs-name a.member { color: var(--text); font-weight: 700; }
.hs-name a.member:hover { color: var(--cyan); }
.ladder-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.ladder-list li { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: .85rem; }
.tabs { display: flex; gap: 4px; flex-wrap: wrap; }
.tabs a { padding: 7px 13px; border-radius: 8px; color: var(--muted); font: 600 .85rem var(--font-display); letter-spacing: .04em; text-transform: uppercase; }
.tabs a:hover { color: var(--text); background: var(--surface-2); }
.tabs a.active { color: #fff; background: var(--grad); }
@media (max-width: 1100px) {
  .podium { grid-template-columns: minmax(0, 1fr); }
  .podium-spot { flex-direction: row; justify-content: space-between; padding: 26px 18px 14px; text-align: left; }
}
@media (max-width: 900px) {
  .hiscores-layout { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 700px) {
  .podium { grid-template-columns: minmax(0, 1fr); }
  .rank { --h: 48px; }
  .plate-in { min-width: 0; padding-right: 26px; }
  .hs-table .hide-sm { display: none; }
  .hs-table { display: table; }
}

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); background: rgb(7 7 13 / .85); padding: 36px 0; position: relative; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--grad); opacity: .4; }
.footer-grid { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer-grid p { max-width: 480px; font-size: .88rem; }
.footer-grid nav { display: flex; flex-wrap: wrap; gap: 18px; align-items: flex-start; }
.footer-grid nav a { color: var(--muted); font-size: .88rem; }
.footer-grid nav a:hover { color: var(--text); }

/* ---------- Responsive ---------- */
@media (max-width: 1050px) {
  .game-hero { grid-template-columns: 280px minmax(0, 1fr); }
  .score-panel { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr 1fr; gap: 20px; text-align: left; align-items: center; }
  .score-panel .score-ring { margin: 0; }
}
@media (max-width: 900px) {
  .layout-2col { grid-template-columns: 1fr; }
  .sidebar .ad { position: static; }
  .stat-bar { grid-template-columns: repeat(2, 1fr); }
  .links a.active::after { display: none; }
}
@media (max-width: 700px) {
  body { font-size: 15px; }
  .nav { height: auto; flex-wrap: wrap; padding: 10px 16px; gap: 10px; }
  .search { order: 3; flex-basis: 100%; max-width: none; }
  .links { gap: 6px 14px; font-size: .9rem; flex-wrap: wrap; justify-content: flex-end; }
  .site-header { position: static; }
  h1 { font-size: 1.8rem; }
  .hero { min-height: 0; }
  .hero-inner { padding: 24px 20px; }
  .hero h1 { font-size: 2.1rem; }
  .hero-featured img { width: 110px; }
  .stat-bar { margin-top: -20px; }
  .stat { padding: 12px; }
  .stat strong { font-size: 1.35rem; }
  .game-banner { height: 240px; }
  .game-hero { grid-template-columns: 1fr; margin-top: -170px; gap: 18px; }
  .game-art { max-width: 320px; }
  .game-info h1 { font-size: 2rem; }
  .score-panel { grid-template-columns: 1fr; text-align: center; }
  .score-panel .score-ring { margin: 0 auto; }
  .form-row { grid-template-columns: 1fr; }
  .game-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .game-card-body { padding: 9px 10px 10px; }
  .game-card-title { font-size: .92rem; }
  .game-card .art .score-badge { min-width: 32px; height: 30px; font-size: .9rem; }
  .mini-reviews { grid-template-columns: 1fr; }
  .review { padding: 14px; gap: 12px; flex-direction: column; }
  .review > .score-badge { align-self: flex-start; }
  .table { display: block; overflow-x: auto; }
  .admin-actions input { width: 100%; }
  .trust-panel { margin-left: 0; }
}
