/* ===== VN Aggregator — Dark theme inspired by lewdninja layout ===== */

:root {
  --bg: #0f1115;
  --bg-2: #161922;
  --bg-3: #1d2230;
  --bg-4: #262c3d;
  --border: #2a3145;
  --text: #e6e8ef;
  --text-dim: #9aa3b8;
  --text-mute: #6c7589;
  --accent: #c93b8a;       /* magenta/pink — adult vibe */
  --accent-2: #7a5cff;     /* electric purple */
  --accent-hover: #e455a3;
  --pos: #43c97a;
  --mid: #d9a93f;
  --neg: #e25656;
  --radius: 8px;
  --radius-sm: 4px;
  --shadow: 0 4px 16px rgba(0,0,0,.35);
  --shadow-strong: 0 8px 32px rgba(0,0,0,.5);
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html, body { margin: 0; padding: 0; background: var(--bg); color: var(--text); font-family: var(--font-sans); font-size: 15px; line-height: 1.5; min-height: 100vh; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }
em { font-style: normal; color: var(--accent); }

button { cursor: pointer; font: inherit; }
input, textarea, select, button { font-family: inherit; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: linear-gradient(180deg, #15182199 0%, #15182199 100%);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.site-header__inner {
  max-width: 1320px; margin: 0 auto;
  display: grid; grid-template-columns: auto 1fr auto;
  gap: 18px; padding: 12px 20px; align-items: center;
}
.logo {
  font-weight: 800; font-size: 20px; color: var(--text);
  letter-spacing: -.5px; display: flex; align-items: center; gap: 10px;
  text-decoration: none;
}
.logo:hover { color: var(--text); }
.logo__mark {
  width: 28px; height: 28px; flex-shrink: 0;
  filter: drop-shadow(0 0 6px rgba(201, 59, 138, .55));
  animation: stashly-pulse 3.2s ease-in-out infinite;
  transition: transform .3s ease;
}
.logo:hover .logo__mark { transform: rotate(-8deg) scale(1.08); }
@keyframes stashly-pulse {
  0%, 100% { filter: drop-shadow(0 0 5px rgba(201, 59, 138, .4)); }
  50%      { filter: drop-shadow(0 0 14px rgba(201, 59, 138, .9)); }
}
.logo__text { line-height: 1; }
.logo__accent { color: var(--accent); font-weight: 400; }

.site-nav { display: flex; gap: 4px; flex-wrap: wrap; overflow: hidden; }
.site-nav a {
  color: var(--text-dim); padding: 6px 10px; border-radius: var(--radius-sm);
  font-size: 13px; white-space: nowrap;
}
.site-nav a:hover { color: var(--text); background: var(--bg-3); }
.site-nav__tag { background: var(--bg-3); }

.site-search { display: flex; align-items: stretch; }
.site-search input {
  background: var(--bg-3); border: 1px solid var(--border); color: var(--text);
  padding: 7px 12px; border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  width: 220px; outline: none;
}
.site-search input:focus { border-color: var(--accent); }
.site-search button {
  background: var(--accent); border: 1px solid var(--accent); color: #fff;
  padding: 0 14px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 16px;
}
.site-search button:hover { background: var(--accent-hover); }

/* ===== Layout shell ===== */
.site-main { max-width: 1320px; margin: 0 auto; padding: 24px 20px 60px; }

.section { margin: 32px 0; }
.section__header {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 18px; gap: 16px;
}
.section__header h1, .section__header h2 { margin: 0; font-size: 22px; font-weight: 700; }
.section__header .count { color: var(--text-mute); font-weight: 400; margin-left: 8px; font-size: 14px; }
.section__header--listing { flex-wrap: wrap; row-gap: 12px; }
.link-more { font-size: 13px; color: var(--text-dim); }
.link-more:hover { color: var(--accent); }

.empty { color: var(--text-mute); font-style: italic; padding: 18px; background: var(--bg-2); border-radius: var(--radius); }

/* ===== Hero band ===== */
.hero-band {
  background: linear-gradient(135deg, #1c1530 0%, #15182d 50%, #2a1838 100%);
  border-radius: 12px; padding: 40px 28px; margin-bottom: 32px;
  border: 1px solid var(--border); position: relative; overflow: hidden;
}
.hero-band::after {
  content: ''; position: absolute; inset: -50%;
  background: radial-gradient(circle, rgba(201,59,138,.15) 0%, transparent 60%);
  pointer-events: none;
}
.hero-band__inner { position: relative; z-index: 1; }
.hero-band h1 { margin: 0 0 8px; font-size: 28px; font-weight: 800; }
.hero-band p { margin: 0; color: var(--text-dim); }

/* ===== Pills / sort filters ===== */
.sort-pills { display: flex; gap: 6px; flex-wrap: wrap; }
.pill {
  background: var(--bg-3); color: var(--text-dim); padding: 6px 12px;
  border-radius: 999px; font-size: 13px; border: 1px solid transparent;
}
.pill:hover { background: var(--bg-4); color: var(--text); }
.pill.is-active { background: var(--accent); color: #fff; border-color: var(--accent); }

/* ===== Game grid ===== */
.game-grid {
  display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}
.game-grid--compact { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }

.game-card {
  background: var(--bg-2); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; color: var(--text);
  border: 1px solid var(--border); transition: transform .15s, border-color .15s;
}
.game-card:hover { transform: translateY(-2px); border-color: var(--accent); color: var(--text); }
.game-card__cover {
  position: relative; aspect-ratio: 4 / 5; background: #000; overflow: hidden;
}
.game-card__cover img { width: 100%; height: 100%; object-fit: cover; }
.game-card__placeholder {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%; color: var(--text-mute); font-size: 12px;
}
.game-card__body { padding: 10px 12px 12px; }
.game-card__title {
  font-size: 14px; font-weight: 600; margin: 0 0 4px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  min-height: 2.6em;
}
.game-card__dev { font-size: 12px; color: var(--text-mute); margin: 0 0 8px; }
.game-card__meta {
  display: flex; align-items: center; gap: 8px; font-size: 12px;
  color: var(--text-mute); margin-bottom: 8px;
}
.game-card__tags {
  list-style: none; padding: 0; margin: 0; display: flex; gap: 4px; flex-wrap: wrap;
}
.game-card__tags li {
  background: var(--bg-3); color: var(--text-dim); font-size: 11px;
  padding: 2px 6px; border-radius: 3px;
}

/* badges */
.badge {
  display: inline-block; background: var(--bg-4); color: var(--text);
  padding: 3px 8px; border-radius: 3px; font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .03em;
}
.badge--version { background: var(--accent); color: #fff;
  position: absolute; top: 8px; right: 8px; z-index: 1; }
.badge--platform { background: var(--bg-4); color: var(--text-dim); }
.badge--win, .badge--mac, .badge--linux, .badge--android, .badge--web {
  background: var(--bg-4); color: var(--text-dim);
}

/* rating colors — monochrome: all in brand text, % is the signal */
.rating { font-weight: 700; color: var(--text); }
.rating--pos, .rating--mid, .rating--neg { color: var(--text); }

/* pagination */
.pagination {
  display: flex; align-items: center; justify-content: center; gap: 18px;
  margin: 32px 0;
}
.pagination a {
  background: var(--bg-3); padding: 8px 14px; border-radius: var(--radius-sm);
}
.pagination a:hover { background: var(--bg-4); }
.pagination span { color: var(--text-mute); font-size: 14px; }

/* ===== Game detail page ===== */
.game-page { max-width: 1240px; margin: 0 auto; }
.game-hero {
  display: grid; grid-template-columns: 320px 1fr; gap: 28px;
  background: var(--bg-2); border-radius: 12px; padding: 24px;
  border: 1px solid var(--border); margin-bottom: 24px;
}
.game-hero__cover { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5; }
.game-hero__cover img { width: 100%; height: 100%; object-fit: cover; }
.game-hero__cover-placeholder {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  background: var(--bg-3); color: var(--text-mute);
}

.breadcrumb { font-size: 12px; color: var(--text-mute); margin-bottom: 8px; }
.breadcrumb a { color: var(--text-dim); }
.game-hero__title { font-size: 30px; font-weight: 800; margin: 0 0 12px; line-height: 1.15; }
.game-hero__badges { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.game-hero__dev { color: var(--text-dim); margin: 0 0 14px; font-size: 14px; }
.game-hero__dev a { color: var(--accent); }
.game-hero__short {
  background: var(--bg-3); border-left: 3px solid var(--accent);
  padding: 12px 14px; border-radius: var(--radius-sm); margin: 0 0 18px;
  font-size: 14px; color: var(--text);
}

.game-hero__stats { display: flex; gap: 18px; margin-bottom: 18px; flex-wrap: wrap; }
.stat-block {
  background: var(--bg-3); padding: 10px 16px; border-radius: var(--radius-sm); min-width: 100px;
}
.stat-block--soft { background: var(--bg-2); border: 1px dashed var(--border); }
.stat-block__value { font-size: 22px; font-weight: 700; line-height: 1; }
.stat-block__value--quiet { color: var(--text-mute); }
.stat-block__label { font-size: 11px; color: var(--text-mute); margin-top: 4px; text-transform: uppercase; letter-spacing: .04em; }

.game-hero__actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: var(--radius-sm); font-size: 13px;
  font-weight: 600; border: 1px solid var(--border); color: var(--text);
  background: var(--bg-3); text-decoration: none; transition: background .15s;
}
.btn:hover { background: var(--bg-4); color: var(--text); }
.btn--primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: #fff; }
.btn--ghost { background: transparent; }
.btn[data-active="1"] { background: var(--accent); color: #fff; border-color: var(--accent); }

/* ===== Legal pages (privacy / terms / dmca) ===== */
.legal {
  max-width: 820px; margin: 24px auto; padding: 0 8px;
  font-size: 15px; line-height: 1.65;
}
.legal h1 { font-size: 28px; margin: 0 0 6px; }
.legal h2 { font-size: 20px; margin: 30px 0 10px; padding-bottom: 6px; border-bottom: 1px solid var(--border); }
.legal h3 { font-size: 16px; margin: 18px 0 8px; color: var(--text-dim); }
.legal p, .legal li { color: var(--text); }
.legal a { color: var(--accent); }
.legal a:hover { color: var(--accent-hover); }
.legal code { background: var(--bg-3); padding: 2px 6px; border-radius: 3px; font-size: 13px; color: var(--text); }
.legal ul, .legal ol { padding-left: 22px; }
.legal li { margin-bottom: 4px; }
.legal__updated { color: var(--text-mute); font-size: 12px; font-style: italic; margin: 0 0 24px; }

/* ===== Adblock polite banner ===== */
.adblock-banner {
  position: fixed; top: 70px; right: 16px;
  background: var(--bg-2); border: 1px solid var(--accent);
  border-radius: 8px; padding: 12px 16px;
  z-index: 70; max-width: 360px;
  box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 8px;
}
.adblock-banner__text { font-size: 12px; color: var(--text); line-height: 1.5; }
.adblock-banner__text strong { color: var(--accent); }
.adblock-banner .btn { align-self: flex-end; padding: 4px 12px; font-size: 12px; }

@media (max-width: 600px) {
  .adblock-banner { top: auto; bottom: 80px; left: 8px; right: 8px; max-width: none; }
}

/* ===== Cookie consent banner ===== */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px;
  background: var(--bg-2); border: 1px solid var(--accent);
  border-radius: 10px; padding: 16px 20px;
  z-index: 80; box-shadow: var(--shadow-strong);
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  max-width: 1100px; margin: 0 auto;
}
.cookie-banner__text { flex: 1; min-width: 240px; font-size: 13px; color: var(--text); line-height: 1.5; }
.cookie-banner__text a { color: var(--accent); }
.cookie-banner__actions { display: flex; gap: 8px; flex-shrink: 0; }

@media (max-width: 600px) {
  .cookie-banner { left: 8px; right: 8px; bottom: 8px; padding: 12px; flex-direction: column; align-items: stretch; }
  .cookie-banner__actions { justify-content: stretch; }
  .cookie-banner__actions .btn { flex: 1; }
}

/* ===== Tag chips — monochrome (no per-category colors) ===== */
/* All categories collapse to the same dark chip style. */
.chip--adult, .chip--fetish, .chip--genre, .chip--tech, .chip--mood, .chip--lgbtq,
.game-card__tags li.chip--adult, .game-card__tags li.chip--fetish,
.game-card__tags li.chip--genre, .game-card__tags li.chip--tech,
.game-card__tags li.chip--mood, .game-card__tags li.chip--lgbtq {
  /* fall through to default .chip style */
}
.chip--adult:hover, .chip--fetish:hover, .chip--genre:hover,
.chip--tech:hover, .chip--mood:hover, .chip--lgbtq:hover {
  background: var(--accent); color: #fff;
}

/* ===== Hamburger menu (mobile) ===== */
.hamburger {
  display: none;
  background: transparent; border: 0; cursor: pointer;
  width: 36px; height: 36px; padding: 8px;
  flex-direction: column; gap: 4px; justify-content: center;
}
.hamburger span {
  display: block; height: 2px; background: var(--text);
  transition: transform .2s, opacity .2s;
}
.hamburger.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.site-nav__random, .site-nav__wish {
  font-size: 16px; padding: 4px 8px !important;
}
.site-nav__wish:hover { color: var(--mid); }

/* ===== Back to top button ===== */
.back-to-top {
  position: fixed; bottom: 24px; right: 24px;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--accent); color: #fff; border: 0;
  font-size: 22px; font-weight: 700;
  box-shadow: var(--shadow-strong);
  cursor: pointer; z-index: 90;
  transition: transform .15s, background .15s;
}
.back-to-top:hover { transform: translateY(-2px); background: var(--accent-hover); }

/* ===== Search suggest dropdown ===== */
.site-search__wrap { position: relative; }
.search-suggest {
  position: absolute; top: 100%; left: 0; right: 0;
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  list-style: none; padding: 4px 0; margin: 0;
  max-height: 400px; overflow-y: auto; z-index: 100;
  box-shadow: var(--shadow-strong);
}
.search-suggest li { padding: 0; }
.search-suggest a {
  display: flex; align-items: center; gap: 10px; padding: 8px 12px;
  color: var(--text); text-decoration: none;
}
.search-suggest a:hover { background: var(--bg-3); color: var(--text); }
.search-suggest img { width: 32px; height: 40px; object-fit: cover; border-radius: 3px; flex-shrink: 0; }
.search-suggest__nocover { width: 32px; height: 40px; background: var(--bg-3); border-radius: 3px; flex-shrink: 0; }
.search-suggest__title { font-size: 13px; flex: 1; }
.search-suggest__dev { font-size: 11px; color: var(--text-mute); }

/* ===== Multi-tag filter chips ===== */
.selected-tags {
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
  width: 100%; margin: 6px 0; padding: 8px 0;
  border-top: 1px dashed var(--border);
  border-bottom: 1px dashed var(--border);
}
.selected-tags__label {
  font-size: 11px; color: var(--text-mute);
  text-transform: uppercase; letter-spacing: .05em; margin-right: 4px;
}
.chip--removable { padding-right: 8px; }
.chip__x {
  display: inline-block; margin-left: 4px;
  font-weight: 700; opacity: .7;
}
.chip--removable:hover .chip__x { opacity: 1; }
.chip--clear {
  background: transparent !important; color: var(--text-mute) !important;
  border: 1px dashed var(--border);
}
.chip--clear:hover { color: var(--text) !important; border-color: var(--text-dim); }

/* ===== Ad slots ===== */
.ad-slot {
  margin: 18px 0;
  display: flex; justify-content: center; align-items: center;
}
.ad-slot--sidebar_game { margin: 0 0 16px; }
.ad-slot--footer { margin: 24px auto 0; }
.ad-slot--placeholder {
  background: var(--bg-3); border: 1px dashed var(--border);
  color: var(--text-mute); font-size: 11px; text-transform: uppercase;
  letter-spacing: .1em; padding: 30px 20px; border-radius: 4px;
  min-height: 90px;
}

/* ===== Featured listings ===== */
.game-card--featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 4px 16px rgba(201, 59, 138, .25);
}
.game-card--featured:hover {
  box-shadow: 0 0 0 1px var(--accent), 0 8px 24px rgba(201, 59, 138, .4);
}
.game-card__featured {
  position: absolute; top: 8px; left: 8px; z-index: 2;
  background: var(--accent); color: #fff;
  padding: 3px 8px; border-radius: 3px;
  font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
  box-shadow: 0 2px 6px rgba(0,0,0,.4);
}

/* ===== VPN affiliate footer link ===== */
.vpn-rec {
  margin-top: 12px !important; padding-top: 10px;
  border-top: 1px solid var(--border);
  font-size: 12px !important; line-height: 1.5;
}
.vpn-rec__label { color: var(--text-mute); }
.vpn-rec__link {
  color: var(--accent); font-weight: 600;
  margin: 0 4px;
}
.vpn-rec__link:hover { color: var(--accent-hover); }
.vpn-rec__blurb { color: var(--text-mute); }

/* ===== AI-generated review section ===== */
.ai-review {
  background: linear-gradient(135deg, #1c1530 0%, #15182d 100%);
  border: 1px solid var(--border);
  border-radius: 12px; padding: 24px 26px;
  margin: 28px 0;
}
.ai-review h2 { font-size: 20px; margin: 0 0 14px; display: flex; align-items: center; gap: 8px; }
.ai-review h2::before { content: '✦'; color: var(--accent); }
.ai-review__headline {
  font-size: 17px; font-weight: 600; color: var(--text);
  font-style: italic; margin: 0 0 8px;
  padding-left: 12px; border-left: 3px solid var(--accent);
}
.ai-review .prose__body { font-size: 15px; line-height: 1.7; }
.ai-review .prose__body p { margin: 0 0 12px; }

.proscons {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  margin: 20px 0;
}
.proscons__col {
  background: var(--bg-3); border-radius: 8px; padding: 14px 18px;
}
.proscons__col h3 {
  margin: 0 0 10px; font-size: 14px; text-transform: uppercase; letter-spacing: .04em;
  display: flex; align-items: center; gap: 6px;
}
.proscons__col--pros { border-top: 3px solid var(--accent); }
.proscons__col--pros h3::before { content: '✓'; color: var(--accent); font-weight: 700; }
.proscons__col--cons { border-top: 3px solid var(--text-mute); }
.proscons__col--cons h3::before { content: '–'; color: var(--text-mute); font-weight: 700; }
.proscons ul { margin: 0; padding-left: 18px; font-size: 13px; line-height: 1.6; }
.proscons li { margin-bottom: 4px; }

.audience-boxes { display: flex; flex-direction: column; gap: 8px; margin: 16px 0 12px; }
.audience-box {
  padding: 10px 14px; border-radius: 6px;
  font-size: 13px; line-height: 1.55;
  background: var(--bg-3);
}
.audience-box strong { color: var(--text); margin-right: 4px; }
.audience-box--for { border-left: 3px solid var(--accent); }
.audience-box--against { border-left: 3px solid var(--text-mute); }
.audience-box--similar { border-left: 3px solid var(--text-dim); }

.ai-review__attribution {
  font-size: 11px; color: var(--text-mute); margin: 12px 0 0;
  text-align: right; font-style: italic;
}

@media (max-width: 700px) {
  .proscons { grid-template-columns: 1fr; }
  .ai-review { padding: 18px; }
}

/* ===== More by dev section ===== */
.more-by-dev { margin: 32px 0; }
.more-by-dev h2 { font-size: 18px; margin: 0 0 14px; }
.more-by-dev h2 a { color: var(--accent); }

/* ===== Creator branded links ===== */
.creator-links { margin: 18px 0; }
.creator-links__label {
  display: block; font-size: 11px; color: var(--text-mute);
  text-transform: uppercase; letter-spacing: .06em; margin-bottom: 8px;
}
.creator-links__row { display: flex; flex-wrap: wrap; gap: 8px; }

.brand-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 8px;
  background: var(--bg-3); color: var(--text);
  font-size: 13px; font-weight: 600;
  border: 1px solid var(--border);
  text-decoration: none;
  transition: background .15s, border-color .15s, transform .12s, color .15s;
}
.brand-btn:hover {
  background: var(--accent); color: #fff;
  border-color: var(--accent);
  transform: translateY(-1px);
}
.brand-btn__icon {
  width: 16px; height: 16px; display: inline-flex;
  color: var(--accent);  /* icon stays accent-colored for visual identification */
  transition: color .15s;
}
.brand-btn__icon svg { width: 100%; height: 100%; }
.brand-btn:hover .brand-btn__icon { color: #fff; }
.brand-btn__label { white-space: nowrap; }

/* ===== Social share strip ===== */
.share-strip {
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
  margin-top: 14px; padding-top: 14px;
  border-top: 1px solid var(--border);
  position: relative;
}
.share-strip__label {
  font-size: 11px; color: var(--text-mute);
  text-transform: uppercase; letter-spacing: .06em; margin-right: 4px;
}
.share-btn {
  width: 34px; height: 34px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--bg-3); border: 1px solid var(--border); border-radius: 50%;
  color: var(--text-dim); cursor: pointer;
  transition: background .12s, color .12s, transform .12s;
}
.share-btn svg { width: 16px; height: 16px; }
.share-btn:hover {
  transform: translateY(-1px);
  background: var(--accent); color: #fff;
  border-color: var(--accent);
}

.share-strip__copied {
  font-size: 12px; color: var(--pos);
  animation: fadeOut 2s ease-in forwards;
  margin-left: 4px;
}
@keyframes fadeOut {
  0%, 70% { opacity: 1; }
  100% { opacity: 0; }
}

/* ===== Tabs / accordion (lewdninja-style) ===== */
.tabs { display: flex; flex-direction: column; gap: 4px; margin-bottom: 28px; }
.tab-block {
  background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden;
}
.tab-block summary {
  list-style: none; padding: 12px 18px; cursor: pointer;
  font-weight: 600; font-size: 14px; color: var(--text);
  display: flex; align-items: center; justify-content: space-between;
  user-select: none; background: var(--bg-2); transition: background .12s;
}
.tab-block summary::-webkit-details-marker { display: none; }
.tab-block summary::after { content: '›'; font-size: 22px; color: var(--text-mute); transition: transform .15s; }
.tab-block[open] summary::after { transform: rotate(90deg); }
.tab-block summary:hover { background: var(--bg-3); }
.tab-block__body { padding: 18px; border-top: 1px solid var(--border); background: var(--bg-2); }

/* screenshot grid */
.screenshot-grid {
  display: grid; gap: 8px;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}
.screenshot-grid__item {
  display: block; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 16/9;
  background: #000;
}
.screenshot-grid__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .15s; }
.screenshot-grid__item:hover img { transform: scale(1.04); }

/* mirror list */
.mirror-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.mirror-row {
  display: flex; align-items: center; gap: 12px; padding: 10px 14px;
  background: var(--bg-3); border-radius: var(--radius-sm); font-size: 13px;
  flex-wrap: wrap;
}
.mirror-row__host {
  background: var(--accent); color: #fff; padding: 2px 8px;
  border-radius: 3px; font-size: 11px; text-transform: uppercase; font-weight: 700;
}
.mirror-row__url { color: var(--text-dim); word-break: break-all; flex: 1; min-width: 200px; }
.mirror-row__url:hover { color: var(--accent); }
.mirror-row__size, .mirror-row__version, .mirror-row__plat { color: var(--text-mute); font-size: 12px; }

/* version list */
.version-list { list-style: none; padding: 0; margin: 0; }
.version-list li {
  padding: 10px 14px; background: var(--bg-3); border-radius: var(--radius-sm);
  margin-bottom: 6px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
}
.version-date { color: var(--text-mute); font-size: 12px; }
.link-ghost { margin-left: auto; color: var(--text-dim); font-size: 12px; }

/* ===== Body 2-col: main + sidebar ===== */
.game-body { display: grid; grid-template-columns: 1fr 300px; gap: 28px; }

.prose h2 { font-size: 18px; margin: 28px 0 12px; }
.prose__body { color: var(--text); line-height: 1.7; word-wrap: break-word; }
.prose__body a { color: var(--accent-2); }

.tags-section h2 { font-size: 18px; margin: 28px 0 12px; }
.tag-chips { list-style: none; padding: 0; margin: 0; display: flex; gap: 6px; flex-wrap: wrap; }
.chip {
  background: var(--bg-3); color: var(--text-dim); padding: 5px 12px;
  border-radius: 999px; font-size: 12px;
}
.chip:hover { background: var(--accent); color: #fff; }

.info-table h2 { font-size: 18px; margin: 28px 0 12px; }
.info-table dl {
  display: grid; grid-template-columns: 130px 1fr; gap: 6px 16px;
  background: var(--bg-2); padding: 16px; border-radius: var(--radius); border: 1px solid var(--border);
}
.info-table dt { color: var(--text-mute); font-size: 13px; }
.info-table dd { margin: 0; font-size: 13px; }

/* comments */
.comments { margin-top: 32px; }
.comments h2 { font-size: 18px; margin-bottom: 12px; }
.comment-list { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-direction: column; gap: 10px; }
.comment { background: var(--bg-2); padding: 12px 14px; border-radius: var(--radius); border: 1px solid var(--border); }
.comment__header { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.comment__date { color: var(--text-mute); font-size: 12px; }
.comment__body { margin: 0; font-size: 14px; line-height: 1.55; white-space: pre-wrap; }

.comment-form { display: flex; flex-direction: column; gap: 8px; max-width: 600px; }
.comment-form input, .comment-form textarea {
  background: var(--bg-3); border: 1px solid var(--border); color: var(--text);
  padding: 8px 12px; border-radius: var(--radius-sm); font-size: 14px;
}
.comment-form input:focus, .comment-form textarea:focus { border-color: var(--accent); outline: none; }
.comment-form textarea { resize: vertical; min-height: 70px; }
.comment-form button { align-self: flex-start; }

/* sidebar */
.game-side .side-block {
  background: var(--bg-2); padding: 16px; border-radius: var(--radius);
  border: 1px solid var(--border); position: sticky; top: 80px;
}
.game-side h3 { margin: 0 0 12px; font-size: 14px; color: var(--text-dim); text-transform: uppercase; letter-spacing: .05em; }
.side-game-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.side-game {
  display: flex; gap: 10px; align-items: center; padding: 6px;
  border-radius: var(--radius-sm); color: var(--text); transition: background .12s;
}
.side-game:hover { background: var(--bg-3); color: var(--text); }
.side-game img { width: 48px; height: 60px; object-fit: cover; border-radius: 3px; flex-shrink: 0; }
.side-game div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.side-game strong { font-size: 13px; line-height: 1.3; display: -webkit-box;
  -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.side-game__ver, .side-game__meta { color: var(--text-mute); font-size: 11px; }

/* ===== Age gate modal ===== */
.age-gate {
  position: fixed; inset: 0; background: rgba(0,0,0,.85);
  z-index: 1000; display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.age-gate__box {
  background: var(--bg-2); padding: 32px 28px; border-radius: 12px;
  max-width: 460px; border: 1px solid var(--border);
  box-shadow: var(--shadow-strong); text-align: center;
}
.age-gate__box h2 { margin: 0 0 12px; font-size: 22px; }
.age-gate__box p { color: var(--text-dim); font-size: 14px; line-height: 1.6; margin: 0 0 24px; }
.age-gate__buttons { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* ===== Lightbox ===== */
.lightbox {
  position: fixed; inset: 0; background: rgba(0,0,0,.94);
  z-index: 1100; display: flex; align-items: center; justify-content: center;
}
.lightbox__img { max-width: 90vw; max-height: 88vh; border-radius: 4px; }
.lightbox__close, .lightbox__nav {
  position: absolute; background: transparent; border: 0; color: #fff;
  font-size: 36px; cursor: pointer; padding: 12px 20px;
}
.lightbox__close { top: 12px; right: 12px; font-size: 30px; }
.lightbox__nav--prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 12px; top: 50%; transform: translateY(-50%); }
.lightbox__close:hover, .lightbox__nav:hover { color: var(--accent); }

/* ===== Footer ===== */
.site-footer {
  background: #0a0c11; border-top: 1px solid var(--border); margin-top: 60px;
  padding: 40px 20px 16px;
}
.site-footer__inner {
  max-width: 1320px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px; padding-bottom: 28px; border-bottom: 1px solid var(--border);
}
.site-footer h4 { margin: 0 0 12px; font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--text-dim); }
.site-footer p { color: var(--text-mute); font-size: 13px; line-height: 1.6; margin: 0; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { margin-bottom: 6px; }
.site-footer a { color: var(--text-dim); font-size: 13px; }
.site-footer a:hover { color: var(--accent); }
.tag-cloud { display: flex; gap: 6px; flex-wrap: wrap; }
.tag-cloud li { margin: 0 !important; }
.tag-cloud a { background: var(--bg-3); padding: 3px 8px; border-radius: 3px; font-size: 11px; }
.site-footer__bar {
  max-width: 1320px; margin: 16px auto 0;
  display: flex; justify-content: space-between; color: var(--text-mute); font-size: 12px;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .game-hero { grid-template-columns: 1fr; }
  .game-hero__cover { max-width: 260px; }
  .game-body { grid-template-columns: 1fr; }
  .site-header__inner { grid-template-columns: auto auto 1fr; }
  .hamburger { display: flex; order: -1; }
  .site-nav {
    position: fixed; top: 0; right: -100%;
    width: 280px; height: 100vh;
    background: var(--bg-2); border-left: 1px solid var(--border);
    flex-direction: column; padding: 70px 16px 16px;
    transition: right .3s ease;
    z-index: 99; overflow-y: auto;
    gap: 6px;
  }
  .site-nav.is-open { right: 0; box-shadow: -8px 0 32px rgba(0,0,0,.5); }
  .site-nav a { padding: 10px 12px; font-size: 14px; }
  .site-search input { width: 160px; }
}
@media (max-width: 540px) {
  .site-main { padding: 16px 12px 40px; }
  .game-hero { padding: 16px; }
  .game-hero__title { font-size: 22px; }
  .hero-band { padding: 24px 18px; }
  .hero-band h1 { font-size: 22px; }
  .stat-block { min-width: 80px; padding: 8px 12px; }
}
