:root {
  
  --brand: var(--color-accent, #4FD1C5);
  --brand-dark: #2FA9A0;
  --brand-ink: #06201f;
  --ink: var(--color-text-primary, #f1f5f5);
  --ink-2: var(--color-text-secondary, #bfcacc);
  --muted: var(--color-text-tertiary, #8d9b9f);
  --bg: var(--color-bg-base, #0f1923);
  --paper: var(--color-bg-canvas, #0f1923);
  --surface: var(--color-surface-1, #172534);
  --surface-2: var(--color-surface-2, #1e2f40);
  --line: var(--color-border-default, rgba(168, 202, 226, .14));
  --soft: var(--color-surface-1, #172534);
  --deep: var(--color-bg-sunken, #0a131c);
  --deep-2: var(--color-surface-3, #142535);
  --max: var(--content-max, 1280px);
  --gap: var(--grid-gutter, 24px);
  --pad: var(--content-pad, clamp(20px, 5vw, 64px));
  --ease: var(--motion-base, 240ms) cubic-bezier(.4, 0, .2, 1);
  --ease-img: var(--motion-slow, 420ms) cubic-bezier(.2, .7, .2, 1);
  --radius: var(--radius-md, 12px);
  --radius-pill: var(--p-r-pill, 999px);
  --radius-card: var(--radius-lg, 16px);
  --img-lift: brightness(1.13) saturate(1.06);
  --hero-lift: brightness(1.34) saturate(1.08) contrast(1.02);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: #0f1923; }
body {
  margin: 0;
  color: var(--ink);
  color-scheme: dark;
  font-family: 'Inter', 'Noto Sans SC', 'Source Han Sans SC', 'PingFang SC', 'Microsoft YaHei', system-ui, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  
  background-color: #0f1923;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.022'/%3E%3C/svg%3E"),
    radial-gradient(46% 34% at 12% 6%, rgba(56, 132, 142, .20), transparent 72%),
    radial-gradient(42% 30% at 90% 18%, rgba(42, 92, 142, .22), transparent 74%),
    radial-gradient(60% 36% at 50% 96%, rgba(30, 74, 112, .22), transparent 78%),
    url("../img/bg-ambient.webp");
  background-repeat: repeat, no-repeat, no-repeat, no-repeat, no-repeat;
  background-size: 180px 180px, auto, auto, auto, cover;
  background-attachment: fixed, fixed, fixed, fixed, fixed;
  background-position: 0 0, center, center, center, center;
}
body[lang="en"] { font-family: 'Inter', 'Noto Sans SC', system-ui, sans-serif; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
::selection { background: var(--brand); color: var(--brand-ink); }

.wrap { width: 100%; max-width: var(--max); min-width: 0; margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.game-grid, .news-grid, .card-cols, .char-list, .fact-grid { min-width: 0; }
.game-card, .game-card .gc-body, .news-card, .news-card .news-body, .info-card { min-width: 0; max-width: 100%; }
.game-card h3, .game-card .gc-en, .game-card .gc-desc, .hero-lead { overflow-wrap: anywhere; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }


#site-header-slot { position: sticky; top: 0; z-index: 50; }
.site-header {
  position: relative;
  background: rgba(10, 19, 28, .80);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(140%) blur(14px);
  transition: background-color var(--ease), box-shadow var(--ease);
}
.site-header.is-stuck { background: rgba(10, 19, 28, .94); box-shadow: 0 12px 36px rgba(0, 0, 0, .55); }
.header-inner { height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand-link { display: inline-flex; align-items: center; min-height: 44px; }
.brand-logo { width: 148px; height: auto; }
.nav { display: flex; align-items: center; gap: 34px; }
.nav a {
  position: relative; display: inline-flex; align-items: center; min-height: 44px;
  font-size: 13px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-2);
  transition: color var(--ease);
}
.nav a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 8px; height: 2px;
  background: var(--brand); opacity: 0; transition: opacity var(--ease);
}
.nav a:hover, .nav a.is-active { color: var(--brand); }
.nav a:hover::after, .nav a.is-active::after { opacity: 1; }
.lang-menu { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 40px; padding: 0 14px;
  border: 1px solid var(--line); border-radius: var(--radius-pill);
  background: transparent; color: var(--ink);
  font-size: 13px; font-weight: 700; letter-spacing: .04em;
  transition: border-color var(--ease), color var(--ease), background-color var(--ease);
}
.lang-btn:hover { color: var(--brand); border-color: var(--brand); background: rgba(79, 209, 197, .09); }
.lang-btn .caret { font-style: normal; font-size: 10px; line-height: 1; transition: transform var(--ease); }
.lang-btn[aria-expanded="true"] .caret { transform: rotate(180deg); }
.flag { width: 20px; height: 14px; flex: 0 0 20px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .14); }
.lang-dropdown {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 104px; z-index: 60;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .5); padding: 6px;
  display: flex; flex-direction: column; gap: 2px;
}
.lang-dropdown a {
  display: flex; align-items: center; gap: 10px; padding: 9px 12px; min-height: 40px;
  font-size: 13px; font-weight: 700; color: var(--ink); border-radius: 8px;
  transition: background-color var(--ease), color var(--ease);
}
.lang-dropdown a::after { content: none; } 
.lang-dropdown a:hover { background: rgba(79, 209, 197, .12); color: var(--brand); }
.lang-dropdown a.on { color: var(--brand); }
.lang-dropdown a.on::after { content: '✓'; margin-left: auto; font-size: 12px; }
.lang-dropdown[hidden] { display: none; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: none; padding: 10px; border-radius: var(--radius); }
.menu-toggle span { display: block; height: 2px; background: var(--ink); margin: 5px 0; transition: background-color var(--ease); }


.site-footer { background: rgba(9, 17, 26, .82); color: var(--ink-2); padding: 72px 0 0; margin-top: 0; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.25fr; gap: 40px var(--gap); padding-bottom: 56px; }
.footer-logo { width: 170px; margin-bottom: 22px; }
.footer-tagline { font-size: 13px; color: var(--muted); max-width: 280px; }
.footer-col h4 { font-size: 12px; font-weight: 700; letter-spacing: .14em; color: var(--muted); margin-bottom: 18px; text-transform: uppercase; }
.footer-col li { margin-bottom: 4px; }
.footer-col a { display: inline-flex; align-items: center; min-height: 32px; font-size: 13px; color: #dbe4e5; transition: color var(--ease); }
.footer-col a:hover { color: var(--brand); }
.footer-bottom {
  border-top: 1px solid var(--line); padding: 24px 0 28px;
  display: flex; flex-wrap: wrap; gap: 12px 26px; align-items: center;
  font-size: 12px; color: var(--muted);
}
.footer-legal {
  margin-left: auto; display: flex; flex-wrap: wrap; align-items: center;
  justify-content: flex-end; gap: 4px 26px;
}
.footer-bottom a { transition: color var(--ease); }
.footer-bottom a:hover { color: var(--brand); }
.footer-age { flex-basis: 100%; order: -1; color: var(--muted); }


.eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .2em; color: var(--brand); text-transform: uppercase; }
.section-title { font-size: 34px; font-weight: 700; line-height: 1.25; letter-spacing: -.02em; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 36px; }
.section-head .section-title { margin-top: 10px; }
.lead { font-size: 16px; color: var(--ink-2); max-width: 760px; }
.muted { color: var(--muted); }
.rule { border: 0; border-top: 1px solid var(--line); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 26px; border: 1px solid #f4f7f7;
  background: #f4f7f7; color: #0b1620; font-size: 14px; font-weight: 700; letter-spacing: .02em;
  border-radius: var(--radius-pill);
  transition: background-color var(--ease), border-color var(--ease), color var(--ease);
}
.btn:hover { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--surface-2); border-color: var(--brand); color: var(--brand); }
.btn-white { background: #f4f7f7; color: #0b1620; border-color: #f4f7f7; }
.btn-white:hover { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.text-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--brand); font-weight: 700; font-size: 14px; transition: color var(--ease); }
.text-link:hover { color: #8fe8e0; }
.text-link .arrow { font-size: 18px; line-height: 1; }

.status {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700; letter-spacing: .04em; color: var(--ink-2);
}
.status .dot { width: 10px; height: 10px; background: var(--brand); flex: 0 0 10px; }
.status[data-s="dev"] .dot { background: #8b9499; }
.status[data-s="released"] .dot { background: #2f9a72; }
.status[data-s="delisted"] .dot { background: #b9c0c4; }
.status-chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px;
  font-size: 11px; font-weight: 700; letter-spacing: .04em;
  background: var(--brand); color: var(--brand-ink); border-radius: 6px;
}
.status-chip[data-s="dev"] { background: #4a585c; color: #f1f5f5; }
.status-chip[data-s="released"] { background: #2f9a72; color: #04170f; }
.status-chip .sq { width: 8px; height: 8px; background: rgba(6, 32, 31, .75); }
.status-chip[data-s="dev"] .sq { background: rgba(255, 255, 255, .8); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag-pill {
  display: inline-flex; align-items: center; min-height: 26px; padding: 2px 10px;
  background: rgba(255, 255, 255, .045); border: 1px solid var(--line); border-radius: var(--radius-pill); color: var(--ink-2);
  font-size: 11px; letter-spacing: .01em; white-space: nowrap;
}


.page { opacity: 1; transition: opacity 200ms ease; }
.page.is-leaving { opacity: 0; }
.home-section { padding: 88px 0; }
.home-section + .home-section { border-top: 1px solid var(--line); }


.hero { position: relative; height: 600px; background: var(--deep); overflow: hidden; }
.hero img.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; filter: var(--hero-lift); }
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(7, 16, 25, .92) 0%, rgba(7, 16, 25, .72) 30%, rgba(7, 16, 25, .18) 58%, rgba(7, 16, 25, 0) 80%);
}
.hero::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 320px; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(15, 25, 35, 0) 0%, rgba(15, 25, 35, .18) 30%, rgba(15, 25, 35, .48) 55%, rgba(15, 25, 35, .82) 78%, var(--bg) 100%);
}
.hero-inner { position: relative; z-index: 2; height: 100%; display: flex; align-items: center; }
.hero-copy { width: min(100%, 560px); color: #fff; }
.hero-copy .status-chip { margin-bottom: 22px; }
.hero-title { font-size: clamp(42px, 5vw, 66px); font-weight: 600; line-height: 1.08; letter-spacing: -.03em; }
.hero-en { font-size: 12px; font-weight: 700; letter-spacing: .3em; color: var(--brand); margin-top: 12px; }
.hero-lead { font-size: 17px; line-height: 1.8; color: #c9d5d6; margin-top: 22px; max-width: 500px; }
.hero-cta { margin-top: 34px; }
.hero-meta { position: absolute; right: var(--pad); bottom: 28px; z-index: 2; font-size: 11px; letter-spacing: .14em; color: rgba(255,255,255,.5); }


.positioning { font-size: 15px; color: var(--ink-2); max-width: 560px; text-align: right; line-height: 1.7; }
.game-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 44px var(--gap); }


.game-grid--masonry { display: block; columns: 3; column-gap: var(--gap); }
.game-grid--masonry > * {
  break-inside: avoid; -webkit-column-break-inside: avoid; page-break-inside: avoid;
  width: 100%; margin: 0 0 var(--gap);
}
.game-grid--masonry .game-card:nth-child(1) .cover { aspect-ratio: 4 / 3; }
.game-grid--masonry .game-card:nth-child(2) .cover { aspect-ratio: 16 / 9; }
.game-grid--masonry .game-card:nth-child(3) .cover { aspect-ratio: 3 / 2; }
.game-grid--masonry .game-card:nth-child(4) .cover { aspect-ratio: 5 / 4; }
.game-grid--masonry .game-card:nth-child(5) .cover { aspect-ratio: 2 / 1; }


.game-card {
  display: flex; flex-direction: column; min-width: 0;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-card); overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .20);
  transition: border-color var(--ease), background-color var(--ease), box-shadow var(--ease);
}
.game-card:hover {
  border-color: rgba(79, 209, 197, .55); background: var(--surface-2);
  box-shadow: 0 22px 48px rgba(0, 0, 0, .42);
}
.game-card .cover {
  position: relative; display: block; aspect-ratio: 450 / 284; overflow: hidden;
  background: var(--deep);
  


  border-radius: var(--radius-card) var(--radius-card) 0 0;
  -webkit-mask-image: -webkit-radial-gradient(white, black);
  mask-image: radial-gradient(white, black);
}
.game-card .cover img {
  width: 100%; height: 100%; object-fit: cover; filter: var(--img-lift);
  transition: transform var(--ease-img), filter var(--ease);
}
.game-card .cover::before {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(0deg, rgba(6, 15, 24, .78) 0%, rgba(6, 15, 24, .12) 44%, transparent 72%);
  opacity: 0; transition: opacity var(--ease);
}
.game-card .cover .status-chip { position: absolute; left: 12px; top: 12px; z-index: 3; }
.game-card .gc-cta {
  position: absolute; left: 18px; bottom: 16px; z-index: 2; pointer-events: none;
  display: inline-flex; align-items: center; gap: 10px;
  color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .06em;
  opacity: 0; transform: translateY(12px); transition: opacity var(--ease), transform var(--ease);
}
.game-card .gc-cta i {
  width: 28px; height: 28px; border: 1px solid rgba(255,255,255,.65); border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-style: normal; font-size: 14px;
  transition: background-color var(--ease), color var(--ease), border-color var(--ease);
}
.game-card:hover .cover img { transform: scale(1.075); filter: brightness(.9) saturate(1.12); }
.game-card:hover .cover::before { opacity: 1; }
.game-card:hover .gc-cta { opacity: 1; transform: translateY(0); }
.game-card:hover .gc-cta i { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.game-card .gc-body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.game-card .gc-status { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.game-card .gc-date { font-size: 11px; color: var(--muted); }
.game-card h3 { font-size: 19px; font-weight: 700; line-height: 1.35; }
.game-card .gc-en { font-size: 11px; letter-spacing: .08em; color: var(--muted); text-transform: uppercase; margin-top: -6px; }
.game-card .gc-desc { font-size: 12.5px; line-height: 1.65; color: var(--ink-2); }
.game-card .tags { margin-top: auto; padding-top: 4px; }
.game-card:hover h3 { color: var(--brand); }
.game-card h3, .game-card .gc-en { transition: color var(--ease); }


.game-card.dev .cover {
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 22px 22px 58px; background: var(--deep-2); color: #fff;
}
.game-card.dev .cover::after {
  content: ''; position: absolute; right: -40px; bottom: -70px; width: 220px; height: 220px;
  border: 1px solid rgba(79, 209, 197, .35); transform: rotate(45deg);
  transition: transform var(--ease-img), border-color var(--ease);
}
.game-card.dev:hover .cover::after { transform: rotate(58deg) scale(1.08); border-color: rgba(79, 209, 197, .8); }
.game-card.dev .dev-mark { font-size: 10px; letter-spacing: .2em; color: #8fb4b8; position: relative; z-index: 2; }
.game-card.dev .dev-title { font-size: 30px; font-weight: 700; letter-spacing: .06em; position: relative; z-index: 2; }
.game-card.dev .dev-note { font-size: 11px; color: #9fb2b8; position: relative; z-index: 2; }
.games-more {
  margin-top: 56px;
  display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center;
}
.games-more .btn { min-width: 248px; }
.games-more-note { font-size: 12.5px; color: var(--muted); }


.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.news-card { display: flex; flex-direction: column; min-width: 0; background: var(--surface); border: 1px solid var(--line); transition: border-color var(--ease); }
.news-card:hover { border-color: rgba(79, 209, 197, .55); }
.news-card .news-img { aspect-ratio: 550 / 309; overflow: hidden; background: var(--deep); }
.news-card .news-img img { width: 100%; height: 100%; object-fit: cover; filter: var(--img-lift); transition: transform var(--ease-img), filter var(--ease); }
.news-card:hover .news-img img { transform: scale(1.06); filter: brightness(.92); }
.news-card .news-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.news-card .news-meta { display: flex; align-items: center; gap: 12px; font-size: 11px; color: var(--muted); }
.news-card .news-cat { color: var(--brand); font-weight: 700; }
.news-card h3 { font-size: 17px; font-weight: 700; line-height: 1.5; transition: color var(--ease); }
.news-card:hover h3 { color: var(--brand); }
.news-card p { font-size: 12.5px; color: var(--ink-2); line-height: 1.7; }
.news-more { margin-top: 40px; display: flex; justify-content: flex-end; }


.page-head { padding: 72px 0 40px; border-bottom: 1px solid var(--line); background-size: cover; background-position: center; }
.page-head[style] { color: #fff; }
.page-head[style] .eyebrow, .page-head[style] .lead { color: rgba(255,255,255,.82); }
.page-head h1 { font-size: clamp(34px, 4.4vw, 52px); font-weight: 700; line-height: 1.15; letter-spacing: -.03em; margin: 12px 0 18px; }
.page-section { padding: 64px 0; }
.page-section + .page-section { border-top: 1px solid var(--line); }
.page-end { height: 88px; }
.page-section h2 { font-size: 26px; font-weight: 700; margin-bottom: 12px; letter-spacing: -.01em; }
.page-section .sub { font-size: 13px; color: var(--muted); margin-bottom: 28px; max-width: 820px; }
.crumb { display: flex; gap: 10px; align-items: center; font-size: 12px; color: var(--muted); margin-bottom: 26px; }
.crumb a { color: var(--brand); }
.crumb a:hover { text-decoration: underline; }


.filters { display: flex; flex-direction: column; gap: 14px; margin: 36px 0 38px; }
.filter-row { display: flex; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.filter-row > .flabel { min-width: 52px; padding-top: 9px; font-size: 12px; font-weight: 700; color: var(--muted); }
.filter-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.fpill {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 36px; padding: 4px 16px; border: 1px solid var(--line);
  border-radius: 999px; background: var(--surface); color: var(--ink-2); font-size: 12.5px;
  transition: background-color var(--ease), color var(--ease), border-color var(--ease);
}
.fpill:hover { border-color: var(--brand); color: var(--brand); }
.fpill.on { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.result-note { font-size: 12px; color: var(--muted); margin-bottom: 26px; }
.empty-state { padding: 48px 0; color: var(--muted); font-size: 14px; }


.detail-hero { position: relative; height: 560px; background: var(--deep); overflow: hidden; }
.detail-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: var(--img-lift); }
.detail-hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(7,16,25,.88) 0%, rgba(7,16,25,.48) 40%, rgba(7,16,25,0) 78%), linear-gradient(0deg, rgba(7,16,25,.5), transparent 55%);
}
.detail-hero .wrap { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: 56px; color: #fff; }
.detail-hero h1 { font-size: clamp(38px, 5vw, 62px); font-weight: 700; letter-spacing: -.03em; line-height: 1.1; }
.detail-hero .dh-en { font-size: 12px; letter-spacing: .28em; color: #a9c8cb; margin-top: 10px; }
.detail-hero .dh-tagline { font-size: 16px; color: #dbe3e5; max-width: 620px; margin-top: 20px; line-height: 1.8; }
.detail-hero .dh-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px; margin-top: 30px; }
.detail-hero .status-chip { margin-bottom: 20px; align-self: flex-start; }
.dh-text-link { display: inline-flex; align-items: center; min-height: 44px; padding: 0; border: 0; background: none; color: #fff; font-size: 13px; font-weight: 700; text-decoration: underline; text-underline-offset: 5px; transition: color var(--ease); }
.dh-text-link:hover { color: #8fe0e5; }

.fact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.fact { background: var(--surface); padding: 22px 24px; min-width: 0; }
.fact dt { font-size: 11px; letter-spacing: .1em; color: var(--muted); font-weight: 700; margin-bottom: 8px; }
.fact dd { margin: 0; font-size: 14px; font-weight: 700; line-height: 1.6; word-break: break-word; }
.fact .tags { margin-top: 2px; }

.split { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 64px; }
.split h2 { margin-bottom: 14px; }
.split .side-note { font-size: 12.5px; color: var(--muted); line-height: 1.75; }
.split .side-note.branch-intro { display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; word-break: break-word; cursor: help; }
.mech-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.mech-list li { display: flex; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 14px; line-height: 1.7; }
.mech-list .num { color: var(--brand); font-weight: 700; font-size: 12px; min-width: 22px; padding-top: 2px; }
.char-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.char-card {
  border: 1px solid var(--line); padding: 22px; min-width: 0; background: var(--surface);
  border-radius: 0;
  transition: background-color var(--ease), border-color var(--ease), box-shadow var(--ease), transform var(--ease);
}
.char-card .cc-name { font-size: 19px; font-weight: 700; transition: color var(--ease); }
.char-card .cc-en { font-size: 11px; letter-spacing: .1em; color: var(--muted); text-transform: uppercase; transition: color var(--ease); }
.char-card .cc-role { font-size: 12.5px; color: var(--ink-2); margin-top: 14px; }
.char-card:hover {
  background: var(--surface-2); border-color: rgba(79, 209, 197, .6);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .38); transform: translateY(-3px);
}
.char-card:hover .cc-name { color: var(--brand); }
.char-card:hover .cc-en { color: #8fe8e0; }

.trailer-row { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 40px; align-items: center; }
.trailer-frame { position: relative; aspect-ratio: 600 / 337; background: var(--deep); overflow: hidden; display: block; width: 100%; padding: 0; border: 0; text-align: left; cursor: pointer; font: inherit; }
.trailer-frame img { width: 100%; height: 100%; object-fit: cover; filter: var(--img-lift); transition: filter var(--ease); }
.trailer-frame:hover img { filter: brightness(.9) saturate(1.1); }
.play-badge {
  position: absolute; left: 50%; top: 50%; margin: -32px 0 0 -32px;
  width: 64px; height: 64px; border: 2px solid #fff; border-radius: 50%;
  background: rgba(10, 20, 26, .55);
  display: flex; align-items: center; justify-content: center; color: #fff; font-size: 20px;
  transition: background-color var(--ease);
}
.trailer-frame:hover .play-badge { background: var(--brand); border-color: var(--brand); }
.trailer-frame .tf-name { position: absolute; left: 16px; bottom: 14px; color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .1em; }

.shot-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.shot-grid a {
  position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden;
  background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius-card);
  transition: border-color var(--ease), box-shadow var(--ease);
}
.shot-grid a::after {
  content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(0deg, rgba(79, 209, 197, .32), rgba(79, 209, 197, .07) 55%, transparent 85%);
  opacity: 0; transition: opacity var(--ease);
}
.shot-grid img {
  width: 100%; height: 100%; object-fit: cover; filter: var(--img-lift);
  transition: transform var(--ease-img), filter var(--ease);
}
.shot-grid a:hover { border-color: rgba(79, 209, 197, .7); box-shadow: 0 18px 40px rgba(0, 0, 0, .4); }
.shot-grid a:hover img { transform: scale(1.06); filter: brightness(1.05) saturate(1.18); }
.shot-grid a:hover::after { opacity: 1; }

.spec-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.spec-table th, .spec-table td { text-align: left; padding: 16px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table th { width: 170px; font-weight: 700; color: var(--muted); background: var(--soft); }
.long-text { font-size: 14px; line-height: 1.9; color: var(--ink-2); max-width: 900px; }
.news-article { margin: 16px 0 26px; font-size: 14px; line-height: 1.95; color: var(--ink-2); }
.news-article p { margin: 0 0 16px; }
.news-article h2, .news-article h3 { color: var(--ink); margin: 24px 0 10px; line-height: 1.4; }
.news-article ul, .news-article ol { margin: 0 0 16px; padding-left: 22px; }
.news-article li { margin: 6px 0; }
.news-article blockquote { margin: 0 0 16px; padding: 10px 16px; border-left: 2px solid var(--brand); background: rgba(255,255,255,.03); }
.news-article a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }

.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(6, 14, 22, .94); display: flex; align-items: center; justify-content: center; padding: 5vw; }
.lightbox img { max-width: 100%; max-height: 88vh; object-fit: contain; }
.lightbox .lb-close { position: absolute; top: 24px; right: 28px; min-width: 44px; min-height: 44px; border: 1px solid rgba(255,255,255,.3); border-radius: var(--radius); background: transparent; color: #fff; font-size: 20px; }


.jd-modal { position: fixed; inset: 0; z-index: 110; display: flex; align-items: center; justify-content: center; padding: 5vw; background: rgba(6, 14, 22, .78); backdrop-filter: blur(4px); }
.jd-card { position: relative; width: min(680px, 100%); max-height: 86vh; overflow: auto; padding: 36px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.jd-close { position: absolute; top: 14px; right: 16px; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: var(--radius-pill); background: transparent; color: var(--ink); font-size: 22px; cursor: pointer; }
.jd-close:hover { border-color: var(--brand); color: var(--brand); }
.jd-eyebrow { font-size: 11px; letter-spacing: .2em; font-weight: 700; color: var(--brand); }
.jd-card h3 { margin: 12px 0 6px; font-size: 24px; }
.jd-sub { margin: 0 0 20px; color: var(--ink-2); font-size: 13.5px; }
.jd-text { margin: 0; padding-top: 18px; border-top: 1px solid var(--line); white-space: pre-wrap; word-break: break-word; font-family: inherit; font-size: 13.5px; line-height: 1.9; color: var(--ink-2); }

.trailer-card { position: relative; width: min(1080px, 100%); background: #050a0e; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 30px 90px rgba(0, 0, 0, .65); overflow: hidden; }
.trailer-player { display: block; width: 100%; max-height: 82vh; background: #000; }
.trailer-modal .jd-close { z-index: 2; background: rgba(6, 14, 22, .75); color: #fff; border-color: rgba(255, 255, 255, .35); }
.trailer-actions { display: flex; gap: 12px; flex-wrap: wrap; }


.month-group + .month-group { margin-top: 56px; }
.month-heading { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.month-heading h2 { font-size: 20px; font-weight: 700; }
.month-heading::after { content: ''; flex: 1; height: 1px; background: var(--line); }


.about-block { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; padding: 64px 0; }
.about-block + .about-block { border-top: 1px solid var(--line); }
.about-block.flip .about-fig { order: 2; }
.about-block .ab-eyebrow { font-size: 12px; letter-spacing: .2em; color: var(--brand); font-weight: 700; text-transform: uppercase; }
.about-block h2 { font-size: 30px; font-weight: 700; line-height: 1.35; margin: 16px 0 20px; }
.about-block p { font-size: 15px; line-height: 1.95; color: var(--ink-2); }
.about-fig { margin: 0; }
.about-fig img { width: 100%; height: auto; filter: var(--img-lift); }
.about-fig figcaption { font-size: 11px; color: var(--muted); margin-top: 10px; }
.company-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); padding: 48px 0 8px; border-top: 1px solid var(--line); }
.company-facts dt { font-size: 11px; letter-spacing: .1em; color: var(--muted); font-weight: 700; margin-bottom: 8px; }
.company-facts dd { margin: 0; font-size: 13.5px; line-height: 1.7; }


.card-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.info-card { border: 1px solid var(--line); padding: 28px; min-width: 0; background: var(--surface); }
.info-card .ic-num { font-size: 11px; letter-spacing: .18em; color: var(--brand); font-weight: 700; }
.info-card h3 { font-size: 17px; font-weight: 700; margin: 12px 0 10px; }
.info-card p { font-size: 13px; color: var(--ink-2); line-height: 1.8; }


.job-cols .info-card {
  border-radius: 0;
  transition: background-color var(--ease), border-color var(--ease), box-shadow var(--ease), transform var(--ease);
}
.job-cols .info-card .ic-num, .job-cols .info-card h3 { transition: color var(--ease); }
.job-cols .info-card:hover {
  background: var(--surface-2); border-color: rgba(79, 209, 197, .6);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .38); transform: translateY(-3px);
}
.job-cols .info-card:hover h3 { color: var(--brand); }
.job-cols .info-card:hover .ic-num { color: #8fe8e0; }
.job-card { cursor: pointer; outline: none; }
.job-card:focus-visible { border-color: var(--brand); box-shadow: 0 0 0 2px rgba(79, 209, 197, .35); }
.job-more { display: inline-block; margin-top: 14px; font-size: 12px; font-weight: 700; color: var(--brand); }


.biz-cols .info-card {
  border-radius: 0;
  transition: background-color var(--ease), border-color var(--ease), box-shadow var(--ease), transform var(--ease);
}
.biz-cols .info-card .ic-num, .biz-cols .info-card h3 { transition: color var(--ease); }
.biz-cols .info-card:hover {
  background: var(--surface-2); border-color: rgba(79, 209, 197, .6);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .38); transform: translateY(-3px);
}
.biz-cols .info-card:hover h3 { color: var(--brand); }
.biz-cols .info-card:hover .ic-num { color: #8fe8e0; }


.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 780px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 12px; font-weight: 700; color: var(--ink-2); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--line);
  background: var(--surface); color: var(--ink); border-radius: var(--radius); transition: border-color var(--ease);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand); outline: none; }
.form-note { font-size: 12px; color: var(--muted); margin-top: 20px; max-width: 760px; }
.form-ok { margin-top: 18px; padding: 14px 18px; background: rgba(79, 209, 197, .1); border-left: 3px solid var(--brand); font-size: 13px; color: var(--brand); }


.kit-hero { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center; padding: 48px; background: var(--deep); color: #fff; }
.kit-hero h2 { font-size: 28px; font-weight: 700; margin-bottom: 12px; }
.kit-hero p { font-size: 13px; color: #a9bcc3; line-height: 1.8; }
.kit-hero .kit-btn { margin-top: 26px; }
.file-tree { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12.5px; color: var(--ink-2); background: var(--soft); border: 1px solid var(--line); padding: 24px 28px; line-height: 2; overflow-x: auto; }


.tabs { display: flex; flex-wrap: wrap; gap: 4px; border-bottom: 1px solid var(--line); margin: 36px 0 34px; }
.tab { min-height: 48px; padding: 0 20px; border: 0; border-radius: var(--radius) var(--radius) 0 0; background: transparent; color: var(--muted); font-size: 14px; font-weight: 700; border-bottom: 2px solid transparent; transition: color var(--ease), border-color var(--ease); }
.tab:hover { color: var(--brand); }
.tab.on { color: var(--brand); border-bottom-color: var(--brand); }
.legal-doc { max-width: 860px; }
.legal-doc h2 { font-size: 21px; margin: 34px 0 12px; }
.legal-doc h3 { font-size: 15px; margin: 22px 0 8px; }
.legal-doc p { font-size: 13.5px; line-height: 1.9; color: var(--ink-2); margin-bottom: 12px; }
.legal-doc li { font-size: 13.5px; line-height: 1.85; color: var(--ink-2); padding-left: 16px; position: relative; margin-bottom: 4px; }
.legal-doc li::before { content: ''; position: absolute; left: 0; top: 11px; width: 5px; height: 5px; background: var(--brand); }
.legal-doc a { color: var(--brand); text-decoration: underline; }
.legal-badge { display: inline-flex; padding: 6px 12px; border-radius: var(--radius-pill); background: rgba(79, 209, 197, .12); color: var(--brand); font-size: 12px; font-weight: 700; }


.model-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.model-table th { text-align: left; background: var(--soft); font-weight: 700; color: var(--muted); }
.model-table th, .model-table td { padding: 13px 16px; border: 1px solid var(--line); vertical-align: top; }
.model-table td:first-child { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: var(--brand-dark); }
.table-scroll { overflow-x: auto; }


.log-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.log-table th, .log-table td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.log-table th { color: var(--muted); font-size: 11px; letter-spacing: .08em; }
.log-table td:nth-child(2), .log-table td:nth-child(3) { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12px; }


@media (max-width: 1023px) {
  .header-inner { height: 72px; }
  .nav { gap: 22px; }
  .hero { height: 480px; }
  .hero-copy { width: min(100%, 500px); }
  .game-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px var(--gap); }
  .game-grid--masonry { columns: 2; }
  .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .news-grid .news-card:nth-child(3) { display: block; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: 1 / -1; }
  .split { grid-template-columns: 1fr; gap: 28px; }
  .fact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .char-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .company-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trailer-row, .kit-hero { grid-template-columns: 1fr; }
  .card-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-block { gap: 36px; }
  .detail-hero { height: 460px; }
}

@media (max-width: 720px) {
  .header-inner { height: 64px; }
  .brand-logo { width: 118px; }
  .menu-toggle { display: block; border: 1px solid var(--line); }
  .hero-lead { padding-right: 10px; }
  .tag-pill { white-space: normal; }
  .nav {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--surface); border-bottom: 1px solid var(--line); padding: 8px var(--pad) 18px;
  }
  .nav.open { display: flex; }
  .nav a { min-height: 48px; border-bottom: 1px solid var(--line); }
  .lang-dropdown a { border-bottom: 0; min-height: 40px; }
  .nav a::after { display: none; }
  .lang-menu { align-self: flex-start; margin-top: 12px; }
  .hero { height: 440px; }
  .hero::before { background: linear-gradient(90deg, rgba(7,16,25,.84) 0%, rgba(7,16,25,.56) 55%, rgba(7,16,25,.10) 100%); }
  .hero img.hero-bg { object-position: 68% center; }
  .hero-title { font-size: 38px; }
  .hero-lead { font-size: 14px; }
  .hero-meta { display: none; }
  .home-section { padding: 56px 0; }
  body { background-attachment: scroll, scroll, scroll, scroll, scroll; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .positioning { text-align: left; font-size: 13.5px; }
  .section-title { font-size: 27px; }
  .game-grid { gap: 32px 14px; }
  .game-grid--masonry { columns: 2; column-gap: 14px; }
  .game-grid--masonry > * { margin-bottom: 14px; }
  .game-card h3 { font-size: 15px; }
  .game-card .gc-body { padding: 14px 13px 16px; }
  .game-card .gc-desc { font-size: 11.5px; }
  .game-card .gc-en { font-size: 10px; }
  .game-card .cover .status-chip { left: 8px; top: 8px; padding: 4px 8px; font-size: 10px; }
  .game-card.dev .cover { padding: 14px 14px 52px; }
  .game-card.dev .dev-title { font-size: 21px; }
  .games-more { margin-top: 40px; }
  .footer-legal { gap: 4px 14px; }
  .games-more .btn { min-width: 0; }
  .tag-pill { font-size: 10px; padding: 2px 7px; }
  .news-grid { grid-template-columns: 1fr; gap: 36px; }
  .page-head { padding: 48px 0 28px; }
  .page-section { padding: 44px 0; }
  .mech-list, .form-grid, .shot-grid, .card-cols, .fact-grid, .char-list, .company-facts, .about-block { grid-template-columns: 1fr; }
  .about-block.flip .about-fig { order: 0; }
  .fact-grid, .char-list, .company-facts { gap: 0; }
  .detail-hero { height: 430px; }
  .detail-hero .wrap { padding-bottom: 34px; }
  .detail-hero .dh-tagline { font-size: 14px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; padding-bottom: 36px; }
  .footer-grid > div:first-child, .footer-grid > div:last-child { grid-column: 1 / -1; }
  .kit-hero { padding: 28px; }
  .split { gap: 20px; }
  .brand-link { min-height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
  .game-card:hover .cover img, .news-card:hover .news-img img, .shot-grid a:hover img { transform: none !important; }
  .char-card:hover, .job-cols .info-card:hover, .biz-cols .info-card:hover { transform: none !important; }
  
  .game-card .cover img, .news-card .news-img img, .shot-grid a img,
  .detail-hero > img, .trailer-frame img, .about-fig img { filter: none !important; }
}

.about-custom { max-width: 860px; margin: 0 auto 56px; }
.prose h2, .prose h3 { margin: 28px 0 12px; line-height: 1.3; }
.prose h2 { font-size: 26px; }
.prose h3 { font-size: 20px; }
.prose p, .prose li { line-height: 1.9; color: var(--ink-2); }
.prose p { margin: 12px 0; }
.prose ul, .prose ol { margin: 12px 0 12px 22px; }
.prose a { color: var(--brand); text-decoration: underline; }
.prose strong { color: var(--ink); }
