/* Layout, color and spacing only. Typography lives in typography.css. */
:root { color-scheme: light; --paper: #fbf9fc; --paper-2: #f4f1f5; --paper-3: #ebe7ef; --ink: #141017; --ink-soft: #2b2531; --muted: #6d6573; --faint: #958c9a; --line: #e4dee8; --line-strong: #cec5d6; --lime: #cbf036; --mint: #7eee8c; --aqua: #00e9f8; --hot: #ff3d6e; --grad: linear-gradient(115deg, #cbf036 0%, #7eee8c 45%, #00e9f8 100%); --grad-soft: linear-gradient(115deg, rgba(203, 240, 54, 0.2), rgba(0, 233, 248, 0.13)); --wrap: 1240px; --radius: 18px; --shadow: 0 22px 60px rgba(20, 16, 23, 0.1); }

* { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; background: var(--paper); }
body { margin: 0; min-width: 320px; color: var(--ink); background:
    radial-gradient(1000px 620px at 96% -10%, rgba(203, 240, 54, 0.18), transparent 60%),
    radial-gradient(900px 620px at -8% 18%, rgba(0, 233, 248, 0.08), transparent 62%),
    var(--paper); }
body::before { position: fixed; inset: 0; z-index: -1; pointer-events: none; content: ""; background-image: radial-gradient(rgba(20, 16, 23, 0.13) 1px, transparent 1px); background-size: 22px 22px; opacity: 0.18; mask-image: linear-gradient(120deg, #000, transparent 26%, transparent 74%, #000); }
a { color: inherit; text-decoration: none; }
button { color: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }
svg { display: block; }
::selection { color: var(--ink); background: var(--lime); }
::-webkit-scrollbar { width: 9px; height: 9px; }
::-webkit-scrollbar-thumb { background: rgba(20, 16, 23, 0.25); border: 2px solid transparent; border-radius: 999px; background-clip: padding-box; }

.skip-link { position: fixed; top: 10px; left: 10px; z-index: 300; padding: 9px 14px; color: var(--ink); background: var(--lime); border: 1px solid var(--ink); border-radius: 8px; transform: translateY(-160%); transition: transform 0.18s ease; }
.skip-link:focus { transform: translateY(0); }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.site-glow { display: none; }
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.category-icon { display: block; width: 20px; height: 20px; }

/* announcement + header */
.announcement-bar { color: #fff; background: var(--ink); border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.announcement-inner { display: flex; align-items: center; justify-content: center; gap: 11px; min-height: 36px; color: rgba(255, 255, 255, 0.64); }
.announcement-inner a { margin-left: 10px; color: var(--lime); }
.announcement-pill { display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px; color: var(--ink); background: var(--lime); border-radius: 999px; }
.announcement-pill i { width: 4px; height: 4px; background: var(--ink); border-radius: 50%; }
.announcement-sep { color: rgba(255, 255, 255, 0.24); }

.site-header { position: sticky; top: 0; z-index: 60; background: rgba(251, 249, 252, 0.9); border-bottom: 1px solid var(--line); backdrop-filter: blur(18px); }
.header-inner { display: flex; align-items: center; gap: 22px; height: 68px; }
.brand { display: flex; align-items: center; gap: 9px; min-width: 0; }
.brand-mark { display: grid; place-items: center; width: 30px; height: 30px; flex: none; color: var(--lime); background: var(--ink); border-radius: 8px; }
.brand-copy { display: flex; flex-direction: column; gap: 0; min-width: 0; }
.brand-copy strong { color: var(--ink); }
.brand-copy small { max-width: 190px; overflow: hidden; color: var(--faint); text-overflow: ellipsis; white-space: nowrap; }
.site-nav { display: flex; align-items: center; gap: 20px; margin-left: 16px; }
.site-nav a { position: relative; padding: 7px 0; color: var(--muted); transition: color 0.18s ease; }
.site-nav a:hover, .site-nav a.is-active { color: var(--ink); }
.site-nav a.is-active::after { position: absolute; right: 0; bottom: -1px; left: 0; height: 2px; content: ""; background: var(--lime); }
.nav-search { display: flex; align-items: center; gap: 8px; width: 206px; height: 34px; padding: 0 11px; margin-left: auto; background: #fff; border: 1px solid var(--line-strong); border-radius: 999px; transition: border-color 0.18s ease, box-shadow 0.18s ease; }
.nav-search:focus-within { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(203, 240, 54, 0.35); }
.nav-search svg, .hero-search svg, .catalog-search svg { width: 15px; height: 15px; flex: none; fill: none; stroke: var(--muted); stroke-width: 1.8; stroke-linecap: round; }
.nav-search input, .hero-search input, .catalog-search input { width: 100%; min-width: 0; color: var(--ink); background: none; border: 0; outline: 0; }
.nav-search input::placeholder, .hero-search input::placeholder, .catalog-search input::placeholder { color: var(--faint); }
.channel-pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; color: #fff; white-space: nowrap; background: var(--ink); border-radius: 999px; }
.channel-pill i { width: 4px; height: 4px; background: var(--lime); border-radius: 50%; }
.nav-toggle { display: none; width: 34px; height: 34px; padding: 8px; margin-left: auto; background: #fff; border: 1px solid var(--line-strong); border-radius: 9px; }
.nav-toggle span { display: block; height: 1.5px; margin: 4px 0; background: var(--ink); border-radius: 2px; }

/* shared */
.kicker { display: inline-flex; align-items: center; gap: 7px; padding: 6px 10px; color: var(--ink); background: #fff; border: 1px solid var(--ink); border-radius: 999px; }
.kicker i { width: 5px; height: 5px; background: var(--lime); border: 1px solid var(--ink); border-radius: 50%; }
.grad-text { display: inline-block; color: transparent; background: var(--grad); -webkit-background-clip: text; background-clip: text; padding-right: 0.04em; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 18px; border: 1px solid transparent; border-radius: 999px; transition: transform 0.16s ease, background 0.16s ease, color 0.16s ease, box-shadow 0.16s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { color: #fff; background: var(--ink); border-color: var(--ink); box-shadow: 0 10px 24px rgba(20, 16, 23, 0.16); }
.btn-primary:hover { color: var(--ink); background: var(--lime); border-color: var(--ink); }
.btn-ghost { color: var(--ink); background: #fff; border-color: var(--ink); }
.btn-ghost:hover { color: var(--ink); background: var(--paper-2); }
.btn-quiet { color: var(--muted); background: transparent; border-color: var(--line-strong); }
.btn-quiet:hover { color: var(--ink); background: #fff; border-color: var(--ink); }
.btn-disabled { color: var(--faint); background: var(--paper-2); border-color: var(--line); pointer-events: none; }

/* home hero */
.hero { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(420px, 0.98fr); gap: 48px; align-items: center; padding-top: 68px; padding-bottom: 42px; }
.hero-copy { min-width: 0; }
.hero h1 { max-width: 760px; margin: 20px 0 0; }
.hero h1 .grad-text { white-space: nowrap; }
.hero-lead { max-width: 590px; margin: 20px 0 0; color: var(--muted); }
.hero-search { display: flex; width: 100%; max-width: 570px; height: 54px; padding: 0 5px 0 15px; margin-top: 26px; background: #fff; border: 1.5px solid var(--ink); border-radius: 12px; box-shadow: 0 14px 34px rgba(20, 16, 23, 0.08); transition: box-shadow 0.18s ease; }
.hero-search:focus-within { box-shadow: 0 0 0 4px rgba(203, 240, 54, 0.36); }
.hero-search button { align-self: center; height: 42px; padding: 0 18px; color: #fff; white-space: nowrap; background: var(--ink); border: 0; border-radius: 8px; }
.hero-quick { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-top: 15px; }
.hero-quick span { color: var(--faint); }
.hero-quick a { padding: 4px 9px; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 999px; }
.hero-quick a:hover { color: var(--ink); border-color: var(--ink); background: var(--lime); }
.hero-metrics { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 560px; margin-top: 30px; border-top: 1px solid var(--ink); }
.hero-metrics div { padding: 14px 16px 0 0; border-right: 1px solid var(--line); }
.hero-metrics div + div { padding-left: 16px; }
.hero-metrics div:last-child { border-right: 0; }
.hero-metrics strong { display: block; color: var(--ink); }
.hero-metrics span { display: block; margin-top: 4px; color: var(--faint); }
.hero-visual { min-width: 0; }
.game-star-map { position: relative; max-width: 100%; aspect-ratio: 600 / 470; min-height: 390px; overflow: hidden; background:
    radial-gradient(circle at 50% 49%, rgba(203, 240, 54, 0.22), transparent 28%),
    radial-gradient(circle at 75% 65%, rgba(0, 233, 248, 0.12), transparent 30%),
    #fff; border: 1px solid var(--ink); border-radius: 24px; box-shadow: 0 24px 70px rgba(20, 16, 23, 0.1), inset 0 0 0 1px #fff; }
.game-star-map::before { position: absolute; inset: 0; content: ""; background-image: radial-gradient(rgba(20, 16, 23, 0.18) 1px, transparent 1px); background-size: 18px 18px; opacity: 0.34; mask-image: radial-gradient(circle at 50% 50%, #000, transparent 73%); }
.map-caption, .map-coordinate { position: absolute; z-index: 4; color: var(--faint); }
.map-caption { top: 16px; left: 18px; color: var(--ink); }
.map-coordinate-a { top: 16px; right: 18px; }
.map-coordinate-b { right: 18px; bottom: 16px; }
.star-lines { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; }
.star-lines path { fill: none; stroke: rgba(20, 16, 23, 0.38); stroke-width: 1; stroke-dasharray: 4 6; }
.star-hub { position: absolute; top: 50%; left: 50%; z-index: 5; display: flex; align-items: center; gap: 9px; width: 150px; height: 92px; padding: 12px; color: #fff; background: var(--ink); border: 1px solid var(--ink); border-radius: 50%; box-shadow: 0 18px 42px rgba(20, 16, 23, 0.25), 0 0 0 9px rgba(203, 240, 54, 0.34); transform: translate(-50%, -50%); }
.star-hub-mark { display: grid; place-items: center; width: 34px; height: 34px; flex: none; color: var(--ink); background: var(--lime); border-radius: 50%; }
.star-hub-copy { display: flex; flex-direction: column; min-width: 0; }
.star-hub-copy strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.star-hub-copy small { margin-top: 2px; color: rgba(255, 255, 255, 0.48); }
.star-node { position: absolute; z-index: 3; display: flex; align-items: center; gap: 8px; max-width: 145px; padding: 8px 10px; background: #fff; border: 1px solid var(--ink); border-radius: 999px; box-shadow: 0 10px 24px rgba(20, 16, 23, 0.09); transition: transform 0.18s ease, background 0.18s ease; animation: node-float 5s ease-in-out infinite; }
.star-node:hover { z-index: 6; background: var(--lime); transform: translateY(-3px) scale(1.03); }
.node-dot { width: 7px; height: 7px; flex: none; border-radius: 50%; }
.node-copy { display: flex; flex-direction: column; min-width: 0; }
.node-copy strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.node-copy em { margin-top: 1px; color: var(--faint); }
.star-node-1 { top: 11%; left: 7%; animation-delay: -0.4s; }
.star-node-2 { top: 10%; right: 6%; animation-delay: -1.4s; }
.star-node-3 { top: 43%; left: 3%; animation-delay: -2.1s; }
.star-node-4 { top: 43%; right: 3%; animation-delay: -1.8s; }
.star-node-5 { bottom: 10%; left: 10%; animation-delay: -0.9s; }
.star-node-6 { right: 9%; bottom: 9%; animation-delay: -2.7s; }
.star-node-1 .node-dot, .star-node-4 .node-dot { background: var(--lime); }
.star-node-2 .node-dot, .star-node-5 .node-dot { background: var(--aqua); }
.star-node-3 .node-dot, .star-node-6 .node-dot { background: var(--hot); }
.hero-visual-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; color: var(--faint); }
.hero-visual-foot span { display: inline-flex; align-items: center; gap: 6px; }
.hero-visual-foot i { width: 5px; height: 5px; background: var(--lime); border: 1px solid var(--ink); border-radius: 50%; }
.hero-visual-foot a { color: var(--ink); }
.hero-visual-foot b { color: var(--hot); }

@keyframes node-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.ticker { overflow: hidden; color: var(--ink); background: var(--grad); border-block: 1px solid var(--ink); }
.ticker-track { display: flex; align-items: center; gap: 24px; width: max-content; min-height: 48px; animation: ticker 28s linear infinite; }
.ticker-track span { white-space: nowrap; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* sections */
.section { padding-top: 64px; padding-bottom: 64px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 26px; margin-bottom: 23px; }
.section-kicker { display: block; margin-bottom: 8px; color: var(--muted); }
.section-kicker::before { margin-right: 6px; color: var(--hot); content: "●"; vertical-align: 1px; }
.section-head h2, .seo-copy h2 { margin: 0; color: var(--ink); }
.section-head p { max-width: 430px; margin: 0; color: var(--muted); text-align: right; }
.section-link { padding-bottom: 3px; color: var(--ink); border-bottom: 1px solid var(--ink); white-space: nowrap; }

/* featured */
.feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.feature-card { display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid var(--line-strong); border-radius: 20px; transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease; }
.feature-card:first-child { grid-column: span 2; }
.feature-card:hover { transform: translateY(-4px); border-color: var(--ink); box-shadow: var(--shadow); }
.feature-cover { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background:
    radial-gradient(110% 120% at 76% 0%, hsla(var(--hue), 80%, 62%, 0.52), transparent 52%),
    linear-gradient(145deg, #e9e4ed, #f6f2f7 72%); }
.feature-card:first-child .feature-cover { aspect-ratio: 2.05 / 1; }
.feature-cover img, .game-cover img, .detail-cover img, .shot-slide img { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; color: transparent; }
.cover-grid { position: absolute; inset: 0; z-index: 0; background-image:
    linear-gradient(rgba(20, 16, 23, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 16, 23, 0.06) 1px, transparent 1px); background-size: 32px 32px; mask-image: linear-gradient(135deg, #000, transparent 80%); }
.feature-initial { position: absolute; right: 16px; bottom: -22px; z-index: 0; color: hsla(var(--hue), 32%, 25%, 0.13); }
.feature-rank { position: absolute; top: 14px; left: 14px; z-index: 2; color: var(--ink); }
.cover-badge { position: absolute; top: 12px; right: 12px; z-index: 3; padding: 4px 8px; color: var(--lime); background: var(--ink); border-radius: 999px; }
.feature-body { display: flex; flex: 1; flex-direction: column; padding: 16px 17px 14px; }
.feature-title { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.feature-title strong { overflow: hidden; color: var(--ink); text-overflow: ellipsis; white-space: nowrap; }
.feature-title span { flex: none; color: var(--faint); }
.feature-body p { display: -webkit-box; margin: 7px 0 0; overflow: hidden; color: var(--muted); -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.feature-meta { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 13px; color: var(--faint); }
.feature-meta b { margin-left: auto; color: var(--ink); }

/* categories + topics */
.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 11px; }
.category-tile { display: flex; align-items: center; gap: 11px; min-width: 0; padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: 13px; transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease; }
.category-tile:hover { transform: translateY(-2px); border-color: var(--ink); background: var(--lime); }
.category-mark { display: grid; place-items: center; width: 38px; height: 38px; flex: none; color: var(--ink); background: var(--paper-2); border: 1px solid var(--line-strong); border-radius: 9px; }
.category-tile:nth-child(3n + 2) .category-mark { background: rgba(0, 233, 248, 0.12); }
.category-tile:nth-child(3n + 3) .category-mark { background: rgba(255, 61, 110, 0.1); }
.category-tile div { min-width: 0; }
.category-tile strong { display: block; overflow: hidden; color: var(--ink); text-overflow: ellipsis; white-space: nowrap; }
.category-tile div span { display: block; margin-top: 2px; color: var(--muted); }
.category-tile em { margin-left: auto; color: var(--ink); }
.category-tile:hover .category-mark { color: var(--lime); background: var(--ink); border-color: var(--ink); }
.category-grid.compact .category-tile { padding: 12px; }
.topic-row { display: flex; flex-wrap: wrap; gap: 8px; }
.topic-chip { display: inline-flex; align-items: center; gap: 7px; padding: 9px 13px; background: #fff; border: 1px solid var(--ink); border-radius: 999px; transition: background 0.18s ease, transform 0.18s ease; }
.topic-icon { width: 21px; height: 21px; flex: none; border-radius: 6px; box-shadow: 0 3px 8px rgba(20, 16, 23, 0.16); transition: transform 0.18s ease; }
.topic-chip:hover { background: var(--aqua); transform: translateY(-2px); }
.topic-chip:hover .topic-icon { transform: rotate(-3deg) scale(1.08); }
.topic-chip strong { color: var(--ink); }
.topic-chip span { color: var(--muted); }

/* game cards */
.game-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; }
.game-card { display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 15px; transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease; }
.game-card:hover { transform: translateY(-3px); border-color: var(--ink); box-shadow: 0 18px 40px rgba(20, 16, 23, 0.1); }
.game-card.is-hidden { display: none; }
.game-cover { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background:
    radial-gradient(110% 120% at 76% 0%, hsla(var(--hue), 80%, 62%, 0.5), transparent 52%),
    linear-gradient(145deg, #e9e4ed, #f6f2f7 72%); }
.cover-initial { position: absolute; right: 8px; bottom: -20px; z-index: 0; color: hsla(var(--hue), 40%, 25%, 0.14); }
.cover-label { position: absolute; bottom: 10px; left: 10px; z-index: 3; padding: 3px 7px; color: var(--ink); background: rgba(255, 255, 255, 0.82); border: 1px solid var(--ink); border-radius: 5px; backdrop-filter: blur(8px); }
.game-body { display: flex; flex: 1; flex-direction: column; padding: 12px 13px 11px; }
.game-title-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.game-title-row strong { overflow: hidden; color: var(--ink); text-overflow: ellipsis; white-space: nowrap; }
.game-title-row span { flex: none; color: var(--faint); }
.game-card:hover .game-title-row span { color: var(--hot); }
.game-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 7px; }
.game-tags i { max-width: 100%; padding: 2px 6px; overflow: hidden; color: var(--muted); text-overflow: ellipsis; white-space: nowrap; background: var(--paper-2); border: 1px solid var(--line); border-radius: 4px; }
.game-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 10px; color: var(--faint); }
.game-meta span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.game-meta b { flex: none; color: var(--hot); }

/* editorial trust + SEO */
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }
.trust-card { padding: 22px; background: #fff; border: 1px solid var(--ink); border-radius: 17px; }
.trust-card > span { color: var(--hot); }
.trust-card strong { display: block; margin-top: 14px; color: var(--ink); }
.trust-card p { margin: 8px 0 0; color: var(--muted); }
.seo-copy { padding-top: 42px; padding-bottom: 64px; border-top: 1px solid var(--line); }
.seo-copy p { max-width: 960px; margin: 14px 0 0; color: var(--muted); }

#hot { margin-top: 20px; margin-bottom: 20px; padding-top: 42px; padding-bottom: 42px; background: var(--ink); border-radius: 24px; }
#hot .section-head h2 { color: #fff; }
#hot .section-head p { color: rgba(255, 255, 255, 0.5); }
#hot .section-kicker { color: var(--lime); }
#hot .section-link { color: #fff; border-color: rgba(255, 255, 255, 0.32); }
#hot .game-card { border-color: rgba(255, 255, 255, 0.16); }

/* page hero + catalog */
.page-hero { padding-top: 46px; padding-bottom: 28px; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-bottom: 26px; color: var(--faint); }
.breadcrumb a:hover { color: var(--hot); }
.breadcrumb b { color: var(--muted); }
.page-hero h1 { margin: 16px 0 0; color: var(--ink); }
.page-hero > p { max-width: 760px; margin: 14px 0 0; color: var(--muted); }
.page-hero-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 19px; }
.page-hero-meta span { padding: 5px 9px; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 999px; }
.page-hero-meta b { color: var(--ink); }
.catalog-section { padding-bottom: 58px; }
.catalog-toolbar { position: sticky; top: 68px; z-index: 30; display: flex; align-items: center; gap: 10px; padding: 8px; background: rgba(251, 249, 252, 0.94); border: 1px solid var(--ink); border-radius: 14px; backdrop-filter: blur(16px); }
.catalog-search { display: flex; flex: 1; align-items: center; gap: 9px; height: 42px; padding: 0 6px 0 12px; background: #fff; border: 1px solid var(--line); border-radius: 9px; }
.catalog-search button { flex: none; height: 30px; padding: 0 10px; color: var(--muted); white-space: nowrap; background: var(--paper-2); border: 1px solid var(--line); border-radius: 6px; }
.catalog-search button:hover { color: var(--ink); border-color: var(--ink); }
.catalog-sort { display: flex; align-items: center; gap: 7px; height: 42px; padding: 0 10px; background: #fff; border: 1px solid var(--line); border-radius: 9px; }
.catalog-sort span { color: var(--faint); white-space: nowrap; }
.catalog-sort select { color: var(--ink); background: none; border: 0; outline: 0; }
.filter-block { margin-top: 12px; padding: 5px 14px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.filter-row { display: flex; align-items: flex-start; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.filter-row:last-child { border-bottom: 0; }
.filter-label { width: 34px; flex: none; padding-top: 4px; color: var(--faint); }
.filter-chips { display: flex; flex-wrap: wrap; gap: 5px; }
.filter-chips button { padding: 4px 9px; color: var(--muted); background: transparent; border: 1px solid transparent; border-radius: 999px; }
.filter-chips button:hover { color: var(--ink); background: var(--paper-2); }
.filter-chips button.is-active { color: var(--ink); background: var(--lime); border-color: var(--ink); }
.catalog-result-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 20px 0 12px; color: var(--faint); }
.catalog-result-head b { color: var(--ink); }
.catalog-empty { padding: 70px 24px; text-align: center; background: #fff; border: 1px dashed var(--line-strong); border-radius: 15px; }
.catalog-empty > span { color: var(--hot); }
.catalog-empty strong { display: block; margin-top: 10px; color: var(--ink); }
.catalog-empty p { margin: 6px 0 18px; color: var(--muted); }
.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 5px; margin-top: 26px; }
.pagination button, .pagination .page-link { display: grid; place-items: center; min-width: 32px; height: 32px; padding: 0 9px; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 7px; text-decoration: none; }
.pagination button:hover:not(:disabled), .pagination .page-link:hover { color: var(--ink); border-color: var(--ink); }
.pagination button.is-current, .pagination .page-link.is-current { color: var(--ink); background: var(--lime); border-color: var(--ink); }
.pagination button:disabled, .pagination .page-link.is-disabled { opacity: 0.35; cursor: default; }

/* collections */
.collection-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.collection-card { display: flex; flex-direction: column; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: 16px; transition: transform 0.18s ease, border-color 0.18s ease; }
.collection-card:hover { transform: translateY(-3px); border-color: var(--ink); }
.collection-index { display: grid; place-items: center; width: 42px; height: 42px; color: var(--ink); background: var(--lime); border: 1px solid var(--ink); border-radius: 11px; }
.collection-index .category-icon { width: 22px; height: 22px; transition: transform 0.18s ease; }
.collection-card:hover .collection-index { color: var(--lime); background: var(--ink); }
.collection-copy { flex: 1; padding-top: 15px; }
.collection-copy > span { color: var(--faint); }
.collection-copy strong { display: block; margin-top: 4px; color: var(--ink); }
.collection-copy p { margin: 8px 0 0; color: var(--muted); }
.collection-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 17px; padding-top: 12px; color: var(--faint); border-top: 1px solid var(--line); }
.collection-foot em { color: var(--ink); }
.collection-grid.is-topic .collection-index { width: 48px; height: 48px; color: inherit; background: transparent; border-color: transparent; border-radius: 14px; box-shadow: 0 8px 18px rgba(20, 16, 23, 0.16); }
.collection-grid.is-topic .collection-index .category-icon { width: 48px; height: 48px; border-radius: 13px; }
.collection-grid.is-topic .collection-card:hover .collection-index { color: inherit; background: transparent; box-shadow: 0 12px 26px rgba(20, 16, 23, 0.2); }
.collection-grid.is-topic .collection-card:hover .category-icon { transform: translateY(-2px) scale(1.05); }

/* detail */
.detail-top { padding-top: 32px; }
.detail-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(390px, 1.02fr); gap: 38px; align-items: center; }
.detail-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.detail-chips a, .detail-chips span { padding: 4px 8px; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 999px; }
.detail-chips a { color: var(--ink); border-color: var(--ink); }
.detail-copy h1 { margin: 15px 0 0; color: var(--ink); overflow-wrap: anywhere; }
.detail-summary { max-width: 650px; margin: 16px 0 0; color: var(--muted); }
.detail-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.detail-meta { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 18px; color: var(--faint); }
.detail-meta span { padding: 4px 8px; background: #fff; border: 1px solid var(--line); border-radius: 999px; }
.trust-line { display: flex; align-items: center; gap: 7px; margin-top: 12px; color: var(--faint); }
.trust-line i { width: 5px; height: 5px; background: var(--aqua); border: 1px solid var(--ink); border-radius: 50%; }
.detail-cover, .detail-media-stage { position: relative; width: 100%; min-width: 0; min-height: 330px; overflow: hidden; background:
    radial-gradient(100% 110% at 72% 4%, hsla(var(--hue, 215), 85%, 64%, 0.52), transparent 54%),
    radial-gradient(85% 90% at 6% 100%, hsla(calc(var(--hue, 215) + 55), 70%, 58%, 0.2), transparent 62%),
    linear-gradient(150deg, #24202a, #111015 72%); border: 1px solid var(--ink); border-radius: 20px; box-shadow: 0 25px 64px rgba(20, 16, 23, 0.18); }
.detail-media-stage { display: flex; align-items: flex-end; aspect-ratio: 16 / 9; }
.detail-media-stage .hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #050609; }
.media-stage-badge, .media-stage-count { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; color: #fff; background: rgba(20, 16, 23, 0.72); border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 999px; backdrop-filter: blur(10px); }
.media-stage-badge { top: 13px; left: 13px; }
.media-stage-badge i { width: 5px; height: 5px; background: var(--lime); border-radius: 50%; }
.media-stage-count { top: 13px; right: 13px; }
.detail-initial { position: absolute; right: -10px; bottom: -44px; z-index: 0; color: hsla(var(--hue, 215), 60%, 78%, 0.12); }
.detail-cover::before, .detail-cover::after { position: absolute; z-index: 0; content: ""; border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 50%; transform: rotate(-24deg); }
.detail-cover::before { top: 44px; right: -92px; width: 410px; height: 205px; }
.detail-cover::after { top: 16px; right: -138px; width: 500px; height: 265px; opacity: 0.55; }
.detail-cover-label { position: absolute; right: 20px; bottom: 18px; left: 20px; z-index: 3; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; color: #fff; }
.detail-cover-label strong { display: block; max-width: 82%; text-shadow: 0 3px 20px rgba(0, 0, 0, 0.45); overflow-wrap: anywhere; }
.detail-cover-label span { display: block; margin-top: 4px; color: rgba(255, 255, 255, 0.52); }
.detail-cover-label em { padding: 5px 9px; color: var(--ink); background: var(--lime); border-radius: 999px; white-space: nowrap; }

/* media gallery */
.media-gallery { padding-top: 34px; padding-bottom: 30px; }
.media-gallery-tools { display: flex; align-items: center; gap: 12px; color: var(--faint); }
.shot-viewport-wrap { position: relative; }
.shot-viewport { overflow-x: auto; overflow-y: hidden; scrollbar-width: none; scroll-snap-type: x mandatory; cursor: grab; }
.shot-viewport::-webkit-scrollbar { display: none; }
.shot-viewport.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.shot-track { display: flex; gap: 12px; }
.shot-slide { position: relative; flex: 0 0 calc((100% - 36px) / 4); aspect-ratio: 9 / 16; min-width: 0; overflow: hidden; padding: 0; background: #fff; border: 1px solid var(--line-strong); border-radius: 13px; scroll-snap-align: start; cursor: zoom-in; transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease; }
.shot-slide:hover { transform: translateY(-3px); border-color: var(--ink); box-shadow: 0 16px 34px rgba(20, 16, 23, 0.1); }
.shot-number { position: absolute; top: 9px; left: 9px; display: grid; place-items: center; min-width: 23px; height: 21px; padding: 0 5px; color: #fff; background: var(--ink); border-radius: 999px; }
.shot-arrow { position: absolute; top: 50%; z-index: 3; display: grid; place-items: center; width: 38px; height: 38px; color: #fff; background: var(--ink); border: 1px solid var(--ink); border-radius: 50%; transform: translateY(-50%); transition: background 0.18s ease, color 0.18s ease, opacity 0.18s ease; }
.shot-arrow:hover:not(:disabled) { color: var(--ink); background: var(--lime); }
.shot-arrow:disabled { opacity: 0.25; cursor: default; }
.shot-arrow.is-prev { left: -18px; }
.shot-arrow.is-next { right: -18px; }
.shot-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; color: var(--faint); }
.shot-footer b { color: var(--ink); }
.shot-lightbox { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 24px; }
.shot-lightbox[hidden] { display: none; }
.is-lightbox-open { overflow: hidden; }
.shot-lightbox-backdrop { position: absolute; inset: 0; background: rgba(7, 6, 10, 0.86); backdrop-filter: blur(12px); }
.shot-lightbox-dialog { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; max-width: min(92vw, 620px); max-height: 92vh; }
.shot-lightbox-dialog img { display: block; max-width: min(88vw, 560px); max-height: 88vh; object-fit: contain; border: 1px solid rgba(255, 255, 255, 0.28); border-radius: 12px; box-shadow: 0 30px 100px rgba(0, 0, 0, 0.6); }
.shot-lightbox-close { position: absolute; top: -14px; right: -44px; display: grid; place-items: center; width: 34px; height: 34px; color: #fff; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 50%; }
.shot-lightbox-nav { position: absolute; top: 50%; display: grid; place-items: center; width: 40px; height: 40px; color: #fff; background: rgba(20, 16, 23, 0.86); border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 50%; transform: translateY(-50%); }
.shot-lightbox-nav:hover { color: var(--ink); background: var(--lime); }
.shot-lightbox-nav.is-prev { left: -52px; }
.shot-lightbox-nav.is-next { right: -52px; }
.shot-lightbox-counter { position: absolute; bottom: -30px; left: 50%; color: rgba(255, 255, 255, 0.62); transform: translateX(-50%); }

/* detail stats + content */
.detail-stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 28px; background: #fff; border: 1px solid var(--ink); border-radius: 14px; overflow: hidden; }
.detail-stats div { padding: 17px 19px; border-right: 1px solid var(--line); }
.detail-stats div:last-child { border-right: 0; }
.detail-stats span { display: block; color: var(--faint); }
.detail-stats strong { display: block; margin-top: 4px; color: var(--ink); }
.version-section .section-head { margin-bottom: 16px; }
.version-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; }
.version-card { padding: 16px; background: #fff; border: 1px solid var(--line-strong); border-radius: 13px; }
.version-card.is-latest { border-color: var(--ink); box-shadow: 0 10px 28px rgba(20, 16, 23, 0.08); }
.version-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.version-head strong { color: var(--ink); overflow-wrap: anywhere; }
.version-head em { flex: none; padding: 3px 8px; color: var(--ink); background: var(--lime); border-radius: 999px; font-style: normal; }
.version-card dl { margin: 12px 0; padding: 8px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.version-card dl div { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; }
.version-card dt { color: var(--faint); }
.version-card dd { margin: 0; color: var(--ink-soft); text-align: right; }
.version-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.version-actions .btn { padding: 7px 10px; }
.version-empty { color: var(--faint); }
.detail-main { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; align-items: start; }
.detail-article { min-width: 0; }
.section-head.is-inside { margin-top: 34px; }
.detail-description p { margin: 0; color: var(--muted); white-space: pre-line; }
.detail-feature-text { margin-top: 18px; padding: 16px 18px; background: var(--grad-soft); border: 1px solid var(--ink); border-radius: 10px; }
.detail-feature-text strong { display: block; color: var(--ink); }
.detail-feature-text p { margin: 7px 0 0; color: var(--ink-soft); white-space: pre-line; }
.detail-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 17px; }
.detail-tags span { padding: 4px 8px; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 999px; }
.detail-notice { margin-top: 17px; padding: 13px 15px; background: #fff; border: 1px dashed var(--line-strong); border-radius: 9px; }
.detail-notice strong { color: var(--hot); }
.detail-notice p { margin: 4px 0 0; color: var(--muted); }
.feature-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 24px; }
.feature-mini { padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: 11px; }
.feature-mini > span { color: var(--hot); }
.feature-mini strong { display: block; margin-top: 9px; color: var(--ink); }
.feature-mini p { margin: 6px 0 0; color: var(--muted); }

/* detail aside */
.detail-aside { display: flex; flex-direction: column; gap: 12px; }
.info-card, .topic-card, .side-download { background: #fff; border: 1px solid var(--line-strong); border-radius: 13px; }
.info-head { display: flex; align-items: center; justify-content: space-between; padding: 13px 15px; border-bottom: 1px solid var(--line); }
.info-head strong { color: var(--ink); }
.info-head span { color: var(--faint); }
.info-card dl { margin: 0; padding: 5px 15px 11px; }
.info-card dl div { display: flex; align-items: baseline; justify-content: space-between; gap: 15px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.info-card dl div:last-child { border-bottom: 0; }
.info-card dt { flex: none; color: var(--faint); }
.info-card dd { margin: 0; overflow: hidden; color: var(--ink-soft); text-align: right; text-overflow: ellipsis; white-space: nowrap; }
.info-card dd a { color: var(--hot); }
.topic-card { padding: 14px 15px; }
.topic-card > span { color: var(--faint); }
.topic-card div { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
.topic-card a { padding: 4px 8px; color: var(--muted); background: var(--paper-2); border: 1px solid var(--line); border-radius: 999px; }
.topic-card a:hover { color: var(--ink); border-color: var(--ink); }
.side-download { padding: 18px 17px; background: linear-gradient(125deg, rgba(203, 240, 54, 0.82), rgba(0, 233, 248, 0.46)); border-color: var(--ink); }
.side-download > span { color: var(--ink); }
.side-download strong { display: block; margin-top: 5px; color: var(--ink); }
.side-download p { margin: 7px 0 13px; color: rgba(20, 16, 23, 0.62); }
.side-download .btn { width: 100%; }
.side-download .btn-primary { color: #fff; background: var(--ink); border-color: var(--ink); }

/* download CTA */
.download-panel { display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; padding-top: 26px; padding-bottom: 26px; color: #fff; background: var(--ink); border: 1px solid var(--ink); border-radius: 18px; }
.download-panel .section-kicker { color: var(--lime); }
.download-panel h2 { color: #fff; }
.download-panel p { margin: 5px 0 0; color: rgba(255, 255, 255, 0.56); }
.download-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.download-panel .btn-primary { color: var(--ink); background: var(--lime); border-color: var(--lime); }
.download-panel .btn-ghost { color: #fff; background: transparent; border-color: rgba(255, 255, 255, 0.34); }
.download-panel .btn-ghost:hover { color: var(--ink); background: #fff; }

/* FAQ + notfound */
.faq-section .section-head { margin-bottom: 15px; }
.faq-list { display: flex; flex-direction: column; gap: 8px; }
.faq-list details { padding: 13px 16px; background: #fff; border: 1px solid var(--line); border-radius: 9px; }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; color: var(--ink); cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--muted); }
.faq-list details[open] summary::after { content: "−"; }
.faq-list p { margin: 10px 0 0; color: var(--muted); }
.mobile-download-bar { display: none; }
.notfound { padding-top: 90px; padding-bottom: 110px; }
.notfound h1 { margin: 18px 0 0; color: var(--ink); }
.notfound > p { max-width: 600px; margin: 15px 0 0; color: var(--muted); }
.notfound-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.notfound-grid { display: flex; flex-wrap: wrap; gap: 7px; max-width: 760px; margin-top: 32px; }
.notfound-grid a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 11px; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 999px; }
.notfound-grid span { color: var(--faint); }

/* footer */
.site-footer { padding: 52px 0 24px; color: #fff; background: var(--ink); }
.footer-main { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 38px; }
.footer-brand .brand-mark { color: var(--ink); background: var(--lime); }
.footer-brand .brand-copy strong { color: #fff; }
.footer-brand .brand-copy small { color: rgba(255, 255, 255, 0.4); }
.footer-brand p { max-width: 330px; margin: 14px 0 0; color: rgba(255, 255, 255, 0.48); }
.footer-update { display: block; margin-top: 12px; color: rgba(255, 255, 255, 0.32); }
.footer-col { display: flex; flex-direction: column; gap: 7px; }
.footer-col strong { margin-bottom: 4px; color: rgba(255, 255, 255, 0.86); }
.footer-col a { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: rgba(255, 255, 255, 0.46); }
.footer-col a:hover { color: var(--lime); }
.footer-col a span { color: rgba(255, 255, 255, 0.25); }
.footer-statement { margin-top: 46px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.footer-statement span { display: block; color: rgba(255, 255, 255, 0.38); }
.footer-statement strong { display: block; margin-top: 10px; color: transparent; background: var(--grad); -webkit-background-clip: text; background-clip: text; }
.footer-bottom { display: flex; align-items: flex-start; justify-content: space-between; gap: 30px; margin-top: 28px; padding-top: 16px; color: rgba(255, 255, 255, 0.3); border-top: 1px solid rgba(255, 255, 255, 0.1); }
.footer-bottom p { margin: 0; }
.footer-bottom p:last-child { max-width: 680px; text-align: right; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 14px; }
.footer-legal a { color: rgba(255, 255, 255, 0.58); }
.footer-legal a:hover { color: #fff; }
.footer-filing { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; margin-top: 12px; color: rgba(255, 255, 255, 0.46); }
.footer-filing a { color: rgba(255, 255, 255, 0.72); }
.footer-filing a:hover { color: var(--lime); }
.cookie-consent { position: fixed; right: 20px; bottom: 20px; left: 20px; z-index: 220; max-width: 980px; margin: 0 auto; color: #fff; background: rgba(20, 16, 23, 0.96); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 16px; box-shadow: var(--shadow); backdrop-filter: blur(16px); }
.cookie-consent[hidden], .cookie-modal[hidden] { display: none; }
.cookie-consent-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 16px 18px; }
.cookie-consent-copy strong { display: block; margin-bottom: 4px; }
.cookie-consent-copy p { margin: 0; color: rgba(255, 255, 255, 0.62); }
.cookie-consent-copy a { color: var(--lime); }
.cookie-consent-actions { display: flex; flex-wrap: wrap; gap: 8px; flex: none; }
.cookie-consent .btn { height: 38px; }
.cookie-modal { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 20px; }
.cookie-modal-backdrop { position: absolute; inset: 0; background: rgba(20, 16, 23, 0.62); backdrop-filter: blur(6px); }
.cookie-modal-dialog { position: relative; z-index: 1; width: min(560px, 100%); max-height: calc(100vh - 40px); overflow: auto; padding: 24px; color: var(--ink); background: var(--paper); border-radius: 18px; box-shadow: var(--shadow); }
.cookie-modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.cookie-modal-head h2 { margin: 6px 0 0; }
.cookie-modal-close { width: 34px; height: 34px; padding: 0; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 999px; }
.cookie-modal-close:hover { color: var(--ink); border-color: var(--ink); }
.cookie-modal-lead { margin: 12px 0 16px; color: var(--muted); }
.cookie-choice { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); }
.cookie-choice div { display: flex; flex-direction: column; gap: 3px; }
.cookie-choice span { color: var(--muted); }
.cookie-choice input { width: 20px; height: 20px; flex: none; accent-color: var(--ink); }
.cookie-modal-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.static-content { max-width: 920px; }
.static-content h2 { margin: 28px 0 10px; }
.static-content h2:first-child { margin-top: 0; }
.static-content p { margin: 0 0 12px; color: var(--muted); }
.static-content ul { margin: 0 0 16px; padding-left: 20px; color: var(--muted); }
.static-content li { margin: 4px 0; }
.static-content a { color: var(--hot); }
.static-content table { width: 100%; margin: 12px 0 18px; border-collapse: collapse; }
.static-content th, .static-content td { padding: 9px 10px; text-align: left; vertical-align: top; border: 1px solid var(--line); }
.static-content th { background: var(--paper-2); }
.seo-copy details { margin: 10px 0; padding: 12px 14px; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.seo-copy summary { cursor: pointer; }
.seo-copy details p { margin: 8px 0 0; }

/* responsive */
@media (max-width: 1120px) {
  .hero { grid-template-columns: minmax(0, 1fr) minmax(370px, 0.9fr); gap: 30px; }
  .star-node { max-width: 120px; padding: 7px 9px; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-card:first-child { grid-column: span 2; }
  .game-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .category-grid { grid-template-columns: repeat(3, 1fr); }
  .detail-main { grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; }
}
@media (max-width: 900px) {
  .announcement-inner { justify-content: flex-start; padding: 0 18px; overflow: hidden; white-space: nowrap; }
  .announcement-inner > span:not(.announcement-pill), .announcement-inner > a { display: none; }
  .site-nav { display: none; }
  .nav-toggle { display: block; }
  .nav-search { margin-left: 0; }
  .channel-pill { display: none; }
  .site-header.is-nav-open .site-nav { position: absolute; top: 68px; right: 0; left: 0; display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 10px 28px 16px; margin: 0; background: rgba(251, 249, 252, 0.98); border-bottom: 1px solid var(--ink); }
  .site-header.is-nav-open .site-nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .site-header.is-nav-open .site-nav a.is-active::after { display: none; }
  .hero { grid-template-columns: minmax(0, 1fr); padding-top: 46px; }
  .hero-visual { max-width: 720px; }
  .hero h1 { max-width: 700px; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .collection-grid { grid-template-columns: 1fr 1fr; }
  .detail-hero { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .detail-copy, .detail-cover, .detail-media-stage { min-width: 0; }
  .detail-media-stage { min-height: 0; aspect-ratio: 16 / 9; }
  .shot-slide { flex-basis: calc((100% - 12px) / 2); }
  .detail-main { grid-template-columns: minmax(0, 1fr); }
  .detail-aside { display: grid; grid-template-columns: 1fr 1fr; align-items: start; }
  .side-download { grid-column: 1 / -1; }
  .footer-main { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .wrap { padding: 0 18px; }
  .header-inner { height: 60px; gap: 10px; }
  .brand-mark { width: 27px; height: 27px; border-radius: 7px; }
  .brand-copy small { display: none; }
  .nav-search { display: none; }
  .site-header.is-nav-open .site-nav { top: 60px; padding-right: 18px; padding-left: 18px; }
  .hero { padding-top: 36px; padding-bottom: 28px; gap: 28px; }
  .hero-search { height: 50px; }
  .hero-search button { height: 38px; padding: 0 13px; }
  .game-star-map { min-height: 330px; border-radius: 19px; }
  .star-hub { width: 126px; height: 80px; }
  .star-hub-mark { width: 29px; height: 29px; }
  .star-node { max-width: 104px; padding: 6px 8px; }
  .star-node-5, .star-node-6, .map-coordinate { display: none; }
  .star-node-1 { top: 8%; left: 5%; }
  .star-node-2 { top: 8%; right: 5%; }
  .star-node-3 { top: 43%; left: 2%; }
  .star-node-4 { top: 43%; right: 2%; }
  .map-caption { top: 12px; left: 13px; }
  .ticker-track { min-height: 43px; gap: 18px; }
  .section { padding-top: 42px; padding-bottom: 42px; }
  .section-head { display: block; }
  .section-head p { margin-top: 8px; text-align: left; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card:first-child { grid-column: span 1; }
  .feature-card:first-child .feature-cover { aspect-ratio: 16 / 9; }
  .category-grid { grid-template-columns: 1fr 1fr; }
  .game-grid { grid-template-columns: 1fr 1fr; gap: 9px; }
  .game-body { padding: 10px; }
  .game-tags i:nth-child(n + 3) { display: none; }
  .trust-grid { grid-template-columns: 1fr; }
  .catalog-toolbar { position: static; display: block; padding: 7px; }
  .catalog-sort { justify-content: space-between; margin-top: 7px; }
  .filter-row { gap: 7px; }
  .filter-label { width: 30px; }
  .filter-chips button { padding: 4px 8px; }
  .collection-grid { grid-template-columns: 1fr; }
  .detail-actions .btn { flex: 1; min-width: 118px; }
  .media-gallery-tools { flex-wrap: wrap; justify-content: space-between; margin-top: 7px; }
  .shot-slide { flex-basis: calc(86% - 6px); }
  .shot-arrow { display: none; }
  .shot-footer { align-items: flex-start; flex-direction: column; gap: 4px; }
  .shot-lightbox { padding: 16px; }
  .shot-lightbox-dialog img { max-width: 94vw; max-height: 82vh; }
  .shot-lightbox-close { top: 6px; right: 6px; }
  .shot-lightbox-nav.is-prev { left: 6px; }
  .shot-lightbox-nav.is-next { right: 6px; }
  .shot-lightbox-counter { bottom: 8px; }
  .detail-stats { grid-template-columns: 1fr 1fr; }
  .detail-stats div:nth-child(2) { border-right: 0; }
  .detail-stats div:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
  .feature-strip { grid-template-columns: 1fr; }
  .detail-aside { grid-template-columns: 1fr; }
  .download-panel { grid-template-columns: 1fr; }
  .download-actions { justify-content: flex-start; }
  .mobile-download-bar { position: sticky; bottom: 0; z-index: 40; display: flex; align-items: center; gap: 10px; padding: 10px 18px calc(10px + env(safe-area-inset-bottom)); color: #fff; background: rgba(20, 16, 23, 0.96); border-top: 1px solid rgba(255, 255, 255, 0.12); backdrop-filter: blur(16px); }
  .mobile-download-bar div { display: flex; flex: 1; flex-direction: column; min-width: 0; }
  .mobile-download-bar strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .mobile-download-bar span { color: rgba(255, 255, 255, 0.5); }
  .mobile-download-bar .btn { height: 36px; padding: 0 15px; color: var(--ink); background: var(--lime); border-color: var(--lime); }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { display: block; }
  .footer-bottom p:last-child { margin-top: 8px; text-align: left; }
  .cookie-consent { right: 12px; bottom: 76px; left: 12px; }
  .cookie-consent-inner { align-items: flex-start; flex-direction: column; padding: 14px; }
  .cookie-consent-actions { width: 100%; }
  .cookie-consent-actions .btn { flex: 1; }
  .cookie-modal { padding: 12px; }
  .cookie-modal-dialog { max-height: calc(100vh - 24px); padding: 18px; }
}
@media (max-width: 480px) {
  .announcement-inner { min-height: 33px; }
  .hero-search { height: 47px; }
  .hero-search button { padding: 0 11px; }
  .hero-quick a { padding: 3px 7px; }
  .game-star-map { min-height: 290px; }
  .category-grid { grid-template-columns: 1fr; }
  .game-grid { grid-template-columns: 1fr; }
  .game-tags i:nth-child(n + 3) { display: inline; }
  .detail-cover, .detail-media-stage { min-height: 220px; border-radius: 16px; }
  .shot-slide { flex-basis: 86%; }
  .footer-main { grid-template-columns: 1fr; }
}

:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
