/*
! tailwindcss v3.3.2 | MIT License | https://tailwindcss.com
*/

/*
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)
*/

*,
::before,
::after {
  box-sizing: border-box;
  /* 1 */
  border-width: 0;
  /* 2 */
  border-style: solid;
  /* 2 */
  border-color: #e5e7eb;
  /* 2 */
}

::before,
::after {
  --tw-content: '';
}

/*
1. Use a consistent sensible line-height in all browsers.
2. Prevent adjustments of font size after orientation changes in iOS.
3. Use a more readable tab size.
4. Use the user's configured `sans` font-family by default.
5. Use the user's configured `sans` font-feature-settings by default.
6. Use the user's configured `sans` font-variation-settings by default.
*/

html {
  line-height: 1.5;
  /* 1 */
  -webkit-text-size-adjust: 100%;
  /* 2 */
  -moz-tab-size: 4;
  /* 3 */
  -o-tab-size: 4;
     tab-size: 4;
  /* 3 */
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  /* 4 */
  font-feature-settings: normal;
  /* 5 */
  font-variation-settings: normal;
  /* 6 */
}

/*
1. Remove the margin in all browsers.
2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.
*/

body {
  margin: 0;
  /* 1 */
  line-height: inherit;
  /* 2 */
}

/*
1. Add the correct height in Firefox.
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
3. Ensure horizontal rules are visible by default.
*/

hr {
  height: 0;
  /* 1 */
  color: inherit;
  /* 2 */
  border-top-width: 1px;
  /* 3 */
}

/*
Add the correct text decoration in Chrome, Edge, and Safari.
*/

abbr:where([title]) {
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
}

/*
Remove the default font size and weight for headings.
*/

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}

/*
Reset links to optimize for opt-in styling instead of opt-out.
*/

a {
  color: inherit;
  text-decoration: inherit;
}

/*
Add the correct font weight in Edge and Safari.
*/

b,
strong {
  font-weight: bolder;
}

/*
1. Use the user's configured `mono` font family by default.
2. Correct the odd `em` font sizing in all browsers.
*/

code,
kbd,
samp,
pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  /* 1 */
  font-size: 1em;
  /* 2 */
}

/*
Add the correct font size in all browsers.
*/

small {
  font-size: 80%;
}

/*
Prevent `sub` and `sup` elements from affecting the line height in all browsers.
*/

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/*
1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
3. Remove gaps between table borders by default.
*/

table {
  text-indent: 0;
  /* 1 */
  border-color: inherit;
  /* 2 */
  border-collapse: collapse;
  /* 3 */
}

/*
1. Change the font styles in all browsers.
2. Remove the margin in Firefox and Safari.
3. Remove default padding in all browsers.
*/

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  /* 1 */
  font-size: 100%;
  /* 1 */
  font-weight: inherit;
  /* 1 */
  line-height: inherit;
  /* 1 */
  color: inherit;
  /* 1 */
  margin: 0;
  /* 2 */
  padding: 0;
  /* 3 */
}

/*
Remove the inheritance of text transform in Edge and Firefox.
*/

button,
select {
  text-transform: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Remove default button styles.
*/

button,
[type='button'],
[type='reset'],
[type='submit'] {
  -webkit-appearance: button;
  /* 1 */
  background-color: transparent;
  /* 2 */
  background-image: none;
  /* 2 */
}

/*
Use the modern Firefox focus style for all focusable elements.
*/

:-moz-focusring {
  outline: auto;
}

/*
Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
*/

:-moz-ui-invalid {
  box-shadow: none;
}

/*
Add the correct vertical alignment in Chrome and Firefox.
*/

progress {
  vertical-align: baseline;
}

/*
Correct the cursor style of increment and decrement buttons in Safari.
*/

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}

/*
1. Correct the odd appearance in Chrome and Safari.
2. Correct the outline style in Safari.
*/

[type='search'] {
  -webkit-appearance: textfield;
  /* 1 */
  outline-offset: -2px;
  /* 2 */
}

/*
Remove the inner padding in Chrome and Safari on macOS.
*/

::-webkit-search-decoration {
  -webkit-appearance: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Change font properties to `inherit` in Safari.
*/

::-webkit-file-upload-button {
  -webkit-appearance: button;
  /* 1 */
  font: inherit;
  /* 2 */
}

/*
Add the correct display in Chrome and Safari.
*/

summary {
  display: list-item;
}

/*
Removes the default spacing and border for appropriate elements.
*/

blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
  margin: 0;
}

fieldset {
  margin: 0;
  padding: 0;
}

legend {
  padding: 0;
}

ol,
ul,
menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

/*
Prevent resizing textareas horizontally by default.
*/

textarea {
  resize: vertical;
}

/*
1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
2. Set the default placeholder color to the user's configured gray 400 color.
*/

input::-moz-placeholder, textarea::-moz-placeholder {
  opacity: 1;
  /* 1 */
  color: #9ca3af;
  /* 2 */
}

input::placeholder,
textarea::placeholder {
  opacity: 1;
  /* 1 */
  color: #9ca3af;
  /* 2 */
}

/*
Set the default cursor for buttons.
*/

button,
[role="button"] {
  cursor: pointer;
}

/*
Make sure disabled buttons don't get the pointer cursor.
*/

:disabled {
  cursor: default;
}

/*
1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
   This can trigger a poorly considered lint error in some tools but is included by design.
*/

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block;
  /* 1 */
  vertical-align: middle;
  /* 2 */
}

/*
Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
*/

img,
video {
  max-width: 100%;
  height: auto;
}

/* Make elements with the HTML hidden attribute stay hidden by default */

[hidden] {
  display: none;
}

@font-face {
  font-family: "StateWide-Bold";

  src: url(/assets/StateWideSoft-Bold-49ed176c2828d4e58390c70520fd33a11ad129f0ebe854fd3911138b976a8aba.ttf) format("truetype");
}

@font-face {
  font-family: "Bourgeois-Light";

  src: url(/assets/Bourgeois-Light-2f9426a9339816a3d4e64f4b84486e41d0ca5e650a62da78c3ebd73e79b07448.ttf) format("truetype");
}

@font-face {
  font-family: "Bourgeois-Medium";

  src: url(/assets/Bourgeois-Medium-24ee1308034d5e8ff3915cfa1ac34ff76daa16cc1e7a26b52e5efe77316c7298.ttf) format("truetype");
}

@font-face {
  font-family: "Bourgeois-Bold";

  src: url(/assets/Bourgeois-Bold-8ba3de02734f9b6d4257f89f31d16b130603b5a310f3947204fc7ed9f5b65d46.ttf) format("truetype");
}

*, ::before, ::after {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
}

::backdrop {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
}

:root {
  --primary-color: #e5e1e6;
  --secondary-color: #212322;
  --accent-red: #922e2e;
  --accent-blue: #147960;
  --font-statewide: "StateWide-Bold", sans-serif;
  --font-bourgeois: "Bourgeois-Bold", sans-serif;
}

body {
  background-color: #1a202c;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: palevioletred;
}

.button-admin {
  background-color: #c31c4a;
  width: 20rem;
  margin: auto;
}

.button-red {
  background-color: #c31c4a;
}

.card {
  grid-template-areas: "inner-div";
}

.repeated-card {
  grid-area: inner-div;
}

#cards-container {
  background-color: rgba(0, 0, 0, 0.7);
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  display: flex;
}

.cards {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  flex-direction: row;
  align-items: center;
  gap: 40px;
}

.flipCard {
  width: 300px;
  aspect-ratio: 5/7;
  animation-duration: 0.5s;
  animation-name: card-entry;
  animation-delay: 0.5s;
  animation-fill-mode: backwards;
}

.card-front,
.card-back {
  position: absolute;
  backface-visibility: hidden;
  aspect-ratio: 5/7;
  width: inherit;
  animation-duration: 0.5s;
  animation-delay: 1.5s;
  animation-fill-mode: backwards;
}

.card-back {
  transform: rotateY(0) rotateZ(0);
  animation-name: card-back-flip;
}

.card-front {
  transform: rotateY(180deg);
  animation-name: card-front-flip;
}

@keyframes card-entry {
  0% {
    opacity: 0;
    margin-top: 200px;
  }

  100% {
    opacity: 1;
    margin-top: 0px;
  }
}

@keyframes card-front-flip {
  0% {
    transform: rotateY(0deg);
  }

  100% {
    transform: rotateY(180deg);
  }
}

