/* Arena prototype, scoped to the English home page. */
.arena-demo .bg-glow-orb, .arena-demo .bg-grid-pattern { display: none; }
.arena-demo .arena-section { background: #e9edf0; padding: 28px 0 40px; }
.battle-station {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 284px;
  grid-template-areas: "heading heading" "score score" "arena loadout" "dash loadout" "launch loadout";
  gap: 0 20px;
}
.battle-heading { grid-area: heading; display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.arena-eyebrow { font: 10px var(--font-mono); color: #52616b; }
.battle-heading h2 { font-size: 30px; line-height: 1.3; font-weight: 900; margin-top: 4px; }
.arena-live-label { display: flex; align-items: center; gap: 7px; font: 10px var(--font-mono); color: #52616b; }
.arena-live-label span { width: 6px; height: 6px; background: #059669; border-radius: 50%; }
.battle-station .arena-top-bar { grid-area: score; background: transparent; padding: 0 0 12px; margin: 0; border: 0; border-radius: 0; box-shadow: none; }
.battle-station .streak-badge { font: 11px var(--font-mono); }
.battle-station .streak-fire { display: none; }
.battle-station .stage-badge { border: 0; border-radius: 2px; background: #dce3e7; color: #263843; }
.battle-station .arena-status-msg { border: 0; padding: 0; background: transparent; font-size: 11px; }
.battle-station .arena-viewport-wrapper { grid-area: arena; padding: 0; border: 1px solid #b8c5cb; border-radius: 6px 6px 0 0; box-shadow: none; background: #f4f7f7; }
.battle-station .arena-canvas-container { height: 438px; border: 0; border-radius: 0; background: #eff3f3; }
.battle-station .hud-fight-bar { top: 0; left: 0; right: 0; gap: 16px; padding: 14px 18px; background: #fff; border-bottom: 1px solid #dce3e7; }
.battle-station .hud-fighter { max-width: none; min-width: 0; border: 0; padding: 0; gap: 10px; border-radius: 0; box-shadow: none; background: transparent; backdrop-filter: none; }
.battle-station .hud-avatar-circle { width: 34px; height: 34px; font-size: 22px; border: 0; border-radius: 4px; box-shadow: none; background: #e7f1fc; }
.battle-station .enemy-avatar { background: #fff0eb; }
.battle-station .hud-name-row { gap: 6px; }
.battle-station .hud-player-name { font-size: 11px; letter-spacing: 0; }
.battle-station .hud-tier-badge { background: transparent; border: 0; padding: 0; color: #61727e; font-size: 9px; }
.battle-station .hud-bar-track { height: 8px; border-radius: 1px; box-shadow: none; }
.battle-station .hud-bar-fill { border-radius: 0; box-shadow: none; }
.battle-station .player-fill { background: #1676e8; }
.battle-station .enemy-fill { background: #ed583d; margin-left: auto; }
.battle-station .hud-energy-text { font-size: 9px; min-width: 28px; }
.battle-station .hud-vs-badge { width: 32px; height: 32px; border: 0; border-radius: 0; box-shadow: none; background: transparent; transform: skew(-10deg); }
.battle-station .vs-text { font-size: 19px; color: #263843; }
.battle-station .launch-aim-guide { display: none; }
.battle-telemetry { position: absolute; bottom: 12px; left: 18px; right: 18px; display: flex; gap: 18px; align-items: center; font: 10px var(--font-mono); color: #637581; pointer-events: none; }
#battle-phase { margin-right: auto; color: #1676e8; font-weight: 800; }
.battle-telemetry b { color: #263843; font-weight: 600; }
.battle-station .game-control-panel { display: contents; }
.dash-controls { grid-area: dash; display: none; gap: 10px; justify-content: space-between; background: #fff; border-inline: 1px solid #b8c5cb; padding: 10px 18px; }
.battle-station[data-phase="battling"] .dash-controls { display: flex; }
.dash-btn { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 8px; flex: 1; min-width: 0; max-width: 180px; height: 40px; padding: 0 12px 4px; border: 0; border-radius: 3px; background: #1676e8; color: #fff; font: 700 10px var(--font-mono); cursor: pointer; touch-action: manipulation; overflow: hidden; }
.dash-btn[hidden] { display: none; }
.dash-btn::after { content: ''; position: absolute; bottom: 0; left: 0; height: 4px; width: var(--dash-ready, 100%); background: #b5e8ff; }
.dash-btn:disabled { opacity: 0.6; cursor: default; }
.dash-btn:active:not(:disabled) { transform: translateY(2px); }
.dash-btn:focus-visible { outline: 2px solid #263843; outline-offset: 3px; }
.enemy-dash { background: #d94329; }
.enemy-dash::after { background: #ffd3a3; }
.dash-btn span:first-child { white-space: nowrap; }
.dash-cd { min-width: 28px; text-align: right; font-size: 9px; font-variant-numeric: tabular-nums; }
.smash-feedback { position: absolute; inset: 0; pointer-events: none; z-index: 25; text-align: center; }
.smash-feedback[hidden] { display: none; }
.smash-feedback strong { display: inline-block; margin-top: 82px; font-size: 22px; font-weight: 900; color: #be3c19; text-shadow: 1px 1px #fff, -1px -1px #fff; transform: skew(-6deg); }
.battle-station .panel-card { border-radius: 0; box-shadow: none; padding: 18px; min-width: 0; }
.battle-station .player-config { grid-area: loadout; align-self: stretch; border: 0; border-top: 3px solid #1676e8; background: #fff; }
.battle-station .launch-config { grid-area: launch; display: grid; grid-template-columns: minmax(0, 1fr) 172px; gap: 10px 16px; background: #fff; border: 1px solid #b8c5cb; border-top: 0; border-radius: 0 0 6px 6px; }
.battle-station .card-title-row { margin-bottom: 16px; gap: 8px; }
.battle-station .card-title-row h3 { font: 700 11px var(--font-mono); letter-spacing: 0; }
.battle-station .launch-config .card-title-row { grid-column: 1 / -1; margin: 0; justify-content: space-between; }
.battle-station .mode-toggles { gap: 0; padding: 2px; background: #eef2f4; border-radius: 3px; }
.battle-station .pill-tab { border: 0; border-radius: 2px; font: 9px var(--font-mono); padding: 6px 10px; background: transparent; }
.battle-station .pill-tab.active { color: #fff; background: #263843; box-shadow: none; }
.battle-station .rival-selector-row { grid-column: 1 / -1; margin: 0; gap: 8px; }
.battle-station .rival-selector-row label { font-size: 11px; }
.battle-station .rival-selector-row select { height: 32px; font-size: 11px; }
.battle-station .launch-sliders { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 0; }
.battle-station .slider-group { border: 0; padding: 0; background: transparent; }
.battle-station .slider-label { font-size: 10px; margin-bottom: 2px; }
.battle-station .slider-label strong { color: #1676e8; }
.battle-station .action-btn-wrapper { margin: 0; align-self: center; }
.battle-station .massive-clash-btn { height: 42px; border-radius: 3px; font-size: 14px; letter-spacing: 0; background: #ed583d; box-shadow: 0 4px 0 #b53b26; transition: transform 160ms cubic-bezier(.2, .8, .3, 1), box-shadow 160ms ease, background 120ms ease; }
.battle-station .massive-clash-btn:hover:not(:disabled) { background: #d94329; transform: translateY(-1px); box-shadow: 0 5px 0 #b53b26; }
.battle-station .massive-clash-btn:active:not(:disabled) { transform: translateY(3px); box-shadow: 0 1px 0 #b53b26; background: #c83d26; transition-duration: 50ms; }
.battle-station .massive-clash-btn:disabled { transform: none; box-shadow: 0 4px 0 #b53b26; }
.battle-station .massive-clash-btn:focus-visible { outline: 2px solid #263843; outline-offset: 6px; }
.battle-station .btn-shine, .battle-station .launch-tip { display: none; }
.battle-station #cancel-launch-btn { grid-column: 2; font-size: 10px; padding: 3px; background: transparent; border: 0; color: #637581; }
.battle-station #player-emoji-input { width: 45px; height: 40px; font-size: 23px; border: 1px solid #bdcbd5; border-radius: 3px; box-shadow: none; }
.battle-station select { border-radius: 3px; box-shadow: none; }
.battle-station .blade-style-select select { height: 40px; font-size: 11px; padding: 0 6px; }
.battle-station .emoji-input-wrapper { gap: 8px; }
.battle-station .picker-label { font: 9px var(--font-mono); color: #637581; }
.battle-station .quick-emojis { display: grid; grid-template-columns: repeat(6, 1fr); gap: 5px; }
.battle-station .emoji-chip { width: 100%; height: 35px; border: 1px solid transparent; border-radius: 3px; font-size: 20px; box-shadow: none; }
.battle-station .emoji-chip.active, .battle-station .emoji-chip:hover { transform: none; border-color: #1676e8; background: #e7f1fc; box-shadow: none; }
.battle-station .stats-preview-grid { grid-template-columns: 1fr; gap: 14px; background: transparent; border: 0; border-radius: 0; padding: 18px 0; border-top: 1px solid #e3e9ed; }
.battle-station .stat-info { font-size: 11px; }
.battle-station .stat-meter, .battle-station .stat-fill { height: 4px; border-radius: 0; }
.battle-station .stat-fill { background: #1676e8; }
.battle-station .trophy-title { font-size: 9px; letter-spacing: 0; }
.battle-station .trophy-item { border-radius: 3px; border: 0; background: #fff2c6; }
.battle-station .modal-card { border-radius: 6px; box-shadow: 0 12px 60px #13232b40; }
.battle-station .result-banner { font-size: 28px; letter-spacing: 0; }
.battle-station .countdown-overlay { font-size: 100px; color: #263843; text-shadow: 3px 3px 0 #fff; }
.battle-station .countdown-overlay.go-shoot { font-size: 42px; color: #ed583d; letter-spacing: 0; }
.battle-station[data-phase="battling"] .arena-viewport-wrapper { border-color: #1676e8; }
.battle-station[data-phase="battling"] #battle-phase { color: #ed583d; }
.battle-station [data-low="true"] { background: #d22d39; animation: energy-alert 1s ease-in-out infinite alternate; }
@keyframes energy-alert { to { opacity: .55; } }
@media (max-width: 1000px) {
  .battle-station { grid-template-columns: minmax(0, 1fr) 250px; gap: 0 14px; }
}
@media (max-width: 760px) {
  .arena-demo .site-header { padding: 8px 0; }
  .arena-demo .header-container { display: grid; grid-template-columns: minmax(0, 1fr) auto; padding: 0 12px; gap: 8px; }
  .arena-demo .brand-logo { gap: 6px; }
  .arena-demo .brand-spinner-svg { width: 28px; height: 28px; }
  .arena-demo .logo-title { font-size: 16px; }
  .arena-demo .logo-sub { font-size: 7px; letter-spacing: 0; }
  .arena-demo .header-actions { gap: 4px; }
  .arena-demo .lang-switch-links { gap: 0; font-size: 10px; }
  .arena-demo .lang-switch-links a { padding: 4px; }
  .arena-demo .icon-pill-btn { padding: 5px 7px; }
  .arena-demo .nav-links { grid-column: 1 / -1; flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; gap: 2px; }
  .arena-demo .nav-link { white-space: nowrap; font-size: 11px; padding: 5px 8px; }
  .arena-demo .arena-section { padding-top: 18px; }
  .battle-station { grid-template-columns: minmax(0, 1fr); grid-template-areas: "heading" "score" "arena" "dash" "launch" "loadout"; padding: 0 12px; }
  .battle-heading { margin-bottom: 16px; }
  .battle-heading h2 { font-size: 24px; }
  .arena-live-label { font-size: 8px; }
  .arena-eyebrow { font-size: 8px; }
  .battle-station .arena-status-msg { width: 100%; font-size: 10px; }
  .battle-station .arena-top-bar { flex-wrap: wrap; gap: 8px; }
  .battle-station .arena-canvas-container { height: 370px; }
  .battle-station .hud-fight-bar { padding: 12px 10px; gap: 8px; }
  .battle-station .hud-fighter { display: flex; gap: 6px; }
  .battle-station .hud-meta { display: flex; }
  .battle-station .hud-name-row { flex-direction: row; gap: 5px; }
  .battle-station .hud-bar-wrap { gap: 4px; }
  .battle-station .hud-avatar-circle { width: 26px; height: 30px; font-size: 18px; }
  .battle-station .hud-player-name { font-size: 9px; }
  .battle-station .hud-tier-badge { font-size: 8px; }
  .battle-station .hud-vs-badge { width: 20px; flex-shrink: 0; }
  .battle-station .vs-text { font-size: 15px; }
  .battle-station .hud-energy-text { min-width: 24px; font-size: 8px; }
  .battle-station .launch-config { grid-template-columns: minmax(0, 1fr) 105px; padding: 14px 12px; gap: 10px; }
  .battle-station .launch-sliders { gap: 10px; }
  .battle-station .player-config { margin-top: 18px; padding: 18px; }
  .battle-station .stats-preview-grid { grid-template-columns: 1fr 1fr; }
  .battle-station .quick-emojis { grid-template-columns: repeat(12, 1fr); }
}
@media (max-width: 480px) {
  .battle-station .arena-canvas-container { height: 330px; }
  .battle-station .quick-emojis { grid-template-columns: repeat(6, 1fr); }
  .arena-live-label { display: none; }
  .battle-station .hud-name-row { flex-wrap: wrap; }
  .battle-station .hud-bar-track { min-width: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .battle-station *, .battle-station *::before { animation: none !important; transition: none !important; }
}
