/* ═══════════════════════════════════════════════
   Vice Archive — Leonida editorial system
   原创日落主视觉 + GTA 6 霓虹海岸气质
   ═══════════════════════════════════════════════ */
:root {
  --bg: #100b12;
  --bg-2: #18101a;
  --panel: rgba(29, 18, 29, 0.78);
  --panel-solid: #1d121d;
  --line: rgba(255, 215, 224, 0.14);
  --line-strong: rgba(255, 164, 190, 0.34);
  --text: #fff8f2;
  --dim: #b9a4b4;
  --pink: #ff5d93;
  --pink-soft: rgba(255, 94, 168, 0.13);
  --violet: #a86bff;
  --violet-soft: rgba(168, 107, 255, 0.14);
  --sunset: #ff9a55;
  --sunset-soft: rgba(255, 148, 87, 0.13);
  --cyan: #58d5ff;
  --cyan-soft: rgba(88, 213, 255, 0.1);
  --gold: #ffc857;
  --green: #2ee6a8;
  --radius: 14px;
  --font: "Avenir Next", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  --display: "Avenir Next Condensed", "Arial Narrow", "PingFang SC", sans-serif;
  --mono: "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background:
    linear-gradient(rgba(16, 11, 18, .91), rgba(16, 11, 18, .96)),
    url("images/gen/leonida-texture-v2.webp") center top / 980px auto repeat,
    var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
.skip-link {
  position: fixed; left: 18px; top: 12px; z-index: 1000; transform: translateY(-150%);
  padding: 10px 14px; color: #180c14; background: #fff; border-radius: 6px; font-weight: 800;
}
.skip-link:focus { transform: translateY(0); }
::selection { background: rgba(255, 94, 168, 0.4); }
a { color: var(--pink); text-decoration: none; }
b { color: #fff; }
code, pre { font-family: var(--mono); }
code { color: #ffb3d9; background: var(--pink-soft); padding: 2px 7px; border-radius: 6px; font-size: 0.85em; }
.dim { color: var(--dim); }
.center { text-align: center; }

/* 细颗粒氛围层（纯 CSS，无图片） */
.grain {
  position: fixed; inset: 0; pointer-events: none; z-index: 999; opacity: 0.55;
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.012) 0 1px, transparent 1px 3px),
    radial-gradient(120% 90% at 50% 0%, transparent 60%, rgba(0,0,0,0.4) 100%);
}

/* ═══════════ NAV ═══════════ */
.nav-wrap {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  background: rgba(12, 9, 20, 0.74);
  border-bottom: 1px solid var(--line);
}
.nav {
  max-width: 1200px; margin: 0 auto; padding: 12px 24px;
  display: flex; align-items: center; gap: 28px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  font-family: var(--display);
  background: linear-gradient(160deg, #ffffff 15%, #ffcae6 40%, var(--pink) 70%, var(--violet) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-size: 26px; letter-spacing: 1px;
  filter: drop-shadow(0 0 18px rgba(255, 94, 168, 0.4));
}
.brand-text { font-weight: 800; letter-spacing: 2px; font-size: 14px; color: #fff; }
.brand-text em { font-style: normal; color: var(--pink); font-weight: 500; }
.nav-links { display: flex; gap: 6px; flex: 1; }
.nav-links a {
  color: var(--dim); font-size: 13.5px; font-weight: 600; padding: 7px 14px;
  border-radius: 999px; transition: all .2s;
}
.nav-links a:hover { color: #fff; background: rgba(255,255,255,0.06); }
.nav-links a.active { color: #ffb3d9; background: var(--pink-soft); }
.nav-meta { display: flex; align-items: center; gap: 12px; }
.status-chip {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 11.5px; font-weight: 700; color: var(--dim);
  border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px;
  background: rgba(255,255,255,0.03);
}
.status-chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); animation: pulse-dot 2s infinite; }
@keyframes pulse-dot { 50% { opacity: .4; } }

/* ═══════════ BUTTONS ═══════════ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 22px; border-radius: 12px; font-weight: 700; font-size: 14px;
  cursor: pointer; border: 1px solid transparent; transition: all .2s;
  font-family: var(--font);
}
.btn-primary {
  background: linear-gradient(135deg, var(--pink), var(--violet));
  color: #fff; box-shadow: 0 8px 28px rgba(255, 94, 168, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 34px rgba(255, 94, 168, 0.5); }
.btn-ghost { color: var(--text); border-color: var(--line-strong); background: rgba(255,255,255,0.04); }
.btn-ghost:hover { border-color: var(--pink); color: #ffb3d9; }
.btn-sm { padding: 6px 14px; font-size: 12.5px; border-radius: 9px; }
.lang-btn { min-width: 46px; justify-content: center; font-weight: 800; letter-spacing: .5px; }

/* ═══════════ HERO（官方关键艺术图 + 暖黑遮罩） ═══════════ */
.hero { position: relative; overflow: hidden; padding: 110px 24px 0; text-align: center; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-bg .bg-photo {
  position: absolute; inset: 0;
  background: url("images/artworks-full/10.jpg") center 38% / cover no-repeat;
  opacity: 0.6;
  animation: bg-in 2.2s ease-out both;
}
@keyframes bg-in { from { opacity: 0; transform: scale(1.05); } }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(12,9,20,0.6) 0%, rgba(12,9,20,0.3) 40%, var(--bg) 97%),
    radial-gradient(90% 62% at 50% 42%, transparent 50%, rgba(12,9,20,0.62) 100%),
    linear-gradient(0deg, rgba(168,107,255,0.1), transparent 40%);
}
.hero-inner { position: relative; max-width: 860px; margin: 0 auto; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12.5px; font-weight: 800; letter-spacing: 2.5px; color: #ffc09a;
  border: 1px solid rgba(255, 148, 87, 0.45); background: var(--sunset-soft);
  padding: 8px 18px; border-radius: 999px; margin-bottom: 30px;
}
.hero-badge .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--sunset); box-shadow: 0 0 12px var(--sunset); animation: pulse-dot 1.6s infinite; }
.hero-title { font-family: var(--display); line-height: 0.95; letter-spacing: 2px; }
.hero-title .line-1 { display: block; font-size: clamp(26px, 4.6vw, 52px); color: #fdf4ff; letter-spacing: 10px; text-shadow: 0 2px 24px rgba(0,0,0,.6); }
.hero-title .line-2 {
  position: relative; display: inline-block;
  font-size: clamp(96px, 17vw, 200px);
  background: linear-gradient(180deg, #ffffff 8%, #ffcae6 34%, var(--pink) 64%, var(--violet) 102%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 4px 30px rgba(255, 94, 168, 0.45));
}
.hero-sub { margin: 18px auto 8px; max-width: 560px; color: #d9c8e8; font-size: 16.5px; text-shadow: 0 1px 14px rgba(0,0,0,.5); }
.hero-count {
  font-family: var(--mono); font-size: 13px; letter-spacing: 1px;
  color: #ffb3d9; margin: 10px 0 18px; opacity: .95;
}
.hero-platforms { display: flex; gap: 10px; justify-content: center; margin-bottom: 30px; flex-wrap: wrap; }
.chip {
  font-size: 12px; font-weight: 700; letter-spacing: 1px;
  border: 1px solid var(--line-strong); border-radius: 999px; padding: 6px 16px;
  color: #fff; background: rgba(20, 12, 28, 0.55); backdrop-filter: blur(6px);
}
.chip.dim { color: var(--dim); border-style: dashed; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.hero-stats {
  position: relative; max-width: 980px; margin: 74px auto 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line); border-radius: var(--radius) var(--radius) 0 0;
  background: linear-gradient(180deg, rgba(26,17,36,0.92), rgba(26,17,36,0.45));
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  overflow: hidden;
}
.stat { padding: 26px 12px 22px; text-align: center; position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 22%; bottom: 22%; width: 1px; background: var(--line); }
.stat b { display: block; font-family: var(--display); font-size: 34px; background: linear-gradient(180deg, #fff, #ff9ec7); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--dim); font-weight: 700; }

/* ═══════════ SECTIONS ═══════════ */
.section { max-width: 1200px; margin: 0 auto; padding: 88px 24px 0; scroll-margin-top: 84px; }
.section-head { margin-bottom: 34px; }
.section-head h2 {
  font-family: var(--display); font-size: clamp(26px, 3.4vw, 40px); letter-spacing: 1.5px;
  background: linear-gradient(90deg, #fff 35%, var(--pink)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.section-head p { color: var(--dim); margin-top: 6px; font-size: 15px; }

.card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.card-title {
  font-size: 13px; letter-spacing: 2.5px; text-transform: uppercase; color: #ffb3d9;
  margin-bottom: 18px; font-weight: 800;
  display: flex; align-items: center; gap: 10px;
}
.card-title::before { content: ""; width: 18px; height: 2px; background: linear-gradient(90deg, var(--pink), var(--violet)); border-radius: 2px; }

.info-layout { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 20px; }
.info-grid { display: grid; grid-template-columns: 1fr; gap: 0; }
.info-grid > div { display: flex; justify-content: space-between; gap: 14px; padding: 13px 2px; border-bottom: 1px dashed var(--line); }
.info-grid > div:last-child { border-bottom: none; }
.info-grid dt { color: var(--dim); font-size: 13.5px; font-weight: 600; }
.info-grid dd { font-size: 13.5px; font-weight: 700; text-align: right; }
.about-card .lede { font-size: 16.5px; margin-bottom: 14px; color: #fdf4ff; font-weight: 500; }
.about-card p + p { margin-top: 12px; }

/* ═══════════ NEWS ═══════════ */
.news-filter { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.filter-chip {
  font-size: 12px; font-weight: 700; padding: 6px 14px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--dim); cursor: pointer; background: transparent;
  transition: all .15s; font-family: var(--font);
}
.filter-chip:hover { color: #fff; border-color: var(--line-strong); }
.filter-chip.active { color: #ffb3d9; border-color: var(--pink); background: var(--pink-soft); }
.news-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 14px; }
.news-card {
  position: relative; display: flex; flex-direction: column; gap: 8px;
  background: var(--panel); border: 1px solid var(--line); border-radius: 14px;
  padding: 18px 20px; transition: all .2s; overflow: hidden;
}
.news-card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(180deg, var(--pink), var(--violet)); opacity: 0; transition: opacity .2s;
}
.news-card:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.news-card:hover::before { opacity: 1; }
.news-card .n-date { font-family: var(--mono); font-size: 11px; color: var(--dim); letter-spacing: 1px; display: flex; align-items: center; gap: 8px; }
.news-card .n-title { font-size: 15px; font-weight: 700; color: #fff; line-height: 1.45; }
.news-card .n-orig { font-size: 11.5px; color: rgba(255, 255, 255, 0.38); line-height: 1.4; margin-top: 4px; }
.news-card .n-author { font-size: 12px; color: var(--dim); }
.tag-new {
  font-size: 9.5px; font-weight: 900; letter-spacing: 1.5px; color: #171006;
  background: var(--gold); padding: 2px 8px; border-radius: 999px;
}
.tag-fresh {
  font-size: 9.5px; font-weight: 900; letter-spacing: 1.5px; color: #fff;
  background: var(--pink-soft); border: 1px solid rgba(255,94,168,.4); padding: 2px 8px; border-radius: 999px;
}

/* ═══════════ DATABASE GRID ═══════════ */
.db-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 16px; }
.db-card {
  position: relative; padding: 24px; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--panel);
  cursor: pointer; transition: all .22s; overflow: hidden;
}
.db-card:hover { transform: translateY(-4px); border-color: rgba(255,94,168,.45); box-shadow: 0 14px 40px rgba(255,94,168,0.12); }
.db-card .db-icon {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  font-size: 22px; margin-bottom: 16px;
  background: linear-gradient(135deg, var(--pink-soft), var(--violet-soft));
  border: 1px solid rgba(255,94,168,.3);
}
.db-card h3 { font-size: 16.5px; margin-bottom: 6px; }
.db-card p { font-size: 13px; color: var(--dim); }
.db-card .db-arrow { position: absolute; right: 20px; top: 24px; color: var(--pink); opacity: 0; transition: all .2s; font-weight: 900; }
.db-card:hover .db-arrow { opacity: 1; right: 16px; }

/* ═══════════ EXPLORER ═══════════ */
.explorer { padding-bottom: 10px; }
.explorer-bar { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-bottom: 16px; }
.tab-bar { display: flex; gap: 6px; flex-wrap: wrap; background: rgba(255,255,255,0.04); border: 1px solid var(--line); border-radius: 13px; padding: 5px; }
.tab-btn {
  font-family: var(--font); font-size: 13px; font-weight: 700; color: var(--dim);
  padding: 8px 18px; border-radius: 9px; cursor: pointer; border: none; background: transparent; transition: all .18s;
}
.tab-btn:hover { color: #fff; }
.tab-btn.active { background: linear-gradient(135deg, var(--pink), var(--violet)); color: #fff; box-shadow: 0 4px 16px rgba(255,94,168,.3); }
#explorerSearch {
  flex: 1; min-width: 230px; padding: 12px 18px; border-radius: 13px;
  background: rgba(255,255,255,0.05); border: 1px solid var(--line);
  color: #fff; font-size: 14px; font-family: var(--font); outline: none; transition: border .2s;
}
#explorerSearch:focus { border-color: var(--pink); box-shadow: 0 0 0 3px rgba(255,94,168,.15); }
#explorerSearch::placeholder { color: var(--dim); }
.chip-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; min-height: 0; }
.chip-row:empty { display: none; }

.explorer-body table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.explorer-body th {
  text-align: left; padding: 11px 14px; color: var(--dim); font-size: 11px;
  letter-spacing: 1.8px; text-transform: uppercase; border-bottom: 1px solid var(--line-strong);
  position: sticky; top: 64px; background: rgba(14,10,22,0.92); backdrop-filter: blur(10px); z-index: 5;
}
.explorer-body td { padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.explorer-body tbody tr { transition: background .12s; }
.explorer-body tbody tr:hover { background: rgba(255,94,168,0.05); }
.td-name { font-weight: 700; color: #fff; }
.td-orig { display: block; font-size: 11px; font-weight: 400; color: rgba(255, 255, 255, 0.38); margin-top: 2px; }
.char-orig { font-size: 11px; color: rgba(255, 255, 255, 0.38); margin-top: 1px; }
.td-class {
  font-size: 11px; font-weight: 700; letter-spacing: .5px; padding: 3px 10px;
  border-radius: 999px; background: var(--violet-soft); color: #d3b8ff; border: 1px solid rgba(168,107,255,.32);
  white-space: nowrap;
}
.td-based { color: var(--dim); font-size: 12.5px; }
.badge-new {
  font-size: 9px; font-weight: 900; letter-spacing: 1.2px; color: #171006;
  background: var(--gold); padding: 2px 7px; border-radius: 999px; margin-left: 8px; vertical-align: 2px;
}
.empty-state { text-align: center; padding: 60px 20px; color: var(--dim); }
.empty-state .big { font-size: 40px; margin-bottom: 10px; }
.explorer-foot { padding: 14px 4px 0; font-size: 12.5px; font-family: var(--mono); letter-spacing: .5px; }

/* ═══════════ CHARACTERS ═══════════ */
.char-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.char-card { padding: 0; overflow: hidden; transition: all .22s; }
.char-card:hover { transform: translateY(-4px); border-color: rgba(255,94,168,.4); box-shadow: 0 14px 40px rgba(255,94,168,.1); }
.char-top { display: flex; gap: 16px; padding: 22px 22px 0; align-items: center; }
.char-avatar {
  width: 74px; height: 74px; border-radius: 18px; flex-shrink: 0; overflow: hidden;
  display: grid; place-items: center; position: relative;
  font-family: var(--display); font-size: 26px; color: #fff;
}
.char-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.char-role {
  font-size: 10px; font-weight: 900; letter-spacing: 1.6px; text-transform: uppercase;
  padding: 3px 10px; border-radius: 999px; display: inline-block; margin-bottom: 5px;
}
.role-protagonist { color: #fff; background: linear-gradient(135deg, var(--pink), var(--violet)); border: none; }
.role-major { color: #ffb3d9; background: var(--pink-soft); border: 1px solid rgba(255,94,168,.35); }
.role-stranger { color: var(--gold); background: rgba(255,200,87,.1); border: 1px solid rgba(255,200,87,.35); }
.char-name { font-size: 19px; font-weight: 800; }
.char-actor { font-size: 12px; color: var(--dim); margin-top: 2px; }
.char-desc { padding: 14px 22px 22px; font-size: 13.5px; color: var(--dim); line-height: 1.7; }

/* ═══════════ GUIDES（文章攻略卡 + 资料类目） ═══════════ */
.guide-grid > .guide-art-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; margin-bottom: 26px; }
.guide-art-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--panel); border: 1px solid var(--line); border-radius: 14px;
  overflow: hidden; cursor: pointer; transition: all .2s;
}
.guide-art-card:hover { transform: translateY(-4px); border-color: rgba(255,94,168,.45); box-shadow: 0 14px 40px rgba(255,94,168,.12); }
.guide-art-card .ga-img {
  aspect-ratio: 16 / 9; overflow: hidden; position: relative;
  background: linear-gradient(135deg, rgba(168,107,255,.16), rgba(255,94,168,.16));
}
.guide-art-card .ga-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s; }
.guide-art-card:hover .ga-img img { transform: scale(1.06); }
.guide-art-card .ga-img::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(12,9,20,.55));
}
.guide-art-card .ga-body { padding: 16px 18px 18px; }
.guide-art-card .ga-meta { display: flex; gap: 8px; align-items: center; margin-bottom: 6px; }
.guide-art-card .ga-date { font-family: var(--mono); font-size: 11px; color: var(--dim); letter-spacing: 1px; }
.guide-art-card h4 { font-size: 15px; font-weight: 800; color: #fff; line-height: 1.45; }
.guide-art-card .n-orig { font-size: 11px; color: rgba(255,255,255,.38); margin-top: 2px; }
.guide-art-card p { font-size: 12.5px; color: var(--dim); margin-top: 7px; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.guide-plain-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.guide-card {
  display: flex; align-items: center; gap: 14px; padding: 16px 18px;
  background: var(--panel); border: 1px solid var(--line); border-radius: 13px; transition: all .18s;
}
.guide-card:hover { border-color: var(--pink); transform: translateX(4px); }
.guide-idx {
  font-family: var(--display); font-size: 13px; color: #ffb3d9; opacity: .8;
  min-width: 26px; text-align: right;
}
.guide-card h4 { font-size: 14px; }
.guide-card p { font-size: 12px; color: var(--dim); margin-top: 2px; }

/* ═══════════ FOOTER ═══════════ */
.footer {
  max-width: 1200px; margin: 90px auto 0; padding: 26px 24px 40px;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 12.5px; color: var(--dim);
}

/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width: 900px) {
  .info-layout { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3)::before { display: none; }
  .explorer-body th { position: static; background: none; }
  .explorer-body { overflow-x: auto; }
  .art-banner .art-overlay { padding: 0 24px; }
  .art-banner { height: 240px; }
}

/* ═══════════ 新闻缩略图 ═══════════ */
.news-card .n-img {
  aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden;
  margin-bottom: 4px; position: relative; background: linear-gradient(135deg, #221430, #2a1430);
}
.news-card .n-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s; }
.news-card:hover .n-img img { transform: scale(1.06); }
.news-card .n-img::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(12,9,20,0.5));
}

/* ═══════════ ART BANNER（官方主视觉） ═══════════ */
.art-banner {
  max-width: 1200px; margin: 90px auto 0; padding: 0 24px;
  height: 320px;
}
.art-banner > .art-inner {
  height: 100%; border-radius: var(--radius); overflow: hidden; position: relative;
  border: 1px solid var(--line);
}
.art-banner .art-img {
  position: absolute; inset: 0;
  background: url("images/artworks-full/04.jpg") center 30% / cover no-repeat;
}
.art-banner .art-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(12,9,20,0.82) 0%, rgba(12,9,20,0.3) 55%, rgba(12,9,20,0.08) 100%);
  display: flex; align-items: center; padding: 0 48px;
}
.art-banner .art-quote { max-width: 480px; }
.art-banner .art-quote b { display: block; font-size: 22px; margin-bottom: 8px; font-family: var(--display); letter-spacing: 1px; }
.art-banner .art-quote span { font-size: 14px; color: #e3d1ef; }

/* ═══════════ MEDIA GALLERY ═══════════ */
.media-tabs { display: flex; gap: 8px; margin-bottom: 20px; }
.media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 14px; }
.media-item {
  position: relative; aspect-ratio: 16 / 9; border-radius: 13px; overflow: hidden;
  border: 1px solid var(--line); cursor: zoom-in; background: var(--panel);
  transition: all .22s;
}
.media-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s; }
.media-item:hover { border-color: rgba(255,94,168,.5); box-shadow: 0 12px 34px rgba(255,94,168,.14); transform: translateY(-3px); }
.media-item:hover img { transform: scale(1.05); }
.media-item .m-badge {
  position: absolute; left: 10px; top: 10px; font-size: 10px; font-weight: 900; letter-spacing: 1.5px;
  background: rgba(12,9,20,0.8); color: #ffb3d9; border: 1px solid rgba(255,94,168,.35);
  padding: 3px 10px; border-radius: 999px; backdrop-filter: blur(6px);
}

/* ═══════════ LIGHTBOX（原生 <dialog>，顶层渲染） ═══════════ */
dialog.lightbox,
dialog.detail-modal { border: none; padding: 0; background: transparent; color: inherit; }
dialog.lightbox[open] {
  display: grid; place-items: center;
  position: fixed; inset: 0;
  width: 100vw; max-width: 100vw; height: 100vh; max-height: 100vh;
}
dialog.lightbox img { max-width: 92vw; max-height: 88vh; border-radius: 14px; border: 1px solid var(--line-strong); box-shadow: 0 30px 90px rgba(0,0,0,.6); }
dialog.lightbox .lb-close {
  position: fixed; right: 26px; top: 22px;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,0.08); border: 1px solid var(--line-strong);
  color: #fff; font-size: 22px; cursor: pointer; transition: all .15s;
}
dialog.lightbox .lb-close:hover { background: var(--pink); border-color: var(--pink); }

