:root {
  --sb-bg: #0b0e12;
  --sb-panel: #11151b;
  --sb-raised: #171d25;
  --sb-line: #29323e;
  --sb-text: #f0f2f5;
  --sb-muted: #a5b0bd;
  --sb-amber: #ffc36a;
  --sb-mint: #76dfba;
  --sb-red: #fb535c;
  --sb-sans: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  --sb-mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
}

.sb-game { padding: 0; }
.sb-game :is(.topbar, .shop-screen, .mode-menu) { font-family: var(--sb-sans); }
.sb-game .topbar {
  max-width: none; margin: 0; padding: 8px max(20px,calc((100% - 1260px)/2));
  min-height: 55px; gap: 13px; background: #10141a; border-bottom: 1px solid var(--sb-line); clip-path: none;
}
.sb-game .topbar::before, .sb-game .topbar .logo::before { content: none; }
.sb-game .topbar>*+* { border: 0; padding: 0; margin: 0; }
.sb-game .topbar .logo { top: 0; display: flex; align-items: center; gap: 10px; white-space: nowrap; font: 800 .96rem var(--sb-mono); letter-spacing: .11em; }
.sb-game .topbar .logo img, .sb-home .wordmark img, .catalog-brand img { width: 34px; height: 34px; padding: 7px; object-fit: contain; border: 1px solid #62492b; border-radius: 6px; background: #30221a; image-rendering: pixelated; }
.sb-game .hud, .sb-game .hud-nav { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.sb-game .topbar .stat { top: 0; display: flex; align-items: center; gap: 5px; min-height: 35px; padding: 5px 9px; border: 1px solid var(--sb-line); border-radius: 5px; background: #161b22; color: var(--sb-muted); font-size: .78rem; white-space: nowrap; }
.sb-game .topbar .stat[hidden],.sb-game .topbar #interestHint:empty { display: none; }
.sb-game .topbar .stat img { top: 0; width: 15px; height: 15px; }
.sb-game .topbar .stat b { margin-left: 2px; color: var(--sb-amber); font: 750 .9rem var(--sb-mono); }
.sb-game .hud-button { display: inline-grid; width: 35px; height: 35px; padding: 0; place-items: center; border: 1px solid var(--sb-line); border-radius: 5px; background: #161b22; box-shadow: none; font: 750 1rem var(--sb-sans); }
.sb-game .hud-button img { width: 17px; height: 17px; object-fit: contain; }
.sb-game .hud-button:hover:not(:disabled) { border-color: #655133; box-shadow: none; transform: none; }

.sb-game .shop-screen { width: calc(100% - 40px); max-width: 1260px; margin: 11px auto 12px; align-items: stretch; gap: 9px; }
.deploy-heading {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  min-height: 43px; padding: 6px 12px; border: 1px solid #594433; border-radius: 7px;
  background: linear-gradient(100deg,#241c17,#191d24 55%,#191d21);
  box-shadow: inset 0 -1px #efad6524;
}
.deploy-heading::before {
  content: ""; position: absolute; z-index: 0; inset: 0 2% 0 27%;
  background: url("img/bg-clouds.gif") 42% 35% / cover no-repeat;
  mask-image: linear-gradient(90deg,transparent,#000 22%,#000 73%,transparent);
  opacity: 0; pointer-events: none;
  animation: stage-clouds 10s ease-in-out infinite;
}
.deploy-heading::after {
  content: ""; position: absolute; z-index: 0; inset: 0;
  background: repeating-linear-gradient(0deg,#090d1826 0 1px,transparent 1px 4px);
  pointer-events: none;
}
.deploy-heading > div { position: relative; z-index: 1; }
.deploy-heading > div:first-child { display: flex; flex-wrap: wrap; align-items: baseline; gap: 3px 10px; }
.sb-game:has(#modeMenu[style*="flex"], #battleScreen.active) .deploy-heading::before { animation-name: none; }
@keyframes stage-clouds {
  0%, 50%, 100% { opacity: 0; }
  9%, 31% { opacity: .82; }
}
.mode-caption { color: var(--sb-amber); text-transform: uppercase; font: 700 .72rem var(--sb-mono); letter-spacing: .115em; }
.deploy-heading h1 { font-size: clamp(1rem,1.8vw,1.27rem); letter-spacing: -.035em; line-height: 1.17; }
.sb-game .deploy-heading .campaign-bar { margin: 0; padding: 4px 8px; border: 1px solid #64513ca8; border-radius: 5px; background: #181719d9; color: #e3d3bd; font-family: var(--sb-mono); font-size: .73rem; line-height: 1.4; }
.sb-game .deploy-heading .cp-stage { font-size: .74rem; color: #efd5b1; }
.sb-game .deploy-heading :is(.cp-dots,.cp-boss) { font-size: .72rem; }
.sb-game .board-wrap { display: grid; grid-template-columns: 117px minmax(0,1fr) 252px; align-items: stretch; gap: 9px; }
.sb-game :is(.inventory, .board-container, .bench, .intel, .market) { min-width: 0; background: var(--sb-panel); border: 1px solid var(--sb-line); border-radius: 7px; box-shadow: none; }
.sb-game .board-wrap .board-container { padding: 9px 11px; width: auto; overflow: visible; }
.sb-game .inventory { width: auto; padding: 10px; }
.sb-game :is(.inventory .inv-title,.bench-title,.intel h2,.board-title h2,.market-head h2) { color: var(--sb-text); text-shadow: none; font: 700 .92rem/1.15 var(--sb-sans); letter-spacing: 0; }
.sb-game .inv-grid { gap: 5px; margin-top: 2px; }
.sb-game .inv-slot { border: 1px dashed #3e4955; background: #0c1117; border-radius: 4px; }
.sb-game .inv-slot.filled { border-style: solid; }
.sb-game .board-title { min-height: 23px; margin: 0 0 4px; grid-template-columns: minmax(0,1fr) minmax(0,3fr) minmax(0,1fr); gap: 8px; color: var(--sb-text); }
.sb-game .board-title h2 { white-space: nowrap; }
.sb-game .board-title #squadCount { font: 700 .77rem var(--sb-mono); color: var(--sb-amber); }
.sb-game .synergy-bar:not(:empty) { grid-column: 2; grid-row: 1; justify-content: center; align-items: center; gap: 5px; }
.sb-game .syn { display: grid; justify-items: center; align-content: center; gap: 2px; min-width: 29px; padding: 2px 4px; text-align: center; background: #19202a; border: 1px solid #455261; border-radius: 4px; box-shadow: none; }
.sb-game .syn.active { box-shadow: none; }
.sb-game .syn .syn-emblem { width: 17px; height: 17px; }
.sb-game .syn .syn-stars { font-size: .61rem; letter-spacing: 0; }
.sb-game .row-label { display: flex; align-items: center; gap: 8px; margin: 5px 0 4px; text-align: left; font: 700 .7rem var(--sb-mono); text-transform: uppercase; letter-spacing: .09em; }
.sb-game .front-label { color: #ffc987; }
.sb-game .back-label { color: #a9c7e4; }
.sb-game .row-label::after { content: ""; flex: 1; height: 1px; background: #313843; }
.sb-game .board-grid { gap: 6px; }
.sb-game .board-grid .slot { width: 100%; max-height: clamp(52px,11.4svh,91px); }
.sb-game .slot { aspect-ratio: 1.18; min-height: 0; border: 1px dashed #46505c; border-radius: 5px; background: #0e131a; }
.sb-game #boardFront .slot:not(.filled) { background: #181813; border-color: #65523c; }
.sb-game #boardBack .slot:not(.filled) { background: #111921; border-color: #394654; }
.sb-game .slot.filled { --slot-caption-height: 16px; border-style: solid; background: #171e25; }
.sb-game .deployment-sprite { position: absolute; inset: 4px 5px var(--slot-caption-height); container-type: size; overflow: hidden; }
.sb-game .deployment-sprite .sprite-img { object-position: center bottom; transform: translateY(min(var(--foot-gap-h, 0px), var(--foot-gap-w, 0px))); }
.sb-game .slot .merge-stars { top: 2px; right: 4px; left: auto; transform: none; }
.sb-game .slot.merged .remove { top: 15px; }
/* Transparent padding below each model, relative to its contained height and width. */
.deployment-sprite img[src$="/d1.png"] { --foot-gap-h: 1.326cqh; --foot-gap-w: 1.302cqw; }
.deployment-sprite img[src$="/d1_m1.png"] { --foot-gap-h: 1.302cqh; --foot-gap-w: 1.309cqw; }
.deployment-sprite img[src$="/d1_m2.png"] { --foot-gap-h: 1.337cqh; --foot-gap-w: 1.302cqw; }
.deployment-sprite img[src$="/d2.png"] { --foot-gap-h: 1.667cqh; --foot-gap-w: 1.562cqw; }
.deployment-sprite img[src$="/d2_m1.png"] { --foot-gap-h: 3.457cqh; --foot-gap-w: 3.385cqw; }
.deployment-sprite img[src$="/d2_m2.png"] { --foot-gap-h: 3.125cqh; --foot-gap-w: 3.183cqw; }
.deployment-sprite img[src$="/d3.png"] { --foot-gap-h: 1.111cqh; --foot-gap-w: 1.042cqw; }
.deployment-sprite img[src$="/d3_m1.png"] { --foot-gap-h: 0.833cqh; --foot-gap-w: 0.781cqw; }
.deployment-sprite img[src$="/d3_m2.png"] { --foot-gap-h: 5.208cqh; --foot-gap-w: 5.348cqw; }
.deployment-sprite img[src$="/d4.png"] { --foot-gap-h: 11.198cqh; --foot-gap-w: 11.376cqw; }
.deployment-sprite img[src$="/d4_m1.png"] { --foot-gap-h: 8.854cqh; --foot-gap-w: 9.524cqw; }
.deployment-sprite img[src$="/d4_m2.png"] { --foot-gap-h: 0.602cqh; --foot-gap-w: 0.521cqw; }
.deployment-sprite img[src$="/d5.png"] { --foot-gap-h: 1.644cqh; --foot-gap-w: 1.562cqw; }
.deployment-sprite img[src$="/d5_m1.png"] { --foot-gap-h: 1.823cqh; --foot-gap-w: 2.029cqw; }
.deployment-sprite img[src$="/d5_m2.png"] { --foot-gap-h: 2.514cqh; --foot-gap-w: 2.344cqw; }
.deployment-sprite img[src$="/d6.png"] { --foot-gap-h: 1.644cqh; --foot-gap-w: 1.562cqw; }
.deployment-sprite img[src$="/d6_m1.png"] { --foot-gap-h: 3.906cqh; --foot-gap-w: 3.906cqw; }
.deployment-sprite img[src$="/d6_m2.png"] { --foot-gap-h: 1.857cqh; --foot-gap-w: 1.823cqw; }
.deployment-sprite img[src$="/dog.png"] { --foot-gap-h: 18.750cqh; --foot-gap-w: 19.835cqw; }
.deployment-sprite img[src$="/dog_m1.png"] { --foot-gap-h: 20.312cqh; --foot-gap-w: 21.547cqw; }
.deployment-sprite img[src$="/dog_m2.png"] { --foot-gap-h: 18.256cqh; --foot-gap-w: 17.448cqw; }
.deployment-sprite img[src$="/h1.png"] { --foot-gap-h: 4.267cqh; --foot-gap-w: 4.167cqw; }
.deployment-sprite img[src$="/h1_m1.png"] { --foot-gap-h: 4.167cqh; --foot-gap-w: 4.290cqw; }
.deployment-sprite img[src$="/h1_m2.png"] { --foot-gap-h: 3.906cqh; --foot-gap-w: 3.968cqw; }
.deployment-sprite img[src$="/h2.png"] { --foot-gap-h: 4.700cqh; --foot-gap-w: 4.688cqw; }
.deployment-sprite img[src$="/h2_m1.png"] { --foot-gap-h: 1.562cqh; --foot-gap-w: 1.980cqw; }
.deployment-sprite img[src$="/h2_m2.png"] { --foot-gap-h: 2.201cqh; --foot-gap-w: 1.823cqw; }
.deployment-sprite img[src$="/h3.png"] { --foot-gap-h: 5.729cqh; --foot-gap-w: 5.759cqw; }
.deployment-sprite img[src$="/h3_m1.png"] { --foot-gap-h: 5.729cqh; --foot-gap-w: 6.875cqw; }
.deployment-sprite img[src$="/h3_m2.png"] { --foot-gap-h: 3.125cqh; --foot-gap-w: 2.604cqw; }
.deployment-sprite img[src$="/h4.png"] { --foot-gap-h: 3.504cqh; --foot-gap-w: 3.385cqw; }
.deployment-sprite img[src$="/h4_m1.png"] { --foot-gap-h: 4.199cqh; --foot-gap-w: 4.167cqw; }
.deployment-sprite img[src$="/h4_m2.png"] { --foot-gap-h: 4.899cqh; --foot-gap-w: 4.427cqw; }
.deployment-sprite img[src$="/h5.png"] { --foot-gap-h: 4.255cqh; --foot-gap-w: 4.167cqw; }
.deployment-sprite img[src$="/h5_m1.png"] { --foot-gap-h: 1.302cqh; --foot-gap-w: 1.316cqw; }
.deployment-sprite img[src$="/h5_m2.png"] { --foot-gap-h: 4.098cqh; --foot-gap-w: 3.906cqw; }
.deployment-sprite img[src$="/h6.png"] { --foot-gap-h: 1.648cqh; --foot-gap-w: 1.562cqw; }
.deployment-sprite img[src$="/h6_m1.png"] { --foot-gap-h: 2.817cqh; --foot-gap-w: 2.604cqw; }
.deployment-sprite img[src$="/h6_m2.png"] { --foot-gap-h: 6.250cqh; --foot-gap-w: 6.349cqw; }
.deployment-sprite img[src$="/l1.png"] { --foot-gap-h: 4.948cqh; --foot-gap-w: 6.169cqw; }
.deployment-sprite img[src$="/l1_m1.png"] { --foot-gap-h: 4.948cqh; --foot-gap-w: 5.994cqw; }
.deployment-sprite img[src$="/l1_m2.png"] { --foot-gap-h: 4.948cqh; --foot-gap-w: 5.723cqw; }
.deployment-sprite img[src$="/l2.png"] { --foot-gap-h: 20.052cqh; --foot-gap-w: 22.384cqw; }
.deployment-sprite img[src$="/l2_m1.png"] { --foot-gap-h: 19.271cqh; --foot-gap-w: 21.449cqw; }
.deployment-sprite img[src$="/l2_m2.png"] { --foot-gap-h: 16.667cqh; --foot-gap-w: 18.391cqw; }
.deployment-sprite img[src$="/l3.png"] { --foot-gap-h: 17.448cqh; --foot-gap-w: 21.406cqw; }
.deployment-sprite img[src$="/l3_m1.png"] { --foot-gap-h: 14.323cqh; --foot-gap-w: 16.369cqw; }
.deployment-sprite img[src$="/l3_m2.png"] { --foot-gap-h: 15.885cqh; --foot-gap-w: 16.898cqw; }
.deployment-sprite img[src$="/l4.png"] { --foot-gap-h: 4.948cqh; --foot-gap-w: 6.109cqw; }
.deployment-sprite img[src$="/l4_m1.png"] { --foot-gap-h: 4.948cqh; --foot-gap-w: 5.689cqw; }
.deployment-sprite img[src$="/l4_m2.png"] { --foot-gap-h: 5.729cqh; --foot-gap-w: 6.471cqw; }
.deployment-sprite img[src$="/l5.png"] { --foot-gap-h: 7.031cqh; --foot-gap-w: 9.677cqw; }
.deployment-sprite img[src$="/l5_m1.png"] { --foot-gap-h: 7.031cqh; --foot-gap-w: 9.215cqw; }
.deployment-sprite img[src$="/l5_m2.png"] { --foot-gap-h: 7.031cqh; --foot-gap-w: 8.438cqw; }
.deployment-sprite img[src$="/l6.png"] { --foot-gap-h: 3.125cqh; --foot-gap-w: 3.419cqw; }
.deployment-sprite img[src$="/l6_m1.png"] { --foot-gap-h: 5.990cqh; --foot-gap-w: 6.336cqw; }
.deployment-sprite img[src$="/l6_m2.png"] { --foot-gap-h: 5.208cqh; --foot-gap-w: 5.249cqw; }
.deployment-sprite img[src$="/o1.png"] { --foot-gap-h: 1.096cqh; --foot-gap-w: 1.042cqw; }
.deployment-sprite img[src$="/o1_m1.png"] { --foot-gap-h: 1.078cqh; --foot-gap-w: 1.042cqw; }
.deployment-sprite img[src$="/o1_m2.png"] { --foot-gap-h: 3.385cqh; --foot-gap-w: 3.439cqw; }
.deployment-sprite img[src$="/o2.png"] { --foot-gap-h: 0.794cqh; --foot-gap-w: 0.781cqw; }
.deployment-sprite img[src$="/o2_m1.png"] { --foot-gap-h: 2.604cqh; --foot-gap-w: 2.849cqw; }
.deployment-sprite img[src$="/o2_m2.png"] { --foot-gap-h: 2.017cqh; --foot-gap-w: 1.823cqw; }
.deployment-sprite img[src$="/o3.png"] { --foot-gap-h: 2.344cqh; --foot-gap-w: 2.446cqw; }
.deployment-sprite img[src$="/o3_m1.png"] { --foot-gap-h: 4.427cqh; --foot-gap-w: 4.749cqw; }
.deployment-sprite img[src$="/o3_m2.png"] { --foot-gap-h: 0.612cqh; --foot-gap-w: 0.521cqw; }
.deployment-sprite img[src$="/o4.png"] { --foot-gap-h: 5.935cqh; --foot-gap-w: 5.208cqw; }
.deployment-sprite img[src$="/o4_m1.png"] { --foot-gap-h: 3.646cqh; --foot-gap-w: 4.242cqw; }
.deployment-sprite img[src$="/o4_m2.png"] { --foot-gap-h: 1.340cqh; --foot-gap-w: 1.302cqw; }
.deployment-sprite img[src$="/o5.png"] { --foot-gap-h: 4.222cqh; --foot-gap-w: 4.167cqw; }
.deployment-sprite img[src$="/o5_m1.png"] { --foot-gap-h: 4.645cqh; --foot-gap-w: 4.427cqw; }
.deployment-sprite img[src$="/o5_m2.png"] { --foot-gap-h: 6.971cqh; --foot-gap-w: 6.771cqw; }
.deployment-sprite img[src$="/o6.png"] { --foot-gap-h: 8.847cqh; --foot-gap-w: 8.594cqw; }
.deployment-sprite img[src$="/o6_m1.png"] { --foot-gap-h: 8.854cqh; --foot-gap-w: 8.854cqw; }
.deployment-sprite img[src$="/o6_m2.png"] { --foot-gap-h: 6.775cqh; --foot-gap-w: 6.510cqw; }
.deployment-sprite img[src$="/s1.png"] { --foot-gap-h: 3.279cqh; --foot-gap-w: 3.125cqw; }
.deployment-sprite img[src$="/s1_m1.png"] { --foot-gap-h: 1.042cqh; --foot-gap-w: 1.127cqw; }
.deployment-sprite img[src$="/s1_m2.png"] { --foot-gap-h: 3.047cqh; --foot-gap-w: 2.865cqw; }
.deployment-sprite img[src$="/s2.png"] { --foot-gap-h: 13.032cqh; --foot-gap-w: 12.760cqw; }
.deployment-sprite img[src$="/s2_m1.png"] { --foot-gap-h: 12.368cqh; --foot-gap-w: 12.240cqw; }
.deployment-sprite img[src$="/s2_m2.png"] { --foot-gap-h: 12.240cqh; --foot-gap-w: 12.272cqw; }
.deployment-sprite img[src$="/s3.png"] { --foot-gap-h: 1.857cqh; --foot-gap-w: 1.823cqw; }
.deployment-sprite img[src$="/s3_m1.png"] { --foot-gap-h: 1.084cqh; --foot-gap-w: 1.042cqw; }
.deployment-sprite img[src$="/s3_m2.png"] { --foot-gap-h: 1.042cqh; --foot-gap-w: 1.096cqw; }
.deployment-sprite img[src$="/s4.png"] { --foot-gap-h: 7.297cqh; --foot-gap-w: 7.031cqw; }
.deployment-sprite img[src$="/s4_m1.png"] { --foot-gap-h: 0.813cqh; --foot-gap-w: 0.781cqw; }
.deployment-sprite img[src$="/s4_m2.png"] { --foot-gap-h: 1.302cqh; --foot-gap-w: 1.340cqw; }
.deployment-sprite img[src$="/s5.png"] { --foot-gap-h: 2.865cqh; --foot-gap-w: 2.865cqw; }
.deployment-sprite img[src$="/s5_m1.png"] { --foot-gap-h: 3.125cqh; --foot-gap-w: 3.125cqw; }
.deployment-sprite img[src$="/s5_m2.png"] { --foot-gap-h: 1.302cqh; --foot-gap-w: 1.305cqw; }
.deployment-sprite img[src$="/s6.png"] { --foot-gap-h: 13.542cqh; --foot-gap-w: 15.072cqw; }
.deployment-sprite img[src$="/s6_m1.png"] { --foot-gap-h: 11.579cqh; --foot-gap-w: 11.458cqw; }
.deployment-sprite img[src$="/s6_m2.png"] { --foot-gap-h: 0.843cqh; --foot-gap-w: 0.781cqw; }
.sb-game .slot .pip { image-rendering: pixelated; }
.sb-game .slot .unit-name {
  display: flex; align-items: center; gap: 3px; block-size: var(--slot-caption-height);
  padding: 0 4px; font: 700 .63rem var(--sb-sans); text-align: left; white-space: nowrap;
}
.sb-game .slot .race-emblem-sm { flex: none; margin: 0; }
.sb-game .slot .unit-label { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.sb-game .slot .unit-count { flex: none; margin-inline-start: auto; color: var(--sb-amber); }

.deployment-side { display: grid; grid-template-rows: auto 1fr; gap: 8px; min-width: 0; }
.sb-game .bench { width: auto; padding: 9px; min-width: 0; gap: 6px; }
.sb-game .bench-title { text-align: left; text-transform: none; }
.sb-game .bench-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 5px; }
.sb-game .bench-grid .slot { aspect-ratio: 1.2; }
.sb-game .intel { position: relative; min-height: 133px; overflow: hidden; padding: 9px; }
.sb-game .intel-empty { margin-top: 9px; font: .8rem/1.5 var(--sb-sans); color: var(--sb-muted); }
.sb-game .intel:has(#inspector.show) .intel-empty { display: none; }
.sb-game .intel #inspector { position: absolute; z-index: 2; inset: 31px 6px 5px; width: auto; min-width: 0; height: auto; padding: 3px 4px 0; flex-wrap: wrap; align-content: start; align-items: start; gap: 4px 7px; overflow-y: auto; border: none; background: var(--sb-panel); box-shadow: none; text-align: left; animation: none; }
.sb-game #inspector .ins-art { width: 34px; height: 34px; object-fit: cover; border: 1px solid #425160; border-radius: 4px; }
.sb-game #inspector .ins-info { display: contents; max-width: none; }
.sb-game #inspector .ins-name { color: var(--sb-text); font: 760 .88rem/1.15 var(--sb-sans); align-self: center; margin: 0; }
.sb-game #inspector .ins-sub, .sb-game #inspector .ins-stats, .sb-game #inspector .ins-desc, .sb-game #inspector .ins-ability, .sb-game #inspector .ins-price { width: 100%; min-width: 0; margin: 0; }
.sb-game #inspector .ins-sub { font: .65rem/1.25 var(--sb-mono); color: var(--sb-muted); }
.sb-game #inspector .ins-stats { gap: 3px 8px; flex-wrap: wrap; font: .72rem/1.25 var(--sb-mono); }
.sb-game #inspector .ins-ability { font: 700 .74rem/1.25 var(--sb-sans); color: #abcaec; }
.sb-game #inspector .ins-desc { font: .73rem/1.35 var(--sb-sans); color: #bac5d1; }
.sb-game #inspector .ins-price { font: 700 .73rem/1.3 var(--sb-mono); color: var(--sb-amber); }

.market-head {
  display: flex; gap: 10px; justify-content: space-between; align-items: center; padding: 9px 12px 7px;
  border-radius: 6px 6px 0 0;
  background: linear-gradient(95deg,#72dfbf0e,transparent 57%);
  box-shadow: inset 0 1px #72dfbf40;
}
.sb-game .market-head h2 { display: flex; align-items: center; gap: 8px; font-size: 1.03rem; }
.market-head img { width: 19px; height: 19px; object-fit: contain; image-rendering: pixelated; }
.market-status { font: 700 .74rem var(--sb-mono); color: var(--sb-muted); }
.market-status.frozen { color: var(--sb-mint); }
.sb-game .shop-row { display: grid; grid-template-columns: repeat(8,minmax(0,1fr)); gap: 7px; padding: 0 11px 8px; }
.sb-game .shop-row .card {
  position: relative; display: flex; flex-direction: column; max-width: none; padding: 0; min-width: 0; min-height: 144px; background: #171d25; border: 1px solid #414b58; border-radius: 6px; overflow: hidden;
  box-shadow: none; text-align: left; font-family: var(--sb-sans); text-transform: none; transform: none; color: var(--sb-text);
}
.sb-game .shop-row .card.r1 { --rarity: #8c96a6; }
.sb-game .shop-row .card.r2 { --rarity: #67dd96; }
.sb-game .shop-row .card.r3 { --rarity: #59bbec; }
.sb-game .shop-row .card.r4 { --rarity: #c5a1f9; }
.sb-game .shop-row .card.r5 { --rarity: #f6a660; }
.sb-game .shop-row .card.r6 { --rarity: #e7c3ff; animation-name: none; }
.sb-game .shop-row .card { border-top: 2px solid var(--rarity); }
.sb-game .shop-row .card:is(:hover,:focus-visible) { border-color: var(--sb-amber); box-shadow: inset 0 0 0 1px #ffbd5860; transform: translateY(-2px); }
.sb-game .shop-row .card.disabled { opacity: .65; cursor: not-allowed; }
.sb-game .shop-row .card.frozen-slot { border-color: #549a99; }
.sb-game .shop-row .card.merge-hint { border-color: var(--sb-amber); }
.sb-game .shop-row .card.merge-hint::after { opacity: .18; }
.card-portrait {
  position: relative; display: block; width: 100%; height: 96px; overflow: hidden;
  background: #000;
}
.sb-game .shop-row .card .avatar {
  position: absolute; inset: 7px 9px 4px;
  width: calc(100% - 18px); height: calc(100% - 11px);
  object-fit: contain; object-position: center; display: block;
  margin: 0; border: 0; background: none; box-shadow: none; image-rendering: pixelated;
}
.sb-game .shop-row .card:is([data-unit="h1"],[data-unit="h4"],[data-unit="l3"],[data-unit="s5"]) .avatar {
  top: 12px;
}
.sb-game .shop-row .card:is([data-unit="d1"],[data-unit="h2"],[data-unit="h3"],[data-unit="o1"]) .avatar {
  top: 10px;
}
.card-caption {
  display: block; width: 100%; flex: 1; background: linear-gradient(110deg,color-mix(in srgb,var(--rarity) 33%,#11161c),color-mix(in srgb,var(--rarity) 14%,#151b23));
  border-top: 1px solid color-mix(in srgb,var(--rarity) 57%,#252d36);
}
.sb-game .shop-row .card.r6 .card-caption {
  background: linear-gradient(110deg,#59432d,#584173 49%,#264a57);
}
.sb-game .shop-row .card .race-badge { top: 5px; left: 5px; display: grid; place-items: center; width: 23px; height: 23px; border-radius: 4px; background: #0d1118db; border: 1px solid #404b59; }
.sb-game .shop-row .card .race-emblem { width: 16px; height: 16px; }
.sb-game .shop-row .card .price { position: absolute; top: 5px; right: 5px; display: inline-flex; align-items: center; gap: 3px; padding: 4px; background: #15110ddb; border: 1px solid #685336; border-radius: 4px; color: var(--sb-amber); font: 800 .84rem/1 var(--sb-mono); }
.sb-game .shop-row .card .price .coin-ic { width: 13px; height: 13px; margin: 0; top: 0; }
.merge-label { position: absolute; left: 5px; bottom: 4px; padding: 3px 5px; border-radius: 3px; background: #3b2a14f4; color: #ffd291; font: 750 .66rem var(--sb-sans); }
.card-name { display: block; padding: 5px 6px 3px; font: 750 .87rem/1.2 var(--sb-sans); text-overflow: ellipsis; overflow: hidden; white-space: nowrap; }
.card-stats { display: flex; justify-content: space-between; gap: 3px; padding: 0 6px 5px; color: #d9e1eb; font: 650 .68rem/1.2 var(--sb-mono); white-space: nowrap; }
.card-stats b { color: #eff2f5; }
.shop-empty { grid-column: 1 / -1; padding: 17px 7px; color: var(--sb-muted); font-size: .91rem; }

.sb-game .market .actions { display: grid; grid-template-columns: 1fr 1fr .95fr .65fr minmax(120px,1.4fr); gap: 7px; padding: 6px 11px 7px; margin: 0; aspect-ratio: auto; container-type: normal; background: #131920; border-top: 1px solid var(--sb-line); border-radius: 0 0 7px 7px; }
.sb-game .market .actions button {
  position: relative; inset: auto; width: auto; height: auto; min-height: 40px;
  padding: 5px; gap: 7px; border: 0; border-radius: 0; box-shadow: none;
  font: 750 .86rem/1.2 var(--sb-sans); text-transform: uppercase;
  clip-path: polygon(5% 0,95% 0,100% 22%,100% 78%,95% 100%,5% 100%,0 78%,0 22%);
  /* Reuse an unlabeled dark recess from the original action panel. */
  background: #252930 url("img/panel_bg.png") 44.6% 23% / 534.4% 181.3% no-repeat;
}
.sb-game .market .actions button:focus-visible { filter: brightness(1.25); }
.sb-game .market .actions button:disabled { opacity: .55; backdrop-filter: none; }
.sb-game .market .actions button:disabled :is(.panel-num,.coin-ic) { opacity: 1; }
.sb-game .market .actions .panel-num { color: var(--sb-amber); font: 700 .78rem var(--sb-mono); gap: 4px; text-shadow: none; }
.sb-game .market .actions :is(.coin-ic,.tier-cost .coin-ic) { width: 14px; height: 14px; transform: none; }
.sb-game .market .actions .btn-freeze.frozen { color: #adf1e5; text-shadow: 0 0 9px #6df8d47a; }
.sb-game .market .actions .btn-freeze.frozen::before { opacity: .2; }
.sb-game .market .actions .btn-mute.muted { color: #a7b0bd; }
.sb-game .market .actions .btn-fight {
  min-height: 40px; border: 0; border-radius: 0;
  /* Show just the original red button inset from the full action panel artwork. */
  background: #9e2530 url("img/panel_bg.png") 1.17% 20% / 288.64% 173.68% no-repeat;
  clip-path: polygon(4% 0,96% 0,100% 24%,100% 77%,97% 100%,3% 100%,0 76%,0 24%);
}
.sb-game .market .actions .btn-fight img {
  position: relative; z-index: 1; width: auto; height: clamp(19px,3.75svh,24px);
  max-width: calc(100% - 24px); object-fit: contain; image-rendering: pixelated;
}
.sb-game .market .actions .btn-fight:is(:hover,:focus-visible):not(:disabled)::after {
  opacity: .65; animation: pass 1.15s ease-in-out infinite;
}
.sb-game .market .actions .btn-fight::after { background: linear-gradient(115deg,transparent 25%,#ffffff68 49%,#fff9ed 50%,#ffffff68 51%,transparent 75%); }
.deployment-footer { display: flex; justify-content: space-between; align-items: center; gap: 10px; font: .77rem var(--sb-sans); color: var(--sb-muted); }
.sb-game .deployment-footer .btn-load { margin: 0; background: #141b23; border: 1px solid var(--sb-line); border-radius: 4px; font: 700 .74rem var(--sb-sans); box-shadow: none; text-transform: none; }
.sb-game .mode-menu h1 { font-family: var(--sb-mono); }
.sb-game .mode-menu .mode-btn { font-family: var(--sb-sans); }
.sb-game .mode-menu :is(.menu-sub,.mb-desc) { font-family: var(--sb-sans); }
.sb-game #tooltip { font: .8rem/1.5 var(--sb-sans); border-color: #6f593b; background: #11151b; }
.sb-game #tooltip .tt-title { font-size: .84rem; color: var(--sb-amber); }

.sb-home {
  --bg: var(--sb-bg);
  --accent: var(--sb-amber);
  --ink: var(--sb-text);
  --ink-60: #c3c7cd;
  --ink-35: var(--sb-muted);
  --red-clouds: url("img/bg-clouds.gif");
  font-family: var(--sb-sans);
}
.sb-home .top {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px;
  padding: 3px clamp(12px,4vw,55px);
  border-bottom: 1px solid #d7a56c2c;
  background: #101317; text-shadow: 0 1px 4px #090909;
}
.sb-home .top > :not(.nav-clouds) { position: relative; z-index: 1; }
.sb-home .nav-clouds {
  position: absolute; inset: -24% -8%; z-index: 0; pointer-events: none;
  background:
    linear-gradient(90deg,#100b17b8,#350c1990 34%,#270d149d 64%,#120912bd),
    var(--red-clouds) 48% 58% / cover no-repeat;
  opacity: .7;
  animation: nav-clouds 7s ease-in-out infinite;
}
@keyframes nav-clouds {
  0%, 100% { opacity: .7; transform: translateX(-5%) scale(1.04); }
  42% { opacity: 1; transform: translateX(3%) scale(1.11); }
  75% { opacity: .6; transform: translateX(5%) scale(1.06); }
}
@supports (background-clip: text) or (-webkit-background-clip: text) {
  html:lang(en) .sb-home #modes .mode:is(:hover,:focus-visible) .mode-name {
    background: linear-gradient(#fff4d353,#d52f4c20), var(--red-clouds) 18% 34% / 170% auto no-repeat #c8623c;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: mode-clouds 4s ease-in-out infinite alternate;
  }
}
@keyframes mode-clouds {
  to { background-position: 0 0, 80% 59%; }
}
.sb-home .wordmark, .catalog-brand { display: inline-flex; align-items: center; gap: 9px; font: 800 .9rem var(--sb-mono); letter-spacing: .12em; white-space: nowrap; }
.site-links { display: flex; align-items: center; gap: clamp(9px,2vw,26px); }
.site-links a { color: #e5e8eb; text-decoration: none; font: 650 .92rem var(--sb-sans); }
.site-links a:hover { color: var(--sb-amber); }
.sb-home .top .wordmark { margin-inline-end: auto; }
.sb-home .top .wordmark img { width: 27px; height: 27px; padding: 4px; }
.sb-home .top-actions { min-width: 0; gap: 5px; }
.sb-home .top-actions :is(.music-symbol,.wallet-symbol) { display: none; }
.sb-home .language-picker select {
  width: 106px; min-height: 28px; padding: 2px 7px;
  border: 1px solid #67636a; border-radius: 5px;
  background: #101317db; color: var(--sb-text);
  font: 700 .82rem var(--sb-sans); color-scheme: dark; cursor: pointer;
}
.sb-home .btn { padding-inline: 12px; min-height: 38px; border-color: #62646a; border-radius: 5px; font: 700 .79rem var(--sb-sans); letter-spacing: .05em; }
.sb-home .top-actions .btn { min-height: 28px; padding-inline: 8px; font-size: .7rem; white-space: nowrap; }
.sb-home .btn--solid { background: var(--sb-amber); border-color: var(--sb-amber); }
.sb-home .hero { min-height: clamp(410px,calc(76vh - 70px),665px); align-items: center; border-bottom: 1px solid #59402a; }
.sb-home .grade {
  background:
    linear-gradient(to bottom,transparent 42%,#0b0e1270 73%,#0b0e12 100%),
    linear-gradient(90deg,#0a0c10d9,#0b0d1280 38%,#1010180d 75%);
}
.sb-home .hero-inner { max-width: 1440px; margin: auto; padding: 32px clamp(16px,4vw,55px) 33px; }
.sb-home .kicker { margin: 0 0 5px; font: 750 .8rem var(--sb-mono); color: var(--sb-amber); letter-spacing: .13em; }
.sb-home .hero-main { align-items: center; gap: 27px; }
.sb-home .title-wrap--logo { margin-top: 0; }
.sb-home .main-logo { max-width: 100%; width: clamp(280px,43vw,585px); }
.sb-home .hero-row { display: grid; justify-content: start; gap: 15px; margin-top: 2px; }
.sb-home .sub { color: #d7d6d5; line-height: 1.5; font-size: 1rem; }
.sb-home .hero-cta { gap: 8px; }
.sb-home .hero-cta .btn { padding-inline: 15px; }
.sb-home .footage { flex-basis: min(41vw,530px); }
.sb-home .footage .frame { border: 1px solid #8c7156; border-radius: 8px; overflow: hidden; padding: 5px; background: #151412; }
.sb-home .footage video { border-radius: 4px; }
.sb-home .footage figcaption { color: #d0c4b8; font: 700 .75rem var(--sb-mono); letter-spacing: .04em; }
.sb-home .footage figcaption i { background: var(--sb-mint); }
.sb-home .sheet { max-width: 1440px; margin: auto; }
.sb-home section.block { padding: 29px clamp(16px,4vw,55px) 0; }
.sb-home .sec-label { color: var(--sb-text); font: 750 1.3rem var(--sb-sans); letter-spacing: -.02em; text-transform: none; margin-bottom: 11px; }
.sb-home .step-label, .sb-home .modal-title { font-family: var(--sb-mono); }
.sb-home footer { padding-top: 23px; }

@media(max-width: 1080px) {
  .sb-game .board-wrap { grid-template-columns: 95px minmax(0,1fr) 218px; gap: 8px; }
  .sb-game .shop-row { gap: 5px; }
  .card-stats { font-size: .63rem; }
}
@media(max-width: 850px) {
  .sb-game .board-wrap { grid-template-columns: 1fr; gap: 9px; }
  .sb-game .board-container { grid-row: 1; }
  .sb-game .inventory { grid-row: 3; display: flex; flex-direction: row; align-items: center; }
  .sb-game .inv-grid { grid-template-columns: repeat(15,minmax(13px,23px)); margin: 0; }
  .sb-game .deployment-side { grid-template-columns: .9fr 1.1fr; grid-template-rows: auto; }
  .sb-game .intel { min-height: 153px; }
  .sb-game .shop-row { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .sb-home .hero-media { bottom: auto; height: clamp(405px,68vw,555px); mask-image: linear-gradient(#000 57%,transparent); }
  .sb-home .mode { flex-wrap: wrap; gap: 6px 12px; }
  .sb-home .mode-name { font-size: clamp(30px,8vw,64px); }
  .sb-home .mode-meta { flex-basis: calc(100% - 44px); }
  .sb-home .hero-main { flex-direction: column; align-items: stretch; gap: 18px; }
  .sb-home .footage { flex-basis: auto; width: min(100%,560px); }
  .sb-home .main-logo { width: min(85%,460px); }
}
@media(max-width: 600px) {
  .sb-game .topbar { padding: 8px 12px; min-height: 54px; gap: 5px 8px; }
  .sb-game .hud { order: 3; flex-basis: 100%; gap: 4px; }
  .sb-game .topbar .stat { min-height: 29px; padding: 4px 5px; font-size: .69rem; }
  .sb-game .topbar .stat b { font-size: .78rem; }
  .sb-game .hud-button { width: 30px; height: 30px; }
  .sb-game .shop-screen { width: calc(100% - 24px); margin-top: 10px; gap: 9px; }
  .deploy-heading { align-items: start; flex-direction: column; padding: 7px 9px; gap: 5px; }
  .sb-game .deploy-heading .campaign-bar { padding: 5px; }
  .sb-game .board-wrap .board-container { padding: 8px; }
  .sb-game .board-grid { gap: 4px; }
  .sb-game .slot .unit-name { font-size: .53rem; }
  .sb-game .inv-grid { grid-template-columns: repeat(8,minmax(13px,22px)); }
  .sb-game .shop-row { padding-inline: 7px; gap: 4px; }
  .sb-game .board-title .synergy-bar:not(:empty) { grid-column: 1 / -1; grid-row: 2; }
  .sb-game .shop-row .card { min-height: 118px; }
  .card-portrait { height: 77px; }
  .card-name { font-size: .74rem; padding-inline: 4px; }
  .card-stats { padding-inline: 3px; font-size: .59rem; }
  .sb-game .market .actions { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 4px; padding-inline: 7px; }
  .sb-game .market .actions .btn-fight { grid-column: 1 / -1; }
  .sb-game .market .actions button { gap: 3px; min-height: 36px; font-size: .67rem; }
  .sb-game .market .actions .panel-num { font-size: .63rem; }
  .sb-game .market .actions .btn-tier .tier-cost { gap: 0; }
  .sb-home .top { gap: 4px 6px; }
  .sb-home .top-actions { flex-wrap: wrap; gap: 4px; }
  .sb-home .top-actions .btn { font-size: .65rem; padding-inline: 5px; }
  .sb-home .language-picker select { width: 91px; font-size: .76rem; }
  .sb-home .wordmark { font-size: .75rem; }
  .sb-home .hero-inner { padding-top: 25px; }
}
@media(max-width: 500px) {
  .sb-home .top .wordmark { gap: 6px; }
  .sb-home .top-actions .btn { width: 30px; padding: 0; }
  .sb-home .top-actions .btn span {
    position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap;
  }
  .sb-home .top-actions :is(.music-symbol,.wallet-symbol) { display: block; }
  .sb-home .music-symbol { font: 700 1rem/1 var(--sb-sans); }
  .sb-home [data-home-text="musicOff"] + .music-symbol { opacity: .55; text-decoration: line-through; }
  .sb-home .wallet-symbol { position: relative; width: 14px; height: 11px; border: 1px solid currentColor; border-radius: 2px; }
  .sb-home .wallet-symbol::after {
    content: ""; position: absolute; top: 3px; right: -1px; width: 5px; height: 3px;
    border: 1px solid currentColor; border-radius: 1px;
  }
}
@media(max-width: 350px) {
  .sb-home .top { padding-inline: 8px; }
  .sb-home .top .wordmark { gap: 4px; font-size: .65rem; letter-spacing: .08em; }
  .sb-home .top .wordmark img { width: 20px; height: 20px; padding: 3px; }
  .sb-home .language-picker select { width: 83px; padding-inline: 3px; }
}
@media (min-width:851px) and (max-height:620px) {
  .sb-game .board-grid .slot { max-height: 58px; }
  .sb-game .shop-screen { gap: 7px; margin-top: 8px; }
  .sb-game .shop-row .card { min-height: 128px; }
  .card-portrait { height: 83px; }
}
@media(prefers-reduced-motion:reduce) {
  /* Preserve the cloud footage. Suppress the additional slide and zoom. */
  .sb-home .nav-clouds { animation: none; opacity: .9; }
  html:lang(en) .sb-home #modes .mode:is(:hover,:focus-visible) .mode-name {
    animation: none;
  }
  .sb-game .deploy-heading::before { animation: none; opacity: .54; }
  .sb-game .market .actions .btn-fight:is(:hover,:focus-visible)::after { animation: none; opacity: 0; }
  .sb-game .shop-screen *, .sb-game .shop-screen *::before, .sb-game .shop-screen *::after { animation-duration: .01ms!important; transition-duration: .01ms!important; }
}
@media (forced-colors:active) {
  html:lang(en) .sb-home #modes .mode:is(:hover,:focus-visible) .mode-name {
    animation: none; background: none; color: LinkText;
  }
}

.sb-units { margin: 0; background: var(--sb-bg); color: var(--sb-text); font: 1rem/1.4 var(--sb-sans); }
.sb-units * { box-sizing: border-box; }
.sb-units :is(h1,h2,h3,h4,p) { margin: 0; }
.sb-units :focus-visible { outline: 2px solid var(--sb-amber); outline-offset: 2px; }
.catalog-header { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; justify-content: space-between; padding: 12px max(16px,calc((100% - 1260px)/2)); background: #10141a; border-bottom: 1px solid var(--sb-line); }
.catalog-brand { color: var(--sb-text); text-decoration: none; }
.sb-units .site-links [aria-current=page] { color: var(--sb-amber); }
.catalog { width: calc(100% - 32px); max-width: 1260px; margin: 18px auto; }
.catalog-hero { display: flex; align-items: center; justify-content: space-between; overflow: hidden; min-height: 110px; padding: 10px 16px; border: 1px solid #493b2e; border-radius: 8px; background: linear-gradient(100deg,#251b16,#191a1e 55%,#1a1714); }
.catalog-hero h1 { font-size: clamp(1.9rem,4.5vw,3.05rem); letter-spacing: -.055em; }
.catalog-hero p:not(.mode-caption) { color: var(--sb-muted); font-size: .93rem; }
.catalog-hero img { max-width: 28%; height: 110px; object-fit: contain; image-rendering: pixelated; }
.catalog-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(260px,30%); gap: 12px; margin-top: 12px; align-items: start; }
.catalog-list, .catalog-compare { min-width: 0; border: 1px solid var(--sb-line); border-radius: 7px; background: var(--sb-panel); }
.catalog-controls { display: flex; gap: 7px; flex-wrap: wrap; align-items: center; padding: 10px; }
.catalog-search { flex: 1; min-width: 130px; }
.catalog-controls :is(input,select,button) { color: var(--sb-text); min-height: 33px; background: #171e26; border: 1px solid #3a4553; border-radius: 4px; padding: 5px 8px; font: .85rem var(--sb-sans); }
.catalog-controls input { width: 100%; }
.catalog-controls select { max-width: 135px; }
.catalog-tiers { display: flex; gap: 3px; }
.catalog-tiers [aria-pressed=true] { background: #3a2d1e; color: var(--sb-amber); border-color: #705735; }
.catalog-scroll { max-height: min(620px,70vh); overflow: auto; }
.sb-units table { border-collapse: collapse; width: 100%; min-width: 545px; }
.sb-units thead { position: sticky; top: 0; color: var(--sb-muted); background: #10151b; z-index: 1; }
.sb-units :is(td,th) { padding: 6px 9px; border-block-end: 1px solid var(--sb-line); text-align: left; font-size: .83rem; }
.sb-units td:nth-child(n+3) { font-family: var(--sb-mono); }
.sb-units tr.current { background: #241e17; }
.sb-units button { cursor: pointer; }
.sb-units tbody button { display: flex; align-items: center; gap: 8px; border: none; padding: 0; text-align: left; font: 700 .85rem var(--sb-sans); color: var(--sb-text); background: none; }
.sb-units tbody img { width: 35px; height: 35px; object-fit: contain; border: 1px solid #34404d; border-radius: 4px; background: #1a2028; }
#unit-status { padding: 8px 11px; color: var(--sb-muted); font-size: .8rem; }
.catalog-compare { padding: 11px; }
.catalog-compare h2 { font-size: 1.08rem; }
.catalog-identity { display: flex; align-items: center; gap: 10px; margin-top: 8px; background: #181e26; border: 1px solid var(--sb-line); border-radius: 5px; padding: 7px; }
.catalog-identity img { width: 62px; height: 62px; object-fit: contain; image-rendering: pixelated; }
.catalog-identity small, .catalog-notes { color: var(--sb-muted); font-size: .78rem; }
.sb-units .catalog-notes { margin-top: 8px; }
.catalog-metric { border-top: 1px solid var(--sb-line); margin-top: 7px; padding-top: 5px; }
.catalog-metric h4 { font-size: .81rem; margin-bottom: 3px; }
.catalog-bar { display: grid; grid-template-columns: 3rem 1fr 2rem; align-items: center; gap: 6px; font: .74rem var(--sb-mono); }
.catalog-bar b { text-align: right; }
.catalog-bar.current { color: var(--sb-amber); }
.catalog-track { background: #272e39; height: 5px; border-radius: 2px; overflow: hidden; }
.catalog-track i { display: block; height: 100%; background: #8996a5; }
.catalog-bar.t1 .catalog-track i { background: var(--sb-mint); }
.catalog-bar.t2 .catalog-track i { background: var(--sb-amber); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media(max-width:760px) { .catalog-grid { grid-template-columns: 1fr; } }

.sb-game .board-wrap .board-container { background-image: repeating-linear-gradient(0deg,#6278850b 0 1px,transparent 1px 18px),repeating-linear-gradient(90deg,#6278850b 0 1px,transparent 1px 18px); }
.sb-game .topbar .logo { text-decoration: none; }
.sb-game .board-title #squadCount { grid-column: 3; justify-self: end; }
.sb-game .deployment-footer .btn-load { flex: none; }
.sb-home .footage video { transform: translateY(-2%) scale(1.18); }

.sb-home .hero-inner {
  display: grid;
  grid-template-rows: 1fr auto 1fr;
  justify-items: center;
  align-items: center;
  min-height: inherit;
  padding: 20px 16px;
  text-align: center;
}
.sb-home .hero-inner .kicker { align-self: end; margin-bottom: 8px; }
.sb-home .title-wrap--logo { display: block; }
.sb-home .main-logo { width: min(78vw, 585px); }
.sb-home .hero-row { align-self: start; justify-items: center; }
.sb-home .hero-cta { justify-content: center; flex-wrap: wrap; }
.sb-home .hero-media { inset: 0; height: auto; mask-image: none; }
