* {
  box-sizing: border-box;
}

html {
  font-feature-settings: "tnum" 1;
  scrollbar-width: thin;
  scrollbar-color: #19f28d #03050a;
}

body {
  --match-accent: #19f28d;
  background:
    radial-gradient(circle at 50% -20%, rgba(255, 52, 127, 0.05), transparent 30%),
    radial-gradient(circle at 82% 4%, rgba(25, 242, 141, 0.04), transparent 22%),
    linear-gradient(180deg, #03050a 0%, #010205 72%);
  font-feature-settings: "tnum" 1;
  transition: background 280ms ease;
}

body.matchday-theme {
  background:
    radial-gradient(circle at 50% -14%, color-mix(in srgb, var(--match-accent) 18%, transparent), transparent 34%),
    radial-gradient(circle at 88% 8%, color-mix(in srgb, var(--match-accent) 10%, transparent), transparent 26%),
    linear-gradient(180deg, color-mix(in srgb, var(--match-accent) 14%, #02040a 86%) 0%, #010205 72%);
}

@supports not (color: color-mix(in srgb, #fff 50%, #000 50%)) {
  body.matchday-theme {
    background:
      radial-gradient(circle at 50% -14%, rgba(25, 242, 141, 0.08), transparent 34%),
      radial-gradient(circle at 88% 8%, rgba(25, 242, 141, 0.05), transparent 26%),
      linear-gradient(180deg, #04100b 0%, #010205 72%);
  }
}

button {
  font: inherit;
  cursor: pointer;
  border: 0;
  border-radius: 0;
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent),
    #03050a;
}

::-webkit-scrollbar-thumb {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.22), transparent 38%),
    #19f28d;
  box-shadow: inset 0 0 0 2px #03050a;
}

::-webkit-scrollbar-thumb:hover {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.28), transparent 38%),
    #ffb629;
}

::-webkit-scrollbar-corner {
  background: #03050a;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid #19f28d;
  outline-offset: 2px;
}

header button:disabled {
  opacity: 0.38;
  cursor: not-allowed;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

/* ---------- Stadium floodlight wash ---------- */

.stadium-glow {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    conic-gradient(from 200deg at 18% -8%, rgba(34, 200, 255, 0.035), transparent 28%),
    conic-gradient(from 340deg at 84% -6%, rgba(255, 182, 41, 0.035), transparent 26%);
  mix-blend-mode: screen;
}

/* ---------- Tabular score digits ---------- */

.font-display {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
}

.outline-stroke {
  color: transparent;
  -webkit-text-stroke: 1.5px #f7fbff;
  text-stroke: 1.5px #f7fbff;
}

@supports not ((-webkit-text-stroke: 1px) or (text-stroke: 1px)) {
  .outline-stroke {
    color: #f7fbff;
  }
}

@media (min-width: 640px) {
  .outline-stroke {
    -webkit-text-stroke-width: 2px;
    text-stroke-width: 2px;
  }
}

/* ---------- Roulette / slot machine housing ---------- */

.machine {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 44%),
    linear-gradient(180deg, #05070b, #020307 88%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.045),
    inset 0 0 0 1px rgba(255, 255, 255, 0.03),
    0 24px 76px rgba(0, 0, 0, 0.62),
    0 0 0 1px rgba(0, 0, 0, 0.6);
}

.machine-marquee {
  opacity: 0.9;
}

.machine-bulb {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #ffb629;
  box-shadow: 0 0 6px 1px rgba(255, 182, 41, 0.7);
  animation: bulb-pulse 1.8s ease-in-out infinite;
}

.machine-bulb:last-child {
  animation-delay: 0.9s;
}

@keyframes bulb-pulse {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 1; }
}

.roulette {
  border-radius: 0;
  box-shadow:
    inset 0 18px 24px rgba(0, 0, 0, 0.82),
    inset 0 -18px 24px rgba(0, 0, 0, 0.82),
    inset 0 0 0 1px rgba(255, 255, 255, 0.035);
}

.roulette::before,
.roulette::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 30%;
  z-index: 2;
  pointer-events: none;
}

.roulette::before {
  top: 0;
  background: linear-gradient(180deg, #000104, transparent);
}

.roulette::after {
  bottom: 0;
  background: linear-gradient(0deg, #000104, transparent);
}

/* Payline: the fixed marker the winning tile sits behind, like a slot machine window */
.payline {
  position: absolute;
  left: 18px;
  right: 18px;
  top: 50%;
  height: 1px;
  z-index: 3;
  pointer-events: none;
  opacity: 0.46;
  background: linear-gradient(90deg, transparent, rgba(25, 242, 141, 0.42) 20%, rgba(25, 242, 141, 0.42) 80%, transparent);
  box-shadow: 0 0 12px rgba(25, 242, 141, 0.16);
  transform: translateY(-1px);
}

.payline::before,
.payline::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 0;
  height: 0;
  border-top: 3px solid transparent;
  border-bottom: 3px solid transparent;
  transform: translateY(-50%);
}

.payline::before {
  left: 0;
  border-left: 4px solid rgba(25, 242, 141, 0.72);
}

.payline::after {
  right: 0;
  border-right: 4px solid rgba(25, 242, 141, 0.72);
}

.roulette-track {
  justify-self: stretch;
  align-self: start;
  width: 100%;
  margin-top: calc(80px - 26px);
  transform: translateY(0);
  transition: transform 980ms cubic-bezier(0.16, 0.9, 0.2, 1);
}

.roulette-track.is-spinning span {
  filter: blur(0.6px);
}

.roulette-track span {
  width: 100%;
  height: 52px;
  display: grid;
  place-items: center;
  padding: 0 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.005)),
    #020408;
  color: #f7fbff;
  font-family: "Bebas Neue", "Inter Tight", Arial, sans-serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  box-shadow:
    inset 0 3px 0 rgba(255, 255, 255, 0.055),
    inset 0 -10px 22px rgba(0, 0, 0, 0.38),
    inset 1px 0 0 rgba(0, 0, 0, 0.5),
    inset -1px 0 0 rgba(0, 0, 0, 0.5);
  white-space: nowrap;
}

.roulette-season {
  max-width: 100%;
}

.roulette-season .roulette-track span {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.006)),
    #080a0f;
  color: #d7dde8;
}

.roulette-team .roulette-track span {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.02)),
    var(--team-color);
  color: #fff;
  font-size: 15px;
  letter-spacing: -0.03em;
  text-shadow: 0 1px 9px rgba(0, 0, 0, 0.72);
}

@supports (color: color-mix(in srgb, #fff 50%, #000 50%)) {
  .roulette-team .roulette-track span {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.02)),
      linear-gradient(90deg, var(--team-color), color-mix(in srgb, var(--team-color) 56%, #000 44%));
  }
}

/* ---------- Roll button: jackpot pull ---------- */

.roll-btn {
  background: linear-gradient(115deg, #ff347f 0%, #ffb629 52%, #19f28d 100%);
  box-shadow:
    0 12px 34px rgba(255, 52, 127, 0.22),
    inset 0 2px 0 rgba(255, 255, 255, 0.35),
    inset 0 -3px 0 rgba(0, 0, 0, 0.18);
  transition: transform 120ms ease, box-shadow 120ms ease, filter 120ms ease;
}

.roll-btn:not(:disabled):hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.roll-btn:not(:disabled):active {
  transform: translateY(1px) scale(0.99);
  box-shadow:
    0 6px 18px rgba(255, 52, 127, 0.2),
    inset 0 2px 0 rgba(255, 255, 255, 0.25),
    inset 0 -2px 0 rgba(0, 0, 0, 0.18);
}

/* ---------- Stat tiles ---------- */

.stat-tile {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.014), transparent 60%),
    #05070b;
  padding: 12px;
  text-align: center;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.026);
}

.stat-label {
  display: block;
  font-family: "Inter Tight", Arial, sans-serif;
  font-style: italic;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #8fa1b7;
}

.stat-value {
  display: block;
  margin-top: 2px;
  font-family: "Bebas Neue", "Inter Tight", Arial, sans-serif;
  font-style: normal;
  font-size: 34px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.03em;
}

.cheatbar {
  width: min(100%, 420px);
  align-self: center;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.004)),
    #03050a;
  box-shadow: inset 3px 0 0 rgba(154, 108, 255, 0.55);
}

.cheatbar span {
  color: #8fa1b7;
  font-family: "Inter Tight", Arial, sans-serif;
  font-size: 10px;
  font-style: italic;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.cheatbar input {
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #f7fbff;
  font-family: "Inter Tight", Arial, sans-serif;
  font-size: 13px;
  font-style: italic;
  font-weight: 800;
}

.cheatbar input::placeholder {
  color: rgba(143, 161, 183, 0.55);
}

.role-choice {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 6px 10px;
  background:
    linear-gradient(180deg, var(--role-glow, rgba(255, 255, 255, 0.06)), rgba(255, 255, 255, 0.01)),
    #060910;
  color: #f7fbff;
  box-shadow: inset 3px 0 0 var(--role-accent, rgba(255, 255, 255, 0.18));
}

.role-choice[data-role="opener"] {
  --role-accent: #22c8ff;
  --role-glow: rgba(34, 200, 255, 0.13);
}

.role-choice[data-role="middle"] {
  --role-accent: #9a6cff;
  --role-glow: rgba(154, 108, 255, 0.13);
}

.role-choice[data-role="finisher"] {
  --role-accent: #ff347f;
  --role-glow: rgba(255, 52, 127, 0.13);
}

.role-choice[data-role="strike"] {
  --role-accent: #ffb629;
  --role-glow: rgba(255, 182, 41, 0.13);
}

.role-choice[data-role="middleBowler"] {
  --role-accent: #19f28d;
  --role-glow: rgba(25, 242, 141, 0.13);
}

/* ---------- Auction ---------- */

.auction-panel {
  min-height: 540px;
  padding: 4px 0 0;
  background: transparent;
  box-shadow: none;
}

body[data-auction-state="rival"] .auction-panel {
  background: transparent;
  box-shadow: none;
}

body[data-auction-state="user"] .auction-panel,
body[data-auction-state="won"] .auction-panel {
  background: transparent;
  box-shadow: none;
}

body[data-auction-state="won"] .auction-panel {
  background: transparent;
  box-shadow: none;
}

.auction-topline,
.auction-controls {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  font-family: "Inter Tight", Arial, sans-serif;
  font-size: 12px;
  font-style: italic;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #8fa1b7;
}

.auction-topline {
  margin-bottom: 12px;
}

.purse-strip {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 14px;
  padding: 4px 0 10px;
  background: transparent;
  box-shadow: inset 0 -2px 0 rgba(25, 242, 141, 0.42);
}

.purse-strip span {
  color: #8fa1b7;
  font-family: "Inter Tight", Arial, sans-serif;
  font-size: 11px;
  font-style: italic;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.purse-strip strong {
  color: #19f28d;
  font-family: "Bebas Neue", "Inter Tight", Arial, sans-serif;
  font-size: 38px;
  font-style: normal;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.03em;
}

#clockStatus {
  color: #19f28d;
  font-family: "Bebas Neue", "Inter Tight", Arial, sans-serif;
  font-size: 30px;
  font-style: normal;
  letter-spacing: 0.04em;
}

body[data-auction-state="rival"] #clockStatus,
body[data-auction-state="rival"] #auctionStatus {
  color: #ff5263;
}

body[data-auction-state="user"] #clockStatus,
body[data-auction-state="user"] #auctionStatus,
body[data-auction-state="won"] #clockStatus,
body[data-auction-state="won"] #auctionStatus {
  color: #19f28d;
}

.auction-stage {
  min-height: 330px;
  display: grid;
  place-items: center;
  perspective: 900px;
}

.auction-card {
  position: relative;
  width: 100%;
  min-height: 300px;
  padding: 28px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.012), rgba(255, 255, 255, 0.002)),
    #05070b;
  box-shadow:
    0 28px 84px rgba(0, 0, 0, 0.32);
  animation: card-deal 360ms cubic-bezier(0.16, 0.9, 0.24, 1) both;
}

.auction-card[data-bidder="sold"] {
  animation:
    card-deal 260ms cubic-bezier(0.16, 0.9, 0.24, 1) both,
    sold-pop 760ms cubic-bezier(0.16, 0.9, 0.24, 1) 80ms both;
}

.auction-card.is-shuffling-out {
  pointer-events: none;
  animation: auction-card-shuffle-out 360ms cubic-bezier(0.55, 0.02, 0.34, 1) both;
}

