:root {
  color-scheme: light;
  --ink: #15161a;
  --paper: #f2eddc;
  --panel: #fff9ea;
  --muted: #64675f;
  --red: #e45745;
  --blue: #3677e0;
  --left-gang: #e45745;
  --right-gang: #3677e0;
  --gold: #f5c84b;
  --green: #4d9b68;
  --line: rgba(21, 22, 26, 0.18);
  --shadow: 6px 6px 0 var(--ink);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    linear-gradient(90deg, rgba(21, 22, 26, 0.045) 1px, transparent 1px),
    linear-gradient(rgba(21, 22, 26, 0.045) 1px, transparent 1px),
    var(--paper);
  background-size: 22px 22px;
}

button {
  min-height: 38px;
  border: 2px solid var(--ink);
  background: #fffdf5;
  color: var(--ink);
  font: inherit;
  font-weight: 850;
  cursor: pointer;
  box-shadow: 3px 3px 0 var(--ink);
}

.control-link {
  min-height: 38px;
  display: grid;
  place-items: center;
  border: 2px solid var(--ink);
  background: #fffdf5;
  color: var(--ink);
  padding: 0 10px;
  box-shadow: 3px 3px 0 var(--ink);
  font-weight: 850;
  text-decoration: none;
}

button:hover,
.control-link:hover {
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 var(--ink);
}

button:active,
.control-link:active {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 var(--ink);
}

