@charset "UTF-8";

:root {
  color-scheme: dark;
  --paper: #0d0f11;
  --surface: #171a1d;
  --surface-raised: #202429;
  --surface-deep: #111416;
  --surface-red: #25191a;
  --ink: #e8e4db;
  --muted: #a4a5a7;
  --line: #34383d;
  --line-red: #663733;
  --red: #9f332d;
  --red-dark: #7f2522;
  --red-link: #e58f83;
  --metal: #b4b7bc;
  --charcoal: #101214;
  --sidebar-width: 240px;
  --radius: 2px;
  font-family: Inter, "Segoe UI", "Noto Sans", "Noto Sans CJK SC", "Microsoft YaHei", Arial, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-size: 15px; line-height: 1.65; }
body.nav-open { overflow: hidden; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
button, input, select, textarea { font: inherit; }
button, select { cursor: pointer; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a:focus-visible, button:focus-visible, select:focus-visible, input:focus-visible, [tabindex]:focus-visible { outline: 3px solid #f2a396; outline-offset: 4px; }
img, svg, video { max-width: 100%; }
svg { vertical-align: middle; }
::selection { background: #71342f; color: #fff7f2; }
.skip-link { position: fixed; left: 16px; top: -90px; z-index: 100; padding: 12px 20px; background: var(--surface); border: 2px solid var(--red); }
.skip-link:focus { top: 12px; }

.site-shell { min-height: 100vh; }
.sidebar { position: fixed; inset: 0 auto 0 0; z-index: 50; width: var(--sidebar-width); display: flex; flex-direction: column; background: var(--charcoal); color: var(--ink); padding: 32px 23px 24px; border-right: 1px solid var(--line); overflow-y: auto; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; padding-bottom: 32px; }
.brand-mark { flex: 0 0 37px; width: 37px; height: 43px; display: grid; place-items: center; border: 1px solid var(--red-link); color: var(--metal); font-family: Georgia, "Songti SC", serif; font-size: 23px; font-weight: 700; background: var(--red); transform: rotate(-3deg); }
.brand-text { color: var(--ink); font-size: 16px; line-height: 1.24; letter-spacing: -.35px; font-weight: 750; overflow-wrap: anywhere; }
.brand-text small, .brand-text span { display: block; }
.brand-text small { margin-top: 7px; font-size: 9px; letter-spacing: 1.65px; color: var(--muted); font-weight: 500; text-transform: uppercase; }
.sidebar nav { display: grid; gap: 5px; }
.nav-heading, .nav-label { margin: 25px 12px 11px; color: var(--muted); font-size: 10px; letter-spacing: 1.7px; text-transform: uppercase; font-weight: 650; }
.nav-link { display: flex; gap: 12px; align-items: center; padding: 11px 10px; color: var(--muted); text-decoration: none; border: 1px solid transparent; border-left-width: 3px; border-radius: var(--radius); font-size: 13px; line-height: 1.5; transition: background .18s ease, color .18s ease; }
.nav-link svg { width: 17px; height: 17px; flex-shrink: 0; color: var(--muted); }
.nav-link:hover { color: var(--ink); background: var(--surface-raised); }
.nav-link.active { background: var(--surface-red); color: var(--ink); border-color: var(--line-red); border-left-color: var(--red); }
.nav-link.active svg { color: var(--red-link); }
.sidebar-note { margin-top: auto; padding: 26px 11px 0; color: var(--muted); font-size: 11px; line-height: 1.8; }
.sidebar-note strong { display: block; color: var(--ink); margin-bottom: 9px; font-size: 11px; font-weight: 600; }
.sidebar-note::before { content: ""; display: block; width: 30px; height: 1px; margin-bottom: 18px; background: #555b62; }
.sidebar-note a { color: var(--ink); }
.page-shell { margin-left: var(--sidebar-width); min-width: 0; }
.topbar { position: sticky; top: 0; z-index: 30; height: 72px; padding: 0 42px; display: flex; align-items: center; justify-content: space-between; gap: 20px; background: rgba(13,15,17,.97); border-bottom: 1px solid var(--line); }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 9px; color: var(--muted); font-size: 11px; min-width: 0; }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { color: var(--red-link); }
.breadcrumbs span:last-child { color: var(--ink); }
.topbar-actions { display: flex; align-items: center; gap: 20px; flex-shrink: 0; }
.search-trigger { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; text-decoration: none; }
.search-trigger svg { width: 16px; height: 16px; }
.language-select { max-width: 165px; background: transparent; border: 1px solid var(--line); border-radius: var(--radius); padding: 7px 27px 7px 10px; font-size: 11px; color: var(--muted); }
.language-select option, .search-panel select option, .library-toolbar select option { background: var(--surface); color: var(--ink); }
.menu-toggle { display: none; border: 1px solid var(--line); background: transparent; border-radius: var(--radius); width: 36px; height: 36px; align-items: center; justify-content: center; padding: 7px; }
.menu-toggle svg { width: 20px; height: 20px; }
main { max-width: 1450px; margin-inline: auto; padding: 36px 42px 60px; }

.hero { position: relative; isolation: isolate; overflow: hidden; padding: 44px 46px 45px; min-height: 392px; color: var(--ink); background: var(--surface-deep); border: 1px solid var(--line); border-radius: var(--radius); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 78% 40%, #30353a 0, #1c2024 35%, var(--surface-deep) 75%); opacity: .8; }
.hero .eyebrow { position: relative; color: var(--red-link); font-size: 10px; font-weight: 650; text-transform: uppercase; letter-spacing: 2px; margin: 0 0 18px; max-width: 65%; }
.eyebrow::before { content: ""; display: inline-block; width: 16px; height: 2px; background: var(--red); vertical-align: middle; margin-right: 9px; }
.hero-title { max-width: 68%; margin: 0; font-size: clamp(36px, 4.6vw, 66px); line-height: 1.06; letter-spacing: -2.8px; font-weight: 760; text-wrap: balance; }
.hero-title span { color: var(--metal); }
.hero-copy { position: relative; max-width: 57%; color: var(--muted); font-size: 13px; line-height: 1.9; margin: 22px 0 25px; }
.hero-actions { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; gap: 10px; padding: 10px 18px; border: 1px solid var(--red); border-radius: var(--radius); text-decoration: none; font-size: 12px; font-weight: 650; line-height: 1.4; color: #fff7f2; background: var(--red); transition: background .18s ease, transform .18s ease; }
.button:hover { background: var(--red-dark); transform: translateY(-1px); }
.button.secondary { background: transparent; border-color: #555b62; color: var(--ink); }
.button.secondary:hover { background: var(--surface-raised); }
.button svg { width: 15px; height: 15px; }
.hero-art { position: absolute; z-index: -1; right: -35px; top: 5%; width: 43%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, transparent 0 41%, #b4b7bc26 41.2% 41.5%, transparent 41.7% 52%, #b4b7bc20 52.2% 52.5%, transparent 52.7% 65%, #b4b7bc13 65.3% 65.7%, transparent 66%); transform: rotate(-28deg); }
.hero-art::before { content: ""; position: absolute; top: -10%; left: 48%; width: 9%; height: 112%; background: linear-gradient(90deg,#b1b5bb,#e3e5e7 50%,#5d646d 52%,#929aa4 100%); clip-path: polygon(0 0,100% 0,65% 88%,15% 100%,0 70%); box-shadow: 0 0 40px #b4b7bc33; }
.hero-art::after { content: ""; position: absolute; left: 29%; top: 67%; width: 48%; height: 4px; background: #93979f; box-shadow: 0 5px 0 #444951,0 8px 0 #767d87; transform: rotate(-4deg); }
.status-strip { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); margin-top: 17px; background: var(--surface-deep); border: 1px solid var(--line); border-radius: var(--radius); }
.status-item { padding: 15px 21px; min-width: 0; font-size: 11px; color: var(--muted); }
.status-item + .status-item { border-left: 1px solid var(--line); }
.status-item strong { display: block; margin-top: 3px; color: var(--ink); font-size: 13px; font-weight: 650; }
.status-item small { display: block; margin-top: 5px; font-size: 10px; line-height: 1.65; color: var(--muted); overflow-wrap: anywhere; }
.status-item svg { width: 13px; height: 13px; margin-right: 5px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin: 36px 0 17px; }
.section-heading h2 { margin: 0; font-size: 22px; letter-spacing: -.65px; line-height: 1.35; }
.section-heading p { margin: 5px 0 0; font-size: 12px; color: var(--muted); }
.section-heading a { font-size: 11px; color: var(--red-link); text-decoration: none; font-weight: 650; white-space: nowrap; }
.content-grid, .search-results, .related-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 15px; }
.guide-card { position: relative; min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease; }
.guide-card::before { content: ""; display: block; height: 3px; background: #555b62; opacity: .55; }
.guide-card:nth-child(3n + 2)::before { background: var(--red-link); }
.guide-card:nth-child(3n + 3)::before { background: var(--metal); }
.guide-card:hover { border-color: #555b62; transform: translateY(-3px); box-shadow: 0 6px 20px #00000055; }
.card-link { display: flex; flex-direction: column; height: 100%; padding: 23px 23px 21px; text-decoration: none; }
.card-category, .category-tag { color: var(--red-link); font-size: 9px; font-weight: 700; letter-spacing: 1.3px; text-transform: uppercase; }
.guide-card h2, .guide-card h3 { margin: 11px 0 12px; color: var(--ink); font-size: 18px; font-weight: 650; line-height: 1.4; letter-spacing: -.4px; overflow-wrap: anywhere; }
.card-description { font-size: 12px; color: var(--muted); line-height: 1.85; margin: 0 0 19px; }
.card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: auto; padding-top: 13px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; }
.card-meta span:last-child { margin-left: auto; }
.notice, .language-notice { margin: 23px 0; padding: 15px 19px; border: 1px solid var(--line); border-left: 3px solid var(--red-link); color: var(--muted); background: var(--surface-deep); font-size: 12px; line-height: 1.9; border-radius: var(--radius); }
.notice p, .language-notice p { margin: 0; }
.notice a, .language-notice a { color: var(--red-link); }

.article-header { margin: 7px 0 30px; max-width: 900px; }
.article-header h1 { margin: 13px 0 18px; font-size: clamp(31px,3.3vw,48px); line-height: 1.17; letter-spacing: -1.75px; text-wrap: balance; }
.article-description { color: var(--muted); font-size: 15px; line-height: 1.85; max-width: 760px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); font-size: 11px; padding-top: 14px; border-top: 1px solid var(--line); }
.article-layout { display: grid; grid-template-columns: minmax(0,1fr) 210px; gap: 38px; align-items: start; }
.article-body { min-width: 0; }
.answer-box { background: var(--surface-red); border: 1px solid var(--line-red); border-top: 3px solid var(--red); border-radius: var(--radius); padding: 24px 27px; margin-bottom: 29px; font-size: 16px; line-height: 1.9; color: var(--ink); }
.answer-box > :first-child { margin-top: 0; }
.answer-box > :last-child { margin-bottom: 0; }
.answer-box strong, .answer-label { display: block; margin-bottom: 9px; font-size: 10px; letter-spacing: 1.5px; color: var(--red-link); text-transform: uppercase; }
.prose { font-size: 15px; line-height: 1.95; overflow-wrap: anywhere; }
.prose h2 { margin: 35px 0 16px; padding-bottom: 11px; border-bottom: 1px solid var(--line); font-size: 24px; line-height: 1.4; letter-spacing: -.7px; color: var(--ink); scroll-margin-top: 95px; }
.prose h3 { margin: 25px 0 10px; font-size: 19px; line-height: 1.5; color: var(--ink); }
.prose p { margin: 0 0 18px; }
.prose ul, .prose ol { margin: 13px 0 22px; padding-left: 23px; }
.prose li { padding-left: 4px; margin: 7px 0; }
.prose li::marker { color: var(--red-link); }
.prose a { color: var(--red-link); }
.prose blockquote { margin: 23px 0; padding: 15px 22px; border-left: 3px solid #555b62; color: var(--muted); background: var(--surface-deep); }
.prose code { padding: 2px 6px; background: var(--surface-raised); border-radius: var(--radius); font-size: .9em; }
.table-wrap { width: 100%; max-width: 100%; overflow-x: auto; margin: 22px 0; border: 1px solid var(--line); border-radius: var(--radius); -webkit-overflow-scrolling: touch; }
.prose table { width: 100%; border-collapse: collapse; font-size: 12px; line-height: 1.8; min-width: 470px; background: var(--surface); }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 13px 15px; border-bottom: 1px solid var(--line); }
.prose th { color: var(--ink); font-weight: 650; background: var(--surface-raised); }
.prose tbody tr:nth-child(even) { background: #1c2024; }
.prose tbody tr:last-child td { border-bottom: 0; }
.article-toc { position: sticky; top: 99px; border-left: 1px solid var(--line); padding-left: 20px; font-size: 11px; color: var(--muted); }
.article-toc h2, .article-toc strong { display: block; font-size: 10px; margin: 0 0 14px; letter-spacing: 1.3px; text-transform: uppercase; color: var(--ink); }
.article-toc ol, .article-toc ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 13px; }
.article-toc nav { display: grid; gap: 13px; }
.article-toc a { text-decoration: none; line-height: 1.7; display: block; }
.article-toc a:hover { color: var(--red-link); }
.source-list { padding: 20px 23px; background: var(--surface-deep); border: 1px solid var(--line); border-radius: var(--radius); font-size: 11px; color: var(--muted); }
.source-list h2 { font-size: 15px; margin-top: 0; padding-bottom: 11px; border-bottom: 1px solid var(--line); }
.source-list ul { margin-bottom: 0; padding-left: 17px; }
.source-list li { padding: 4px 0; }
.source-list a { color: var(--red-link); overflow-wrap: anywhere; }
.related-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
.site-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 15px 30px; padding: 23px 42px 30px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; line-height: 1.9; }
.site-footer p { margin: 0; max-width: 680px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 9px 18px; }
.site-footer > div:last-child { display: flex; flex-wrap: wrap; align-content: start; gap: 9px 18px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--red-link); }
.back-link { display: inline-block; margin-top: 24px; color: var(--red-link); font-size: 12px; text-decoration: none; }

.search-panel { display: flex; gap: 12px; margin: 25px 0 20px; }
.search-panel form { display: flex; align-items: stretch; width: 100%; min-width: 0; gap: 12px; }
.search-panel input { flex: 1; min-width: 0; min-height: 49px; padding: 12px 16px; border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius); color: var(--ink); font-size: 15px; }
.search-panel input::placeholder { color: var(--muted); }
.search-panel select { max-width: 220px; min-width: 130px; padding: 10px 31px 10px 13px; border: 1px solid var(--line); background: var(--surface-deep); border-radius: var(--radius); color: var(--ink); font-size: 12px; }
.search-panel button { flex-shrink: 0; }
.search-submit { display: inline-grid; place-items: center; width: 49px; min-height: 49px; border: 1px solid var(--red); border-radius: var(--radius); background: var(--red); color: #fff7f2; }
.search-submit:hover { background: var(--red-dark); }
#search-count { display: block; color: var(--muted); font-size: 12px; margin-bottom: 19px; }
.empty-state { padding: 48px 30px; border: 1px dashed var(--line); background: var(--surface-deep); color: var(--muted); text-align: center; border-radius: var(--radius); }
.empty-state h2 { color: var(--ink); font-size: 22px; margin: 0 0 9px; }
.empty-state p { margin: 0; font-size: 13px; }
body[data-page="policy"] .prose { max-width: 830px; }
body[data-page="policy"] .article-header { max-width: 830px; }

@media (min-width: 1700px) { .hero-title { font-size: 72px; } }
@media (max-width: 1250px) {
  :root { --sidebar-width: 216px; }
  .sidebar { padding-inline: 18px; }
  .topbar { padding-inline: 28px; }
  main { padding: 28px 28px 45px; }
  .site-footer { padding-inline: 28px; }
  .hero { padding: 35px; min-height: 365px; }
  .hero-title { font-size: 46px; }
  .content-grid, .search-results { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .article-layout { grid-template-columns: minmax(0,1fr) 170px; gap: 25px; }
}
@media (max-width: 950px) {
  :root { --sidebar-width: 230px; }
  .sidebar { transform: translateX(-100%); transition: transform .22s ease; box-shadow: 10px 0 45px #00000080; }
  .sidebar.is-open { transform: translateX(0); }
  .page-shell { margin-left: 0; }
  body.nav-open .page-shell::after { content: ""; position: fixed; z-index: 40; inset: 0; background: #050709b8; }
  .menu-toggle { display: inline-flex; }
  .topbar-actions { gap: 15px; }
  .hero-title { font-size: 57px; }
}
@media (max-width: 680px) {
  .topbar { padding: 0 17px; height: 65px; gap: 10px; }
  .breadcrumbs { font-size: 10px; gap: 5px; max-width: 36%; line-height: 1.4; }
  .breadcrumbs span:not(:last-child), .breadcrumbs a:not(:first-child) { display: none; }
  .topbar-actions { gap: 10px; }
  .language-select { max-width: 119px; font-size: 10px; padding-left: 7px; }
  .search-trigger { font-size: 0; gap: 0; }
  .search-trigger svg { width: 19px; height: 19px; }
  main { padding: 20px 17px 37px; }
  .hero { min-height: 394px; padding: 29px 25px 31px; }
  .hero .eyebrow { max-width: 90%; font-size: 9px; line-height: 1.8; letter-spacing: 1.4px; }
  .hero-title { max-width: 90%; font-size: clamp(37px,8vw,52px); letter-spacing: -1.8px; line-height: 1.1; }
  .hero-copy { max-width: 87%; font-size: 12px; margin: 20px 0 24px; }
  .hero-art { right: -100px; top: 10%; width: 67%; opacity: .35; }
  .hero-actions { gap: 10px; }
  .button { padding: 10px 13px; font-size: 11px; }
  .status-strip { grid-template-columns: 1fr; gap: 0; margin-top: 12px; }
  .status-item { padding: 11px 16px; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.4fr); align-items: baseline; gap: 3px 16px; }
  .status-item strong { font-size: 12px; margin-top: 0; text-align: right; }
  .status-item small { grid-column: 1 / -1; margin-top: 0; }
  .status-item + .status-item { border-left: 0; border-top: 1px solid var(--line); }
  .section-heading { margin-top: 29px; align-items: start; }
  .section-heading h2 { font-size: 20px; }
  .section-heading p { font-size: 11px; }
  .section-heading a { font-size: 10px; }
  .content-grid, .search-results { grid-template-columns: 1fr; gap: 13px; }
  .card-link { padding: 21px; }
  .guide-card h2, .guide-card h3 { font-size: 19px; }
  .card-description { font-size: 13px; margin-bottom: 15px; }
  .article-header { margin-top: 5px; margin-bottom: 24px; }
  .article-header h1 { font-size: 34px; letter-spacing: -1.2px; }
  .article-description { font-size: 14px; }
  .article-layout { display: flex; flex-direction: column; gap: 22px; }
  .article-body { width: 100%; }
  .article-toc { position: static; width: 100%; order: -1; border: 1px solid var(--line); padding: 16px; border-radius: var(--radius); }
  .article-toc h2, .article-toc strong { margin-bottom: 10px; }
  .article-toc ol, .article-toc ul { display: flex; flex-wrap: wrap; gap: 7px 17px; }
  .article-toc nav { display: flex; flex-wrap: wrap; gap: 7px 17px; }
  .answer-box { padding: 19px; font-size: 15px; }
  .prose { font-size: 14px; line-height: 1.95; }
  .prose h2 { font-size: 22px; margin-top: 30px; }
  .prose th, .prose td { padding: 11px 12px; }
  .related-grid { grid-template-columns: 1fr; }
  .site-footer { padding: 23px 17px; font-size: 10px; }
  .search-panel { flex-wrap: wrap; gap: 10px; }
  .search-panel form { flex-wrap: wrap; gap: 10px; }
  .search-panel input { flex-basis: 100%; }
  .search-panel select { flex: 1; max-width: none; min-height: 44px; }
  .notice, .language-notice { padding: 13px 15px; font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Official game imagery, kept intact and credited. */
.brand.official-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 11px; padding-bottom: 27px; }
.brand-logo-wrap { display: flex; align-items: center; min-height: 40px; width: 100%; }
.official-brand .brand-logo { display: block; width: 100%; height: auto; max-height: 65px; object-fit: contain; object-position: left center; }
html[lang^="zh"] .official-brand .brand-logo { width: 122px; }
.brand-site-name { display: block; color: var(--muted); font-size: 10px; line-height: 1.6; letter-spacing: 1.2px; }
.brand-site-name small { display: block; font-size: 8px; color: var(--muted); letter-spacing: 0; }
.language-control { display: flex; align-items: center; gap: 8px; padding-left: 10px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-deep); color: var(--muted); }
.language-control > svg { width: 19px; height: 19px; flex-shrink: 0; }
.language-control .language-select { border: 0; border-left: 1px solid var(--line); border-radius: 0; background: transparent; max-width: 166px; min-height: 36px; padding-left: 10px; }
.language-control:focus-within { outline: 2px solid #f2a396; outline-offset: 2px; }
.language-control .language-select:focus-visible { outline: none; }
.language-name { font-size: 10px; }
.library-teasers { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; margin-top: 25px; }
.library-teaser { display: flex; flex-direction: column; min-height: 220px; padding: 25px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; background: var(--surface-deep); overflow: hidden; }
.library-teaser .eyebrow { font-size: 9px; letter-spacing: 1.4px; color: var(--muted); }
.library-teaser h2 { margin: 10px 0; font-size: 25px; line-height: 1.3; letter-spacing: -.6px; }
.library-teaser p { font-size: 12px; line-height: 1.8; margin: 0 0 20px; }
.library-teaser > span:last-child, .library-teaser > div > span:last-child { margin-top: auto; font-size: 11px; color: var(--red-link); font-weight: 650; }
.library-teaser:hover { border-color: #555b62; }
.teaser-gallery { position: relative; isolation: isolate; color: var(--ink); background: var(--surface-deep); }
.teaser-gallery > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.teaser-gallery::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg,#080a0cec,#080a0ca8); z-index: -1; }
.teaser-gallery .eyebrow, .teaser-gallery > div > span:last-child { color: var(--red-link); }
.library-header { max-width: 100%; }
.library-intro { max-width: 900px; font-size: 13px; color: var(--muted); line-height: 1.9; }
.library-intro > p:first-child { font-size: 15px; color: var(--ink); }
.library-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 25px 0; padding: 15px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.library-toolbar label { font-size: 11px; color: var(--muted); }
.library-toolbar select { min-height: 39px; padding: 7px 35px 7px 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); font-size: 12px; }
.library-toolbar > a { margin-left: auto; color: var(--red-link); font-size: 12px; }
.reviews-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.review-card { min-width: 0; padding: 25px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.review-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 13px; }
.review-date { font-size: 10px; color: var(--muted); line-height: 1.8; }
.review-score { text-align: right; flex-shrink: 0; min-width: 60px; }
.review-score strong { display: block; color: var(--ink); font-size: 26px; line-height: 1.2; }
.review-score small { display: block; font-size: 9px; color: var(--muted); max-width: 100px; }
.review-card h2 { font-size: 21px; line-height: 1.45; margin: 18px 0 15px; letter-spacing: -.4px; overflow-wrap: anywhere; }
.review-card h2 a { text-decoration: none; }
.review-card h2 a:hover { color: var(--red-link); }
.review-summary { font-size: 13px; line-height: 1.9; color: var(--muted); }
.review-points { padding-left: 18px; font-size: 12px; color: var(--muted); line-height: 1.9; }
.review-caveats { margin-top: 17px; padding: 12px 15px; background: var(--surface-red); border-left: 2px solid var(--red-link); color: var(--red-link); font-size: 12px; line-height: 1.85; }
.review-caveats p { margin: 0 0 8px; }
.review-caveats p:last-child { margin-bottom: 0; }
.review-card-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 20px; padding-top: 15px; border-top: 1px solid var(--line); font-size: 11px; color: var(--muted); }
.review-card-bottom a { color: var(--red-link); }
.gallery-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; margin-top: 25px; }
.gallery-card { margin: 0; min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.gallery-open { display: block; position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--surface-deep); }
.gallery-open img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s ease; }
.gallery-open:hover img { transform: scale(1.025); }
.gallery-zoom { position: absolute; right: 10px; bottom: 10px; display: grid; place-items: center; width: 30px; height: 30px; background: #080a0cdb; color: #fff7f2; border: 1px solid #e8e4db55; border-radius: 50%; font-size: 19px; }
.gallery-card figcaption { padding: 18px; }
.gallery-meta { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; color: var(--muted); font-size: 9px; }
.gallery-card h2 { margin: 12px 0 9px; font-size: 18px; line-height: 1.4; }
.gallery-card figcaption > p { font-size: 9px; color: var(--muted); }
.gallery-links { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 9px; margin-top: 15px; padding-top: 13px; border-top: 1px solid var(--line); font-size: 10px; color: var(--red-link); }
.gallery-dialog { width: min(1200px,96vw); max-width: 96vw; max-height: 94vh; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-deep); color: var(--ink); overflow: auto; }
.gallery-dialog::backdrop { background: #020305ed; }
.gallery-dialog-image { position: relative; display: flex; align-items: center; justify-content: center; background: #090b0e; }
.gallery-dialog-image img { display: block; width: 100%; max-height: 73vh; height: auto; object-fit: contain; }
.gallery-close { position: absolute; z-index: 2; right: 12px; top: 12px; width: 38px; height: 38px; padding: 0; border: 1px solid #b4b7bc77; border-radius: 50%; color: #fff7f2; background: #090b0ed9; font-size: 27px; line-height: 1; }
.gallery-prev,.gallery-next { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 45px; padding: 0; background: #090b0ec9; border: 1px solid #b4b7bc55; border-radius: var(--radius); color: #fff7f2; font-size: 23px; }
.gallery-prev { left: 12px; }.gallery-next { right: 12px; }
.gallery-dialog-caption { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 18px 22px; }
.gallery-dialog-caption h2 { font-size: 18px; margin: 0 0 5px; }
.gallery-dialog-caption p { font-size: 10px; margin: 0; color: var(--muted); }
@media(max-width:1100px){.gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.language-name{display:none}}
@media(max-width:680px){
 .language-control{gap:6px;padding-left:8px}.language-control .language-select{max-width:115px;padding-left:7px;min-height:34px}.language-control>svg{width:17px;height:17px}
 .topbar .breadcrumbs{flex:1;min-width:0}.topbar-actions{gap:10px}
 .library-teasers,.reviews-grid,.gallery-grid{grid-template-columns:1fr}.library-teaser{min-height:190px;padding:22px}.library-teaser h2{font-size:23px}
 .library-toolbar{align-items:center}.library-toolbar>a{width:100%;margin-left:0}.review-card{padding:21px}.review-card h2{font-size:20px}.review-score strong{font-size:24px}
 .gallery-dialog-caption{padding:16px;align-items:flex-start;flex-direction:column;gap:13px}.gallery-dialog-caption .button{width:100%}.gallery-dialog-caption h2{font-size:16px}.gallery-prev,.gallery-next{width:33px;height:39px}
}
.hero-official { min-height: 510px; padding: 44px 42px 54px; background: var(--surface-deep); }
.hero-official::before { inset: 0; z-index: 1; opacity: 1; background: linear-gradient(90deg,rgba(8,10,12,.04) 0%,rgba(8,10,12,.05) 34%,rgba(8,10,12,.79) 57%,rgba(8,10,12,.96) 100%); }
.hero-media { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; object-position: 35% 45%; }
.hero-content { position: relative; z-index: 2; width: 47%; margin-left: auto; }
.hero-official .eyebrow { max-width: 100%; margin-bottom: 19px; font-size: 9px; letter-spacing: 1.3px; }
.hero-game-title { margin: 0; font-size: clamp(33px,3.7vw,57px); line-height: 1.04; font-weight: 800; letter-spacing: -.025em; text-wrap: balance; color: var(--ink); }
html[lang^="zh"] .hero-game-title { font-family: "STKaiti","KaiTi","Microsoft YaHei",serif; font-size: clamp(48px,5vw,76px); letter-spacing: .07em; }
.hero-tagline { margin: 19px 0 0; color: var(--ink); font-size: 20px; font-weight: 650; line-height: 1.45; }
.hero-official .hero-copy { max-width: 100%; color: var(--muted); margin: 15px 0 24px; font-size: 12px; }
.hero-official .hero-actions { gap: 10px; }
.hero-credit { position: absolute; z-index: 2; bottom: 13px; left: 18px; max-width: calc(100% - 36px); color: var(--ink); background: #090b0ecf; border: 1px solid #b4b7bc40; padding: 3px 8px; font-size: 9px; line-height: 1.5; text-decoration: none; }
.guide-card::before { display: none; }
.card-image { display: block; flex: 0 0 auto; width: calc(100% + 46px); max-width: none; height: auto; aspect-ratio: 16/9; object-fit: cover; margin: -23px -23px 20px; border-bottom: 1px solid var(--line); }
.article-visual { margin: 0 0 30px; max-width: 980px; }
.article-visual > img { display: block; width: 100%; height: auto; max-height: 440px; object-fit: cover; object-position: 50% 38%; border: 1px solid var(--line); border-radius: var(--radius); }
.article-visual figcaption { margin-top: 8px; font-size: 10px; line-height: 1.7; color: var(--muted); }
.article-visual figcaption a { color: var(--red-link); }
.footer-image-credit { margin-top: 5px !important; }
@media (max-width: 1100px) {
 .hero-official { padding: 36px 30px 52px; min-height: 480px; }
 .hero-content { width: 49%; }
 .hero-game-title { font-size: 39px; }
 .hero-tagline { font-size: 18px; }
 .hero-official .button { padding: 10px 13px; font-size: 11px; }
}
@media (max-width: 680px) {
 .hero-official { min-height: 0; padding: 0; display: flex; flex-direction: column; background: var(--surface-deep); }
 .hero-official::before { display: none; }
 .hero-media { position: relative; width: 100%; height: auto; aspect-ratio: 16/10; object-fit: cover; object-position: 30% 45%; }
 .hero-content { width: 100%; margin: 0; padding: 24px 23px 55px; background: linear-gradient(180deg,#1c2024,var(--surface-deep)); }
 .hero-official .eyebrow { font-size: 8px; margin-bottom: 14px; }
 .hero-game-title { max-width: 100%; font-size: 39px; }
 html[lang^="zh"] .hero-game-title { font-size: 50px; }
 .hero-tagline { font-size: 18px; margin-top: 13px; }
 .hero-official .hero-copy { max-width: 100%; font-size: 12px; }
 .hero-credit { bottom: 12px; left: 14px; font-size: 8px; max-width: calc(100% - 28px); }
 .card-image { width: calc(100% + 42px); margin: -21px -21px 18px; }
 .article-visual > img { max-height: none; object-fit: contain; }
}
