:root {
  --neon: #00ffff;
  --bg: rgba(0, 0, 0, 0.7);
  --bg2: rgba(0, 0, 0, 0.85);
  --text: #ffffff;
  --home: #ffffff;
  /* accent for Home (default white) */
  --away: #ffffff;
  /* accent for Away (default white) */
  --home-primary: transparent;
  /* primary color for home team background */
  --away-primary: transparent;
  /* primary color for away team background */
  --home-glow: rgba(255, 255, 255, 0.9);
  /* glow color for home team logo and text */
  --away-glow: rgba(255, 255, 255, 0.9);
  /* glow color for away team logo and text */
}

body {
  margin: 0;
  background: transparent;
  font-family: "Share Tech", system-ui, Segoe UI, Roboto, Arial;
}

/* ====== BASE BUG STRUCTURE ====== */
.scorebug {
  position: absolute;
  display: flex;
  align-items: center;
  color: var(--text);
  padding: 15px 24px;
  border-radius: 21px;
}

.team-section {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  border-radius: 8px;
  transition: background-color 0.3s ease, min-height 0.3s ease;
  min-height: 60px; /* Base height */
}

/* Class to expand team sections when status is active */
.team-section.has-status {
  min-height: 80px; /* Expanded height for status indicators */
}

#teamSectionA {
  background-color: var(--home-primary);
}

#teamSectionB {
  background-color: var(--away-primary);
}

.team {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Remove individual background colors since they're now on the section level */
#teamA {
  background-color: transparent;
}

#teamB {
  background-color: transparent;
}

/* Remove individual score background colors since they're now on the section level */
.score.home {
  background-color: transparent;
  padding: 0;
  border-radius: 0;
  transition: none;
}

.score.away {
  background-color: transparent;
  padding: 0;
  border-radius: 0;
  transition: none;
}

.team img {
  width: 60px;
  height: 60px;
  filter: drop-shadow(0 0 12px var(--home-glow));
}

#teamA img {
  filter: drop-shadow(0 0 12px var(--home-glow));
}

#teamB img {
  filter: drop-shadow(0 0 12px var(--away-glow));
}

.team-name {
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  font-size: 36px; /* Larger size when no status indicators */
  transition: font-size 0.3s ease;
}

/* Smaller font size when status indicators are present */
.team-section.has-status .team-name {
  font-size: 28px; /* Original size when status indicators are shown */
}

/* Team-specific text colors */
#teamA .team-name,
#teamA .team-info {
  color: var(--home-text-color, var(--home-glow));
}

#teamB .team-name,
#teamB .team-info {
  color: var(--away-text-color, var(--away-glow));
}

#introNameA,
#introNameB,
#finalNameA,
#finalNameB,
#rostTeam,
#schedTeam {
  text-transform: uppercase;
}

.score {
  font-size: 55px;
  font-weight: 900;
  margin: 0 12px;
}

/* Score colors matching their respective team glow */
#scoreA {
  color: var(--home-glow);
}

#scoreB {
  color: var(--away-glow);
}

.period {
  font-size: 35px;
  text-transform: uppercase;
  opacity: 0.9;
}

.clock {
  font-family: "DSEG7 Classic Regular", "DSEG7 Classic", "DSEG7-Classic", "DSEG7", "DS-Digital", Consolas, "Courier New", monospace !important;
  font-size: 32px;
  text-transform: uppercase;
  color: #00ff00;
  background-color: #000000;
  width: 120px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  font-weight: normal;
  padding: 6px 12px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

#toggleClock {
  transform: scale(1.3);
  margin-right: 6px;
}

.dashToggle {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}

.dashToggleBtn {
  flex: 1;
  padding: 6px 10px;
  border-radius: 20px;
  border: 1px solid var(--neon);
  background: transparent;
  color: var(--text);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
}

.dashToggleBtn.active {
  background: rgba(0, 255, 255, 0.18);
}


/* Team info container for name and status */
.team-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end; /* Push content to bottom by default */
  flex: 1; /* Take up available space */
  transition: justify-content 0.3s ease;
}

/* When status indicators are present, move team name to top */
.team-section.has-status .team-info {
  justify-content: flex-start; /* Move to top when status indicators are shown */
}

/* Ensure team names don't shift when status indicators appear */
.team-name {
  line-height: 1; /* Prevent line height from affecting positioning */
  margin: 0; /* Remove any default margins */
}