@keyframes card-back-flip {
  0% {
    transform: rotateY(180deg) rotateZ(50deg);
  }

  100% {
    transform: rotateY(0) rotateZ(0);
  }
}

@keyframes noticeEntryAnimation {
  from {
    opacity: 0;
    transform: translateX(60px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-notice {
  animation: noticeEntryAnimation 0.5s ease-in-out;
}

#preloader {
  background: #1a202c url(/assets/jinx_monkey-44af8aeb1d3811490e9da66d23a71cc9bbb95fd0b8e6a9b665c779d522f47a21.gif) no-repeat center center;
  height: 100vh;
  width: 100%;
  position: fixed;
  z-index: 100;
}

/* Start of Broadcast */

.broadcast-container {
  margin: 0 1.5rem 0 1.5rem;
  padding: 6rem 0 6rem 0;
  font-size: 18px;
}

.broadcast-container .title {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 2.5rem;
  width: 100%;
}

.broadcast-container .title h1 {
  font-size: 1.875rem;
  line-height: 2.25rem;
  --tw-text-opacity: 1;
  color: rgb(195 28 74 / var(--tw-text-opacity, 1));
  font-family: var(--font-statewide);
}

.broadcast-container .rounds {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.rounds h2 {
  font-family: var(--font-statewide);
  color: var(--accent-red);
  text-align: left;
}

.broadcast-container .table {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  padding: 1.5rem;
}

.jornada-selector {
  height: 60px;
  display: flex;
  justify-content: flex-start;
  align-content: center;
  align-items: center;
}

/* ========================= */

/* TABLE STYLING (UPDATED)   */

/* ========================= */

.table-container {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  margin-top: 2rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 2rem;
}

table th,
table td {
  padding: 1rem 2rem;
  font-size: 16px;
  text-align: center;
  vertical-align: middle;
}

table th {
  background-color: var(--accent-blue);
  color: white;
  font-family: var(--font-statewide);
  font-weight: bold;
  font-size: 24px;
}

table td {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--primary-color);
  font-family: var(--font-bourgeois);
  font-size: 20px;
}

td > * {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

td button,
td form,
td span {
  display: inline-flex;
  align-items: center;
}

.table-row {
  transition: background-color 0.3s ease-in-out;
}

.table-row:hover {
  background-color: rgba(0, 0, 0, 0.1);
}

/* ========================= */

/* CUSTOM SELECT STYLING     */

/* ========================= */

.custom-select {
  position: relative;
  display: inline-block;
  border: 1px solid var(--accent-blue);
  border-radius: 5px;
  background: transparent;
}

.custom-select select {
  appearance: none !important;
  -moz-appearance: none !important;
  -webkit-appearance: none !important;
  border: none;
  background: none;
  font-family: var(--font-bourgeois);
  font-size: 18px;
  color: var(--primary-color);
  padding: 0.3rem 1.8rem 0.3rem 0.5rem;
  /* right padding for arrow */
  width: auto;
  min-width: -moz-max-content;
  min-width: max-content;
  cursor: pointer;
}

.custom-select select:hover {
  border: none;
  /* border is on the wrapper */
}

.custom-select select option {
  font-family: var(--font-bourgeois);
  font-size: 16px;
  color: black;
}

.custom-select select option:hover {
  background-color: var(--accent-red);
  color: white;
}

.custom-select .arrow {
  position: absolute;
  right: 0.4rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  font-size: 0.8em;
  color: var(--primary-color);
}

/* =========================================================
   BATTLECRAFT LANDING PAGE
   ========================================================= */

.battlecraft-landing {
  --bc-pink: #f0185c;
  --bc-pink-bright: #ff2671;
  --bc-dark: #050914;
  --bc-blue: #101c2b;
  --mouse-x: 50%;
  --mouse-y: 40%;
  --scene-x: 0px;
  --scene-y: 0px;
  position: relative;
  width: 100%;
  min-height: 100svh;
  overflow: hidden;
  color: white;
  background: var(--bc-dark);
  isolation: isolate;
}

/* =========================================================
   BACKGROUND
   ========================================================= */

.landing-scene {
  position: absolute;
  inset: -2.5%;
  z-index: -5;
  background-image:
    linear-gradient(
      to bottom,
      rgba(3, 7, 14, 0.18) 0%,
      rgba(3, 7, 14, 0.05) 45%,
      rgba(3, 7, 14, 0.18) 100%
    ),
    var(--landing-bg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position:
    center,
    center bottom;
  transform: translate3d(var(--scene-x), var(--scene-y), 0) scale(1.05);
  transition: transform 180ms ease-out;
  will-change: transform;
}

/* Darkens the edges but leaves the center visible */

.landing-vignette {
  position: absolute;
  inset: 0;
  z-index: -4;
  pointer-events: none;
  background:
    radial-gradient(
      circle at 50% 42%,
      transparent 10%,
      rgba(4, 8, 17, 0.05) 38%,
      rgba(4, 8, 17, 0.55) 100%
    ),
    linear-gradient(
      90deg,
      rgba(3, 6, 13, 0.55) 0%,
      transparent 27%,
      transparent 73%,
      rgba(3, 6, 13, 0.55) 100%
    );
}

/* Tiny moving atmospheric dots */

.landing-particles {
  position: absolute;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  opacity: 0.3;
  background-image:
    radial-gradient(circle, rgba(255, 60, 125, 0.7) 1px, transparent 1px),
    radial-gradient(circle, rgba(255, 255, 255, 0.3) 1px, transparent 1px);
  background-size:
    180px 180px,
    270px 270px;
  background-position:
    20px 40px,
    90px 120px;
  animation: landingParticles 24s linear infinite;
}

@keyframes landingParticles {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(-180px);
  }
}

/* Mouse-following glow */

.landing-pointer-glow {
  position: absolute;
  left: var(--mouse-x);
  top: var(--mouse-y);
  width: 650px;
  height: 650px;
  z-index: -2;
  pointer-events: none;
  transform: translate(-50%, -50%);
  background: radial-gradient(
    circle,
    rgba(240, 24, 92, 0.1) 0%,
    rgba(240, 24, 92, 0.035) 32%,
    transparent 68%
  );
  filter: blur(12px);
}

/* =========================================================
   MAIN LAYOUT
   ========================================================= */

.landing-shell {
  position: relative;
  z-index: 2;
  width: min(1500px, calc(100% - 80px));
  min-height: 100svh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

/* =========================================================
   HEADER
   ========================================================= */

.landing-header {
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

/* Battlecraft Logo */

.battlecraft-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.battlecraft-logo__image {
  width: 64px;
  height: 64px;
  -o-object-fit: contain;
     object-fit: contain;
  transition:
    transform 250ms cubic-bezier(0.16, 1, 0.3, 1),
    filter 250ms ease;
}

.battlecraft-logo__image:hover {
  transform: scale(1.08) rotate(-3deg);
  filter: drop-shadow(0 0 10px rgba(240, 24, 92, 0.45))
    drop-shadow(0 0 24px rgba(240, 24, 92, 0.2));
}

/* Navigation */

.landing-nav {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.landing-nav__link {
  position: relative;
  padding: 0.65rem 1.2rem;
  border: 1px solid rgba(144, 171, 204, 0.19);
  border-radius: 999px;
  background: rgba(6, 13, 24, 0.5);
  -webkit-backdrop-filter: blur(12px);
          backdrop-filter: blur(12px);
  color: rgba(255, 255, 255, 0.82);
  font-family: var(--font-bourgeois);
  font-size: 1rem;
  transition:
    color 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.landing-nav__link:hover {
  color: white;
  background: rgba(240, 24, 92, 0.12);
  border-color: rgba(255, 38, 113, 0.5);
  transform: translateY(-2px);
  box-shadow:
    0 8px 30px rgba(0, 0, 0, 0.24),
    0 0 24px rgba(240, 24, 92, 0.08);
}

/* =========================================================
   HERO
   ========================================================= */

.landing-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: clamp(1rem, 2vh, 2rem) 0 clamp(4rem, 8vh, 7rem);
}

.landing-hero {
  width: min(1080px, 100%);
  text-align: center;
  margin-top: -2rem;
}

.landing-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  margin-bottom: 1.2rem;
  color: rgba(202, 217, 234, 0.62);
  font-family: var(--font-bourgeois);
  font-size: 0.95rem;
  letter-spacing: 0.35em;
}

.landing-eyebrow span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--bc-pink);
}

.landing-title {
  margin: 0;
  color: #f8fafc;
  font-family: var(--font-statewide);
  font-size: clamp(3rem, 6vw, 6.2rem);
  line-height: 0.93;
  letter-spacing: -0.055em;
  text-shadow: 0 4px 40px rgba(0, 0, 0, 0.4);
}

.landing-title span {
  display: block;
  color: var(--bc-pink);
  text-shadow: 0 0 35px rgba(240, 24, 92, 0.22);
}

.landing-description {
  width: 100%;
  margin: 1.5rem auto 0;
  color: rgba(225, 233, 243, 0.72);
  font-family: var(--font-bourgeois);
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  line-height: 1.55;
}

/* =========================================================
   LEAGUE SELECTOR
   ========================================================= */

.league-selector {
  position: relative;
  width: min(1050px, 100%);
  margin-top: clamp(2.5rem, 6vh, 5rem);
}

.league-selector::before {
  content: "";
  position: absolute;
  width: 85%;
  height: 180px;
  left: 50%;
  top: 30px;
  z-index: -1;
  transform: translateX(-50%);
  background: radial-gradient(
    ellipse at center,
    rgba(240, 24, 92, 0.14),
    transparent 68%
  );
  filter: blur(25px);
}

.league-selector__heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.8rem;
}

.league-selector__heading h2 {
  margin: 0;
  color: rgba(234, 241, 249, 0.8);
  font-family: var(--font-bourgeois);
  font-size: 0.95rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  white-space: nowrap;
}

.league-selector__line {
  width: 50px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--bc-pink));
}

