:root {
  /* Same 1920 × 1080 proportional stage as the reference. */
  --unit: min(3.125vw, 5.555556svh);
  --stage-width: calc(var(--unit) * 32);
  --stage-height: calc(var(--unit) * 18);
  --header-height: calc(var(--unit) * 1.6667);
  --section-top-spacing: calc(var(--header-height) + var(--unit) * .5);
  --heading-content-gap: calc(var(--unit) * 1.3);
  --blue: #1177fe;
  --text: #27282d;
  --grid-size: clamp(12px, 1vw, 20px);
  color: var(--text);
  background: #fff;
  font-family: MiSans, "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-width: none; scroll-snap-type: y mandatory; }
html::-webkit-scrollbar { display: none; }
body { margin: 0; -webkit-font-smoothing: antialiased; }
body.menu-open, body.film-open { overflow: hidden; }
button, input, select, textarea { font: inherit; }
button, select { cursor: pointer; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
a, button, input, select, textarea { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 5px; }
.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; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 300; padding: 12px 20px; background: #fff; color: var(--blue); transform: translateY(-160%); }
.skip-link:focus { transform: none; }

.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--header-height); min-height: 62px;
  display: flex; align-items: center; justify-content: space-between;
  gap: calc(var(--unit) * .75); padding: 0 calc(var(--unit) * 1.5);
  color: #fff; background: #00000080;
  transition: background .4s, color .4s;
}
.site-header.light-theme { background: #fff; color: #27282d; }
.brand { display: flex; align-items: center; gap: calc(var(--unit) * .16); flex-shrink: 0; }
.brand-mark { width: calc(var(--unit) * .96); height: calc(var(--unit) * .96); min-width: 32px; min-height: 32px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.brand-mark circle { fill: currentColor; stroke: none; }
.brand-copy { display: flex; flex-direction: column; gap: 3px; }
.brand-copy strong { font-size: clamp(19px, calc(var(--unit) * .45), 28px); font-weight: 600; letter-spacing: .04em; }
.brand-copy small { font-size: clamp(7px, calc(var(--unit) * .13), 9px); letter-spacing: .09em; }
.main-nav { margin-left: auto; display: flex; align-items: center; gap: calc(var(--unit) * 1); }
.main-nav a { position: relative; flex-shrink: 0; color: #a6a6a6; font-size: clamp(14px, calc(var(--unit) * .3565), 22px); font-weight: 500; letter-spacing: .14em; transition: color .3s; }
.main-nav a:hover, .main-nav a.active { color: #fff; }
.main-nav a::after { content: ""; position: absolute; bottom: calc(var(--unit) * -.3333); left: -.1em; right: .04em; height: max(2px, calc(var(--unit) * .05)); border-radius: 2px; background: currentColor; opacity: 0; transition: opacity .3s; }
.main-nav a.active::after { opacity: 1; }
.light-theme .main-nav a { color: #666; }
.light-theme .main-nav a:hover { color: #333; }
.light-theme .main-nav a.active { color: var(--blue); }
.header-actions { display: flex; align-items: center; gap: 18px; }
.social-icon { display: block; width: 28px; height: 28px; flex-shrink: 0; object-fit: contain; }
.header-social { display: flex; align-items: center; gap: 8px; padding-left: 16px; border-left: 1px solid #ffffff38; }
.header-social-link { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 6px; color: #fff; transition: color .2s, background .2s; }
.header-social-link:hover { background: #ffffff24; }
.light-theme .header-social, .menu-active .header-social { border-color: #dfe3e9; }
.light-theme .header-social-link, .menu-active .header-social-link { color: var(--blue); }
.light-theme .header-social-link .social-icon, .menu-active .header-social-link .social-icon { filter: brightness(.18); }
.light-theme .header-social-link:hover, .menu-active .header-social-link:hover { background: #eaf3ff; }
.language-picker { position: relative; color: #e3e3e3; }
.language-trigger { display: flex; align-items: center; justify-content: space-between; gap: 9px; min-width: 116px; height: 38px; padding: 0 12px; border: 1px solid #ffffff38; border-radius: 2px; background: #ffffff0d; color: inherit; font-size: 12px; letter-spacing: .04em; transition: border-color .2s, background .2s, color .2s; }
.language-trigger:hover, .language-picker.is-open .language-trigger { border-color: #ffffff80; background: #ffffff17; color: #fff; }
.language-globe { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.language-current { margin-right: auto; white-space: nowrap; }
.language-chevron { width: 10px; height: 7px; fill: none; stroke: currentColor; stroke-width: 1.4; transition: transform .2s; }
.language-picker.is-open .language-chevron { transform: rotate(180deg); }
.language-menu { position: absolute; z-index: 20; top: calc(100% + 10px); right: 0; width: 184px; padding: 7px; border: 1px solid #e7e9ed; background: #fff; color: #363a43; box-shadow: 0 16px 45px #121a2a26; opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(-7px); transition: opacity .18s, visibility .18s, transform .18s; }
.language-menu::before { content: ""; position: absolute; top: -5px; right: 18px; width: 9px; height: 9px; border-top: 1px solid #e7e9ed; border-left: 1px solid #e7e9ed; background: #fff; transform: rotate(45deg); }
.language-picker.is-open .language-menu { opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
.language-option { position: relative; display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 38px; padding: 0 12px 0 28px; border: 0; background: transparent; color: inherit; text-align: left; font-size: 13px; transition: color .15s, background .15s; }
.language-option small { color: #a5a9b1; font-size: 9px; letter-spacing: .14em; }
.language-option:hover, .language-option:focus-visible { outline: 0; background: #f2f7ff; color: var(--blue); }
.language-option[aria-selected="true"] { color: var(--blue); background: #f5f9ff; }
.language-option[aria-selected="true"]::before { content: ""; position: absolute; left: 12px; width: 5px; height: 5px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px #1177fe14; }
.light-theme .language-picker { color: #5e626a; }
.light-theme .language-trigger { border-color: #dfe3e9; background: #f8f9fb; }
.light-theme .language-trigger:hover, .light-theme .language-picker.is-open .language-trigger { border-color: #b9c9df; background: #f2f7ff; color: var(--blue); }
.subject-picker { position: relative; }
.subject-trigger { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; height: 44px; padding: 0 13px; border: 1px solid #e2e5e9; background: #fff; color: #3c424e; text-align: left; font-size: 14px; transition: border-color .2s, background .2s, color .2s; }
.subject-trigger:hover, .subject-picker.is-open .subject-trigger { border-color: #b9c9df; background: #f7faff; color: var(--blue); }
.subject-chevron { width: 10px; height: 7px; fill: none; stroke: currentColor; stroke-width: 1.4; transition: transform .2s; }
.subject-picker.is-open .subject-chevron { transform: rotate(180deg); }
.subject-menu { position: absolute; z-index: 20; top: calc(100% + 8px); left: 0; right: 0; padding: 7px; border: 1px solid #e7e9ed; background: #fff; color: #363a43; box-shadow: 0 16px 45px #121a2a26; opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(-7px); transition: opacity .18s, visibility .18s, transform .18s; }
.subject-menu::before { content: ""; position: absolute; top: -5px; right: 18px; width: 9px; height: 9px; border-top: 1px solid #e7e9ed; border-left: 1px solid #e7e9ed; background: #fff; transform: rotate(45deg); }
.subject-picker.is-open .subject-menu { opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
.subject-option { position: relative; display: flex; align-items: center; width: 100%; min-height: 38px; padding: 0 12px 0 28px; border: 0; background: transparent; color: inherit; text-align: left; font-size: 13px; transition: color .15s, background .15s; }
.subject-option:hover, .subject-option:focus-visible { outline: 0; background: #f2f7ff; color: var(--blue); }
.subject-option[aria-selected="true"] { color: var(--blue); background: #f5f9ff; }
.subject-option[aria-selected="true"]::before { content: ""; position: absolute; left: 12px; width: 5px; height: 5px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px #1177fe14; }
.subject-native-select { display: none !important; }
.menu-toggle { display: none; border: 0; background: transparent; width: 40px; height: 40px; }
.menu-toggle span { display: block; width: 23px; height: 2px; margin: 5px auto; background: currentColor; transition: transform .2s; }

.panel { position: relative; min-height: 100svh; scroll-snap-align: start; scroll-snap-stop: always; overflow: clip; }
.panel-content { position: relative; z-index: 2; margin-inline: auto; }
.hero { height: 100svh; color: #fff; background: #1a1a2e; }
.hero-media, .hero-media video, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media { background: #1a1a2e url("assets/images/hero-poster.webp") center / cover no-repeat; }
.hero-media video { object-fit: cover; object-position: center; }
.hero-shade { background: linear-gradient(270deg, transparent, #000); pointer-events: none; }
.hero-content { position: absolute; left: calc((100% - var(--stage-width)) / 2 + var(--unit) * 2.307); top: calc((100% - var(--stage-height)) / 2 + var(--unit) * 4.615); max-width: calc(var(--stage-width) - var(--unit) * 4.614); }
.hero-title { margin: 0; font-size: calc(var(--unit) * 1.615); font-weight: 700; line-height: 1.4; letter-spacing: .01em; }
.hero-title .line { display: block; }
.hero-film-button { display: block; width: 115px; height: 63px; margin-top: calc(var(--unit) * .7); padding: 0; border: 0; background: transparent; color: #fff; }
.hero-film-button svg { width: 100%; height: 100%; }
.hero-film-outline { fill: #05070b4d; stroke: currentColor; stroke-width: 1; vector-effect: non-scaling-stroke; transition: fill .2s, stroke .2s; }
.hero-film-play { fill: currentColor; transition: transform .2s; transform-origin: center; }
.hero-film-button:hover .hero-film-outline { fill: #1177fee6; stroke: #fff; }
.hero-film-button:hover .hero-film-play { transform: scale(1.12); }
.video-toggle { position: absolute; z-index: 3; right: calc(var(--unit) * 1.5); bottom: 26px; display: flex; align-items: center; gap: 9px; padding: 8px 0; border: 0; background: transparent; color: #ffffffa6; font-size: 11px; }
.video-toggle-icon { position: relative; width: 20px; height: 20px; border: 1px solid #ffffff70; border-radius: 50%; }
.video-toggle-icon::before, .video-toggle-icon::after { content: ""; position: absolute; top: 5px; width: 1px; height: 8px; background: currentColor; }
.video-toggle-icon::before { left: 6px; }
.video-toggle-icon::after { left: 10px; }
.video-toggle.paused .video-toggle-icon::before { top: 5px; left: 7px; width: 0; height: 0; background: transparent; border-top: 4px solid transparent; border-bottom: 4px solid transparent; border-left: 6px solid currentColor; }
.video-toggle.paused .video-toggle-icon::after { display: none; }
.scroll-cue { position: absolute; z-index: 3; left: 50%; bottom: calc(var(--unit) * 1.1); display: flex; align-items: center; flex-direction: column; gap: 10px; padding: 12px; transform: translateX(-50%); }
.mouse-icon { position: relative; display: block; width: 16px; height: 25px; border: 1px solid #ffffffb3; border-radius: 9px; }
.mouse-icon::after { content: ""; position: absolute; width: 2px; height: 6px; top: 5px; left: 6px; background: #fff; }
.scroll-cue i { width: 7px; height: 7px; border-bottom: 1px solid #fff; border-right: 1px solid #fff; transform: rotate(45deg); animation: scroll-hint 1.5s infinite; }
@keyframes scroll-hint { 0%, 100% { opacity: .15; translate: 0 -2px; } 60% { opacity: 1; translate: 0 4px; } }
.section-heading { position: relative; text-align: center; height: calc(var(--unit) * 1.65); min-height: 75px; }
.heading-watermark { margin: 0; white-space: nowrap; font-size: calc(var(--unit) * 1.154); line-height: 1.2; font-weight: 700; background: linear-gradient(#e3e3e3, #f9f9fc00 85%); color: transparent; background-clip: text; -webkit-background-clip: text; }
.section-heading h2 { position: absolute; top: calc(var(--unit) * .8); left: 0; right: 0; margin: 0; font-size: calc(var(--unit) * .885); font-weight: 600; line-height: 1.25; }
.games-panel, .about-panel, .contact-panel { display: flex; flex-direction: column; justify-content: flex-start; padding-top: var(--section-top-spacing); background: #fff; }
.games-layout { width: min(calc(var(--unit) * 30.923), 94%); padding-bottom: calc(var(--unit) * .5); }
.games-viewport { overflow: hidden; margin-top: var(--heading-content-gap); border-radius: calc(var(--unit) * .154); }
.games-track { display: flex; width: 100%; height: calc(var(--unit) * 7.538); min-height: 300px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.games-track::-webkit-scrollbar { display: none; }
.game-card { position: relative; min-width: 100%; width: 100%; flex: 0 0 100%; overflow: hidden; scroll-snap-align: start; scroll-snap-stop: always; color: #fff; background: #2d2837; }
.game-art, .game-art img { position: absolute; inset: 0; width: 100%; height: 100%; }
.game-art img { object-fit: cover; object-position: center 46%; }
.game-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #10151feb 0%, #14203270 50%, #00000008 100%); }
.game-status { position: absolute; z-index: 2; top: calc(var(--unit) * .5); right: calc(var(--unit) * .55); border: 1px solid #ffffff60; padding: 5px 12px; font-size: 11px; color: #fff; background: #00000024; }
.game-copy { position: relative; z-index: 2; width: 49%; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: calc(var(--unit) * .65) 0 calc(var(--unit) * .7) calc(var(--unit) * 1.538); }
.game-title-row { display: flex; align-items: center; gap: calc(var(--unit) * .35); }
.game-logo { width: calc(var(--unit) * 1.25); height: calc(var(--unit) * 1.25); min-width: 58px; min-height: 58px; border-radius: 18%; object-fit: cover; filter: drop-shadow(0 8px 18px #00000066); }
.game-genre { margin: 0 0 10px; font-size: clamp(12px, calc(var(--unit) * .269), 17px); color: #ffffffbf; }
.game-copy h3 { margin: 0; font-size: calc(var(--unit) * .76); line-height: 1.15; font-weight: 600; }
.game-copy > p { max-width: 550px; margin: 20px 0; color: #ffffffe6; font-size: clamp(13px, calc(var(--unit) * .333), 20px); line-height: 1.8; }
.game-actions { display: flex; align-items: stretch; flex-wrap: wrap; gap: 10px; }
.card-action { display: inline-flex; align-items: center; justify-content: center; min-height: 38px; padding: 10px 28px; border: 1px solid #ffffff99; color: #fff; font-size: clamp(12px, calc(var(--unit) * .269), 17px); transition: background .2s, border-color .2s, transform .2s; }
.steam-action { gap: 13px; min-width: 216px; padding: 10px 14px 10px 16px; border-color: #66c0f455; background: linear-gradient(120deg, #182f47e8, #101a27e8); box-shadow: inset 0 0 0 1px #ffffff0a, 0 9px 28px #00000038; text-align: left; }
.steam-action:hover { border-color: #66c0f4; background: linear-gradient(120deg, #1a9fff, #1676b8); transform: translateY(-2px); }
/* “查看详情”悬停态与 Steam 按钮完全一致：同边框点亮、同渐变背景、同上浮、同投影（含 inset 高光）。 */
.detail-action { box-shadow: inset 0 0 0 1px #ffffff00, 0 9px 28px #00000000; transition: background .2s, border-color .2s, transform .2s, box-shadow .2s; }
.detail-action:hover { border-color: #66c0f4; background: linear-gradient(120deg, #1a9fff, #1676b8); transform: translateY(-2px); box-shadow: inset 0 0 0 1px #ffffff0a, 0 9px 28px #00000038; }
.steam-mark { width: 28px; height: 28px; flex: 0 0 28px; fill: currentColor; }
.steam-action > span { display: flex; flex-direction: column; line-height: 1.05; }
.steam-action small { margin-bottom: 3px; color: #c7d5e0; font-size: 9px; font-weight: 500; letter-spacing: .14em; }
.steam-action strong { font-size: 15px; font-weight: 600; letter-spacing: .045em; }
.steam-arrow { width: 18px; height: 18px; margin-left: auto; fill: none; stroke: currentColor; stroke-width: 1.5; }
.upcoming-card { background: linear-gradient(105deg, #264d82, #6ea1d6); }
.upcoming-copy { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; height: 100%; width: 64%; padding: calc(var(--unit) * .8) calc(var(--unit) * 1.538); }
.upcoming-copy h3 { margin: 8px 0 18px; font-size: calc(var(--unit) * .85); line-height: 1.35; font-weight: 500; }
.upcoming-copy > p:last-child { font-size: clamp(13px, calc(var(--unit) * .333), 20px); color: #ffffffbf; }
.upcoming-symbol { position: absolute; right: 10%; top: 50%; transform: translateY(-55%); font: 200 calc(var(--unit) * 6) / 1 Arial, sans-serif; color: #ffffff22; }
.game-tabs { display: flex; align-items: center; justify-content: center; gap: calc(var(--unit) * 1.885); margin-top: calc(var(--unit) * 1); }
.game-tab { position: relative; display: flex; align-items: center; gap: calc(var(--unit) * .25); padding: 0 0 calc(var(--unit) * .4); border: 0; background: transparent; white-space: nowrap; font-size: clamp(12px, calc(var(--unit) * .269), 17px); }
.game-tab img, .tab-plus { display: block; width: calc(var(--unit) * .615); height: calc(var(--unit) * .615); min-width: 26px; min-height: 26px; border-radius: 5px; object-fit: contain; }
.game-tab img { border-radius: 22%; object-fit: cover; }
.tab-plus { display: grid; place-items: center; color: var(--blue); background: #eef4fc; font-size: 24px; }
.game-tab::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: max(3px, calc(var(--unit) * .096)); border-radius: 9px; opacity: 0; background: linear-gradient(133deg, #1177fe, #03d1db); transition: opacity .25s; }
.game-tab.active::after { opacity: 1; }
.drag-hint { display: none; text-align: center; margin: 18px 0 0; font-size: 11px; color: #999; }

.about-layout { width: var(--stage-width); padding: 0 calc(var(--unit) * 2.5); margin-top: var(--heading-content-gap); display: grid; grid-template-columns: 1.75fr 1fr; gap: calc(var(--unit) * 1.6); align-items: end; }
.about-lead { position: relative; }
.about-heading { position: relative; margin: 0 0 calc(var(--unit) * 1.15); padding: 0; color: #24a5df; font-size: calc(var(--unit) * .923); font-weight: 400; line-height: 1.65; }
.about-subheading h3 { margin: 0; font-size: clamp(20px, calc(var(--unit) * .461), 29px); color: #232934; font-weight: 700; }
.about-subheading > span { display: block; margin: 4px 0 14px calc(var(--unit) * 1.2); font-size: 11px; color: #b8bbc0; }
.about-statement, .about-paragraph { margin: 16px 0 0; color: #3c424e; font-size: clamp(14px, calc(var(--unit) * .34), 20px); line-height: 1.85; }
.about-details { padding-bottom: 2px; }
.studio-facts { margin: 26px 0 34px; }
.studio-facts > div { display: flex; align-items: baseline; justify-content: space-between; gap: 15px; padding: 18px 0; border-bottom: 1px solid #dfdfe0; font-size: clamp(13px, calc(var(--unit) * .29), 18px); }
.studio-facts dt { color: #909399; flex-shrink: 0; }
.studio-facts dd { margin: 0; color: #636465; text-align: right; }
blockquote { position: relative; margin: 0; padding: 10px 32px 0; }
.quote-mark { position: absolute; color: var(--blue); font: 48px / 1 Georgia, serif; }
.quote-open { top: -2px; left: 0; }
.quote-close { right: 0; bottom: -14px; }
blockquote p { margin: 0; color: #1079ed; font-size: clamp(14px, calc(var(--unit) * .34), 21px); line-height: 1.8; }
.edge-decoration { position: absolute; pointer-events: none; width: calc(var(--unit) * 3.6); height: calc(var(--unit) * 3.1); opacity: .45; background: repeating-linear-gradient(120deg, transparent 0 10px, #1177fe0d 10px 13px); clip-path: polygon(0 0, 100% 58%, 48% 100%, 0 66%); }
.edge-left { bottom: calc(var(--unit) * 1.1); left: 0; }
.edge-right { right: 0; top: var(--header-height); transform: rotate(180deg); }

.about-panel, .contact-panel { padding-bottom: 85px; }
.contact-layout { display: grid; grid-template-columns: .9fr 1fr; align-items: center; gap: calc(var(--unit) * 2); width: min(calc(var(--unit) * 25), 88%); margin-top: var(--heading-content-gap); }
.contact-intro h3 { margin: 0 0 26px; font-size: clamp(26px, calc(var(--unit) * .65), 40px); line-height: 1.6; font-weight: 600; }
.contact-intro > p { margin: 0 0 30px; color: #636465; font-size: clamp(14px, calc(var(--unit) * .33), 20px); line-height: 1.9; }
.submit-button svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.5; flex-shrink: 0; }
.contact-form { padding: calc(var(--unit) * .65); background: #ffffffb8; border: 1px solid #e7e9ed; }
.contact-form label, .contact-form .form-field { display: block; margin-bottom: 18px; }
.contact-form label > span, .contact-form .field-label { display: block; color: #636465; font-size: 13px; margin-bottom: 7px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.contact-form input, .contact-form select, .contact-form textarea { display: block; width: 100%; min-width: 0; border: 1px solid #e2e5e9; border-radius: 0; padding: 11px 12px; background: #fff; color: #3c424e; font-size: 14px; transition: border-color .2s; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--blue); outline: 1px solid var(--blue); outline-offset: 1px; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #aaaeb5; }
.contact-form textarea { height: 92px; resize: none; overflow-y: auto; }
.submit-button { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 16px 24px; background: #333; color: #fff; border: 0; clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%); font-size: 15px; transition: background .25s; }
.submit-button:hover { background: #0c7bed; }
.submit-button:disabled { background: #686b70; cursor: not-allowed; }
.contact-form[aria-busy="true"] .submit-button:disabled { cursor: wait; }
.form-note { color: #92979e; font-size: 11px; line-height: 1.5; margin: 12px 0 0; }
footer { position: absolute; left: 5%; right: 5%; bottom: 20px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid #dfdfe0; padding-top: 18px; color: #999; font-size: 11px; line-height: 1.6; }
.footer-legal { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 20px; }
.footer-legal > span, .footer-legal > a { white-space: nowrap; }

footer a:hover { color: var(--blue); }
.toast { position: fixed; right: 24px; bottom: 24px; z-index: 300; max-width: min(380px, calc(100vw - 48px)); padding: 16px 24px; background: #1177fe; color: #fff; font-size: 13px; opacity: 0; pointer-events: none; transform: translateY(15px); transition: opacity .25s, transform .25s; }
.toast.show { opacity: 1; transform: none; }
.toast.toast-centered { left: 24px; right: 24px; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); width: max-content; margin-inline: auto; text-align: center; transform: translateY(15px); }
.toast.toast-centered.show { transform: translateY(0); }

.film-dialog { width: min(1120px, calc(100vw - 48px)); max-width: none; padding: 0; border: 0; background: transparent; color: #fff; overflow: visible; }
.film-dialog::backdrop { background: #02050bd9; backdrop-filter: blur(8px); }
.film-window { overflow: hidden; background: #05080d; box-shadow: 0 32px 90px #000c; }
.film-header { display: flex; align-items: center; justify-content: space-between; min-height: 52px; padding: 0 12px 0 20px; border-bottom: 1px solid #ffffff1a; color: #aeb7c4; font-size: 10px; letter-spacing: .18em; }
.film-close { position: relative; width: 38px; height: 38px; border: 0; background: transparent; color: #fff; }
.film-close::before, .film-close::after { content: ""; position: absolute; top: 18px; left: 10px; width: 19px; height: 1px; background: currentColor; transform: rotate(45deg); }
.film-close::after { transform: rotate(-45deg); }
.film-close:hover { color: #66c0f4; }
.film-dialog video { display: block; width: 100%; max-height: calc(100svh - 130px); aspect-ratio: 16 / 9; background: #000; }

html:not([lang="zh-CN"]) .hero-title { font-size: calc(var(--unit) * 1.28); }
html:not([lang="zh-CN"]) .brand-copy strong { font-size: clamp(13px, calc(var(--unit) * .32), 20px); }
html[lang="fr"] .hero-title { font-size: calc(var(--unit) * 1.14); }
html[lang="ko"] .hero-title { font-size: calc(var(--unit) * 1.24); }
@media (max-width: 1000px) {
  .site-header { padding-inline: 4%; gap: 20px; }
  .main-nav { gap: 26px; }
  .about-layout { grid-template-columns: 1.5fr 1fr; gap: 35px; padding-inline: 8%; }
  .contact-layout { gap: 40px; }
  .game-copy { width: 62%; }
}
@media (max-width: 820px) {
  :root { --section-top-spacing: 110px; --heading-content-gap: 35px; }
  :root { --header-height: 70px; }
  html { scroll-snap-type: y proximity; }
  .site-header { height: var(--header-height); padding-inline: 22px; }
  .header-actions { gap: 15px; }
  .brand, .header-actions { position: relative; z-index: 2; }
  .main-nav { position: fixed; inset: 0; height: 100svh; margin: 0; flex-direction: column; justify-content: center; gap: 40px; background: #fff; opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
  .main-nav a { font-size: 24px; color: #666; }
  .main-nav a.active, .main-nav a:hover { color: var(--blue); }
  .main-nav a::after { bottom: -9px; }
  .menu-open .main-nav { opacity: 1; visibility: visible; }
  .menu-active { color: #27282d; }
  .menu-toggle { display: block; }
  .menu-open .menu-toggle span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-open .menu-toggle span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .hero-content { left: 9%; top: 29%; max-width: 82%; }
  .hero-title { font-size: clamp(38px, 6.8vw, 64px); }
  .hero-film-button { margin-top: 30px; }
  html:not([lang="zh-CN"]) .hero-title { font-size: clamp(32px, 5.8vw, 55px); }
  .scroll-cue { bottom: 34px; }
  .video-toggle { right: 24px; bottom: 23px; }
  .games-layout { width: 90%; padding: 0 0 65px; }
  .heading-watermark { font-size: 54px; }
  .section-heading { height: 94px; }
  .section-heading h2 { top: 36px; font-size: 38px; }
  .games-viewport { margin-top: var(--heading-content-gap); }
  .games-track { height: 390px; }
  .game-copy { width: 75%; padding: 32px; }
  .game-copy h3 { font-size: 33px; }
  .game-logo { width: 66px; height: 66px; min-width: 66px; min-height: 66px; }
  .game-status { top: 20px; right: 20px; }
  .upcoming-copy { width: 80%; padding: 32px; }
  .upcoming-copy h3 { font-size: 35px; }
  .game-tabs { gap: 32px; margin-top: 30px; }
  .game-tab { padding-bottom: 15px; gap: 8px; }
  .drag-hint { display: block; }
  .about-layout { width: 86%; padding: 0; margin-top: var(--heading-content-gap); grid-template-columns: 1fr; gap: 35px; }
  .about-heading { font-size: 40px; margin-bottom: 36px; }
  .studio-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0 35px; margin: 8px 0 30px; }
  .about-panel, .contact-panel { padding-bottom: 85px; }
  .contact-panel { padding-bottom: 140px; }
  .contact-layout { grid-template-columns: 1fr; gap: 30px; margin-top: var(--heading-content-gap); width: 86%; }
  .contact-intro h3 { font-size: 28px; margin-bottom: 15px; }
  .contact-intro > p { margin-bottom: 12px; }
  .contact-form { padding: 28px; }
}
@media (max-width: 520px) {
  :root { --header-height: 64px; --section-top-spacing: 100px; --heading-content-gap: 25px; }
  .site-header { padding-inline: 18px; gap: 10px; }
  .brand-copy strong { font-size: 20px; }
  .brand-copy small { font-size: 6px; }
  .language-trigger { min-width: 92px; padding-inline: 10px; }
  .language-globe { display: none; }
  .header-actions { gap: 5px; }
  .header-social { padding-left: 0; border-left: 0; gap: 2px; }
  .header-social-link { width: 36px; height: 44px; }
  .header-social .social-icon { width: 25px; height: 25px; }
  .home-page .site-header { padding-inline: 12px; }
  .home-page .header-actions { gap: 6px; }
  .home-page .language-trigger { min-width: 44px; padding-inline: 8px; gap: 6px; }
  .home-page .language-current { display: none; }
  .home-page .language-globe { display: block; }
  .home-page .language-chevron { width: 8px; }
  .hero-content { left: 7%; max-width: 86%; top: 29%; }
  .hero-title { font-size: clamp(29px, 8.9vw, 43px); line-height: 1.5; letter-spacing: 0; }
  .hero-film-button { width: 105px; height: 58px; margin-top: 22px; }
  html:not([lang="zh-CN"]) .hero-title { font-size: clamp(28px, 7.3vw, 36px); }
  .heading-watermark { font-size: 44px; }
  .section-heading h2 { font-size: 32px; top: 30px; }
  .games-layout { padding: 0 0 50px; }
  .games-track { height: 415px; }
  .game-copy { width: 95%; padding: 75px 25px 28px; justify-content: flex-end; }
  .game-copy h3 { font-size: 29px; }
  .game-title-row { gap: 12px; }
  .game-logo { width: 50px; height: 50px; min-width: 50px; min-height: 50px; }
  .game-copy > p { font-size: 14px; line-height: 1.8; margin: 18px 0 22px; }
  .steam-action { min-width: 196px; }
  .game-art img { object-position: 64% center; }
  .game-art::after { background: linear-gradient(0deg, #10151ff2, #14203255 85%); }
  .game-tabs { gap: 20px; justify-content: space-between; align-items: stretch; }
  .game-tab { white-space: normal; text-align: center; flex-direction: column; flex: 1; font-size: 11px; }
  .game-tab img, .tab-plus { width: 30px; height: 30px; }
  .upcoming-copy { width: 100%; padding: 25px; }
  .upcoming-copy h3 { font-size: 33px; }
  .upcoming-symbol { top: 20%; font-size: 110px; }
  .about-heading { font-size: 32px; }
  .about-statement, .about-paragraph { font-size: 14px; }
  .studio-facts { grid-template-columns: 1fr; margin-bottom: 28px; }
  .contact-layout { width: 86%; }
  .contact-intro h3 { font-size: 25px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form { padding: 22px; }
  .contact-form input, .contact-form textarea, .contact-form select { font-size: 16px; }
  footer { align-items: flex-start; font-size: 10px; gap: 10px; }
  .footer-legal { flex-direction: column; align-items: flex-start; }
  .film-dialog { width: calc(100vw - 24px); }
  .film-header { min-height: 46px; }
}
@media (max-width: 380px) {
  .home-page .brand-copy small { display: none; }
  .home-page .brand-copy strong { font-size: 18px; }
  .home-page .brand-mark { width: 32px; height: 32px; }
  .home-page .site-header { gap: 6px; }
}


/* ===== 游戏详情页 · 整版分屏 ===== */
/* 滚动吸附与页头均与 index.html 一致:沿用 html 默认 scroll-snap-type: y mandatory,页头使用 .site-header.light-theme 白底。 */
body.detail-page { --social-rail-space: max(104px, calc(88px + env(safe-area-inset-right))); background: #fff; color: #27282d; }
.detail-page .hero-content { max-width: min(calc(var(--stage-width) - var(--unit) * 4.614), calc(100% - var(--social-rail-space) - 9%)); }

/* ---------- 全屏 hero ---------- */
.full-hero {
  position: relative; isolation: isolate; color: #fff;
  min-height: 100svh; overflow: clip;
  scroll-snap-align: start; scroll-snap-stop: always;
  background: #1a1a2e;
}
.full-hero-media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
/* 左右轮播：横向滑动轨道 */
.hero-track {
  position: absolute; inset: 0; display: flex;
  transition: transform .8s cubic-bezier(.22, .61, .36, 1);
  will-change: transform;
}
.hero-slide {
  position: relative; flex: 0 0 100%; width: 100%; height: 100%;
  object-fit: cover; object-position: center 38%;
}
/* 轮播切换 Tab（底部居中，位于下滑提示上方，与其保持明显间距） */
.hero-tabs {
  position: absolute; z-index: 3; left: 50%; bottom: calc(var(--unit) * 3.6);
  transform: translateX(-50%);
  display: flex; align-items: center; gap: 10px;
}
.hero-tab {
  width: 26px; height: 4px; padding: 0; border: 0; border-radius: 2px;
  background: #ffffff59; cursor: pointer;
  transition: background .3s ease, width .3s ease;
}
.hero-tab:hover { background: #ffffffb3; }
.hero-tab.active { width: 44px; background: #fff; }
@media (max-width: 1000px) { .hero-tabs { bottom: 144px; } }
/* 仅顶部轻微压暗保证菜单可读，底部不做白色渐变 */
.full-hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(5, 11, 20, .38) 0%, rgba(5, 11, 20, 0) 24%);
}

/* 右侧垂直居中社交按钮：fixed 悬浮最上层，不随页面滚动 */
.hero-social {
  position: fixed; right: max(16px, env(safe-area-inset-right)); top: 50%;
  transform: translateY(-50%); z-index: 200;
  display: flex; flex-direction: column; gap: 10px; padding: 9px;
  border: 1px solid #ffffff26; border-radius: 36px; background: #1b1d20;
  box-shadow: 0 8px 28px #00000040, 0 0 0 3px #17191c33;
  isolation: isolate;
}
.social-dot {
  position: relative; display: grid; place-items: center;
  width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid #ffffff1f; background: #27292d; color: #ededed;
  transition: background .2s ease, border-color .2s ease;
}
.social-dot .social-icon { filter: brightness(.94); }
.social-dot:hover, .social-dot:focus-visible { background: #3a3d42; border-color: #ffffff66; }
.social-dot:focus-visible { outline: 3px solid #c5c9cf; outline-offset: 3px; }
.social-label { position: absolute; right: calc(100% + 18px); padding: 8px 12px; border-radius: 6px; background: #1b1d20; color: #ededed; font-size: 13px; font-weight: 600; white-space: nowrap; pointer-events: none; opacity: 0; transition: opacity .15s; }
.social-dot:hover .social-label, .social-dot:focus-visible .social-label { opacity: 1; }

/* hero 标题 / 下滑提示：复用 index 共享的 .hero-content、.hero-title、.scroll-cue 样式，字体、大小、颜色、位置与 index 首屏完全一致 */

/* ---------- World 世界观(分屏版式与 index 一致) ---------- */
.full-world {
  position: relative;
  min-height: 100svh;
  scroll-snap-align: start; scroll-snap-stop: always;
  background: #fff;
  display: flex; flex-direction: column; justify-content: flex-start;
  padding-top: var(--section-top-spacing);
  padding-right: var(--social-rail-space);
}
/* 宽度与最新动态屏（index .games-layout 规格）保持一致 */
.world-layout {
  width: min(calc(var(--unit) * 30.923), 94%);
  margin-top: var(--heading-content-gap);
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: calc(var(--unit) * 1.6); align-items: stretch;
}
.world-image {
  position: relative; margin: 0;
  border-radius: 12px; overflow: hidden;
  box-shadow: 0 24px 60px #101a2a26;
  min-height: clamp(300px, 30vw, 480px);
  height: 100%;
  background: #f2f4f8;
}
/* 三张图叠放，随右侧条目悬停切换 */
.world-image img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 36%;
  opacity: 0; transform: scale(1.05);
  transition: opacity .55s ease, transform .9s ease;
}
.world-image img.active { opacity: 1; transform: scale(1); }
.world-copy { color: #27282d; }
.world-lead {
  max-width: 560px; margin: 0 0 32px;
  color: #666; font-size: clamp(15px, 1.1vw, 18px); line-height: 1.85;
}
.world-copy { display: flex; flex-direction: column; justify-content: center; height: 100%; }
/* 右列条目样式：世界观与最新动态两屏共用（.world-point / .news-row 完全同款） */
.world-points, .news-list { display: flex; flex-direction: column; gap: 10px; max-width: 560px; }
.world-point, .news-row {
  display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 18px; align-items: flex-start;
  padding: 16px 18px; border-top: 1px solid #e7e9ed;
  border-radius: 10px; cursor: pointer;
  transition: background .25s ease, border-color .25s ease;
}
.world-point:first-child, .news-row:first-child { border-top: 0; }
.world-point:hover, .world-point:focus-visible, .world-point.active,
.news-row:hover, .news-row:focus-visible, .news-row.active { background: #f5f8fd; outline: none; }
.world-point .world-point-num, .news-row .news-row-num { transition: color .25s ease; }
.world-point:hover .world-point-num, .world-point.active .world-point-num,
.news-row:hover .news-row-num, .news-row.active .news-row-num { color: var(--blue); }
.world-point-num, .news-row-num {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 14px; font-weight: 700; letter-spacing: .12em;
  color: var(--blue); padding-top: 2px;
}
.world-point h3, .news-row h3 { margin: 0 0 6px; font-size: 17px; font-weight: 700; color: #27282d; }
.world-point p, .news-row p { margin: 0; color: #666; font-size: 14px; line-height: 1.78; }

/* ---------- News ---------- */
.full-news {
  position: relative;
  min-height: 100svh;
  scroll-snap-align: start; scroll-snap-stop: always;
  background: #fff; color: #27282d;
  display: flex; flex-direction: column; justify-content: flex-start;
  padding-top: var(--section-top-spacing);
  padding-right: var(--social-rail-space);
  /* 底部预留出与 index 一致的绝对定位备案栏空间 */
  padding-bottom: 85px;
}
/* 与 index 的 .games-layout 同规格 */
.news-layout {
  width: min(calc(var(--unit) * 30.923), 94%);
  margin-top: var(--heading-content-gap);
}
/* 左右布局与世界观屏完全同规格（列宽、间距、图片高度均以 world 为准） */
.news-grid {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: calc(var(--unit) * 1.6); align-items: stretch;
}
.news-banner {
  position: relative; margin: 0; overflow: hidden;
  border-radius: 12px;
  background: #f2f4f8;
  box-shadow: 0 24px 60px #101a2a26;
  min-height: clamp(300px, 30vw, 480px);
  height: 100%;
}
/* 三张图叠放，随右侧条目悬停切换（与 .world-image 一致） */
.news-banner img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 36%;
  opacity: 0; transform: scale(1.05);
  transition: opacity .55s ease, transform .9s ease;
}
.news-banner img.active { opacity: 1; transform: scale(1); }
.news-banner::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(5, 11, 20, .85));
}
/* 多条说明文字叠放，与图片同步切换 */
.news-banner figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 26px 28px;
  display: flex; flex-direction: column; gap: 8px;
  color: #fff;
  opacity: 0; transform: translateY(8px); pointer-events: none;
  transition: opacity .45s ease, transform .45s ease;
}
.news-banner figcaption.active { opacity: 1; transform: none; }
.news-banner-tag {
  display: inline-block; align-self: flex-start;
  padding: 4px 10px; border-radius: 999px;
  background: var(--blue); color: #fff;
  font-size: 10px; font-weight: 700; letter-spacing: .2em;
}
.news-banner strong { font-size: clamp(18px, 1.6vw, 24px); font-weight: 700; line-height: 1.3; }

/* 右列与左侧图片严格等高：3 个条目在列内等分拉伸，间距/内边距/字体仍与世界观共享同款规则 */
.news-list { height: 100%; }
.news-row { flex: 1 1 0; align-items: center; color: inherit; text-decoration: none; }

/* 备案页脚:直接使用与 index.html 相同的共享 footer / .footer-legal 样式(白底、灰字、绝对定位在最后一屏底部)。 */
.detail-page footer { right: calc(var(--social-rail-space) + 24px); }

/* ---------- 响应式 ---------- */
@media (max-width: 1100px) {
  .world-layout { grid-template-columns: 1fr; }
  .world-image { height: auto; aspect-ratio: 16 / 9; min-height: 0; }
  .world-copy { height: auto; }
  .news-grid { grid-template-columns: 1fr; }
  .news-banner { min-height: 280px; height: auto; }
  .news-list { height: auto; }
  .news-row { flex: none; align-items: flex-start; }
}
@media (max-width: 820px) {
  body.detail-page { --social-rail-space: max(84px, calc(74px + env(safe-area-inset-right))); }
  .hero-social { right: max(10px, env(safe-area-inset-right)); gap: 8px; padding: 7px; }
  .social-dot { width: 44px; height: 44px; }
  .social-dot .social-icon { width: 26px; height: 26px; }
  .social-label { right: calc(100% + 14px); }
}
@media (max-height: 460px) {
  .hero-social { top: calc(50% + var(--header-height) / 2); max-height: calc(100svh - var(--header-height) - 24px); overflow-y: auto; }
  .social-dot { flex-shrink: 0; }
  .social-label { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .header-social-link, .social-dot, .social-label { transition: none; }
}
