:root {
  --bg: #070a16;
  --bg-2: #101833;
  --panel: rgba(13, 19, 40, 0.92);
  --panel-strong: #111a38;
  --panel-soft: rgba(255, 255, 255, 0.07);
  --text: #f8fbff;
  --muted: #aab7d4;
  --line: rgba(255, 255, 255, 0.15);
  --cyan: #42e8ff;
  --blue: #4d7cff;
  --pink: #ff4fd8;
  --amber: #ffcf5c;
  --mint: #62f5a8;
  --danger: #ff5274;
  --team1-color: #42e8ff;
  --team2-color: #ff4fd8;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
  --glow-blue: 0 0 34px rgba(66, 232, 255, 0.28);
  --glow-pink: 0 0 34px rgba(255, 79, 216, 0.26);
  --font-title: "Avenir Next Condensed", "Arial Black", Impact, Haettenschweiler, sans-serif;
  --font-body: "Trebuchet MS", Verdana, system-ui, sans-serif;
  --font-display: "Arial Black", "Avenir Next", "Trebuchet MS", sans-serif;
  font-family: var(--font-body);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 50% -12%, rgba(77, 124, 255, 0.42), transparent 32rem),
    radial-gradient(circle at 12% 18%, rgba(255, 79, 216, 0.18), transparent 24rem),
    radial-gradient(circle at 88% 18%, rgba(66, 232, 255, 0.18), transparent 26rem),
    linear-gradient(145deg, #060815 0%, #101833 52%, #080b18 100%);
  overflow-x: hidden;
}

body::before,
body::after {
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  content: "";
}

body::before {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 86%);
}

body::after {
  background:
    linear-gradient(90deg, transparent 0 6%, rgba(66, 232, 255, 0.08) 6% 6.25%, transparent 6.25% 93.75%, rgba(255, 79, 216, 0.08) 93.75% 94%, transparent 94%),
    repeating-linear-gradient(135deg, transparent 0 26px, rgba(255, 255, 255, 0.028) 26px 28px);
  opacity: 0.55;
}

.screen-glow {
  position: fixed;
  inset: 3vh 3vw;
  z-index: -2;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  box-shadow:
    inset 0 0 90px rgba(66, 232, 255, 0.06),
    0 0 120px rgba(77, 124, 255, 0.16);
  pointer-events: none;
}

button,
input,
select {
  font: inherit;
}

button,
.hub-link,
.plain-link,
.tv-link-button {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.06));
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

button:hover,
.hub-link:hover,
.plain-link:hover,
.tv-link-button:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.42);
  filter: brightness(1.08);
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.56;
  transform: none;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
}

.top-bar,
.game-shell {
  width: min(1500px, calc(100vw - 3rem));
  margin-inline: auto;
}

.top-bar {
  display: grid;
  grid-template-columns: minmax(120px, 0.7fr) minmax(330px, 1.8fr) minmax(150px, 0.7fr);
  gap: 1rem;
  align-items: center;
  padding-top: 1rem;
}

.hub-link,
.plain-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1rem;
  text-decoration: none;
}

.title-block {
  text-align: center;
}

.kicker,
.subtitle,
.helper-copy,
.sync-note,
.target-label,
.target-note,
.mode-badge,
.team-label,
.winner-eyebrow,
.section-heading span,
.team-metrics span,
.score-explanation,
label,
table {
  letter-spacing: 0;
}

.kicker {
  margin: 0 0 0.25rem;
  color: var(--cyan);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 0.2rem;
  font-family: var(--font-title);
  font-size: clamp(2.55rem, 5.5vw, 6rem);
  font-weight: 1000;
  line-height: 0.86;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  text-wrap: balance;
  transform: skewX(-4deg);
  text-shadow:
    0.05em 0.055em 0 rgba(255, 79, 216, 0.48),
    -0.035em -0.025em 0 rgba(66, 232, 255, 0.42),
    0 0 28px rgba(66, 232, 255, 0.35);
}

.subtitle {
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(0.95rem, 1.4vw, 1.08rem);
  font-weight: 700;
}

