@charset "UTF-8";
/* Breakout Protocol · Tactical UI 5.0 */
:root {
  color-scheme:dark;
  --bg:#101614;
  --panel:#19211d;
  --panel-2:#202a24;
  --line:#354137;
  --line-soft:#2a352d;
  --ink:#f0f2e7;
  --muted:#95a193;
  --dim:#69786b;
  --accent:#f5a34b;
  --accent-bright:#ffbd6b;
  --green:#a5c59a;
  --red:#ee7b6c;
  --font:"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;
  --mono:"Cascadia Code","Consolas",monospace
}

* {
  box-sizing:border-box
}

html,body {
  margin:0;
  width:100%;
  height:100%;
  overflow:hidden;
  background:var(--bg);
  color:var(--ink);
  font-family:var(--font);
  -webkit-tap-highlight-color:transparent
}

body {
  overscroll-behavior:none
}

button {
  font:inherit;
  color:inherit;
  cursor:pointer;
  border:0;
  transition:background .18s,border-color .18s,color .18s,transform .18s;
  touch-action:manipulation
}

button:active {
  transform:translateY(1px)
}

button:disabled {
  cursor:not-allowed;
  opacity:.45
}

button:focus-visible {
  outline:2px solid var(--accent-bright);
  outline-offset:4px
}

button svg {
  pointer-events:none
}

h1,h2,h3,p {
  margin:0
}

svg {
  display:block;
  width:100%;
  height:100%
}

img {
  max-width:100%
}

.hidden {
  display:none!important
}

small {
  font-weight:400
}

button,nav,canvas {
  user-select:none;
  -webkit-user-select:none
}

#game-canvas {
  position:fixed;
  inset:0;
  width:100%;
  height:100%;
  display:block;
  touch-action:none
}

.vignette-layer {
  position:fixed;
  inset:0;
  z-index:8;
  pointer-events:none;
  opacity:0;
  transition:opacity .18s
}

.live-dot,.connection-status i,.hub-statusbar i {
  display:inline-block;
  width:6px;
  height:6px;
  background:var(--accent);
  border-radius:50%;
  box-shadow:0 0 9px #f5a34b50;
  flex-shrink:0
}

.eyebrow {
  font:10px var(--mono);
  letter-spacing:2px;
  color:var(--accent);
  display:flex;
  align-items:center;
  gap:9px
}

.icon-button,.btn-round-ic {
  width:36px;
  height:36px;
  display:grid;
  place-items:center;
  border:1px solid var(--line);
  background:transparent;
  border-radius:4px;
  color:var(--muted);
  padding:9px
}

.icon-button:hover,.btn-round-ic:hover {
  background:var(--panel-2);
  border-color:var(--muted);
  color:var(--ink)
}

