/* css/game.css — Starshield: Orbital Citadel (Cyber PCB Terminal OLED Aesthetic · Offline MSIX Safe) */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background: #04070A;
  color: #E8F6F2;
  font-family: var(--uiv-font-display, 'Segoe UI', Tahoma, sans-serif);
  user-select: none;
  -webkit-font-smoothing: antialiased;
}

.mono-num {
  font-family: var(--uiv-font-body, 'Consolas', monospace);
  font-variant-numeric: tabular-nums;
}

/* ============================================================================
   1. FULL-BLEED HEROIC NO-BOX TITLE SCREEN
   ============================================================================ */
#screen-title {
  position: fixed;
  inset: 0;
  z-index: 50;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background: #04070A;
}

.title-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.title-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 48%, rgba(4, 7, 10, 0.34) 0%, rgba(4, 7, 10, 0.80) 86%);
  pointer-events: none;
}

.title-top-utils {
  position: fixed;
  top: 14px;
  right: 16px;
  z-index: 55;
  display: flex;
  align-items: center;
  gap: 8px;
}

.title-ver-badge {
  position: fixed;
  left: 16px;
  bottom: 12px;
  z-index: 55;
  padding: 3px 9px;
  background: rgba(11, 17, 23, 0.82);
  border: 1px solid rgba(70, 224, 138, 0.55);
  color: #63D3DC;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  pointer-events: none;
}

.title-util-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 48px;
  height: 44px;
  padding: 4px 12px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #E8F6F2;
  border-width: 6px 8px !important;
  border-image-width: 6px 8px !important;
  overflow: visible !important;
}

.title-util-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
  pointer-events: none;
}

.title-hero-showcase {
  position: absolute;
  bottom: 0;
  width: min(410px, 28vw);
  height: min(560px, 68vh);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
  z-index: 52;
}

.title-hero-showcase.is-left {
  left: 3vw;
}

.title-hero-showcase.is-right {
  right: 3vw;
}

.title-hero-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* STRICT NO-BOX TITLE STACK (background: transparent; border: none!) */
.title-hero-stack {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -44%);
  z-index: 54;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: transparent;
  border: none;
  padding: 0;
  gap: 10px;
}

.title-kicker {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.22em;
  color: #46E08A;
  text-shadow: 0 2px 4px #04070A, 0 0 10px rgba(4, 7, 10, 0.95);
}

.title-emblem {
  font-size: clamp(48px, 6vw, 84px);
  font-weight: 900;
  font-style: italic;
  line-height: 0.98;
  letter-spacing: 0.06em;
  color: #FEFEFE;
  text-shadow: 0 5px 0 #0B1117, 0 0 24px rgba(70, 224, 138, 0.55), 0 8px 20px rgba(0, 0, 0, 0.85);
}

.title-sub {
  font-size: clamp(18px, 2vw, 28px);
  font-weight: 800;
  letter-spacing: 0.26em;
  color: #63D3DC;
  text-shadow: 0 3px 0 #04070A, 0 4px 12px rgba(0, 0, 0, 0.9);
  margin-bottom: 14px;
}

#boot-loader {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 300px;
}

.boot-track {
  width: 100%;
  height: 18px;
  background: #0B1117;
  border: 2px solid #46E08A;
  padding: 2px;
}

#boot-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #46E08A 0%, #63D3DC 100%);
  transition: width 120ms ease-out;
}

.boot-meta {
  display: flex;
  justify-content: space-between;
  width: 100%;
  font-size: 13px;
  font-weight: 700;
  color: #E8F6F2;
  text-shadow: 0 2px 4px #04070A;
}

#title-cta-row {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 8px;
}

#btn-title-play {
  min-width: 230px;
  height: 62px;
  padding: 6px 28px;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: #060B0F;
  border-width: 10px 12px !important;
  border-image-width: 10px 12px !important;
  overflow: visible !important;
}

#btn-title-endless {
  min-width: 152px;
  height: 56px;
  padding: 6px 18px;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #060B0F;
  border-width: 10px 12px !important;
  border-image-width: 10px 12px !important;
  overflow: visible !important;
}

/* ============================================================================
   2. FULL-BLEED GAMEPLAY CANVAS & OVERLAYS
   ============================================================================ */
#screen-gameplay {
  display: none;
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background: #04070A;
}

#game-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  display: block;
  z-index: 1;
}