.league-selector__line:last-child {
  transform: scaleX(-1);
}

/* Horizontal league connection */

.league-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(1rem, 3vw, 3.5rem);
  align-items: start;
}

.league-list::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 50px;
  left: 9%;
  right: 9%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(116, 150, 186, 0.15) 12%,
    rgba(255, 38, 113, 0.4) 50%,
    rgba(116, 150, 186, 0.15) 88%,
    transparent
  );
}

/* Individual league */

.league-option {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  color: white;
  text-decoration: none;
  transition:
    transform 260ms cubic-bezier(0.16, 1, 0.3, 1),
    filter 260ms ease;
}

.league-option:hover {
  transform: translateY(-8px);
}

.league-float {
  display: block;
  animation: leagueFloat 4.2s ease-in-out infinite;
  animation-delay: calc(var(--i) * -0.62s);
}

@keyframes leagueFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-9px);
  }
}

/* Icon container */

.league-icon-shell {
  position: relative;
  width: clamp(76px, 6vw, 105px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 28px;
  border: 1px solid rgba(137, 168, 202, 0.28);
  background: linear-gradient(
    145deg,
    rgba(23, 38, 55, 0.68),
    rgba(5, 11, 21, 0.72)
  );
  -webkit-backdrop-filter: blur(15px);
          backdrop-filter: blur(15px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 16px 45px rgba(0, 0, 0, 0.25);
  transition:
    transform 320ms cubic-bezier(0.16, 1, 0.3, 1),
    border-color 250ms ease,
    background 250ms ease,
    box-shadow 250ms ease;
}

.league-icon-glow {
  position: absolute;
  inset: -22px;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(240, 24, 92, 0.35),
    rgba(240, 24, 92, 0.06) 40%,
    transparent 68%
  );
  opacity: 0;
  transform: scale(0.6);
  transition:
    opacity 300ms ease,
    transform 300ms ease;
}

.league-logo {
  width: 52%;
  height: 52%;
  -o-object-fit: contain;
     object-fit: contain;
  filter: brightness(0) invert(1) drop-shadow(0 5px 10px rgba(0, 0, 0, 0.35));
  transition:
    transform 300ms cubic-bezier(0.16, 1, 0.3, 1),
    filter 300ms ease;
}

/* Different angle depending on icon */

.league-option:nth-child(odd):hover .league-icon-shell {
  transform: scale(1.14) rotate(-5deg);
}

.league-option:nth-child(even):hover .league-icon-shell {
  transform: scale(1.14) rotate(5deg);
}

/* Logo rotates very slightly the other direction */

.league-option:nth-child(odd):hover .league-logo {
  transform: scale(1.12) rotate(4deg);
}

.league-option:nth-child(even):hover .league-logo {
  transform: scale(1.12) rotate(-4deg);
}

.league-option:hover .league-icon-shell {
  border-color: rgba(255, 38, 113, 0.9);
  background: linear-gradient(
    145deg,
    rgba(84, 17, 44, 0.82),
    rgba(12, 15, 28, 0.82)
  );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.13),
    0 20px 60px rgba(0, 0, 0, 0.4),
    0 0 35px rgba(240, 24, 92, 0.32);
}

.league-option:hover .league-icon-glow {
  opacity: 1;
  transform: scale(1);
}

.league-option:hover .league-logo {
  filter: brightness(0) invert(1)
    drop-shadow(0 0 13px rgba(255, 255, 255, 0.35));
}

/* League text */

.league-code {
  margin-top: 1.2rem;
  font-family: var(--font-statewide);
  font-size: clamp(1rem, 1.5vw, 1.35rem);
  transition:
    color 200ms ease,
    transform 200ms ease;
}

.league-option:hover .league-code {
  color: var(--bc-pink-bright);
  transform: translateY(2px);
}

.league-enter {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.3rem;
  color: rgba(190, 206, 223, 0.42);
  font-family: var(--font-bourgeois);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  opacity: 0;
  transform: translateY(-4px);
  transition:
    opacity 180ms ease,
    transform 180ms ease,
    color 180ms ease;
}

.league-option:hover .league-enter {
  opacity: 1;
  color: rgba(255, 255, 255, 0.8);
  transform: translateY(0);
}

.league-enter__arrow {
  color: var(--bc-pink);
  transition: transform 180ms ease;
}

.league-option:hover .league-enter__arrow {
  transform: translate(2px, -2px);
}

/* Keyboard navigation */

.league-option:focus-visible {
  outline: none;
}

.league-option:focus-visible .league-icon-shell {
  outline: 2px solid var(--bc-pink);
  outline-offset: 5px;
  transform: scale(1.08);
}

/* =========================================================
   FOOTER
   ========================================================= */

.landing-footer {
  min-height: 70px;
  display: grid;
  grid-template-columns:
    1fr
    auto
    1fr;
  align-items: center;
  gap: 2rem;
  color: rgba(187, 207, 228, 0.4);
  font-family: var(--font-bourgeois);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.landing-footer > span:last-child {
  text-align: right;
}

.landing-footer__center {
  color: rgba(255, 255, 255, 0.6);
}

.landing-footer__center::before,
.landing-footer__center::after {
  content: "//";
  margin: 0 0.8rem;
  color: var(--bc-pink);
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 950px) {
  .landing-shell {
    width: min(100% - 36px, 900px);
  }

  .landing-header {
    min-height: 90px;
  }

  .landing-main {
    justify-content: flex-start;
    padding-top: 4rem;
  }

  .landing-hero {
    margin-top: 0;
  }

  .league-list {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 2.5rem;
  }

  .league-list::before {
    display: none;
  }

  .landing-footer {
    margin-top: 3rem;
  }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 650px) {
  .landing-shell {
    width: calc(100% - 28px);
  }

  .landing-header {
    padding: 1.2rem 0;
    flex-direction: column;
    gap: 1rem;
  }

  .landing-nav {
    width: 100%;
    justify-content: center;
    gap: 0.35rem;
  }

  .landing-nav__link {
    padding: 0.55rem 0.7rem;
    font-size: 0.78rem;
  }

  .landing-main {
    padding-top: 3rem;
  }

  .landing-eyebrow {
    gap: 0.55rem;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
  }

  .landing-title {
    font-size: clamp(2.8rem, 14vw, 4.3rem);
  }

  .landing-description {
    font-size: 1rem;
  }

  .league-selector {
    margin-top: 3rem;
  }

  .league-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.2rem 1rem;
  }

  .league-option:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  .league-selector__heading h2 {
    font-size: 0.75rem;
    letter-spacing: 0.18em;
  }

  .league-selector__line {
    width: 25px;
  }

  .landing-footer {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    padding: 2rem 0;
    text-align: center;
  }

  .landing-footer > span:last-child {
    text-align: center;
  }

  .landing-footer__center {
    order: -1;
  }
}