/* Headquarters shell */
.hub-screen {
  position:fixed;
  inset:0;
  z-index:20;
  display:grid;
  grid-template-columns:205px minmax(0,1fr);
  grid-template-rows:84px minmax(0,1fr) 32px;
  background:radial-gradient(ellipse at 78% 10%,#27352855,transparent 65%),var(--bg)
}

.hub-topbar {
  grid-column:1/-1;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 32px;
  border-bottom:1px solid var(--line-soft);
  gap:20px;
  background:#121916
}

.logo-chip {
  display:flex;
  align-items:center;
  gap:12px
}

.logo-svg-wrap {
  width:38px;
  height:42px;
  color:var(--accent)
}

.logo-text {
  display:flex;
  flex-direction:column;
  gap:5px
}

.logo-text b {
  font-size:18px;
  font-weight:800;
  letter-spacing:2px
}

.logo-text small {
  font:8px var(--mono);
  letter-spacing:2.7px;
  color:var(--muted)
}

.connection-status {
  font-size:11px;
  color:var(--muted);
  display:flex;
  align-items:center;
  gap:8px
}

.connection-status i {
  background:var(--green)
}

.connection-status span {
  font:9px var(--mono);
  letter-spacing:1px;
  color:var(--dim)
}

.top-currencies {
  display:flex;
  align-items:center;
  gap:10px
}

.curr-box {
  display:flex;
  align-items:center;
  gap:11px;
  padding:0 20px;
  border-right:1px solid var(--line);
  min-width:125px
}

.curr-box>div {
  display:flex;
  flex-direction:column;
  gap:2px
}

.c-svg {
  width:24px;
  height:26px;
  color:var(--green)
}

.cash .c-svg {
  color:var(--accent)
}

.curr-box small {
  font-size:9px;
  letter-spacing:1px;
  color:var(--muted)
}

.curr-box b {
  font:600 19px var(--mono);
  letter-spacing:1px
}

.hub-bottom-dock {
  grid-column:1;
  grid-row:2;
  border-right:1px solid var(--line-soft);
  display:flex;
  flex-direction:column;
  padding:30px 14px 16px;
  background:#131b16
}

.nav-index {
  font:9px var(--mono);
  letter-spacing:2px;
  color:var(--dim);
  padding:0 14px 21px
}

.hub-tab-btn {
  display:flex;
  align-items:center;
  gap:10px;
  position:relative;
  text-align:left;
  padding:20px 11px;
  background:transparent;
  border:1px solid transparent;
  margin-bottom:8px;
  color:var(--muted);
  border-radius:4px;
  min-height:78px
}

.hub-tab-btn:hover {
  background:#202a23;
  color:var(--ink)
}

.hub-tab-btn.active {
  background:linear-gradient(90deg,#a8773230,#a8773207);
  border-color:#8c69303d;
  color:var(--accent)
}

.hub-tab-btn.active:before {
  content:"";
  position:absolute;
  left:-15px;
  top:16px;
  bottom:16px;
  width:3px;
  background:var(--accent)
}

.nav-label {
  display:flex;
  flex-direction:column;
  gap:6px
}

.nav-number {
  font:8px var(--mono);
  align-self:flex-start;
  margin-top:2px;
  color:var(--dim)
}

.dock-svg {
  width:24px;
  height:28px;
  flex-shrink:0
}

.hub-tab-btn b {
  font-size:13px;
  letter-spacing:1px
}

.hub-tab-btn small {
  font:7px var(--mono);
  letter-spacing:1px;
  color:var(--dim)
}

.hub-tab-btn.active small {
  color:#ba9661
}

.nav-chevron {
  margin-left:auto;
  font-size:19px;
  font-weight:300
}

.red-dot {
  position:absolute;
  right:21px;
  top:16px;
  width:5px;
  height:5px;
  border-radius:50%;
  background:var(--accent)
}

.nav-bottom {
  margin-top:auto;
  display:flex;
  align-items:center;
  flex-direction:column;
  padding:20px 0 5px;
  color:var(--dim)
}

.nav-emblem {
  width:45px;
  height:45px;
  opacity:.35;
  margin-bottom:17px
}

.nav-bottom b {
  font-size:10px;
  letter-spacing:2px;
  font-weight:400
}

.nav-bottom>small {
  font:6px var(--mono);
  letter-spacing:2px;
  margin-top:8px
}

.nav-version {
  font:8px var(--mono);
  letter-spacing:1px;
  margin-top:30px;
  border-top:1px solid var(--line-soft);
  padding-top:16px;
  width:90%;
  display:flex;
  justify-content:space-between
}

.hub-main {
  grid-column:2;
  grid-row:2;
  overflow-y:auto;
  overscroll-behavior:contain;
  scrollbar-width:thin;
  scrollbar-color:var(--line) transparent;
  padding:27px clamp(20px,3.2vw,58px) 24px;
  touch-action:pan-y
}

.hub-tab-panel {
  display:none;
  max-width:1300px;
  margin:0 auto
}

.hub-tab-panel.active {
  display:flex;
  flex-direction:column;
  animation:panel-enter .28s ease-out
}

.section-eyebrow {
  display:flex;
  justify-content:space-between;
  align-items:center;
  color:var(--muted);
  font-size:10px;
  letter-spacing:2px;
  padding-bottom:15px;
  border-bottom:1px solid var(--line-soft)
}

.section-eyebrow>span:last-child {
  font:9px var(--mono);
  color:var(--dim);
  letter-spacing:1.5px
}

.section-eyebrow b {
  color:var(--accent);
  font-weight:400
}

.hub-statusbar {
  grid-column:1/-1;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 30px;
  border-top:1px solid var(--line-soft);
  font:8px var(--mono);
  letter-spacing:1px;
  color:var(--dim);
  background:#121916
}

.hub-statusbar>span {
  display:flex;
  align-items:center;
  gap:8px
}

.hub-statusbar i {
  background:var(--green);
  width:4px;
  height:4px
}

.hub-statusbar b {
  color:var(--accent)
}

/* Deployment */
.mission-hero {
  display:grid;
  grid-template-columns:1.02fr 1fr;
  min-height:315px;
  margin:26px 0 25px;
  gap:20px
}

.mission-copy {
  min-width:0;
  padding:16px 0 0;
  position:relative;
  z-index:1
}

.mission-copy h1 {
  font-size:clamp(34px,3.7vw,61px);
  font-weight:850;
  line-height:1.27;
  letter-spacing:3px;
  margin:18px 0 14px
}

.mission-copy h1 span {
  color:var(--accent)
}

.mission-copy p {
  font-size:11px;
  line-height:2;
  color:var(--muted);
  letter-spacing:.4px
}

.mission-facts {
  display:flex;
  gap:30px;
  margin-top:24px
}

.mission-facts>div {
  display:flex;
  flex-direction:column;
  gap:7px
}

.mission-facts strong {
  font:400 23px var(--mono);
  letter-spacing:-1px
}

.mission-facts strong span {
  font:10px var(--font);
  color:var(--muted);
  letter-spacing:0
}

.mission-facts small {
  font-size:9px;
  color:var(--dim);
  letter-spacing:1px
}

.tactical-map {
  position:relative;
  min-width:0;
  overflow:hidden;
  border:1px solid var(--line-soft);
  border-radius:4px;
  background:#18221d
}

.tactical-map:after {
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:repeating-linear-gradient(0deg,transparent 0,transparent 3px,#10161418 4px)
}

.tactical-map>img {
  height:100%;
  width:100%;
  position:absolute;
  object-fit:cover;
  opacity:.95
}

.map-header {
  position:absolute;
  top:16px;
  left:17px;
  right:17px;
  display:flex;
  justify-content:space-between;
  font:7px var(--mono);
  letter-spacing:1.4px;
  color:var(--green);
  z-index:2
}

.map-header>span:first-child {
  display:flex;
  gap:6px;
  align-items:center
}

.map-header i {
  width:4px;
  height:4px;
  background:var(--green);
  border-radius:50%
}

.map-coordinate {
  position:absolute;
  bottom:14px;
  left:16px;
  font:7px/1.8 var(--mono);
  letter-spacing:1px;
  color:#859e86
}

.map-coordinate span {
  font-size:8px;
  color:var(--dim);
  letter-spacing:.5px
}

.map-legend {
  position:absolute;
  bottom:16px;
  right:14px;
  display:flex;
  gap:12px;
  font-size:8px;
  color:var(--muted)
}

.map-legend span {
  display:flex;
  align-items:center;
  gap:4px
}

.map-legend i {
  width:5px;
  height:5px
}

.legend-safe {
  background:var(--accent)
}

.legend-danger {
  background:#9d5146
}

.map-reticle {
  position:absolute;
  inset:33px 12px 38px;
  border:1px solid #8da58e14;
  pointer-events:none
}

.map-reticle:before,.map-reticle:after {
  content:"+";
  position:absolute;
  font:16px var(--mono);
  color:#8da58e55
}

.map-reticle:before {
  left:-5px;
  top:-10px
}

.map-reticle:after {
  right:-5px;
  bottom:-8px
}

.deployment-heading {
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  margin-bottom:13px
}

.deployment-heading .eyebrow {
  font-size:8px;
  letter-spacing:1.5px;
  color:var(--dim);
  margin-bottom:6px
}

h2 {
  font-size:16px;
  font-weight:650;
  letter-spacing:1px
}

.deployment-heading h2 small {
  font-size:9px;
  letter-spacing:0;
  color:var(--dim);
  margin-left:13px
}

.selection-count {
  font:10px var(--mono);
  color:var(--dim);
  letter-spacing:2px
}

.zone-cards-row {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px
}

.zone-tile {
  position:relative;
  display:grid;
  grid-template-columns:78px minmax(0,1fr);
  grid-template-rows:auto auto auto;
  column-gap:14px;
  align-content:center;
  text-align:left;
  background:#19221c;
  border:1px solid var(--line);
  border-radius:4px;
  padding:17px 14px;
  min-height:124px;
  overflow:hidden;
  color:var(--ink)
}

.zone-tile:hover {
  background:#232d25;
  border-color:#75806a
}

.zone-tile.selected {
  border-color:var(--accent);
  background:linear-gradient(115deg,#59432955,#20271f)
}

.zone-tile.selected:after {
  content:"";
  position:absolute;
  bottom:0;
  left:0;
  width:100%;
  height:2px;
  background:var(--accent)
}

.zt-badge {
  font:8px var(--mono);
  letter-spacing:1.2px;
  color:var(--dim);
  grid-column:2
}

.zt-svg {
  grid-column:1;
  grid-row:1/4;
  width:78px;
  height:74px;
  opacity:.85;
  align-self:center
}

.zt-name {
  font-size:13px;
  font-weight:650;
  letter-spacing:.8px;
  grid-column:2;
  margin:8px 0
}

.zt-mult {
  grid-column:2;
  font-size:9px;
  color:var(--muted);
  display:flex;
  gap:9px;
  align-items:center
}

.zt-mult b {
  font:9px var(--mono);
  color:var(--accent);
  font-weight:400
}

.zt-check {
  position:absolute;
  top:10px;
  right:10px;
  width:13px;
  height:13px;
  border:1px solid var(--line);
  color:var(--bg);
  font-size:9px;
  text-align:center;
  line-height:11px;
  border-radius:2px
}

.selected .zt-check {
  background:var(--accent);
  border-color:var(--accent)
}

.zone-threat {
  color:var(--dim);
  font:9px var(--mono);
  letter-spacing:2px
}

.deploy-bottom-card {
  display:flex;
  align-items:center;
  gap:19px;
  border-top:1px solid var(--line);
  margin-top:23px;
  padding-top:22px
}

.btn-supply-capsule {
  background:#1d251d;
  border:1px solid #4a4e34;
  border-radius:4px;
  display:flex;
  align-items:center;
  gap:13px;
  padding:14px;
  text-align:left;
  min-width:270px
}

.btn-supply-capsule:hover {
  background:#2b3223;
  border-color:#8c8654
}

.supply-icon {
  width:39px;
  height:39px;
  color:var(--accent)
}

.supply-copy {
  display:flex;
  flex-direction:column;
  gap:7px
}

.supply-copy b {
  font-size:11px;
  font-weight:600;
  white-space:nowrap
}

.badge-ad,.ad-label {
  font:8px var(--font);
  border:1px solid #7c7047;
  color:#c7b477;
  border-radius:2px;
  padding:2px 4px;
  margin-left:6px;
  vertical-align:middle;
  white-space:nowrap
}

.supply-copy small {
  font-size:9px;
  color:var(--muted)
}

.supply-add {
  font-size:21px;
  color:#c6bc88;
  margin-left:9px
}

.btn-supply-capsule.armed {
  border-color:var(--green)
}

.launch-meta {
  display:flex;
  align-items:flex-start;
  gap:8px;
  font-size:10px;
  color:var(--green);
  margin-left:auto
}

.launch-meta .live-dot {
  background:var(--green);
  margin-top:4px
}

.launch-meta small {
  display:block;
  font-size:8px;
  color:var(--dim);
  margin-top:7px;
  white-space:nowrap
}

.btn-big-play {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:35px;
  padding:16px 24px;
  min-width:240px;
  background:var(--accent);
  color:#212418;
  border:1px solid #ffc285;
  border-radius:3px;
  box-shadow:0 4px 0 #81562e
}

.btn-big-play:hover {
  background:var(--accent-bright)
}

.play-labels {
  text-align:left;
  display:flex;
  flex-direction:column;
  gap:6px
}

.play-labels b {
  font-size:19px;
  letter-spacing:4px;
  font-weight:800
}

.play-labels small {
  font:8px var(--mono);
  letter-spacing:2.1px;
  color:#68512f
}

.play-arrow {
  width:30px;
  height:30px
}

.btn-big-play:active {
  box-shadow:0 1px 0 #81562e;
  transform:translateY(3px)
}

/* Equipment and operators */
.panel-title-row {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  margin:30px 0 26px
}

.panel-title-row h1 {
  font-size:clamp(23px,2.5vw,37px);
  font-weight:750;
  letter-spacing:2px;
  margin:12px 0
}

.panel-title-row h1 span {
  color:var(--accent)
}

.panel-title-row p {
  font-size:11px;
  color:var(--muted);
  line-height:1.9
}

.btn-action-gold {
  border:1px solid #9b7844;
  background:#6c4d252d;
  color:var(--accent);
  border-radius:3px;
  padding:13px 20px;
  display:flex;
  align-items:center;
  gap:8px;
  white-space:nowrap;
  font-size:12px
}

.btn-action-gold>span {
  width:20px;
  height:20px
}

.btn-action-gold:hover {
  background:#72572d50
}

.armory-layout {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:22px
}

.equipment-section,.inventory-section {
  border:1px solid var(--line);
  background:#172019;
  padding:19px;
  border-radius:4px
}

.subheading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:18px
}

.subheading h2 {
  font-size:13px
}

.subheading>small {
  font:8px var(--mono);
  color:var(--dim);
  letter-spacing:.7px
}

.subheading h2 small {
  font-size:10px;
  color:var(--dim);
  margin-left:8px
}

.equipped-slots-row {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px
}

.eq-tile {
  position:relative;
  border:1px solid var(--line);
  border-radius:3px;
  padding:13px 6px 11px;
  text-align:center;
  display:flex;
  align-items:center;
  flex-direction:column;
  gap:7px;
  min-width:0
}

.eq-tier-pill {
  color:#142018;
  font-size:8px;
  letter-spacing:.5px;
  border-radius:2px;
  padding:2px 6px
}

.eq-name {
  font-size:10px;
  color:var(--muted)
}

.eq-svg {
  width:49px;
  height:49px;
  margin:2px 0
}

.eq-stat {
  font:11px var(--mono)
}

.equipment-note {
  display:flex;
  gap:12px;
  margin-top:16px;
  align-items:center;
  padding:12px;
  background:#212c224d;
  border:1px solid var(--line-soft)
}

.equipment-note>span {
  width:26px;
  height:28px;
  color:var(--dim)
}

.equipment-note p {
  font-size:9px;
  line-height:1.9;
  color:var(--dim)
}

.bag-icons-grid {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  align-content:start;
  gap:10px;
  min-height:260px;
  max-height:310px;
  overflow-y:auto;
  padding:1px;
  scrollbar-width:thin;
  scrollbar-color:var(--line) transparent
}

.bag-cell {
  display:flex;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:7px;
  padding:12px 5px;
  background:#141c17;
  border:1px solid var(--line);
  border-radius:3px;
  text-align:center;
  min-height:100px;
  position:relative
}

.bag-cell:hover {
  background:#273327;
  transform:translateY(-2px)
}

.bc-svg {
  width:40px;
  height:40px
}

.bc-name {
  font-size:9px;
  color:var(--muted)
}

.bc-tag {
  font-size:8px;
  padding:2px 5px;
  border-radius:2px
}

.bag-cell.merge-glow:before {
  content:"";
  position:absolute;
  inset:3px;
  border:1px dashed #f5a34b55;
  pointer-events:none
}

.bag-empty {
  grid-column:1/-1;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  min-height:240px;
  color:var(--dim);
  gap:12px;
  font-size:12px
}

.bag-empty span {
  font-size:10px
}

.rarity-legend {
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:13px;
  margin-top:16px;
  padding-top:12px;
  border-top:1px solid var(--line-soft);
  font-size:8px;
  color:var(--dim)
}

.rarity-legend i {
  font-style:normal;
  display:flex;
  gap:4px;
  align-items:center
}

.rarity-legend i:before {
  content:"";
  display:block;
  width:4px;
  height:4px;
  background:var(--rarity)
}

.shop-crates-row {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:22px;
  margin-top:22px
}

.btn-crate {
  display:flex;
  align-items:center;
  text-align:left;
  gap:17px;
  padding:20px;
  border:1px solid #3b4e50;
  background:linear-gradient(115deg,#223238,#172020);
  border-radius:4px
}

.btn-crate.purple {
  border-color:#64523e;
  background:linear-gradient(115deg,#3d3028,#211e1b)
}

.btn-crate:hover {
  filter:brightness(1.15);
  border-color:var(--muted)
}

.crate-svg {
  width:55px;
  height:55px;
  flex-shrink:0;
  color:#9cbbc5
}

.purple .crate-svg {
  color:var(--accent)
}

.btn-crate b {
  font-size:15px;
  font-weight:600;
  display:block;
  letter-spacing:1px;
  margin:5px 0
}

.btn-crate small {
  font:7px var(--mono);
  letter-spacing:1px;
  color:var(--dim)
}

.btn-crate p {
  font-size:9px;
  color:var(--muted)
}

.crate-price {
  margin-left:auto;
  font:12px var(--mono);
  color:var(--accent);
  white-space:nowrap
}

.crate-price>span {
  display:block;
  text-align:right;
  margin-top:12px;
  font-size:20px
}

.operator-count {
  display:flex;
  align-items:center;
  gap:15px;
  color:var(--dim)
}

.operator-count strong {
  font:46px var(--mono);
  color:var(--green)
}

.operator-count span {
  font:8px/1.9 var(--mono);
  letter-spacing:1px
}

.hero-cards-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:15px
}

.hero-card {
  background:#19221c;
  border:1px solid var(--line);
  border-radius:4px;
  overflow:hidden;
  position:relative
}

.hero-card-top {
  padding:12px 15px;
  border-bottom:1px solid var(--line-soft);
  display:flex;
  justify-content:space-between;
  align-items:center;
  font:8px var(--mono);
  color:var(--dim);
  letter-spacing:1px
}

.hero-class-tag {
  color:var(--unit-color);
  border:1px solid color-mix(in srgb,var(--unit-color) 30%,transparent);
  font:8px var(--font);
  padding:2px 5px;
  border-radius:2px;
  letter-spacing:1px
}

.hc-visual-row {
  display:flex;
  align-items:center;
  gap:13px;
  padding:18px 17px;
  background:radial-gradient(ellipse at 15% 70%,color-mix(in srgb,var(--unit-color) 10%,transparent),transparent 75%)
}

.hc-svg-box {
  width:70px;
  height:78px;
  flex-shrink:0
}

.hc-identity {
  flex:1
}

.hc-identity h3 {
  font-size:16px;
  font-weight:600;
  letter-spacing:1px;
  margin-bottom:7px
}

.hc-identity small {
  font:8px var(--mono);
  letter-spacing:1px;
  color:var(--dim)
}

.hc-evolution {
  font-size:9px;
  margin-top:10px;
  color:var(--accent)
}

.hc-info-row {
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 16px 14px;
  font-size:10px;
  color:var(--muted)
}

.hc-info-row>span:last-child {
  font:10px var(--mono);
  color:var(--green)
}

.btn-hero-up {
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin:0 14px 14px;
  padding:10px 12px;
  width:calc(100% - 28px);
  background:#263127;
  border:1px solid #46533d;
  border-radius:3px;
  font-size:10px;
  color:var(--green)
}

.btn-hero-up:hover {
  background:#35422e;
  border-color:var(--green)
}

.btn-hero-up span:last-child {
  font:11px var(--mono);
  color:var(--accent)
}

.btn-hero-up:disabled span {
  color:var(--dim)
}

.panel-footnote {
  display:flex;
  align-items:center;
  gap:8px;
  margin-top:19px;
  color:var(--dim);
  font-size:10px
}

.panel-footnote>span {
  width:14px;
  height:14px
}

/* Edge-bound combat HUD */
.combat-hud {
  position:fixed;
  inset:0;
  z-index:10;
  pointer-events:none;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  padding:max(18px,env(safe-area-inset-top)) max(20px,env(safe-area-inset-right)) max(18px,env(safe-area-inset-bottom)) max(20px,env(safe-area-inset-left))
}

.radar-overlay {
  display:none!important
}

.hud-top {
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  z-index:15
}

.hud-player-card {
  display:flex;
  align-items:center;
  gap:10px;
  padding:9px 13px 9px 8px;
  background:#111b16ed;
  border:1px solid #70826a77;
  border-radius:4px;
  box-shadow:0 4px 18px #0003
}

.avatar-circle {
  width:39px;
  height:41px;
  position:relative;
  background:#25332b;
  border:1px solid #638370;
  border-radius:3px;
  flex-shrink:0;
  display:grid;
  place-items:center
}

.hud-avatar-svg {
  width:32px;
  height:32px
}

.avatar-circle>span {
  position:absolute;
  bottom:-5px;
  left:-3px;
  font:9px var(--mono);
  background:var(--accent);
  color:var(--bg);
  padding:2px 4px;
  border-radius:2px
}

.bars-col {
  width:138px;
  display:flex;
  flex-direction:column;
  gap:5px
}

.hud-player-label {
  display:flex;
  align-items:center;
  justify-content:space-between;
  font-size:10px;
  letter-spacing:1px
}

.hud-player-label small {
  font:8px var(--mono);
  color:var(--green);
  letter-spacing:0
}

.bar-track {
  height:7px;
  background:#27342c;
  position:relative;
  overflow:hidden;
  border-radius:1px
}

.bar-track.xp {
  height:3px
}

.bar-fill.hp {
  height:100%;
  background:#a4ca89;
  width:100%;
  transition:width .15s
}

.bar-fill.shield {
  position:absolute;
  inset:0 auto 0 0;
  height:100%;
  background:#9edce788;
  width:30%;
  border-right:1px solid #d9fbff
}

.bar-fill.xp {
  height:100%;
  background:var(--accent);
  transition:width .15s
}

.hud-mission-clock {
  pointer-events:auto;
  display:flex;
  align-items:center;
  gap:15px;
  padding:9px 10px 9px 16px;
  background:#111b16ed;
  border:1px solid #70826a77;
  border-radius:4px
}

.hud-mission-clock>div {
  display:flex;
  flex-direction:column;
  gap:1px;
  text-align:center;
  min-width:94px
}

.clock-tag {
  font-size:8px;
  letter-spacing:1px;
  color:var(--muted)
}

.clock-time {
  font:24px var(--mono);
  letter-spacing:2px;
  color:var(--accent);
  font-variant-numeric:tabular-nums;
  line-height:1.2
}

.btn-evac-now {
  display:flex;
  align-items:center;
  gap:6px;
  padding:9px;
  background:#324330;
  border:1px solid #698c57;
  border-radius:2px;
  color:#c3daa4;
  font-size:10px
}

.btn-evac-now>span:first-child {
  width:22px;
  height:22px
}

.btn-evac-now:hover {
  background:#4d6140
}

.hud-top-right {
  display:flex;
  align-items:center;
  gap:6px;
  pointer-events:auto
}

.mini-stat {
  display:flex;
  gap:7px;
  align-items:center;
  font:13px var(--mono);
  height:38px;
  padding:9px 12px;
  border:1px solid #70826a77;
  border-radius:3px;
  background:#111b16ed
}

.mini-stat>span {
  width:17px;
  height:17px;
  color:var(--accent)
}

.mini-stat b {
  font-weight:400
}

.kills-stat>span {
  color:var(--muted)
}

.btn-round-ic {
  background:#111b16ed;
  border-color:#70826a77;
  width:38px;
  height:38px
}

.combat-objective {
  position:absolute;
  top:101px;
  left:22px;
  display:flex;
  gap:8px;
  font-size:10px;
  color:#cfdbc6;
  text-shadow:0 1px 3px #000
}

.combat-objective .live-dot {
  width:4px;
  height:4px;
  margin-top:5px
}

.combat-objective small {
  display:block;
  font-size:8px;
  color:#a0b09e;
  margin-top:5px
}

.boss-hp-banner {
  position:fixed;
  top:100px;
  left:50%;
  transform:translateX(-50%);
  width:min(340px,72vw);
  padding:9px 12px;
  border:1px solid #ad5d5577;
  border-radius:3px;
  background:#201917ed
}

.boss-name-row {
  display:flex;
  justify-content:space-between;
  font:9px var(--mono);
  color:#ee9a88;
  margin-bottom:6px
}

.boss-bar-track {
  height:4px;
  background:#512c28
}

.boss-bar-fill {
  height:100%;
  width:100%;
  background:#e88470;
  transition:width .15s
}

.hud-skill-dock {
  position:fixed;
  right:20px;
  top:50%;
  transform:translateY(-35%);
  display:flex;
  flex-direction:column;
  gap:17px;
  pointer-events:auto;
  z-index:16
}

.skills-heading {
  font-size:8px;
  color:#b6bfa9;
  text-align:center;
  letter-spacing:2px;
  text-shadow:0 1px 3px #000
}

.skill-orb {
  width:64px;
  height:76px;
  padding:10px 8px 6px;
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:4px;
  border-radius:4px;
  border:1px solid #79675c;
  background:linear-gradient(140deg,#46302be8,#211b18f0);
  color:#ed9a83;
  box-shadow:0 4px 12px #0004
}

.skill-orb:hover {
  border-color:currentColor;
  filter:brightness(1.2)
}

.skill-orb.gold {
  border-color:#8f7849;
  background:linear-gradient(140deg,#493e25ee,#231e16f0);
  color:var(--accent)
}

.skill-orb.blue {
  border-color:#5e8985;
  background:linear-gradient(140deg,#233e3cee,#172522f0);
  color:#91c9bf
}

.orb-svg {
  width:33px;
  height:33px
}

.skill-orb b {
  font-size:9px;
  font-weight:400;
  letter-spacing:2px
}

.orb-badge {
  position:absolute;
  right:-1px;
  top:-7px;
  background:#d3d6bd;
  border:1px solid #333d2e;
  color:#243024;
  font-size:7px;
  padding:2px 5px;
  border-radius:2px;
  white-space:nowrap
}

.skill-orb kbd {
  position:absolute;
  bottom:4px;
  right:4px;
  font:7px var(--mono);
  color:var(--muted)
}

.hud-bottom-bar {
  align-self:center;
  display:flex;
  align-items:center;
  gap:13px;
  max-width:88vw;
  padding:9px 13px;
  border:1px solid #70826a77;
  border-radius:4px;
  background:#111b16e8;
  box-shadow:0 5px 20px #0003
}

.squad-count-chip {
  display:flex;
  flex-direction:column;
  gap:4px;
  border-right:1px solid var(--line);
  padding-right:13px;
  white-space:nowrap
}

.squad-count-chip small {
  font-size:7px;
  color:var(--muted);
  letter-spacing:1px
}

.squad-count-chip b {
  font:13px var(--mono);
  color:var(--accent)
}

.squad-slots-row {
  display:flex;
  align-items:center;
  gap:7px;
  overflow-x:auto;
  scrollbar-width:none;
  max-width:65vw;
  padding:3px
}

.squad-slots-row::-webkit-scrollbar {
  display:none
}

.sq-slot {
  width:37px;
  height:38px;
  position:relative;
  flex-shrink:0;
  border:1px solid #658980;
  background:#25352c;
  border-radius:2px;
  display:grid;
  place-items:center
}

.sq-slot-svg {
  width:30px;
  height:30px
}

.sq-slot.evo {
  border-color:var(--accent);
  background:#493d24;
  box-shadow:0 0 10px #f5a34b18
}

.sq-star {
  position:absolute;
  bottom:-4px;
  right:-4px;
  font:7px var(--mono);
  color:var(--accent);
  background:#121b14;
  padding:1px 3px;
  border-radius:2px
}

.squad-merge-tip {
  font-size:8px;
  white-space:nowrap;
  color:var(--muted);
  padding-left:3px
}

.squad-merge-tip b {
  color:var(--accent);
  font-weight:400
}

.combat-announcement {
  position:fixed;
  top:165px;
  left:50%;
  transform:translateX(-50%);
  padding:10px 23px;
  border:1px solid var(--accent);
  border-radius:3px;
  background:#142018ed;
  text-align:center;
  max-width:85vw;
  font-size:12px;
  z-index:15;
  box-shadow:0 8px 30px #0004
}

/* Modal family */
.modal-backdrop,.ad-overlay {
  position:fixed;
  inset:0;
  z-index:40;
  background:#080e0bc9;
  backdrop-filter:blur(7px);
  display:flex;
  align-items:center;
  justify-content:center;
  padding:22px;
  overflow-y:auto;
  touch-action:pan-y
}

.modal-card {
  position:relative;
  width:100%;
  max-width:710px;
  padding:30px;
  background:radial-gradient(ellipse at 50% 0,#43503635,transparent 60%),#182019;
  border:1px solid #667056;
  border-top:2px solid var(--accent);
  border-radius:5px;
  text-align:center;
  box-shadow:0 28px 100px #0009;
  animation:panel-enter .23s ease-out;
  max-height:calc(100dvh - 44px);
  overflow:auto;
  scrollbar-width:thin;
  scrollbar-color:var(--line) transparent
}

.modal-card:before,.modal-card:after {
  content:"+";
  position:absolute;
  top:7px;
  color:var(--dim);
  font:11px var(--mono)
}

.modal-card:before {
  left:9px
}

.modal-card:after {
  right:9px
}

.modal-card.compact {
  max-width:470px
}

.modal-kicker {
  font:8px var(--mono);
  letter-spacing:1.8px;
  color:var(--dim);
  margin-bottom:18px
}

.modal-symbol {
  width:48px;
  height:48px;
  color:var(--accent);
  margin:4px auto 15px
}

.modal-symbol.danger {
  color:var(--red)
}

.modal-card h2,.modal-ribbon {
  font-size:25px;
  letter-spacing:2px;
  line-height:1.5;
  font-weight:650;
  margin-bottom:9px
}

.modal-description {
  font-size:11px;
  line-height:1.9;
  color:var(--muted);
  margin-bottom:24px
}

.visual-choices-row {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
  margin-bottom:20px
}

.v-choice-card {
  position:relative;
  background:#202a21;
  border:1px solid #47523f;
  border-radius:3px;
  padding:18px 9px 14px;
  cursor:pointer;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:15px;
  min-height:230px;
  transition:transform .18s,border-color .18s;
  box-shadow:0 8px 15px #0001
}

.v-choice-card:hover {
  transform:translateY(-4px);
  border-color:var(--accent);
  background:#2d3524
}

.v-choice-card:after {
  content:"SELECT →";
  font-size:9px;
  color:var(--dim);
  margin-top:auto;
  letter-spacing:1px
}

.v-choice-card.evo-ready {
  border-color:var(--accent);
  background:linear-gradient(150deg,#67502b55,#202a21)
}

.vc-pill {
  padding:3px 7px;
  font-size:8px;
  color:#142018;
  border-radius:2px
}

.vc-svg {
  width:67px;
  height:67px
}

.vc-title {
  font-size:14px;
  margin-bottom:7px;
  letter-spacing:1px
}

.vc-stat {
  font-size:10px;
  line-height:1.5
}

.vc-progress-dots {
  display:flex;
  gap:5px
}

.vc-dot {
  width:16px;
  height:3px;
  background:#3c4938
}

.vc-dot.filled {
  background:var(--accent)
}

.modal-actions-row {
  display:flex;
  gap:10px
}

.modal-actions-col {
  display:flex;
  flex-direction:column;
  gap:10px
}

.btn-mega-gold {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  background:var(--accent);
  color:#25281b;
  border:1px solid #ffc88c;
  border-radius:3px;
  font-size:13px;
  font-weight:650;
  letter-spacing:1px;
  padding:14px 18px;
  min-height:46px;
  flex:1.5
}

.btn-mega-gold:hover {
  background:var(--accent-bright)
}

.btn-mega-gold .ad-label {
  margin:0;
  border-color:#77552a;
  color:#5f471e;
  font-size:9px;
  letter-spacing:0
}

.btn-flat-dark {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  border:1px solid var(--line);
  border-radius:3px;
  background:#232d24;
  color:var(--muted);
  font-size:11px;
  padding:13px 18px;
  min-height:44px;
  flex:1
}

.btn-flat-dark>span {
  width:16px;
  height:16px
}

.btn-flat-dark:hover {
  background:#303a2c;
  color:var(--ink);
  border-color:var(--muted)
}

.modal-footnote {
  font-size:9px;
  color:var(--dim);
  margin-top:19px;
  letter-spacing:1px
}

.danger-modal {
  border-top-color:var(--red)
}

.danger-title {
  color:#f3b4a3
}

.victory-title {
  color:var(--green)
}

.perk-icons-row {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:9px;
  margin-bottom:22px
}

.perk-box {
  border:1px solid var(--line);
  background:#111a14;
  padding:15px 3px;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:10px;
  border-radius:3px
}

.perk-svg {
  width:41px;
  height:41px;
  color:var(--accent)
}

.perk-box b {
  font-size:10px;
  font-weight:500
}

.perk-box small {
  font-size:8px;
  color:var(--dim)
}

.loot-summary-grid {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:8px;
  margin-bottom:22px
}

.loot-tile {
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:10px;
  border:1px solid var(--line);
  border-radius:3px;
  background:#121b14;
  padding:13px 3px
}

.loot-tile small {
  font-size:8px;
  color:var(--muted)
}

.loot-tile b {
  font:19px var(--mono);
  white-space:nowrap
}

.loot-tile.gold {
  border-color:#79643f
}

.loot-tile.gold b {
  color:var(--accent)
}

.loot-tile.blue b {
  color:#97c8c4
}

.wheel-box {
  background:#121a13;
  border:1px solid var(--line);
  padding:15px;
  border-radius:3px;
  margin-bottom:20px
}

.wheel-label {
  display:flex;
  justify-content:space-between;
  align-items:center;
  font-size:10px;
  text-align:left;
  color:var(--muted);
  margin-bottom:13px
}

.wheel-label small {
  font-size:7px;
  color:var(--dim)
}

.wheel-tiers {
  display:flex;
  gap:3px;
  margin-bottom:5px;
  font:12px var(--mono)
}

.wt {
  flex:1;
  background:#2c372c;
  padding:6px;
  color:#a7b39c;
  border-radius:1px
}

.wt.t3 {
  background:#324b43;
  color:#add1b9
}

.wt.t5 {
  background:#886337;
  color:#ffe2ab
}

.wheel-bar {
  height:5px;
  position:relative;
  background:linear-gradient(90deg,#46583d,#5f9383,#f5a34b,#5f9383,#46583d);
  border-radius:1px
}

.wheel-pin {
  position:absolute;
  top:-4px;
  left:50%;
  transform:translateX(-50%);
  color:#fff1cc;
  font-size:13px;
  line-height:10px
}

.guide-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  margin:25px 0;
  text-align:left
}

.guide-grid>div {
  padding:18px;
  background:#121b15;
  border:1px solid var(--line);
  border-radius:3px
}

.guide-grid>div>span {
  display:block;
  width:32px;
  height:32px;
  color:var(--accent);
  margin-bottom:12px
}

.guide-grid h3 {
  font-size:12px;
  margin-bottom:9px;
  font-weight:600
}

.guide-grid p {
  font-size:10px;
  line-height:1.9;
  color:var(--muted)
}

.help-card>.btn-mega-gold {
  width:100%
}

.ad-overlay {
  z-index:100
}

.ad-card {
  max-width:380px;
  width:100%;
  padding:30px;
  border:1px solid var(--line);
  border-top:2px solid var(--accent);
  border-radius:4px;
  text-align:center;
  background:#19211b
}

.ad-radar-icon {
  width:64px;
  height:64px;
  color:var(--accent);
  margin:24px auto;
  animation:radar-breathe 1.5s ease-in-out infinite
}

.ad-msg {
  font-size:13px;
  line-height:1.8
}

.ad-card>p {
  font-size:10px;
  color:var(--dim);
  margin:9px 0 25px
}

.ad-bar-bg {
  height:4px;
  background:#303a2c;
  overflow:hidden
}

.ad-bar-fg {
  height:100%;
  width:0;
  background:var(--accent);
  transition:width .1s linear
}

.toast-banner {
  position:fixed;
  left:50%;
  bottom:65px;
  transform:translateX(-50%);
  z-index:110;
  padding:13px 23px;
  max-width:min(520px,90vw);
  background:#e0cf9c;
  color:#272c1f;
  border:1px solid #fff0bd;
  border-radius:3px;
  font-size:12px;
  line-height:1.6;
  text-align:center;
  box-shadow:0 8px 40px #0006;
  pointer-events:none
}

@keyframes panel-enter {
  from {
    opacity:0;
    transform:translateY(7px)
  }

  to {
    opacity:1;
    transform:translateY(0)
  }

}

@keyframes radar-breathe {
  50% {
    opacity:.4;
    transform:scale(.94)
  }

}

@media(min-width:1500px) {
  .hub-screen {
    grid-template-columns:230px minmax(0,1fr)
  }

  .hub-main {
    padding-top:37px
  }

  .mission-hero {
    min-height:370px;
    margin-top:35px;
    margin-bottom:32px
  }

  .mission-copy {
    padding-top:25px
  }

  .mission-copy h1 {
    margin-top:24px
  }

  .mission-facts {
    margin-top:30px
  }

  .zone-tile {
    min-height:145px;
    padding:20px
  }

  .deploy-bottom-card {
    margin-top:30px;
    padding-top:28px
  }

  .hero-cards-grid {
    gap:22px
  }

  .hc-visual-row {
    padding:25px
  }

  .hc-svg-box {
    width:85px;
    height:95px
  }

}

@media(max-width:1150px) {
  .hub-screen {
    grid-template-columns:165px minmax(0,1fr);
    grid-template-rows:75px minmax(0,1fr) 28px
  }

  .hub-topbar {
    padding:0 20px
  }

  .connection-status {
    display:none
  }

  .hub-main {
    padding:22px
  }

  .hub-bottom-dock {
    padding-left:8px;
    padding-right:8px
  }

  .nav-number {
    display:none
  }

  .hub-tab-btn {
    padding:15px 10px;
    gap:9px
  }

  .hub-tab-btn.active:before {
    left:-9px
  }

  .hub-tab-btn b {
    font-size:12px
  }

  .hub-tab-btn small {
    font-size:6px
  }

  .mission-hero {
    min-height:293px;
    margin-top:21px
  }

  .mission-copy h1 {
    font-size:40px
  }

  .mission-facts {
    gap:21px
  }

  .zone-tile {
    grid-template-columns:55px minmax(0,1fr);
    gap:0 8px;
    padding:15px 9px;
    min-height:112px
  }

  .zt-svg {
    width:55px;
    height:65px
  }

  .zt-name {
    font-size:11px
  }

  .zt-badge {
    font-size:7px
  }

  .zt-mult {
    gap:5px;
    font-size:8px
  }

  .zone-threat {
    font-size:7px
  }

  .deploy-bottom-card {
    gap:12px
  }

  .btn-supply-capsule {
    min-width:0;
    padding:12px;
    gap:8px
  }

  .supply-icon {
    width:32px;
    height:32px
  }

  .supply-add {
    display:none
  }

  .supply-copy b {
    font-size:10px
  }

  .supply-copy small {
    font-size:8px
  }

  .badge-ad {
    font-size:6px;
    margin-left:3px
  }

  .btn-big-play {
    min-width:200px;
    padding:15px 20px
  }

  .launch-meta {
    font-size:9px
  }

  .launch-meta small {
    font-size:7px
  }

  .hero-cards-grid {
    gap:10px
  }

  .hc-visual-row {
    padding:15px 10px;
    gap:8px
  }

  .hc-svg-box {
    width:58px;
    height:65px
  }

  .hc-identity h3 {
    font-size:13px
  }

  .hc-evolution {
    font-size:8px
  }

  .equipment-section,.inventory-section {
    padding:13px
  }

  .bag-icons-grid {
    grid-template-columns:repeat(3,minmax(0,1fr))
  }

  .btn-crate {
    padding:14px;
    gap:12px
  }

  .crate-svg {
    width:44px;
    height:44px
  }

  .btn-crate b {
    font-size:13px
  }

  .crate-price {
    font-size:10px
  }

}

@media(max-width:900px) {
  .hub-screen {
    grid-template-columns:82px minmax(0,1fr)
  }

  .hub-tab-btn {
    flex-direction:column;
    justify-content:center;
    gap:8px;
    min-height:85px;
    padding:12px 4px;
    text-align:center
  }

  .hub-tab-btn .nav-chevron,.hub-tab-btn small,.nav-bottom,.nav-index {
    display:none
  }

  .nav-label {
    gap:0
  }

  .hub-tab-btn b {
    font-size:9px
  }

  .hub-bottom-dock {
    padding-top:25px
  }

  .red-dot {
    right:8px;
    top:10px
  }

  .mission-copy h1 {
    font-size:36px;
    letter-spacing:1px
  }

  .mission-copy p {
    font-size:10px
  }

  .mission-facts {
    gap:17px
  }

  .mission-facts strong {
    font-size:21px
  }

  .mission-facts small {
    font-size:8px
  }

  .launch-meta {
    display:none
  }

  .deploy-bottom-card {
    justify-content:space-between
  }

  .btn-supply-capsule {
    min-width:260px
  }

  .btn-big-play {
    min-width:235px
  }

  .zone-cards-row {
    gap:8px
  }

  .zt-svg {
    width:45px;
    height:55px
  }

  .zone-tile {
    grid-template-columns:45px minmax(0,1fr);
    padding:14px 8px
  }

  .zt-name {
    font-size:10px;
    letter-spacing:0
  }

  .zt-mult {
    font-size:7px
  }

  .zt-check {
    width:10px;
    height:10px;
    font-size:7px;
    line-height:8px;
    top:7px;
    right:7px
  }

  .hero-cards-grid {
    grid-template-columns:repeat(2,minmax(0,1fr))
  }

  .hc-svg-box {
    width:75px;
    height:80px
  }

  .hc-identity h3 {
    font-size:16px
  }

  .hud-top {
    flex-wrap:wrap
  }

  .hud-player-card {
    order:0
  }

  .hud-top-right {
    order:1
  }

  .hud-mission-clock {
    order:2;
    position:absolute;
    top:100px;
    left:50%;
    transform:translateX(-50%);
    padding:6px 8px
  }

  .clock-time {
    font-size:19px
  }

  .boss-hp-banner {
    top:168px
  }

  .combat-announcement {
    top:215px
  }

  .hud-mission-clock>div {
    min-width:80px
  }

  .combat-objective {
    top:100px;
    max-width:30%
  }

  .combat-objective small {
    display:none
  }

  .hud-player-card .bars-col {
    width:120px
  }

  .squad-merge-tip {
    display:none
  }

}

/* Mobile headquarters scrolls independently from the fixed navigation. */
@media(max-width:650px) {
  .hub-screen {
    grid-template-columns:1fr;
    grid-template-rows:67px minmax(0,1fr) 70px
  }

  .hub-topbar {
    grid-column:1;
    grid-row:1;
    padding:0 15px;
    gap:6px
  }

  .logo-chip {
    gap:8px
  }

  .logo-svg-wrap {
    width:28px;
    height:32px
  }

  .logo-text b {
    font-size:13px;
    letter-spacing:1px
  }

  .logo-text small {
    font-size:5px;
    letter-spacing:1.5px
  }

  .top-currencies {
    gap:7px
  }

  .curr-box {
    min-width:0;
    padding:0 7px;
    gap:5px
  }

  .curr-box small {
    font-size:7px
  }

  .curr-box b {
    font-size:13px
  }

  .c-svg {
    width:16px;
    height:19px
  }

  .top-currencies .icon-button {
    width:28px;
    height:28px;
    padding:6px
  }

  .top-currencies .power {
    display:none
  }

  .top-currencies .cash {
    border:0;
    padding-right:1px
  }

  .hub-bottom-dock {
    grid-row:3;
    grid-column:1;
    flex-direction:row;
    align-items:stretch;
    justify-content:space-around;
    padding:5px 15px max(5px,env(safe-area-inset-bottom));
    gap:10px;
    background:#102044f5;
    border-top:1px solid var(--line);
    border-right:0;
    z-index:22
  }

  .hub-tab-btn {
    flex:1;
    flex-direction:row;
    padding:10px 8px;
    margin:0;
    min-height:0;
    gap:8px;
    border:0;
    background:transparent;
    border-radius:3px
  }

  .hub-tab-btn.active {
    background:#60a5fa22
  }

  .hub-tab-btn.active:before {
    top:0;
    left:14px;
    right:14px;
    bottom:auto;
    height:2px;
    width:auto
  }

  .dock-svg {
    width:21px;
    height:24px
  }

  .hub-tab-btn b {
    font-size:11px;
    letter-spacing:.6px
  }

  .red-dot {
    top:9px;
    right:9px
  }

  .hub-main {
    grid-column:1;
    grid-row:2;
    padding:20px 17px 25px
  }

  .hub-statusbar {
    display:none
  }

  .section-eyebrow {
    font-size:8px;
    letter-spacing:1px;
    padding-bottom:12px
  }

  .section-eyebrow>span:last-child {
    font-size:7px;
    letter-spacing:1px
  }

  .mission-hero {
    min-height:235px;
    grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);
    gap:0;
    margin:18px 0 23px;
    position:relative
  }

  .mission-copy {
    padding-top:10px
  }

  .mission-copy .eyebrow {
    font-size:6px;
    letter-spacing:1px;
    gap:5px
  }

  .mission-copy h1 {
    font-size:32px;
    margin:15px 0 12px;
    letter-spacing:0;
    line-height:1.32
  }

  .mission-copy p {
    font-size:8px;
    line-height:1.9;
    max-width:200px
  }

  .desktop-br {
    display:none
  }

  .mission-facts {
    gap:17px;
    margin-top:24px;
    width:calc(100vw - 34px);
    position:relative;
    z-index:2
  }

  .mission-facts>div {
    gap:6px
  }

  .mission-facts strong {
    font-size:20px
  }

  .mission-facts small {
    font-size:7px;
    letter-spacing:.5px
  }

  .mission-facts strong span {
    font-size:8px
  }

  .tactical-map {
    margin-left:-20px;
    margin-right:-17px;
    border-right:0;
    border-radius:3px 0 0 3px;
    opacity:.7;
    mask-image:linear-gradient(90deg,transparent,#000 28%);
    height:215px;
    align-self:start
  }

  .tactical-map>img {
    object-position:60% 50%
  }

  .map-header {
    top:10px;
    left:21px;
    right:10px;
    font-size:5px;
    letter-spacing:.6px
  }

  .map-header>span:first-child {
    display:none
  }

  .map-header>span:last-child {
    margin-left:auto
  }

  .map-coordinate {
    left:45px;
    bottom:16px;
    font-size:5px
  }

  .map-coordinate span {
    font-size:6px
  }

  .map-legend,.map-reticle {
    display:none
  }

  .deployment-heading {
    margin-bottom:12px
  }

  .deployment-heading h2 {
    font-size:14px
  }

  .deployment-heading h2 small {
    font-size:7px;
    margin-left:8px
  }

  .deployment-heading .eyebrow {
    font-size:6px
  }

  .selection-count {
    font-size:8px;
    letter-spacing:0
  }

  .zone-cards-row {
    gap:7px
  }

  .zone-tile {
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    min-height:150px;
    padding:13px 10px 10px;
    gap:0
  }

  .zt-badge {
    font-size:6px;
    letter-spacing:1px
  }

  .zt-svg {
    width:100%;
    height:65px;
    margin:7px 0 3px
  }

  .zt-name {
    font-size:10px;
    letter-spacing:0;
    margin:5px 0 9px;
    white-space:nowrap
  }

  .zt-mult {
    font-size:7px;
    justify-content:space-between;
    width:100%
  }

  .zt-mult b {
    font-size:8px
  }

  .zone-threat {
    font-size:6px;
    letter-spacing:0
  }

  .zt-check {
    right:7px;
    top:12px;
    width:9px;
    height:9px;
    font-size:6px;
    line-height:7px
  }

  .deploy-bottom-card {
    flex-wrap:wrap;
    gap:13px;
    margin-top:18px;
    padding-top:18px
  }

  .btn-supply-capsule {
    width:100%;
    min-width:0;
    padding:11px 13px;
    gap:12px
  }

  .supply-icon {
    width:32px;
    height:32px
  }

  .supply-copy b {
    font-size:11px
  }

  .supply-copy small {
    font-size:9px
  }

  .badge-ad {
    font-size:7px
  }

  .supply-copy {
    gap:5px
  }

  .supply-add {
    display:block;
    margin-left:auto
  }

  .btn-big-play {
    width:100%;
    padding:14px 23px;
    min-width:0
  }

  .play-labels {
    gap:4px
  }

  .play-labels b {
    font-size:18px;
    letter-spacing:5px
  }

  .play-labels small {
    font-size:7px;
    letter-spacing:3px
  }

  .play-arrow {
    width:26px;
    height:26px
  }

  .panel-title-row {
    margin:22px 0;
    align-items:flex-start;
    gap:10px
  }

  .panel-title-row .eyebrow {
    font-size:6px;
    letter-spacing:1px
  }

  .panel-title-row h1 {
    font-size:23px;
    line-height:1.5;
    letter-spacing:1px;
    margin:13px 0 9px
  }

  .panel-title-row h1 span {
    display:block
  }

  .panel-title-row p {
    font-size:9px;
    line-height:1.9
  }

  .btn-action-gold {
    font-size:9px;
    padding:9px;
    margin-top:37px;
    gap:5px
  }

  .btn-action-gold>span {
    width:14px;
    height:14px
  }

  .armory-layout {
    grid-template-columns:1fr;
    gap:17px
  }

  .equipment-section,.inventory-section {
    padding:15px
  }

  .eq-svg {
    width:46px;
    height:46px
  }

  .eq-tile {
    padding:12px 5px;
    gap:6px
  }

  .eq-name {
    font-size:9px
  }

  .eq-stat {
    font-size:11px
  }

  .equipment-note {
    padding:9px;
    margin-top:13px
  }

  .equipment-note p {
    font-size:8px
  }

  .equipment-note>span {
    width:22px;
    height:24px
  }

  .bag-icons-grid {
    min-height:150px;
    max-height:230px;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:8px
  }

  .bag-cell {
    padding:11px 3px;
    min-height:90px
  }

  .bc-svg {
    width:34px;
    height:34px
  }

  .bc-name {
    font-size:8px
  }

  .bc-tag {
    font-size:7px
  }

  .rarity-legend {
    gap:10px;
    font-size:7px
  }

  .shop-crates-row {
    grid-template-columns:1fr;
    gap:12px;
    margin-top:17px
  }

  .btn-crate {
    padding:16px;
    gap:15px
  }

  .crate-svg {
    width:47px;
    height:47px
  }

  .btn-crate b {
    font-size:14px
  }

  .crate-price {
    font-size:11px
  }

  .hero-cards-grid {
    grid-template-columns:1fr;
    gap:14px
  }

  .hc-visual-row {
    padding:19px 17px;
    gap:22px
  }

  .hc-svg-box {
    width:72px;
    height:77px
  }

  .hc-identity h3 {
    font-size:18px
  }

  .hc-evolution {
    font-size:10px;
    margin-top:11px
  }

  .hc-info-row {
    font-size:11px
  }

  .hero-card-top {
    font-size:8px
  }

  .btn-hero-up {
    font-size:11px;
    padding:13px
  }

  .operator-count {
    gap:7px;
    flex-direction:column;
    align-items:flex-end
  }

  .operator-count strong {
    font-size:35px
  }

  .operator-count span {
    font-size:5px;
    letter-spacing:0;
    white-space:nowrap
  }

  .panel-footnote {
    font-size:8px;
    line-height:1.8;
    align-items:flex-start
  }

  .panel-footnote>span {
    flex-shrink:0
  }

  .combat-hud {
    padding:10px 10px max(12px,env(safe-area-inset-bottom))
  }

  .hud-top {
    gap:8px
  }

  .hud-player-card {
    padding:7px 8px;
    gap:8px
  }

  .avatar-circle {
    width:30px;
    height:34px
  }

  .hud-avatar-svg {
    width:28px;
    height:28px
  }

  .hud-player-card .bars-col {
    width:84px;
    gap:4px
  }

  .hud-player-label {
    font-size:8px;
    letter-spacing:0
  }

  .hud-player-label small {
    font-size:7px
  }

  .bar-track {
    height:6px
  }

  .hud-top-right {
    gap:4px
  }

  .mini-stat {
    height:32px;
    padding:7px 8px;
    gap:4px;
    font-size:11px
  }

  .mini-stat>span {
    width:13px;
    height:13px
  }

  .kills-stat {
    display:none
  }

  .btn-round-ic {
    width:32px;
    height:32px;
    padding:8px
  }

  .hud-mission-clock {
    top:77px;
    gap:8px;
    left:10px;
    transform:none;
    padding:6px 7px 6px 10px;
    min-height:43px
  }

  .hud-mission-clock>div {
    min-width:64px
  }

  .clock-time {
    font-size:19px
  }

  .clock-tag {
    font-size:7px
  }

  .btn-evac-now {
    padding:6px 7px;
    font-size:8px;
    gap:4px
  }

  .btn-evac-now>span:first-child {
    width:18px;
    height:18px
  }

  .combat-objective {
    display:none
  }

  .boss-hp-banner {
    top:140px;
    width:75vw;
    padding:7px 9px
  }

  .boss-name-row {
    font-size:8px
  }

  .combat-announcement {
    top:185px;
    max-width:90vw;
    width:max-content;
    font-size:10px;
    padding:8px 13px;
    line-height:1.7
  }

  .hud-skill-dock {
    right:10px;
    gap:15px;
    transform:translateY(-25%)
  }

  .skills-heading {
    font-size:6px;
    letter-spacing:1px
  }

  .skill-orb {
    width:48px;
    height:60px;
    padding:8px 5px 5px;
    gap:3px
  }

  .orb-svg {
    width:27px;
    height:27px
  }

  .skill-orb b {
    font-size:7px;
    letter-spacing:1px
  }

  .orb-badge {
    font-size:6px;
    right:-1px;
    top:-6px;
    padding:2px 4px
  }

  .skill-orb kbd {
    display:none
  }

  .hud-bottom-bar {
    padding:7px 10px;
    gap:9px;
    max-width:94vw
  }

  .squad-count-chip {
    padding-right:9px;
    gap:4px
  }

  .squad-count-chip small {
    font-size:6px
  }

  .squad-count-chip b {
    font-size:11px
  }

  .sq-slot {
    width:30px;
    height:33px
  }

  .sq-slot-svg {
    width:26px;
    height:26px
  }

  .squad-slots-row {
    gap:5px;
    max-width:70vw
  }

  .modal-backdrop,.ad-overlay {
    padding:15px
  }

  .modal-card {
    padding:24px 17px;
    max-height:calc(100dvh - 30px)
  }

  .modal-kicker {
    font-size:6px;
    letter-spacing:1px;
    margin-bottom:15px
  }

  .modal-card h2,.modal-ribbon {
    font-size:21px;
    letter-spacing:1px
  }

  .modal-symbol {
    width:40px;
    height:40px
  }

  .modal-description {
    font-size:10px;
    margin-bottom:18px
  }

  .visual-choices-row {
    grid-template-columns:1fr;
    gap:9px
  }

  .v-choice-card {
    min-height:95px;
    display:grid;
    grid-template-columns:56px minmax(0,1fr) auto;
    grid-template-rows:auto auto;
    text-align:left;
    gap:6px 12px;
    padding:12px 13px
  }

  .vc-svg {
    grid-column:1;
    grid-row:1/3;
    width:52px;
    height:52px
  }

  .vc-pill {
    grid-column:2;
    grid-row:1;
    font-size:7px;
    justify-self:start;
    align-self:end;
    max-width:100%;
    white-space:nowrap
  }

  .vc-copy {
    grid-column:2;
    grid-row:2;
    align-self:start
  }

  .vc-title {
    font-size:12px;
    margin-bottom:4px
  }

  .vc-stat {
    font-size:9px
  }

  .vc-progress-dots {
    grid-column:3;
    grid-row:2;
    gap:3px
  }

  .vc-dot {
    width:8px
  }

  .v-choice-card:after {
    grid-column:3;
    grid-row:1;
    font-size:7px;
    align-self:end;
    letter-spacing:0;
    white-space:nowrap
  }

  .modal-actions-row {
    gap:8px
  }

  .btn-mega-gold {
    font-size:11px;
    padding:13px 8px;
    letter-spacing:0;
    gap:5px
  }

  .btn-flat-dark {
    font-size:10px;
    padding:12px 9px;
    gap:5px
  }

  .btn-flat-dark>span {
    width:13px;
    height:13px
  }

  .btn-mega-gold .ad-label {
    font-size:7px
  }

  .modal-footnote {
    font-size:8px;
    margin-top:15px
  }

  .perk-box {
    padding:12px 2px;
    gap:9px
  }

  .perk-svg {
    width:35px;
    height:35px
  }

  .perk-box b {
    font-size:9px
  }

  .perk-box small {
    font-size:7px
  }

  .loot-summary-grid {
    gap:5px
  }

  .loot-tile {
    gap:9px;
    padding:12px 2px
  }

  .loot-tile b {
    font-size:15px
  }

  .loot-tile small {
    font-size:7px
  }

  .wheel-box {
    padding:12px
  }

  .wheel-label {
    font-size:9px
  }

  .wheel-label small {
    font-size:6px
  }

  .guide-grid {
    gap:9px
  }

  .guide-grid>div {
    padding:13px
  }

  .guide-grid h3 {
    font-size:10px
  }

  .guide-grid p {
    font-size:9px
  }

  .guide-grid>div>span {
    width:27px;
    height:27px
  }

  .toast-banner {
    bottom:85px;
    font-size:10px;
    padding:10px 15px
  }

}

@media(max-width:360px) {
  .hub-main {
    padding-left:13px;
    padding-right:13px
  }

  .hub-topbar {
    padding:0 11px
  }

  .top-currencies {
    gap:4px
  }

  .logo-text b {
    font-size:12px
  }

  .logo-text small {
    font-size:4.5px
  }

  .mission-copy h1 {
    font-size:29px
  }

  .zt-name {
    font-size:9px
  }

  .zone-tile {
    padding-left:8px;
    padding-right:8px
  }

  .zt-mult {
    font-size:6px
  }

  .zt-mult b {
    font-size:7px
  }

  .mission-facts {
    gap:14px
  }

  .hud-player-card .bars-col {
    width:73px
  }

  .mini-stat {
    padding:6px;
    font-size:10px
  }

  .hud-top-right {
    gap:3px
  }

  .hud-player-card {
    gap:6px;
    padding:6px
  }

  .modal-card h2 {
    font-size:19px
  }

  .vc-title {
    font-size:11px
  }

  .vc-stat {
    font-size:8px
  }

}

@media(max-height:600px) and (min-width:651px) {
  .hub-screen {
    grid-template-rows:62px minmax(0,1fr) 24px
  }

  .hub-main {
    padding-top:18px
  }

  .mission-hero {
    min-height:240px
  }

  .mission-copy h1 {
    font-size:33px
  }

  .mission-facts {
    margin-top:14px
  }

  .modal-card {
    padding-top:18px;
    padding-bottom:18px
  }

  .modal-symbol {
    display:none
  }

  .modal-description {
    margin-bottom:15px
  }

  .v-choice-card {
    min-height:185px;
    gap:10px;
    padding:13px 8px
  }

  .vc-svg {
    width:50px;
    height:50px
  }

  .modal-kicker {
    margin-bottom:11px
  }

  .boss-hp-banner {
    top:88px
  }

  .hud-mission-clock {
    position:static;
    transform:none
  }

  .hud-mission-clock>div {
    min-width:65px
  }

  .hud-player-card .bars-col {
    width:84px
  }

  .hud-top {
    flex-wrap:nowrap
  }

  .combat-objective {
    display:none
  }

  .hud-skill-dock {
    gap:10px;
    top:48%;
    transform:translateY(-25%);
    flex-direction:row;
    right:15px
  }

  .skills-heading {
    display:none
  }

  .skill-orb {
    width:45px;
    height:53px
  }

  .orb-svg {
    width:25px;
    height:25px
  }

  .skill-orb b {
    font-size:7px
  }

  .combat-announcement {
    top:128px
  }

  .squad-slots-row {
    max-width:48vw
  }

  .hud-bottom-bar {
    align-self:flex-start
  }

  .mini-stat {
    padding:7px
  }

  .kills-stat {
    display:none
  }

}

@media(prefers-reduced-motion:reduce) {
  *,*:before,*:after {
    animation:none!important;
    transition:none!important
  }

}

.v-choice-card:focus-visible {
  outline-offset:-5px;
  outline-width:1px
}

.hub-main p,.modal-description {
  font-weight:400
}
