/* ==========================================================================
   加密格斗 CRYPTO FIGHTER — 街霸级高能街机 UI 样式表
   ========================================================================== */

:root {
  --bg: #050810;
  --panel: #0c1220;
  --gold: #f0b90b;
  --gold-hi: #ffe45e;
  --crimson: #e11d48;
  --cyan: #38bdf8;
  --green: #22c55e;
  --text: #f8fafc;
  --muted: #94a3b8;
  --font-display: "Impact", "Arial Black", "Microsoft YaHei UI", sans-serif;
  --font-sans: "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;
  --font-mono: "JetBrains Mono", "Cascadia Code", Consolas, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; user-select: none; }
html, body { width: 100%; height: 100%; overflow: hidden; background: var(--bg); color: var(--text); font-family: var(--font-sans); }
.hidden { display: none !important; }

.arcade-root { position: relative; width: 100vw; height: 100vh; overflow: hidden; background: var(--bg); }
.screen { position: absolute; inset: 0; opacity: 0; pointer-events: none; transition: opacity 0.35s ease; }
.screen.active { opacity: 1; pointer-events: auto; }

/* ==================== 1. TITLE SCREEN (街霸街机主界面) ==================== */
.screen-title {
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at 50% 30%, #141c30 0%, #05070e 75%);
  overflow: hidden;
}
.title-bg-grid {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background-image:
    linear-gradient(rgba(240, 185, 11, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 189, 248, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, transparent 12%, rgba(0, 0, 0, 0.7) 75%, #000 100%);
}
.title-hero-strip {
  position: absolute; inset: -10px -28px; display: grid; grid-template-columns: repeat(8, 1fr); gap: 4px;
  opacity: 0.46; filter: contrast(1.18) saturate(1.18);
  transform: skewX(-4deg);
}
.title-hero-strip img.hero-mystery { filter: brightness(0.55) contrast(1.35) saturate(0.75); }
.title-hero-strip img {
  width: 100%; height: 100%; object-fit: cover; object-position: top center;
  border-left: 1px solid rgba(255, 255, 255, 0.06);
}
.title-vignette {
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background:
    radial-gradient(ellipse 56% 42% at 50% 34%, rgba(240, 185, 11, 0.16) 0%, transparent 65%),
    radial-gradient(ellipse at center, rgba(6, 10, 20, 0.48) 0%, rgba(5, 7, 14, 0.90) 68%, #04060c 100%),
    linear-gradient(180deg, rgba(5, 7, 14, 0.80) 0%, rgba(5, 7, 14, 0.36) 44%, rgba(5, 7, 14, 0.96) 100%);
}
.title-scanlines {
  position: absolute; inset: 0; z-index: 4; pointer-events: none; opacity: 0.14;
  background: repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0px, rgba(255, 255, 255, 0.08) 1px, transparent 1px, transparent 4px);
}

.title-center {
  position: relative; z-index: 10; width: min(94vw, 1180px);
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px;
}
.arcade-ribbon {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.2em; font-weight: 800; color: var(--gold-hi);
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.92), rgba(52, 36, 8, 0.95), rgba(15, 23, 42, 0.92));
  border: 1.5px solid rgba(250, 204, 21, 0.72);
  padding: 6px 22px; transform: skewX(-14deg);
  box-shadow: 0 4px 24px rgba(240, 185, 11, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}
.arcade-ribbon > * { transform: skewX(14deg); }
.ribbon-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--gold-hi);
  box-shadow: 0 0 10px var(--gold-hi); animation: pulseDot 1.6s ease-in-out infinite;
}
@keyframes pulseDot { 0%, 100% { opacity: 1; transform: skewX(14deg) scale(1); } 50% { opacity: 0.4; transform: skewX(14deg) scale(0.7); } }

.arcade-logo { display: flex; flex-direction: column; align-items: center; gap: 12px; margin: 0; }
.logo-top {
  position: relative; display: inline-block;
  font-size: clamp(60px, 7.6vw, 98px); font-weight: 900; letter-spacing: 0.1em; line-height: 1.04;
  background: linear-gradient(180deg, #fffdf0 0%, #ffe45e 34%, #f59e0b 62%, #dc2626 94%, #7f1d1d 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 5px 0 #090c14) drop-shadow(0 10px 14px rgba(0, 0, 0, 0.85)) drop-shadow(0 0 34px rgba(240, 185, 11, 0.55));
  transform: skewX(-9deg);
  padding: 0 14px;
}
.logo-sub {
  position: relative; z-index: 2;
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--font-display); font-size: clamp(14px, 1.75vw, 20px);
  letter-spacing: 0.26em; color: #f8fafc; line-height: 1.2;
  text-shadow: 0 3px 12px #000, 0 0 18px rgba(56, 189, 248, 0.42);
}
.logo-sub::before, .logo-sub::after {
  content: ""; width: 48px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-hi));
}
.logo-sub::after { background: linear-gradient(90deg, var(--gold-hi), transparent); }

.arcade-tagline {
  font-size: 14px; font-weight: 700; color: #e0f2fe; letter-spacing: 0.06em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.92);
  background: rgba(8, 13, 24, 0.72); padding: 6px 22px; border-radius: 99px;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.mode-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; width: 100%; margin-top: 4px; }