/* =========================================================
   REDUCED MOTION / ACCESSIBILITY
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
  .landing-particles,
  .league-float {
    animation: none;
  }

  .landing-scene {
    transform: scale(1.03) !important;
    transition: none;
  }

  .league-option,
  .league-icon-shell,
  .league-logo {
    transition-duration: 0.01ms;
  }
}

/* =========================================================
   LEAGUE LOGIN
   ========================================================= */

.league-login {
  --login-pink: #f0185c;
  --login-pink-light: #ff3978;
  --login-twitch: #9146ff;
  position: relative;
  width: 100%;
  min-height: 100svh;
  overflow: hidden;
  color: white;
  background: #050914;
  isolation: isolate;
}

/* =========================================================
   BACKGROUND
   ========================================================= */

.league-login__background {
  position: absolute;
  inset: -2%;
  z-index: -5;
  background-image: var(--login-bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.04);
  animation: loginBackground 14s ease-in-out infinite alternate;
}

@keyframes loginBackground {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }

  to {
    transform: scale(1.07) translate3d(-5px, -3px, 0);
  }
}

.league-login__vignette {
  position: absolute;
  inset: 0;
  z-index: -4;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      rgba(3, 7, 15, 0.82) 0%,
      rgba(3, 7, 15, 0.55) 38%,
      rgba(3, 7, 15, 0.15) 70%,
      rgba(3, 7, 15, 0.42) 100%
    ),
    linear-gradient(
      180deg,
      rgba(3, 7, 15, 0.3) 0%,
      transparent 40%,
      rgba(3, 7, 15, 0.65) 100%
    );
}

.league-login__glow {
  position: absolute;
  width: 850px;
  height: 850px;
  right: 3%;
  top: 50%;
  z-index: -3;
  transform: translateY(-50%);
  pointer-events: none;
  background: radial-gradient(
    circle,
    rgba(240, 24, 92, 0.16) 0%,
    rgba(240, 24, 92, 0.05) 34%,
    transparent 70%
  );
  filter: blur(30px);
}

/* =========================================================
   LAYOUT
   ========================================================= */

.league-login__container {
  width: min(1500px, calc(100% - 80px));
  min-height: 100svh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

/* =========================================================
   HEADER
   ========================================================= */

.league-login__header {
  min-height: 105px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.league-login__back {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: rgba(225, 236, 247, 0.6);
  font-family: var(--font-bourgeois);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  transition:
    color 180ms ease,
    transform 180ms ease;
}

.league-login__back span:first-child {
  color: var(--login-pink);
  font-size: 1.25rem;
  transition: transform 180ms ease;
}

.league-login__back:hover {
  color: white;
  transform: translateX(-3px);
}

.league-login__back:hover span:first-child {
  transform: translateX(-3px);
}

.league-login__status {
  color: rgba(214, 226, 239, 0.4);
  font-family: var(--font-statewide);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
}

/* =========================================================
   MAIN CONTENT
   ========================================================= */

.league-login__content {
  flex: 1;
  display: grid;
  grid-template-columns:
    minmax(0, 1.05fr)
    minmax(380px, 0.95fr);
  align-items: center;
  gap: clamp(3rem, 8vw, 9rem);
  padding: 2rem 4vw 5rem;
}

/* =========================================================
   INFO SIDE
   ========================================================= */

.league-login__info {
  width: min(680px, 100%);
}

.league-login__league-logo {
  width: min(400px, 72%);
  margin-bottom: clamp(2.5rem, 6vh, 5rem);
}

.league-login__logo {
  display: block;
  width: 100%;
  height: auto;
  -o-object-fit: contain;
     object-fit: contain;
  filter: brightness(0) invert(1) drop-shadow(0 10px 30px rgba(0, 0, 0, 0.35));
}

.league-login__eyebrow {
  margin-bottom: 0.8rem;
  color: var(--login-pink);
  font-family: var(--font-bourgeois);
  font-size: 0.8rem;
  letter-spacing: 0.28em;
}

.league-login__title {
  margin: 0;
  max-width: 650px;
  color: #f4f7fb;
  font-family: var(--font-statewide);
  font-size: clamp(2.6rem, 4vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.league-login__description {
  max-width: 620px;
  margin-top: 2rem;
  color: rgba(214, 226, 240, 0.72);
  font-family: var(--font-bourgeois);
  font-size: clamp(1rem, 1.25vw, 1.2rem);
  line-height: 1.6;
}

.league-login__description--secondary {
  margin-top: 0.8rem;
  color: rgba(181, 201, 222, 0.45);
}

/* =========================================================
   LOGIN AREA
   ========================================================= */

.league-login__actions {
  margin-top: 2.6rem;
}

.league-login__ready {
  margin-bottom: 0.8rem;
  color: rgba(230, 237, 245, 0.56);
  font-family: var(--font-bourgeois);
  font-size: 0.9rem;
}

.league-login__twitch {
  width: min(390px, 100%);
}

.league-login__twitch form {
  width: 100%;
}

.league-login__twitch-button {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1rem 1.25rem;
  border: 1px solid rgba(184, 142, 255, 0.4);
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(
    110deg,
    rgba(145, 70, 255, 0.92),
    rgba(99, 46, 184, 0.92)
  );
  color: white;
  font-family: var(--font-bourgeois);
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow:
    0 14px 40px rgba(33, 13, 68, 0.35),
    0 0 25px rgba(145, 70, 255, 0.1);
  transition:
    transform 220ms cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.league-login__twitch-button::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    rgba(255, 255, 255, 0.13),
    transparent 40%
  );
  transform: translateX(-100%);
  transition: transform 450ms cubic-bezier(0.16, 1, 0.3, 1);
}

.league-login__twitch-button:hover {
  transform: translateY(-4px) scale(1.015);
  border-color: rgba(202, 172, 255, 0.8);
  box-shadow:
    0 20px 50px rgba(28, 11, 58, 0.5),
    0 0 40px rgba(145, 70, 255, 0.24);
}

.league-login__twitch-button:hover::before {
  transform: translateX(100%);
}

.league-login__twitch-icon {
  width: 23px;
  height: 23px;
  -o-object-fit: contain;
     object-fit: contain;
}

.league-login__twitch-arrow {
  margin-left: auto;
  font-size: 1.25rem;
  transition: transform 180ms ease;
}

.league-login__twitch-button:hover .league-login__twitch-arrow {
  transform: translateX(5px);
}

.league-login__login-note {
  margin-top: 0.8rem;
  color: rgba(180, 198, 218, 0.35);
  font-family: var(--font-bourgeois);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}

/* =========================================================
   CARD VISUAL
   ========================================================= */

.league-login__visual {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
}

.league-login__card-wrapper {
  position: relative;
  z-index: 2;
  animation: loginCardFloat 5s ease-in-out infinite;
  transform-style: preserve-3d;
}

@keyframes loginCardFloat {
  0%,
  100% {
    transform: translateY(0) rotateY(-7deg) rotateZ(2deg);
  }

  50% {
    transform: translateY(-16px) rotateY(-2deg) rotateZ(-1deg);
  }
}

.league-login__card {
  display: block;
  width: clamp(230px, 22vw, 355px);
  aspect-ratio: 5 / 7;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 14px;
  box-shadow:
    0 40px 80px rgba(0, 0, 0, 0.58),
    0 0 50px rgba(240, 24, 92, 0.12);
  transition:
    transform 350ms cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 350ms ease;
}

.league-login__card-wrapper:hover .league-login__card {
  transform: scale(1.035);
  box-shadow:
    0 50px 100px rgba(0, 0, 0, 0.65),
    0 0 75px rgba(240, 24, 92, 0.24);
}

.league-login__card-glow {
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(240, 24, 92, 0.22),
    rgba(240, 24, 92, 0.05) 38%,
    transparent 68%
  );
  filter: blur(30px);
  animation: loginGlowPulse 4s ease-in-out infinite;
}

@keyframes loginGlowPulse {
  0%,
  100% {
    opacity: 0.55;
    transform: scale(0.9);
  }

  50% {
    opacity: 1;
    transform: scale(1.06);
  }
}

/* Decorative labels */

.league-login__visual-label {
  position: absolute;
  color: rgba(217, 230, 243, 0.3);
  font-family: var(--font-bourgeois);
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  writing-mode: vertical-rl;
}

.league-login__visual-label--top {
  right: 3%;
  top: 16%;
}

.league-login__visual-label--bottom {
  left: 4%;
  bottom: 14%;
  transform: rotate(180deg);
}

/* =========================================================
   FOOTER
   ========================================================= */

.league-login__footer {
  min-height: 65px;
  display: grid;
  grid-template-columns:
    1fr
    auto
    1fr;
  align-items: center;
  gap: 2rem;
  color: rgba(185, 204, 224, 0.32);
  font-family: var(--font-bourgeois);
  font-size: 0.65rem;
  letter-spacing: 0.24em;
}

.league-login__footer > span:last-child {
  text-align: right;
}

.league-login__footer-center {
  color: rgba(230, 237, 244, 0.47);
}

.league-login__footer-center::before,
.league-login__footer-center::after {
  content: "//";
  margin: 0 0.7rem;
  color: var(--login-pink);
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 950px) {
  .league-login__container {
    width: calc(100% - 40px);
  }

  .league-login__content {
    grid-template-columns: 1fr;
    padding: 4rem 2rem 5rem;
    gap: 4rem;
  }

  .league-login__info {
    margin: auto;
    text-align: center;
  }

  .league-login__league-logo {
    margin-left: auto;
    margin-right: auto;
  }

  .league-login__description {
    margin-left: auto;
    margin-right: auto;
  }

  .league-login__twitch {
    margin: auto;
  }

  .league-login__visual {
    min-height: auto;
    padding: 1rem 0 5rem;
  }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {
  .league-login__container {
    width: calc(100% - 28px);
  }

  .league-login__header {
    min-height: 80px;
  }

  .league-login__status {
    display: none;
  }

  .league-login__content {
    padding: 2rem 0 4rem;
  }

  .league-login__league-logo {
    width: min(280px, 80%);
    margin-bottom: 2.5rem;
  }

  .league-login__title {
    font-size: clamp(2.4rem, 11vw, 3.4rem);
  }

  .league-login__description {
    font-size: 1rem;
  }

  .league-login__visual {
    display: none;
  }

  .league-login__footer {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    padding: 2rem 0;
    text-align: center;
  }

  .league-login__footer > span:last-child {
    text-align: center;
  }

  .league-login__footer-center {
    order: -1;
  }
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
  .league-login__background,
  .league-login__card-wrapper,
  .league-login__card-glow {
    animation: none;
  }
}

/* =========================================================
   BROADCAST DASHBOARD 2.0
   ========================================================= */

.broadcast-dashboard {
  --broadcast-bg: #080e18;
  --broadcast-surface: rgba(13, 23, 38, 0.88);
  --broadcast-surface-hover: rgba(17, 30, 49, 0.96);
  --broadcast-surface-soft: rgba(24, 38, 58, 0.58);
  --broadcast-border: rgba(117, 151, 187, 0.17);
  --broadcast-border-bright: rgba(117, 151, 187, 0.32);
  --broadcast-pink: #ef175a;
  --broadcast-pink-bright: #ff3975;
  --broadcast-cyan: #33c8e6;
  --broadcast-green: #32d69a;
  --broadcast-yellow: #f5c451;
  --broadcast-red: #ff4c72;
  --broadcast-text: #eef5fb;
  --broadcast-muted: #7890aa;
  --broadcast-muted-light: #a8b9ca;
  min-height: 100vh;
  padding: 9rem clamp(1rem, 2vw, 2.5rem) 5rem;
  background:
    radial-gradient(circle at 8% 15%, rgba(239, 23, 90, 0.08), transparent 22%),
    radial-gradient(
      circle at 90% 35%,
      rgba(51, 200, 230, 0.055),
      transparent 25%
    ),
    #080e18;
  color: var(--broadcast-text);
  font-family: var(--font-bourgeois);
  font-size: 17px;
}

/* =========================================================
   NAV
   ========================================================= */

.broadcast-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: 84px;
  border-bottom: 1px solid var(--broadcast-border);
  background: rgba(7, 13, 23, 0.88);
  -webkit-backdrop-filter: blur(18px);
          backdrop-filter: blur(18px);
}

.broadcast-nav__inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 clamp(1rem, 2vw, 2.5rem);
  gap: 2rem;
}

.broadcast-nav__brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-shrink: 0;
}