/* ═══════════ DETAIL MODAL（原生 <dialog>，closedby="any" 轻关闭） ═══════════ */
dialog.detail-modal[open] { display: block; width: min(680px, 94vw); margin: 6vh auto; }
/* MANDATORY（modern-web-guidance/dialog）：阻止弹层滚动穿透到页面 */
dialog:modal { overscroll-behavior: contain; }
dialog::backdrop { overflow: hidden; overscroll-behavior: contain; }
dialog.lightbox::backdrop,
dialog.detail-modal::backdrop {
  background: rgba(7, 5, 12, 0.92);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  animation: lb-in .18s ease-out;
}
@keyframes lb-in { from { opacity: 0; } }
.dm-panel {
  max-height: 86vh; overflow-y: auto;
  background: linear-gradient(180deg, rgba(28, 19, 40, 0.98), rgba(15, 10, 24, 0.99));
  border: 1px solid rgba(255, 94, 168, 0.3); border-radius: 18px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.6), 0 0 70px rgba(255, 94, 168, 0.08);
  animation: dm-in .22s ease-out;
}
@keyframes dm-in { from { opacity: 0; transform: translateY(18px) scale(.97); } to { opacity: 1; transform: none; } }
.dm-close {
  position: sticky; top: 12px; z-index: 5; float: right; margin: 12px 14px 0 0;
  width: 34px; height: 34px; border-radius: 10px; font-size: 19px; line-height: 1;
  background: rgba(255, 255, 255, 0.07); color: #fff; border: 1px solid var(--line-strong);
  cursor: pointer; transition: all .15s;
}
.dm-close:hover { background: var(--pink); border-color: var(--pink); }
.dm-media { width: 100%; aspect-ratio: 16 / 9; background: rgba(255, 255, 255, 0.04); overflow: hidden; }
.dm-media.square { aspect-ratio: 1 / 1; width: 220px; margin: 0 auto; border-radius: 18px; }
.dm-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dm-body { padding: 20px 26px 28px; }
.dm-meta { font-family: var(--mono); font-size: 11.5px; color: var(--dim); letter-spacing: 1px; margin-bottom: 8px; }
.dm-title { font-size: 21px; font-weight: 800; color: #fff; line-height: 1.35; margin: 0 0 4px; }
.dm-orig { font-size: 12px; color: rgba(255, 255, 255, 0.4); line-height: 1.5; margin-bottom: 10px; }
.dm-desc { font-size: 14px; color: rgba(255, 255, 255, 0.82); line-height: 1.8; margin: 12px 0 0; }
.dm-details { margin-top: 14px; }
.dm-details summary { cursor: pointer; font-size: 12px; color: var(--dim); }
.dm-details p { font-size: 12.5px; color: rgba(255, 255, 255, 0.5); line-height: 1.7; margin: 8px 0 0; }
.dm-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.dm-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.dm-actions .btn { text-decoration: none; }
.dm-stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(86px, 1fr)); gap: 8px; margin-top: 16px; }
.dm-stat {
  text-align: center; padding: 10px 6px; border-radius: 12px;
  background: var(--violet-soft); border: 1px solid rgba(168, 107, 255, 0.2);
}
.dm-stat b { display: block; font-size: 16px; color: #d3b8ff; font-family: var(--mono); }
.dm-stat span { font-size: 10px; color: var(--dim); letter-spacing: 1px; }
.dm-acquire {
  margin-top: 16px; padding: 14px 16px; border-radius: 14px;
  background: var(--sunset-soft); border: 1px solid rgba(255, 148, 87, 0.25);
}
.dm-acquire h4 { margin: 0 0 8px; font-size: 12px; letter-spacing: 1.6px; color: #ffc09a; text-transform: uppercase; }
.dm-acquire .dm-kv { display: flex; gap: 8px; font-size: 13px; line-height: 1.7; }
.dm-acquire .dm-kv b { color: var(--dim); font-weight: 600; flex-shrink: 0; }
.dm-variants { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.dm-variants span {
  font-size: 11px; padding: 3px 10px; border-radius: 999px;
  background: var(--violet-soft); border: 1px solid rgba(168, 107, 255, 0.32); color: #d3b8ff;
}
.dm-chip-plain {
  font-size: 12px; padding: 4px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line); color: rgba(255, 255, 255, 0.75);
  white-space: nowrap;
}
.dm-note { margin-top: 16px; font-size: 11px; color: rgba(255, 255, 255, 0.3); font-family: var(--mono); }
.dm-source { margin-top: 18px; padding-top: 12px; border-top: 1px dashed var(--line); font-size: 11.5px; color: rgba(255, 255, 255, 0.35); font-family: var(--mono); letter-spacing: .5px; }

/* ---------- 文章正文（详情弹层内） ---------- */
.art-body { margin-top: 14px; }
.art-p { font-size: 14.5px; color: rgba(255, 255, 255, 0.86); line-height: 1.85; margin: 0 0 12px; }
.art-h { color: #ffb3d9; letter-spacing: .5px; line-height: 1.4; }
.art-h2 { font-size: 17px; margin: 22px 0 10px; }
.art-h3 { font-size: 14.5px; margin: 16px 0 8px; color: #e9c8ff; }
.art-ul { margin: 0 0 14px; padding-left: 20px; }
.art-ul li { font-size: 14px; color: rgba(255, 255, 255, 0.82); line-height: 1.8; margin-bottom: 5px; }
.art-ul li::marker { color: var(--pink); }
.art-table-wrap { overflow-x: auto; margin: 0 0 14px; border: 1px solid var(--line); border-radius: 12px; }
.art-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.art-table th {
  text-align: left; padding: 10px 13px; background: rgba(255, 94, 168, 0.09);
  color: #ffb3d9; font-size: 11px; letter-spacing: 1.2px; text-transform: uppercase;
  border-bottom: 1px solid var(--line-strong); white-space: nowrap;
}
.art-table td { padding: 9px 13px; border-bottom: 1px solid var(--line); color: rgba(255, 255, 255, 0.8); vertical-align: top; }
.art-table tr:last-child td { border-bottom: none; }
.art-orig-fold summary { color: rgba(255, 255, 255, 0.45); }
.art-orig-fold[open] summary { margin-bottom: 10px; }
.art-orig { border-left: 2px solid var(--line-strong); padding-left: 14px; opacity: .8; }
.art-orig .art-p { font-size: 13px; }
.art-orig .art-h2 { font-size: 15px; }

/* 可点击内容卡 / 行 */
.news-card, .char-card, .guide-card, .guide-art-card { cursor: pointer; }
.explorer-body tr.row-link { cursor: pointer; }
.explorer-body tr.row-link:hover .td-name { color: #ffb3d9; }

/* 无障碍：键盘焦点环（modern-web-guidance/accessibility） */
:where(a:any-link, button, [tabindex]):focus-visible {
  outline: 2px solid var(--pink); outline-offset: 2px; border-radius: 4px;
}

/* 无障碍：尊重系统减弱动态设置 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ═══════════ 视频缩略图列 ═══════════ */
.td-thumb { width: 108px; border-radius: 9px; overflow: hidden; display: block; aspect-ratio: 16/9; background: #221430; }
.td-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ═══════════ 移动端触控与小字（放末尾以确保层叠优先级） ═══════════ */
@media (max-width: 900px) {
  /* 触控目标 ≥44px（WCAG 2.5.8）：视觉尺寸不变，用 ::after 扩热区 */
  button.lang-btn, button.filter-chip, button.tab-btn { position: relative; }
  button.lang-btn::after, button.filter-chip::after, button.tab-btn::after {
    content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
    width: max(100%, 44px); height: max(100%, 44px);
  }
  /* 小字徽章可读性：≥11px（同特异性覆盖基础规则） */
  .tag-new, .tag-fresh, .badge-new, .char-role, .media-item .m-badge { font-size: 11px; }
}

/* ═══════════ 迁移正文：角色档案 / 武器介绍 ═══════════ */
.dm-profile { margin-top: 18px; padding: 14px 16px; background: rgba(255, 94, 168, 0.05); border: 1px solid rgba(255, 94, 168, 0.16); border-radius: 12px; }
.dm-profile-title { margin: 0 0 10px; font-size: 12px; letter-spacing: 1.6px; text-transform: uppercase; color: #ff8dc4; }
.dm-profile-list { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 0; font-size: 13px; line-height: 1.6; }
.dm-profile-list dt { color: var(--dim); font-weight: 600; white-space: nowrap; }
.dm-profile-list dd { margin: 0; color: rgba(255,255,255,.82); }
.dm-intro { margin: 16px 0 4px; padding-left: 14px; border-left: 2px solid rgba(255,94,168,.45); }
.dm-intro p { margin: 0 0 8px; font-size: 13.5px; line-height: 1.75; color: rgba(255,255,255,.8); }
@media (max-width: 640px) {
  .dm-profile-list { grid-template-columns: 1fr; gap: 2px 0; }
  .dm-profile-list dd { margin-bottom: 6px; }
}

/* ═══════════ 2026 EDITORIAL REDESIGN ═══════════ */
.nav-wrap {
  background: rgba(14, 8, 15, .82);
  border-bottom-color: rgba(255, 255, 255, .1);
}
.nav { max-width: 1380px; min-height: 76px; padding-inline: 30px; }
.brand { gap: 11px; color: #fff; min-width: 190px; }
.brand-logo { width: 43px; height: 43px; flex: none; filter: drop-shadow(0 8px 18px rgba(255, 93, 147, .24)); }
.brand-text { display: grid; gap: 1px; line-height: 1; letter-spacing: .08em; }
.brand-text strong { font-family: var(--display); font-size: 13px; letter-spacing: .16em; }
.brand-text em { font-size: 10px; letter-spacing: .28em; text-transform: uppercase; color: #ff9cbd; }
.nav-links { justify-content: center; }
.nav-links a { border-radius: 4px; letter-spacing: .04em; padding: 9px 12px; }
.nav-links a::after {
  content: ""; display: block; width: 0; height: 2px; margin: 5px auto -7px;
  background: var(--sunset); transition: width .22s ease;
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { background: transparent; color: #fff; }
.status-chip { border-radius: 5px; background: rgba(255, 255, 255, .025); }
.nav-toggle { display: none; }

.hero {
  min-height: calc(100dvh - 76px); padding: 0 30px; text-align: left;
  display: grid; align-items: end;
}
.hero-bg .bg-photo {
  background-image: url("images/gen/vice-city-coast-v2.webp");
  background-position: center center; opacity: .82; animation-duration: 1.8s;
}
.hero-bg::after {
  background:
    linear-gradient(90deg, rgba(14, 8, 16, .88) 0%, rgba(14, 8, 16, .62) 38%, rgba(14, 8, 16, .08) 75%),
    linear-gradient(180deg, rgba(14, 8, 16, .25) 0%, rgba(14, 8, 16, .02) 55%, var(--bg) 100%),
    radial-gradient(circle at 78% 36%, transparent 0 20%, rgba(16, 9, 17, .18) 58%, rgba(16, 9, 17, .54) 100%);
}
.hero-inner {
  width: 100%; max-width: 1380px; min-height: 690px; margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1fr) 210px; align-items: center; gap: 7vw;
  padding: 80px 0 120px;
}
.hero-copy { max-width: 720px; position: relative; }
.hero-index {
  display: flex; gap: 18px; align-items: center; margin-bottom: 24px;
  font-family: var(--mono); font-size: 10px; letter-spacing: .28em; color: #dcb8c9;
}
.hero-index::before { content: ""; width: 38px; height: 1px; background: var(--sunset); }
.hero-index b { color: var(--sunset); font-weight: 700; }
.hero-badge {
  margin: 0 0 22px; border-radius: 4px; border-color: rgba(255, 172, 104, .42);
  background: rgba(42, 20, 28, .48); color: #ffd0aa; backdrop-filter: blur(10px);
  letter-spacing: .18em;
}
.hero-title { text-transform: uppercase; letter-spacing: -.05em; }
.hero-title .line-1 {
  font-size: clamp(48px, 7.1vw, 108px); line-height: .82; letter-spacing: -.055em;
  color: #fff8f0; font-weight: 900; max-width: 7ch; text-wrap: balance;
}
.hero-title .line-2 {
  font-size: clamp(106px, 15vw, 226px); line-height: .8; letter-spacing: -.08em; margin-top: 16px;
  background: linear-gradient(155deg, #fff7ef 3%, #ffc1c8 31%, #ff5d93 62%, #bd4ed6 100%);
  -webkit-background-clip: text; background-clip: text;
  filter: drop-shadow(0 18px 32px rgba(42, 7, 27, .4)); font-weight: 950;
}
.hero-sub { margin: 24px 0 10px; max-width: 52ch; color: #eadde4; font-size: 17px; line-height: 1.8; text-wrap: pretty; }
.hero-sub b { color: #ffbc9b; }
.hero-count { margin: 12px 0 19px; color: #ffc0d2; font-size: 11px; letter-spacing: .08em; }
.hero-platforms { justify-content: flex-start; margin-bottom: 28px; }
.chip { border-radius: 4px; padding: 6px 12px; font-size: 10px; background: rgba(15, 8, 16, .48); }
.hero-cta { justify-content: flex-start; align-items: center; gap: 22px; }
.btn { border-radius: 6px; text-transform: uppercase; letter-spacing: .08em; }
.btn-primary {
  padding: 14px 20px; color: #1b0b13;
  background: linear-gradient(120deg, #ffb45f 0%, #ff6b92 72%);
  box-shadow: 0 12px 36px rgba(255, 84, 131, .24);
}
.btn-primary:hover { box-shadow: 0 16px 44px rgba(255, 84, 131, .34); }
.text-link { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-size: 13px; font-weight: 800; letter-spacing: .08em; }
.text-link b { color: var(--sunset); font-size: 17px; transition: transform .2s; }
.text-link:hover b { transform: translate(3px, 3px); }
.hero-side {
  align-self: center; padding: 22px 0 22px 24px; border-left: 1px solid rgba(255, 255, 255, .22);
  color: #fff; text-shadow: 0 2px 15px rgba(0, 0, 0, .5);
}
.hero-side span, .hero-side small { font-family: var(--mono); font-size: 9px; letter-spacing: .2em; color: #ffd1db; }
.hero-side strong { display: block; margin: 7px 0 18px; font-family: var(--display); font-size: 24px; letter-spacing: -.02em; }
.hero-side p { font-family: var(--mono); font-size: 11px; line-height: 1.8; color: #fff; }
.hero-side i { display: block; width: 100%; height: 44px; margin: 18px 0; opacity: .65; background: repeating-linear-gradient(135deg, transparent 0 8px, rgba(255, 181, 202, .4) 8px 9px); }
.hero-scroll { position: absolute; left: 0; bottom: 34px; display: flex; align-items: center; gap: 12px; transform: rotate(-90deg) translateY(-100%); transform-origin: left bottom; }
.hero-scroll span { font: 9px/1 var(--mono); letter-spacing: .22em; color: #d4bcc7; }
.hero-scroll i { width: 55px; height: 1px; background: rgba(255, 255, 255, .44); }
.hero-stats {
  position: absolute; z-index: 2; left: 50%; bottom: 0; transform: translateX(-50%);
  width: min(920px, calc(100% - 60px)); margin: 0; border-radius: 8px 8px 0 0;
  background: rgba(20, 11, 21, .7); border-color: rgba(255, 255, 255, .14);
  box-shadow: 0 -16px 55px rgba(19, 6, 16, .22);
}
.stat { padding: 20px 12px 18px; }
.stat b { font-size: 30px; background: linear-gradient(180deg, #fff, #ffbfcb); -webkit-background-clip: text; background-clip: text; }

.section { max-width: 1280px; padding-top: 112px; }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 35%); align-items: end; gap: 30px; margin-bottom: 42px; }
.section-head h2 { font-size: clamp(34px, 5vw, 64px); line-height: .94; letter-spacing: -.04em; font-weight: 900; text-transform: uppercase; background: none; color: #fff7f1; }
.section-head h2::before { content: "//"; color: var(--sunset); margin-right: .18em; font-family: var(--mono); font-size: .42em; vertical-align: .55em; letter-spacing: -.1em; }
.section-head p { justify-self: end; width: min(100%, 34ch); padding-left: 18px; border-left: 1px solid var(--line-strong); line-height: 1.7; }
.card { border-radius: 8px; box-shadow: inset 0 1px rgba(255, 255, 255, .035); }
.info-layout { grid-template-columns: .85fr 1.15fr; gap: 1px; background: var(--line); border-radius: 8px; overflow: hidden; }
.info-layout .card { border: 0; border-radius: 0; background: rgba(28, 17, 29, .9); }
.about-card { position: relative; background: linear-gradient(120deg, rgba(28, 17, 29, .92), rgba(68, 24, 44, .72)) !important; }
.about-card::after { content: "VI"; position: absolute; right: 24px; bottom: -28px; font: 900 130px/.8 var(--display); color: rgba(255, 255, 255, .035); }

.news-list { grid-template-columns: repeat(12, 1fr); gap: 14px; }
.news-card { grid-column: span 4; border-radius: 8px; padding: 12px; }
.news-card:nth-child(1), .news-card:nth-child(6) { grid-column: span 8; }
.news-card:nth-child(1) .n-img, .news-card:nth-child(6) .n-img { aspect-ratio: 2.15 / 1; }
.news-card .n-img, .guide-art-card .ga-img, .media-item { border-radius: 5px; }
.news-card:hover, .guide-art-card:hover, .char-card:hover { transform: translateY(-5px); box-shadow: 0 20px 48px rgba(10, 4, 11, .42); }

.db-grid { grid-template-columns: repeat(12, 1fr); gap: 10px; }
.db-card { grid-column: span 3; min-height: 190px; border-radius: 7px; padding: 24px; }
.db-card:nth-child(1), .db-card:nth-child(4) { grid-column: span 6; }
.db-card:nth-child(1), .db-card:nth-child(4) { background: linear-gradient(130deg, rgba(70, 28, 47, .84), rgba(31, 17, 31, .86)); }
.db-icon { filter: grayscale(1); opacity: .85; }
.explorer { max-width: 1280px; }
.explorer-bar { align-items: stretch; padding: 10px; border: 1px solid var(--line); background: rgba(22, 13, 23, .72); border-radius: 8px; }
.tab-bar { border: 0; border-radius: 5px; }
.tab-btn, #explorerSearch, .filter-chip { border-radius: 4px; }
.tab-btn.active { color: #241019; background: linear-gradient(120deg, #ffb05f, #ff6e94); box-shadow: none; }
.char-grid { grid-template-columns: repeat(12, 1fr); gap: 14px; }
.char-card { grid-column: span 4; }
.char-card:nth-child(1), .char-card:nth-child(2) { grid-column: span 6; }
.char-avatar { border-radius: 5px; }
.guide-art-card, .guide-card { border-radius: 7px; }
.media-grid { grid-template-columns: repeat(12, 1fr); gap: 10px; }
.media-item { grid-column: span 4; }
.media-item:nth-child(1), .media-item:nth-child(7) { grid-column: span 8; aspect-ratio: 2.15 / 1; }
.art-banner { max-width: 1280px; height: 420px; }
.art-banner > .art-inner { border-radius: 7px; }
.footer { max-width: 1280px; }

@media (max-width: 1100px) {
  .nav { gap: 14px; }
  .nav-links a { padding-inline: 8px; font-size: 12px; }
  .status-chip { display: none; }
  .hero-inner { grid-template-columns: 1fr 175px; }
  .hero-title .line-1 { font-size: clamp(48px, 8vw, 84px); }
}

@media (max-width: 900px) {
  .nav { min-height: 66px; padding: 10px 18px; justify-content: space-between; }
  .brand { min-width: 0; }
  .brand-logo { width: 38px; height: 38px; }
  .nav-meta { margin-left: auto; }
  .nav-toggle {
    width: 46px; height: 46px; display: grid; place-content: center; gap: 5px;
    background: transparent; color: #fff; border: 1px solid var(--line); border-radius: 5px;
  }
  .nav-toggle span { width: 20px; height: 1px; background: currentColor; transition: transform .2s, opacity .2s; }
  .nav-toggle b { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .nav-links {
    display: none; position: absolute; left: 14px; right: 14px; top: calc(100% + 8px); padding: 10px;
    background: rgba(18, 10, 19, .97); border: 1px solid var(--line-strong); border-radius: 7px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .48); grid-template-columns: repeat(2, 1fr);
  }
  .nav-links.is-open { display: grid; }
  .nav-links a { min-height: 44px; display: flex; align-items: center; padding: 10px 14px; }
  body.nav-open { overflow: hidden; }
  .hero { min-height: 830px; padding-inline: 20px; }
  .hero-inner { min-height: 760px; grid-template-columns: 1fr; padding: 62px 0 160px; }
  .hero-side, .hero-scroll { display: none; }
  .hero-copy { max-width: 650px; }
  .hero-title .line-1 { max-width: none; font-size: clamp(48px, 13vw, 76px); }
  .hero-title .line-2 { font-size: clamp(104px, 28vw, 170px); }
  .hero-bg .bg-photo { background-position: 68% center; }
  .hero-bg::after { background: linear-gradient(90deg, rgba(14,8,16,.91), rgba(14,8,16,.34)), linear-gradient(180deg, transparent 40%, var(--bg) 100%); }
  .hero-stats { width: calc(100% - 40px); }
  .section-head { grid-template-columns: 1fr; gap: 14px; }
  .section-head p { justify-self: start; }
  .news-card, .news-card:nth-child(1), .news-card:nth-child(6) { grid-column: span 6; }
  .db-card, .db-card:nth-child(1), .db-card:nth-child(4) { grid-column: span 6; }
  .char-card, .char-card:nth-child(1), .char-card:nth-child(2) { grid-column: span 6; }
  .media-item, .media-item:nth-child(1), .media-item:nth-child(7) { grid-column: span 6; aspect-ratio: 16/9; }
}

@media (max-width: 620px) {
  .nav-meta .lang-btn { min-width: 44px; padding-inline: 8px; }
  .brand-text em { display: none; }
  .hero { min-height: 760px; }
  .hero-inner { min-height: 700px; padding-top: 48px; }
  .hero-index { margin-bottom: 18px; }
  .hero-badge { font-size: 10px; letter-spacing: .08em; padding-inline: 11px; }
  .hero-title .line-1 { font-size: clamp(43px, 14vw, 62px); }
  .hero-title .line-2 { font-size: clamp(92px, 31vw, 138px); margin-top: 13px; }
  .hero-sub { font-size: 14px; line-height: 1.7; }
  .hero-platforms { gap: 6px; }
  .chip { font-size: 9px; padding-inline: 8px; }
  .hero-stats { grid-template-columns: repeat(4, 1fr); width: calc(100% - 24px); }
  .stat { padding: 15px 4px 13px; }
  .stat:nth-child(3)::before { display: block; }
  .stat b { font-size: 22px; }
  .stat span { font-size: 9px; letter-spacing: .08em; }
  .section { padding: 84px 16px 0; }
  .section-head h2 { font-size: 38px; }
  .info-layout { grid-template-columns: 1fr; gap: 1px; }
  .news-card, .news-card:nth-child(1), .news-card:nth-child(6),
  .db-card, .db-card:nth-child(1), .db-card:nth-child(4),
  .char-card, .char-card:nth-child(1), .char-card:nth-child(2),
  .media-item, .media-item:nth-child(1), .media-item:nth-child(7) { grid-column: 1 / -1; }
  .news-card:nth-child(1) .n-img, .news-card:nth-child(6) .n-img { aspect-ratio: 16/9; }
  .art-banner { height: 320px; padding-inline: 16px; }
  .art-banner .art-overlay { padding-inline: 24px; }
}