/* Team status indicators (Power Play, Empty Net) */
.team-status {
  font-size: 10px;
  font-weight: bold;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  margin-top: 4px;
  min-height: 0; /* No reserved space by default */
  transition: min-height 0.3s ease;
}

/* Reserve space when status indicators are active */
.team-section.has-status .team-status {
  min-height: 16px; /* Reserve space only when status indicators are present */
}

.power-play,
.empty-net {
  padding: 4px 10px;
  border-radius: 14px;
  font-size: 12px; /* Increased from 10px */
  font-weight: 900; /* Made bolder */
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-shadow: none;
  display: inline-block;
  transition: background-color 0.3s ease, color 0.3s ease;
  /* Default styling - JavaScript will override based on team text color */
  background-color: white;
  color: black;
}

/* Fallback styling removed - JavaScript handles all status indicator colors */

/* Bottom corner logos (always visible, slightly dimmed) */
.corner-logo {
  position: absolute;
  bottom: 25px;
  filter: drop-shadow(0 4px 7px rgba(0, 0, 0, 0.8));
}

.corner-logo.bl {
  left: 25px;
}

.corner-logo.br {
  right: 25px;
}

.corner-logo img {
  height: 125px; /* Increased from 100px for better visibility */
  width: auto;
  display: block;
}