.broadcast-nav__logo {
  width: 44px;
  height: 44px;
  -o-object-fit: contain;
     object-fit: contain;
}

.broadcast-nav__brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.broadcast-nav__brand-text span {
  color: white;
  font-family: var(--font-statewide);
  font-size: 1.05rem;
}

.broadcast-nav__brand-text small {
  margin-top: 0.35rem;
  color: var(--broadcast-muted);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.broadcast-nav__links {
  display: flex;
  align-items: stretch;
  height: 100%;
  gap: 0.25rem;
}

.broadcast-nav__link {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 1.1rem;
  color: #8fa4ba;
  font-size: 0.95rem;
  transition:
    color 180ms ease,
    background 180ms ease;
}

.broadcast-nav__link:hover {
  color: white;
  background: rgba(255, 255, 255, 0.025);
}

.broadcast-nav__link--active {
  color: white;
  background: linear-gradient(to top, rgba(239, 23, 90, 0.12), transparent 70%);
}

.broadcast-nav__link--active::after {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: 0;
  height: 2px;
  background: var(--broadcast-pink);
  box-shadow: 0 0 14px rgba(239, 23, 90, 0.7);
}

.broadcast-nav__actions {
  margin-left: auto;
}

.broadcast-nav__logout {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--broadcast-border);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.025);
  transition:
    background 180ms ease,
    border-color 180ms ease;
}

.broadcast-nav__logout:hover {
  border-color: rgba(239, 23, 90, 0.45);
  background: rgba(239, 23, 90, 0.08);
}

.broadcast-nav__logout img {
  width: 18px;
}

.broadcast-nav__mobile-trigger {
  display: none;
  margin-left: auto;
  color: white;
  font-size: 1.5rem;
}

/* =========================================================
   PAGE HEADER
   ========================================================= */

.broadcast-page-header {
  max-width: 1800px;
  margin: 0 auto 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: clamp(1rem, 2vw, 1.8rem) 0;
}

.broadcast-page-header__eyebrow {
  margin-bottom: 0.65rem;
  color: var(--broadcast-pink);
  font-size: 0.9rem;
  letter-spacing: 0.28em;
}

.broadcast-page-header h1 {
  margin: 0;
  color: white;
  font-family: var(--font-statewide);
  font-size: clamp(2.25rem, 3.4vw, 3.5rem);
  line-height: 1;
}

.broadcast-page-header h1 span {
  color: var(--broadcast-muted-light);
}

.broadcast-page-header__description {
  margin-top: 0.85rem;
  color: var(--broadcast-muted);
  font-size: 1.08rem;
  line-height: 1.5;
}

.broadcast-page-header__league img {
  width: 78px;
  max-height: 78px;
  -o-object-fit: contain;
     object-fit: contain;
  opacity: 0.2;
}

/* =========================================================
   PANELS
   ========================================================= */

.broadcast-panel,
.broadcast-control-panel,
.broadcast-live-match {
  max-width: 1800px;
  margin-left: auto;
  margin-right: auto;
  border: 1px solid var(--broadcast-border);
  border-radius: 14px;
  background: linear-gradient(
    145deg,
    rgba(14, 25, 41, 0.93),
    rgba(9, 16, 28, 0.94)
  );
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
}

.broadcast-panel {
  padding: clamp(1.25rem, 2vw, 1.8rem);
}

.broadcast-panel__header,
.broadcast-control-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.broadcast-panel__header p,
.broadcast-control-panel__header span {
  margin-top: 0.35rem;
  color: var(--broadcast-muted);
  font-size: 0.95rem;
  line-height: 1.45;
}

.broadcast-section-label {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--broadcast-pink);
  font-family: var(--font-statewide);
  font-size: 1rem;
  letter-spacing: 0.04em;
}

.broadcast-section-label__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--broadcast-pink);
  box-shadow: 0 0 12px rgba(239, 23, 90, 0.75);
}

/* =========================================================
   ROUND SELECTOR
   ========================================================= */