.fx-overlay-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  display: none;
}

#vfx3d-canvas { z-index: 4; }
#diegetic-canvas { z-index: 5; }
#ui-vfx-canvas { z-index: 95; }
#cutin-canvas { z-index: 85; }

/* ============================================================================
   3. FLOATING CORNER HUD (ZERO OPAQUE SIDEBARS · NO WRAP AT 720P)
   ============================================================================ */
#top-hud {
  position: fixed;
  top: 10px;
  left: 12px;
  right: 12px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: nowrap;
  pointer-events: none;
}

.hud-top-left,
.hud-top-center,
.hud-top-right {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: nowrap;
  pointer-events: auto;
  min-width: 0;
}

.hud-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 42px;
  padding: 2px 10px;
  font-size: 13px;
  font-weight: 800;
  color: #E8F6F2;
  white-space: nowrap;
  border-width: 6px 8px !important;
  border-image-width: 6px 8px !important;
  overflow: visible !important;
}

.hud-pill-ico {
  width: 24px;
  height: 24px;
  object-fit: contain;
  flex-shrink: 0;
}

.dome-bar-mini {
  width: 68px;
  height: 12px;
  background: #04070A;
  border: 1px solid #46E08A;
  padding: 1px;
  flex-shrink: 0;
}

#hud-dome-fill {
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, #46E08A 0%, #63D3DC 100%);
}

/* Compact Top-Center Objective / Boss Strip (NEVER occludes center playfield) */
#hud-obj-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 2px 14px;
  font-size: 13px;
  font-weight: 800;
  color: #E8F6F2;
  white-space: nowrap;
  border-width: 6px 10px !important;
  border-image-width: 6px 10px !important;
}

#hud-mutator-tag {
  color: #FFB23E;
  font-size: 13px;
  font-weight: 800;
}

#hud-boss-bar {
  display: none;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 4px 12px;
  background: #1B090F;
  border: 2px solid #FF4F6B;
  white-space: nowrap;
}

#hud-boss-name {
  font-size: 13px;
  font-weight: 900;
  color: #FFE4EC;
}

.boss-hp-track {
  width: 150px;
  height: 14px;
  background: #04070A;
  border: 1px solid #FF4F6B;
}

#hud-boss-fill {
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, #FF4F6B 0%, #FFB23E 100%);
}

.hud-ctrl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 42px;
  min-width: 44px;
  padding: 2px 10px;
  font-size: 13px;
  font-weight: 800;
  color: #060B0F;
  white-space: nowrap;
  border-width: 6px 8px !important;
  border-image-width: 6px 8px !important;
  overflow: visible !important;
}

.hud-ctrl-btn.uiv-cyber_pcb_terminal-btn-primary,
.uiv-cyber_pcb_terminal-btn-primary {
  background-color: #3BE36A;
  color: #060B0F;
  clip-path: polygon(6px 0, calc(100% - 6px) 0, 100% 6px, 100% calc(100% - 6px), calc(100% - 6px) 100%, 6px 100%, 0 calc(100% - 6px), 0 6px);
}

.hud-ctrl-btn.uiv-cyber_pcb_terminal-btn-secondary,
#btn-tut-skip.uiv-cyber_pcb_terminal-btn-secondary,
.uiv-cyber_pcb_terminal-btn-secondary {
  background-color: #22CBE0;
  color: #060B0F;
  clip-path: polygon(6px 0, calc(100% - 6px) 0, 100% 6px, 100% calc(100% - 6px), calc(100% - 6px) 100%, 6px 100%, 0 calc(100% - 6px), 0 6px);
}

.hud-icon-sq {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 42px;
  padding: 2px;
  color: #E8F6F2;
  font-size: 15px;
  font-weight: 900;
  border-width: 6px !important;
  border-image-width: 6px !important;
  overflow: visible !important;
}

.hud-icon-sq img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  pointer-events: none;
}

/* ============================================================================
   4. BOTTOM FLOATING TACTICAL DOCK (ROUND 5: 72-78px BUTTONS · 58-65% ICONS)
   ============================================================================ */
#bottom-dock {
  position: fixed;
  bottom: 10px;
  left: 12px;
  right: 12px;
  z-index: 20;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
  pointer-events: none;
}

.hud-bottom-left,
.turret-dock,
.hud-bottom-right {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  pointer-events: auto;
}