.top-actions {
  display: grid;
  gap: 0.7rem;
  justify-self: end;
  width: min(210px, 100%);
}

.host-toggle,
.tv-link-button {
  padding: 0.8rem 1rem;
  font-weight: 900;
}

.host-toggle {
  border-color: rgba(255, 79, 216, 0.42);
  box-shadow: var(--glow-pink);
}

.tv-link-button {
  border-color: rgba(66, 232, 255, 0.48);
  box-shadow: var(--glow-blue);
}

.game-shell {
  margin-top: 1.1rem;
  margin-bottom: 2rem;
}

.hero-scoreboard {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.45rem;
  align-items: stretch;
}

.round-chip,
.winner-stage,
.history-section,
.team-card,
.target-card,
.host-panel-inner {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(19, 29, 62, 0.94), rgba(8, 12, 28, 0.94));
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.round-chip {
  display: flex;
  align-self: stretch;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 34px;
  min-height: 34px;
  padding: 0.25rem 0.8rem;
  border-radius: 8px;
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 1.45vw, 1.35rem);
  font-weight: 1000;
  line-height: 0.95;
  text-align: center;
  text-transform: uppercase;
}

.round-chip {
  color: var(--amber);
  border-color: rgba(255, 207, 92, 0.36);
}

.target-card {
  position: relative;
  align-self: stretch;
  min-height: 146px;
  padding: 1rem;
  border-radius: 8px;
  overflow: hidden;
  text-align: center;
}

.target-card::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 207, 92, 0.32), transparent 18rem),
    linear-gradient(90deg, rgba(66, 232, 255, 0.18), rgba(255, 79, 216, 0.18));
}

.target-card::after {
  position: absolute;
  inset: auto 1rem 0.8rem;
  height: 4px;
  border-radius: 999px;
  content: "";
  background: linear-gradient(90deg, var(--team1-color), var(--team2-color), var(--amber));
  box-shadow: 0 0 22px rgba(66, 232, 255, 0.38);
}

.target-card > * {
  position: relative;
}

.target-label,
.target-note {
  display: block;
  color: var(--muted);
  font-weight: 900;
  text-transform: uppercase;
}

.mode-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  margin-bottom: 0.35rem;
  padding: 0.35rem 0.85rem;
  border: 1px solid rgba(66, 232, 255, 0.46);
  border-radius: 999px;
  color: var(--cyan);
  background: rgba(66, 232, 255, 0.1);
  font-size: 0.78rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.target-number {
  display: block;
  margin: 0.05rem 0 0.2rem;
  font-family: var(--font-display);
  font-size: clamp(5.8rem, 11vw, 12rem);
  font-weight: 1000;
  line-height: 0.82;
  letter-spacing: -0.04em;
  text-shadow:
    0 0 12px rgba(255, 255, 255, 0.6),
    0 0 44px rgba(66, 232, 255, 0.44);
}

.target-number.pulse {
  animation: targetPulse 520ms ease both;
}

.teams-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.team-card {
  position: relative;
  min-height: 400px;
  padding: clamp(1rem, 2vw, 1.45rem);
  border-radius: 8px;
  overflow: hidden;
}

.team-card::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: 0.62;
}

.team-one {
  border-left: 8px solid var(--team1-color);
}

.team-one::before {
  background: linear-gradient(135deg, color-mix(in srgb, var(--team1-color) 24%, transparent), transparent 40%);
}

.team-two {
  border-left: 8px solid var(--team2-color);
}

.team-two::before {
  background: linear-gradient(135deg, color-mix(in srgb, var(--team2-color) 24%, transparent), transparent 40%);
}

.team-card > * {
  position: relative;
}

.team-card.closest {
  border-color: rgba(98, 245, 168, 0.85);
  box-shadow: 0 0 36px rgba(98, 245, 168, 0.18), var(--shadow);
}

.team-card.exact {
  border-color: rgba(255, 207, 92, 0.9);
  animation: perfectFlash 900ms ease both;
}

.team-card-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: start;
}

