/* 鸡头大乱斗 · 官方网站 v3 — the game's own RIOT PIXEL UI language (red/black select-screen stripes, halftone, skewed
   tapes, ink-edged buttons with hard shadows). Phone first. 来一拳 has its own sheet: fight/try.css. */
:root {
  --ink: #0b0b10;
  --ink2: #15151d;
  --ink3: #1f1f29;
  --line: #2c2c38;
  --paper: #f3ede0;
  --text: #ece8f0;
  --muted: #a7a3b3;
  --red: #e8364f;
  --red2: #b51f37;
  --yellow: #ffe14d;
  --cyan: #3fd0d8;
  --pink: #ff6fa8;          /* sticker edge of the cut-out art */
  --c: #e8364f;             /* current character colour */
  --sans: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", system-ui, sans-serif;
  --latin: "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --bar-h: 52px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: var(--bar-h); }
body { margin: 0; background: var(--ink); color: var(--text); font-family: var(--sans); font-size: 16px; line-height: 1.7; overflow-x: hidden; }
img, video, svg { display: block; max-width: 100%; }
a { color: var(--yellow); }
b { color: var(--paper); }
button { font: inherit; color: inherit; cursor: pointer; touch-action: manipulation; }
.wrap { width: min(1180px, 100% - 32px); margin: 0 auto; }

/* ------------------------------------------------------------ top bar */
.bar { position: fixed; z-index: 30; top: 0; left: 0; right: 0; height: var(--bar-h); display: flex; align-items: center; gap: 14px; padding: 0 14px;
  background: linear-gradient(rgba(11,11,16,.94), rgba(11,11,16,.76)); backdrop-filter: blur(6px); border-bottom: 2px solid var(--red); }
.bar-logo { font-weight: 900; font-size: 18px; color: var(--paper); text-decoration: none; white-space: nowrap; text-shadow: 2px 2px 0 var(--red); }
.bar-nav { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; flex: 1; }
.bar-nav::-webkit-scrollbar { display: none; }
.bar-nav a { color: var(--muted); text-decoration: none; font-size: 14px; padding: 4px 10px; white-space: nowrap; border-radius: 3px; }
.bar-nav a.on, .bar-nav a:hover { color: var(--ink); background: var(--paper); }
.bar-pv { flex: none; border: 0; background: var(--red); color: var(--paper); font-weight: 900; font-size: 14px; padding: 5px 14px; transform: skewX(-12deg); }

/* ------------------------------------------------------------ shared pieces */
.tape { display: inline-block; margin: 0 0 16px; padding: 4px 18px; background: var(--yellow); color: var(--ink); font-weight: 900; font-size: 14px; letter-spacing: .12em; transform: skewX(-14deg) rotate(-2deg); }
.btn { display: inline-flex; align-items: center; gap: 8px; border: 3px solid var(--ink); padding: 10px 24px; font-size: 18px; font-weight: 900; text-decoration: none;
  transform: skewX(-10deg); box-shadow: 5px 5px 0 var(--ink); transition: transform .12s, box-shadow .12s; }
.btn i { font-style: normal; }
.btn small { font-family: var(--latin); font-size: 13px; opacity: .85; }
.btn-red { background: var(--red); color: var(--paper); }
.btn-ghost { background: var(--paper); color: var(--ink); }
.btn:hover, .btn:focus-visible { transform: skewX(0deg) translate(-2px, -2px); box-shadow: 9px 9px 0 var(--ink); }
.btn:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }
.play { position: absolute; left: 50%; top: 44%; transform: translate(-50%, -50%); width: 70px; height: 70px; border-radius: 50%; display: grid; place-items: center;
  background: var(--yellow); color: var(--ink); font-size: 28px; border: 3px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); transition: transform .15s; }
.eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 14px; }
.eq s { display: block; width: 3px; height: 30%; background: currentColor; }
.playing .eq s { animation: eq .5s ease-in-out infinite alternate; }
.playing .eq s:nth-child(2) { animation-delay: -.2s; }
.playing .eq s:nth-child(3) { animation-delay: -.35s; }
@keyframes eq { from { height: 20%; } to { height: 100%; } }