.dock-sq-btn {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 74px;
  height: 76px;
  padding: 2px 2px 4px;
  gap: 2px;
  color: #E8F6F2;
  border-width: 6px !important;
  border-image-width: 6px !important;
  overflow: visible !important;
}

.dock-sq-btn img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  pointer-events: none;
}

.dock-sq-label {
  font-size: 11.5px;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #E8F6F2;
  max-width: 100%;
  padding: 0 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-shadow: 0 1px 2px #04070A;
}

.turret-btn {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 82px;
  height: 78px;
  padding: 2px;
  gap: 2px;
  color: #E8F6F2;
  border-width: 6px !important;
  border-image-width: 6px !important;
  overflow: visible !important;
}

.turret-btn img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  pointer-events: none;
}

.turret-btn.is-overclocked {
  filter: drop-shadow(0 0 8px rgba(255, 178, 62, 0.9));
}

.skill-btn {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 82px;
  height: 78px;
  padding: 2px;
  gap: 2px;
  color: #E8F6F2;
  border-width: 6px !important;
  border-image-width: 6px !important;
  overflow: visible !important;
}

.skill-btn img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  pointer-events: none;
}

.skill-btn.is-ready {
  filter: drop-shadow(0 0 9px rgba(70, 224, 138, 0.9));
}

.skill-btn.is-overdrive-on {
  filter: drop-shadow(0 0 10px rgba(255, 178, 62, 0.95));
}

.key-chip {
  position: absolute;
  top: -8px;
  left: -6px;
  z-index: 6;
  padding: 1px 5px;
  background: #04070A;
  border: 1px solid #63D3DC;
  color: #63D3DC;
  font-family: var(--uiv-font-body, 'Consolas', monospace);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.1;
  pointer-events: none;
}

.lv-chip {
  position: absolute;
  top: -8px;
  right: -6px;
  z-index: 6;
  padding: 1px 5px;
  background: #04070A;
  border: 1px solid #FFB23E;
  color: #FFB23E;
  font-family: var(--uiv-font-body, 'Consolas', monospace);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.1;
  pointer-events: none;
}

.notify-badge {
  position: absolute;
  top: -9px;
  right: -9px;
  z-index: 30;
  display: none;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 5px;
  background: #FF4F4F;
  border: 2px solid #04070A;
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 900;
  pointer-events: none;
}

/* ============================================================================
   5. FLEX-SCROLL ANTI-SAAS 60/25/15 MODALS (ZERO BACKDROP-FILTER BLUR!)
   ============================================================================ */
#modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(4, 7, 12, 0.80);
  padding: 16px;
}

.modal-card {
  display: flex;
  flex-direction: column;
  width: min(960px, 94vw);
  max-height: 90vh;
  overflow: hidden;
  border-width: 16px 18px 18px 18px !important;
  border-image-width: 16px 18px 18px 18px !important;
  color: #E8F6F2;
  cursor: default !important;
}

.modal-header {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 10px 8px;
  border-bottom: 1px solid rgba(70, 224, 138, 0.35);
}

#modal-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 19px;
  font-weight: 900;
  letter-spacing: 0.05em;
  color: #46E08A;
  white-space: nowrap;
}

#modal-tabs {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: nowrap;
}

.modal-tab {
  padding: 5px 10px;
  font-size: 12.5px;
  font-weight: 800;
  color: #A7D4C8;
  background: #0B1117;
  border: 1px solid #2A4352;
  cursor: pointer;
  white-space: nowrap;
}

.modal-tab.is-active {
  color: #FFFFFF;
  border-width: 5px 8px !important;
  border-image-width: 5px 8px !important;
}

.modal-close-x {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 36px;
  padding: 0;
  font-size: 18px;
  font-weight: 900;
  color: #FFFFFF;
  border-width: 5px !important;
  border-image-width: 5px !important;
  flex-shrink: 0;
}

.modal-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 12px 10px;
}

.modal-top-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 12px;
  margin-bottom: 12px;
  background: #0B1117;
  border: 1px solid #46E08A;
}