.team-label {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.team-one .team-label,
.team-one .film-title {
  color: var(--team1-color);
}

.team-two .team-label,
.team-two .film-title {
  color: var(--team2-color);
}

.team-card h2 {
  margin-bottom: 0;
  min-width: 0;
  overflow-wrap: anywhere;
  font-family: var(--font-title);
  font-size: clamp(2rem, 4vw, 4.2rem);
  font-weight: 1000;
  line-height: 0.95;
  text-transform: uppercase;
}

.team-one h2 {
  color: var(--team1-color);
}

.team-two h2 {
  color: var(--team2-color);
}

.weekend-score {
  min-width: 122px;
  padding: 0.72rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--amber);
  background: rgba(0, 0, 0, 0.26);
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 2.1rem);
  font-weight: 1000;
  text-align: center;
}

.film-list {
  display: grid;
  gap: 0.72rem;
  margin: 1.15rem 0;
  padding: 0;
  list-style: none;
}

.film-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 92px;
  gap: 0.75rem;
  align-items: center;
  min-height: 70px;
  padding: 0.9rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
}

.film-row.revealed-score {
  border-color: rgba(98, 245, 168, 0.5);
  background: linear-gradient(90deg, rgba(98, 245, 168, 0.16), rgba(255, 255, 255, 0.07));
  animation: scoreRevealPop 520ms ease both;
}

.film-title {
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: clamp(1.15rem, 2vw, 2rem);
  font-weight: 900;
  line-height: 1.08;
}

.rt-score {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  border-radius: 8px;
  color: #071126;
  background: var(--mint);
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 1000;
  box-shadow: 0 0 22px rgba(98, 245, 168, 0.28);
}

.rt-score.hidden-score {
  color: var(--text);
  background: rgba(255, 255, 255, 0.09);
  box-shadow: inset 0 0 0 1px var(--line);
}

.team-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.team-metrics div {
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.22);
  text-align: center;
}

.team-metrics span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.team-metrics strong {
  display: block;
  margin-top: 0.2rem;
  font-size: clamp(1.65rem, 3.25vw, 3.8rem);
  font-weight: 1000;
  line-height: 0.9;
}

.score-explanation {
  margin-top: 0.75rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(0, 0, 0, 0.22);
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.35;
}

.team-card.closest .score-explanation {
  border-color: rgba(98, 245, 168, 0.44);
  color: #dfffea;
}

.perfect-badge {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  display: none;
  padding: 0.55rem 0.85rem;
  border: 1px solid var(--amber);
  border-radius: 999px;
  color: #111826;
  background: var(--amber);
  font-weight: 1000;
  text-transform: uppercase;
  box-shadow: 0 0 28px rgba(255, 207, 92, 0.42);
}

.perfect-badge.show {
  display: block;
  animation: badgePop 640ms ease both;
}

.winner-stage {
  margin-top: 1rem;
  padding: 0.65rem 1rem;
  border-radius: 8px;
  text-align: center;
}

.winner-eyebrow {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 1000;
  text-transform: uppercase;
}

#winnerText {
  display: block;
  font-family: var(--font-title);
  font-size: clamp(1.45rem, 3.6vw, 3.8rem);
  font-weight: 1000;
  line-height: 0.92;
  text-transform: uppercase;
}

.history-section {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 8px;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
}

.section-heading h2 {
  margin-bottom: 0.7rem;
  font-size: 2rem;
  text-transform: uppercase;
}

.history-table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  min-width: 1050px;
  border-collapse: collapse;
  font-size: 0.88rem;
}

th,
td {
  padding: 0.65rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--cyan);
  text-transform: uppercase;
}

.host-panel {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 20;
  width: min(540px, 100vw);
  height: 100vh;
  transform: translateX(105%);
  transition: transform 220ms ease;
}

.host-panel.open {
  transform: translateX(0);
}

.host-panel-inner {
  height: 100%;
  padding: 1rem;
  overflow-y: auto;
  border-radius: 0;
  border-right: 0;
}

.panel-backdrop {
  position: fixed;
  inset: 0;
  z-index: 15;
  background: rgba(0, 0, 0, 0.64);
}