.broadcast-round-selector {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.broadcast-round-selector > span {
  color: var(--broadcast-muted);
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.broadcast-select,
.broadcast-input {
  min-height: 44px;
  border: 1px solid var(--broadcast-border-bright);
  border-radius: 8px;
  outline: none;
  background: #101b2b;
  color: var(--broadcast-text);
  padding: 0.6rem 2.5rem 0.6rem 0.9rem;
  font-family: var(--font-bourgeois);
  font-size: 1rem;
  transition:
    border-color 150ms ease,
    background 150ms ease,
    box-shadow 150ms ease;
}

.broadcast-select:hover,
.broadcast-input:hover {
  border-color: rgba(239, 23, 90, 0.45);
}

.broadcast-select:focus,
.broadcast-input:focus {
  border-color: var(--broadcast-pink);
  box-shadow: 0 0 0 3px rgba(239, 23, 90, 0.08);
}

.broadcast-select--small {
  max-width: 150px;
  min-height: 38px;
  font-size: 0.9rem;
}

.broadcast-select--full {
  width: 100%;
  max-width: none;
}

/* =========================================================
   MATCH TABLE
   ========================================================= */

.broadcast-table-wrapper {
  overflow-x: auto;
  border: 1px solid rgba(117, 151, 187, 0.1);
  border-radius: 10px;
}

.broadcast-match-table {
  width: 100%;
  margin: 0;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: auto;
}

.broadcast-match-table th {
  padding: 1rem 1.2rem;
  background: rgba(26, 43, 65, 0.68);
  color: #7289a1;
  font-family: var(--font-bourgeois);
  font-size: 0.82rem;
  font-weight: 600;
  text-align: left;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-bottom: 1px solid var(--broadcast-border);
}

.broadcast-match-table td {
  padding: 1.15rem 1.2rem;
  background: rgba(10, 18, 30, 0.45);
  color: var(--broadcast-muted-light);
  font-family: var(--font-bourgeois);
  font-size: 1rem;
  line-height: 1.4;
  text-align: left;
  border-bottom: 1px solid rgba(117, 151, 187, 0.07);
  vertical-align: middle;
}

.broadcast-match-table tbody tr:last-child td {
  border-bottom: none;
}

.broadcast-match-row {
  transition: background 160ms ease;
}

.broadcast-match-row:hover td {
  background: rgba(22, 36, 55, 0.7);
}

.broadcast-match-row--selected td {
  background: rgba(239, 23, 90, 0.055);
  border-top: 1px solid rgba(239, 23, 90, 0.3);
  border-bottom: 1px solid rgba(239, 23, 90, 0.3);
}

.broadcast-match-name {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.broadcast-match-name span {
  color: var(--broadcast-pink);
  font-size: 0.82rem;
}

.broadcast-match-name strong {
  color: white;
  font-weight: 500;
  font-size: 1.05rem;
}

.broadcast-team-tag {
  color: white;
  font-family: var(--font-statewide);
  font-size: 1rem;
}

.broadcast-lobby {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.broadcast-lobby code {
  color: var(--broadcast-muted-light);
  font-size: 0.92rem;
}

/* =========================================================
   STATUS
   ========================================================= */

.broadcast-status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.42rem 0.7rem;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.broadcast-status > span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.broadcast-status--finished {
  background: rgba(50, 214, 154, 0.08);
  color: var(--broadcast-green);
}

.broadcast-status--finished > span {
  background: var(--broadcast-green);
  box-shadow: 0 0 8px rgba(50, 214, 154, 0.7);
}

.broadcast-status--live {
  background: rgba(255, 76, 114, 0.1);
  color: var(--broadcast-red);
}

.broadcast-status--live > span {
  background: var(--broadcast-red);
  animation: broadcastLivePulse 1.3s ease-in-out infinite;
}

@keyframes broadcastLivePulse {
  0%,
  100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(255, 76, 114, 0.3);
  }

  50% {
    opacity: 0.75;
    box-shadow: 0 0 0 5px rgba(255, 76, 114, 0);
  }
}

.broadcast-status--waiting {
  color: var(--broadcast-yellow);
  background: rgba(245, 196, 81, 0.08);
}

.broadcast-status--idle {
  color: var(--broadcast-muted);
  background: rgba(117, 151, 187, 0.07);
}

/* =========================================================
   BUTTONS
   ========================================================= */

.broadcast-action-button,
.broadcast-mini-button,
.broadcast-start-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0.5rem 0.9rem;
  border: 1px solid var(--broadcast-border-bright);
  border-radius: 7px;
  background: rgba(20, 34, 52, 0.75);
  color: var(--broadcast-text);
  font-family: var(--font-bourgeois);
  font-size: 0.9rem !important;
  cursor: pointer;
  transition:
    transform 150ms ease,
    background 150ms ease,
    border-color 150ms ease;
}

.broadcast-action-button:hover,
.broadcast-mini-button:hover {
  transform: translateY(-1px);
  border-color: rgba(239, 23, 90, 0.5);
  background: rgba(239, 23, 90, 0.07);
}

.broadcast-action-button--primary {
  border-color: rgba(239, 23, 90, 0.45);
  color: #ff6391;
  background: rgba(239, 23, 90, 0.08);
}

.broadcast-action-button--danger {
  color: #ff6c87;
}

.broadcast-action-button--success {
  border-color: rgba(50, 214, 154, 0.38);
  background: rgba(50, 214, 154, 0.075);
  color: var(--broadcast-green);
}

.broadcast-action-button--success:hover {
  border-color: rgba(50, 214, 154, 0.7);
  background: rgba(50, 214, 154, 0.12);
}

.broadcast-start-button {
  border-color: rgba(50, 214, 154, 0.35);
  background: rgba(50, 214, 154, 0.08);
  color: var(--broadcast-green);
}

.broadcast-inline-action {
  color: var(--broadcast-muted);
  font-size: 0.95rem !important;
  transition: color 150ms ease;
}

.broadcast-inline-action:hover {
  color: var(--broadcast-pink);
}

.broadcast-danger-link {
  margin-top: 0.3rem;
  color: var(--broadcast-red);
  font-size: 0.82rem !important;
}

.broadcast-row-actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.broadcast-mvp {
  color: #f2cf63;
}

/* =========================================================
   INLINE EDITING
   ========================================================= */

.broadcast-inline-form {
  margin-top: 0.5rem;
}

.broadcast-inline-form form {
  display: flex;
  gap: 0.4rem;
}

.broadcast-inline-form .broadcast-input {
  max-width: 200px;
}

.broadcast-status-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.broadcast-force-end {
  margin-top: 0.45rem;
}

/* =========================================================
   WORKSPACE
   ========================================================= */

.broadcast-control-workspace {
  max-width: 1800px;
  margin: 2.5rem auto 0;
}

.broadcast-workspace-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 2rem 0;
  color: var(--broadcast-muted);
  font-size: 0.82rem;
  letter-spacing: 0.22em;
}

.broadcast-workspace-divider span {
  height: 1px;
  flex: 1;
  background: linear-gradient(
    90deg,
    transparent,
    var(--broadcast-border-bright)
  );
}

.broadcast-workspace-divider span:last-child {
  transform: scaleX(-1);
}

/* =========================================================
   LIVE MATCH
   ========================================================= */

.broadcast-live-match {
  overflow: hidden;
}

.broadcast-live-match__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 1.7rem;
  border-bottom: 1px solid var(--broadcast-border);
  background: linear-gradient(100deg, rgba(239, 23, 90, 0.06), transparent 35%);
}

.broadcast-live-match__header h2 {
  margin-top: 0.45rem;
  color: white;
  font-family: var(--font-statewide);
  font-size: clamp(1.55rem, 2.2vw, 2rem);
}

.broadcast-live-match__header h2 span {
  color: var(--broadcast-pink);
}

.broadcast-live-match__meta {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 0.8rem;
  color: var(--broadcast-muted);
  font-size: 0.95rem;
}

.broadcast-meta-divider {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--broadcast-muted);
}

.broadcast-live-match__body {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 1.5rem;
}

.broadcast-live-match [data-broadcast-target~="liveControls"] {
  padding: 0;
}

/* =========================================================
   CONTROL PANELS
   ========================================================= */

.broadcast-control-panel {
  width: 100%;
  padding: 1.4rem;
  border: 1px solid var(--broadcast-border);
  border-radius: 12px;
  background: linear-gradient(
    145deg,
    rgba(15, 26, 42, 0.84),
    rgba(9, 17, 29, 0.88)
  );
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.broadcast-control-panel__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.broadcast-control-panel__header > div:first-child {
  min-width: 0;
}

.broadcast-control-panel__header span {
  display: block;
  margin-top: 0.3rem;
  color: var(--broadcast-muted);
  font-size: 0.75rem;
  line-height: 1.4;
}

.broadcast-control-panel__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  flex-shrink: 0;
}

/* =========================================================
   SCENE / DRAFT
   ========================================================= */