/* ------------------------------------------------------------ hero */
.hero { position: relative; overflow: hidden; isolation: isolate; background: var(--ink); }
.hero-media { position: relative; aspect-ratio: 4 / 3; }
.hero-poster, .hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-bg { opacity: 0; transition: opacity .8s; }
.hero-bg.on { opacity: 1; }
.hero-shade { position: absolute; inset: 0;
  background: radial-gradient(rgba(0,0,0,.32) 1px, transparent 1.6px) 0 0 / 5px 5px, linear-gradient(rgba(11,11,16,.15), rgba(11,11,16,.35) 55%, var(--ink)); }
.hero-in { position: relative; padding: 0 16px 30px; margin-top: -72px; text-align: center; }
.logo { margin: 0; line-height: .95; font-weight: 900; color: #fff; letter-spacing: .02em; transform: rotate(-3deg); }
.logo span { display: block; -webkit-text-stroke: 4px var(--ink); paint-order: stroke fill; text-shadow: 7px 7px 0 var(--red), 12px 12px 0 var(--ink); }
.logo .l1 { font-size: clamp(60px, 17vw, 150px); }
.logo .l2 { font-size: clamp(68px, 20vw, 178px); color: var(--yellow); margin-top: -.08em; }
.js .logo { animation: slam .5s cubic-bezier(.2, .9, .3, 1.1) both; }
@keyframes slam { 0% { opacity: 0; transform: rotate(-3deg) scale(1.6); } 55% { opacity: 1; transform: rotate(-3deg) scale(.97); } 70% { transform: rotate(-3deg) translate(3px, -2px); } 85% { transform: rotate(-3deg) translate(-2px, 1px); } 100% { transform: rotate(-3deg); } }
.logo-en { margin: 22px 0 0; font-family: var(--latin); letter-spacing: .4em; font-size: clamp(11px, 2.6vw, 15px); color: var(--paper); opacity: .85; }
.slogan { margin: 14px 0 22px; font-size: clamp(19px, 5vw, 30px); font-weight: 900; color: var(--paper); text-shadow: 0 2px 10px rgba(0,0,0,.7); }
.slogan b { color: var(--yellow); }
.cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta .btn-red { flex: 1 1 100%; justify-content: center; max-width: 420px; }
.hero-pv { display: none; }
.hero-note { position: absolute; right: 12px; bottom: 6px; margin: 0; font-size: 11px; color: var(--muted); }

/* ------------------------------------------------------------ sections */
.sec { position: relative; padding: 64px 0 70px; }
.head { position: relative; margin: 0 0 24px; }
.head-en { display: inline-block; font-family: var(--latin); font-size: 13px; letter-spacing: .3em; color: var(--ink); background: var(--yellow); padding: 2px 12px; transform: skewX(-14deg); }
.head h2 { margin: 8px 0 0; font-size: clamp(38px, 10vw, 80px); line-height: 1.05; font-weight: 900; color: var(--paper); -webkit-text-stroke: 2px var(--ink); paint-order: stroke fill; text-shadow: 5px 5px 0 var(--red); transform: rotate(-1.5deg); transform-origin: left; }
.head-light h2 { text-shadow: 5px 5px 0 var(--ink); }
.sec-lead { margin: -6px 0 22px; color: var(--text); max-width: 680px; }
.sub-h { margin: 36px 0 12px; font-size: 26px; font-weight: 900; color: var(--paper); text-shadow: 3px 3px 0 var(--red); }

/* ------------------------------------------------------------ roster: the game's character-select screen */
.roster { --c: var(--red); padding-bottom: 0; background:
  radial-gradient(rgba(0,0,0,.22) 1px, transparent 1.6px) 0 0 / 6px 6px,
  repeating-linear-gradient(-28deg, var(--c) 0 46px, color-mix(in srgb, var(--c) 78%, #000) 46px 92px); transition: background .3s; }
.roster .head { width: min(1180px, 100% - 32px); margin: 0 auto 6px; }
.sel { position: relative; display: grid; grid-template-columns: 1fr; width: min(1180px, 100%); margin: 0 auto; }
.sel-big { position: absolute; left: 0; right: 0; top: 10px; text-align: center; font-family: var(--latin); font-size: clamp(80px, 24vw, 260px); line-height: 1; color: transparent;
  -webkit-text-stroke: 2px rgba(255,255,255,.35); white-space: nowrap; overflow: hidden; pointer-events: none; }
.sel-stage { position: relative; display: grid; place-items: end center; height: min(70vh, 560px); padding-top: 10px; }
.sel-art { max-height: 100%; width: auto; max-width: 100%; object-fit: contain;
  filter: drop-shadow(0 0 0 var(--pink)) drop-shadow(2px 0 0 var(--pink)) drop-shadow(-2px 0 0 var(--pink)) drop-shadow(0 2px 0 var(--pink)) drop-shadow(0 -2px 0 var(--pink)) drop-shadow(10px 10px 0 rgba(11,11,16,.55));
  animation: artin .28s ease-out; }
.sel[data-c="ren"] .sel-art { max-height: min(100%, 547px); }
@keyframes artin { 0% { opacity: 0; transform: translateX(40px); } 70% { opacity: 1; transform: translateX(-6px); } 100% { transform: none; } }
.sel-new[hidden] { display: none; }
.sel-info { position: relative; margin: 10px 16px 0; padding: 16px 18px 16px; background: var(--ink); border: 3px solid var(--paper); box-shadow: 8px 8px 0 rgba(11,11,16,.6); }
.sel-name { margin: 0 0 2px; font-size: clamp(36px, 9vw, 58px); line-height: 1.1; font-weight: 900; color: var(--paper); text-shadow: 4px 4px 0 var(--c); }
.sel-new { margin-left: 10px; vertical-align: middle; font-style: normal; font-family: var(--latin); font-size: 15px; color: var(--ink); background: var(--yellow); padding: 1px 8px; display: inline-block; transform: skewX(-12deg) translateY(-6px); text-shadow: none; }
.sel-line { margin: 0 0 10px; font-size: clamp(19px, 4.6vw, 26px); font-weight: 900; color: var(--paper); }
.sel-tags, .boss-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.sel-tags span { padding: 2px 12px; background: var(--c); color: var(--ink); font-weight: 900; font-size: 14px; transform: skewX(-12deg); }
.sel-clip, .boss-clip { margin: 0; }
.sel-clip video, .boss-clip video { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: #000; border: 2px solid var(--line); }
.sel-list { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(118px, 1fr); gap: 8px; padding: 18px 16px 22px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.sel-list::-webkit-scrollbar { display: none; }
.sel-list button { position: relative; scroll-snap-align: center; border: 3px solid var(--ink); padding: 0; background: var(--ink); transform: skewX(-10deg); overflow: hidden; opacity: .7; transition: opacity .2s, transform .2s, box-shadow .2s; }
.sel-list button img { width: 100%; aspect-ratio: 640 / 208; object-fit: cover; }
.sel-list button span { position: absolute; left: 8px; bottom: 2px; font-family: var(--latin); font-size: 12px; color: var(--paper); text-shadow: 1px 1px 0 var(--ink); }
.sel-list button em { position: absolute; right: 6px; top: 2px; font-style: normal; font-family: var(--latin); font-size: 10px; color: var(--ink); background: var(--yellow); padding: 0 5px; }
.sel-list button.on { opacity: 1; border-color: var(--paper); transform: skewX(-10deg) translateY(-6px); box-shadow: 0 6px 0 var(--ink); }

/* ------------------------------------------------------------ bosses: menu black + red neon line */
.boss { background: #07070b; border-top: 2px solid var(--red); border-bottom: 2px solid var(--red); overflow: hidden; }
.boss-fx { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.boss[data-boss="silent"] .boss-fx { background:
  repeating-linear-gradient(0deg, rgba(60, 230, 150, .12) 0 1px, transparent 1px 4px),
  linear-gradient(90deg, rgba(7,7,11,.95) 30%, rgba(7,7,11,.6)),
  url("img/boss_silent_code.webp") right center / auto 120% no-repeat; }
.boss[data-boss="baobao"] .boss-fx { background:
  radial-gradient(rgba(255, 90, 170, .55) 2px, transparent 2.6px) 0 0 / 14px 14px,
  radial-gradient(rgba(70, 120, 255, .45) 2px, transparent 2.6px) 7px 7px / 14px 14px,
  linear-gradient(135deg, #1a0d2a, #0c1230); }
.boss[data-boss="niulai"] .boss-fx { background:
  radial-gradient(rgba(255, 225, 77, .5) 5px, transparent 6px) 0 0 / 34px 34px,
  radial-gradient(rgba(255, 160, 200, .45) 5px, transparent 6px) 17px 17px / 34px 34px,
  linear-gradient(135deg, #3a1f33, #2b2210); }
.boss .wrap { position: relative; z-index: 1; }
.boss .head h2 { text-shadow: 0 0 10px rgba(232,54,79,.6), 4px 4px 0 var(--red2); }
.boss-rule { margin: -6px 0 20px; font-size: clamp(17px, 4.4vw, 22px); font-weight: 900; color: var(--paper); }
.boss-rule .rl { color: #ff4a5e; text-shadow: 0 0 10px rgba(255,60,80,.7); }
.boss-rule .bl { color: #4fb4ff; text-shadow: 0 0 10px rgba(80,170,255,.7); }
.boss-grid { display: grid; gap: 16px; }
.boss-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.boss-tabs button { border: 2px solid rgba(232,54,79,.5); background: rgba(11,11,16,.75); padding: 8px 6px; text-align: left; transform: skewX(-10deg); transition: border-color .2s, box-shadow .2s, transform .2s; }
.boss-tabs b { display: block; font-size: 16px; line-height: 1.2; }
.boss-tabs span { display: block; font-family: var(--latin); font-size: 9px; letter-spacing: .1em; color: var(--muted); }
.boss-tabs button:not(.on) { opacity: .55; }
.boss-tabs button:not(.on):hover { opacity: .85; }
.boss-tabs button.on { background: linear-gradient(90deg, rgba(232,54,79,.35), rgba(11,11,16,.8)); border-color: var(--red); box-shadow: 0 0 0 1px var(--red), 0 0 16px rgba(232,54,79,.55), 5px 5px 0 var(--red2); transform: skewX(-10deg) translateY(-3px); }
.boss-panel { display: grid; gap: 14px; border: 2px solid var(--red); box-shadow: 0 0 18px rgba(232,54,79,.35), inset 0 0 18px rgba(232,54,79,.12); background: rgba(7,7,11,.72); padding: 14px; }
.boss-art { display: grid; place-items: center; min-height: 260px; }
.boss-art img { max-height: 420px; width: auto; animation: artin .28s ease-out; }
.boss[data-boss="silent"] .boss-art img { filter: drop-shadow(0 0 18px rgba(232,54,79,.35)); }
.boss[data-boss="baobao"] .boss-art img, .boss[data-boss="niulai"] .boss-art img { filter: drop-shadow(8px 8px 0 rgba(0,0,0,.55)); }
.boss-name { margin: 0; font-size: clamp(30px, 8vw, 50px); font-weight: 900; color: var(--paper); line-height: 1.15; text-shadow: 3px 3px 0 var(--red2); }
.boss-line { margin: 6px 0 12px; font-size: clamp(18px, 4.6vw, 24px); font-weight: 900; color: var(--paper); }
.tag-red { padding: 3px 14px; background: var(--red); color: var(--paper); font-weight: 900; transform: skewX(-12deg); border: 2px solid var(--paper); box-shadow: 3px 3px 0 var(--ink); }
.tag-ink { padding: 3px 12px; background: var(--ink); color: var(--yellow); font-weight: 700; font-size: 14px; border: 2px solid var(--yellow); transform: skewX(-12deg); }
.boss-voice { display: inline-flex; align-items: center; gap: 10px; border: 3px solid var(--ink); background: var(--yellow); color: var(--ink); font-weight: 900; padding: 6px 16px; transform: skewX(-10deg); box-shadow: 4px 4px 0 var(--red2); }
.boss-voice i { font-style: normal; }
.boss-voice[hidden] { display: none; }
.boss-said { min-height: 1.7em; margin: 8px 0 10px; color: var(--yellow); font-weight: 700; }

/* ------------------------------------------------------------ systems */
.systems { background: var(--ink); background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1.4px); background-size: 7px 7px; }
.feats { display: grid; gap: 14px; }
.feat { position: relative; display: grid; grid-template-columns: 44% 1fr; background: var(--ink2); border: 2px solid var(--line); overflow: hidden; }
.feat-clip video { width: 100%; height: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: #000; }
.feat-tx { position: relative; padding: 10px 14px 12px; }
.feat-no { position: absolute; right: 10px; top: 4px; font-family: var(--latin); font-size: 28px; color: var(--yellow); -webkit-text-stroke: 2px var(--ink); paint-order: stroke fill; }
.feat h3 { margin: 0 0 4px; font-size: 22px; font-weight: 900; color: var(--paper); }
.feat p { margin: 0; color: var(--text); font-size: 14.5px; line-height: 1.6; }
.feat:nth-child(1) h3 { text-shadow: 3px 3px 0 var(--red); }
.feat:nth-child(2) h3 { text-shadow: 3px 3px 0 #1b8e95; }
.feat:nth-child(3) h3 { text-shadow: 3px 3px 0 #7a54d6; }
.feat:nth-child(4) h3 { text-shadow: 3px 3px 0 #c79a00; }
.modes-line { margin: 18px 0 0; font-size: 14px; color: var(--muted); }
.modes-line b { display: inline-block; margin-right: 10px; padding: 0 10px; background: var(--paper); color: var(--ink); transform: skewX(-12deg); }
.modes-line i { font-style: normal; margin: 0 8px; color: var(--red); }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: min(82vw, 420px); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 16px 10px; scrollbar-width: thin; cursor: grab; }
.rail.drag { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.stage { position: relative; margin: 0; scroll-snap-align: start; background: var(--ink2); border: 2px solid var(--line); }
.stage img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; pointer-events: none; }
.stage figcaption { padding: 12px 14px 14px; font-size: 14.5px; color: var(--text); }
.stage figcaption b { display: block; font-size: 22px; font-weight: 900; color: var(--paper); margin-bottom: 2px; }
.beat { display: inline-block; font-size: 12px; font-weight: 900; color: var(--ink); background: var(--cyan); padding: 0 8px; transform: skewX(-12deg); margin-bottom: 6px; }
.beat-song { background: var(--yellow); }
.song { position: absolute; right: 10px; top: 10px; width: 44px; height: 44px; border-radius: 50%; border: 3px solid var(--ink); background: var(--yellow); color: var(--ink); display: grid; place-items: center; box-shadow: 3px 3px 0 var(--ink); }
.song .eq { height: 18px; }
.song .eq s { width: 4px; }
.song.playing { background: var(--red); color: var(--paper); }
.rail-hint { text-align: center; color: var(--muted); font-size: 12px; margin: 4px 0 0; }

/* ------------------------------------------------------------ movies */
.movies { background:
  radial-gradient(rgba(0,0,0,.25) 1px, transparent 1.6px) 0 0 / 6px 6px,
  repeating-linear-gradient(-28deg, #c8203a 0 46px, #a51b31 46px 92px); }
.movie { position: relative; display: block; width: 100%; padding: 0; border: 3px solid var(--ink); background: #000; text-align: left; box-shadow: 6px 6px 0 var(--ink); }
.movie img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; opacity: .92; }
.movie-main img, .movie-pitch img { aspect-ratio: 16 / 9; }
.movie:hover .play { transform: translate(-50%, -50%) scale(1.1); }
.movie-tx { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 10px; background: linear-gradient(transparent, rgba(0,0,0,.88)); font-size: 13.5px; color: var(--text); }
.movie-tx b { display: block; font-size: 19px; font-weight: 900; color: var(--paper); }
.movie-main { margin-bottom: 18px; }
.movie-main .play { width: 92px; height: 92px; font-size: 36px; }
.movie-row { display: grid; gap: 16px; }

/* ------------------------------------------------------------ dev */
.dev { background: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1.6px) 0 0 / 6px 6px, linear-gradient(160deg, #15121d, #0b0b10 70%); border-top: 4px solid var(--yellow); }
.dev-grid { display: grid; gap: 16px; }
.dev-nums { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.dev-nums li { background: var(--ink); border: 2px solid var(--line); border-left: 5px solid var(--yellow); padding: 10px 12px; }
.dev-nums b { display: block; font-family: var(--latin); font-size: clamp(22px, 6vw, 34px); line-height: 1.15; color: var(--yellow); text-shadow: 3px 3px 0 var(--red); }
.dev-nums span { font-size: 13.5px; color: var(--text); }
.dev-nums b span { font: inherit; color: inherit; }
.plat { display: grid; gap: 8px; margin-top: 22px; padding: 14px 16px; background: var(--ink); border: 2px solid var(--line); }
.plat p { margin: 0; font-size: 14.5px; }
.plat p > b { display: inline-block; min-width: 3.2em; margin-right: 8px; color: var(--ink); background: var(--paper); text-align: center; transform: skewX(-12deg); }
.k { display: inline-grid; place-items: center; min-width: 28px; height: 28px; margin: 0 2px; padding: 0 6px; font-family: var(--latin); font-size: 14px; border: 2px solid var(--ink); border-radius: 5px; background: var(--paper); color: var(--ink); box-shadow: 0 3px 0 #000; vertical-align: middle; }
.k.hi { background: var(--red); color: var(--paper); }
.k.mid { background: var(--cyan); }
.k.lo { background: var(--yellow); }

/* ------------------------------------------------------------ footer + player */
.foot { padding: 32px 16px 44px; text-align: center; font-size: 13px; color: var(--muted); border-top: 4px solid var(--red); }
.foot p { margin: 4px 0; }
.foot-logo { font-size: 28px !important; font-weight: 900; color: var(--paper); text-shadow: 3px 3px 0 var(--red); }
.player { width: min(1100px, 96vw); padding: 0; border: 3px solid var(--paper); background: #000; color: var(--text); box-shadow: 10px 10px 0 var(--red); }
.player::backdrop { background: rgba(5,5,8,.9); }
.player video { width: 100%; max-height: 80vh; background: #000; }
.player-cap { margin: 0; padding: 8px 14px; font-size: 14px; background: var(--ink); }
.player-x { position: absolute; z-index: 2; right: 8px; top: 4px; border: 0; background: none; color: var(--paper); font-size: 34px; line-height: 1; text-shadow: 0 0 6px #000; }

/* reveal (only once app.js runs; ?noreveal shows everything) */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .5s ease-out, transform .5s ease-out; }
.js .reveal.in { opacity: 1; transform: none; }

/* ------------------------------------------------------------ wider screens */
@media (min-width: 760px) {
  :root { --bar-h: 56px; }
  .bar { padding: 0 24px; }
  .hero { min-height: min(100svh, 980px); display: grid; align-items: center; }
  .hero-media { position: absolute; inset: 0; aspect-ratio: auto; }
  .hero-shade { background: radial-gradient(rgba(0,0,0,.32) 1px, transparent 1.6px) 0 0 / 5px 5px,
    linear-gradient(90deg, rgba(11,11,16,.82) 0%, rgba(11,11,16,.45) 55%, rgba(11,11,16,.62) 100%), linear-gradient(transparent 70%, var(--ink)); }
  .hero-in { margin: 0 auto; width: min(1240px, 100% - 48px); padding: 90px 0 70px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; text-align: left; }
  .cta { justify-content: flex-start; }
  .cta .btn-red { flex: 0 0 auto; }
  .hero-in > * { min-width: 0; }
  .hero-pv { display: block; position: relative; padding: 0; border: 3px solid var(--paper); background: #000; box-shadow: 10px 10px 0 var(--red); transform: rotate(2deg); transition: transform .2s; }
  .hero-pv:hover { transform: rotate(0deg) scale(1.02); }
  .hero-pv img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
  .hero-pv-tx { position: absolute; left: -3px; bottom: -18px; padding: 4px 14px; background: var(--yellow); color: var(--ink); font-weight: 700; font-size: 14px; transform: skewX(-12deg); border: 3px solid var(--ink); }
  .hero-pv-tx b { color: var(--ink); margin-right: 8px; }
  .sel { grid-template-columns: 1.05fr 1fr; align-items: center; min-height: 640px; }
  .sel-stage { grid-column: 1; grid-row: 1; height: 640px; }
  .sel-info { grid-column: 2; grid-row: 1; margin: 0 24px 0 0; padding: 22px 24px 20px; }
  .sel-list { grid-column: 1 / -1; padding: 14px 24px 26px; gap: 10px; grid-auto-flow: row; grid-template-columns: repeat(5, 1fr); overflow: visible; }
  .boss-grid { grid-template-columns: 220px 1fr; align-items: start; }
  .boss-tabs { grid-template-columns: 1fr; gap: 12px; }
  .boss-tabs button { padding: 14px 14px; }
  .boss-tabs b { font-size: 20px; }
  .boss-tabs span { font-size: 10px; }
  .boss-panel { grid-template-columns: .9fr 1.1fr; align-items: center; padding: 20px; }
  .feats { grid-template-columns: repeat(4, 1fr); gap: 14px; }
  .feat { grid-template-columns: 1fr; }
  .feat-tx { padding: 12px 14px 14px; }
  .movie-row { grid-template-columns: repeat(3, 1fr); }
  .dev-grid { grid-template-columns: 1fr 1.3fr; align-items: center; }
  .plat { grid-template-columns: 1fr 1fr; }
  .rail { padding: 4px max(16px, (100vw - 1180px) / 2) 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .sel-art, .boss-art img, .js .logo { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .playing .eq s { animation: none; height: 70%; }
}