.host-header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: start;
}

.host-header h2 {
  margin-bottom: 0;
  font-family: var(--font-title);
  font-size: 2.4rem;
  text-transform: uppercase;
}

.icon-button {
  width: 48px;
  min-height: 48px;
  font-size: 2rem;
  line-height: 1;
}

.control-section {
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.control-section h3 {
  margin-bottom: 0.8rem;
  color: var(--cyan);
  font-family: var(--font-display);
  font-size: 1.35rem;
  text-transform: uppercase;
}

.control-section h4 {
  margin-bottom: 0.5rem;
  font-size: 0.88rem;
  text-transform: uppercase;
}

.helper-copy,
.sync-note {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.sync-note {
  margin: 0.8rem 0 0;
  color: var(--amber);
}

.input-grid,
.film-inputs,
.score-inputs,
.score-controls,
.button-row {
  display: grid;
  gap: 0.7rem;
}

.two-col,
.score-controls {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

label {
  display: grid;
  gap: 0.3rem;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.team-name-field.team-one-name {
  color: var(--team1-color);
}

.team-name-field.team-two-name {
  color: var(--team2-color);
}

input,
select {
  width: 100%;
  min-height: 46px;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  background: rgba(0, 0, 0, 0.3);
}

input[type="color"] {
  min-height: 48px;
  padding: 0.25rem;
}

select {
  appearance: none;
  background:
    linear-gradient(45deg, transparent 50%, var(--amber) 50%) calc(100% - 18px) 50% / 7px 7px no-repeat,
    linear-gradient(135deg, var(--amber) 50%, transparent 50%) calc(100% - 13px) 50% / 7px 7px no-repeat,
    rgba(0, 0, 0, 0.3);
}

.team-input-block + .team-input-block,
.score-inputs {
  margin-top: 0.8rem;
}

.button-row {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.button-row button {
  padding: 0.65rem 0.5rem;
}

.stacked-actions {
  grid-template-columns: 1fr;
  margin-top: 0.8rem;
}

.save-team-settings {
  width: 100%;
  margin-top: 0.8rem;
}

.primary-action {
  border-color: rgba(255, 79, 216, 0.56);
  background: linear-gradient(180deg, #ff4fd8, #7d4dff);
  box-shadow: var(--glow-pink);
  font-weight: 1000;
}

.danger-button {
  width: 100%;
  margin-top: 0.7rem;
  border-color: rgba(255, 82, 116, 0.72);
  color: white;
  background: rgba(255, 82, 116, 0.26);
}

.target-control-readout {
  margin-bottom: 0.7rem;
  padding: 0.7rem;
  border-radius: 8px;
  color: var(--amber);
  background: rgba(0, 0, 0, 0.28);
  font-weight: 900;
}

.error-box {
  margin-top: 1rem;
  padding: 0.8rem;
  border: 1px solid rgba(255, 82, 116, 0.72);
  border-radius: 8px;
  color: #ffe7ee;
  background: rgba(255, 82, 116, 0.15);
}

.danger-zone .plain-link {
  width: 100%;
}

body.tv-display-mode {
  min-height: 100vh;
  overflow: hidden;
}

body.tv-display-mode .top-actions,
body.tv-display-mode .hub-link,
body.tv-display-mode .host-panel,
body.tv-display-mode .panel-backdrop,
body.tv-display-mode .history-section,
body.tv-display-mode .target-note,
body.tv-display-mode .mode-badge,
body.tv-display-mode .score-explanation,
body.tv-display-mode .winner-eyebrow,
body.tv-display-mode .perfect-badge {
  display: none;
}

body.tv-display-mode .screen-glow {
  inset: 1.2vh 1.2vw;
  border-radius: 14px;
}

body.tv-display-mode .top-bar {
  grid-template-columns: 1fr;
  width: min(96vw, 1760px);
  padding-top: 0.65rem;
}

body.tv-display-mode h1 {
  font-size: clamp(3.1rem, 5vw, 6rem);
}

body.tv-display-mode .kicker,
body.tv-display-mode .subtitle {
  font-size: clamp(0.9rem, 1.15vw, 1.25rem);
}

body.tv-display-mode .game-shell {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  width: min(96vw, 1760px);
  height: calc(100vh - 7.7rem);
  margin-top: 0.65rem;
  margin-bottom: 0;
}

body.tv-display-mode .hero-scoreboard {
  grid-template-columns: minmax(0, 1fr);
  gap: 0.42rem;
}

body.tv-display-mode .round-chip {
  height: 32px;
  min-height: 32px;
  font-size: clamp(0.9rem, 1.3vw, 1.3rem);
}

body.tv-display-mode .target-card {
  min-height: 116px;
  padding: 0.65rem 1rem 1rem;
}

body.tv-display-mode .target-label {
  font-size: clamp(1rem, 1.25vw, 1.45rem);
}

body.tv-display-mode .target-number {
  font-size: clamp(5rem, 8vw, 9.5rem);
}

body.tv-display-mode .teams-grid {
  min-height: 0;
  gap: 0.75rem;
  margin-top: 0.6rem;
}

body.tv-display-mode .team-card {
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 0.85rem;
  overflow: hidden;
}

body.tv-display-mode .team-card h2 {
  font-size: clamp(2.55rem, 4.1vw, 5.1rem);
}

body.tv-display-mode .weekend-score {
  min-width: 126px;
  padding: 0.55rem 0.7rem;
  font-size: clamp(1.55rem, 2.25vw, 3rem);
}

body.tv-display-mode .film-list {
  flex: 1;
  align-content: stretch;
  gap: 0.5rem;
  margin: 0.75rem 0 0;
}

body.tv-display-mode .film-row {
  min-height: clamp(56px, 7.4vh, 78px);
  grid-template-columns: minmax(0, 1fr) minmax(96px, 0.22fr);
  padding: 0.65rem 0.75rem;
}

body.tv-display-mode .film-title {
  font-size: clamp(1.55rem, 2.35vw, 3rem);
  text-transform: uppercase;
}

body.tv-display-mode .rt-score {
  min-height: 52px;
  font-size: clamp(1.55rem, 2.35vw, 3rem);
}

body.tv-display-mode .team-metrics {
  display: none;
}

body.tv-display-mode .winner-stage {
  align-self: end;
  margin-top: 0.55rem;
  padding: 0.38rem 0.75rem 0.48rem;
}

body.tv-display-mode #winnerText {
  font-size: clamp(1.45rem, 2.9vw, 3.5rem);
  line-height: 0.9;
}

@keyframes targetPulse {
  0% {
    transform: scale(0.9);
    filter: brightness(0.72);
  }
  60% {
    transform: scale(1.06);
    filter: brightness(1.32);
  }
  100% {
    transform: scale(1);
    filter: brightness(1);
  }
}

@keyframes perfectFlash {
  0%,
  100% {
    transform: translateY(0);
  }
  45% {
    transform: translateY(-5px);
  }
}

@keyframes badgePop {
  0% {
    transform: scale(0.4) rotate(-8deg);
    opacity: 0;
  }
  100% {
    transform: scale(1) rotate(0);
    opacity: 1;
  }
}

@keyframes scoreRevealPop {
  0% {
    transform: translateY(8px);
    filter: brightness(0.72);
  }
  60% {
    transform: translateY(-2px);
    filter: brightness(1.24);
  }
  100% {
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .top-bar,
  .hero-scoreboard,
  .teams-grid {
    grid-template-columns: 1fr;
  }

  .top-bar {
    text-align: center;
  }

  .hub-link,
  .top-actions {
    justify-self: stretch;
  }

  .top-actions {
    width: 100%;
  }

  .round-chip {
    min-height: 82px;
  }
}

@media (max-width: 620px) {
  .game-shell,
  .top-bar {
    width: min(100vw - 1rem, 1500px);
  }

  .team-card-header,
  .team-metrics,
  .two-col,
  .score-controls {
    grid-template-columns: 1fr;
  }

  .film-row {
    grid-template-columns: 1fr;
  }

  .rt-score {
    width: 92px;
  }
}