@keyframes auction-card-shuffle-out {
  0% {
    opacity: 1;
    transform: translateX(0) rotate(0deg) scale(1);
    filter: blur(0);
  }
  42% {
    opacity: 0.92;
    transform: translateX(-18px) rotate(-2.5deg) scale(0.985);
    filter: blur(0.2px);
  }
  100% {
    opacity: 0;
    transform: translateX(115px) rotate(7deg) scale(0.94);
    filter: blur(1.2px);
  }
}

.auction-card[data-bidder="rival"] {
  background:
    linear-gradient(180deg, rgba(255, 82, 99, 0.07), rgba(255, 255, 255, 0.002)),
    #0c0205;
  box-shadow:
    0 28px 90px rgba(255, 52, 99, 0.14);
}

.auction-card[data-bidder="user"],
.auction-card[data-bidder="sold"] {
  background:
    linear-gradient(180deg, rgba(25, 242, 141, 0.07), rgba(255, 255, 255, 0.002)),
    #020c07;
  box-shadow:
    0 28px 90px rgba(25, 242, 141, 0.12);
}

.auction-card[data-bidder="sold"] {
  background:
    linear-gradient(180deg, rgba(255, 241, 118, 0.10), rgba(25, 242, 141, 0.025)),
    #020c07;
  box-shadow:
    0 24px 90px rgba(25, 242, 141, 0.16);
}

@keyframes sold-pop {
  0% {
    transform: scale(1);
    filter: brightness(1);
  }
  38% {
    transform: scale(1.035) rotate(-0.6deg);
    filter: brightness(1.24);
  }
  100% {
    transform: scale(1);
    filter: brightness(1);
  }
}

.auction-card::before,
.auction-card::after {
  content: none;
  position: absolute;
  inset: auto 16px 12px 16px;
  height: 12px;
  z-index: -1;
  background: rgba(255, 255, 255, 0.045);
  transform: translateY(14px) scale(0.96);
}

.auction-card::after {
  transform: translateY(28px) scale(0.92);
  opacity: 0.55;
}

.auction-card-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 12px;
  background: var(--team-accent, #8fa1b7);
}

.auction-card-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: start;
}

.auction-kicker,
.auction-tags {
  font-family: "Inter Tight", Arial, sans-serif;
  font-size: 12px;
  font-style: italic;
  font-weight: 700;
  color: #8fa1b7;
}

.wk-pill,
.captain-pill {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 6px;
  color: #fff;
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.14em;
  vertical-align: 1px;
}

.wk-pill {
  background: #ff347f;
}

.captain-pill {
  background: #ffb629;
  color: #030407;
}

.auction-card h3 {
  margin-top: 5px;
  font-family: "Bebas Neue", "Inter Tight", Arial, sans-serif;
  font-size: clamp(42px, 7vw, 82px);
  font-style: normal;
  font-weight: 400;
  line-height: 0.86;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.auction-rating {
  font-family: "Bebas Neue", "Inter Tight", Arial, sans-serif;
  font-size: clamp(76px, 10vw, 128px);
  font-style: normal;
  font-weight: 400;
  line-height: 0.78;
  letter-spacing: 0.03em;
}

.auction-rating-wrap {
  display: grid;
  justify-items: end;
  gap: 8px;
}

.auction-rating-label {
  padding: 4px 8px;
  background: rgba(255, 255, 255, 0.035);
  color: #8fa1b7;
  font-family: "Inter Tight", Arial, sans-serif;
  font-size: 10px;
  font-style: italic;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.auction-prices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 30px 0 12px;
  padding-top: 14px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.auction-prices span,
.bid-status {
  display: block;
  padding: 0;
  background: transparent;
  color: #8fa1b7;
  font-family: "Inter Tight", Arial, sans-serif;
  font-size: 12px;
  font-style: italic;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

body[data-auction-state="rival"] .bid-status {
  color: #ff5263;
  background: transparent;
  box-shadow: none;
}

body[data-auction-state="user"] .bid-status,
body[data-auction-state="won"] .bid-status {
  color: #19f28d;
  background: transparent;
  box-shadow: none;
}

.auction-prices strong {
  display: block;
  margin-top: 3px;
  color: #f7fbff;
  font-family: "Bebas Neue", "Inter Tight", Arial, sans-serif;
  font-size: 34px;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.03em;
}

.auction-controls {
  grid-template-columns: 96px 96px minmax(0, 1fr) 120px;
  margin-top: 14px;
}

.skip-btn,
.bid-btn {
  min-height: 48px;
  padding: 10px 14px;
  font-family: "Inter Tight", Arial, sans-serif;
  font-size: 14px;
  font-style: italic;
  font-weight: 900;
  text-transform: uppercase;
  color: #f7fbff;
  background: #070a10;
  box-shadow: none;
}

.skip-btn:not(:disabled):hover {
  color: #ff347f;
}

.skip-btn.is-active {
  color: #030407;
  background: #22c8ff;
}

.bid-btn {
  color: #030407;
  background: #19f28d;
}

.skip-btn:disabled,
.bid-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.assign-panel {
  min-height: 92px;
  margin-top: 12px;
}

.assign-title {
  margin-bottom: 8px;
  color: #19f28d;
  font-family: "Inter Tight", Arial, sans-serif;
  font-size: 11px;
  font-style: italic;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.assign-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 10px;
}

.assign-grid button {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 0 8px 10px;
  background: transparent;
  color: #f7fbff;
  font-family: "Inter Tight", Arial, sans-serif;
  font-size: 12px;
  font-style: italic;
  font-weight: 850;
  text-align: left;
  box-shadow: inset 3px 0 0 rgba(25, 242, 141, 0.55);
}

.assign-grid button:hover {
  color: #19f28d;
}

.assign-grid strong {
  display: inline-grid;
  grid-template-columns: auto auto;
  align-items: end;
  gap: 4px;
  font-family: "Bebas Neue", "Inter Tight", Arial, sans-serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.03em;
  color: #d7dde8;
}

.assign-grid strong small,
.score-rating small {
  font-family: "Inter Tight", Arial, sans-serif;
  font-size: 8px;
  font-style: italic;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #6f8097;
}

/* ---------- Player card deal-in ---------- */

@keyframes card-deal {
  from {
    opacity: 0;
    transform: translateY(10px) rotateX(8deg) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotateX(0) scale(1);
  }
}

.player-card {
  animation: card-deal 420ms cubic-bezier(0.16, 0.9, 0.24, 1) both;
  animation-delay: var(--deal-delay, 0ms);
  transform-origin: top center;
}

@media (prefers-reduced-motion: reduce) {
  .player-card {
    animation: none;
  }
}

/* ---------- Scorecard ---------- */

.scorecard-panel {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.014), rgba(255, 255, 255, 0.003)),
    rgba(2, 4, 8, 0.78);
  box-shadow:
    inset 1px 0 0 rgba(255, 255, 255, 0.028),
    inset -1px 0 0 rgba(0, 0, 0, 0.5),
    -34px 0 90px rgba(0, 0, 0, 0.28);
}

@media (min-width: 1024px) {
  .scorecard-panel {
    min-height: calc(100vh - 2rem);
  }
}

body:not([data-app-mode="auction"]) #gameShell {
  grid-template-columns: minmax(0, 1fr);
}

body:not([data-app-mode="auction"]) .scorecard-panel {
  display: none;
}

.score-section {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.018), rgba(255, 255, 255, 0.004)), rgba(4, 7, 12, 0.72);
}

.score-heading {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  min-height: 38px;
  padding: 8px 10px;
  font-family: "Inter Tight", Arial, sans-serif;
  font-size: 12px;
  font-style: italic;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.score-heading strong {
  font-family: "Bebas Neue", "Inter Tight", Arial, sans-serif;
  font-style: normal;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.04em;
}

.slots {
  display: grid;
  gap: 1px;
}

.score-row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 56px;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 7px 9px;
  background: linear-gradient(180deg, var(--role-glow, rgba(255, 255, 255, 0.035)), rgba(255, 255, 255, 0.004)), rgba(8, 11, 18, 0.76);
  box-shadow: inset 3px 0 0 var(--role-accent, rgba(255, 255, 255, 0.16));
  animation: row-fill 320ms ease both;
}

.score-row.has-burn {
  grid-template-columns: 34px minmax(0, 1fr) 56px 48px;
}

.burn-contract {
  min-height: 30px;
  padding: 5px 7px;
  color: #ffb629;
  background: rgba(255, 182, 41, 0.08);
  font-family: "Inter Tight", Arial, sans-serif;
  font-size: 10px;
  font-style: italic;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: inset 0 0 0 1px rgba(255, 182, 41, 0.18);
}

.burn-contract:hover {
  color: #030407;
  background: #ffb629;
}