/* ====== THEME: PILL-LEFT (default) ====== */
.pill-left {
  top: 20px;
  left: 20px;
  background: var(--bg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 15px 24px;
  gap: 18px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

.pill-left .divider {
  width: 3px;
  height: 60px;
  background: #3f3f3f;
  border-radius: 3px;
}

.pill-left .score.home {
  color: var(--home-glow);
}

.pill-left .score.away {
  color: var(--away-glow);
}

/* ====== THEME: BAR-TOP ====== */
.bar-top {
  top: 0;
  left: 0;
  right: 0;
  justify-content: center;
  background: linear-gradient(90deg, var(--bg2), rgba(0, 0, 0, 0.3));
  padding: 12px 20px;
  gap: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.bar-top .team img {
  width: 48px;
  height: 48px;
}

.bar-top .score {
  font-size: 58px;
}

/* ====== THEME: LOWER-THIRD ====== */
.lower-third {
  left: 50%;
  transform: translateX(-50%);
  bottom: 40px;
  background: var(--bg);
  padding: 18px 27px;
  border-radius: 22px;
  gap: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.lower-third .team img {
  width: 66px;
  height: 66px;
}

.lower-third .score {
  font-size: 62px;
}

/* ====== THEME: COMPACT ====== */
.compact {
  top: 20px;
  right: 20px;
  background: var(--bg2);
  padding: 9px 15px;
  border-radius: 15px;
  gap: 15px;
}

.compact .team img {
  display: none;
}

.compact .team-name {
  font-weight: 700;
  font-size: 23px;
}

.compact .score {
  font-size: 43px;
}

/* ====== DASHBOARD (combined PAD + SETUP) ====== */
.dash {
  position: fixed;
  inset: 0;
  display: none;
  background: #0b0f13;
  color: #e8f6f6;
}

.dash.show {
  display: grid;
  grid-template-rows: auto 1fr;
}

.topbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-bottom: 1px solid #172028;
}

.topbar h1 {
  margin: 0;
  font-size: 16px;
  color: var(--neon);
  text-shadow: 0 0 8px var(--neon);
}

.tabs {
  margin-left: auto;
  display: flex;
  gap: 6px;
}

.tab {
  padding: 6px 10px;
  border: 1px solid #24404a;
  background: #111f24;
  border-radius: 10px;
  cursor: pointer;
  color: #dff;
  font-size: 12px;
}

.tab.active {
  border-color: var(--neon);
  box-shadow: 0 0 12px rgba(0, 255, 255, 0.2);
}

.dashGrid {
  grid-template-columns: 1fr;
  gap: 12px;
  padding: 12px;
}

.dash-scroll {
  height: 100%;
  overflow-y: auto;
  padding-right: 18px;
}

.card {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid #23323a;
  border-radius: 12px;
  padding: 10px;
  display: flex;
  flex-direction: column;
}

.card.team {
  overflow: visible;
}

.card h2 {
  margin: 0 0 8px 0;
  font-size: 12px;
  color: #bfeff0;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.card.setup h2,
.card.team h2 {
  margin-top: 12px;
}

/* Big score pad area */
.padWrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  flex: 1;
}

.padCol {
  display: grid;
  grid-template-rows: auto auto auto;
  gap: 8px;
  padding: 10px;
  border: 1px solid #141c24;
  border-radius: 10px;
  background: #0e1419;
}

.padTeam {
  font-size: 18px; /* Increased from 14px */
  font-weight: 800;
  color: #bfeff0;
  text-align: center;
  text-transform: uppercase;
}

.padScore {
  font-size: 56px; /* Increased from 44px */
  font-weight: 900;
  color: #e7ffff;
  text-align: center;
  margin-top: 4px;
}

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

.statusBtns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.statusBtn {
  font-size: 14px;
  padding: 8px 6px;
  border-radius: 8px;
  border: 1px solid #28414a;
  background: #13242a;
  color: #eaffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.status-indicator {
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 12px;
  background: #0f1c21;
  border: 1px solid #28414a;
  color: #888;
}

.status-indicator.on {
  background: var(--neon);
  color: #000;
  font-weight: bold;
  box-shadow: 0 0 8px rgba(0, 255, 255, 0.4);
}

.pad button {
  font-size: 18px;
  padding: 12px 8px;
  border-radius: 10px;
  border: 1px solid #28414a;
  background: #13242a;
  color: #eaffff;
  cursor: pointer;
  margin-top: 8px;
}

.startstopbutton {
  font-size: 18px;
  padding: 12px 8px;
  height: 90px;
  width: 100%;
  border-radius: 10px;
  border: 1px solid #28414a;
  background: #13242a;
  color: #eaffff;
  cursor: pointer;
  margin-top: 8px;
}

.plus {
  border-color: var(--home);
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.2);
}

.minus {
  border-color: #ff8a9f;
  box-shadow: 0 0 12px rgba(255, 66, 113, 0.2);
}

/* Period quick controls */
.perRow {
  display: flex;
  gap: 8px; /* Increased from 6px */
  flex-wrap: wrap;
}

.chip {
  padding: 16px 20px; /* Increased from 12px 16px for more height */
  border: 1px solid #254049;
  background: #0f1418;
  border-radius: 999px;
  cursor: pointer;
  font-size: 18px; /* Increased from 16px */
  font-weight: 700; /* Added for better readability */
  min-width: 60px; /* Changed from 80px */
  text-align: center;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

/* Setup side (smaller fonts, tighter spacing, no scroll needed) */
.row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 8px;
  align-items: center;
  margin: 4px 0;
}

.row.fullwidth {
  display: block;
  width: 100%;
  max-width: 720px;
  margin: 8px 0;
}

.row.fullwidth textarea {
  width: 100%;
  max-width: 100%;
}

.row.top {
  align-items: flex-start;
}

.setup,
.setup *,
.card.team,
.card.team * {
  font-size: 12px;
}

input[type="text"],
input[type="number"],
input[type="url"],
select {
  width: 100%;
  padding: 6px 8px;
  border-radius: 8px;
  border: 1px solid #254049;
  background: #0f1418;
  color: #e6ffff;
}

.logo-picker {
  display: flex;
  align-items: center;
}

.logo-picker select {
  width: 100%;
}

.logo-picker input {
  display: none;
}

.card.team .team-profile-picker {
  display: flex;
  gap: 6px;
  align-items: center;
  width: 100%;
}
.card.team .team-profile-picker select {
  flex: 1;
  min-width: 160px;
}
.card.team .team-profile-picker button {
  min-width: 90px;
}

textarea {
  width: 100%;
  padding: 6px 8px;
  border-radius: 8px;
  border: 1px solid #254049;
  background: #0f1418;
  color: #e6ffff;
  font-family: "Share Tech", system-ui, Segoe UI, Roboto, Arial;
  resize: vertical;
  min-height: 90px;
}

.btns {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 6px;
}

button {
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid #2b4b51;
  background: #112126;
  color: #dff;
  cursor: pointer;
  font-size: 12px;
}

button.primary {
  border-color: var(--neon);
  box-shadow: 0 0 12px rgba(0, 255, 255, 0.25);
}

.swatch {
  display: inline-block;
  width: 16px;
  height: 16px;
  border-radius: 4px;
  border: 1px solid #2b4b51;
  margin-left: 6px;
  vertical-align: middle;
}

.hint {
  font-size: 11px;
  opacity: 0.75;
}

/* === SCENES (full-screen panels for non-scorebug views) === */
.scene {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.scene.show {
  display: flex;
}

.blank-scene {
  background: transparent;
  display: block;
}

/* Hide bottom corner logos in blank scene mode */
body.blank-mode .corner-logo {
  display: none;
}

.panel {
  background: var(--bg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 36px 44px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.5);
  max-width: 1280px;
  width: min(95%, 1280px);
}

.panel h1 {
  margin: 0 0 14px 0;
  font-size: 54px;
  letter-spacing: 0.6px;
}

.panel h2 {
  margin: 10px 0 20px 0;
  font-size: 28px;
  opacity: 0.9;
}

.level-text {
  margin: 6px 0 0;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  text-align: center;
  color: rgba(255, 255, 255, 0.85);
}

.meta-block {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
  text-align: center;
  color: rgba(223, 255, 255, 0.9);
}

.meta-division,
.meta-line,
.meta-location {
  font-size: 26px;
  letter-spacing: 0.4px;
}

.meta-division {
  font-weight: 700;
  text-transform: uppercase;
}

.matchup-line {
  display: grid;
  grid-template-columns: 45% 10% 45%;
  align-items: center;
  justify-items: center;
  gap: 12px;
  margin: 10px 0 0;
  text-align: center;
  width: 80%;
  max-width: 1024px;
  margin-left: auto;
  margin-right: auto;
}

.team-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex: 1 1 260px;
  min-width: 220px;
  max-width: 320px;
}

.team-stack img {
  height: 250px;
  width: auto;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.45));
}