.strip-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.strip-icon {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.strip-title {
  font-size: 14px;
  font-weight: 800;
  color: #E8F6F2;
}

.strip-btn {
  height: 38px;
  padding: 4px 16px;
  font-size: 13px;
  font-weight: 800;
  border-width: 6px 8px !important;
  border-image-width: 6px 8px !important;
}

/* Visual-First 60/25/15 Card Grids */
.vf-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.vf-grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.vf-grid-5 { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }

.vf-grid-3 > *, .vf-grid-4 > *, .vf-grid-5 > * {
  min-width: 0;
  max-width: 100%;
}

.vf-card-portrait {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 8px 6px;
  min-height: 224px;
  text-align: center;
  border-width: 14px !important;
  border-image-width: 14px !important;
  cursor: default !important;
  overflow: visible !important;
}

.vf-art-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 118px;
}

.vf-art-img {
  max-width: 92%;
  max-height: 116px;
  object-fit: contain;
}

.vf-art-img-sm {
  width: 82px;
  height: 82px;
  object-fit: contain;
}

.vf-badge {
  position: absolute;
  top: -8px;
  right: 4px;
  z-index: 8;
  padding: 2px 7px;
  background: #FFB23E;
  color: #060B0F;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.vf-title {
  font-size: 14px;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.15;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vf-stat {
  font-family: var(--uiv-font-body, 'Consolas', monospace);
  font-size: 13px;
  font-weight: 700;
  color: #63D3DC;
  white-space: nowrap;
}

.vf-chip, .chip-inline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-family: var(--uiv-font-body, 'Consolas', monospace);
  font-size: 14px;
  font-weight: 800;
  color: #FFB23E;
  white-space: nowrap;
}

.chip-ico {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.vf-cta {
  width: 100%;
  min-height: 38px;
  padding: 4px 8px;
  font-size: 13px;
  font-weight: 900;
  border-width: 6px 8px !important;
  border-image-width: 6px 8px !important;
  white-space: nowrap;
}

.modal-cta {
  min-width: 136px;
  height: 44px;
  padding: 4px 16px;
  font-size: 14px;
  font-weight: 900;
  border-width: 7px 10px !important;
  border-image-width: 7px 10px !important;
  white-space: nowrap;
}

/* Settings, Pause, Result & Exit Layouts */
.settings-panel {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.setting-opt {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  background: #0B1117;
  border: 1px solid rgba(99, 211, 220, 0.35);
}

.setting-lbl {
  width: 110px;
  font-size: 14px;
  font-weight: 800;
  color: #E8F6F2;
}

.toggle-btn {
  min-width: 68px;
  height: 36px;
  padding: 2px 10px;
  font-size: 13px;
  font-weight: 800;
  border-width: 5px 8px !important;
  border-image-width: 5px 8px !important;
}

.setting-range {
  flex: 1;
  accent-color: #46E08A;
}

.setting-toggles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.toggle-chip {
  height: 40px;
  padding: 4px 8px;
  font-size: 13px;
  font-weight: 800;
  border-width: 6px 8px !important;
  border-image-width: 6px 8px !important;
  white-space: nowrap;
}

.setting-lang-hdr {
  font-size: 14px;
  font-weight: 800;
  color: #63D3DC;
}

.lang-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.lang-btn {
  height: 38px;
  padding: 2px 6px;
  font-size: 13px;
  font-weight: 800;
  border-width: 6px 8px !important;
  border-image-width: 6px 8px !important;
}

.setting-footer, .exit-actions, .pause-actions, .result-actions, .draft-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
}

.pause-panel, .result-panel, .exit-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.pause-emblem, .result-art {
  width: 140px;
  height: 140px;
  object-fit: contain;
}

.exit-hero-img {
  width: 78px;
  height: 78px;
  object-fit: contain;
}

.exit-hero-title {
  font-size: 20px;
  font-weight: 900;
  color: #FFB23E;
}

.exit-hero-note, .pause-note {
  font-size: 14px;
  font-weight: 700;
  color: #A7D4C8;
}

.exit-ready-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 12px 0;
}

.exit-jump-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 10px 8px;
  border-width: 10px !important;
  border-image-width: 10px !important;
  color: #FFFFFF;
}

.exit-jump-icon {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.exit-jump-label {
  font-size: 13px;
  font-weight: 800;
  color: #E8F6F2;
}

.result-loot {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 8px 18px;
  background: #0B1117;
  border: 1px solid #46E08A;
}

/* ============================================================================
   6. NON-BLOCKING VISUAL SPOTLIGHT FTUE (pointer-events: none!)
   ============================================================================ */
#tut-layer {
  position: fixed;
  inset: 0;
  z-index: 65;
  display: none;
  pointer-events: none;
}