.broadcast-scene-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.1rem 1.2rem;
  border: 1px solid rgba(239, 23, 90, 0.16);
  border-radius: 9px;
  background: linear-gradient(
    90deg,
    rgba(239, 23, 90, 0.055),
    rgba(239, 23, 90, 0.015)
  );
}

.broadcast-scene-action__info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.broadcast-scene-action__info strong {
  color: white;
  font-size: 1.05rem;
  font-weight: 600;
}

.broadcast-scene-action__info span {
  color: var(--broadcast-muted);
  font-size: 0.88rem;
  line-height: 1.4;
}

/* =========================================================
   CHAMPION SELECT
   ========================================================= */

.broadcast-champion-select-form {
  width: 100%;
}

.broadcast-champion-select-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.broadcast-champion-select-toolbar__force {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.broadcast-champion-select-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.broadcast-team-panel {
  min-width: 0;
  padding: 1.2rem;
  border: 1px solid var(--broadcast-border);
  border-radius: 10px;
  background: rgba(6, 13, 23, 0.46);
}

.broadcast-team-panel--blue {
  border-left: 2px solid rgba(51, 200, 230, 0.78);
  box-shadow: inset 20px 0 40px rgba(51, 200, 230, 0.018);
}

.broadcast-team-panel--red {
  border-left: 2px solid rgba(239, 23, 90, 0.82);
  box-shadow: inset 20px 0 40px rgba(239, 23, 90, 0.022);
}

.broadcast-team-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.8rem;
  margin-bottom: 0.4rem;
  border-bottom: 1px solid var(--broadcast-border);
}

.broadcast-team-panel__side {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--broadcast-muted);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
}

.broadcast-team-panel__side-dot {
  width: 7px;
  height: 7px;
  flex-shrink: 0;
  border-radius: 2px;
}

.broadcast-team-panel--blue .broadcast-team-panel__side-dot {
  background: var(--broadcast-cyan);
  box-shadow: 0 0 8px rgba(51, 200, 230, 0.65);
}

.broadcast-team-panel--red .broadcast-team-panel__side-dot {
  background: var(--broadcast-pink);
  box-shadow: 0 0 8px rgba(239, 23, 90, 0.65);
}

.broadcast-team-panel__header strong {
  overflow: hidden;
  color: white;
  font-family: var(--font-statewide);
  font-size: 1rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.broadcast-team-panel__roles {
  display: flex;
  flex-direction: column;
}

.broadcast-cs-role {
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(117, 151, 187, 0.065);
}

.broadcast-cs-role:last-child {
  border-bottom: none;
}

.broadcast-cs-role > label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--broadcast-muted-light);
  font-size: 0.88rem;
}

.broadcast-cs-role__fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
}

.broadcast-cs-field {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 0.25rem;
}

.broadcast-cs-field__label {
  color: var(--broadcast-muted);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

/* =========================================================
   HUD SEGMENTED CONTROL
   ========================================================= */

.broadcast-segmented-control {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.45rem;
}

.broadcast-segmented-control form {
  width: 100%;
}

.broadcast-segmented-control__button {
  width: 100%;
  min-height: 48px;
  padding: 0.5rem 0.6rem;
  border: 1px solid var(--broadcast-border);
  border-radius: 8px;
  background: rgba(15, 27, 43, 0.7);
  color: var(--broadcast-muted-light);
  font-family: var(--font-bourgeois);
  font-size: 0.92rem !important;
  cursor: pointer;
  transition:
    transform 150ms ease,
    border-color 150ms ease,
    background 150ms ease,
    color 150ms ease,
    box-shadow 150ms ease;
}

.broadcast-segmented-control__button:hover {
  transform: translateY(-1px);
  border-color: rgba(239, 23, 90, 0.42);
  background: rgba(239, 23, 90, 0.055);
  color: white;
}

.broadcast-segmented-control__button--primary {
  border-color: rgba(239, 23, 90, 0.52);
  background: rgba(239, 23, 90, 0.1);
  color: var(--broadcast-pink-bright);
  box-shadow: inset 0 0 22px rgba(239, 23, 90, 0.025);
}

/* =========================================================
   INGAME PANEL TILES
   ========================================================= */

.broadcast-panel-tiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.broadcast-panel-tiles form {
  width: 100%;
}

.broadcast-panel-tile {
  width: 100%;
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.15rem;
  border: 1px solid var(--broadcast-border);
  border-radius: 10px;
  background: rgba(15, 27, 43, 0.58);
  color: white;
  font-family: var(--font-bourgeois);
  cursor: pointer;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.broadcast-panel-tile:hover {
  transform: translateY(-2px);
  border-color: rgba(239, 23, 90, 0.4);
  background: rgba(239, 23, 90, 0.052);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.16);
}

.broadcast-panel-tile__content {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-width: 0;
}

.broadcast-panel-tile__icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 8px;
  background: rgba(239, 23, 90, 0.09);
  color: var(--broadcast-pink);
  font-size: 1.25rem;
}

.broadcast-panel-tile__content div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  gap: 0.15rem;
}

.broadcast-panel-tile__content strong {
  color: white;
  font-size: 1rem;
  font-weight: 600;
}

.broadcast-panel-tile__content div span {
  color: var(--broadcast-muted);
  margin-top: 0.15rem;
  font-size: 0.82rem;
  text-align: left;
}

.broadcast-panel-tile__arrow {
  flex-shrink: 0;
  color: var(--broadcast-muted);
  font-size: 1.6rem;
  transition:
    transform 180ms ease,
    color 180ms ease;
}

.broadcast-panel-tile:hover .broadcast-panel-tile__arrow {
  transform: translateX(3px);
  color: var(--broadcast-pink);
}

/* =========================================================
   ADVANCED PRODUCTION GRID
   ========================================================= */

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

.broadcast-production-grid .broadcast-control-panel {
  max-width: none;
  margin: 0;
}

/* =========================================================
   TOOL CONTROLS
   ========================================================= */

.broadcast-tool-info {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
  color: var(--broadcast-muted);
  font-size: 0.82rem;
}

.broadcast-tool-info code {
  padding: 0.25rem 0.45rem;
  border: 1px solid rgba(51, 200, 230, 0.1);
  border-radius: 5px;
  background: rgba(51, 200, 230, 0.035);
  color: var(--broadcast-cyan);
  font-family: monospace;
  font-size: 0.8rem;
}