.team-stack h1 {
  margin: 0;
  font-size: 54px;
  letter-spacing: 0.8px;
}

.team-stack img + h1 {
  margin-top: 12px;
}

.team-level {
  font-size: 22px;
  letter-spacing: 0.4px;
  font-weight: 700;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
}

.vs-divider {
  font-size: 54px;
  letter-spacing: 0.8px;
  font-weight: 800;
  text-transform: uppercase;
  align-self: center;
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}

.panel .logos {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  justify-items: center;
  gap: 36px;
  margin: 12px 0 24px;
  max-width: 1280px;
}

.panel .logos img {
  height: 190px;
  width: auto;
  filter: drop-shadow(0 6px 24px rgba(0, 0, 0, 0.5));
}

/* White glow for logos on roster and schedule scenes */
#scene-roster .panel img,
#scene-schedule .panel img {
  height: 100px;
  width: auto;
  filter: drop-shadow(0 6px 24px rgba(255, 255, 255, 0.8));
}

.split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 28px;
}

#rostTable {
  width: 80%;
  margin: 0 auto;
}

#schedTable {
  width: 90%;
  margin: 0 auto;
}

#rostTeam {
  display: block;
  text-align: center;
  width: 100%;
}

#rostTeamLogo {
  height: 1em;
  width: auto;
  margin-right: 12px;
  vertical-align: middle;
}

#schedTeam {
  display: block;
  text-align: center;
  width: 100%;
}

#schedTeamLogo {
  height: 1em;
  width: auto;
  margin-right: 12px;
  vertical-align: middle;
}

.table th,
.table td {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 12px 14px;
}

.intermission-score-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.bigScore {
  font-size: 96px;
  font-weight: 900;
  letter-spacing: 1.2px;
  transition: font-size 0.3s ease;
}

.intermissionClock {
  font-family: "DSEG7 Classic Regular", "DSEG7 Classic", "DSEG7-Classic", "DSEG7", "DS-Digital", Consolas, "Courier New", monospace !important;
  font-size: 42px;
  line-height: 1;
  font-weight: normal;
  color: #00ff00;
  background-color: #000000;
  border-radius: 6px;
  padding: 8px 14px;
  min-width: 120px;
  text-align: center;
}

/* Smaller font size for double-digit scores to prevent line breaks */
.bigScore.double-digits {
  font-size: 72px; /* Reduced from 96px for better fit */
}

.scene-table {
  width: 80%;
  max-width: 1024px;
  border-collapse: collapse;
  margin: 20px auto;
}

.scene-table td {
  text-align: center;
  vertical-align: middle;
  padding: 0;
}

.team-column {
  width: 40%;
}

.score-column,
.vs-column {
  width: 15%;
}

.logo-row td {
  padding-bottom: 20px;
}

.logo-row .team-column img {
  height: 250px;
  width: auto;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.45));
}

.name-row .team-column h1 {
  margin: 0;
  font-size: 54px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  white-space: normal;
  line-height: 1.1;
}

.name-row .team-column .team-level {
  font-size: 22px;
  letter-spacing: 0.4px;
  font-weight: 700;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 4px;
}