@keyframes row-fill {
  from {
    opacity: 0;
    transform: translateX(-4px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .score-row {
    animation: none;
  }
}

.score-row[data-role="opener"] {
  --role-accent: #22c8ff;
  --role-glow: rgba(34, 200, 255, 0.14);
}

.score-row[data-role="middle"] {
  --role-accent: #9a6cff;
  --role-glow: rgba(154, 108, 255, 0.14);
}

.score-row[data-role="finisher"] {
  --role-accent: #ff347f;
  --role-glow: rgba(255, 52, 127, 0.14);
}

.score-row[data-role="strike"] {
  --role-accent: #ffb629;
  --role-glow: rgba(255, 182, 41, 0.14);
}

.score-row[data-role="middleBowler"] {
  --role-accent: #19f28d;
  --role-glow: rgba(25, 242, 141, 0.14);
}

.score-index {
  color: #8fa1b7;
  font-family: "Inter Tight", Arial, sans-serif;
  font-style: italic;
  font-size: 11px;
  font-weight: 800;
  text-align: center;
}

.score-rating {
  display: grid;
  justify-items: end;
  gap: 2px;
  font-family: "Bebas Neue", "Inter Tight", Arial, sans-serif;
  font-style: normal;
  font-size: 26px;
  font-weight: 400;
  line-height: 1;
  text-align: right;
}

.score-empty {
  min-height: 44px;
  display: grid;
  place-items: center;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.025);
  color: #8fa1b7;
  font-family: "Inter Tight", Arial, sans-serif;
  font-style: italic;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.flex-cover {
  background:
    linear-gradient(180deg, rgba(25, 242, 141, 0.14), rgba(25, 242, 141, 0.03)),
    #122219;
}

.flex-slot {
  color: #19f28d;
  background:
    linear-gradient(180deg, rgba(25, 242, 141, 0.11), rgba(25, 242, 141, 0.025)),
    rgba(255, 255, 255, 0.035);
}

/* ---------- Matchup prep ---------- */

.matchup-prep {
  display: grid;
  gap: 14px;
}

.matchup-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 18px 20px;
  background:
    linear-gradient(90deg, rgba(25, 242, 141, 0.12), transparent 36%),
    linear-gradient(90deg, transparent 62%, color-mix(in srgb, var(--opponent-accent, #ffb629) 10%, transparent)),
    #03050a;
  box-shadow: inset 4px 0 0 #19f28d;
}

.matchup-hero h3 {
  color: #f7fbff;
  font-family: "Bebas Neue", "Inter Tight", Arial, sans-serif;
  font-size: clamp(44px, 7vw, 86px);
  font-weight: 400;
  line-height: 0.86;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.matchup-hero span,
.matchup-board-head span,
.matchup-teams p,
.matchup-teams small {
  color: #8fa1b7;
  font-family: "Inter Tight", Arial, sans-serif;
  font-size: 12px;
  font-style: italic;
  font-weight: 850;
}

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

.matchup-teams article {
  display: grid;
  gap: 7px;
  min-width: 0;
  padding: 13px 14px;
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--team-accent, #19f28d) 16%, transparent), transparent 70%),
    #05070b;
  box-shadow: inset 3px 0 0 var(--team-accent, #19f28d);
}

.matchup-teams article.is-opposition {
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--team-accent) 26%, transparent), transparent 78%),
    #070911;
  box-shadow:
    inset 3px 0 0 var(--team-accent),
    inset 0 -1px 0 color-mix(in srgb, var(--team-accent) 36%, transparent);
}

.matchup-teams strong {
  color: #f7fbff;
  font-family: "Bebas Neue", "Inter Tight", Arial, sans-serif;
  font-size: 30px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.matchup-teams p {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.matchup-teams small {
  display: flex;
  gap: 8px;
  overflow: hidden;
  white-space: nowrap;
}

.matchup-teams small span {
  color: #dbe5f1;
}

.matchup-teams small b {
  color: #ffb629;
}

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

.matchup-board {
  min-width: 0;
  padding: 12px;
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--matchup-accent, #19f28d) 10%, transparent), transparent 68%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent),
    #05070b;
  box-shadow: inset 3px 0 0 var(--matchup-accent, #19f28d);
}

.matchup-board-head {
  display: grid;
  gap: 4px;
  margin-bottom: 10px;
}

.matchup-board-head h4 {
  color: var(--matchup-accent, #19f28d);
  font-family: "Bebas Neue", "Inter Tight", Arial, sans-serif;
  font-size: 34px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.matchup-lane {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 72px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
}

.matchup-column {
  display: grid;
  gap: 6px;
}

.matchup-player {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 38px;
  grid-template-rows: auto auto;
  gap: 3px 8px;
  align-items: center;
  min-height: 52px;
  padding: 8px 9px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.04), transparent 70%),
    #080b12;
  color: #f7fbff;
  text-align: left;
  transition:
    transform 140ms ease,
    background 140ms ease,
    box-shadow 140ms ease;
}

.matchup-player.is-user {
  box-shadow: inset 3px 0 0 color-mix(in srgb, var(--matchup-accent, #19f28d) 45%, transparent);
}

.matchup-player.is-opposition {
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--opponent-accent, #ffb629) 14%, transparent), transparent 76%),
    #090b13;
  box-shadow: inset 3px 0 0 color-mix(in srgb, var(--opponent-accent, #ffb629) 62%, transparent);
}

.matchup-player:hover,
.matchup-player.is-selected {
  transform: translateY(-1px);
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--matchup-accent, #19f28d) 16%, transparent), transparent 70%),
    #0a1018;
  box-shadow: inset 3px 0 0 var(--matchup-accent, #19f28d);
}

.matchup-player.is-active {
  box-shadow:
    inset 3px 0 0 var(--opponent-accent, #ffb629),
    inset 0 0 0 1px color-mix(in srgb, var(--opponent-accent, #ffb629) 24%, transparent);
}

.matchup-player strong {
  overflow: hidden;
  font-family: "Bebas Neue", "Inter Tight", Arial, sans-serif;
  font-size: 22px;
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: 0.03em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.matchup-player span {
  overflow: hidden;
  color: #8fa1b7;
  font-family: "Inter Tight", Arial, sans-serif;
  font-size: 9px;
  font-style: italic;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.matchup-player b {
  grid-row: 1 / span 2;
  grid-column: 2;
  color: #030407;
  background: var(--matchup-accent, #19f28d);
  font-family: "Bebas Neue", "Inter Tight", Arial, sans-serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
  text-align: center;
}

.matchup-player.is-opposition b {
  background: var(--opponent-accent, #ffb629);
}

.matchup-line-wrap {
  position: relative;
  min-height: calc(var(--matchup-rows, 7) * 58px);
}

.matchup-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.matchup-lines path {
  fill: none;
  stroke: var(--matchup-accent, #ffb629);
  stroke-width: 2.8;
  stroke-linecap: square;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 7px color-mix(in srgb, var(--matchup-accent, #ffb629) 45%, transparent));
}

@media (max-width: 1180px) {
  .matchup-grid,
  .matchup-teams,
  .matchup-hero {
    grid-template-columns: 1fr;
  }
}

/* ---------- Season mode ---------- */

.season-hub {
  width: 100%;
  display: grid;
  gap: 18px;
}

.season-reveal {
  width: 100%;
  display: grid;
  gap: 18px;
}

.reveal-hero {
  min-height: 230px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, auto);
  align-content: end;
  align-items: end;
  gap: 20px;
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(255, 182, 41, 0.14), transparent 38%),
    linear-gradient(225deg, rgba(34, 200, 255, 0.13), transparent 40%),
    #03060b;
  box-shadow:
    inset 0 -4px 0 rgba(255, 182, 41, 0.55),
    0 30px 90px rgba(0, 0, 0, 0.34);
}

.reveal-hero h3 {
  margin-top: 4px;
  max-width: 760px;
  font-family: "Bebas Neue", "Inter Tight", Arial, sans-serif;
  font-size: clamp(44px, 7vw, 92px);
  font-weight: 400;
  line-height: 0.82;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.reveal-hero .bid-btn {
  width: 100%;
  min-width: 180px;
  white-space: nowrap;
}

.reveal-teams {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 8px;
}

.reveal-team {
  min-height: 86px;
  display: grid;
  align-content: center;
  gap: 5px;
  padding: 14px 12px 14px 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.004)),
    #05070b;
  box-shadow: inset 5px 0 0 var(--team-accent, rgba(255, 255, 255, 0.2));
  animation: reveal-slide 520ms cubic-bezier(0.16, 0.9, 0.24, 1) both;
  animation-delay: var(--delay, 0ms);
}

.reveal-team.is-user {
  background:
    linear-gradient(180deg, rgba(25, 242, 141, 0.12), rgba(255, 255, 255, 0.004)),
    #031008;
}

.reveal-team strong {
  font-family: "Bebas Neue", "Inter Tight", Arial, sans-serif;
  font-size: 32px;
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.reveal-team span {
  color: #8fa1b7;
  font-family: "Inter Tight", Arial, sans-serif;
  font-size: 12px;
  font-style: italic;
  font-weight: 750;
  line-height: 1.35;
}

.reveal-team small {
  display: block;
  overflow: hidden;
  color: #f7fbff;
  font-family: "Inter Tight", Arial, sans-serif;
  font-size: 10px;
  font-style: italic;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@keyframes reveal-slide {
  from {
    opacity: 0;
    transform: translateX(-28px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.season-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 18px;
  padding-bottom: 14px;
  box-shadow: inset 0 -2px 0 rgba(25, 242, 141, 0.32);
}

.season-head h3 {
  margin-top: 2px;
  font-family: "Bebas Neue", "Inter Tight", Arial, sans-serif;
  font-size: clamp(38px, 6vw, 74px);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.season-tabs {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(130px, 1fr));
  justify-self: start;
  gap: 2px;
  padding: 3px;
  background: #05070b;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.season-tabs:has(button:nth-child(3)) {
  grid-template-columns: repeat(3, minmax(110px, 1fr));
}

.season-tabs button {
  min-height: 34px;
  padding: 8px 14px;
  background: transparent;
  color: #8fa1b7;
  font-family: "Inter Tight", Arial, sans-serif;
  font-size: 11px;
  font-style: italic;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.season-tabs button.is-active {
  background: #19f28d;
  color: #030407;
}

.playoff-path {
  display: grid;
  gap: 12px;
  padding: 18px;
  background:
    radial-gradient(circle at 88% 10%, color-mix(in srgb, var(--champion-accent, #ffb629) 12%, transparent), transparent 34%),
    linear-gradient(135deg, rgba(255, 182, 41, 0.12), transparent 42%),
    #03050a;
  box-shadow:
    inset 0 -3px 0 color-mix(in srgb, var(--champion-accent, #ffb629) 48%, #000 52%),
    0 24px 70px rgba(0, 0, 0, 0.26);
}

.playoff-path-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: end;
}

.playoff-path-head h3 {
  color: #f7fbff;
  font-family: "Bebas Neue", "Inter Tight", Arial, sans-serif;
  font-size: clamp(42px, 6vw, 78px);
  font-weight: 400;
  line-height: 0.86;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.playoff-path-head strong {
  color: var(--champion-accent, #ffb629);
  font-family: "Bebas Neue", "Inter Tight", Arial, sans-serif;
  font-size: clamp(44px, 7vw, 88px);
  font-weight: 400;
  line-height: 0.82;
  letter-spacing: 0.04em;
}

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

.playoff-card {
  min-height: 126px;
  display: grid;
  align-content: space-between;
  gap: 10px;
  padding: 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.005)),
    #05070b;
  box-shadow: inset 4px 0 0 rgba(143, 161, 183, 0.30);
}

.playoff-card.is-live {
  box-shadow: inset 4px 0 0 var(--team-accent, #ffb629);
}

.playoff-card.is-played {
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--team-accent, #ffb629) 14%, transparent), transparent 70%),
    #05070b;
  box-shadow: inset 4px 0 0 var(--team-accent, #ffb629);
}

.playoff-card > span {
  color: var(--team-accent, #8fa1b7);
  font-family: "Inter Tight", Arial, sans-serif;
  font-size: 10px;
  font-style: italic;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.playoff-card div {
  display: grid;
  gap: 4px;
}

.playoff-card strong {
  overflow: hidden;
  color: #f7fbff;
  font-family: "Bebas Neue", "Inter Tight", Arial, sans-serif;
  font-size: 26px;
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: 0.03em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.playoff-card strong.is-winner {
  color: var(--team-accent, #ffb629);
}

.playoff-card strong.is-loser {
  opacity: 0.46;
}

.playoff-card i,
.playoff-card em {
  color: #8fa1b7;
  font-family: "Inter Tight", Arial, sans-serif;
  font-size: 11px;
  font-style: italic;
  font-weight: 850;
}

@media (max-width: 980px) {
  .playoff-bracket {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.season-grid,
.innings-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 18px;
}

.season-title {
  margin-bottom: 8px;
  color: #19f28d;
  font-family: "Inter Tight", Arial, sans-serif;
  font-size: 11px;
  font-style: italic;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.runtime-error {
  padding: 12px 14px;
  background:
    linear-gradient(90deg, rgba(255, 52, 127, 0.18), transparent 64%),
    #0c0205;
  box-shadow: inset 4px 0 0 #ff347f;
}

.runtime-error strong,
.runtime-error span {
  display: block;
  font-family: "Inter Tight", Arial, sans-serif;
  font-style: italic;
}

.runtime-error strong {
  color: #ff347f;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.runtime-error span {
  margin-top: 4px;
  color: #f7fbff;
  font-size: 13px;
  font-weight: 800;
}

.league-table {
  width: 100%;
  border-collapse: collapse;
  font-family: "Inter Tight", Arial, sans-serif;
  font-size: 12px;
}

.league-table th,
.league-table td {
  padding: 8px 7px;
  text-align: right;
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
}

.league-table th:nth-child(2),
.league-table td:nth-child(2) {
  text-align: left;
}

.league-table th:last-child,
.league-table td:last-child {
  text-align: right;
  min-width: 104px;
  white-space: nowrap;
}

.league-table tr.is-user td {
  color: #19f28d;
  background: rgba(25, 242, 141, 0.055);
}

.form-guide {
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: 3px;
  min-width: max-content;
  vertical-align: middle;
  white-space: nowrap;
}

.form-guide b {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  display: grid;
  place-items: center;
  font-family: "Bebas Neue", "Inter Tight", Arial, sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 1;
  font-style: normal;
  color: #030407;
}

.form-guide .is-win {
  background: #19f28d;
}

.form-guide .is-loss {
  background: #ff347f;
  color: #fff;
}

.form-empty {
  color: #4c586a;
  font-family: "Inter Tight", Arial, sans-serif;
  font-size: 10px;
  font-style: italic;
  font-weight: 850;
  text-transform: uppercase;
}

.league-teams {
  display: grid;
  gap: 6px;
}

.strategy-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 12px 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.028), rgba(255, 255, 255, 0.004)),
    #05070b;
  box-shadow: inset 3px 0 0 rgba(255, 182, 41, 0.52);
}

.strategy-panel p {
  margin: 0;
  color: #8fa1b7;
  font-family: "Inter Tight", Arial, sans-serif;
  font-size: 12px;
  font-style: italic;
  font-weight: 750;
}

.strategy-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.strategy-buttons button {
  min-height: 34px;
  padding: 7px 10px;
  background: rgba(255, 255, 255, 0.06);
  color: #d7dde8;
  font-family: "Inter Tight", Arial, sans-serif;
  font-size: 11px;
  font-style: italic;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.strategy-buttons button.is-active {
  background: #ffb629;
  color: #030407;
}

.league-team,
.innings-card {
  padding: 9px 0 9px 12px;
  background: transparent;
  box-shadow: inset 4px 0 0 var(--team-accent, rgba(255, 255, 255, 0.2));
}

.league-team strong,
.innings-card strong,
.match-result h4 {
  display: block;
  font-family: "Bebas Neue", "Inter Tight", Arial, sans-serif;
  font-size: 26px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.03em;
}

.league-team span,
.innings-card span,
.over-log,
.summary-lines {
  color: #8fa1b7;
  font-family: "Inter Tight", Arial, sans-serif;
  font-size: 12px;
  font-style: italic;
  font-weight: 700;
}

.match-result {
  padding-top: 14px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.match-result.is-playoff-result {
  padding: 18px;
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--winner-accent, #ffb629) 14%, transparent), transparent 70%),
    #05070b;
  box-shadow:
    inset 5px 0 0 var(--winner-accent, #ffb629),
    inset 0 1px 0 color-mix(in srgb, var(--winner-accent, #ffb629) 28%, transparent);
}

.match-result.is-final-result {
  padding: 22px;
  background:
    radial-gradient(circle at 84% 18%, color-mix(in srgb, var(--winner-accent, #ffb629) 18%, transparent), transparent 34%),
    linear-gradient(90deg, color-mix(in srgb, var(--winner-accent, #ffb629) 20%, transparent), transparent 72%),
    #03050a;
  box-shadow:
    inset 0 -4px 0 var(--winner-accent, #ffb629),
    0 28px 80px rgba(0, 0, 0, 0.34);
}

.match-result.is-title-win h4 {
  color: #ffb629;
  font-size: clamp(48px, 7vw, 92px);
  line-height: 0.86;
}

.result-event-line {
  margin: 8px 0 14px;
  color: #d7dde8;
  font-family: "Inter Tight", Arial, sans-serif;
  font-size: 13px;
  font-style: italic;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.share-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}

.share-actions span,
.share-note {
  color: #8fa1b7;
  font-family: "Inter Tight", Arial, sans-serif;
  font-size: 11px;
  font-style: italic;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.share-note {
  margin-top: -4px;
  padding-left: 4px;
}

.over-log {
  display: grid;
  gap: 3px;
  margin-top: 8px;
}

.summary-lines {
  display: grid;
  gap: 6px;
  margin-top: 10px;
}

.summary-lines div {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 8px;
}

.summary-lines b {
  color: #19f28d;
  font-size: 10px;
  font-style: italic;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.summary-lines em {
  color: #d7dde8;
  font-style: italic;
  font-weight: 850;
}

.matchweek-panel {
  display: grid;
  gap: 10px;
}

.matchweek-results {
  display: grid;
  gap: 6px;
}

.matchweek-result,
.next-fixture-card,
.cap-row {
  padding: 10px 0 10px 12px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.045), transparent 62%),
    #05070b;
  box-shadow: inset 4px 0 0 rgba(255, 255, 255, 0.16);
}

.cap-row {
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--player-accent, #8fa1b7) 14%, transparent), transparent 66%),
    #05070b;
  box-shadow:
    inset 4px 0 0 var(--player-accent, rgba(255, 255, 255, 0.16)),
    inset 0 1px 0 color-mix(in srgb, var(--player-accent, #8fa1b7) 18%, transparent);
}

.matchweek-result span,
.next-fixture-card span,
.cap-row span {
  display: block;
  color: #8fa1b7;
  font-family: "Inter Tight", Arial, sans-serif;
  font-size: 10px;
  font-style: italic;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.matchweek-result strong,
.next-fixture-card strong,
.cap-row strong {
  display: block;
  color: #f7fbff;
  font-family: "Bebas Neue", "Inter Tight", Arial, sans-serif;
  font-size: 25px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.fixture-teams {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 8px;
  align-items: center;
}

.fixture-teams i {
  color: #4c586a;
  font-family: "Inter Tight", Arial, sans-serif;
  font-size: 11px;
  font-style: italic;
  font-weight: 900;
  text-transform: uppercase;
}

.fixture-teams strong {
  color: #8fa1b7;
}

.fixture-teams strong:last-child {
  text-align: right;
}

.fixture-teams .is-winner {
  color: #19f28d;
  text-shadow: 0 0 18px rgba(25, 242, 141, 0.18);
}

.fixture-teams .is-loser {
  color: #5c6778;
}

.matchweek-result em,
.next-fixture-card em,
.cap-row em {
  display: block;
  color: #8fa1b7;
  font-family: "Inter Tight", Arial, sans-serif;
  font-size: 12px;
  font-style: italic;
  font-weight: 750;
}

.matchweek-result small,
.next-fixture-card small,
.cap-row small {
  display: block;
  margin-top: 4px;
  color: #6f7d90;
  font-family: "Inter Tight", Arial, sans-serif;
  font-size: 11px;
  font-style: italic;
  font-weight: 750;
  line-height: 1.45;
}

.fixture-form-row {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 8px 16px;
  align-items: stretch;
  width: 100%;
}

.team-form-line {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) max-content;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.team-form-line > span:first-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.team-form-line .form-guide {
  justify-self: end;
}

.user-season-stats {
  display: grid;
  gap: 10px;
  padding: 14px 0 0;
}

.user-stat-summary {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 6px;
}

.user-stat-summary div {
  min-height: 62px;
  min-width: 0;
  padding: 9px 10px 8px 12px;
  background:
    linear-gradient(90deg, rgba(25, 242, 141, 0.10), transparent 74%),
    rgba(5, 7, 11, 0.86);
  box-shadow:
    inset 3px 0 0 rgba(25, 242, 141, 0.58),
    inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.user-stat-summary span,
.user-stats-grid h4 {
  display: block;
  color: #8fa1b7;
  font-family: "Inter Tight", Arial, sans-serif;
  font-size: 10px;
  font-style: italic;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.user-stat-summary strong {
  display: block;
  margin-top: 3px;
  overflow: hidden;
  color: #f7fbff;
  font-family: "Bebas Neue", "Inter Tight", Arial, sans-serif;
  font-size: clamp(22px, 2.25vw, 28px);
  font-style: normal;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.03em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-stat-summary div em {
  display: block;
  margin-top: 4px;
  overflow: hidden;
  color: #8fa1b7;
  font-family: "Inter Tight", Arial, sans-serif;
  font-size: 10px;
  font-style: italic;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-stat-summary strong .form-guide {
  display: flex;
  justify-content: flex-start;
  margin-top: 2px;
}

.user-stat-summary strong:has(.form-guide) {
  overflow: visible;
}

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

.user-stats-grid h4 {
  margin: 0 0 7px;
  color: #19f28d;
}

.user-stat-row {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  min-height: 34px;
  padding: 7px 10px 7px 0;
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--player-accent, #19f28d) 12%, transparent), transparent 72%),
    #05070b;
  box-shadow: inset 3px 0 0 var(--player-accent, rgba(25, 242, 141, 0.42));
}

.user-stat-row span {
  color: #6f7d90;
  font-family: "Bebas Neue", "Inter Tight", Arial, sans-serif;
  font-size: 17px;
  font-style: normal;
  font-weight: 400;
  text-align: center;
}

.user-stat-row strong {
  min-width: 0;
  overflow: hidden;
  color: #f7fbff;
  font-family: "Bebas Neue", "Inter Tight", Arial, sans-serif;
  font-size: 22px;
  font-style: normal;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.03em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.user-stat-row em {
  color: #8fa1b7;
  font-family: "Inter Tight", Arial, sans-serif;
  font-size: 11px;
  font-style: italic;
  font-weight: 800;
  white-space: nowrap;
}

.user-stat-empty {
  min-height: 54px;
  padding: 11px 12px;
  background:
    linear-gradient(90deg, rgba(143, 161, 183, 0.06), transparent 78%),
    rgba(5, 7, 11, 0.72);
  box-shadow: inset 3px 0 0 rgba(143, 161, 183, 0.28);
}

.user-stat-empty strong,
.user-stat-empty em {
  display: block;
  font-family: "Inter Tight", Arial, sans-serif;
  font-style: italic;
}

.user-stat-empty strong {
  color: #d7dde8;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

.user-stat-empty em {
  margin-top: 5px;
  color: #6f7d90;
  font-size: 12px;
  font-weight: 750;
}

.all-squad-stats {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.all-squad-note {
  color: #8fa1b7;
  font-family: "Inter Tight", Arial, sans-serif;
  font-size: 12px;
  font-style: italic;
  font-weight: 850;
}

.squad-stat-list {
  display: grid;
  gap: 7px;
}

.squad-stat-team {
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--team-accent, #19f28d) 10%, transparent), transparent 70%),
    #05070b;
  box-shadow: inset 3px 0 0 var(--team-accent, #19f28d);
}

.squad-stat-team summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 44px;
  padding: 10px 12px;
  cursor: pointer;
  list-style: none;
}

.squad-stat-team summary::-webkit-details-marker {
  display: none;
}

.squad-stat-team summary strong {
  overflow: hidden;
  color: #f7fbff;
  font-family: "Bebas Neue", "Inter Tight", Arial, sans-serif;
  font-size: 28px;
  font-weight: 400;
  letter-spacing: 0.03em;
  line-height: 1;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.squad-stat-team summary span {
  color: #8fa1b7;
  font-family: "Inter Tight", Arial, sans-serif;
  font-size: 11px;
  font-style: italic;
  font-weight: 900;
}

.squad-stat-tables {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 10px;
  padding: 0 12px 12px;
}

.squad-stat-tables table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(0, 0, 0, 0.18);
}

.squad-stat-tables th,
.squad-stat-tables td {
  padding: 7px 8px;
  color: #d7dde8;
  font-family: "Inter Tight", Arial, sans-serif;
  font-size: 11px;
  font-style: italic;
  font-weight: 800;
  text-align: right;
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
}

.squad-stat-tables th:first-child,
.squad-stat-tables td:first-child {
  text-align: left;
}

.squad-stat-tables th {
  color: #8fa1b7;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .squad-stat-tables {
    grid-template-columns: 1fr;
  }
}

.matchweek-result.has-result {
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--winner-accent, #19f28d) 18%, transparent), transparent 64%),
    #05070b;
  box-shadow:
    inset 4px 0 0 var(--winner-accent, #19f28d),
    inset 0 1px 0 color-mix(in srgb, var(--winner-accent, #19f28d) 24%, transparent);
}

@supports not (color: color-mix(in srgb, #fff 50%, #000 50%)) {
  .matchweek-result.has-result {
    background:
      linear-gradient(90deg, rgba(25, 242, 141, 0.10), transparent 64%),
      #05070b;
    box-shadow: inset 4px 0 0 var(--winner-accent, #19f28d);
  }

  .cap-row {
    background:
      linear-gradient(90deg, rgba(143, 161, 183, 0.10), transparent 66%),
      #05070b;
    box-shadow: inset 4px 0 0 var(--player-accent, rgba(255, 255, 255, 0.16));
  }

  .current-panel.has-orange {
    box-shadow: inset 5px 0 0 #ff8a22;
  }

  .current-panel.has-purple {
    box-shadow: inset 5px 0 0 #a56bff;
  }

  .current-panel.has-orange.has-purple {
    box-shadow:
      inset 5px 0 0 #ff8a22,
      inset 10px 0 0 #a56bff;
  }
}

.next-fixture-card {
  background:
    linear-gradient(90deg, rgba(25, 242, 141, 0.12), transparent 62%),
    #05070b;
  box-shadow: inset 4px 0 0 #19f28d;
}

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

.cap-list {
  display: grid;
  gap: 5px;
}

.cap-list.is-orange .cap-row {
  box-shadow: inset 4px 0 0 #ff8a22;
}

.cap-list.is-purple .cap-row {
  box-shadow: inset 4px 0 0 #a56bff;
}

/* ---------- Match day ---------- */

.match-day {
  width: 100%;
  display: grid;
  gap: 18px;
}

.match-scoreboard {
  min-height: 190px;
  display: grid;
  align-content: center;
  gap: 14px;
  padding: 20px 22px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--match-accent) 18%, transparent), transparent 42%),
    linear-gradient(225deg, color-mix(in srgb, var(--match-accent) 10%, transparent), transparent 46%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.006)),
    #03060b;
  box-shadow:
    inset 0 -3px 0 color-mix(in srgb, var(--match-accent) 58%, #000 42%),
    0 30px 90px rgba(0, 0, 0, 0.34);
}

.match-score-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 18px;
}

.match-score-head h3 {
  max-width: 980px;
  font-family: "Bebas Neue", "Inter Tight", Arial, sans-serif;
  font-size: clamp(44px, 7vw, 92px);
  font-weight: 400;
  line-height: 0.82;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.match-score-head strong {
  color: #f7fbff;
  font-family: "Bebas Neue", "Inter Tight", Arial, sans-serif;
  font-size: clamp(56px, 8vw, 104px);
  font-weight: 400;
  line-height: 0.82;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-align: right;
}

.match-score-head strong span {
  display: inline-block;
  margin-right: 10px;
  color: #8fa1b7;
  font-family: "Inter Tight", Arial, sans-serif;
  font-size: 18px;
  font-style: italic;
  font-weight: 850;
  letter-spacing: 0.04em;
  vertical-align: 18px;
}

.match-state {
  color: #d7dde8;
  font-family: "Inter Tight", Arial, sans-serif;
  font-size: 15px;
  font-style: italic;
  font-weight: 800;
}

.recent-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding-top: 10px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.recent-strip span,
.recent-strip em {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.075);
  color: #f7fbff;
  font-family: "Bebas Neue", "Inter Tight", Arial, sans-serif;
  font-size: 22px;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.03em;
}

.recent-strip em {
  width: auto;
  padding: 0 10px;
  color: #8fa1b7;
  font-family: "Inter Tight", Arial, sans-serif;
  font-size: 12px;
  font-style: italic;
  font-weight: 800;
}

.recent-strip .is-boundary {
  background: #25a94f;
  color: #fff;
}

.recent-strip .is-run {
  background: rgba(255, 255, 255, 0.11);
  color: #f7fbff;
}

.recent-strip .is-dot {
  background: rgba(255, 255, 255, 0.055);
  color: #8fa1b7;
}

.recent-strip .is-wicket {
  background: #ff347f;
  color: #fff;
}

.recent-strip .is-extra {
  background: rgba(34, 200, 255, 0.18);
  color: #dff7ff;
  font-size: 12px;
}

.recent-strip .is-new {
  animation: ball-chip-in 360ms cubic-bezier(0.16, 0.9, 0.24, 1) both;
}

@keyframes ball-chip-in {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.82);
    filter: brightness(1.6);
  }
  70% {
    opacity: 1;
    transform: translateY(1px) scale(1.04);
    filter: brightness(1.24);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: brightness(1);
  }
}

.innings-break {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 14px;
  min-height: 72px;
  padding: 14px 18px;
  background:
    linear-gradient(90deg, rgba(255, 182, 41, 0.16), rgba(25, 242, 141, 0.08), transparent),
    #05070b;
  box-shadow:
    inset 0 2px 0 rgba(255, 182, 41, 0.42),
    inset 0 -1px 0 rgba(255, 255, 255, 0.06);
  animation: innings-break-in 520ms cubic-bezier(0.16, 0.9, 0.24, 1) both;
}

.innings-break span,
.innings-break em {
  color: #8fa1b7;
  font-family: "Inter Tight", Arial, sans-serif;
  font-size: 12px;
  font-style: italic;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.innings-break strong {
  color: #ffb629;
  font-family: "Bebas Neue", "Inter Tight", Arial, sans-serif;
  font-size: clamp(30px, 4vw, 50px);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.innings-break em {
  color: #19f28d;
  text-align: right;
}

@keyframes innings-break-in {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.live-score-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)) minmax(170px, 0.55fr);
  gap: 10px;
}

.live-innings,
.wagon-wheel {
  min-height: 154px;
  padding: 18px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--match-accent) 8%, transparent), transparent 52%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.026), rgba(255, 255, 255, 0.004)),
    #05070b;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.028);
}

.live-innings {
  display: grid;
  align-content: center;
  gap: 4px;
}

.live-innings span,
.live-innings em {
  color: #8fa1b7;
  font-family: "Inter Tight", Arial, sans-serif;
  font-size: 12px;
  font-style: italic;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.live-innings strong {
  color: #f7fbff;
  font-family: "Bebas Neue", "Inter Tight", Arial, sans-serif;
  font-size: 70px;
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: 0.04em;
}

.runrate-worm {
  display: grid;
  gap: 10px;
  padding: 14px 16px 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.018), rgba(255, 255, 255, 0.004)),
    #05070b;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.055);
}

.worm-head,
.worm-foot {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
}

.worm-head span,
.worm-foot span,
.worm-legend b {
  color: #8fa1b7;
  font-family: "Inter Tight", Arial, sans-serif;
  font-size: 10px;
  font-style: italic;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.worm-head strong {
  display: block;
  margin-top: 2px;
  color: #f7fbff;
  font-family: "Bebas Neue", "Inter Tight", Arial, sans-serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.worm-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.worm-legend b {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #d7dde8;
}

.worm-legend b::before {
  content: "";
  width: 16px;
  height: 3px;
  background: currentColor;
}

.worm-legend .is-first,
.worm-line.is-first,
.worm-dot.is-first {
  color: #ffb629;
  stroke: #ffb629;
  fill: #ffb629;
}

.worm-legend .is-second,
.worm-line.is-second,
.worm-dot.is-second {
  color: #22c8ff;
  stroke: #22c8ff;
  fill: #22c8ff;
}

.runrate-worm svg {
  width: 100%;
  min-height: 168px;
  overflow: visible;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.026), rgba(255, 255, 255, 0.006));
}

.worm-grid line {
  stroke: rgba(255, 255, 255, 0.09);
  stroke-width: 1;
  shape-rendering: crispEdges;
}

.worm-grid text {
  fill: #8fa1b7;
  font-family: "Inter Tight", Arial, sans-serif;
  font-size: 9px;
  font-style: italic;
  font-weight: 900;
}

.worm-target {
  stroke: rgba(25, 242, 141, 0.42);
  stroke-width: 1.5;
  stroke-dasharray: 4 4;
  vector-effect: non-scaling-stroke;
}

.worm-line {
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.worm-dot {
  stroke: #05070b;
  stroke-width: 2;
}

.worm-foot span:last-child {
  text-align: right;
}

.wagon-wheel {
  display: grid;
  justify-items: center;
  align-items: center;
}

.live-tactics-panel {
  width: 100%;
  display: grid;
  gap: 6px;
  margin-top: 4px;
  padding-top: 10px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.live-tactics-head {
  display: grid;
  gap: 2px;
  justify-items: stretch;
}

.live-tactics-head span,
.live-tactics-head em,
.live-tactic-history span {
  color: #8fa1b7;
  font-family: "Inter Tight", Arial, sans-serif;
  font-size: 9px;
  font-style: italic;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.live-tactics-head strong {
  color: #f7fbff;
  font-family: "Bebas Neue", "Inter Tight", Arial, sans-serif;
  font-size: 23px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.live-tactics-panel.is-batting .live-tactics-head strong {
  color: #ffb629;
}

.live-tactics-panel.is-bowling .live-tactics-head strong {
  color: #22c8ff;
}

.live-tactics-head em.is-managed {
  color: #19f28d;
}

.live-tactics-head em.is-settling {
  color: #ffb629;
}

.live-tactics-head em.is-autopilot {
  color: #ff347f;
}

.live-tactic-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(54px, 1fr));
  gap: 2px;
}

.live-tactic-row button {
  min-height: 27px;
  padding: 5px 4px;
  background: rgba(255, 255, 255, 0.055);
  color: #d7dde8;
  font-family: "Inter Tight", Arial, sans-serif;
  font-size: 9px;
  font-style: italic;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.live-tactic-row button.is-active {
  background: #19f28d;
  color: #030407;
}

.live-tactics-panel.is-batting .live-tactic-row button.is-active {
  background: #ffb629;
}

.live-tactics-panel.is-bowling .live-tactic-row button.is-active {
  background: #22c8ff;
}

.live-tactic-history {
  display: grid;
  gap: 3px;
  margin-top: 2px;
}

.wheel {
  position: relative;
  width: 120px;
  aspect-ratio: 1;
  margin-bottom: 10px;
  border-radius: 50%;
  background:
    linear-gradient(90deg, transparent 49%, rgba(255, 255, 255, 0.08) 50%, transparent 51%),
    linear-gradient(0deg, transparent 49%, rgba(255, 255, 255, 0.08) 50%, transparent 51%),
    radial-gradient(circle, rgba(25, 242, 141, 0.15) 0 4px, transparent 5px),
    conic-gradient(from 212deg, transparent 0deg 72deg, rgba(255, 182, 41, 0.13) 72deg 208deg, transparent 208deg 360deg),
    radial-gradient(circle, transparent 0 39%, rgba(255, 255, 255, 0.08) 40% 41%, transparent 42%),
    #020407;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    inset 0 0 0 18px rgba(255, 255, 255, 0.018);
  overflow: hidden;
}

.wheel span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--l);
  height: 2px;
  background: linear-gradient(90deg, var(--wagon-from, #8fa1b7), var(--wagon-to, #f7fbff));
  opacity: var(--o, 0.8);
  transform: rotate(var(--a)) translateX(0) scaleX(1);
  transform-origin: left center;
  box-shadow: 0 0 10px var(--wagon-glow, rgba(255, 255, 255, 0.18));
}

.wheel span.is-dot {
  height: 1px;
  --wagon-from: rgba(143, 161, 183, 0.46);
  --wagon-to: rgba(143, 161, 183, 0.82);
  --wagon-glow: rgba(143, 161, 183, 0.16);
}

.wheel span.is-run {
  --wagon-from: #19f28d;
  --wagon-to: #b6ffd9;
  --wagon-glow: rgba(25, 242, 141, 0.26);
}

.wheel span.is-boundary {
  height: 3px;
  --wagon-from: #ffb629;
  --wagon-to: #25a94f;
  --wagon-glow: rgba(255, 182, 41, 0.34);
}

.wheel span.is-wicket {
  height: 3px;
  --wagon-from: #ff347f;
  --wagon-to: #ff5263;
  --wagon-glow: rgba(255, 52, 127, 0.4);
}

.wheel span::after {
  content: "";
  position: absolute;
  right: -3px;
  top: 50%;
  width: 6px;
  height: 6px;
  background: #f7fbff;
  transform: translateY(-50%);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.45);
}

.wheel span.is-dot::after {
  width: 4px;
  height: 4px;
  right: -2px;
  background: #8fa1b7;
}

.wheel span.is-wicket::after {
  background: #ff347f;
}

.wheel span.is-new {
  animation: wagon-draw 520ms cubic-bezier(0.16, 0.9, 0.24, 1) both;
}

@keyframes wagon-draw {
  from {
    opacity: 0;
    transform: rotate(var(--a)) translateX(0) scaleX(0);
    filter: brightness(1.4);
  }
  70% {
    opacity: 1;
    filter: brightness(1.35);
  }
  to {
    opacity: var(--o, 0.9);
    transform: rotate(var(--a)) translateX(0) scaleX(1);
    filter: brightness(1);
  }
}

.immersive-field {
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) minmax(320px, 1fr) minmax(180px, 0.28fr);
  gap: clamp(14px, 2vw, 24px);
  align-items: center;
  margin: 20px 0 18px;
  padding: clamp(16px, 2.6vw, 26px);
  background:
    linear-gradient(135deg, rgba(25, 242, 141, 0.075), transparent 45%),
    rgba(2, 6, 5, 0.92);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.065),
    inset 0 -3px 0 rgba(25, 242, 141, 0.16),
    0 22px 70px rgba(0, 0, 0, 0.36);
}

.field-copy {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.field-copy h3 {
  margin: 0;
  color: #f8fbff;
  font-family: "Bebas Neue", "Inter Tight", Arial, sans-serif;
  font-size: clamp(54px, 8vw, 104px);
  font-weight: 900;
  line-height: 0.86;
}

.field-copy div,
.field-note {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.field-copy span,
.field-note span,
.field-note strong {
  padding: 7px 9px;
  color: #dbe5f1;
  background: rgba(255, 255, 255, 0.055);
  font-family: "Inter Tight", Arial, sans-serif;
  font-size: 11px;
  font-style: italic;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.field-note {
  align-content: center;
}

.field-note strong {
  color: #19f28d;
}

.cricket-field {
  position: relative;
  min-height: 330px;
  aspect-ratio: 1.35;
  overflow: hidden;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at center, rgba(103, 171, 73, 0.66) 0 20%, rgba(50, 126, 53, 0.78) 21% 54%, rgba(14, 77, 39, 1) 55% 100%),
    #145629;
  box-shadow:
    inset 0 0 0 2px rgba(255, 255, 255, 0.16),
    inset 0 0 0 16px rgba(255, 255, 255, 0.035),
    inset 0 0 80px rgba(0, 0, 0, 0.42),
    0 20px 55px rgba(0, 0, 0, 0.40);
}

.field-rope,
.field-pitch,
.field-crease,
.field-centre-dot,
.field-position,
.field-shots,
.field-shot {
  position: absolute;
}

.field-rope {
  inset: 13px;
  border: 2px solid rgba(240, 255, 220, 0.28);
  border-radius: 50%;
}

.field-pitch {
  left: 50%;
  top: 50%;
  width: 7.8%;
  height: 37%;
  transform: translate(-50%, -50%);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.10), transparent 20% 80%, rgba(0, 0, 0, 0.12)),
    #bfa268;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.20),
    0 0 20px rgba(0, 0, 0, 0.18);
}

.field-crease {
  left: 45.5%;
  width: 9%;
  height: 2px;
  background: rgba(255, 255, 255, 0.72);
}

.field-crease.is-top {
  top: 37%;
}

.field-crease.is-bottom {
  bottom: 37%;
}

.field-centre-dot {
  left: 50%;
  top: 50%;
  width: 9px;
  height: 9px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #f8fbff;
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.7);
}

.field-position {
  left: var(--x);
  top: var(--y);
  transform: translate(-50%, -50%);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(248, 251, 255, 0.58);
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.22);
}

.field-shots {
  inset: 0;
}

.field-shot {
  left: 50%;
  top: 50%;
  width: var(--l);
  height: 2px;
  transform-origin: left center;
  transform: rotate(var(--a));
  opacity: var(--o);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.10), var(--wagon-from, #19f28d), var(--wagon-to, #b6ffd9));
  box-shadow: 0 0 12px var(--wagon-glow, rgba(25, 242, 141, 0.22));
}

.field-shot.is-dot {
  width: 12px;
  height: 1px;
  --wagon-from: rgba(220, 235, 224, 0.35);
  --wagon-to: rgba(220, 235, 224, 0.68);
  --wagon-glow: rgba(220, 235, 224, 0.12);
}

.field-shot.is-run {
  --wagon-from: #19f28d;
  --wagon-to: #e2ffe8;
  --wagon-glow: rgba(25, 242, 141, 0.28);
}

.field-shot.is-boundary {
  height: 3px;
  --wagon-from: #ffb629;
  --wagon-to: #fff0ad;
  --wagon-glow: rgba(255, 182, 41, 0.46);
}

.field-shot.is-wicket {
  height: 3px;
  --wagon-from: #ff347f;
  --wagon-to: #ffd1df;
  --wagon-glow: rgba(255, 52, 127, 0.48);
}

.field-shot.is-new {
  animation: wagon-draw 560ms cubic-bezier(0.16, 0.9, 0.24, 1) both;
}

@media (max-width: 960px) {
  .immersive-field {
    grid-template-columns: 1fr;
  }

  .cricket-field {
    min-height: 260px;
  }
}

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

.ball-feed {
  max-height: 330px;
  overflow: auto;
  display: grid;
  gap: 1px;
  background: rgba(255, 255, 255, 0.035);
  scrollbar-width: thin;
  scrollbar-color: #19f28d #05070b;
}

.ball-feed div {
  display: grid;
  grid-template-columns: 52px 42px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: start;
  min-height: 54px;
  padding: 11px 10px;
  background: #05070b;
  color: #d7dde8;
  font-family: "Inter Tight", Arial, sans-serif;
  font-size: 13px;
  font-style: italic;
  font-weight: 750;
}

.ball-feed span {
  color: #8fa1b7;
  font-family: "Bebas Neue", "Inter Tight", Arial, sans-serif;
  font-size: 22px;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.04em;
}

.ball-feed strong {
  color: #f7fbff;
  font-family: "Bebas Neue", "Inter Tight", Arial, sans-serif;
  font-size: 22px;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.04em;
}

.ball-feed b {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.07);
  color: #f7fbff;
  font-family: "Bebas Neue", "Inter Tight", Arial, sans-serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: 1;
}

.ball-feed p {
  margin: 0;
  color: #d7dde8;
  line-height: 1.45;
}

.ball-feed .is-boundary {
  color: #ffb629;
  background:
    linear-gradient(90deg, rgba(255, 182, 41, 0.13), transparent 55%),
    #080704;
}

.ball-feed .is-boundary b {
  background: #25a94f;
  color: #fff;
}

.ball-feed .is-run b {
  background: rgba(25, 242, 141, 0.16);
  color: #d7ffe9;
}

.ball-feed .is-extra {
  color: #22c8ff;
  background:
    linear-gradient(90deg, rgba(34, 200, 255, 0.12), transparent 55%),
    #02070c;
}

.ball-feed .is-extra b {
  background: rgba(34, 200, 255, 0.18);
  color: #dff7ff;
  font-size: 18px;
}

.ball-feed .is-dot b {
  color: #8fa1b7;
}

.ball-feed .is-wicket {
  color: #ff5263;
  background:
    linear-gradient(90deg, rgba(255, 52, 127, 0.18), transparent 55%),
    #0c0205;
}

.ball-feed .is-wicket b {
  background: #ff347f;
  color: #fff;
}

.ball-feed .is-new {
  animation: feed-row-in 420ms cubic-bezier(0.16, 0.9, 0.24, 1) both;
}

.ball-feed .has-matchup {
  box-shadow:
    inset 3px 0 0 #ffb629,
    inset 0 0 0 1px rgba(255, 182, 41, 0.10);
}

.ball-feed .has-user-matchup {
  box-shadow:
    inset 3px 0 0 #19f28d,
    inset 0 0 0 1px rgba(25, 242, 141, 0.14);
}

.ball-feed .has-opposition-matchup {
  box-shadow:
    inset 3px 0 0 #ff347f,
    inset 0 0 0 1px rgba(255, 52, 127, 0.16);
}

.ball-feed .has-tactical-effect {
  box-shadow:
    inset 3px 0 0 #22c8ff,
    inset 0 0 0 1px rgba(34, 200, 255, 0.18);
}

.ball-feed p em {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 5px;
  background: #ffb629;
  color: #030407;
  font-size: 9px;
  font-style: italic;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ball-feed .has-user-matchup p em {
  background: #19f28d;
}

.ball-feed .has-opposition-matchup p em {
  background: #ff347f;
  color: #fff;
}

.ball-feed .has-tactical-effect p em:last-child {
  background: #22c8ff;
  color: #020407;
}

@keyframes feed-row-in {
  from {
    opacity: 0;
    transform: translateY(-12px);
    filter: brightness(1.35);
  }
  70% {
    opacity: 1;
    transform: translateY(1px);
    filter: brightness(1.18);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: brightness(1);
  }
}

.match-centre {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.34fr);
  gap: 14px;
}

.current-panel {
  min-height: 190px;
  padding: 14px;
  background:
    radial-gradient(circle at 86% 10%, color-mix(in srgb, var(--match-accent) 20%, transparent), transparent 34%),
    linear-gradient(135deg, color-mix(in srgb, var(--match-accent) 9%, transparent), transparent 58%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.034), rgba(255, 255, 255, 0.006)),
    #05070b;
  box-shadow:
    inset 4px 0 0 color-mix(in srgb, var(--match-accent) 58%, #000 42%),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.current-panel.has-orange {
  box-shadow:
    inset 5px 0 0 #ff8a22,
    inset 9px 0 0 color-mix(in srgb, #ff8a22 28%, transparent);
}

.current-panel.has-purple {
  box-shadow:
    inset 5px 0 0 #a56bff,
    inset 9px 0 0 color-mix(in srgb, #a56bff 28%, transparent);
}

.current-panel.has-orange.has-purple {
  box-shadow:
    inset 5px 0 0 #ff8a22,
    inset 10px 0 0 #a56bff,
    inset 14px 0 0 rgba(255, 255, 255, 0.08);
}

.passage-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px;
  gap: 10px;
  align-items: start;
}

.passage-top > b {
  display: grid;
  place-items: center;
  min-height: 44px;
  color: #030407;
  background: #19f28d;
  font-family: "Bebas Neue", "Inter Tight", Arial, sans-serif;
  font-size: 27px;
  font-style: normal;
  font-weight: 400;
  line-height: 1;
  animation: passage-chip 240ms ease-out both;
}

.current-panel.outcome-boundary .passage-top > b {
  background: #25a94f;
  color: #fff;
}

.current-panel.outcome-wicket .passage-top > b {
  background: #ff347f;
  color: #fff;
}

.current-panel.outcome-extra .passage-top > b {
  background: rgba(34, 200, 255, 0.18);
  color: #dff7ff;
  font-size: 18px;
}

.current-panel.outcome-dot .passage-top > b {
  background: rgba(255, 255, 255, 0.12);
  color: #8fa1b7;
}

.passage-top strong {
  display: block;
  color: #19f28d;
  font-family: "Bebas Neue", "Inter Tight", Arial, sans-serif;
  font-size: 38px;
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.passage-rates {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  margin-top: 12px;
}

.passage-rates div,
.passage-duel div {
  min-width: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.045), transparent 70%),
    rgba(2, 4, 8, 0.56);
  box-shadow: inset 3px 0 0 rgba(25, 242, 141, 0.36);
}

.passage-rates div {
  padding: 8px 9px;
}

.passage-rates span,
.passage-duel span {
  display: block;
  color: #8fa1b7;
  font-family: "Inter Tight", Arial, sans-serif;
  font-size: 9px;
  font-style: italic;
  font-weight: 900;
  letter-spacing: 0.13em;
  line-height: 1;
  text-transform: uppercase;
}

.passage-rates strong {
  display: block;
  margin-top: 4px;
  color: #f7fbff;
  font-family: "Bebas Neue", "Inter Tight", Arial, sans-serif;
  font-size: 30px;
  font-style: normal;
  font-weight: 400;
  line-height: 0.95;
}

.passage-duel {
  display: grid;
  gap: 7px;
  margin-top: 9px;
}

.passage-duel div {
  padding: 9px 10px;
}

.passage-duel strong {
  display: block;
  overflow: hidden;
  margin-top: 5px;
  color: #f7fbff;
  font-family: "Bebas Neue", "Inter Tight", Arial, sans-serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: 0.03em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.state-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 6px;
}

.state-badges b {
  display: inline-grid;
  min-height: 16px;
  align-items: center;
  padding: 2px 5px;
  background: rgba(255, 255, 255, 0.075);
  color: #9eabc0;
  font-family: "Inter Tight", Arial, sans-serif;
  font-size: 8px;
  font-style: italic;
  font-weight: 950;
  letter-spacing: 0.10em;
  line-height: 1;
  text-transform: uppercase;
}

.state-badges .is-set,
.state-badges .is-hot,
.state-badges .is-rhythm {
  background: rgba(25, 242, 141, 0.15);
  color: #19f28d;
}

.state-badges .is-settling,
.state-badges .is-loaded {
  background: rgba(255, 182, 41, 0.16);
  color: #ffb629;
}

.state-badges .is-cold,
.state-badges .is-pressed,
.state-badges .is-tiring {
  background: rgba(255, 52, 127, 0.15);
  color: #ff7aaa;
}

.passage-duel em,
.current-panel > em,
.current-panel > p {
  display: block;
  margin: 5px 0 0;
  color: #8fa1b7;
  font-family: "Inter Tight", Arial, sans-serif;
  font-size: 11px;
  font-style: italic;
  font-weight: 800;
}

.current-panel > p {
  margin-top: 10px;
  color: #d7dde8;
}

@keyframes passage-settle {
  from {
    opacity: 0.94;
  }
  to {
    opacity: 1;
  }
}

@keyframes passage-chip {
  from {
    filter: brightness(1.22);
  }
  to {
    filter: brightness(1);
  }
}

.live-card-scorecard {
  padding: 12px 0 0 12px;
  box-shadow:
    inset 4px 0 0 var(--team-accent, rgba(255, 255, 255, 0.2)),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.live-card-scorecard .season-title {
  color: var(--team-accent, #19f28d);
}

.extras-line {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 4px 0 10px;
  color: #f4f7fb;
  font-size: 15px;
  font-style: italic;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.extras-line span {
  color: #8fa1b7;
  font-size: 11px;
  letter-spacing: 0.1em;
}

.scorecard-tables {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 12px;
}

.scorecard-tables table {
  width: 100%;
  border-collapse: collapse;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--team-accent, #19f28d) 10%, transparent), transparent 46%),
    #05070b;
  font-family: "Inter Tight", Arial, sans-serif;
  font-size: 12px;
  font-style: italic;
}

.scorecard-tables th,
.scorecard-tables td {
  padding: 8px 7px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
  color: #d7dde8;
  text-align: right;
  white-space: nowrap;
}

.scorecard-tables th {
  color: #8fa1b7;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.scorecard-tables th:first-child,
.scorecard-tables td:first-child {
  text-align: left;
  white-space: normal;
}

.scorecard-tables small {
  display: block;
  margin-top: 2px;
  color: #8fa1b7;
  font-family: "Inter Tight", Arial, sans-serif;
  font-size: 10px;
  font-style: italic;
  font-weight: 750;
  line-height: 1.2;
}

.scorecard-tables td:nth-child(2) {
  color: #f7fbff;
  font-weight: 900;
}

@media (max-width: 1200px) {
  .user-stat-summary {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .season-grid,
  .innings-grid,
  .season-head,
  .live-score-grid,
  .match-controls,
  .match-score-head,
  .match-centre,
  .innings-break,
  .strategy-panel,
  .caps-grid,
  .user-stat-summary,
  .user-stats-grid,
  .scorecard-tables {
    grid-template-columns: 1fr;
  }

  .strategy-buttons {
    justify-content: stretch;
  }

  .strategy-buttons button {
    flex: 1 1 100px;
  }

  .innings-break em {
    text-align: left;
  }

  .match-score-head strong {
    text-align: left;
  }

  .worm-head,
  .worm-foot {
    display: grid;
    justify-content: stretch;
  }

  .worm-legend {
    justify-content: flex-start;
  }

  .worm-foot span:last-child {
    text-align: left;
  }

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

  .bid-status {
    grid-column: 1 / -1;
    order: -1;
  }
}

@media (max-width: 760px) {
  .reveal-hero {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .reveal-hero .bid-btn {
    width: 100%;
  }
}

/* ---------- Full-screen squad manager ---------- */

.manager-open {
  width: 100%;
  min-height: 38px;
  margin-bottom: 12px;
  background:
    linear-gradient(90deg, rgba(25, 242, 141, 0.16), transparent 64%),
    #080b12;
  color: #f7fbff;
  font-family: "Inter Tight", Arial, sans-serif;
  font-size: 11px;
  font-style: italic;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  box-shadow: inset 3px 0 0 #19f28d;
}

.manager-open:disabled {
  opacity: 0.38;
  cursor: not-allowed;
}

.squad-manager-panel {
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  opacity: 0;
  background: rgba(1, 2, 5, 0.72);
  transition: opacity 220ms ease;
}

.squad-manager-panel.is-open {
  pointer-events: auto;
  opacity: 1;
}

.manager-shell {
  position: absolute;
  inset: 18px;
  overflow: auto;
  padding: clamp(18px, 3vw, 34px);
  background:
    radial-gradient(circle at 82% 8%, rgba(25, 242, 141, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 32%),
    #020407;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.055),
    0 34px 110px rgba(0, 0, 0, 0.72);
  transform: translateX(32px);
  transition: transform 260ms cubic-bezier(0.16, 0.9, 0.24, 1);
}

.squad-manager-panel.is-open .manager-shell {
  transform: translateX(0);
}

.manager-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 18px;
  padding-bottom: 16px;
  box-shadow: inset 0 -2px 0 rgba(25, 242, 141, 0.24);
}

.manager-top h3 {
  margin-top: 3px;
  font-family: "Bebas Neue", "Inter Tight", Arial, sans-serif;
  font-size: clamp(44px, 7vw, 92px);
  font-weight: 400;
  line-height: 0.86;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.manager-top button {
  min-height: 40px;
  padding: 9px 16px;
  background: #ff347f;
  color: #fff;
  font-family: "Inter Tight", Arial, sans-serif;
  font-size: 11px;
  font-style: italic;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.manager-note {
  margin: 14px 0;
  color: #8fa1b7;
  font-family: "Inter Tight", Arial, sans-serif;
  font-size: 13px;
  font-style: italic;
  font-weight: 750;
}

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

.manager-role {
  min-width: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.028), transparent),
    #05070b;
  box-shadow: inset 4px 0 0 rgba(255, 255, 255, 0.12);
}

.manager-role-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 14px 10px;
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.06);
}

.manager-role-head h4 {
  color: #19f28d;
  font-family: "Bebas Neue", "Inter Tight", Arial, sans-serif;
  font-size: 30px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.manager-role-head span {
  color: #8fa1b7;
  font-family: "Inter Tight", Arial, sans-serif;
  font-size: 12px;
  font-style: italic;
  font-weight: 900;
}

.manager-role-list {
  display: grid;
  gap: 1px;
}

.manager-player {
  display: grid;
  grid-template-columns: 24px minmax(160px, 1fr) 46px repeat(2, 48px) repeat(3, minmax(118px, 0.8fr));
  gap: 8px;
  align-items: center;
  min-height: 64px;
  padding: 10px 12px;
  background: #080b12;
}

.manager-player[draggable="true"] {
  cursor: grab;
}

.manager-drag {
  color: #4c586a;
  font-family: "Inter Tight", Arial, sans-serif;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: -0.12em;
}

.manager-main {
  min-width: 0;
}

.manager-main strong {
  display: block;
  overflow: hidden;
  color: #f7fbff;
  font-family: "Bebas Neue", "Inter Tight", Arial, sans-serif;
  font-size: 25px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.03em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.manager-main span {
  display: block;
  overflow: hidden;
  color: #8fa1b7;
  font-family: "Inter Tight", Arial, sans-serif;
  font-size: 11px;
  font-style: italic;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.manager-form {
  display: grid;
  place-items: center;
  min-height: 28px;
  color: #f7fbff;
  font-family: "Inter Tight", Arial, sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 900;
}

.manager-form.is-hot {
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.32), transparent 34%),
    #ff6f1f;
  color: #120301;
}

.manager-form.is-cold {
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.42), transparent 34%),
    #22c8ff;
  color: #021016;
}

.manager-form.is-steady {
  background: transparent;
}

.manager-form.is-hot::before {
  content: "\1F525";
}

.manager-form.is-cold::before {
  content: "\2744";
}

.manager-player label {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #d7dde8;
  font-family: "Inter Tight", Arial, sans-serif;
  font-size: 11px;
  font-style: italic;
  font-weight: 900;
}

.manager-player select {
  width: 100%;
  min-height: 32px;
  border: 0;
  border-radius: 0;
  background: #020407;
  color: #d7dde8;
  font-family: "Inter Tight", Arial, sans-serif;
  font-size: 11px;
  font-style: italic;
  font-weight: 850;
  outline: 0;
}

@media (max-width: 1180px) {
  .manager-grid {
    grid-template-columns: 1fr;
  }

  .manager-player {
    grid-template-columns: 22px minmax(0, 1fr) 44px repeat(2, 44px);
  }

  .manager-player select {
    grid-column: 2 / -1;
  }
}

/* Compact manager pass */

.manager-shell {
  inset: 12px;
  overflow: hidden;
  padding: clamp(14px, 2vw, 22px);
}

.manager-top {
  align-items: center;
  padding-bottom: 10px;
}

.manager-top h3 {
  font-size: clamp(38px, 5vw, 68px);
}

.manager-note {
  margin: 9px 0 12px;
  font-size: 12px;
}

.manager-team-controls {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 10px;
}

.manager-team-controls > div {
  display: grid;
  gap: 7px;
  padding: 9px 10px;
  background:
    linear-gradient(90deg, rgba(25, 242, 141, 0.08), transparent 70%),
    #05070b;
  box-shadow: inset 3px 0 0 rgba(25, 242, 141, 0.42);
}

.manager-team-controls span {
  color: #8fa1b7;
  font-family: "Inter Tight", Arial, sans-serif;
  font-size: 10px;
  font-style: italic;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.manager-bench {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 10px;
  align-items: stretch;
  margin-bottom: 10px;
  padding: 9px 10px;
  background:
    linear-gradient(90deg, rgba(255, 182, 41, 0.09), transparent 72%),
    #05070b;
  box-shadow: inset 3px 0 0 rgba(255, 182, 41, 0.58);
}

.manager-bench-head {
  display: grid;
  align-content: center;
  gap: 3px;
}

.manager-bench-head span {
  color: #ffb629;
  font-family: "Inter Tight", Arial, sans-serif;
  font-size: 10px;
  font-style: italic;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.manager-bench-head small,
.manager-empty-bench {
  color: #8fa1b7;
  font-family: "Inter Tight", Arial, sans-serif;
  font-size: 10px;
  font-style: italic;
  font-weight: 800;
  line-height: 1.2;
}

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

.manager-reserve {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 40px;
  gap: 6px;
  align-items: center;
  min-height: 46px;
  padding: 7px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.04), transparent 70%),
    #080b12;
  cursor: grab;
  transition:
    transform 180ms cubic-bezier(0.16, 0.9, 0.24, 1),
    filter 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease,
    opacity 180ms ease;
}

.manager-reserve:hover {
  transform: translateY(-1px);
  box-shadow: inset 3px 0 0 rgba(255, 182, 41, 0.48);
}

.manager-reserve.is-dragging {
  opacity: 0.42;
  filter: saturate(0.55);
  transform: scale(0.985);
}

.manager-reserve.is-drop-target {
  transform: translateY(3px);
  background:
    linear-gradient(90deg, rgba(255, 182, 41, 0.18), transparent 70%),
    #0b1018;
  box-shadow:
    inset 3px 0 0 #ffb629,
    0 10px 26px rgba(0, 0, 0, 0.28);
}

.manager-reserve strong {
  display: block;
  overflow: hidden;
  color: #f7fbff;
  font-family: "Bebas Neue", "Inter Tight", Arial, sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.03em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.manager-reserve span {
  display: block;
  overflow: hidden;
  color: #8fa1b7;
  font-family: "Inter Tight", Arial, sans-serif;
  font-size: 9px;
  font-style: italic;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.manager-grid {
  height: calc(100vh - 302px);
  min-height: 0;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 9px;
}

.manager-role {
  min-height: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
}

.manager-role-head {
  padding: 9px 10px 7px;
}

.manager-role-head h4 {
  font-size: clamp(20px, 1.9vw, 26px);
}

.manager-role-list {
  min-height: 0;
  align-content: start;
  gap: 6px;
  padding: 7px;
}

.manager-player {
  grid-template-columns: 16px minmax(0, 1fr) 42px 36px;
  grid-template-areas:
    "drag main rating form"
    "drag flags flags flags"
    "drag bat bat bat"
    "drag bowl bowl bowl"
    "drag usage usage usage";
  gap: 5px 7px;
  min-height: 0;
  padding: 7px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.035), transparent 70%),
    #080b12;
  transition:
    transform 180ms cubic-bezier(0.16, 0.9, 0.24, 1),
    filter 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease,
  opacity 180ms ease;
}

.manager-player.is-batter-only {
  grid-template-areas:
    "drag main rating form"
    "drag flags flags flags"
    "drag bat bat bat";
}

.manager-player.is-bowler-only {
  grid-template-areas:
    "drag main rating form"
    "drag flags flags flags"
    "drag bowl bowl bowl"
    "drag usage usage usage";
}

.manager-player:hover {
  transform: translateY(-1px);
  box-shadow: inset 3px 0 0 rgba(25, 242, 141, 0.38);
}

.manager-player.is-dragging {
  opacity: 0.42;
  filter: saturate(0.55);
  transform: scale(0.985);
}

.manager-player.is-drop-target {
  transform: translateY(3px);
  background:
    linear-gradient(90deg, rgba(25, 242, 141, 0.16), transparent 70%),
    #0b1018;
  box-shadow:
    inset 3px 0 0 #19f28d,
    0 10px 26px rgba(0, 0, 0, 0.28);
}

.manager-drag {
  grid-area: drag;
  align-self: stretch;
  display: grid;
  place-items: center;
  width: 16px;
  background: rgba(255, 255, 255, 0.04);
  color: #6f7d90;
  letter-spacing: -0.2em;
}

.manager-main {
  grid-area: main;
}

.manager-main strong {
  font-size: clamp(18px, 1.7vw, 23px);
}

.manager-main span {
  font-size: 10px;
}

.manager-form {
  grid-area: form;
  min-height: 24px;
  font-size: 14px;
}

.manager-rating {
  grid-area: rating;
  display: grid;
  place-items: center;
  min-height: 32px;
  color: #030407;
  font-family: "Bebas Neue", "Inter Tight", Arial, sans-serif;
  font-size: 24px;
  line-height: 0.9;
}

.manager-rating small {
  display: block;
  color: rgba(3, 4, 7, 0.68);
  font-family: "Inter Tight", Arial, sans-serif;
  font-size: 7px;
  font-style: italic;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.manager-player label {
  min-height: 22px;
  justify-content: center;
  background: rgba(255, 255, 255, 0.055);
}

.manager-toggle {
  color: #8fa1b7;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.manager-toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.manager-toggle span {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
}

.manager-toggle:has(input:checked) {
  color: #030407;
  background: #ffb629;
  box-shadow: 0 0 16px rgba(255, 182, 41, 0.16);
}

.manager-toggle.is-keeper:has(input:checked) {
  color: #fff;
  background: #ff347f;
  box-shadow: 0 0 16px rgba(255, 52, 127, 0.16);
}

.manager-player label:first-of-type {
  grid-area: flags;
  justify-self: start;
  width: 46px;
}

.manager-player label:nth-of-type(2) {
  grid-area: flags;
  justify-self: start;
  width: 52px;
  margin-left: 52px;
}

.manager-choice {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  min-height: 26px;
  padding: 2px;
  background: #020407;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.055);
}

.manager-choice button {
  min-width: 0;
  padding: 0 4px;
  background: transparent;
  color: #8fa1b7;
  font-family: "Inter Tight", Arial, sans-serif;
  font-size: 9px;
  font-style: italic;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition:
    background 140ms ease,
    color 140ms ease,
    transform 140ms ease;
}

.manager-choice button:hover {
  color: #f7fbff;
  background: rgba(255, 255, 255, 0.07);
}

.manager-choice button.is-active {
  color: #030407;
  background: #19f28d;
  transform: translateY(-1px);
}

.manager-choice[data-choice="bat"] {
  grid-area: bat;
}

.manager-choice[data-choice="bowl"] {
  grid-area: bowl;
}

.manager-choice[data-choice="usage"] {
  grid-area: usage;
}

/* ---------- Splash overlays ---------- */

.splash-panel {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(18px, 4vw, 48px);
}

.splash-panel.is-open {
  display: flex;
}

.splash-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 22% 18%, rgba(25, 242, 141, 0.12), transparent 34%),
    rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(10px);
}

.splash-card {
  position: relative;
  width: min(680px, 100%);
  padding: clamp(24px, 4vw, 40px);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.065), transparent 38%),
    #04070d;
  box-shadow:
    inset 5px 0 0 #19f28d,
    inset 0 -1px 0 rgba(255, 255, 255, 0.08),
    0 28px 90px rgba(0, 0, 0, 0.62);
}

.splash-kicker {
  margin: 0 0 8px;
  color: #19f28d;
  font-family: "Inter Tight", Arial, sans-serif;
  font-size: 12px;
  font-style: italic;
  font-weight: 950;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.splash-card h2 {
  margin: 0;
  color: #f8fbff;
  font-family: "Bebas Neue", "Inter Tight", Arial, sans-serif;
  font-size: clamp(48px, 8vw, 86px);
  font-weight: 900;
  line-height: 0.88;
  text-transform: uppercase;
}

.splash-card.is-playoffs,
.splash-card.is-final,
.splash-card.is-champion {
  background:
    radial-gradient(circle at 86% 12%, rgba(255, 182, 41, 0.18), transparent 34%),
    linear-gradient(135deg, rgba(255, 182, 41, 0.12), transparent 42%),
    #04070d;
  box-shadow:
    inset 5px 0 0 #ffb629,
    inset 0 -3px 0 rgba(255, 182, 41, 0.44),
    0 28px 90px rgba(0, 0, 0, 0.62);
}

.splash-card.is-champion h2 {
  color: #ffb629;
}

.owner-dialogue {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 10px;
  margin: 12px 0 4px;
  padding: 12px 14px;
  background:
    linear-gradient(90deg, rgba(255, 182, 41, 0.18), transparent 72%),
    #05070b;
  box-shadow: inset 4px 0 0 #ffb629;
}

.owner-dialogue b,
.owner-dialogue span {
  font-family: "Inter Tight", Arial, sans-serif;
  font-size: 12px;
  font-style: italic;
  font-weight: 900;
}

.owner-dialogue b {
  color: #ffb629;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.owner-dialogue span {
  color: #f7fbff;
  line-height: 1.35;
}

.splash-list {
  display: grid;
  gap: 10px;
  margin-top: clamp(22px, 4vw, 34px);
}

.splash-list p {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  align-items: stretch;
  margin: 0;
  min-height: 54px;
  background:
    linear-gradient(90deg, rgba(25, 242, 141, 0.12), transparent 65%),
    rgba(255, 255, 255, 0.045);
}

.splash-list b {
  display: grid;
  place-items: center;
  color: #030407;
  background: #19f28d;
  font-family: "Bebas Neue", "Inter Tight", Arial, sans-serif;
  font-size: 26px;
  font-weight: 900;
  line-height: 1;
}

.splash-list span {
  align-self: center;
  padding: 10px 14px 10px 0;
  color: #dbe5f1;
  font-family: "Inter Tight", Arial, sans-serif;
  font-size: clamp(15px, 2vw, 18px);
  font-style: italic;
  font-weight: 850;
  line-height: 1.25;
}

.splash-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 24px;
}

.splash-actions .bid-btn {
  min-width: 180px;
}

.transition-backdrop {
  background:
    radial-gradient(circle at 50% 32%, rgba(34, 200, 255, 0.14), transparent 34%),
    radial-gradient(circle at 18% 78%, rgba(255, 182, 41, 0.10), transparent 30%),
    rgba(0, 0, 0, 0.82);
}

.transition-card {
  position: relative;
  display: grid;
  justify-items: center;
  width: min(560px, 100%);
  padding: clamp(30px, 5vw, 52px);
  text-align: center;
  background:
    linear-gradient(135deg, rgba(34, 200, 255, 0.10), transparent 40%),
    linear-gradient(225deg, rgba(255, 182, 41, 0.10), transparent 42%),
    #04070d;
  box-shadow:
    inset 0 4px 0 rgba(255, 255, 255, 0.08),
    inset 0 -4px 0 rgba(25, 242, 141, 0.38),
    0 28px 90px rgba(0, 0, 0, 0.70);
}

.transition-card h2 {
  margin: 0;
  color: #f8fbff;
  font-family: "Bebas Neue", "Inter Tight", Arial, sans-serif;
  font-size: clamp(46px, 7vw, 78px);
  font-weight: 900;
  line-height: 0.9;
  text-transform: uppercase;
}

.transition-spinner {
  position: relative;
  width: 86px;
  height: 86px;
  margin-bottom: 18px;
}

.transition-spinner::before,
.transition-spinner::after,
.transition-spinner span {
  position: absolute;
  inset: 0;
  content: "";
  border-radius: 50%;
}

.transition-spinner::before {
  border: 3px solid rgba(255, 255, 255, 0.10);
}

.transition-spinner::after {
  border: 3px solid transparent;
  border-top-color: #19f28d;
  border-right-color: rgba(25, 242, 141, 0.55);
  animation: transitionSpin 0.9s linear infinite;
}

.transition-spinner span:first-child {
  inset: 16px;
  border: 2px solid transparent;
  border-bottom-color: #22c8ff;
  border-left-color: rgba(34, 200, 255, 0.50);
  animation: transitionSpinReverse 1.2s linear infinite;
}

.transition-spinner span:last-child {
  inset: 34px;
  background: #ffb629;
  box-shadow: 0 0 22px rgba(255, 182, 41, 0.60);
}

.transition-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.transition-steps span {
  padding: 9px 12px;
  color: #9fb0c6;
  background: rgba(255, 255, 255, 0.055);
  font-family: "Inter Tight", Arial, sans-serif;
  font-size: 12px;
  font-style: italic;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  animation: transitionStep 1.5s ease-in-out infinite;
  animation-delay: calc(var(--step) * 0.18s);
}

@keyframes transitionSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes transitionSpinReverse {
  to {
    transform: rotate(-360deg);
  }
}

@keyframes transitionStep {
  0%,
  100% {
    color: #9fb0c6;
    background: rgba(255, 255, 255, 0.055);
  }
  42% {
    color: #f8fbff;
    background: rgba(25, 242, 141, 0.16);
  }
}

/* ---------- Leaderboard ---------- */

.leaderboard-view {
  width: 100%;
  display: grid;
  gap: 14px;
  padding: 6px 0;
}

.lb-submit-form {
  padding: 14px 16px;
  background:
    linear-gradient(90deg, rgba(25, 242, 141, 0.10), transparent 64%),
    rgba(5, 7, 11, 0.86);
  box-shadow: inset 4px 0 0 #19f28d;
}

.lb-submit-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.lb-name-input {
  min-height: 44px;
  padding: 8px 12px;
  border: 0;
  outline: 0;
  background: #020408;
  color: #f7fbff;
  font-family: "Inter Tight", Arial, sans-serif;
  font-size: 14px;
  font-style: italic;
  font-weight: 800;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.lb-name-input::placeholder {
  color: rgba(143, 161, 183, 0.55);
}

.lb-name-input:focus {
  box-shadow: inset 0 0 0 1px #19f28d;
}

.lb-score-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
  padding-top: 10px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.lb-score-preview span,
.lb-score-preview strong {
  font-family: "Inter Tight", Arial, sans-serif;
  font-size: 11px;
  font-style: italic;
  font-weight: 800;
  color: #8fa1b7;
}

.lb-score-preview strong {
  color: #ffb629;
}

.lb-submitted {
  display: grid;
  gap: 4px;
}

.lb-submitted strong {
  color: #19f28d;
  font-family: "Inter Tight", Arial, sans-serif;
  font-size: 13px;
  font-style: italic;
  font-weight: 900;
}

.lb-submitted em {
  color: #8fa1b7;
  font-family: "Inter Tight", Arial, sans-serif;
  font-size: 12px;
  font-style: italic;
  font-weight: 750;
}

.lb-list {
  display: grid;
  gap: 5px;
}

.lb-row {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) 70px;
  grid-template-rows: auto auto;
  gap: 2px 10px;
  align-items: center;
  min-height: 52px;
  padding: 8px 10px 8px 12px;
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--lb-accent, #8fa1b7) 10%, transparent), transparent 66%),
    #05070b;
  box-shadow:
    inset 4px 0 0 var(--lb-accent, rgba(255, 255, 255, 0.16)),
    inset 0 1px 0 color-mix(in srgb, var(--lb-accent, #8fa1b7) 12%, transparent);
}

.lb-row.is-user-entry {
  background:
    linear-gradient(90deg, rgba(25, 242, 141, 0.14), transparent 66%),
    #05070b;
  box-shadow:
    inset 4px 0 0 #19f28d,
    inset 0 1px 0 rgba(25, 242, 141, 0.18);
}

.lb-rank {
  grid-row: 1 / span 2;
  align-self: center;
  color: var(--lb-accent, #8fa1b7);
  font-family: "Bebas Neue", "Inter Tight", Arial, sans-serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  text-align: center;
  line-height: 1;
}

.lb-name {
  overflow: hidden;
  color: #f7fbff;
  font-family: "Bebas Neue", "Inter Tight", Arial, sans-serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.03em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.lb-score {
  grid-row: 1 / span 2;
  align-self: center;
  color: #ffb629;
  font-family: "Bebas Neue", "Inter Tight", Arial, sans-serif;
  font-size: 28px;
  font-weight: 400;
  line-height: 1;
  text-align: right;
  letter-spacing: 0.03em;
}

.lb-meta {
  overflow: hidden;
  color: #8fa1b7;
  font-family: "Inter Tight", Arial, sans-serif;
  font-size: 11px;
  font-style: italic;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lb-captain {
  display: block;
  margin-top: -2px;
  overflow: hidden;
  color: #6f7d90;
  font-family: "Inter Tight", Arial, sans-serif;
  font-size: 10px;
  font-style: italic;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lb-empty {
  min-height: 64px;
  display: grid;
  place-items: center;
  gap: 6px;
  padding: 16px;
  background:
    linear-gradient(90deg, rgba(143, 161, 183, 0.06), transparent 78%),
    rgba(5, 7, 11, 0.72);
  box-shadow: inset 4px 0 0 rgba(143, 161, 183, 0.28);
}

.lb-empty strong {
  display: block;
  color: #d7dde8;
  font-family: "Inter Tight", Arial, sans-serif;
  font-size: 12px;
  font-style: italic;
  font-weight: 900;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

.lb-empty em {
  display: block;
  color: #6f7d90;
  font-family: "Inter Tight", Arial, sans-serif;
  font-size: 12px;
  font-style: italic;
  font-weight: 750;
}

@media (max-width: 1280px) {
  .manager-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: auto;
  }
}

@media (max-width: 820px) {
  .manager-shell {
    overflow: auto;
  }

  .manager-team-controls {
    grid-template-columns: 1fr;
  }

  .manager-bench {
    grid-template-columns: 1fr;
  }

  .manager-bench-grid {
    grid-template-columns: 1fr;
  }

  .manager-grid {
    height: auto;
    grid-template-columns: 1fr;
  }

  .splash-card {
    padding: 22px;
  }

  .splash-list p {
    grid-template-columns: 40px 1fr;
  }

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

  .lb-row {
    grid-template-columns: 28px minmax(0, 1fr) 60px;
  }
}