.broadcast-tool-controls {
  display: flex;
  align-items: flex-end;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.broadcast-tool-form {
  display: flex;
  align-items: flex-end;
  gap: 0.55rem;
}

.broadcast-tool-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.broadcast-tool-field label {
  color: var(--broadcast-muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* =========================================================
   TEAMFIGHT DAMAGE
   ========================================================= */

.broadcast-empty-state {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-height: 105px;
  padding: 1.1rem;
  border: 1px dashed var(--broadcast-border-bright);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.012);
}

.broadcast-empty-state__icon {
  flex-shrink: 0;
  color: var(--broadcast-muted);
  font-size: 1.6rem;
}

.broadcast-empty-state > div {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.broadcast-empty-state strong {
  color: var(--broadcast-muted-light);
  font-size: 0.95rem;
}

.broadcast-empty-state div span {
  color: var(--broadcast-muted);
  font-size: 0.82rem;
}

.broadcast-teamfight-controls {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.broadcast-teamfight-form {
  display: flex;
  align-items: flex-end;
  gap: 0.6rem;
}

.broadcast-teamfight-form .broadcast-tool-field {
  min-width: 0;
  flex: 1;
}

.broadcast-teamfight-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

/* =========================================================
   DVR
   ========================================================= */

.broadcast-dvr {
  border-color: rgba(51, 200, 230, 0.18);
  background: linear-gradient(
    145deg,
    rgba(12, 25, 41, 0.88),
    rgba(8, 17, 29, 0.9)
  );
}

.broadcast-dvr-clock {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  flex-shrink: 0;
  gap: 0.2rem;
}

.broadcast-dvr-clock span {
  margin: 0;
  color: var(--broadcast-muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.broadcast-dvr-clock strong {
  color: var(--broadcast-cyan);
  font-family: var(--font-statewide);
  font-size: 1.9rem;
  letter-spacing: 0.04em;
  text-shadow: 0 0 20px rgba(51, 200, 230, 0.25);
}

.broadcast-dvr-playback {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--broadcast-border);
  border-radius: 9px;
  background: rgba(7, 15, 25, 0.4);
}

.broadcast-dvr-playback__buttons {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

/* =========================================================
   DVR TOGGLE
   ========================================================= */

.broadcast-toggle {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
  color: var(--broadcast-muted-light);
  font-size: 0.88rem;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

.broadcast-toggle input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.broadcast-toggle__indicator {
  position: relative;
  width: 34px;
  height: 18px;
  flex-shrink: 0;
  border-radius: 999px;
  background: rgba(117, 151, 187, 0.25);
  transition:
    background 180ms ease,
    box-shadow 180ms ease;
}

.broadcast-toggle__indicator::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  left: 3px;
  top: 3px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  transition: transform 180ms ease;
}

.broadcast-toggle input:checked + .broadcast-toggle__indicator {
  background: rgba(50, 214, 154, 0.55);
  box-shadow: 0 0 12px rgba(50, 214, 154, 0.12);
}

.broadcast-toggle input:checked + .broadcast-toggle__indicator::after {
  transform: translateX(16px);
}

.broadcast-toggle input:focus-visible + .broadcast-toggle__indicator {
  outline: 2px solid var(--broadcast-cyan);
  outline-offset: 2px;
}

/* =========================================================
   DVR CARDS
   ========================================================= */

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

.broadcast-dvr-card {
  min-width: 0;
  padding: 1.1rem;
  border: 1px solid var(--broadcast-border);
  border-radius: 9px;
  background: rgba(7, 15, 25, 0.34);
}

.broadcast-dvr-card__header {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin-bottom: 0.8rem;
}

.broadcast-dvr-card__header strong {
  color: white;
  font-size: 1rem;
}

.broadcast-dvr-card__header span {
  color: var(--broadcast-muted);
  font-size: 0.82rem;
}

.broadcast-dvr-form {
  display: flex;
  align-items: flex-end;
  gap: 0.55rem;
}

.broadcast-dvr-form .broadcast-tool-field {
  min-width: 0;
  flex: 1;
}

.broadcast-dvr-form .broadcast-input {
  width: 100%;
  max-width: none;
}

/* =========================================================
   FORM NORMALIZATION
   ========================================================= */

.broadcast-control-panel form {
  margin: 0;
}

.broadcast-control-panel button:disabled,
.broadcast-control-panel input[type="submit"]:disabled {
  opacity: 0.45;
  cursor: wait;
  transform: none !important;
}

/* =========================================================
   LIVE MATCH BUTTON OVERRIDES
   ========================================================= */

.broadcast-live-match .broadcast-action-button {
  min-height: 34px;
  padding: 0.4rem 0.75rem;
  border: 1px solid var(--broadcast-border-bright);
  border-radius: 7px;
  background: rgba(20, 34, 52, 0.75);
  color: var(--broadcast-text);
  font-family: var(--font-bourgeois);
  font-size: 0.7rem !important;
  cursor: pointer;
}

.broadcast-live-match .broadcast-action-button--primary {
  border-color: rgba(239, 23, 90, 0.45);
  background: rgba(239, 23, 90, 0.08);
  color: #ff6391;
}

.broadcast-live-match .broadcast-action-button--success {
  border-color: rgba(50, 214, 154, 0.38);
  background: rgba(50, 214, 154, 0.075);
  color: var(--broadcast-green);
}

.broadcast-live-match .broadcast-action-button--danger {
  color: #ff6c87;
}

/* =========================================================
   LIVE MATCH INPUTS
   ========================================================= */

.broadcast-live-match .broadcast-select {
  width: auto;
  min-height: 42px;
  border: 1px solid var(--broadcast-border-bright);
  border-radius: 7px;
  background: #101b2b;
  color: var(--broadcast-text);
  padding: 0.55rem 2.2rem 0.55rem 0.8rem;
  font-family: var(--font-bourgeois);
  font-size: 0.92rem;
}

.broadcast-live-match .broadcast-select--full {
  width: 100%;
}

.broadcast-live-match .broadcast-input {
  min-height: 42px;
  border: 1px solid var(--broadcast-border-bright);
  border-radius: 7px;
  outline: none;
  background: #101b2b;
  color: var(--broadcast-text);
  padding: 0.55rem 0.8rem;
  font-family: var(--font-bourgeois);
  font-size: 0.92rem;
}

.broadcast-live-match .broadcast-input::-moz-placeholder {
  color: rgba(120, 144, 170, 0.55);
}

.broadcast-live-match .broadcast-input::placeholder {
  color: rgba(120, 144, 170, 0.55);
}

/* =========================================================
   MOBILE NAV
   ========================================================= */

.broadcast-mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  padding: 1.3rem;
  background: #080e18;
  transform: translateX(100%);
  transition: transform 250ms cubic-bezier(0.16, 1, 0.3, 1);
}

.broadcast-mobile-menu--open {
  transform: translateX(0);
}

.broadcast-mobile-menu__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.broadcast-mobile-menu__close {
  color: white;
  font-size: 2rem;
}

.broadcast-mobile-menu__links {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-top: 3rem;
}

.broadcast-mobile-menu__link {
  padding: 0.95rem 1rem;
  border-radius: 8px;
  color: var(--broadcast-muted-light);
  font-size: 1.1rem;
}

.broadcast-mobile-menu__link--active {
  color: white;
  background: rgba(239, 23, 90, 0.1);
  border-left: 2px solid var(--broadcast-pink);
}

.broadcast-mobile-menu__logout {
  margin-top: 3rem;
  color: var(--broadcast-red);
  font-size: 1.1rem;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1100px) {
  .broadcast-nav__links {
    gap: 0;
  }

  .broadcast-nav__link {
    padding: 0 0.7rem;
    font-size: 0.86rem;
  }

  .broadcast-champion-select-grid,
  .broadcast-production-grid,
  .broadcast-dvr-grid {
    grid-template-columns: 1fr;
  }

  .broadcast-champion-select-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .broadcast-champion-select-toolbar__force {
    width: 100%;
  }

  .broadcast-segmented-control {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .broadcast-nav__links,
  .broadcast-nav__actions {
    display: none;
  }

  .broadcast-nav__mobile-trigger {
    display: block;
  }

  .broadcast-mobile-menu {
    display: block;
  }

  .broadcast-dashboard {
    padding-top: 6.8rem;
  }

  .broadcast-page-header {
    align-items: flex-start;
  }

  .broadcast-page-header__league {
    display: none;
  }

  .broadcast-panel__header {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 650px) {
  .broadcast-dashboard {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    font-size: 16px;
  }

  .broadcast-page-header {
    margin-bottom: 1rem;
  }

  .broadcast-page-header h1 {
    font-size: clamp(1.55rem, 8vw, 2.2rem);
  }

  .broadcast-panel {
    padding: 0.85rem;
  }

  .broadcast-live-match__header {
    padding: 1rem;
  }

  .broadcast-live-match__body {
    padding: 0.75rem;
    gap: 0.75rem;
  }

  .broadcast-control-panel {
    padding: 0.85rem;
  }

  .broadcast-control-panel__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
  }

  .broadcast-control-panel__actions {
    width: 100%;
  }

  .broadcast-scene-action {
    flex-direction: column;
    align-items: flex-start;
  }

  .broadcast-scene-action form {
    width: 100%;
  }

  .broadcast-scene-action .broadcast-action-button {
    width: 100%;
  }

  .broadcast-champion-select-toolbar__force {
    width: 100%;
    flex-direction: column;
  }

  .broadcast-champion-select-toolbar__force button {
    width: 100%;
  }

  .broadcast-cs-role__fields {
    grid-template-columns: 1fr;
  }

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

  .broadcast-panel-tiles {
    grid-template-columns: 1fr;
  }

  .broadcast-tool-controls,
  .broadcast-tool-form,
  .broadcast-teamfight-form,
  .broadcast-dvr-form {
    align-items: stretch;
    flex-direction: column;
  }

  .broadcast-dvr-playback {
    flex-direction: column;
    align-items: flex-start;
  }

  .broadcast-dvr-playback__buttons {
    width: 100%;
  }

  .broadcast-dvr-clock {
    align-items: flex-start;
  }

  .broadcast-match-table {
    min-width: 980px;
  }
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
  .broadcast-status--live > span {
    animation: none;
  }

  .broadcast-action-button,
  .broadcast-mini-button,
  .broadcast-start-button,
  .broadcast-panel-tile,
  .broadcast-segmented-control__button,
  .broadcast-nav__link,
  .broadcast-nav__logout {
    transition: none;
  }
}