.vs-column .vs-divider {
  font-size: 54px;
  letter-spacing: 0.8px;
  font-weight: 800;
  text-transform: uppercase;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.center {
  text-align: center;
}

.muted {
  opacity: 0.8;
}

/* Button grid for scenes in dashboard */
.sceneGrid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Go Live button styling */
.go-live-btn {
  width: 100%;
  box-sizing: border-box; /* Ensure padding is included in width calculation */
}

/* Two column layout for other scene buttons */
.scene-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.scene-column-left,
.scene-column-right {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sceneBtn {
  padding: 10px;
  border: 1px solid #24404a;
  background: #102027;
  border-radius: 12px;
  cursor: pointer;
  text-align: center;
  font-weight: 700;
  position: relative;
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.sceneBtn.active {
  border-color: var(--neon);
  box-shadow: 0 0 18px rgba(0, 255, 255, 0.35),
    inset 0 0 0 999px rgba(0, 255, 255, 0.08);
  background: rgba(0, 255, 255, 0.12);
  color: var(--neon);
  transform: translateY(-1px);
}

.sceneBtn.active::after {
  content: "LIVE";
  position: absolute;
  top: 6px;
  right: 8px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: #021014;
  background: rgba(0, 255, 255, 0.65);
  padding: 2px 6px;
  border-radius: 999px;
  box-shadow: 0 0 6px rgba(0, 255, 255, 0.45);
}

.setup .row label,
.card.team .row label {
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.setup input,
.setup select,
.setup textarea,
.card.team input,
.card.team select,
.card.team textarea {
  font-size: 14px;
  padding: 10px 12px;
  border-radius: 10px;
}

.setup .btns button,
.card.team .btns button {
  min-width: 120px;
}

.setup .btns,
.card.team .btns {
  margin-left: calc(110px + 8px);
  align-self: flex-start;
}

.card.team .btns.fullwidth {
  margin-left: 0;
  width: 100%;
  max-width: 720px;
}

.setup .hint,
.card.team .hint {
  margin-left: calc(110px + 8px);
  display: block;
}

.card.team .hint.fullwidth {
  margin-left: 0;
  width: 100%;
  max-width: 720px;
}

@media (max-width: 860px) {
  .dash {
    grid-template-rows: auto auto 1fr;
  }

  .dashGrid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    overflow-y: auto;
    padding: 12px 10px;
  }

  .card {
    padding: 14px;
  }

  .card.pad {
    order: 2;
  }

  .card.setup {
    order: 1;
  }

  .row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .row label {
    margin-bottom: 2px;
  }

  .btns {
    flex-direction: column;
    align-items: stretch;
  }

  .btns button {
    width: 100%;
  }

  .setup .btns,
  .card.team .btns {
    margin-left: 0;
    align-self: stretch;
  }

  .setup .hint,
  .card.team .hint {
    margin-left: 0;
  }

  .matchup-line {
    flex-direction: column;
    gap: 12px;
  }

  .team-stack h1 {
    font-size: 44px;
  }

  .team-stack img + h1 {
    margin-top: 10px;
  }

  .team-stack img {
    height: 120px;
  }

  .team-level {
    font-size: 18px;
  }

  .vs-divider {
    font-size: 44px;
    letter-spacing: 0.6px;
    font-weight: 800;
    margin-bottom: 4px;
  }

  .meta-block {
    margin-top: 18px;
    gap: 5px;
  }

  .meta-division,
  .meta-line,
  .meta-location {
    font-size: 20px;
  }

  .team-stack {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    flex: 1 1 auto;
  }

  .row.fullwidth,
  .card.team .btns.fullwidth,
  .card.team .hint.fullwidth {
    width: 100%;
    max-width: 100%;
  }

  .row.fullwidth textarea {
    width: 100%;
    max-width: 100%;
  }

  textarea {
    min-height: 120px;
  }

  .scene-columns {
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }

  .scene-column-left,
  .scene-column-right {
    gap: 6px;
  }

  .sceneBtn {
    padding: 8px;
    font-size: 12px;
  }
}

.thumb-section {
  margin: 16px 0;
  display: flex;
  justify-content: flex-start;
}

.thumb-section button {
  min-width: 180px;
}

.chip.active {
  border-color: var(--neon);
  box-shadow: 0 0 14px rgba(0, 255, 255, 0.35);
  background: rgba(0, 255, 255, 0.18);
  color: var(--neon);
}