.battle-shell {
  width: min(1240px, calc(100vw - 24px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 14px 0;
  display: grid;
  grid-template-rows: auto auto auto auto minmax(430px, 1fr) auto;
  gap: 12px;
}

.tv-cast-overlay {
  display: none;
}

.league-panel {
  border: 3px solid var(--ink);
  background: #fffdf5;
  box-shadow: var(--shadow);
  padding: 12px;
  display: grid;
  gap: 10px;
}

.league-head {
  display: grid;
  grid-template-columns: minmax(160px, 0.8fr) minmax(240px, 1.2fr) auto;
  gap: 10px;
  align-items: stretch;
}

.league-head div {
  min-width: 0;
  border: 2px solid var(--ink);
  background: var(--panel);
  padding: 8px 10px;
}

.league-head span {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.league-head strong {
  display: block;
  margin-top: 3px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: clamp(1rem, 2vw, 1.35rem);
  line-height: 1.05;
}

.standings-title {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.standings {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
}

.standing {
  min-width: 0;
  display: grid;
  grid-template-columns: 22px 38px 45px 43px 42px 1fr;
  align-items: center;
  gap: 5px;
  border: 2px solid var(--ink);
  border-left: 9px solid var(--team);
  background: var(--panel);
  padding: 6px 7px;
  font-size: 0.72rem;
  font-weight: 900;
}

.standing.rooted {
  background: #d7ff3f;
}

.standing b,
.standing strong,
.standing span {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.standing b {
  color: var(--muted);
}

.standing strong {
  font-size: 0.9rem;
}

.bracket {
  display: grid;
  grid-template-columns: minmax(230px, 0.7fr) 1fr minmax(260px, 1fr);
  gap: 8px;
  align-items: stretch;
}

.bracket-head,
.bracket-grid,
.recap-strip {
  min-width: 0;
  border: 2px solid var(--ink);
  background: var(--panel);
  padding: 8px 10px;
}

.bracket-head span,
.bracket-head strong,
.bracket-grid span,
.recap-strip em {
  display: block;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.bracket-head span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.bracket-head strong {
  margin-top: 3px;
  font-size: 1rem;
  line-height: 1.05;
}

.bracket-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px 10px;
  font-size: 0.76rem;
  font-weight: 900;
}

.recap-strip {
  display: grid;
  gap: 4px;
}

.recap-strip em {
  color: var(--muted);
  font-style: normal;
  font-size: 0.74rem;
  font-weight: 850;
}

.watch-now {
  border: 3px solid var(--ink);
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--left-gang) 18%, #fffdf5), #fffdf5 46%, color-mix(in srgb, var(--right-gang) 18%, #fffdf5)),
    #fffdf5;
  box-shadow: var(--shadow);
  padding: 12px;
  display: grid;
  grid-template-columns: minmax(260px, 1.15fr) minmax(320px, 1.5fr) auto;
  gap: 10px;
  align-items: stretch;
}

.watch-now-copy,
.watch-now-card,
.watch-now-actions {
  min-width: 0;
  border: 2px solid var(--ink);
  background: rgba(255, 253, 245, 0.88);
  padding: 10px;
}

.watch-now-copy span,
.watch-now-card span {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 1000;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.watch-now-copy strong {
  display: block;
  margin-top: 4px;
  overflow-wrap: anywhere;
  font-size: 1.25rem;
  line-height: 1;
}

.watch-now-copy p,
.watch-now-card p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
  line-height: 1.25;
}

.watch-now-grid {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.watch-now-card {
  display: grid;
  align-content: start;
  gap: 4px;
}

.watch-now-card strong {
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 0.96rem;
  line-height: 1;
}

.watch-now-actions {
  display: grid;
  gap: 8px;
  align-content: center;
}

.watch-now-actions a {
  min-height: 36px;
  display: grid;
  place-items: center;
  border: 2px solid var(--ink);
  background: #d7ff3f;
  color: var(--ink);
  padding: 0 12px;
  box-shadow: 3px 3px 0 var(--ink);
  font-weight: 950;
  text-decoration: none;
  white-space: nowrap;
}

.season-scope {
  border: 3px solid var(--ink);
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--left-gang) 12%, #fffdf5), #fffdf5 50%, color-mix(in srgb, var(--right-gang) 12%, #fffdf5)),
    #fffdf5;
  box-shadow: var(--shadow);
  padding: 12px;
  display: grid;
  gap: 10px;
}

.season-scope-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
}

.season-scope-head span {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 1000;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.season-scope-head strong {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: clamp(1rem, 2vw, 1.3rem);
  line-height: 1.05;
}

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

.season-scope-card {
  min-width: 0;
  min-height: 116px;
  border: 2px solid var(--ink);
  background: rgba(255, 253, 245, 0.9);
  padding: 8px;
  display: grid;
  align-content: start;
  gap: 5px;
}

.season-scope-card span {
  width: fit-content;
  max-width: 100%;
  border: 2px solid var(--ink);
  background: #d7ff3f;
  padding: 2px 5px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 0.62rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.season-scope-card strong {
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 0.95rem;
  line-height: 1;
}

.season-scope-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1.22;
}

.watch-kit {
  border: 3px solid var(--ink);
  background:
    linear-gradient(135deg, rgba(245, 200, 75, 0.32), transparent 34%),
    linear-gradient(90deg, color-mix(in srgb, var(--left-gang) 18%, #fffdf5), #fffdf5 42%, color-mix(in srgb, var(--right-gang) 18%, #fffdf5)),
    #fffdf5;
  box-shadow: var(--shadow);
  padding: 12px;
  display: grid;
  gap: 10px;
}

.watch-kit-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: end;
}

.watch-kit-head div {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.watch-kit-head span,
.watch-kit-now > span,
.watch-kit-play span,
.watch-kit-output {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 1000;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.watch-kit-head strong {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: clamp(1.1rem, 2.4vw, 1.55rem);
  line-height: 1.05;
}

.watch-kit output {
  max-width: min(420px, 44vw);
  border: 2px solid var(--ink);
  background: var(--ink);
  color: #fffdf5;
  padding: 6px 8px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 0.72rem;
  font-weight: 950;
}

.watch-kit-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(420px, 1.35fr);
  gap: 10px;
}

.watch-kit-now,
.watch-kit-play {
  min-width: 0;
  border: 2px solid var(--ink);
  background: rgba(255, 253, 245, 0.92);
}

.watch-kit-now {
  padding: 10px;
  display: grid;
  gap: 8px;
  align-content: start;
}

.watch-kit-now > span {
  width: fit-content;
  max-width: 100%;
  border: 2px solid var(--ink);
  background: #d7ff3f;
  color: var(--ink);
  padding: 3px 6px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.watch-kit-now p,
.watch-kit-storyline p,
.watch-kit-play p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 850;
  line-height: 1.28;
}

.watch-kit-storyline {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.watch-kit-storyline article {
  min-width: 0;
  border: 2px solid var(--ink);
  background: rgba(21, 22, 26, 0.04);
  padding: 7px;
  display: grid;
  gap: 4px;
}

.watch-kit-storyline span {
  width: fit-content;
  max-width: 100%;
  border-bottom: 3px solid var(--gold);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 0.66rem;
  font-weight: 1000;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.watch-kit-storyline strong {
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 0.86rem;
  line-height: 1;
}

.watch-kit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.watch-kit-copy,
.watch-kit-link {
  min-height: 34px;
  border: 2px solid var(--ink);
  background: #fffdf5;
  color: var(--ink);
  padding: 0 8px;
  box-shadow: 2px 2px 0 var(--ink);
  font-size: 0.72rem;
  font-weight: 950;
  text-decoration: none;
  text-transform: uppercase;
}

.watch-kit-link {
  display: grid;
  place-items: center;
}

.watch-kit-copy:first-child {
  background: var(--gold);
}

.watch-kit-desk-archive {
  border-top: 2px solid var(--ink);
  padding-top: 8px;
  display: grid;
  gap: 7px;
}

.watch-kit-desk-head {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: end;
}

.watch-kit-desk-head span,
.watch-kit-desk-card span {
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 1000;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.watch-kit-desk-head strong {
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 0.78rem;
  line-height: 1;
  text-align: right;
}

.watch-kit-desk-list {
  display: grid;
  gap: 6px;
}

.watch-kit-desk-card {
  min-width: 0;
  border: 2px solid var(--ink);
  background:
    linear-gradient(90deg, rgba(245, 200, 75, 0.22), transparent 48%),
    rgba(255, 253, 245, 0.96);
  padding: 7px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}

.watch-kit-desk-card div {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.watch-kit-desk-card strong {
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 0.82rem;
  line-height: 1;
}

.watch-kit-desk-card p {
  margin: 0;
  color: var(--muted);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 0.7rem;
  font-weight: 850;
}

.watch-kit-desk-copy {
  min-height: 30px;
  background: #d7ff3f;
  box-shadow: 1px 1px 0 var(--ink);
}

.watch-kit-plays {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.watch-kit-play {
  padding: 8px;
  display: grid;
  align-content: start;
  gap: 5px;
}

.watch-kit-play span {
  width: fit-content;
  border-bottom: 3px solid var(--gold);
  color: var(--ink);
}

.watch-kit-play strong {
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 0.9rem;
  line-height: 1;
}

.recap-studio {
  border: 3px solid var(--ink);
  background:
    linear-gradient(110deg, color-mix(in srgb, var(--left-gang) 20%, #fffdf5), transparent 38%),
    linear-gradient(270deg, color-mix(in srgb, var(--right-gang) 18%, #fffdf5), transparent 42%),
    #fffdf5;
  box-shadow: var(--shadow);
  padding: 12px;
  display: grid;
  gap: 10px;
}

.recap-studio-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: end;
}

.recap-studio-head div {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.recap-studio-head span,
.recap-card-copy > span,
.recap-card-output {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 1000;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.recap-studio-head strong {
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: clamp(1rem, 2vw, 1.35rem);
  line-height: 1.05;
}

.recap-studio output {
  max-width: min(390px, 42vw);
  border: 2px solid var(--ink);
  background: #d7ff3f;
  color: var(--ink);
  padding: 6px 8px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 0.72rem;
  font-weight: 950;
}

.recap-card {
  min-width: 0;
  border: 3px solid var(--ink);
  background:
    linear-gradient(90deg, var(--recap-left, var(--left-gang)) 0 10px, transparent 10px),
    linear-gradient(270deg, var(--recap-right, var(--right-gang)) 0 10px, transparent 10px),
    #111217;
  color: #fffdf5;
  padding: 12px 18px;
  display: grid;
  grid-template-columns: minmax(220px, 1.2fr) minmax(260px, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.recap-card.preview {
  background:
    linear-gradient(90deg, var(--recap-left, var(--left-gang)) 0 8px, transparent 8px),
    linear-gradient(270deg, var(--recap-right, var(--right-gang)) 0 8px, transparent 8px),
    #24262e;
}

.recap-card-copy {
  min-width: 0;
  display: grid;
  gap: 5px;
}

.recap-card-copy > span {
  color: #d7ff3f;
}

.recap-card-copy strong {
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: clamp(1.25rem, 3vw, 2.15rem);
  line-height: 0.96;
}

.recap-card-copy p {
  margin: 0;
  max-width: 72ch;
  color: rgba(255, 253, 245, 0.78);
  font-size: 0.85rem;
  font-weight: 850;
  line-height: 1.32;
}

.recap-card-stats {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.recap-card-stats span {
  min-width: 0;
  border: 1px solid rgba(255, 253, 245, 0.24);
  background: rgba(255, 253, 245, 0.08);
  padding: 7px;
  overflow-wrap: anywhere;
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1.2;
}

.recap-card-actions {
  display: grid;
  gap: 7px;
}

.recap-copy {
  min-width: 116px;
  min-height: 36px;
  border: 2px solid #fffdf5;
  background: #d7ff3f;
  color: var(--ink);
  padding: 0 9px;
  box-shadow: 2px 2px 0 #fffdf5;
  font-size: 0.7rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.topbar {
  display: grid;
  grid-template-columns: minmax(160px, 1fr) minmax(280px, 1.25fr) minmax(160px, 1fr);
  gap: 12px;
  align-items: stretch;
}

.gang-card,
.match-core,
.bottom-panel {
  border: 3px solid var(--ink);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.gang-card {
  min-height: 102px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  overflow: hidden;
}

.gang-card span {
  display: block;
  font-size: clamp(1.2rem, 2.2vw, 2rem);
  font-weight: 950;
  line-height: 0.95;
}

.brand-kit {
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.swatch {
  width: 18px;
  height: 18px;
  border: 2px solid var(--ink);
  background: var(--swatch);
}

.brand-kit em {
  font-style: normal;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.gang-card strong {
  font-size: clamp(3rem, 7vw, 5.8rem);
  line-height: 0.78;
}

.gang-red {
  border-left: 14px solid var(--left-gang);
}

.gang-blue {
  border-right: 14px solid var(--right-gang);
}

.match-core {
  padding: 13px 14px;
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
}

.minor {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin: 3px 0 11px;
  font-size: clamp(1.55rem, 3.6vw, 3rem);
  line-height: 0.95;
}

.source-badge {
  margin: -3px 0 10px;
  padding: 4px 8px;
  border: 2px solid var(--ink);
  background: #d7ff3f;
  font-size: 0.74rem;
  font-weight: 950;
  text-transform: uppercase;
}

.rivalry-badge {
  width: min(100%, 560px);
  margin: -4px 0 10px;
  border: 2px solid var(--ink);
  background: #fffdf5;
  padding: 5px 8px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.rivalry-badge.hot {
  background: color-mix(in srgb, var(--gold) 76%, #fffdf5);
  box-shadow: 2px 2px 0 var(--ink);
}

.controls {
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.speed-group {
  display: inline-grid;
  grid-template-columns: repeat(3, minmax(58px, 1fr));
  gap: 5px;
}

.speed-group button {
  min-width: 58px;
  box-shadow: none;
}

.speed-group .active {
  background: var(--gold);
}

.field-wrap {
  min-height: 430px;
  display: grid;
}

.field {
  position: relative;
  overflow: hidden;
  min-height: 430px;
  border: 4px solid var(--ink);
  background:
    radial-gradient(circle at 18% 34%, rgba(245, 200, 75, 0.22), transparent 15%),
    radial-gradient(circle at 78% 68%, rgba(54, 119, 224, 0.16), transparent 16%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.13) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.13) 1px, transparent 1px),
    #5aa270;
  background-size: auto, auto, 44px 44px, 44px 44px, auto;
  box-shadow: 0 18px 50px rgba(21, 22, 26, 0.18);
}

.field.rift-field {
  background:
    radial-gradient(circle at 31% 34%, rgba(245, 200, 75, 0.28), transparent 18%),
    radial-gradient(circle at 69% 34%, rgba(74, 163, 255, 0.24), transparent 18%),
    radial-gradient(circle at 31% 68%, rgba(85, 204, 109, 0.24), transparent 18%),
    radial-gradient(circle at 69% 68%, rgba(95, 91, 255, 0.26), transparent 18%),
    linear-gradient(115deg, rgba(255, 253, 245, 0.18) 1px, transparent 1px),
    linear-gradient(rgba(21, 22, 26, 0.14) 1px, transparent 1px),
    #3f765f;
  background-size: auto, auto, auto, auto, 38px 38px, 38px 38px, auto;
}

.field.crown-field {
  background:
    radial-gradient(circle at 50% 50%, rgba(245, 200, 75, 0.46), transparent 22%),
    radial-gradient(circle at 20% 32%, rgba(228, 87, 69, 0.18), transparent 17%),
    radial-gradient(circle at 78% 68%, rgba(54, 119, 224, 0.2), transparent 18%),
    repeating-conic-gradient(from 45deg at 50% 50%, rgba(255, 253, 245, 0.18) 0 12deg, transparent 12deg 24deg),
    #50744f;
}

.field.lava-field {
  background:
    radial-gradient(circle at 50% 52%, rgba(251, 118, 104, 0.42), transparent 19%),
    repeating-linear-gradient(90deg, rgba(255, 253, 245, 0.12) 0 12px, transparent 12px 30px),
    linear-gradient(135deg, rgba(245, 200, 75, 0.24), transparent 42%),
    #60493d;
}

.field.cloud-field {
  background:
    radial-gradient(circle at 32% 42%, rgba(255, 253, 245, 0.44), transparent 20%),
    radial-gradient(circle at 68% 58%, rgba(154, 204, 255, 0.36), transparent 20%),
    repeating-linear-gradient(0deg, rgba(255, 253, 245, 0.18) 0 2px, transparent 2px 38px),
    #638eb4;
}

.field.trash-field {
  background:
    radial-gradient(circle at 28% 50%, rgba(215, 255, 63, 0.23), transparent 14%),
    radial-gradient(circle at 72% 50%, rgba(245, 200, 75, 0.22), transparent 14%),
    repeating-linear-gradient(115deg, rgba(21, 22, 26, 0.16) 0 3px, transparent 3px 25px),
    #61705f;
}

.field.fog-field {
  background:
    radial-gradient(circle at 24% 32%, rgba(255, 253, 245, 0.2), transparent 24%),
    radial-gradient(circle at 80% 62%, rgba(255, 253, 245, 0.16), transparent 27%),
    linear-gradient(90deg, rgba(255, 253, 245, 0.18), transparent 34%, rgba(255, 253, 245, 0.16)),
    #556b74;
}

.field.kingdom-field {
  background:
    linear-gradient(90deg, rgba(21, 22, 26, 0.34) 0 13%, transparent 13% 87%, rgba(21, 22, 26, 0.34) 87%),
    repeating-linear-gradient(0deg, transparent 0 72px, rgba(255, 253, 245, 0.2) 72px 78px),
    radial-gradient(circle at 50% 50%, rgba(245, 200, 75, 0.26), transparent 18%),
    linear-gradient(90deg, rgba(228, 87, 69, 0.16), transparent 42%, rgba(54, 119, 224, 0.18)),
    #66784f;
}

.field.boss-field {
  box-shadow:
    0 18px 50px rgba(21, 22, 26, 0.22),
    inset 0 0 0 7px rgba(255, 253, 245, 0.28),
    inset 0 0 38px rgba(5, 3, 8, 0.2);
  filter: saturate(1.14) contrast(1.06);
}

.field.rift-field.boss-monsoon {
  background:
    radial-gradient(circle at 28% 32%, rgba(74, 163, 255, 0.36), transparent 20%),
    radial-gradient(circle at 70% 36%, rgba(215, 255, 63, 0.24), transparent 19%),
    radial-gradient(circle at 34% 70%, rgba(85, 204, 109, 0.34), transparent 22%),
    linear-gradient(105deg, rgba(255, 253, 245, 0.22) 0 8%, transparent 8% 20%, rgba(255, 253, 245, 0.14) 20% 27%, transparent 27%),
    repeating-linear-gradient(120deg, rgba(5, 3, 8, 0.16) 0 3px, transparent 3px 23px),
    #2f755e;
}

.field.crown-field.boss-neon {
  background:
    radial-gradient(circle at 50% 50%, rgba(215, 255, 63, 0.62), transparent 25%),
    radial-gradient(circle at 48% 47%, rgba(245, 200, 75, 0.58), transparent 13%),
    repeating-conic-gradient(from 0deg at 50% 50%, rgba(255, 253, 245, 0.22) 0 9deg, rgba(54, 119, 224, 0.18) 9deg 18deg, transparent 18deg 30deg),
    linear-gradient(90deg, rgba(228, 87, 69, 0.18), rgba(54, 119, 224, 0.18)),
    #315b58;
}

.field.trash-field.boss-scrap {
  background:
    radial-gradient(circle at 21% 48%, rgba(215, 255, 63, 0.34), transparent 16%),
    radial-gradient(circle at 52% 64%, rgba(245, 200, 75, 0.28), transparent 14%),
    radial-gradient(circle at 78% 42%, rgba(251, 118, 104, 0.22), transparent 13%),
    repeating-linear-gradient(27deg, rgba(21, 22, 26, 0.22) 0 4px, transparent 4px 17px),
    repeating-linear-gradient(115deg, rgba(255, 253, 245, 0.12) 0 2px, transparent 2px 31px),
    #4e614f;
}

.field.fog-field.boss-blackout {
  background:
    radial-gradient(circle at 28% 30%, rgba(255, 253, 245, 0.16), transparent 26%),
    radial-gradient(circle at 70% 64%, rgba(95, 91, 255, 0.2), transparent 24%),
    linear-gradient(90deg, rgba(5, 3, 8, 0.48), transparent 39%, rgba(5, 3, 8, 0.54)),
    repeating-linear-gradient(0deg, rgba(255, 253, 245, 0.08) 0 2px, transparent 2px 36px),
    #273039;
}

.field.boss-field .challenge-ribbon {
  background: #f5c84b;
  box-shadow: 4px 4px 0 var(--ink), inset 0 0 0 3px rgba(215, 255, 63, 0.48);
}

.field.big-play {
  animation: fieldPulse 650ms ease;
}

.field.ko-burst {
  animation: koPulse 700ms ease;
}

.field.final-burst {
  animation: finalPulse 1.45s ease;
}

.field.amp-burst {
  animation: ampPulse 850ms ease;
}

.field.crown-burst {
  animation: crownPulse 900ms ease;
}

.field.lava-burst {
  animation: lavaPulse 900ms ease;
}

.field.cloud-burst {
  animation: cloudPulse 900ms ease;
}

.field.trash-burst {
  animation: trashPulse 900ms ease;
}

.field.fog-burst {
  animation: fogPulse 900ms ease;
}

.field.kingdom-burst {
  animation: kingdomPulse 900ms ease;
}

.field.challenge-burst,
.field.challenge-won {
  box-shadow: var(--shadow), inset 0 0 0 6px rgba(215, 255, 63, 0.82);
}

.field::before,
.field::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 72px;
  background:
    radial-gradient(circle, #ffe987 0 4px, transparent 5px) 0 16px / 34px 24px,
    radial-gradient(circle, #fb7668 0 4px, transparent 5px) 15px 28px / 41px 26px,
    radial-gradient(circle, #6fa9ff 0 4px, transparent 5px) 27px 14px / 46px 23px,
    #242832;
  opacity: 0.95;
  z-index: 2;
}

.field.kingdom-field::before,
.field.kingdom-field::after {
  top: 76px;
  bottom: 76px;
  width: 94px;
  height: auto;
  background:
    linear-gradient(90deg, rgba(255, 253, 245, 0.18), transparent 28%),
    repeating-linear-gradient(0deg, var(--ink) 0 10px, transparent 10px 42px),
    linear-gradient(180deg, #fffdf5 0 12%, #8f8a72 12% 100%);
  opacity: 1;
  z-index: 3;
}

.field.kingdom-field::before {
  right: auto;
  border-right: 4px solid var(--ink);
  border-bottom: 0;
  background-color: var(--left-gang);
}

.field.kingdom-field::after {
  left: auto;
  border-left: 4px solid var(--ink);
  border-top: 0;
  background-color: var(--right-gang);
  transform: scaleX(-1);
}

.field::before {
  top: 0;
  border-bottom: 4px solid var(--ink);
}

.field::after {
  bottom: 0;
  border-top: 4px solid var(--ink);
}

.field-mark {
  position: absolute;
  pointer-events: none;
}

.field-mid {
  inset: 74px 50% 74px auto;
  width: 4px;
  background: rgba(255, 249, 234, 0.75);
  transform: translateX(2px);
}

.kingdom-field .field-mid {
  width: 10px;
  background:
    repeating-linear-gradient(0deg, #fffdf5 0 12px, rgba(255, 253, 245, 0.2) 12px 22px);
  opacity: 0.72;
}

.kingdom-field .hill {
  border-radius: 10px;
  border-style: solid;
  background:
    radial-gradient(circle at 50% 28%, rgba(255, 253, 245, 0.42), transparent 28%),
    rgba(21, 22, 26, 0.16);
}

.hill {
  width: 26%;
  height: 32%;
  border: 2px dashed rgba(21, 22, 26, 0.22);
  border-radius: 50%;
  background: rgba(255, 249, 234, 0.13);
}

.hill-left {
  left: 9%;
  top: 35%;
}

.hill-right {
  right: 9%;
  top: 35%;
}

.flag {
  position: absolute;
  top: 88px;
  z-index: 5;
  width: 58px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 3px solid var(--ink);
  color: #fffdf5;
  font-weight: 1000;
  box-shadow: 4px 4px 0 var(--ink);
}

.flag::after {
  content: "";
  position: absolute;
  bottom: -86px;
  left: 25px;
  width: 5px;
  height: 84px;
  background: var(--ink);
}

.flag-left {
  left: 21px;
  background: var(--left-gang);
}

.flag-right {
  right: 21px;
  background: var(--right-gang);
}

.noun {
  position: absolute;
  z-index: 6;
  width: 42px;
  height: 42px;
  translate: -50% -50%;
  transition: filter 160ms ease;
  will-change: left, top, transform;
}

.noun img {
  width: 100%;
  height: 100%;
  image-rendering: pixelated;
  filter: drop-shadow(3px 5px 0 rgba(21, 22, 26, 0.28));
}

.noun::before {
  content: "";
  position: absolute;
  left: 7px;
  right: 7px;
  bottom: -4px;
  height: 8px;
  border-radius: 999px;
  background: rgba(21, 22, 26, 0.24);
  z-index: -1;
}

.noun.left {
  outline: 3px solid var(--left-gang);
  outline-offset: -1px;
}

.noun.right {
  outline: 3px solid var(--right-gang);
  outline-offset: -1px;
}

.noun.down {
  opacity: 0.28;
  filter: grayscale(1);
  z-index: 3;
}

.noun.selected {
  z-index: 16;
  filter: drop-shadow(0 0 0 #fffdf5) drop-shadow(0 0 10px #d7ff3f);
}

.noun.selected .jersey {
  background: #d7ff3f;
}

.noun.strike {
  transform: scale(1.2) rotate(var(--tilt, 0deg));
}

.noun.guarded::after,
.noun.hasted::after,
.noun.stunned::after,
.noun.amplified::after,
.noun.crowned::after {
  position: absolute;
  left: 50%;
  bottom: -14px;
  translate: -50% 0;
  border: 2px solid var(--ink);
  background: #fffdf5;
  padding: 0 4px;
  font-size: 0.55rem;
  font-weight: 1000;
  line-height: 1.25;
  text-transform: uppercase;
}

.noun.guarded::after {
  content: "guard";
  color: #1f5b2e;
}

.noun.hasted::after {
  content: "dash";
  color: #183f8f;
}

.noun.stunned::after {
  content: "stun";
  color: #8f241c;
}

.noun.amplified {
  filter: drop-shadow(0 0 8px var(--element));
}

.noun.amplified::after {
  content: "amp";
  color: #4d2ba8;
}

.noun.crowned {
  z-index: 17;
  filter: drop-shadow(0 0 10px #f5c84b) drop-shadow(0 0 0 #fffdf5);
}

.noun.crowned::after {
  content: "crown";
  color: #74520e;
}

.noun.director-target {
  z-index: 19;
  filter: drop-shadow(0 0 0 #fffdf5) drop-shadow(0 0 14px #d7ff3f);
}

.noun.director-target::before {
  outline: 3px solid #d7ff3f;
  outline-offset: 10px;
}

.noun .hp {
  position: absolute;
  left: 3px;
  right: 3px;
  top: -8px;
  height: 5px;
  border: 1px solid var(--ink);
  background: #fffdf5;
}

.noun .hp i {
  display: block;
  height: 100%;
  background: #55cc6d;
}

.jersey {
  position: absolute;
  right: -7px;
  top: -9px;
  z-index: 2;
  min-width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border: 2px solid var(--ink);
  background: #fffdf5;
  color: var(--ink);
  font-size: 0.58rem;
  font-weight: 1000;
  line-height: 1;
}

.hit-pop {
  position: absolute;
  z-index: 20;
  translate: -50% -50%;
  color: var(--ink);
  background: #fffdf5;
  border: 2px solid var(--ink);
  padding: 2px 6px;
  font-size: 0.76rem;
  font-weight: 1000;
  animation: pop 620ms ease forwards;
  pointer-events: none;
}

.spark {
  position: absolute;
  z-index: 18;
  width: 16px;
  height: 16px;
  translate: -50% -50%;
  border: 3px solid var(--ink);
  background: var(--gold);
  transform: rotate(45deg);
  animation: spark 340ms ease forwards;
  pointer-events: none;
}

.toast {
  position: absolute;
  left: 50%;
  top: 90px;
  z-index: 30;
  translate: -50% 0;
  max-width: min(520px, calc(100% - 24px));
  padding: 8px 12px;
  border: 3px solid var(--ink);
  background: #fffdf5;
  font-weight: 950;
  text-align: center;
  box-shadow: 4px 4px 0 var(--ink);
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 170ms ease, transform 170ms ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.challenge-ribbon {
  position: absolute;
  left: 50%;
  top: 13px;
  z-index: 22;
  translate: -50% 0;
  max-width: min(780px, calc(100% - 220px));
  padding: 6px 10px;
  border: 3px solid var(--ink);
  background: #d7ff3f;
  color: var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: clamp(0.72rem, 1.2vw, 1rem);
  font-weight: 1000;
  text-align: center;
}

.weather {
  position: absolute;
  inset: 74px 0;
  pointer-events: none;
  z-index: 4;
  opacity: 0.55;
}

.weather.dust {
  background: repeating-linear-gradient(105deg, transparent 0 28px, rgba(255, 249, 234, 0.28) 28px 31px);
}

.weather.confetti {
  background:
    radial-gradient(circle, #f5c84b 0 3px, transparent 4px) 0 0 / 43px 37px,
    radial-gradient(circle, #e45745 0 3px, transparent 4px) 14px 10px / 51px 44px,
    radial-gradient(circle, #3677e0 0 3px, transparent 4px) 27px 18px / 47px 40px;
}

.weather.spark-field {
  background:
    repeating-linear-gradient(62deg, transparent 0 34px, rgba(245, 200, 75, 0.22) 34px 37px),
    radial-gradient(circle at 50% 50%, rgba(255, 253, 245, 0.18), transparent 35%);
}

.weather.royal-field {
  background:
    radial-gradient(circle, rgba(245, 200, 75, 0.34) 0 3px, transparent 4px) 0 0 / 44px 38px,
    repeating-linear-gradient(90deg, transparent 0 54px, rgba(255, 253, 245, 0.18) 54px 58px);
}

.weather.heat-field {
  background:
    repeating-linear-gradient(92deg, transparent 0 28px, rgba(251, 118, 104, 0.24) 28px 34px),
    radial-gradient(circle at 50% 50%, rgba(245, 200, 75, 0.18), transparent 38%);
}

.weather.cloud-weather {
  background:
    radial-gradient(ellipse at 22% 38%, rgba(255, 253, 245, 0.36), transparent 21%),
    radial-gradient(ellipse at 76% 62%, rgba(255, 253, 245, 0.3), transparent 24%);
}

.weather.trash-weather {
  background:
    radial-gradient(circle, rgba(215, 255, 63, 0.3) 0 3px, transparent 4px) 0 0 / 39px 35px,
    radial-gradient(circle, rgba(21, 22, 26, 0.24) 0 2px, transparent 3px) 14px 9px / 47px 41px;
}

.weather.fog-weather {
  opacity: 0.72;
  background:
    linear-gradient(90deg, rgba(255, 253, 245, 0.26), transparent 28%, rgba(255, 253, 245, 0.24) 62%, transparent),
    repeating-linear-gradient(0deg, transparent 0 34px, rgba(255, 253, 245, 0.16) 34px 48px);
}

.weather.wind-weather {
  background:
    repeating-linear-gradient(165deg, transparent 0 32px, rgba(255, 253, 245, 0.32) 32px 37px),
    linear-gradient(120deg, rgba(55, 184, 255, 0.24), rgba(255, 253, 245, 0.12), rgba(245, 200, 75, 0.18));
}

.weather.garden-weather {
  background:
    radial-gradient(circle at 18% 32%, rgba(75, 224, 142, 0.38), transparent 17%),
    radial-gradient(circle at 78% 26%, rgba(255, 106, 178, 0.28), transparent 19%),
    linear-gradient(135deg, rgba(36, 144, 74, 0.22), rgba(255, 253, 245, 0.1));
}

.weather.auction-weather {
  background:
    repeating-linear-gradient(90deg, rgba(255, 253, 245, 0.18) 0 2px, transparent 2px 38px),
    linear-gradient(120deg, rgba(255, 30, 132, 0.2), rgba(245, 200, 75, 0.2), rgba(61, 95, 255, 0.18));
}

.amp-zone {
  position: absolute;
  z-index: 4;
  display: grid;
  place-items: center;
  translate: -50% -50%;
  border: 3px solid var(--ink);
  border-radius: 999px;
  background:
    radial-gradient(circle, color-mix(in srgb, var(--amp) 45%, #fffdf5) 0 28%, transparent 29%),
    color-mix(in srgb, var(--amp) 28%, transparent);
  box-shadow: inset 0 0 0 5px rgba(255, 253, 245, 0.34), 4px 4px 0 rgba(21, 22, 26, 0.28);
  color: var(--ink);
  font-size: 0.66rem;
  font-weight: 1000;
  text-transform: uppercase;
  pointer-events: none;
  animation: ampZone 2.4s ease-in-out infinite;
}

.amp-zone span {
  border: 2px solid var(--ink);
  background: #fffdf5;
  padding: 2px 6px;
}

.crown-zone {
  position: absolute;
  z-index: 4;
  display: grid;
  place-items: center;
  translate: -50% -50%;
  border: 4px solid var(--ink);
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(255, 253, 245, 0.86) 0 20%, rgba(245, 200, 75, 0.58) 21% 46%, transparent 47%),
    repeating-conic-gradient(from 0deg, rgba(245, 200, 75, 0.45) 0 14deg, rgba(255, 253, 245, 0.22) 14deg 28deg);
  box-shadow: inset 0 0 0 7px rgba(255, 253, 245, 0.3), 5px 5px 0 rgba(21, 22, 26, 0.3);
  pointer-events: none;
  animation: crownZone 2.1s ease-in-out infinite;
}

.crown-zone span {
  border: 3px solid var(--ink);
  background: #f5c84b;
  padding: 4px 9px;
  font-size: 0.72rem;
  font-weight: 1000;
  text-transform: uppercase;
  box-shadow: 3px 3px 0 var(--ink);
}

.terrain-zone {
  position: absolute;
  z-index: 4;
  display: grid;
  place-items: center;
  translate: -50% -50%;
  border: 3px solid var(--ink);
  color: var(--ink);
  font-size: 0.66rem;
  font-weight: 1000;
  text-transform: uppercase;
  pointer-events: none;
  box-shadow: 4px 4px 0 rgba(21, 22, 26, 0.28);
}

.terrain-zone span {
  border: 2px solid var(--ink);
  background: #fffdf5;
  padding: 2px 6px;
}

.terrain-zone.terrain-boss {
  border-width: 4px;
  box-shadow: 5px 5px 0 rgba(21, 22, 26, 0.36), inset 0 0 0 4px rgba(255, 253, 245, 0.24);
}

.terrain-lava {
  border-radius: 16px;
  background:
    repeating-linear-gradient(45deg, rgba(251, 118, 104, 0.8) 0 12px, rgba(245, 200, 75, 0.64) 12px 24px);
  animation: lavaZone 1.7s ease-in-out infinite;
}

.terrain-cloud {
  border-radius: 999px;
  background:
    radial-gradient(circle at 30% 50%, rgba(255, 253, 245, 0.82), transparent 40%),
    radial-gradient(circle at 70% 50%, rgba(154, 204, 255, 0.74), transparent 42%);
  animation: cloudZone 2.6s ease-in-out infinite;
}

.terrain-trash {
  border-radius: 8px;
  background:
    radial-gradient(circle, rgba(215, 255, 63, 0.52) 0 4px, transparent 5px) 0 0 / 19px 17px,
    rgba(83, 95, 77, 0.72);
  animation: trashZone 2.2s steps(2, end) infinite;
}

.terrain-trash.terrain-boss {
  background:
    radial-gradient(circle, rgba(245, 200, 75, 0.72) 0 4px, transparent 5px) 0 0 / 21px 19px,
    radial-gradient(circle, rgba(215, 255, 63, 0.54) 0 5px, transparent 6px) 8px 4px / 27px 23px,
    rgba(55, 68, 49, 0.86);
}

.terrain-kingdom {
  border-radius: 0;
  background:
    repeating-linear-gradient(90deg, rgba(255, 253, 245, 0.3) 0 8px, transparent 8px 24px),
    rgba(245, 200, 75, 0.18);
}

.terrain-kingdom.terrain-tower {
  border-radius: 6px;
  background:
    linear-gradient(180deg, rgba(255, 253, 245, 0.6), rgba(245, 200, 75, 0.24)),
    repeating-linear-gradient(90deg, rgba(21, 22, 26, 0.25) 0 6px, transparent 6px 18px);
  box-shadow: 5px 5px 0 rgba(21, 22, 26, 0.32), inset 0 0 0 5px rgba(255, 253, 245, 0.22);
}

.terrain-kingdom.terrain-keep {
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(215, 255, 63, 0.38) 0 30%, rgba(245, 200, 75, 0.34) 31% 56%, rgba(255, 253, 245, 0.2) 57%);
  animation: kingdomZone 2.2s ease-in-out infinite;
}

.bottom-panel {
  min-height: 134px;
  display: grid;
  grid-template-columns: minmax(320px, 0.98fr) minmax(210px, 0.58fr) minmax(280px, 0.88fr) minmax(260px, 0.8fr);
  gap: 14px;
  padding: 14px;
}

.meter-panel {
  display: grid;
  align-content: start;
  gap: 12px;
}

.meter-row {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 10px;
  align-items: center;
  font-weight: 900;
}

.meter {
  height: 18px;
  border: 2px solid var(--ink);
  background: linear-gradient(90deg, var(--left-gang) 0 50%, var(--right-gang) 50% 100%);
  overflow: hidden;
}

.meter i {
  display: block;
  width: 50%;
  height: 100%;
  margin-left: 50%;
  background: rgba(255, 253, 245, 0.82);
  transform-origin: left center;
}

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

.move-feed {
  min-height: 34px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
}

.move-feed span {
  min-width: 0;
  border: 2px solid var(--ink);
  background: #d7ff3f;
  padding: 5px 7px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 0.76rem;
  font-weight: 900;
}

.move-feed b {
  margin-right: 6px;
  font-weight: 1000;
}

.stat {
  min-height: 56px;
  border: 2px solid var(--ink);
  background: #fffdf5;
  padding: 7px 8px;
}

.challenge-stat {
  grid-column: 1 / -1;
  background:
    linear-gradient(90deg, rgba(215, 255, 63, 0.8), rgba(255, 253, 245, 0.98)),
    #fffdf5;
}

.stat span {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.stat strong {
  display: block;
  margin-top: 2px;
  font-size: 1rem;
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.root-panel {
  display: grid;
  align-content: start;
  gap: 10px;
}

.root-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-weight: 950;
}

.root-head span {
  color: var(--muted);
  font-size: 0.75rem;
  text-transform: uppercase;
}

.root-head strong {
  text-align: right;
  line-height: 1.05;
}

.root-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

.root-actions button.active {
  background: #d7ff3f;
}

.root-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.root-card {
  min-height: 86px;
  border: 2px solid var(--ink);
  background: #fffdf5;
  padding: 7px 8px;
}

.root-card b,
.root-card span {
  display: block;
}

.root-card b {
  font-size: 0.9rem;
  line-height: 1.05;
}

.root-card span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.scout-panel {
  display: grid;
  align-content: start;
  gap: 9px;
}

.scout-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-weight: 950;
}

.scout-head span {
  color: var(--muted);
  font-size: 0.75rem;
  text-transform: uppercase;
}

.scout-head strong {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  text-align: right;
}

.scout-card {
  min-height: 88px;
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 9px;
  align-items: center;
  border: 2px solid var(--ink);
  background: #fffdf5;
  padding: 8px;
}

.scout-card img {
  width: 52px;
  height: 52px;
  image-rendering: pixelated;
}

.scout-card b,
.scout-card span {
  display: block;
}

.scout-card b {
  font-size: 0.86rem;
  line-height: 1.05;
}

.scout-card span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
}

.roster-list {
  max-height: 122px;
  overflow: auto;
  display: grid;
  gap: 6px;
  padding-right: 4px;
}

.roster-list button {
  min-height: 42px;
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 6px;
  align-items: center;
  box-shadow: none;
  padding: 5px 7px;
  text-align: left;
}

.roster-list button.active {
  background: #d7ff3f;
}

.roster-list b,
.roster-list span {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.roster-list span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 850;
}

.battle-log {
  max-height: 116px;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-right: 6px;
}

.battle-log p {
  margin: 0;
  border-left: 8px solid var(--gold);
  background: #fffdf5;
  padding: 7px 9px;
  font-size: 0.9rem;
  font-weight: 750;
}

@keyframes pop {
  0% {
    opacity: 0;
    transform: translateY(4px) scale(0.8);
  }
  18% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(-32px) scale(1);
  }
}

@keyframes spark {
  from {
    opacity: 1;
    scale: 0.4;
  }
  to {
    opacity: 0;
    scale: 1.9;
  }
}

@keyframes fieldPulse {
  0%,
  100% {
    filter: saturate(1);
  }
  42% {
    filter: saturate(1.55) brightness(1.08);
  }
}

@keyframes koPulse {
  0%,
  100% {
    box-shadow: 0 18px 50px rgba(21, 22, 26, 0.18);
  }
  38% {
    box-shadow: inset 0 0 0 10px rgba(215, 255, 63, 0.75), 0 18px 50px rgba(21, 22, 26, 0.18);
  }
}

@keyframes finalPulse {
  0%,
  100% {
    filter: saturate(1);
  }
  20%,
  62% {
    filter: saturate(1.7) brightness(1.15);
  }
}

@keyframes ampPulse {
  0%,
  100% {
    filter: saturate(1);
  }
  46% {
    filter: saturate(1.9) brightness(1.12) hue-rotate(12deg);
  }
}

@keyframes ampZone {
  0%,
  100% {
    opacity: 0.7;
    scale: 0.98;
  }
  50% {
    opacity: 0.96;
    scale: 1.04;
  }
}

@keyframes crownPulse {
  0%,
  100% {
    filter: saturate(1);
  }
  48% {
    filter: saturate(1.7) brightness(1.16);
  }
}

@keyframes crownZone {
  0%,
  100% {
    opacity: 0.76;
    scale: 0.98;
  }
  50% {
    opacity: 1;
    scale: 1.05;
  }
}

@keyframes lavaPulse {
  50% {
    filter: saturate(1.45) brightness(1.08);
  }
}

@keyframes cloudPulse {
  50% {
    filter: brightness(1.16) saturate(0.9);
  }
}

@keyframes trashPulse {
  50% {
    filter: contrast(1.18) saturate(1.2);
  }
}

@keyframes fogPulse {
  50% {
    filter: brightness(1.06) blur(0.6px);
  }
}

@keyframes kingdomPulse {
  50% {
    filter: saturate(1.45) brightness(1.1) contrast(1.08);
  }
}

@keyframes lavaZone {
  50% {
    transform: scale(1.03);
  }
}

@keyframes cloudZone {
  50% {
    transform: translateY(-5px);
  }
}

@keyframes trashZone {
  50% {
    transform: rotate(1deg);
  }
}

@keyframes kingdomZone {
  50% {
    opacity: 0.9;
    transform: scale(1.05);
  }
}

body.tv-mode {
  overflow: hidden;
  color: #fffdf5;
  background: #050308;
}

body.mobile-mode {
  overflow: hidden;
  background: #050308;
}

.mobile-mode .battle-shell {
  width: 100vw;
  height: 100dvh;
  min-height: 100dvh;
  padding: 0;
  gap: 0;
  grid-template-rows: auto minmax(0, 1fr) auto;
  background: #050308;
}

.mobile-mode .tv-cast-overlay,
.mobile-mode .league-panel,
.mobile-mode .watch-now,
.mobile-mode .season-scope,
.mobile-mode .watch-kit,
.mobile-mode .recap-studio {
  display: none;
}

.mobile-mode .topbar {
  grid-row: 1;
  grid-template-columns: minmax(72px, 0.9fr) minmax(0, 1.25fr) minmax(72px, 0.9fr);
  gap: 6px;
  padding: 7px;
  border: 0;
  border-bottom: 3px solid var(--ink);
  background: #fffdf5;
  box-shadow: none;
}

.mobile-mode .gang-card {
  min-height: 72px;
  padding: 6px;
  box-shadow: none;
}

.mobile-mode .gang-card span,
.mobile-mode .gang-card strong {
  font-size: 0.86rem;
  line-height: 1;
}

.mobile-mode .brand-kit,
.mobile-mode .minor,
.mobile-mode .source-badge,
.mobile-mode .rivalry-badge,
.mobile-mode #simDayButton,
.mobile-mode #autoNextButton,
.mobile-mode #guideButton,
.mobile-mode .control-link,
.mobile-mode .speed-group {
  display: none;
}

.mobile-mode .match-core {
  min-width: 0;
  padding: 6px;
  box-shadow: none;
}

.mobile-mode .match-core h1 {
  margin: 0 0 6px;
  font-size: clamp(1.05rem, 6vw, 1.65rem);
  line-height: 0.95;
}

.mobile-mode .controls {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
}

.mobile-mode button {
  min-height: 36px;
  box-shadow: none;
  font-size: 0.78rem;
}

.mobile-mode .field-wrap {
  grid-row: 2;
  min-height: 0;
  border: 0;
  box-shadow: none;
}

.mobile-mode .field {
  min-height: 0;
  height: 100%;
  border: 0;
  border-radius: 0;
}

.mobile-mode .challenge-ribbon {
  top: 8px;
  max-width: calc(100vw - 20px);
  font-size: 0.7rem;
}

.mobile-mode .flag {
  top: 42px;
  min-width: 42px;
  min-height: 32px;
}

.mobile-mode .weather {
  display: none;
}

.mobile-mode .noun {
  width: clamp(30px, 8vw, 42px);
  height: clamp(30px, 8vw, 42px);
}

.mobile-mode .bottom-panel {
  grid-row: 3;
  grid-template-columns: 1fr;
  gap: 7px;
  max-height: 31dvh;
  overflow: auto;
  padding: 8px;
  border: 0;
  border-top: 3px solid var(--ink);
  background: #fffdf5;
  box-shadow: none;
}

.mobile-mode .root-panel,
.mobile-mode .scout-panel {
  display: none;
}

.mobile-mode .meter-panel {
  gap: 7px;
}

.mobile-mode .move-feed,
.mobile-mode .stat-strip {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.mobile-mode .move-feed p,
.mobile-mode .battle-log p,
.mobile-mode .stat {
  font-size: 0.78rem;
}

.mobile-mode .battle-log {
  max-height: 88px;
}

.tv-mode .battle-shell {
  width: 100vw;
  height: 100vh;
  min-height: 100vh;
  padding: 0;
  gap: 0;
  grid-template-rows: 282px 112px minmax(0, 1fr);
}

.tv-mode .league-panel,
.tv-mode .watch-now,
.tv-mode .season-scope,
.tv-mode .watch-kit,
.tv-mode .recap-studio,
.tv-mode .bottom-panel {
  display: none;
}

.tv-mode .tv-cast-overlay {
  position: relative;
  z-index: 40;
  display: grid;
  grid-template-rows: 36px 78px 62px 30px 34px;
  gap: 6px;
  padding: 10px 28px 8px;
  background:
    linear-gradient(90deg, var(--left-gang), transparent 32%, transparent 68%, var(--right-gang)),
    #050308;
  border-bottom: 4px solid #fffdf5;
}

.tv-cast-top,
.tv-scoreboard,
.tv-review-strip,
.tv-director-row,
.tv-lower {
  min-width: 0;
  display: grid;
  align-items: center;
}

.tv-cast-top {
  grid-template-columns: 1fr auto;
  gap: 16px;
}

.tv-cast-top strong,
.tv-onair,
.tv-clock,
.tv-team span,
.tv-match span,
.tv-match em,
.tv-path,
.tv-qr span,
.tv-cast-hint {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.tv-onair {
  display: inline-block;
  margin-right: 12px;
  padding: 4px 8px;
  background: #d7ff3f;
  color: #050308;
  font-size: 0.82rem;
  font-weight: 1000;
}

.tv-cast-top strong {
  font-size: clamp(1.15rem, 2.1vw, 2rem);
  font-weight: 1000;
}

.tv-clock {
  font-size: clamp(1.3rem, 2.4vw, 2.3rem);
  font-weight: 1000;
}

.tv-scoreboard {
  grid-template-columns: minmax(180px, 0.72fr) minmax(360px, 1.6fr) minmax(180px, 0.72fr);
  gap: 12px;
}

.tv-team,
.tv-match {
  min-width: 0;
  height: 100%;
  border: 3px solid #fffdf5;
  background: rgba(255, 253, 245, 0.95);
  color: #15161a;
}

.tv-team {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 8px 12px;
}

.tv-team-left {
  border-left: 16px solid var(--left-gang);
}

.tv-team-right {
  border-right: 16px solid var(--right-gang);
}

.tv-team span {
  font-size: clamp(1rem, 1.8vw, 1.7rem);
  font-weight: 1000;
}

.tv-team strong {
  font-size: clamp(3rem, 5.8vw, 6rem);
  line-height: 0.78;
}

.tv-match {
  display: grid;
  place-items: center;
  padding: 8px 18px;
  text-align: center;
}

.tv-match span,
.tv-match em {
  color: #64675f;
  font-size: clamp(0.86rem, 1.3vw, 1.18rem);
  font-style: normal;
  font-weight: 950;
  text-transform: uppercase;
}

.tv-match strong {
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: clamp(1.7rem, 3.8vw, 4rem);
  line-height: 0.95;
}

.tv-lower {
  grid-template-columns: 1fr auto;
  gap: 14px;
}

.tv-review-strip {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.tv-director-row {
  grid-template-columns: minmax(230px, 0.52fr) minmax(0, 1fr);
  gap: 10px;
}

.tv-review-strip div {
  min-width: 0;
  height: 100%;
  border: 2px solid rgba(255, 253, 245, 0.84);
  background: rgba(255, 253, 245, 0.12);
  padding: 6px 10px;
}

.tv-review-strip .tv-bowl-card {
  background:
    linear-gradient(90deg, rgba(245, 200, 75, 0.24), rgba(215, 255, 63, 0.16)),
    rgba(255, 253, 245, 0.12);
}

.tv-bowl-card[data-phase="near"],
.tv-bowl-card[data-phase="playoffs"],
.tv-bowl-card[data-phase="final"] {
  border-color: #f5c84b;
  box-shadow: inset 0 0 0 2px rgba(215, 255, 63, 0.36);
}

.tv-bowl-card[data-phase="final"] {
  background:
    linear-gradient(90deg, rgba(215, 255, 63, 0.3), rgba(245, 200, 75, 0.3)),
    rgba(255, 253, 245, 0.14);
}

.tv-director-row strong,
.tv-director-row span {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  border: 2px solid rgba(255, 253, 245, 0.76);
  padding: 5px 10px;
  font-size: clamp(0.76rem, 1.1vw, 1.05rem);
  font-weight: 1000;
  text-transform: uppercase;
}

.tv-director-row strong {
  background: #d7ff3f;
  color: #050308;
}

.tv-director-row span {
  background: rgba(255, 253, 245, 0.12);
  color: #fffdf5;
}

.tv-review-strip span,
.tv-review-strip strong {
  display: block;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.tv-review-strip span {
  color: #d7ff3f;
  font-size: 0.62rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.tv-review-strip strong {
  margin-top: 3px;
  color: #fffdf5;
  font-size: clamp(0.84rem, 1.22vw, 1.18rem);
  line-height: 1.02;
}

.tv-bowl-card[data-phase="near"] span,
.tv-bowl-card[data-phase="playoffs"] span,
.tv-bowl-card[data-phase="final"] span,
.tv-bowl-card[data-phase="champion"] span {
  color: #f5c84b;
}

.tv-path {
  align-self: stretch;
  display: grid;
  align-items: center;
  min-width: 0;
  border: 2px solid rgba(255, 253, 245, 0.8);
  background: rgba(255, 253, 245, 0.1);
  padding: 6px 10px;
  font-weight: 950;
}

.tv-qr {
  position: absolute;
  right: 24px;
  bottom: -152px;
  width: 126px;
  display: grid;
  justify-items: center;
  gap: 4px;
  padding: 8px;
  border: 3px solid #15161a;
  background: #fffdf5;
  color: #15161a;
  box-shadow: 5px 5px 0 rgba(21, 22, 26, 0.72);
}

.tv-qr img {
  width: 104px;
  height: 104px;
  image-rendering: pixelated;
}

.tv-qr span {
  max-width: 100%;
  font-size: 0.58rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.tv-cast-hint {
  position: absolute;
  left: 50%;
  bottom: -37px;
  translate: -50% 0;
  max-width: min(720px, calc(100vw - 320px));
  padding: 6px 12px;
  border: 2px solid #fffdf5;
  background: #050308;
  color: #fffdf5;
  font-size: 0.78rem;
  font-weight: 950;
  transition: background 160ms ease, color 160ms ease;
}

.tv-cast-hint.flash {
  background: #d7ff3f;
  color: #050308;
}

.tv-interstitial {
  display: none;
}

.watch-guide {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(21, 22, 26, 0.72);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.watch-guide[hidden] {
  display: none;
}

.watch-guide.show {
  opacity: 1;
  pointer-events: auto;
}

.guide-panel {
  width: min(980px, 100%);
  border: 4px solid var(--ink);
  background: #fffdf5;
  color: var(--ink);
  box-shadow: 10px 10px 0 rgba(21, 22, 26, 0.86);
  padding: 18px;
  display: grid;
  gap: 14px;
}

.guide-copy {
  display: grid;
  gap: 6px;
}

.guide-copy span {
  width: fit-content;
  max-width: 100%;
  border: 2px solid var(--ink);
  background: #d7ff3f;
  padding: 4px 8px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 0.76rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.guide-copy strong {
  font-size: clamp(2rem, 6vw, 4.8rem);
  line-height: 0.9;
  letter-spacing: 0;
}

.guide-copy p {
  margin: 0;
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.26rem);
  font-weight: 850;
  line-height: 1.26;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.guide-step {
  min-width: 0;
  min-height: 170px;
  border: 3px solid var(--ink);
  background: var(--panel);
  padding: 10px;
  display: grid;
  align-content: start;
  gap: 7px;
}

.guide-step span {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.guide-step strong {
  font-size: 1.2rem;
  line-height: 1;
}

.guide-step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.28;
}

.guide-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.guide-actions button:first-child {
  background: #d7ff3f;
}

.tv-mode .tv-interstitial.show {
  position: fixed;
  left: 28px;
  right: 28px;
  bottom: 34px;
  z-index: 36;
  min-height: 210px;
  display: grid;
  grid-template-columns: minmax(360px, 0.84fr) minmax(380px, 1.16fr);
  gap: 18px;
  align-items: stretch;
  padding: 18px;
  border: 4px solid #fffdf5;
  background:
    linear-gradient(90deg, rgba(5, 3, 8, 0.98), rgba(21, 22, 26, 0.88)),
    #050308;
  color: #fffdf5;
  box-shadow: 8px 8px 0 rgba(215, 255, 63, 0.72);
  pointer-events: none;
}

.tv-mode .tv-interstitial.show.field-guide {
  box-shadow: 8px 8px 0 rgba(245, 200, 75, 0.75);
}

.tv-mode .tv-interstitial.show.commissioner-guide {
  box-shadow: 8px 8px 0 rgba(54, 119, 224, 0.78);
}

.tv-mode .tv-interstitial.show.commissioner-guide .tv-interstitial-copy span {
  background: #f5c84b;
}

.tv-mode .tv-interstitial.show.challenge-guide {
  box-shadow: 8px 8px 0 rgba(215, 255, 63, 0.78);
}

.tv-interstitial-copy {
  min-width: 0;
  display: grid;
  align-content: center;
  gap: 8px;
}

.tv-interstitial-copy span,
.tv-interstitial-copy em {
  font-family: var(--font-mono, ui-monospace, monospace);
  font-style: normal;
  font-weight: 1000;
  text-transform: uppercase;
}

.tv-interstitial-copy span {
  width: fit-content;
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  padding: 4px 8px;
  background: #d7ff3f;
  color: #050308;
  font-size: clamp(0.72rem, 1.05vw, 1rem);
}

.tv-interstitial-copy strong {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: clamp(1.8rem, 4vw, 4.8rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.tv-interstitial-copy p {
  margin: 0;
  max-width: 820px;
  font-size: clamp(1rem, 1.75vw, 1.45rem);
  font-weight: 850;
  line-height: 1.2;
}

.tv-interstitial-copy em {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: #f5c84b;
  font-size: clamp(0.78rem, 1.1vw, 1rem);
}

.tv-interstitial-nouns {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(8, minmax(54px, 1fr));
  align-items: end;
  gap: 8px;
  padding: 8px;
  border: 2px solid rgba(255, 253, 245, 0.7);
  background:
    linear-gradient(180deg, rgba(255, 253, 245, 0.08), rgba(255, 253, 245, 0.18));
}

.tv-interstitial-nouns figure {
  min-width: 0;
  margin: 0;
  display: grid;
  justify-items: center;
  gap: 5px;
}

.tv-interstitial-nouns img {
  width: clamp(48px, 5.3vw, 96px);
  height: clamp(48px, 5.3vw, 96px);
  image-rendering: pixelated;
  border: 3px solid var(--team);
  background: #fffdf5;
  box-shadow: 4px 4px 0 rgba(21, 22, 26, 0.78);
}

.tv-interstitial-nouns figcaption {
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  padding: 2px 5px;
  background: var(--team);
  color: #fffdf5;
  font-size: clamp(0.58rem, 0.8vw, 0.76rem);
  font-weight: 1000;
}

.tv-mode .topbar {
  padding: 18px 28px 10px;
  background: #050308;
  grid-template-columns: minmax(210px, 0.82fr) minmax(320px, 1.05fr) minmax(210px, 0.82fr);
}

.tv-mode .match-core,
.tv-mode .gang-card {
  color: #15161a;
  box-shadow: none;
}

.tv-mode .match-core {
  padding: 10px 14px;
}

.tv-mode .minor,
.tv-mode .controls {
  display: none;
}

.tv-mode h1 {
  margin: 0 0 7px;
  font-size: clamp(1.35rem, 2.6vw, 2.8rem);
}

.tv-mode .source-badge {
  margin: 0;
  background: #d7ff3f;
}

.tv-mode .rivalry-badge {
  margin: 6px 0 0;
  border-color: #15161a;
  background: #fffdf5;
  color: #15161a;
}

.tv-mode .field-wrap,
.tv-mode .field {
  min-height: 0;
  height: 100%;
}

.tv-mode .field {
  border-width: 6px 0 0;
  box-shadow: none;
}

.tv-mode .field.boss-field {
  box-shadow: inset 0 0 0 8px rgba(245, 200, 75, 0.68), inset 0 0 62px rgba(5, 3, 8, 0.24);
}

.tv-mode .field.challenge-won {
  box-shadow: inset 0 0 0 8px rgba(215, 255, 63, 0.78);
}

.tv-mode .challenge-ribbon {
  top: 16px;
  max-width: min(920px, calc(100% - 320px));
  padding: 8px 14px;
  border-color: #050308;
  background: #d7ff3f;
  color: #050308;
  box-shadow: 5px 5px 0 rgba(5, 3, 8, 0.72);
  font-size: clamp(0.9rem, 1.5vw, 1.35rem);
}

.tv-mode .field.boss-field .challenge-ribbon {
  background: #f5c84b;
  box-shadow: 5px 5px 0 rgba(5, 3, 8, 0.72), inset 0 0 0 3px rgba(215, 255, 63, 0.56);
}

.tv-mode .field.camera-iso .noun:not(.director-target),
.tv-mode .field.camera-replay .noun:not(.director-target) {
  opacity: 0.58;
}

.tv-mode .field.camera-scrum {
  filter: saturate(1.16) contrast(1.05);
}

.tv-mode .field.camera-replay {
  box-shadow: inset 0 0 0 8px #d7ff3f;
}

.tv-mode .noun {
  width: clamp(38px, 3.8vw, 56px);
  height: clamp(38px, 3.8vw, 56px);
}

.tv-mode .hit-pop {
  font-size: 1rem;
}

.tv-mode .toast {
  top: auto;
  bottom: 36px;
  max-width: min(880px, calc(100% - 56px));
  padding: 14px 20px;
  border-width: 4px;
  color: #15161a;
  font-size: clamp(1.3rem, 3.2vw, 3rem);
  box-shadow: 6px 6px 0 #15161a;
}

@media (max-width: 900px) {
  .tv-mode .battle-shell {
    grid-template-rows: 238px 108px minmax(0, 1fr);
  }

  .tv-mode .tv-cast-overlay {
    padding-inline: 12px;
  }

  .tv-mode .tv-scoreboard,
  .tv-mode .tv-review-strip,
  .tv-mode .topbar {
    grid-template-columns: 1fr 1.1fr 1fr;
    gap: 7px;
  }

  .tv-mode .tv-review-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .tv-mode .tv-qr {
    display: none;
  }

  .tv-mode .tv-cast-hint {
    max-width: calc(100vw - 24px);
  }

  .tv-mode .challenge-ribbon {
    max-width: calc(100vw - 28px);
  }

  .tv-mode .tv-interstitial.show {
    left: 14px;
    right: 14px;
    bottom: 16px;
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .tv-interstitial-nouns {
    grid-template-columns: repeat(4, minmax(54px, 1fr));
  }

  .guide-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 840px) {
  .battle-shell {
    grid-template-rows: auto auto auto auto minmax(520px, 1fr) auto;
  }

  .league-head,
  .watch-now,
  .bracket,
  .topbar,
  .bottom-panel {
    grid-template-columns: 1fr;
  }

  .standings {
    grid-template-columns: 1fr;
  }

  .season-scope-head {
    display: grid;
    gap: 4px;
  }

  .watch-now-grid {
    grid-template-columns: 1fr;
  }

  .season-scope-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .watch-kit-head,
  .watch-kit-grid {
    grid-template-columns: 1fr;
  }

  .watch-kit-head {
    display: grid;
    align-items: stretch;
  }

  .watch-kit output {
    max-width: 100%;
  }

  .watch-kit-plays {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .watch-kit-storyline {
    grid-template-columns: 1fr;
  }

  .watch-kit-desk-card {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .recap-studio-head,
  .recap-card {
    display: grid;
    grid-template-columns: 1fr;
  }

  .recap-studio output {
    max-width: 100%;
  }

  .recap-card {
    padding: 12px;
  }

  .recap-card-stats {
    grid-template-columns: 1fr;
  }

  .recap-card-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gang-card {
    min-height: 78px;
  }

  .field,
  .field-wrap {
    min-height: 520px;
  }

  .challenge-ribbon {
    max-width: calc(100% - 28px);
  }

  .noun {
    width: 35px;
    height: 35px;
  }

  .stat-strip,
  .move-feed {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .guide-panel {
    max-height: calc(100vh - 28px);
    overflow: auto;
  }

  .guide-grid {
    grid-template-columns: 1fr;
  }
}