.mode-btn {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; align-items: flex-start; gap: 9px; text-align: left;
  min-height: 162px; padding: 22px 24px 20px; cursor: pointer; border-radius: 12px;
  background: linear-gradient(155deg, rgba(24, 35, 58, 0.94) 0%, rgba(10, 15, 28, 0.97) 100%);
  border: 2px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.58), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.2s, box-shadow 0.2s;
  backdrop-filter: blur(12px);
}
.mode-btn::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--gold-hi), #f97316);
}
.mode-btn::after {
  content: ""; position: absolute; top: -40%; left: -75%; width: 45%; height: 180%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent);
  transform: skewX(-24deg); transition: left 0.52s ease; pointer-events: none;
}
.mode-btn:hover::after { left: 135%; }
.mode-btn:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: var(--gold-hi);
  box-shadow: 0 18px 38px rgba(240, 185, 11, 0.36), 0 0 24px rgba(250, 204, 21, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.mode-btn.mode-primary {
  background: linear-gradient(148deg, rgba(96, 64, 10, 0.92) 0%, rgba(28, 22, 14, 0.96) 55%, rgba(12, 16, 28, 0.98) 100%);
  border-color: rgba(250, 204, 21, 0.85);
  box-shadow: 0 12px 32px rgba(240, 185, 11, 0.26), inset 0 1px 0 rgba(254, 240, 138, 0.32);
}
.mode-btn.mode-cyan::before { background: linear-gradient(90deg, #7dd3fc, #2563eb); }
.mode-btn.mode-cyan {
  background: linear-gradient(148deg, rgba(12, 68, 108, 0.92) 0%, rgba(12, 24, 44, 0.96) 58%, rgba(9, 14, 26, 0.98) 100%);
  border-color: rgba(56, 189, 248, 0.78);
  box-shadow: 0 12px 32px rgba(56, 189, 248, 0.22), inset 0 1px 0 rgba(186, 230, 253, 0.28);
}
.mode-btn.mode-cyan:hover {
  border-color: #bae6fd;
  box-shadow: 0 18px 38px rgba(56, 189, 248, 0.4), 0 0 24px rgba(56, 189, 248, 0.25);
}
.mode-btn.mode-cyan .m-badge { background: linear-gradient(90deg, #38bdf8, #0284c7); color: #fff; }
.mode-btn.mode-cyan .m-cta { color: #7dd3fc; }

.mode-btn.mode-crimson::before { background: linear-gradient(90deg, #fda4af, #e11d48); }
.mode-btn.mode-crimson {
  background: linear-gradient(148deg, rgba(108, 18, 44, 0.92) 0%, rgba(30, 12, 24, 0.96) 58%, rgba(12, 12, 24, 0.98) 100%);
  border-color: rgba(251, 113, 133, 0.78);
  box-shadow: 0 12px 32px rgba(225, 29, 72, 0.24), inset 0 1px 0 rgba(254, 205, 211, 0.28);
}
.mode-btn.mode-crimson:hover {
  border-color: #fecdd3;
  box-shadow: 0 18px 38px rgba(225, 29, 72, 0.42), 0 0 24px rgba(244, 63, 94, 0.26);
}
.mode-btn.mode-crimson .m-badge { background: linear-gradient(90deg, #f43f5e, #be123c); color: #fff; }
.mode-btn.mode-crimson .m-cta { color: #fda4af; }

.m-top-row {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
}
.m-badge {
  font-family: var(--font-mono); font-size: 11.5px; font-weight: 900; letter-spacing: 0.14em;
  color: #090c12; background: linear-gradient(90deg, var(--gold-hi), var(--gold));
  padding: 3px 11px; border-radius: 4px; transform: skewX(-10deg);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.35);
}
.m-icon { font-size: 24px; line-height: 1; filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.65)); }
.mode-btn strong {
  font-size: 25px; font-weight: 900; letter-spacing: 0.04em; line-height: 1.15;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.75);
}
.mode-btn small { font-size: 13.5px; color: #e2e8f0; line-height: 1.48; flex: 1; }
.m-cta {
  margin-top: 4px; display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 900; letter-spacing: 0.08em; color: var(--gold-hi);
}
.m-cta i { font-style: normal; transition: transform 0.2s ease; }
.mode-btn:hover .m-cta i { transform: translateX(5px); }

/* 醒目大号自由训练场横幅入口卡 */
.showcase-launch-btn {
  position: relative; overflow: hidden;
  width: 100%; min-height: 86px;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 16px 26px; cursor: pointer; border-radius: 12px; text-align: left;
  background: linear-gradient(95deg, rgba(8, 78, 102, 0.94) 0%, rgba(14, 34, 56, 0.96) 52%, rgba(92, 54, 12, 0.94) 100%);
  border: 2px solid rgba(56, 189, 248, 0.82);
  box-shadow: 0 12px 32px rgba(14, 165, 233, 0.24), inset 0 1px 0 rgba(186, 230, 253, 0.3);
  color: #fff; transition: all 0.2s cubic-bezier(0.22, 1, 0.36, 1); backdrop-filter: blur(10px);
}
.showcase-launch-btn::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px;
  background: linear-gradient(180deg, #38bdf8, #facc15);
}
.showcase-launch-btn::after {
  content: ""; position: absolute; top: -40%; left: -60%; width: 36%; height: 180%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.16), transparent);
  transform: skewX(-24deg); transition: left 0.55s ease; pointer-events: none;
}
.showcase-launch-btn:hover::after { left: 130%; }
.showcase-launch-btn:hover {
  transform: translateY(-4px) scale(1.012);
  border-color: var(--gold-hi);
  box-shadow: 0 16px 36px rgba(56, 189, 248, 0.38), 0 0 26px rgba(250, 204, 21, 0.32);
}
.sc-launch-left { display: flex; align-items: center; gap: 16px; min-width: 0; }
.sc-launch-icon {
  width: 50px; height: 50px; border-radius: 10px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center; font-size: 28px;
  background: linear-gradient(145deg, rgba(56, 189, 248, 0.28), rgba(250, 204, 21, 0.22));
  border: 1.5px solid rgba(125, 211, 252, 0.55);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
}
.sc-launch-copy { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.sc-launch-title-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.sc-launch-pill {
  font-family: var(--font-mono); font-size: 11px; font-weight: 900; letter-spacing: 0.12em;
  color: #06121e; background: linear-gradient(90deg, #38bdf8, #7dd3fc);
  padding: 3px 9px; border-radius: 4px; flex-shrink: 0; transform: skewX(-10deg);
}
.sc-launch-main {
  font-size: 22px; font-weight: 900; color: var(--gold-hi); letter-spacing: 0.04em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}
.showcase-launch-btn small { font-size: 13.5px; color: #e2e8f0; line-height: 1.35; }
.sc-launch-cta {
  display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0;
  padding: 10px 20px; border-radius: 8px;
  font-size: 14.5px; font-weight: 900; letter-spacing: 0.06em; color: #090c12;
  background: linear-gradient(90deg, #fef08a, #f59e0b);
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.showcase-launch-btn:hover .sc-launch-cta {
  transform: scale(1.04);
  box-shadow: 0 6px 22px rgba(250, 204, 21, 0.65);
}
.sc-launch-arrow {
  font-style: normal; font-weight: 900; font-size: 17px; color: #090c12;
  transition: transform 0.2s ease;
}
.showcase-launch-btn:hover .sc-launch-arrow { transform: translateX(4px); }

.title-controls-bar {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 16px;
  font-size: 13px; color: #e2e8f0;
  background: rgba(7, 11, 20, 0.9); padding: 10px 26px; border-radius: 99px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.6);
}
.title-controls-bar span { display: inline-flex; align-items: center; gap: 6px; }
.title-controls-bar kbd {
  font-family: var(--font-mono); font-size: 11.5px; font-weight: 800; color: var(--gold-hi);
  background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
  border: 1px solid rgba(250, 204, 21, 0.48); border-radius: 4px; padding: 2px 8px;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.16);
}
.title-controls-bar em { font-style: normal; font-size: 11.5px; color: #94a3b8; }

.sound-pill {
  position: absolute; top: 18px; right: 22px; z-index: 20;
  background: rgba(12, 18, 32, 0.88); border: 1px solid rgba(250, 204, 21, 0.35);
  color: #f8fafc; padding: 7px 15px; border-radius: 99px; cursor: pointer; font-size: 12.5px; font-weight: 700;
  backdrop-filter: blur(8px); transition: all 0.18s ease;
}
.sound-pill:hover { border-color: var(--gold-hi); color: var(--gold-hi); box-shadow: 0 0 16px rgba(250, 204, 21, 0.25); }

/* ==================== 2. CHARACTER SELECT (正宗街霸选人界面) ==================== */
.screen-select {
  position: relative;
  display: flex; flex-direction: column; padding: 10px 18px 12px; gap: 10px;
  height: 100%; overflow: hidden;
  background:
    radial-gradient(ellipse 46% 65% at 14% 48%, rgba(240, 185, 11, 0.16) 0%, transparent 72%),
    radial-gradient(ellipse 46% 65% at 86% 48%, rgba(225, 29, 72, 0.18) 0%, transparent 72%),
    linear-gradient(180deg, #0b1120 0%, #050810 60%, #070b14 100%);
}
.select-bg-fx {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    repeating-linear-gradient(-28deg, rgba(255, 255, 255, 0.022) 0px, rgba(255, 255, 255, 0.022) 2px, transparent 2px, transparent 26px),
    linear-gradient(rgba(56, 189, 248, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 189, 248, 0.04) 1px, transparent 1px);
  background-size: auto, 44px 44px, 44px 44px;
}

.select-header {
  position: relative; z-index: 5;
  display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-shrink: 0;
  padding-bottom: 6px; border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}
.select-title-wrap { text-align: center; }
.select-kicker {
  font-family: var(--font-mono); font-size: 10px; font-weight: 800; letter-spacing: 0.24em;
  color: var(--cyan); text-transform: uppercase;
}
.select-title-wrap h2 {
  font-size: 21px; font-weight: 900; font-style: italic; letter-spacing: 0.08em;
  background: linear-gradient(180deg, #fffdf0 0%, var(--gold-hi) 65%, #ea580c 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 3px 10px rgba(240, 185, 11, 0.35));
}
.select-options { display: flex; gap: 8px; }
.opt-pill {
  display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 700; color: #cbd5e1;
  background: rgba(12, 18, 32, 0.92); border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 5px 10px; border-radius: 4px;
}
.opt-pill select {
  background: #070b14; color: var(--gold-hi); border: 1px solid rgba(240, 185, 11, 0.42);
  border-radius: 3px; padding: 3px 7px; font-family: var(--font-sans); font-size: 12px; font-weight: 700; cursor: pointer;
}

.arcade-small-btn {
  background: linear-gradient(180deg, rgba(24, 34, 54, 0.92), rgba(11, 16, 28, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #e2e8f0; padding: 8px 15px; border-radius: 4px; cursor: pointer; font-size: 12.5px; font-weight: 700;
  transition: all 0.16s ease;
}
.arcade-small-btn:hover { border-color: var(--gold-hi); color: var(--gold-hi); box-shadow: 0 0 14px rgba(240, 185, 11, 0.22); }

.select-body {
  position: relative; z-index: 5;
  flex: 1; min-height: 0; display: grid; grid-template-columns: 312px minmax(0, 1fr) 312px; gap: 14px;
  align-items: stretch; overflow: hidden;
}

/* 左右街霸英雄站姿展示台 */
.fighter-preview {
  --fighter-accent: var(--gold);
  position: relative;
  background: linear-gradient(180deg, rgba(14, 20, 34, 0.94) 0%, rgba(8, 11, 20, 0.97) 100%);
  border: 1.5px solid rgba(240, 185, 11, 0.42);
  border-top: 3px solid var(--fighter-accent);
  border-radius: 6px; padding: 8px 10px 9px;
  display: flex; flex-direction: column; gap: 7px;
  min-height: 0; overflow: hidden;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.p2-preview {
  --fighter-accent: var(--crimson);
  border-color: rgba(225, 29, 72, 0.48);
}

.fp-hero-stage {
  position: relative; height: 232px; flex-shrink: 0; overflow: hidden;
  border-radius: 5px; background: #050811;
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.fp-bg-portrait {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 14%;
  opacity: 0.30; filter: contrast(1.2) saturate(1.2) blur(1px);
  transform: scale(1.06); transition: opacity 0.25s ease, filter 0.25s ease;
}
.is-mystery-preview .fp-bg-portrait {
  opacity: 0.94; filter: contrast(1.12) saturate(1.1); transform: scale(1);
}
.fp-glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 75% 58% at 50% 42%, color-mix(in srgb, var(--fighter-accent) 32%, transparent) 0%, transparent 72%),
    linear-gradient(180deg, rgba(5, 8, 16, 0.15) 0%, rgba(5, 8, 16, 0.18) 54%, rgba(5, 8, 16, 0.95) 100%);
}
.fp-stand-sprite {
  position: absolute; left: 50%; bottom: 20px; height: 204px; width: auto; max-width: 100%;
  transform: translateX(-50%); object-fit: contain; pointer-events: none; z-index: 2;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.92)) drop-shadow(0 0 14px color-mix(in srgb, var(--fighter-accent) 45%, transparent));
  animation: sfStandInLeft 0.34s cubic-bezier(0.18, 0.9, 0.28, 1) both;
}
.p2-preview .fp-stand-sprite { animation-name: sfStandInRight; }
@keyframes sfStandInLeft {
  from { opacity: 0; transform: translateX(-68%) scale(0.94); }
  to { opacity: 1; transform: translateX(-50%) scale(1); }
}
@keyframes sfStandInRight {
  from { opacity: 0; transform: translateX(-32%) scale(0.94); }
  to { opacity: 1; transform: translateX(-50%) scale(1); }
}

.fp-slot-tag {
  position: absolute; top: 8px; left: 8px; z-index: 4;
  font-family: var(--font-mono); font-size: 10.5px; font-weight: 900; letter-spacing: 0.14em;
  color: #090c12; background: linear-gradient(90deg, var(--gold-hi), var(--gold));
  padding: 3px 10px; transform: skewX(-12deg);
  box-shadow: 0 3px 12px rgba(240, 185, 11, 0.45);
}
.p2-preview .fp-slot-tag {
  left: auto; right: 8px;
  background: linear-gradient(90deg, #e11d48, #fb7185); color: #fff;
  box-shadow: 0 3px 12px rgba(225, 29, 72, 0.5);
}

/* 自由训练场右侧竖排双木桩选择卡（上：嗯哼 胖子木桩 / 下：Afeng 小孩木桩） */
.p2-preview.is-training-stack > :not(#training-dummy-stack) {
  display: none !important;
}
.dummy-stack {
  display: flex; flex-direction: column; gap: 10px;
  flex: 1; height: 100%; min-height: 0;
}
.dummy-stack-hdr {
  font-family: var(--font-mono); font-size: 11px; font-weight: 900; letter-spacing: 0.14em;
  text-align: center; color: #fff;
  background: linear-gradient(90deg, #e11d48, #fb7185);
  padding: 5px 10px; border-radius: 4px; flex-shrink: 0;
  box-shadow: 0 3px 12px rgba(225, 29, 72, 0.45);
}
.dummy-card {
  position: relative; flex: 1; min-height: 210px; width: 100%;
  border-radius: 7px; overflow: hidden; cursor: pointer;
  background: #050811; padding: 0; text-align: center;
  border: 2px solid rgba(255, 255, 255, 0.16);
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}
.dummy-card:hover {
  border-color: rgba(250, 204, 21, 0.72);
  transform: translateY(-1px);
}
.dummy-card.is-active {
  border-color: #facc15;
  box-shadow: 0 0 22px rgba(250, 204, 21, 0.45), inset 0 0 18px rgba(250, 204, 21, 0.14);
}
.dc-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 18%;
  opacity: 0.28; filter: contrast(1.15) saturate(1.15) blur(1px);
  pointer-events: none;
}
.dummy-card.is-active .dc-bg { opacity: 0.38; }
.dc-glow {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(5, 8, 16, 0.12) 0%, rgba(5, 8, 16, 0.22) 56%, rgba(5, 8, 16, 0.94) 100%);
}
.dummy-card-fat {
  background: radial-gradient(ellipse 80% 62% at 50% 48%, rgba(250, 204, 21, 0.16) 0%, #080d1a 68%, #04070f 100%);
}
.dc-sprite {
  position: absolute; left: 50%; transform: translateX(-50%);
  width: auto; max-width: none; object-fit: contain; pointer-events: none; z-index: 2;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.94));
}
.dc-sprite-fat { bottom: 32px; height: 98%; }
.dc-sprite-kid { bottom: 30px; height: 128%; }
.dc-selected-badge {
  position: absolute; top: 8px; right: 8px; z-index: 4;
  font-family: var(--font-mono); font-size: 11px; font-weight: 900; letter-spacing: 0.06em;
  color: #090c12; background: linear-gradient(90deg, #fef08a, #facc15);
  border: 1.5px solid #fff; padding: 2px 9px; border-radius: 4px;
  box-shadow: 0 3px 10px rgba(250, 204, 21, 0.55);
  opacity: 0; transform: scale(0.86); transition: all 0.16s ease;
}
.dummy-card.is-active .dc-selected-badge { opacity: 1; transform: scale(1); }
.dc-caption {
  position: absolute; left: 0; right: 0; bottom: 8px; z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 0 10px; pointer-events: none;
}
.dc-name {
  font-size: 24px; font-weight: 900; font-style: italic; line-height: 1.05;
  color: #fff; text-shadow: 0 2px 10px rgba(0, 0, 0, 0.95);
  padding: 0 6px;
}
.dummy-card.is-active .dc-name { color: #fef08a; }
.dc-sub {
  font-size: 11.5px; font-weight: 700; color: #cbd5e1;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.95);
}

/* 街霸锁定 READY 砸屏印章 */
.fp-ready-stamp {
  position: absolute; top: 8px; right: 8px; z-index: 6;
  font-family: var(--font-mono); font-size: 11px; font-weight: 900; letter-spacing: 0.08em;
  color: #090c12; background: linear-gradient(90deg, #fef08a, #facc15);
  border: 1.5px solid #fff; padding: 3px 10px; transform: skewX(-12deg);
  box-shadow: 0 0 18px rgba(250, 204, 21, 0.85);
  animation: sfReadySlam 0.28s cubic-bezier(0.18, 0.9, 0.25, 1) both;
}
.p2-preview .fp-ready-stamp {
  right: auto; left: 8px;
  color: #fff; background: linear-gradient(90deg, #e11d48, #fb7185);
  border-color: #ffe4e6; box-shadow: 0 0 18px rgba(225, 29, 72, 0.85);
}
@keyframes sfReadySlam {
  from { opacity: 0; transform: skewX(-12deg) scale(1.9); }
  to { opacity: 1; transform: skewX(-12deg) scale(1); }
}
.fighter-preview.is-locked {
  border-color: var(--gold-hi);
  box-shadow: 0 0 26px rgba(250, 204, 21, 0.4), inset 0 0 0 1px rgba(254, 240, 138, 0.5);
}
.fighter-preview.p2-preview.is-locked {
  border-color: #fb7185;
  box-shadow: 0 0 26px rgba(225, 29, 72, 0.45), inset 0 0 0 1px rgba(253, 164, 175, 0.5);
}

.fp-hero-caption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 4;
  padding: 20px 10px 7px; text-align: center;
  background: linear-gradient(180deg, transparent 0%, rgba(5, 8, 16, 0.92) 55%, rgba(5, 8, 16, 0.98) 100%);
}
.fp-name {
  font-size: 20px; font-weight: 900; font-style: italic; color: #fff; line-height: 1.12;
  letter-spacing: 0.04em; text-shadow: 0 3px 12px #000;
}
.fp-title { font-size: 11px; font-weight: 700; color: var(--gold-hi); margin-top: 2px; letter-spacing: 0.03em; }
.p2-preview .fp-title { color: #fda4af; }

/* 街霸分段能量属性条 */
.fp-stats {
  display: flex; flex-direction: column; gap: 4px; flex-shrink: 0;
  background: rgba(5, 8, 16, 0.55); padding: 6px 8px; border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.stat-row { display: flex; align-items: center; gap: 7px; font-size: 11px; color: #cbd5e1; font-weight: 700; }
.stat-row span:first-child { width: 44px; white-space: nowrap; color: var(--muted); }
.stat-row em {
  width: 24px; text-align: right; font-style: normal; font-family: var(--font-mono);
  font-size: 10.5px; font-weight: 800; color: var(--gold-hi);
}
.p2-preview .stat-row em { color: #fda4af; }
.stat-track {
  position: relative; flex: 1; height: 7px; background: rgba(255, 255, 255, 0.08);
  border-radius: 2px; overflow: hidden; transform: skewX(-14deg);
}
.stat-track::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(90deg, transparent 0px, transparent 10px, rgba(5, 8, 16, 0.72) 10px, rgba(5, 8, 16, 0.72) 12px);
}
.stat-track i { display: block; height: 100%; background: linear-gradient(90deg, #d97706, var(--gold-hi)); transition: width 0.3s ease; }
.p2-preview .stat-track i { background: linear-gradient(90deg, #be123c, #fb7185); }

/* 技能速览表 */
.fp-moves {
  flex: 1; min-height: 0; overflow-y: auto; padding-right: 3px;
  display: flex; flex-direction: column; gap: 4px; font-size: 11px;
}
.fp-moves::-webkit-scrollbar { width: 4px; }
.fp-moves::-webkit-scrollbar-thumb { background: rgba(240, 185, 11, 0.38); border-radius: 99px; }
.fp-move-item {
  background: rgba(255, 255, 255, 0.04); border-left: 3px solid var(--gold);
  padding: 4px 7px; border-radius: 0 4px 4px 0; flex-shrink: 0;
}
.fp-move-item.is-guard { border-left-color: var(--cyan); background: rgba(56, 189, 248, 0.11); }
.fp-move-item.is-guard .fp-move-head kbd { background: rgba(56, 189, 248, 0.22); color: #7dd3fc; border-color: rgba(56, 189, 248, 0.55); }
.fp-move-item.is-super { border-left-color: var(--crimson); background: rgba(225, 29, 72, 0.14); }
.fp-move-item.is-super .fp-move-head kbd { background: rgba(225, 29, 72, 0.28); color: #fda4af; border-color: rgba(251, 113, 133, 0.6); }
.fp-move-head { display: flex; align-items: center; gap: 5px; font-weight: 800; color: #fff; margin-bottom: 1px; font-size: 11.5px; }
.fp-move-head kbd {
  font-family: var(--font-mono); font-size: 9.5px; padding: 1px 5px; border-radius: 3px;
  background: rgba(240, 185, 11, 0.22); color: var(--gold-hi); border: 1px solid rgba(240, 185, 11, 0.5); flex-shrink: 0;
}
.fp-move-desc { color: #94a3b8; line-height: 1.32; font-size: 10.5px; }

/* 中央街霸 VS 交锋条 + 4×2 选人方阵 + 出战按钮 */
.roster-center {
  display: flex; flex-direction: column; justify-content: space-between; gap: 10px;
  min-height: 0; height: 100%; overflow: hidden;
}

.sf-matchup-bar {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px;
  padding: 7px 14px; flex-shrink: 0;
  background: linear-gradient(90deg, rgba(240, 185, 11, 0.16) 0%, rgba(12, 18, 32, 0.94) 44%, rgba(12, 18, 32, 0.94) 56%, rgba(225, 29, 72, 0.18) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
}
.sf-mu-side { display: flex; align-items: center; gap: 8px; min-width: 0; }
.sf-mu-side.is-p2 { justify-content: flex-end; }
.sf-mu-side strong {
  font-size: 17px; font-weight: 900; font-style: italic; color: #fff;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.sf-mu-tag {
  font-family: var(--font-mono); font-size: 10.5px; font-weight: 900;
  padding: 2px 7px; border-radius: 3px; transform: skewX(-10deg); flex-shrink: 0;
}
.sf-mu-side.is-p1 .sf-mu-tag { background: var(--gold-hi); color: #090c12; }
.sf-mu-side.is-p2 .sf-mu-tag { background: var(--crimson); color: #fff; }
.sf-mu-vs { display: flex; flex-direction: column; align-items: center; gap: 1px; }
.sf-vs-badge {
  display: inline-block; padding: 2px 10px;
  font-family: var(--font-display); font-size: 24px; font-weight: 900; font-style: italic; line-height: 1.12;
  background: linear-gradient(180deg, #fff 0%, var(--gold-hi) 52%, #e11d48 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 8px rgba(240, 185, 11, 0.55));
}
.select-step-hint { font-size: 11px; color: #7dd3fc; font-weight: 700; white-space: nowrap; }

.roster-grid {
  flex: 1; min-height: 0; display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.roster-card {
  --rc-accent: var(--gold);
  position: relative; overflow: hidden; cursor: pointer;
  background: linear-gradient(180deg, #131c30 0%, #070b14 100%);
  border: 2px solid rgba(255, 255, 255, 0.16);
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  transition: transform 0.16s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.16s, box-shadow 0.16s;
  height: 100%; min-height: 0;
}
.roster-card img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 14%; display: block;
  transition: transform 0.22s ease, filter 0.2s ease;
}
.roster-card:hover { transform: translateY(-3px) scale(1.025); border-color: #ffffff; z-index: 4; }
.roster-card:hover img { transform: scale(1.07); filter: contrast(1.08) brightness(1.06); }

/* 街霸经典发光四角准星框 */
.rc-frame-corners { position: absolute; inset: 4px; pointer-events: none; z-index: 4; opacity: 0; transition: opacity 0.16s ease; }
.rc-frame-corners i { position: absolute; width: 14px; height: 14px; border: 3px solid #fff; }
.rc-frame-corners i:nth-child(1) { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.rc-frame-corners i:nth-child(2) { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.rc-frame-corners i:nth-child(3) { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.rc-frame-corners i:nth-child(4) { bottom: 0; right: 0; border-left: 0; border-top: 0; }
.roster-card:hover .rc-frame-corners { opacity: 0.78; }

.roster-card.sel-p1 {
  border-color: var(--gold-hi); z-index: 3;
  box-shadow: inset 0 0 0 2px var(--gold-hi);
  filter: drop-shadow(0 0 12px rgba(240, 185, 11, 0.72));
}
.roster-card.sel-p1 .rc-frame-corners { opacity: 1; animation: sfCursorPulse 1.1s ease-in-out infinite; }
.roster-card.sel-p1 .rc-frame-corners i { border-color: var(--gold-hi); filter: drop-shadow(0 0 6px var(--gold)); }

.roster-card.sel-p2 {
  border-color: #fb7185; z-index: 3;
  box-shadow: inset 0 0 0 2px var(--crimson);
  filter: drop-shadow(0 0 12px rgba(225, 29, 72, 0.72));
}
.roster-card.sel-p2 .rc-frame-corners { opacity: 1; animation: sfCursorPulse 1.1s ease-in-out infinite; }
.roster-card.sel-p2 .rc-frame-corners i { border-color: #fb7185; filter: drop-shadow(0 0 6px var(--crimson)); }

.roster-card.sel-p1.sel-p2 {
  border-color: #fff;
  box-shadow: inset 0 0 0 2px var(--gold-hi);
  filter: drop-shadow(0 0 10px rgba(240, 185, 11, 0.75)) drop-shadow(0 0 14px rgba(225, 29, 72, 0.7));
}
.roster-card.locked-p1 .rc-frame-corners { animation: none; opacity: 1; }
.roster-card.locked-p2 .rc-frame-corners { animation: none; opacity: 1; }
.roster-card.locked-p1 { filter: drop-shadow(0 0 16px rgba(250, 204, 21, 0.92)); }
.roster-card.locked-p2 { filter: drop-shadow(0 0 16px rgba(225, 29, 72, 0.92)); }
.rc-p-tag.is-done { box-shadow: 0 0 12px rgba(255, 255, 255, 0.65); }

.select-key-hint {
  display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: nowrap;
  font-size: 11px; color: #cbd5e1; flex-shrink: 0;
  background: rgba(8, 12, 22, 0.85); border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 99px; padding: 4px 14px;
}
.select-key-hint b { color: var(--gold-hi); font-family: var(--font-mono); }
.select-key-hint kbd {
  font-family: var(--font-mono); font-size: 10px; font-weight: 800; color: #fff;
  background: rgba(30, 41, 59, 0.95); border: 1px solid rgba(250, 204, 21, 0.42);
  border-radius: 3px; padding: 1px 5px;
}
.select-key-hint .sk-sep { color: rgba(255, 255, 255, 0.22); }
.select-key-hint .sk-auto { font-style: normal; color: #4ade80; font-weight: 800; }
.fight-launch-btn.is-launching { animation: sfBtnLaunchPulse 0.28s ease-in-out infinite alternate; }
@keyframes sfBtnLaunchPulse { from { transform: skewX(-10deg) scale(1); } to { transform: skewX(-10deg) scale(1.06); } }
@keyframes sfCursorPulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.6; transform: scale(0.97); } }

.rc-overlay {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(180deg, transparent 50%, rgba(5, 8, 16, 0.85) 78%, rgba(4, 6, 12, 0.98) 100%);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 7px 9px;
}
.rc-name {
  font-size: 16px; font-weight: 900; font-style: italic; color: #fff; line-height: 1.12;
  text-shadow: 0 2px 8px #000;
}
.rc-role {
  font-size: 10px; font-weight: 700; color: var(--gold-hi);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 1px;
}

.roster-card.is-upcoming {
  border: 2px dashed rgba(240, 185, 11, 0.52);
  box-shadow: inset 0 0 22px rgba(225, 29, 72, 0.22);
  cursor: help;
}
.roster-card.is-upcoming img { filter: brightness(0.74) contrast(1.16) saturate(0.85); }
.roster-card.is-upcoming:hover img { filter: brightness(0.98) contrast(1.14); }
.roster-card.is-upcoming.is-hacker {
  border-color: rgba(16, 185, 129, 0.65);
  background: radial-gradient(circle at 50% 42%, #07202e 0%, #030a12 72%);
  box-shadow: inset 0 0 24px rgba(16, 185, 129, 0.22);
}
.roster-card.is-upcoming.is-hacker img { object-fit: contain; object-position: center 42%; filter: brightness(0.95) contrast(1.06); }
.roster-card.is-upcoming.is-hacker .rc-overlay { background: linear-gradient(180deg, transparent 66%, rgba(3, 10, 18, 0.95) 100%); }
/* 神秘角色预告档案弹窗 */
.upcoming-card {
  width: min(92vw, 760px); max-height: 88vh; overflow-y: auto;
  background: linear-gradient(160deg, #131a2c 0%, #080c16 100%);
  border: 2px solid var(--up-accent, #f59e0b); border-radius: 12px;
  padding: 20px 24px; display: flex; flex-direction: column; gap: 14px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.92), 0 0 36px color-mix(in srgb, var(--up-accent, #f59e0b) 28%, transparent);
}
.up-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.up-badge {
  font-family: var(--font-mono); font-size: 12px; font-weight: 900; letter-spacing: 0.1em;
  color: #090c12; background: linear-gradient(90deg, #fef08a, var(--up-accent, #f59e0b));
  padding: 4px 12px; border-radius: 4px;
}
.up-close-btn {
  width: 32px; height: 32px; border-radius: 6px; cursor: pointer;
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.2);
  color: #e2e8f0; font-size: 15px; font-weight: 900; transition: all 0.15s;
}
.up-close-btn:hover { background: rgba(225, 29, 72, 0.35); border-color: #fb7185; color: #fff; }
.up-body { display: grid; grid-template-columns: 240px 1fr; gap: 18px; align-items: stretch; }
.up-portrait-wrap {
  border-radius: 8px; overflow: hidden; background: #050811;
  border: 1.5px solid rgba(255, 255, 255, 0.14); min-height: 290px;
  display: flex; align-items: center; justify-content: center;
}
.up-portrait-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.upcoming-card.is-hacker .up-portrait-wrap img { object-fit: contain; padding: 12px; }
.up-info { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.up-name { font-size: 26px; font-weight: 900; font-style: italic; color: #fef08a; line-height: 1.1; }
.up-title { font-size: 13px; font-weight: 700; color: #94a3b8; }
.up-stats { margin: 2px 0; }
.up-moves { flex: 1; }
.up-footer {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.up-lock-note { font-size: 12.5px; color: #fbbf24; font-weight: 700; }
.rc-upcoming-veil {
  position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background: radial-gradient(circle at 50% 35%, transparent 36%, rgba(10, 6, 16, 0.45) 100%);
}
.rc-soon-role { color: #5eead4 !important; font-weight: 700; }

.rc-badge-row { position: absolute; top: 6px; left: 7px; display: flex; gap: 4px; z-index: 5; }
.rc-p-tag {
  font-family: var(--font-mono); font-size: 10.5px; font-weight: 900;
  padding: 2px 7px; transform: skewX(-10deg); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}
.rc-p-tag.t-p1 { background: linear-gradient(90deg, var(--gold-hi), var(--gold)); color: #090c12; }
.rc-p-tag.t-p2 { background: linear-gradient(90deg, #e11d48, #fb7185); color: #fff; }
.rc-p-tag.t-soon {
  background: linear-gradient(90deg, #b91c1c, #d97706); color: #fff8dc;
  border: 1px solid rgba(254, 240, 138, 0.7); font-size: 9.5px;
}
.fp-move-item.is-upcoming-tip { border-left-color: #f59e0b; background: rgba(245, 158, 11, 0.14); }
.fp-move-item.is-locked-move { border-left-color: rgba(148, 163, 184, 0.45); opacity: 0.78; }

.select-cta-wrap { display: flex; justify-content: center; align-items: center; gap: 12px; flex-shrink: 0; padding: 2px 0; }
.fight-launch-btn {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #fff199 0%, #f59e0b 45%, #dc2626 100%);
  color: #090c12; border: 2px solid #fef08a; border-radius: 5px;
  padding: 11px 36px; font-size: 18px; font-weight: 900; letter-spacing: 0.08em;
  cursor: pointer; transform: skewX(-10deg);
  box-shadow: 0 6px 28px rgba(245, 158, 11, 0.5), inset 0 2px 0 rgba(255, 255, 255, 0.55);
  transition: all 0.18s ease;
}
.fight-launch-btn::after {
  content: ""; position: absolute; top: -40%; left: -60%; width: 40%; height: 180%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-20deg); animation: sfBtnSheen 2.8s ease-in-out infinite;
}
@keyframes sfBtnSheen { 0%, 60% { left: -60%; } 100% { left: 140%; } }
.fight-launch-btn:hover { transform: skewX(-10deg) scale(1.05); box-shadow: 0 10px 38px rgba(245, 158, 11, 0.75); }
.fight-launch-btn span { display: inline-block; transform: skewX(10deg); }
.sf-rand-btn { transform: skewX(-10deg); padding: 10px 18px; }
.sf-rand-btn:hover { transform: skewX(-10deg) translateY(-1px); }

/* ==================== 3. VS SPLASH ==================== */
.screen-vs { display: grid; grid-template-columns: 1fr 1fr; background: #05070c; overflow: hidden; }
.vs-half { position: relative; overflow: hidden; display: flex; align-items: flex-end; padding: 48px; }
.vs-half img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center;
  filter: contrast(1.12) brightness(0.75); animation: vsZoom 1.9s ease-out forwards;
}
@keyframes vsZoom { from { transform: scale(1.18); } to { transform: scale(1.04); } }
.vs-left::after, .vs-right::after { content: ""; position: absolute; inset: 0; pointer-events: none; }
.vs-left::after { background: linear-gradient(135deg, rgba(240, 185, 11, 0.25) 0%, rgba(5, 7, 12, 0.9) 85%); }
.vs-right::after { background: linear-gradient(225deg, rgba(225, 29, 72, 0.28) 0%, rgba(5, 7, 12, 0.9) 85%); }
.vs-right { justify-content: flex-end; text-align: right; }
.vs-info { position: relative; z-index: 5; max-width: 460px; }
.vs-tag { font-family: var(--font-mono); font-size: 14px; font-weight: 900; color: var(--gold-hi); letter-spacing: 0.2em; }
.vs-right .vs-tag { color: #fb7185; }
.vs-name { font-size: clamp(34px, 4.5vw, 56px); font-weight: 900; color: #fff; text-shadow: 0 6px 24px #000; }
.vs-quip { font-size: 16px; color: #e2e8f0; margin-top: 8px; line-height: 1.5; }
.vs-bolt {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) skewX(-12deg);
  z-index: 10; font-family: var(--font-display); font-size: clamp(64px, 8vw, 112px); font-weight: 900;
  color: var(--gold-hi); text-shadow: 0 0 36px rgba(240, 185, 11, 0.9), 0 8px 0 #000;
}
.vs-stage-banner {
  position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 12;
  background: rgba(5, 7, 12, 0.88); border: 1px solid var(--gold); color: var(--gold-hi);
  padding: 6px 22px; font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.14em; border-radius: 99px;
}

/* ==================== 4. FIGHT ARENA & STREET FIGHTER HUD ==================== */
.screen-fight { display: flex; flex-direction: column; background: #05070c; }

.fight-hud {
  display: grid; grid-template-columns: 1fr 136px 1fr; align-items: center; gap: 12px;
  padding: 10px 18px 8px; background: linear-gradient(180deg, #0b0f18 0%, #070a10 100%);
  border-bottom: 2px solid rgba(240, 185, 11, 0.28); z-index: 15;
}
.hud-side { display: flex; align-items: center; gap: 12px; }
.hud-avatar-wrap { position: relative; flex: 0 0 62px; }
.hud-avatar-wrap img {
  width: 62px; height: 62px; border-radius: 6px; object-fit: cover; object-position: top;
  border: 2px solid var(--gold); display: block;
}
.hud-p2 .hud-avatar-wrap img { border-color: var(--crimson); }
.round-dots { display: flex; justify-content: center; gap: 5px; margin-top: 4px; }
.round-dot { width: 11px; height: 11px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, 0.35); background: #0b0f18; }
.round-dot.won { background: var(--gold-hi); border-color: #fff; box-shadow: 0 0 10px var(--gold); }

.hud-bars { flex: 1; display: flex; flex-direction: column; gap: 5px; }
.hud-name-row { display: flex; align-items: center; justify-content: space-between; }
.hud-fighter-name { font-size: 16px; font-weight: 900; letter-spacing: 0.05em; color: #fff; }
.hud-combo-badge {
  font-family: var(--font-display); font-size: 16px; color: var(--gold-hi);
  text-shadow: 0 0 12px rgba(240, 185, 11, 0.8); animation: comboPop 0.22s ease;
}
@keyframes comboPop { 0% { transform: scale(1.45); } 100% { transform: scale(1); } }

/* 街霸黄血延迟条 + 亮绿/红血条 */
.hp-bar-outer {
  position: relative; width: 100%; height: 22px; background: #1e1018;
  border: 2px solid #cbd5e1; transform: skewX(-14deg); overflow: hidden;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.8);
}
.p2-hp-outer { transform: skewX(14deg); }
.hp-bar-drain, .hp-bar-fill {
  position: absolute; top: 0; bottom: 0; left: 0; width: 100%;
}
.p2-hp-outer .hp-bar-drain, .p2-hp-outer .hp-bar-fill { left: auto; right: 0; }
.hp-bar-drain { background: #ef4444; transition: width 0.55s ease; }
.hp-bar-fill {
  background: linear-gradient(180deg, #fde047 0%, #22c55e 45%, #15803d 100%);
  transition: width 0.1s linear;
}
.hp-bar-fill.low-hp { background: linear-gradient(180deg, #fda4af 0%, #e11d48 50%, #9f1239 100%); }

.super-row { display: flex; align-items: center; gap: 8px; }
.super-bar-3seg {
  flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px;
  height: 11px; transform: skewX(-14deg);
}
.super-bar-3seg.is-4seg { grid-template-columns: repeat(4, 1fr); }
.super-bar-3seg.p2-3seg { transform: skewX(14deg); direction: rtl; }
.seg-cell {
  background: #111827; border: 1px solid rgba(255, 255, 255, 0.25);
  overflow: hidden; position: relative;
}
.seg-fill {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, #0284c7, #38bdf8);
  transition: width 0.1s linear;
}
.seg-fill.full {
  background: linear-gradient(90deg, #f59e0b, var(--gold-hi));
  box-shadow: 0 0 10px rgba(240, 185, 11, 0.75);
}
.super-bar-3seg.max-ready .seg-fill {
  background: linear-gradient(90deg, #f59e0b, #fef08a, #f43f5e);
  animation: superGlow 0.45s ease-in-out infinite alternate;
}
@keyframes superGlow { from { filter: brightness(1); } to { filter: brightness(1.48); } }
.super-txt { font-family: var(--font-mono); font-size: 11.5px; color: var(--cyan); min-width: 52px; text-align: right; font-weight: 800; white-space: nowrap; }
.super-txt.max-txt { color: var(--gold-hi); text-shadow: 0 0 10px rgba(240, 185, 11, 0.9); }

.hud-center { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.hud-arcade-stage { font-family: var(--font-mono); font-size: 11px; color: var(--gold); letter-spacing: 0.12em; font-weight: 800; }
.hud-timer {
  font-family: var(--font-display); font-size: 40px; line-height: 1; color: #fff;
  font-variant-numeric: tabular-nums; min-width: 78px; text-align: center;
  text-shadow: 0 3px 0 #000, 0 0 18px rgba(240, 185, 11, 0.45);
}
.hud-mini-btns { display: flex; gap: 6px; margin-top: 2px; }
.hud-mini-btns button {
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.18);
  color: #e2e8f0; width: 26px; height: 22px; border-radius: 3px; cursor: pointer; font-size: 12px;
}
.hud-mini-btns button:hover { border-color: var(--gold); color: var(--gold); }

/* 画布舞台 */
.canvas-wrap {
  position: relative; flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center;
  background: #04060a; overflow: hidden;
}
#fight-canvas { width: 100%; height: 100%; object-fit: contain; display: block; }

/* 中央播报大字 */
.announcer-banner {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  pointer-events: none; z-index: 20; animation: annPop 0.32s cubic-bezier(0.18, 0.9, 0.25, 1) both;
}
@keyframes annPop { from { opacity: 0; transform: scale(2.1); } to { opacity: 1; transform: scale(1); } }
.announcer-main {
  font-family: var(--font-display); font-size: clamp(58px, 8vw, 110px); font-weight: 900;
  font-style: italic; letter-spacing: 0.06em;
  background: linear-gradient(180deg, #fff 0%, var(--gold-hi) 48%, #dc2626 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 8px 0 #000) drop-shadow(0 0 30px rgba(240, 185, 11, 0.7));
}
.announcer-sub {
  font-size: 20px; font-weight: 800; color: #fff; letter-spacing: 0.22em;
  text-shadow: 0 3px 12px #000; background: rgba(0, 0, 0, 0.65); padding: 4px 20px; border-radius: 99px;
}
.announcer-banner.is-countdown .announcer-main {
  font-size: clamp(92px, 11vw, 138px);
  line-height: 1;
}
.announcer-banner.is-countdown .announcer-sub {
  font-size: 14px;
  letter-spacing: 0.14em;
  padding: 4px 16px;
  margin-top: 4px;
  border: 1px solid rgba(250, 204, 21, 0.5);
  color: #fef08a;
}

/* 街霸满气超必杀全屏特写横幅 */
.super-cutin {
  position: absolute; inset: 0; z-index: 25; pointer-events: none;
  background: rgba(4, 6, 12, 0.78); display: flex; align-items: center; justify-content: center;
  animation: fadeInFast 0.14s ease both;
}
.cutin-queue-badge {
  position: absolute; bottom: 26px; right: 32px; z-index: 8;
  font-family: var(--font-sans); font-size: 14px; font-weight: 900; letter-spacing: 0.06em;
  color: #fff; background: linear-gradient(90deg, #be123c, #ea580c);
  border: 2px solid #fef08a; padding: 7px 18px; transform: skewX(-10deg);
  box-shadow: 0 0 24px rgba(244, 63, 94, 0.85);
  animation: cutinQueuePop 0.25s cubic-bezier(0.18, 0.9, 0.25, 1) both;
}
@keyframes cutinQueuePop {
  from { opacity: 0; transform: skewX(-10deg) translateX(30px) scale(1.2); }
  to { opacity: 1; transform: skewX(-10deg) translateX(0) scale(1); }
}
@keyframes fadeInFast { from { opacity: 0; } to { opacity: 1; } }
.cutin-stripe {
  position: absolute; left: -5%; right: -5%; height: 220px;
  background: linear-gradient(90deg, #090c14 0%, rgba(240, 185, 11, 0.28) 35%, rgba(225, 29, 72, 0.42) 70%, #090c14 100%);
  border-top: 4px solid var(--gold-hi); border-bottom: 4px solid var(--crimson);
  transform: skewY(-3deg); box-shadow: 0 0 60px rgba(240, 185, 11, 0.5);
}
.super-cutin img {
  position: relative; z-index: 2; width: 220px; height: 220px; border-radius: 10px; object-fit: cover;
  border: 4px solid var(--gold-hi); box-shadow: 0 0 40px rgba(240, 185, 11, 0.8);
  animation: cutinSlide 0.35s cubic-bezier(0.18, 0.9, 0.25, 1) both;
}
@keyframes cutinSlide { from { transform: translateX(-160px) scale(1.2); opacity: 0; } to { transform: translateX(0) scale(1); opacity: 1; } }
.cutin-text-wrap { position: relative; z-index: 3; margin-left: 28px; max-width: 620px; }

/* 全屏电影级超必杀特写（如 CZ 如来神掌单手比 4！） */
.super-cutin.is-fullart {
  background: #020308; align-items: flex-end; justify-content: center; padding-bottom: 34px;
}
.super-cutin.is-fullart .cutin-stripe { display: none; }
.super-cutin.is-fullart img {
  position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 0; border: none;
  object-fit: cover; object-position: center 22%; box-shadow: none;
  animation: fullArtSlam 0.38s cubic-bezier(0.16, 0.9, 0.22, 1) both;
}
@keyframes fullArtSlam { from { transform: scale(1.24); opacity: 0; } to { transform: scale(1.02); opacity: 1; } }
.super-cutin.is-fullart .cutin-text-wrap {
  margin-left: 0; max-width: 90%; text-align: center;
  background: linear-gradient(90deg, rgba(6, 9, 16, 0) 0%, rgba(6, 9, 16, 0.86) 18%, rgba(6, 9, 16, 0.86) 82%, rgba(6, 9, 16, 0) 100%);
  padding: 14px 48px; border-top: 2px solid rgba(253, 224, 71, 0.7); border-bottom: 2px solid rgba(253, 224, 71, 0.7);
}
.cutin-kicker { font-family: var(--font-mono); font-size: 14px; font-weight: 900; letter-spacing: 0.24em; color: var(--gold-hi); }
.cutin-name {
  font-size: clamp(30px, 4vw, 48px); font-weight: 900; font-style: italic; color: #fff;
  text-shadow: 0 5px 0 #000, 0 0 24px rgba(225, 29, 72, 0.8); margin: 4px 0 8px;
}
.cutin-quote { font-size: 16px; color: #fef08a; font-weight: 600; text-shadow: 0 2px 10px #000; }

/* 底部精简出招提示条 */
.move-strip {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 7px 16px; background: #0a0e16; border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12px; color: var(--muted); z-index: 15;
}
.ms-group { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ms-key {
  font-family: var(--font-mono); font-weight: 800; color: var(--gold-hi);
  background: rgba(255, 255, 255, 0.08); padding: 2px 6px; border-radius: 3px;
}
.ms-specials { display: flex; gap: 8px; }
.ms-btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 4px;
  background: rgba(240, 185, 11, 0.16); border: 1px solid rgba(240, 185, 11, 0.58);
  color: #fff; font-size: 12px; font-weight: 700; cursor: pointer; font-family: var(--font-sans);
  transition: all 0.18s ease;
}
.ms-btn > * { position: relative; z-index: 2; }
.ms-btn:hover:not(.locked) { background: rgba(240, 185, 11, 0.32); transform: translateY(-1px); }
.ms-btn.locked {
  opacity: 0.36; background: rgba(255, 255, 255, 0.04); border-color: rgba(255, 255, 255, 0.15);
  cursor: not-allowed; filter: grayscale(0.75);
}
.ms-btn.on-cd {
  opacity: 0.84; filter: none;
  background: rgba(15, 23, 42, 0.88);
  border-color: rgba(251, 191, 36, 0.55);
  cursor: not-allowed;
}
.ms-btn.on-cd::before {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0;
  width: var(--cd-pct, 0%);
  background: linear-gradient(90deg, rgba(245, 158, 11, 0.38), rgba(251, 191, 36, 0.14));
  border-right: 1.5px solid rgba(253, 224, 71, 0.72);
  pointer-events: none; z-index: 1;
}
.ms-btn.on-cd .cost-tag {
  color: #fef08a; background: rgba(180, 83, 9, 0.68);
  border: 1px solid rgba(251, 191, 36, 0.72);
  font-weight: 900; min-width: 34px; text-align: center;
}
/* 双人同屏 2P 完整键位提示栏（仅 2P 模式显示） */
.p2-controls-strip {
  display: flex; align-items: center; justify-content: center; flex-wrap: nowrap; gap: 7px;
  padding: 5px 14px; background: #0c0914;
  border-top: 1px solid rgba(244, 63, 94, 0.36);
  font-size: 11.5px; color: #cbd5e1; z-index: 15;
}
.p2s-badge {
  font-family: var(--font-mono); font-size: 10.5px; font-weight: 900; letter-spacing: 0.08em;
  color: #fff; background: linear-gradient(90deg, #e11d48, #fb7185);
  padding: 2px 8px; border-radius: 3px; white-space: nowrap;
}
.ms-key.p2k {
  border-color: rgba(251, 113, 133, 0.55); color: #fda4af;
  background: rgba(225, 29, 72, 0.14);
}
.ms-key.p2sp {
  border-color: rgba(250, 204, 21, 0.58); color: #fef08a;
  background: rgba(250, 204, 21, 0.14);
}
.ms-key.p2sup {
  border-color: rgba(244, 63, 94, 0.85); color: #fff;
  background: linear-gradient(90deg, rgba(225, 29, 72, 0.55), rgba(245, 158, 11, 0.45));
}
.p2-controls-strip .p2-sk {
  color: #fef08a; font-weight: 700; white-space: nowrap;
  max-width: 90px; overflow: hidden; text-overflow: ellipsis;
}
.ms-btn.denied {
  opacity: 0.92 !important; filter: none !important;
  border-color: #fb7185 !important; background: rgba(225, 29, 72, 0.28) !important;
  animation: btnDeniedShake 0.28s ease;
}
@keyframes btnDeniedShake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  60% { transform: translateX(5px); }
}
.ms-btn kbd { font-family: var(--font-mono); color: var(--gold-hi); font-weight: 900; }
.cost-tag {
  font-style: normal; font-family: var(--font-mono); font-size: 10px; padding: 1px 5px;
  border-radius: 3px; background: rgba(0, 0, 0, 0.45); color: #94a3b8;
}
.ms-btn:not(.locked) .cost-tag { color: var(--gold-hi); background: rgba(240, 185, 11, 0.2); }
.ms-btn-super:not(.locked) { background: linear-gradient(90deg, #e11d48, #f59e0b); color: #090c12; border-color: #fff3b0; animation: superGlow 0.5s infinite alternate; }
.ms-btn-super:not(.locked) kbd, .ms-btn-super:not(.locked) .cost-tag { color: #090c12; background: rgba(255, 255, 255, 0.35); }

/* ==================== 技能连播演示剧场 HUD ==================== */
.showcase-caption {
  position: absolute; top: 14px; left: 50%; transform: translateX(-50%); z-index: 22;
  display: flex; align-items: center; gap: 10px; max-width: 92%;
  padding: 7px 16px; border-radius: 99px;
  background: rgba(6, 10, 18, 0.88); border: 1.5px solid rgba(240, 185, 11, 0.65);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.65); pointer-events: none;
}
.sc-badge {
  font-family: var(--font-mono); font-size: 11px; font-weight: 900; padding: 2px 8px;
  border-radius: 99px; background: var(--gold); color: #090c12; white-space: nowrap;
}
.showcase-caption strong { font-size: 14px; color: var(--gold-hi); white-space: nowrap; }
.showcase-caption span:last-child { font-size: 12.5px; color: #e2e8f0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.showcase-dock {
  display: flex; flex-direction: column; gap: 5px; padding: 6px 14px;
  background: #090d16; border-top: 2px solid rgba(56, 189, 248, 0.35); z-index: 18;
}
.tr-dock-label {
  font-family: var(--font-mono); font-size: 11px; font-weight: 900; letter-spacing: 0.08em;
  color: #7dd3fc; padding: 0 4px; white-space: nowrap;
}
.tr-dock-sep { color: rgba(255, 255, 255, 0.2); font-size: 12px; margin: 0 2px; }
.sc-fighter-tabs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.sc-ftab {
  padding: 4px 4px; border-radius: 4px; cursor: pointer; font-size: 11.5px; font-weight: 700;
  background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.14);
  color: #cbd5e1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: all 0.15s;
}
.sc-ftab:hover { border-color: var(--gold); color: #fff; }
.sc-ftab.active { background: var(--gold); color: #090c12; border-color: #fff3b0; }
.sc-controls-row { display: flex; align-items: center; justify-content: center; gap: 6px; flex-wrap: nowrap; }
.sc-ctrl-btn {
  padding: 4px 10px; border-radius: 4px; cursor: pointer; font-size: 11.5px; font-weight: 800; white-space: nowrap;
  background: rgba(56, 189, 248, 0.14); border: 1px solid rgba(56, 189, 248, 0.5); color: #e0f2fe;
  transition: all 0.15s;
}
.sc-ctrl-btn:hover { background: rgba(56, 189, 248, 0.3); transform: translateY(-1px); }
.sc-ctrl-btn.is-active { background: var(--gold); color: #090c12; border-color: #fff3b0; }
.sc-ctrl-btn.is-super { background: rgba(225, 29, 72, 0.25); border-color: #fb7185; color: #ffe4e6; }
.sc-ctrl-btn.is-super:hover { background: #e11d48; color: #fff; }
.sc-ctrl-btn.is-win { background: rgba(250, 204, 21, 0.22); border-color: #facc15; color: #fef08a; }
.sc-ctrl-btn.is-win:hover { background: #eab308; color: #090c12; }
.sc-ctrl-btn.is-defeat { background: rgba(249, 115, 22, 0.22); border-color: #fb923c; color: #ffedd5; }
.sc-ctrl-btn.is-defeat:hover { background: #ea580c; color: #fff; }
.sc-ctrl-btn.is-exit { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.2); color: #cbd5e1; margin-left: 8px; }

/* ==================== 弹窗：暂停 / 胜负结算恶搞头条 ==================== */
.overlay-modal {
  position: absolute; inset: 0; z-index: 35; background: rgba(4, 6, 12, 0.84);
  backdrop-filter: blur(8px); display: flex; align-items: center; justify-content: center; padding: 20px;
}
.overlay-card, .result-card {
  width: min(92vw, 720px); max-height: 90vh; overflow-y: auto;
  background: linear-gradient(160deg, #131926 0%, #090c12 100%);
  border: 2px solid var(--gold); border-radius: 10px; padding: 24px 28px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.92);
}
.overlay-card h3 { font-size: 22px; color: var(--gold-hi); margin-bottom: 14px; }
.pause-movelist { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 18px; font-size: 12.5px; }
.pm-col { background: rgba(255, 255, 255, 0.04); padding: 12px; border-radius: 6px; border: 1px solid rgba(255, 255, 255, 0.08); }
.pm-col h4 { color: var(--gold); margin-bottom: 8px; font-size: 15px; }
.pm-col p { color: #cbd5e1; margin-bottom: 5px; line-height: 1.5; }

/* 胜负结算：极简透明顶部悬浮选择条（完整露出舞台胜方帅姿与败方落场模型！） */
.result-floating-dock {
  position: absolute; top: 118px; left: 50%; transform: translateX(-50%); z-index: 35;
  display: flex; align-items: center; gap: 16px; padding: 9px 18px;
  background: rgba(6, 10, 20, 0.46); backdrop-filter: blur(6px);
  border: 1.5px solid rgba(250, 204, 21, 0.52); border-radius: 99px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.42);
  animation: rfSlideDown 0.28s cubic-bezier(0.18, 0.9, 0.25, 1) both;
}
@keyframes rfSlideDown {
  from { opacity: 0; transform: translate(-50%, -14px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}
.rf-winner-pill { display: flex; align-items: center; gap: 9px; white-space: nowrap; }
.rf-kicker {
  font-family: var(--font-mono); font-size: 10.5px; font-weight: 900; letter-spacing: 0.14em;
  color: #090c12; background: linear-gradient(90deg, var(--gold-hi), var(--gold));
  padding: 2px 8px; border-radius: 99px;
}
.rf-name { font-size: 16px; font-weight: 900; color: #fff; text-shadow: 0 2px 8px rgba(0, 0, 0, 0.85); }
.rf-actions { display: flex; align-items: center; gap: 8px; }
.rf-btn {
  padding: 6px 15px; border-radius: 99px; cursor: pointer; font-size: 13px; font-weight: 800;
  white-space: nowrap; transition: all 0.16s ease;
}
.rf-btn.is-gold {
  background: linear-gradient(135deg, rgba(255, 228, 94, 0.92), rgba(234, 88, 12, 0.92));
  color: #090c12; border: 1.5px solid rgba(254, 240, 138, 0.85);
  box-shadow: 0 4px 14px rgba(240, 185, 11, 0.35);
}
.rf-btn.is-gold:hover { transform: translateY(-1px) scale(1.04); box-shadow: 0 6px 20px rgba(240, 185, 11, 0.58); }
.rf-btn.is-ghost {
  background: rgba(15, 23, 42, 0.52); color: #f1f5f9;
  border: 1px solid rgba(255, 255, 255, 0.32);
}
.rf-btn.is-ghost:hover { border-color: var(--gold-hi); color: var(--gold-hi); background: rgba(15, 23, 42, 0.82); }

.overlay-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; margin-top: 8px; }

@media (max-width: 980px) {
  .select-body { grid-template-columns: 1fr; }
  .fighter-preview { display: none; }
  .mode-cards { grid-template-columns: 1fr; }
}