#tut-spotlight {
  position: fixed;
  border: 3px solid #46E08A;
  box-shadow: 0 0 18px rgba(70, 224, 138, 0.75);
  pointer-events: none;
  animation: tutPulse 1.1s ease-in-out infinite;
}

#tut-hand {
  position: fixed;
  width: 32px;
  height: 32px;
  pointer-events: none;
  animation: tutBounce 0.8s ease-in-out infinite;
}

#tut-pill {
  position: fixed;
  padding: 6px 14px;
  background: #0B1117;
  border: 2px solid #46E08A;
  color: #E8F6F2;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
  pointer-events: none;
}

#btn-tut-skip {
  position: fixed;
  top: 64px;
  right: 16px;
  z-index: 66;
  height: 36px;
  padding: 2px 14px;
  font-size: 13px;
  font-weight: 800;
  border-width: 6px 8px !important;
  border-image-width: 6px 8px !important;
  pointer-events: auto;
}

@keyframes tutPulse {
  0%, 100% { transform: scale(1); opacity: 0.95; }
  50% { transform: scale(1.06); opacity: 0.65; }
}

@keyframes tutBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* 720p Tightening */
@media (max-width: 1360px) {
  .hud-pill { padding: 2px 8px; gap: 4px; font-size: 13px; }
  .dome-bar-mini { width: 52px; }
  .boss-hp-track { width: 118px; }
  .vf-art-wrap { height: 96px; }
  .vf-art-img { max-height: 94px; }
  .vf-art-img-sm { width: 68px; height: 68px; }
  .vf-card-portrait { min-height: 196px; }
  .dock-sq-btn { width: 68px; height: 72px; }
  .turret-btn { width: 74px; height: 74px; }
  .skill-btn { width: 74px; height: 74px; }
  .dock-sq-label { font-size: 10.5px; }
  .hud-bottom-left, .turret-dock, .hud-bottom-right { gap: 6px; }
  .modal-tab { padding: 4px 8px; font-size: 12px; }
}

.draft-ban-btn {
  position: absolute;
  top: -8px;
  left: 4px;
  z-index: 9;
  padding: 2px 6px;
  background: #3A101B;
  border: 1px solid #FF4F6B;
  color: #FFE4EC;
  font-size: 11px;
  font-weight: 900;
  cursor: pointer;
}

.sm-footer-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
}

/* ============================================================================
   7. SEASONS HUB FOOTER, HELP PILL & NON-BLOCKING FEATURE GUIDE BANNER
   ============================================================================ */
.modal-footer {
  flex: 0 0 auto;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 10px 4px;
  border-top: 1px solid rgba(70, 224, 138, 0.30);
}

.sm-help-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  font-size: 14px;
  font-weight: 900;
  color: #FFB23E;
  border-width: 4px !important;
  border-image-width: 4px !important;
  overflow: visible !important;
  cursor: pointer;
}

.sm-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 800;
  color: #E8F6F2;
  white-space: nowrap;
}

.sm-stat-pill {
  display: inline-flex;
  align-items: center;
  padding: 1px 6px;
  background: #0B1117;
  border: 1px solid rgba(99, 211, 220, 0.45);
  color: #63D3DC;
  font-family: var(--uiv-font-body, 'Consolas', monospace);
  font-size: 12.5px;
  font-weight: 800;
  white-space: nowrap;
}

.sm-mode-btn {
  height: 36px;
  min-width: 96px;
  padding: 2px 14px;
  font-size: 12.5px;
  font-weight: 900;
  border-width: 6px 8px !important;
  border-image-width: 6px 8px !important;
  white-space: nowrap;
}

#feature-guide-banner.fg-toast-banner {
  position: fixed;
  top: 62px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 78;
  display: none;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  max-width: min(460px, 88vw);
  background: rgba(11, 17, 23, 0.94);
  border-width: 6px 8px !important;
  border-image-width: 6px 8px !important;
  pointer-events: none !important;
}

.fg-toast-ico {
  width: 38px;
  height: 38px;
  object-fit: contain;
  flex-shrink: 0;
}

.fg-toast-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.fg-toast-title {
  font-size: 13.5px;
  font-weight: 900;
  color: #46E08A;
  white-space: nowrap;
}

.fg-toast-line {
  font-size: 12.5px;
  font-weight: 700;
  color: #E8F6F2;
  white-space: nowrap;
}
