:root {
  color-scheme: dark;
  --red: #ff2434;
  --gold: #d6ad42;
  --green: #39d463;
  --blue: #4c9cff;
  --text: #f5f6f7;
  --muted: #a9b0b7;
  --panel: rgba(15, 18, 21, .82);
  --line: rgba(255, 255, 255, .12);
}

/* Pitwall account screen: final account gate layout. */
.auth-shell {
  width: min(1880px, 100%);
  margin: 0 auto;
  align-items: center;
  grid-template-columns: minmax(620px, 1.05fr) minmax(480px, .72fr);
}

.auth-hero {
  min-height: min(820px, calc(100vh - 86px));
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: clamp(34px, 4vw, 58px);
}

.auth-copy {
  position: relative;
  z-index: 2;
  width: min(720px, 100%);
  padding-top: 46px;
}

.auth-copy .kicker {
  margin: 0;
}

.auth-copy h1 {
  margin: 24px 0 16px;
  font-size: clamp(58px, 7vw, 116px);
  line-height: .88;
  letter-spacing: 0;
}

.auth-copy p:not(.kicker) {
  max-width: 650px;
  margin: 0;
  color: #f1f4f6;
  font-size: 16px;
  line-height: 1.72;
  text-shadow: 0 10px 32px rgba(0, 0, 0, .7);
}

.auth-lmu-card {
  position: relative;
  z-index: 2;
  width: min(590px, 100%);
  margin-top: auto;
  padding: 18px;
  border: 1px solid rgba(41, 170, 255, .44);
  border-left: 4px solid #29aaff;
  border-radius: 9px;
  background:
    linear-gradient(135deg, rgba(17, 46, 68, .62), rgba(4, 8, 12, .88)),
    rgba(3, 7, 10, .84);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 16px 38px rgba(0, 0, 0, .38);
}

.auth-lmu-card span,
.auth-lmu-link-box span {
  display: block;
  color: #96a2ad;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.auth-lmu-card strong {
  display: block;
  margin-top: 8px;
  color: #fff;
  font-size: clamp(22px, 2.3vw, 34px);
  font-style: italic;
  font-weight: 950;
  text-transform: uppercase;
}

.auth-lmu-card small,
.auth-lmu-link-box small {
  display: block;
  margin-top: 6px;
  color: #c6d0d8;
  line-height: 1.45;
}

.auth-lmu-card button,
.auth-lmu-link-box button {
  margin-top: 14px;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid rgba(41, 170, 255, .58);
  border-radius: 8px;
  background: rgba(10, 28, 42, .74);
  color: #8bd3ff;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.auth-lmu-card button:hover,
.auth-lmu-link-box button:hover {
  border-color: rgba(255, 255, 255, .38);
  color: #fff;
}

.auth-lmu-link-box button:disabled {
  opacity: .44;
  cursor: not-allowed;
}

.auth-access-strip {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.auth-access-strip article {
  min-height: 126px;
  padding: 17px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 9px;
  background:
    linear-gradient(145deg, rgba(9, 13, 17, .9), rgba(3, 5, 7, .94)),
    rgba(6, 8, 10, .88);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}

.auth-access-strip article.is-open {
  border-color: rgba(57, 212, 99, .48);
  background:
    linear-gradient(145deg, rgba(13, 42, 24, .52), rgba(3, 5, 7, .94)),
    rgba(6, 8, 10, .88);
}

.auth-access-strip article.is-locked {
  border-color: rgba(255, 36, 52, .5);
}

.auth-access-strip span {
  display: inline-flex;
  width: 38px;
  height: 31px;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  font-weight: 950;
}

.auth-access-strip strong,
.auth-access-strip small {
  display: block;
  text-transform: uppercase;
}

.auth-access-strip strong {
  margin-top: 18px;
  color: #fff;
  font-size: 18px;
  font-weight: 950;
}

.auth-access-strip small {
  margin-top: 8px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}

.auth-panel {
  min-height: 620px;
  align-self: center;
  padding: clamp(24px, 2.4vw, 34px);
}

.auth-panel header strong {
  font-size: clamp(30px, 3vw, 42px);
}

.auth-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.auth-form input,
.auth-form select {
  width: 100%;
  min-height: 50px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 8px;
  background: rgba(2, 5, 8, .82);
  color: #fff;
  padding: 0 14px;
  font-size: 15px;
  font-weight: 850;
  outline: none;
}

.auth-form select {
  appearance: auto;
}

.auth-form input:focus,
.auth-form select:focus {
  border-color: rgba(76, 156, 255, .62);
  box-shadow: 0 0 0 3px rgba(76, 156, 255, .1);
}

.auth-form input.is-invalid {
  border-color: rgba(255, 43, 50, .82);
  box-shadow: 0 0 0 3px rgba(255, 43, 50, .12);
}

.auth-lmu-link-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 15px;
  border: 1px solid rgba(41, 170, 255, .28);
  border-radius: 9px;
  background: rgba(12, 30, 44, .25);
}

.auth-lmu-link-box strong {
  display: block;
  margin-top: 7px;
  color: #fff;
  font-size: 18px;
  font-style: italic;
  font-weight: 950;
  text-transform: uppercase;
}

.auth-request-box {
  border-color: rgba(255, 36, 52, .28);
  background: linear-gradient(135deg, rgba(70, 8, 12, .28), rgba(4, 7, 9, .7));
}

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

  .auth-hero {
    min-height: auto;
  }

  .auth-panel {
    min-height: auto;
  }
}

@media (max-width: 760px) {
  .auth-copy h1 {
    font-size: 56px;
  }

  .auth-access-strip,
  .auth-form-grid,
  .auth-lmu-link-box {
    grid-template-columns: 1fr;
  }
}

.auth-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: -2px;
}

.auth-form .auth-remember {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 10px;
  color: #d8dee4;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.auth-form .auth-remember input {
  width: 18px;
  min-height: 18px;
  flex: 0 0 18px;
  padding: 0;
  accent-color: var(--red);
}

.auth-form .auth-remember span {
  color: #d8dee4;
}

.auth-link-button {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(41, 170, 255, .35);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(8, 25, 39, .82), rgba(5, 8, 12, .9));
  color: #8bd3ff;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.auth-link-button:hover {
  border-color: rgba(41, 170, 255, .72);
  color: #fff;
  box-shadow: 0 0 18px rgba(41, 170, 255, .12);
}

@media (max-width: 760px) {
  .auth-options {
    align-items: stretch;
    flex-direction: column;
  }

  .auth-link-button {
    width: 100%;
  }
}

.auth-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: -2px;
}

.auth-form .auth-remember {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 10px;
  color: #d8dee4;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.auth-form .auth-remember input {
  width: 18px;
  min-height: 18px;
  flex: 0 0 18px;
  accent-color: var(--red);
}

.auth-form .auth-remember span {
  color: #d8dee4;
}

.auth-link-button {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(41, 170, 255, .35);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(8, 25, 39, .82), rgba(5, 8, 12, .9));
  color: #8bd3ff;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.auth-link-button:hover {
  border-color: rgba(41, 170, 255, .72);
  color: #fff;
  box-shadow: 0 0 18px rgba(41, 170, 255, .12);
}

@media (max-width: 760px) {
  .auth-options {
    align-items: stretch;
    flex-direction: column;
  }

  .auth-link-button {
    width: 100%;
  }
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  overflow: hidden;
  background: #050607;
  color: var(--text);
  font-family: Inter, Segoe UI, Roboto, Arial, sans-serif;
}

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

.home-shell {
  width: 100vw;
  height: 100vh;
  min-width: 980px;
  min-height: 680px;
  background: #050607;
}

.hero {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg,
.hero-vignette {
  position: absolute;
  inset: 0;
}

.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.01);
  filter: saturate(1.08) contrast(1.04);
  z-index: -3;
}

.hero-vignette {
  background:
    radial-gradient(circle at 68% 44%, rgba(20, 28, 36, .06), rgba(2, 3, 4, .72) 72%),
    linear-gradient(90deg, rgba(1, 2, 3, .96), rgba(5, 7, 9, .52) 33%, rgba(5, 7, 9, .32) 63%, rgba(2, 3, 4, .76)),
    linear-gradient(0deg, rgba(0, 0, 0, .94), rgba(0, 0, 0, .08) 42%, rgba(0, 0, 0, .56));
  z-index: -2;
}

.brand-bar {
  position: absolute;
  top: 26px;
  left: 42px;
  right: 42px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  z-index: 3;
}

.brand-mark {
  grid-column: 2;
  display: flex;
  align-items: center;
  gap: 18px;
  text-align: center;
  text-transform: uppercase;
}

.home-pronostics-link {
  position: relative;
  grid-column: 1;
  align-self: start;
  justify-self: start;
  display: grid;
  gap: 4px;
  min-width: 286px;
  padding: 13px 16px 14px 18px;
  border: 1px solid rgba(255, 36, 52, .36);
  border-radius: 9px;
  background:
    linear-gradient(110deg, rgba(115, 12, 19, .42), rgba(6, 8, 11, .7) 58%, rgba(214, 173, 66, .12)),
    rgba(3, 5, 7, .46);
  box-shadow:
    0 18px 48px rgba(0, 0, 0, .34),
    inset 0 1px 0 rgba(255, 255, 255, .08);
  overflow: hidden;
  backdrop-filter: blur(14px);
  transform: skewX(-8deg);
}

.home-pronostics-link::before,
.home-pronostics-link::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.home-pronostics-link::before {
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 36, 52, .9) 0 3px, transparent 3px),
    linear-gradient(90deg, transparent, rgba(255, 255, 255, .08), transparent);
  transform: translateX(-112%);
  opacity: .72;
  transition: transform .42s ease;
}

.home-pronostics-link::after {
  right: 12px;
  bottom: 12px;
  width: 42px;
  height: 8px;
  background:
    linear-gradient(120deg, transparent 0 18%, var(--red) 18% 34%, transparent 34% 45%, var(--red) 45% 61%, transparent 61% 72%, var(--gold) 72% 100%);
  opacity: .88;
}

.home-pronostics-link > * {
  position: relative;
  transform: skewX(8deg);
}

.home-pronostics-link span {
  color: var(--red);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.home-pronostics-link strong {
  color: #fff;
  font-size: 19px;
  line-height: 1;
  font-weight: 950;
  text-transform: uppercase;
  text-shadow: 0 0 22px rgba(255, 36, 52, .34);
}

.home-pronostics-link small {
  color: #d8dde2;
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.home-pronostics-link:hover,
.home-pronostics-link:focus-visible {
  border-color: rgba(214, 173, 66, .68);
  box-shadow:
    0 0 0 1px rgba(214, 173, 66, .14),
    0 18px 54px rgba(0, 0, 0, .38),
    0 0 30px rgba(255, 36, 52, .22);
  outline: none;
}

.home-pronostics-link:hover::before,
.home-pronostics-link:focus-visible::before {
  transform: translateX(112%);
}

.brand-line {
  display: block;
  width: 58px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.brand-mark strong {
  display: block;
  font-size: clamp(28px, 3.8vw, 46px);
  line-height: .9;
  font-style: italic;
  letter-spacing: 0;
}

.brand-mark strong span {
  color: #ffffff;
}

.brand-mark strong em {
  color: var(--red);
  font-style: italic;
}

.brand-mark small {
  display: block;
  margin-top: 8px;
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: none;
}

.core-pills {
  justify-self: end;
  display: flex;
  gap: 7px;
  align-items: center;
}

.core-pills span,
.core-pills button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 50px;
  height: 24px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  background: rgba(5, 7, 9, .48);
  color: #7f8992;
  font-family: inherit;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  backdrop-filter: blur(12px);
}

.core-pills button {
  cursor: pointer;
}

.core-pills button:disabled {
  cursor: default;
}

.core-pills span.is-ok,
.core-pills button.is-ok {
  color: var(--green);
  border-color: rgba(57, 212, 99, .38);
}

.core-pills span.is-warn,
.core-pills button.is-warn {
  color: var(--gold);
  border-color: rgba(214, 173, 66, .4);
}

.core-pills .update-chip[hidden] {
  display: none !important;
}

.core-pills .update-chip {
  position: relative;
  min-width: 82px;
  padding: 0 11px 0 20px;
  border-color: rgba(255, 255, 255, .16);
  background:
    radial-gradient(circle at 11px 50%, rgba(255, 255, 255, .18), transparent 36%),
    rgba(5, 7, 9, .52);
  color: #a2abb5;
  font-size: 10px;
  text-transform: uppercase;
  box-shadow: none;
}

.core-pills .update-chip.is-current {
  border-color: rgba(57, 212, 99, .42);
  background:
    radial-gradient(circle at 11px 50%, rgba(57, 212, 99, .26), transparent 38%),
    linear-gradient(135deg, rgba(7, 38, 20, .52), rgba(5, 7, 9, .62));
  color: var(--green);
}

.core-pills .update-chip.is-current::before {
  background: var(--green);
  box-shadow: 0 0 8px rgba(57, 212, 99, .72);
}

.core-pills .update-chip::before {
  content: "";
  position: absolute;
  left: 10px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #6b7480;
  box-shadow: 0 0 7px rgba(255, 255, 255, .24);
}

.core-pills .update-chip.is-available {
  min-width: 110px;
  border-color: rgba(57, 212, 99, .68);
  background:
    radial-gradient(circle at 11px 50%, rgba(57, 212, 99, .42), transparent 38%),
    linear-gradient(135deg, rgba(16, 70, 34, .66), rgba(5, 7, 9, .72));
  color: var(--green);
  box-shadow:
    0 0 0 1px rgba(57, 212, 99, .1),
    0 0 20px rgba(57, 212, 99, .24);
  animation: updateChipPulse 1.05s ease-in-out infinite;
}

.core-pills .update-chip.is-available::before {
  background: var(--green);
  box-shadow: 0 0 10px rgba(57, 212, 99, .95);
}

.core-pills .update-chip.is-ready {
  border-color: rgba(57, 212, 99, .9);
  color: #d8ffe2;
}

.core-pills .update-chip.has-error {
  border-color: rgba(255, 46, 74, .55);
  color: var(--red);
}

.core-pills .update-chip.has-error::before {
  background: var(--red);
  box-shadow: 0 0 9px rgba(255, 46, 74, .78);
}

@keyframes updateChipPulse {
  0%,
  100% {
    opacity: .72;
    box-shadow:
      0 0 0 1px rgba(57, 212, 99, .08),
      0 0 12px rgba(57, 212, 99, .18);
  }
  50% {
    opacity: 1;
    box-shadow:
      0 0 0 1px rgba(57, 212, 99, .28),
      0 0 28px rgba(57, 212, 99, .46);
  }
}

.account-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 98px;
  height: 28px;
  padding: 0 12px;
  border: 1px solid rgba(76, 156, 255, .34);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(76, 156, 255, .12), rgba(5, 7, 9, .58)),
    rgba(5, 7, 9, .5);
  color: #dce9ff;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
  cursor: default;
  pointer-events: none;
  user-select: none;
}

.account-chip.is-connected {
  border-color: rgba(57, 212, 99, .44);
  color: var(--green);
}

.admin-gear[hidden] {
  display: none !important;
}

.admin-gear {
  position: relative;
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 36, 52, .56);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 255, 255, .13), transparent 34%),
    linear-gradient(145deg, rgba(95, 12, 18, .78), rgba(6, 7, 9, .76));
  color: #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .42), 0 0 22px rgba(255, 36, 52, .28);
  backdrop-filter: blur(12px);
}

.admin-gear::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: inherit;
  border: 1px solid rgba(214, 173, 66, .18);
  opacity: .78;
}

.admin-gear svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .22s ease, color .22s ease;
}

.admin-gear:hover,
.admin-gear:focus-visible {
  color: var(--gold);
  border-color: rgba(214, 173, 66, .76);
  box-shadow: 0 0 0 1px rgba(214, 173, 66, .22), 0 0 28px rgba(255, 36, 52, .38);
  outline: none;
}

.admin-gear:hover svg,
.admin-gear:focus-visible svg {
  transform: rotate(72deg);
}

.hero-copy {
  position: absolute;
  left: clamp(34px, 4.6vw, 74px);
  top: clamp(92px, 14.6vh, 155px);
  width: min(560px, 46vw);
  z-index: 2;
}

.kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 16px;
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.kicker span {
  width: 22px;
  height: 10px;
  background:
    linear-gradient(120deg, transparent 0 20%, var(--red) 20% 36%, transparent 36% 48%, var(--red) 48% 64%, transparent 64% 76%, var(--red) 76% 100%);
}

.hero-copy h1 {
  margin: 0;
  color: #f8f8f8;
  font-size: clamp(40px, 4.45vw, 62px);
  line-height: .96;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow: 0 12px 34px rgba(0, 0, 0, .55);
}

.hero-copy h1 em {
  display: inline-block;
  color: var(--gold);
  font-style: normal;
}

.intro {
  margin: 18px 0 0;
  width: min(330px, 100%);
  color: #c7cdd2;
  font-size: 15px;
  line-height: 1.65;
  text-shadow: 0 6px 24px #000;
}

.race-stripes {
  display: flex;
  gap: 5px;
  margin-top: 24px;
}

.race-stripes i {
  width: 18px;
  height: 4px;
  transform: skewX(-28deg);
  background: var(--red);
}

.race-stripes i:nth-child(4),
.race-stripes i:nth-child(5) {
  background: var(--gold);
}

.race-clock {
  position: absolute;
  top: clamp(122px, 19vh, 154px);
  left: 36.5%;
  display: grid;
  justify-items: center;
  gap: 5px;
  width: 292px;
  padding: 14px 16px 16px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 10px;
  background:
    linear-gradient(145deg, rgba(8, 11, 14, .78), rgba(4, 6, 8, .54)),
    radial-gradient(circle at 50% 0%, rgba(214, 173, 66, .18), transparent 62%);
  box-shadow:
    0 18px 56px rgba(0, 0, 0, .34),
    inset 0 1px 0 rgba(255, 255, 255, .08);
  backdrop-filter: blur(14px);
  z-index: 2;
}

.race-clock::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .08), transparent);
  opacity: .42;
  pointer-events: none;
}

.clock-label {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--gold);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.clock-label i {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--red);
  box-shadow: 0 0 14px rgba(255, 36, 52, .72);
  animation: dotPulse 1s ease-in-out infinite;
}

.race-clock strong {
  position: relative;
  display: flex;
  align-items: baseline;
  justify-content: center;
  color: #fff;
  font-family: Consolas, Monaco, monospace;
  font-size: 48px;
  line-height: 1;
  font-weight: 950;
  letter-spacing: 0;
  text-shadow: 0 0 20px rgba(214, 173, 66, .28);
}

.race-clock strong small {
  margin-left: 2px;
  color: var(--gold);
  font-size: 25px;
}

#realDate {
  position: relative;
  color: #9fa8af;
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.discord-hero-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 36px;
  margin-top: 6px;
  border: 1px solid rgba(88, 101, 242, .72);
  border-radius: 7px;
  background:
    linear-gradient(135deg, rgba(88, 101, 242, .36), rgba(88, 101, 242, .13)),
    rgba(4, 6, 8, .62);
  color: #f4f6ff;
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
  box-shadow: 0 0 26px rgba(88, 101, 242, .22);
}

.discord-hero-link:hover {
  border-color: rgba(142, 151, 255, .9);
  background:
    linear-gradient(135deg, rgba(88, 101, 242, .52), rgba(88, 101, 242, .18)),
    rgba(4, 6, 8, .72);
}

.discord-hero-link svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.control-screen {
  position: absolute;
  top: clamp(78px, 11vh, 112px);
  right: clamp(34px, 5vw, 78px);
  width: clamp(390px, 37vw, 540px);
  min-height: 178px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(8, 11, 14, .95), rgba(10, 13, 16, .84)),
    linear-gradient(90deg, rgba(214, 173, 66, .08), rgba(255, 36, 52, .05));
  box-shadow:
    0 24px 80px rgba(0, 0, 0, .38),
    inset 0 1px 0 rgba(255, 255, 255, .08);
  overflow: hidden;
  backdrop-filter: blur(16px);
  z-index: 2;
}

.info-board {
  min-height: 0;
}

.info-board::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 36, 52, .12), transparent);
  transform: translateX(-120%);
  animation: boardSweep 5.2s ease-in-out infinite;
  pointer-events: none;
}

.info-board::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, var(--red), var(--gold), transparent);
  box-shadow: 0 0 20px rgba(255, 36, 52, .45);
}

.screen-sheen {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(110deg, transparent, rgba(255, 255, 255, .08), transparent 46%),
    radial-gradient(circle at 78% 8%, rgba(76, 156, 255, .16), transparent 38%);
  opacity: .38;
  pointer-events: none;
  animation: sheenDrift 7s ease-in-out infinite;
}

.screen-head,
.screen-body,
.screen-feed {
  position: relative;
}

.screen-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.screen-head span {
  display: block;
  margin-bottom: 4px;
  color: var(--gold);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

.screen-head strong {
  display: block;
  color: #f5f6f7;
  font-size: 20px;
  line-height: 1;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.screen-head p {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  min-height: 24px;
  padding: 0 9px;
  border: 1px solid rgba(214, 173, 66, .34);
  border-radius: 999px;
  color: var(--gold);
  background: rgba(4, 6, 8, .55);
  font-size: 10px;
  font-weight: 950;
  text-transform: uppercase;
}

.board-status {
  display: grid;
  justify-items: end;
  gap: 7px;
}

.race-lights {
  display: flex;
  gap: 5px;
  padding: 4px 6px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 999px;
  background: rgba(2, 4, 6, .52);
}

.race-lights i {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #27070a;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
  animation: raceLight 3.2s steps(1, end) infinite;
}

.race-lights i:nth-child(2) {
  animation-delay: .18s;
}

.race-lights i:nth-child(3) {
  animation-delay: .36s;
}

.race-lights i:nth-child(4) {
  animation-delay: .54s;
}

.race-lights i:nth-child(5) {
  animation-delay: .72s;
}

.screen-head p.is-live {
  color: var(--green);
  border-color: rgba(57, 212, 99, .42);
}

.screen-head p i {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 0 14px currentColor;
}

.race-status-strip {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  padding: 7px 0 0;
}

.race-status-strip span {
  display: flex;
  align-items: center;
  min-height: 19px;
  padding: 0 8px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 5px;
  background:
    linear-gradient(120deg, rgba(255, 36, 52, .12), transparent 44%),
    rgba(0, 0, 0, .22);
  color: #c5cbd0;
  font-size: 9.5px;
  font-weight: 950;
  text-transform: uppercase;
}

.race-status-strip span::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-right: 7px;
  border-radius: 2px;
  background: var(--gold);
  box-shadow: 0 0 12px rgba(214, 173, 66, .5);
}

.race-status-strip span:nth-child(2)::before {
  background: var(--red);
  box-shadow: 0 0 12px rgba(255, 36, 52, .55);
}

.race-status-strip span:nth-child(3)::before {
  background: var(--blue);
  box-shadow: 0 0 12px rgba(76, 156, 255, .55);
}

.screen-body {
  display: grid;
  grid-template-columns: minmax(132px, .75fr) 1fr;
  gap: 12px;
  align-items: center;
  padding: 10px 0 8px;
}

.info-body {
  grid-template-columns: 116px 1fr;
  padding: 8px 0 8px;
}

.track-radar {
  height: 74px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 8px;
  background:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px),
    rgba(2, 5, 7, .32);
  background-size: 18px 18px;
  overflow: hidden;
}

.announcement-mark {
  height: 58px;
  opacity: .86;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 8px;
  background:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px),
    radial-gradient(circle at 35% 42%, rgba(214, 173, 66, .18), transparent 48%),
    rgba(2, 5, 7, .32);
  background-size: 18px 18px, 18px 18px, auto, auto;
  overflow: hidden;
  position: relative;
}

.announcement-mark::after {
  content: "";
  position: absolute;
  left: -40%;
  top: 0;
  width: 38%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(214, 173, 66, .2), transparent);
  animation: telemetrySweep 2.8s ease-in-out infinite;
}

.announcement-mark svg {
  width: 100%;
  height: 100%;
}

.notice-wave,
.notice-card,
.notice-line {
  fill: none;
  stroke: var(--gold);
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 7px rgba(214, 173, 66, .45));
}

.notice-wave {
  stroke-width: 4;
  stroke-dasharray: 18 10;
  animation: waveRun 1.5s linear infinite;
}

.notice-card {
  stroke-width: 2;
  opacity: .78;
}

.notice-line {
  stroke-width: 2;
  opacity: .55;
}

.notice-dot {
  fill: var(--red);
  filter: drop-shadow(0 0 8px rgba(255, 36, 52, .74));
  animation: dotPulse 1.2s ease-in-out infinite;
}

.info-message {
  margin: 0;
  color: #eef3f5;
  font-size: 16px;
  line-height: 1.36;
  font-weight: 900;
  text-shadow: 0 8px 22px rgba(0, 0, 0, .38);
}

.track-radar svg {
  width: 100%;
  height: 100%;
}

.radar-grid {
  fill: none;
  stroke: rgba(255, 255, 255, .13);
  stroke-width: 8;
}

.radar-line {
  fill: none;
  stroke: var(--gold);
  stroke-width: 3;
  stroke-linecap: round;
  filter: drop-shadow(0 0 6px rgba(214, 173, 66, .55));
}

.radar-dot {
  fill: var(--red);
  filter: drop-shadow(0 0 7px rgba(255, 36, 52, .75));
}

.dot-b {
  fill: var(--green);
}

.dot-c {
  fill: var(--blue);
}

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

.info-metrics {
  position: relative;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 6px;
}

.screen-metrics div {
  min-width: 0;
  padding: 7px 9px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 7px;
  background: rgba(0, 0, 0, .26);
}

.screen-metrics dt {
  margin-bottom: 2px;
  color: #8f99a2;
  font-size: 9.5px;
  font-weight: 950;
  text-transform: uppercase;
}

.screen-metrics dd {
  margin: 0;
  overflow: hidden;
  color: #eef3f5;
  font-size: 13px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.screen-feed {
  display: grid;
  gap: 3px;
  padding-top: 3px;
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.screen-feed p {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 19px;
  margin: 0;
  overflow: hidden;
  color: #d7dde2;
  font-size: 12px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
  transform: translateX(0);
  animation: feedEnter .28s ease both;
}

.screen-feed p:nth-child(2) {
  animation-delay: .05s;
}

.screen-feed p:nth-child(3) {
  display: none;
}

.screen-feed p:nth-child(4) {
  display: none;
}

.screen-feed p:nth-child(n+4) {
  display: none;
}

.screen-feed span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 25px;
  height: 15px;
  border-radius: 4px;
  background: rgba(255, 255, 255, .08);
  color: var(--gold);
  font-size: 9px;
  font-weight: 950;
}

.pitwall-ticker {
  display: none;
}

.pitwall-ticker span {
  display: inline-block;
  min-width: 100%;
  animation: tickerMove 14s linear infinite;
}

@keyframes boardSweep {
  0%, 52% {
    transform: translateX(-120%);
    opacity: 0;
  }
  62% {
    opacity: 1;
  }
  82%, 100% {
    transform: translateX(120%);
    opacity: 0;
  }
}

@keyframes sheenDrift {
  0%, 100% {
    transform: translateX(-2%);
    opacity: .62;
  }
  50% {
    transform: translateX(2%);
    opacity: .9;
  }
}

@keyframes raceLight {
  0%, 18% {
    background: #27070a;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
  }
  19%, 62% {
    background: var(--red);
    box-shadow: 0 0 12px rgba(255, 36, 52, .8), inset 0 0 0 1px rgba(255, 255, 255, .2);
  }
  63%, 100% {
    background: var(--green);
    box-shadow: 0 0 12px rgba(57, 212, 99, .72), inset 0 0 0 1px rgba(255, 255, 255, .18);
  }
}

@keyframes telemetrySweep {
  0% {
    transform: translateX(0);
    opacity: 0;
  }
  25%, 65% {
    opacity: 1;
  }
  100% {
    transform: translateX(360%);
    opacity: 0;
  }
}

@keyframes waveRun {
  to {
    stroke-dashoffset: -56;
  }
}

@keyframes dotPulse {
  0%, 100% {
    opacity: .65;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.35);
  }
}

@keyframes feedEnter {
  from {
    opacity: 0;
    transform: translateX(12px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes tickerMove {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.module-grid {
  position: absolute;
  left: clamp(34px, 4.2vw, 68px);
  right: clamp(34px, 4.2vw, 68px);
  bottom: clamp(24px, 3.8vh, 46px);
  display: grid;
  grid-template-columns: repeat(4, minmax(170px, 1fr));
  gap: 14px;
  z-index: 3;
}

.module-card {
  --accent: var(--red);
  position: relative;
  display: flex;
  flex-direction: column;
  height: clamp(270px, 37vh, 324px);
  min-height: 0;
  padding: 0 20px 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 22px 50px rgba(0, 0, 0, .38);
  isolation: isolate;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.module-card::before {
  content: "";
  flex: 0 0 53%;
}

.module-card.gold {
  --accent: var(--gold);
}

.module-card.green {
  --accent: var(--green);
}

.module-card.blue {
  --accent: var(--blue);
}

.module-card:hover {
  transform: translateY(-6px);
  border-color: color-mix(in srgb, var(--accent) 55%, white 12%);
  box-shadow: 0 28px 70px rgba(0, 0, 0, .5), 0 0 0 1px color-mix(in srgb, var(--accent) 34%, transparent);
}

.module-card.is-beta-locked:not(.is-beta-authorized) {
  cursor: not-allowed;
  border-color: rgba(255, 36, 52, .45);
  box-shadow:
    0 22px 50px rgba(0, 0, 0, .42),
    inset 0 0 0 1px rgba(255, 36, 52, .12);
}

.module-card.is-beta-locked:not(.is-beta-authorized)::after {
  content: "PADDOCK BLOQUE";
  position: absolute;
  top: 15px;
  right: 14px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 36, 52, .55);
  border-radius: 999px;
  background: rgba(70, 8, 12, .78);
  color: #fff;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .8px;
  box-shadow: 0 0 28px rgba(255, 36, 52, .24);
}

.module-card.is-beta-locked:not(.is-beta-authorized):hover {
  transform: none;
  border-color: rgba(255, 36, 52, .62);
}

.module-card.is-beta-locked:not(.is-beta-authorized) img {
  filter: grayscale(.3) brightness(.58) saturate(.86);
}

.module-card.is-beta-locked:not(.is-beta-authorized) .module-icon {
  color: #ff5260;
  border-color: rgba(255, 36, 52, .62);
  box-shadow: 0 0 32px rgba(255, 36, 52, .2);
}

.module-card.is-beta-locked:not(.is-beta-authorized) .module-link {
  color: #ffb1b8;
}

.module-card.is-beta-authorized::after {
  content: "ACCES AUTORISE";
  position: absolute;
  top: 15px;
  right: 14px;
  padding: 7px 10px;
  border: 1px solid rgba(57, 212, 99, .45);
  border-radius: 999px;
  background: rgba(10, 54, 22, .72);
  color: var(--green);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .8px;
}

.module-card img {
  position: absolute;
  inset: 0 0 auto 0;
  width: 100%;
  height: 53%;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.04);
  z-index: -3;
}

.module-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 10, 12, .06), rgba(8, 10, 12, .15) 38%, rgba(8, 10, 12, .9) 58%, rgba(8, 10, 12, .98)),
    linear-gradient(90deg, color-mix(in srgb, var(--accent) 20%, transparent), transparent 56%);
  z-index: -2;
}

.module-icon {
  position: absolute;
  left: 22px;
  top: calc(53% - 76px);
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 1px solid color-mix(in srgb, var(--accent) 62%, transparent);
  border-radius: 8px;
  background: rgba(7, 9, 11, .72);
  color: var(--accent);
  box-shadow: 0 0 26px color-mix(in srgb, var(--accent) 32%, transparent);
}

.module-icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.module-card strong {
  margin: 20px 0 0;
  color: var(--accent);
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.1;
  font-weight: 950;
  text-transform: uppercase;
}

.module-card small {
  min-height: 48px;
  margin: 10px 0 0;
  color: #b9c0c6;
  font-size: 12.5px;
  line-height: 1.48;
}

.module-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: auto 0 0;
  color: #d1d6da;
  font-size: 13px;
  font-weight: 800;
}

.module-link b {
  color: var(--accent);
  font-size: 30px;
  line-height: .6;
}

.toast {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translate(-50%, 18px);
  min-width: 280px;
  max-width: min(520px, calc(100vw - 40px));
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 8px;
  background: rgba(8, 10, 12, .88);
  color: #d7dde2;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
  backdrop-filter: blur(14px);
  z-index: 8;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.auth-page {
  overflow: auto;
  background:
    radial-gradient(circle at 20% 12%, rgba(255, 36, 52, .2), transparent 34%),
    radial-gradient(circle at 80% 8%, rgba(76, 156, 255, .14), transparent 36%),
    linear-gradient(145deg, #050607, #090305 48%, #040607);
}

.auth-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(390px, .82fr);
  gap: clamp(20px, 3vw, 42px);
  padding: clamp(28px, 4vw, 62px);
}

.auth-hero,
.auth-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 36, 52, .34);
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(70, 8, 12, .38), rgba(4, 6, 8, .92) 48%, rgba(8, 15, 19, .86)),
    rgba(5, 7, 9, .86);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .48);
}

.auth-hero {
  min-height: 720px;
  padding: clamp(38px, 5vw, 76px);
}

.auth-hero img,
.auth-grid {
  position: absolute;
  inset: 0;
}

.auth-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .34;
  filter: saturate(1.1) contrast(1.08);
}

.auth-grid {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .82), rgba(0, 0, 0, .26) 64%, rgba(0, 0, 0, .72)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 74px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .03) 0 1px, transparent 1px 74px);
}

.auth-hero > *:not(img):not(.auth-grid) {
  position: relative;
}

.auth-hero h1 {
  margin: 28px 0 18px;
  color: #fff;
  font-size: clamp(68px, 9vw, 138px);
  line-height: .86;
  font-style: italic;
  font-weight: 950;
  text-transform: uppercase;
  text-shadow: 0 18px 60px rgba(0, 0, 0, .66);
}

.auth-hero h1 em {
  color: var(--red);
  font-style: italic;
}

.auth-hero > p:not(.kicker) {
  max-width: 640px;
  margin: 0;
  color: #e7ebee;
  font-size: 16px;
  line-height: 1.7;
}

.auth-modules {
  position: absolute;
  left: clamp(24px, 4vw, 76px);
  right: clamp(24px, 4vw, 76px);
  bottom: clamp(24px, 4vw, 58px);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.auth-modules article {
  min-height: 128px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 9px;
  background:
    linear-gradient(145deg, rgba(10, 13, 16, .88), rgba(4, 6, 8, .92)),
    rgba(6, 8, 10, .88);
}

.auth-modules article.is-open {
  border-color: rgba(57, 212, 99, .42);
}

.auth-modules article.is-locked {
  border-color: rgba(255, 36, 52, .48);
}

.auth-modules span {
  display: inline-flex;
  width: 38px;
  height: 30px;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  font-weight: 950;
}

.auth-modules strong,
.auth-modules small {
  display: block;
  text-transform: uppercase;
}

.auth-modules strong {
  margin-top: 18px;
  color: #fff;
  font-size: 18px;
  font-weight: 950;
}

.auth-modules small {
  margin-top: 8px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}

.auth-panel {
  align-self: center;
  padding: 26px;
}

.auth-panel header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.auth-panel header span,
.auth-form label,
.auth-request-box span {
  color: #9ea6ae;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.auth-panel header strong {
  display: block;
  margin-top: 6px;
  color: #fff;
  font-size: 34px;
  font-style: italic;
  font-weight: 950;
  text-transform: uppercase;
}

.auth-panel header b {
  padding: 8px 12px;
  border: 1px solid rgba(76, 156, 255, .44);
  border-radius: 999px;
  color: #70b7ff;
  font-size: 11px;
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 22px 0;
}

.auth-tabs button,
.auth-primary,
.auth-footer button {
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 8px;
  background: rgba(3, 5, 7, .72);
  color: #fff;
  font-weight: 950;
  text-transform: uppercase;
}

.auth-tabs button.is-active,
.auth-primary {
  border-color: rgba(255, 36, 52, .78);
  background: linear-gradient(135deg, rgba(170, 12, 24, .88), rgba(95, 6, 13, .84));
  box-shadow: 0 0 28px rgba(255, 36, 52, .18);
}

.auth-alert {
  margin: 0 0 16px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 36, 52, .5);
  border-radius: 8px;
  background: rgba(70, 8, 12, .42);
  color: #ffd6da;
  font-weight: 850;
}

.auth-form {
  display: none;
  gap: 15px;
}

.auth-form.is-active {
  display: grid;
}

.auth-form label {
  display: grid;
  gap: 8px;
}

.auth-form input {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 8px;
  background: rgba(2, 5, 8, .82);
  color: #fff;
  padding: 0 14px;
  font-size: 15px;
  font-weight: 850;
  outline: none;
}

.auth-form input:focus {
  border-color: rgba(76, 156, 255, .62);
  box-shadow: 0 0 0 3px rgba(76, 156, 255, .1);
}

.auth-form input.is-invalid {
  border-color: rgba(255, 43, 50, .82);
  box-shadow: 0 0 0 3px rgba(255, 43, 50, .12);
}

.auth-request-box {
  padding: 14px;
  border: 1px solid rgba(214, 173, 66, .26);
  border-radius: 8px;
  background: rgba(214, 173, 66, .06);
}

.auth-request-box p {
  margin: 8px 0 12px;
  color: #cbd2d8;
  line-height: 1.55;
}

.auth-check {
  display: flex !important;
  grid-template-columns: none !important;
  align-items: center;
  gap: 10px !important;
  color: #fff !important;
}

.auth-check input {
  width: 18px;
  min-height: 18px;
}

.auth-footer {
  display: grid;
  gap: 12px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .1);
}

.auth-footer p {
  min-height: 40px;
  margin: 0;
  color: #c8d0d7;
  line-height: 1.45;
}

.auth-footer p[data-tone="ok"] {
  color: var(--green);
}

.auth-footer p[data-tone="warn"] {
  color: var(--gold);
}

.admin-page {
  overflow: auto;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 36, 52, .16), transparent 34%),
    radial-gradient(circle at 80% 12%, rgba(214, 173, 66, .08), transparent 32%),
    linear-gradient(135deg, #060708, #090305 44%, #040607);
}

html.admin-document,
html.admin-document body {
  height: auto;
  min-height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-color: rgba(255, 36, 52, .76) rgba(255, 255, 255, .08);
  scrollbar-width: thin;
}

html.admin-document::-webkit-scrollbar,
html.admin-document body::-webkit-scrollbar {
  width: 12px;
}

html.admin-document::-webkit-scrollbar-track,
html.admin-document body::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, .05);
}

html.admin-document::-webkit-scrollbar-thumb,
html.admin-document body::-webkit-scrollbar-thumb {
  border: 3px solid rgba(5, 6, 7, .92);
  border-radius: 999px;
  background: linear-gradient(180deg, var(--red), #20d8ff);
}

.admin-shell {
  min-height: 100vh;
  padding: clamp(28px, 4vw, 54px);
  padding-bottom: clamp(60px, 7vw, 110px);
  color: var(--text);
}

.admin-hero {
  position: relative;
  min-height: 300px;
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid rgba(255, 36, 52, .35);
  border-radius: 12px;
  background:
    linear-gradient(90deg, rgba(85, 10, 16, .52), rgba(7, 10, 13, .78) 38%, rgba(3, 5, 6, .9)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 68px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 28px 70px rgba(0, 0, 0, .48);
  overflow: hidden;
}

.admin-hero::before,
.admin-hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.admin-hero::before {
  right: -90px;
  top: -120px;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(255, 36, 52, .16);
  transform: rotate(22deg);
  background: linear-gradient(135deg, transparent, rgba(255, 36, 52, .12), transparent);
}

.admin-hero::after {
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), var(--gold), var(--blue));
}

.admin-back {
  position: absolute;
  right: 24px;
  top: 22px;
  display: inline-flex;
  min-width: 132px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 8px;
  background: rgba(4, 6, 8, .72);
  color: #dfe3e7;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.admin-hero h1 {
  position: relative;
  margin: 0;
  width: min(720px, 100%);
  color: #fff;
  font-size: clamp(58px, 8vw, 118px);
  line-height: .86;
  font-style: italic;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow: 0 16px 34px rgba(0, 0, 0, .62);
}

.admin-hero h1 em {
  color: var(--red);
  font-style: italic;
}

.admin-hero > p:not(.kicker) {
  position: relative;
  max-width: 620px;
  margin: 22px 0 0;
  color: #c8d0d7;
  line-height: 1.65;
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.admin-grid article,
.admin-grid a,
.admin-denied {
  min-height: 180px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 10px;
  background:
    linear-gradient(145deg, rgba(15, 18, 21, .9), rgba(5, 7, 9, .94)),
    radial-gradient(circle at 24% 0, rgba(255, 36, 52, .18), transparent 42%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}

.admin-grid a {
  display: block;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.admin-grid a:hover,
.admin-grid a.is-active {
  transform: translateY(-3px);
  border-color: rgba(255, 36, 52, .58);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 18px 42px rgba(255, 36, 52, .12);
}

.admin-grid article span,
.admin-grid a span {
  display: inline-flex;
  width: 42px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 36, 52, .42);
  border-radius: 8px;
  color: var(--red);
  font-weight: 950;
}

.admin-grid article strong,
.admin-grid a strong,
.admin-denied strong {
  display: block;
  margin-top: 22px;
  color: #fff;
  font-size: 23px;
  font-weight: 950;
  text-transform: uppercase;
}

.admin-grid article small,
.admin-grid a small,
.admin-denied p {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.55;
}

.admin-denied {
  margin-top: 18px;
  border-color: rgba(214, 173, 66, .4);
}

.admin-panel-stack {
  margin-top: 18px;
}

.admin-panel {
  display: none;
  padding: 22px;
  border: 1px solid rgba(255, 36, 52, .28);
  border-radius: 10px;
  background:
    linear-gradient(90deg, rgba(85, 10, 16, .34), rgba(7, 10, 13, .86)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .028) 0 1px, transparent 1px 54px);
}

.admin-panel.is-active {
  display: block;
}

.admin-page.is-circuits-panel .admin-shell {
  padding: 18px clamp(18px, 3vw, 34px);
}

.admin-page.is-circuits-panel .admin-hero {
  min-height: 148px;
  padding: 22px 28px;
}

.admin-page.is-circuits-panel .admin-hero h1 {
  width: auto;
  font-size: clamp(42px, 5vw, 76px);
  line-height: .88;
}

.admin-page.is-circuits-panel .admin-hero > p:not(.kicker) {
  max-width: 760px;
  margin-top: 10px;
  line-height: 1.35;
}

.admin-page.is-circuits-panel .admin-grid {
  gap: 10px;
  margin-top: 12px;
}

.admin-page.is-circuits-panel .admin-grid a {
  min-height: 104px;
  padding: 14px 16px;
}

.admin-page.is-circuits-panel .admin-grid a strong {
  margin-top: 12px;
  font-size: 18px;
}

.admin-page.is-circuits-panel .admin-grid a small {
  margin-top: 6px;
  line-height: 1.25;
}

.admin-page.is-circuits-panel .admin-panel-stack {
  margin-top: 12px;
}

.admin-page.is-circuits-panel .admin-panel {
  padding: 14px;
  max-height: none;
  overflow: visible;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 36, 52, .76) rgba(255, 255, 255, .08);
}

.admin-page.is-circuits-panel .admin-panel::-webkit-scrollbar {
  width: 10px;
}

.admin-page.is-circuits-panel .admin-panel::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, .06);
  border-radius: 999px;
}

.admin-page.is-circuits-panel .admin-panel::-webkit-scrollbar-thumb {
  border: 2px solid rgba(6, 8, 10, .9);
  border-radius: 999px;
  background: linear-gradient(180deg, var(--red), var(--gold));
}

.admin-page.is-circuits-panel .admin-panel header {
  align-items: center;
  padding-bottom: 10px;
}

.admin-page.is-circuits-panel .admin-panel header strong {
  font-size: clamp(24px, 2.6vw, 36px);
}

.admin-panel header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.admin-panel header span {
  color: var(--red);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.admin-panel header strong {
  color: #fff;
  font-size: clamp(24px, 3vw, 44px);
  font-style: italic;
  font-weight: 950;
  text-transform: uppercase;
}

.admin-panel-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.admin-panel-grid a {
  display: flex;
  min-height: 74px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 8px;
  background: rgba(5, 7, 9, .62);
  color: #fff;
  font-size: 13px;
  font-weight: 950;
  text-align: center;
  text-transform: uppercase;
}

.admin-panel-grid a:hover {
  border-color: rgba(214, 173, 66, .5);
  color: var(--gold);
}

.admin-sport-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
  gap: 14px;
  margin-top: 18px;
}

.admin-sport-card {
  min-height: 180px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 10px;
  background:
    linear-gradient(140deg, rgba(10, 12, 15, .92), rgba(3, 5, 7, .96)),
    radial-gradient(circle at 18% 0, rgba(255, 36, 52, .18), transparent 46%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}

.admin-sport-card > span {
  display: block;
  color: #9da5ad;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.admin-sport-card > strong {
  display: block;
  margin-top: 6px;
  color: #fff;
  font-size: 22px;
  font-weight: 950;
  text-transform: uppercase;
}

.admin-sport-card > small {
  display: block;
  margin-top: 8px;
  color: #aeb6bd;
  line-height: 1.45;
}

.admin-sport-action {
  grid-row: span 2;
}

.admin-sport-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.admin-sport-form label {
  display: grid;
  gap: 7px;
  color: #9da5ad;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.admin-sport-form label.is-wide {
  grid-column: 1 / -1;
}

.admin-sport-form input,
.admin-sport-form select,
.admin-sport-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 8px;
  background: rgba(3, 6, 9, .82);
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 850;
}

.admin-sport-form input,
.admin-sport-form select {
  height: 42px;
  padding: 0 12px;
}

.admin-sport-form textarea {
  min-height: 96px;
  padding: 12px;
  resize: vertical;
}

.admin-sport-primary {
  width: 100%;
  min-height: 46px;
  margin-top: 12px;
  border: 1px solid rgba(54, 244, 91, .42);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(20, 120, 40, .42), rgba(3, 6, 9, .8));
  color: #7fff91;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
  cursor: pointer;
}

.admin-sport-primary:hover {
  border-color: rgba(54, 244, 91, .78);
  box-shadow: 0 0 24px rgba(54, 244, 91, .12);
}

.admin-sport-message {
  margin: 12px 0 0;
  padding: 12px;
  border: 1px solid rgba(32, 216, 255, .24);
  border-radius: 8px;
  background: rgba(32, 216, 255, .06);
  color: #c9f5ff;
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.admin-sport-message[data-tone="warn"] {
  border-color: rgba(255, 36, 52, .42);
  background: rgba(255, 36, 52, .08);
  color: #ff7478;
}

.admin-sport-message[data-tone="ok"] {
  border-color: rgba(54, 244, 91, .38);
  background: rgba(54, 244, 91, .08);
  color: #74ff86;
}

.admin-sport-rules {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.admin-sport-rules p,
.admin-sport-history-list p {
  margin: 0;
  color: #c4cbd2;
  line-height: 1.45;
}

.admin-sport-rules b {
  color: #fff;
  text-transform: uppercase;
}

.admin-sport-history {
  max-height: 330px;
  overflow: hidden;
}

.admin-sport-history-list {
  display: grid;
  max-height: 236px;
  gap: 8px;
  margin-top: 14px;
  overflow: auto;
  padding-right: 4px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 36, 52, .76) rgba(255, 255, 255, .08);
}

.admin-sport-history-list::-webkit-scrollbar {
  width: 8px;
}

.admin-sport-history-list::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, .04);
  border-radius: 999px;
}

.admin-sport-history-list::-webkit-scrollbar-thumb {
  border: 2px solid rgba(3, 6, 9, .82);
  border-radius: 999px;
  background: linear-gradient(180deg, var(--red), #20d8ff);
}

.admin-sport-entry {
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-left: 3px solid rgba(214, 173, 66, .8);
  border-radius: 8px;
  background: rgba(0, 0, 0, .34);
}

.admin-sport-entry strong {
  display: block;
  color: #fff;
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.admin-sport-entry small {
  display: block;
  margin-top: 4px;
  color: #aeb6bd;
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.admin-sport-entry p {
  margin-top: 8px;
  color: #d7dde2;
  font-size: 12px;
}

.admin-circuit-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 16px;
  margin-top: 18px;
}

.admin-page.is-circuits-panel .admin-circuit-layout {
  margin-top: 12px;
}

.admin-circuit-preview,
.admin-circuit-side section,
.admin-circuit-actions,
.admin-circuit-message {
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(8, 10, 12, .92), rgba(3, 5, 7, .96)),
    radial-gradient(circle at 18% 0, rgba(255, 36, 52, .2), transparent 42%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}

.admin-circuit-preview {
  overflow: hidden;
}

.admin-circuit-toolbar {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  background: linear-gradient(90deg, rgba(104, 13, 20, .48), rgba(7, 10, 13, .72));
}

.admin-page.is-circuits-panel .admin-circuit-toolbar {
  min-height: 58px;
  padding: 10px 14px;
}

.admin-circuit-toolbar span,
.admin-circuit-side span {
  display: block;
  color: #9da5ad;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.admin-circuit-toolbar strong,
.admin-circuit-side strong {
  display: block;
  margin-top: 5px;
  color: #fff;
  font-size: 18px;
  font-weight: 950;
  text-transform: uppercase;
}

.admin-circuit-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.admin-circuit-badges b {
  min-width: 92px;
  padding: 8px 12px;
  border: 1px solid rgba(76, 156, 255, .3);
  border-radius: 999px;
  background: rgba(3, 6, 9, .76);
  color: #dfe8f1;
  font-size: 12px;
  font-weight: 950;
  text-align: center;
  text-transform: uppercase;
}

.admin-circuit-map {
  position: relative;
  min-height: 560px;
  background:
    radial-gradient(circle at 46% 42%, rgba(76, 156, 255, .1), transparent 34%),
    linear-gradient(rgba(76, 156, 255, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(76, 156, 255, .06) 1px, transparent 1px),
    #030609;
  background-size: auto, 40px 40px, 40px 40px, auto;
}

.admin-page.is-circuits-panel .admin-circuit-map {
  min-height: 430px;
}

.admin-circuit-map::before,
.admin-circuit-map::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.admin-circuit-map::before {
  inset: 28px;
  border: 1px solid rgba(255, 36, 52, .16);
}

.admin-circuit-map::after {
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(54, 244, 91, .18), transparent);
}

.admin-circuit-svg {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  min-height: 560px;
}

.admin-page.is-circuits-panel .admin-circuit-svg {
  min-height: 430px;
}

.admin-circuit-trace-glow,
.admin-circuit-trace-base,
.admin-circuit-trace-line {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.admin-circuit-trace-glow {
  stroke-width: 18;
  opacity: .24;
  filter: url("#adminCircuitGlow");
}

.admin-circuit-trace-base {
  stroke: rgba(0, 0, 0, .7);
  stroke-width: 11;
}

.admin-circuit-trace-line {
  stroke-width: 5;
  filter: drop-shadow(0 0 8px currentColor);
}

.admin-circuit-trace-line.is-s1,
.admin-circuit-trace-glow.is-s1 {
  color: #ff3138;
  stroke: #ff3138;
}

.admin-circuit-trace-line.is-s2,
.admin-circuit-trace-glow.is-s2 {
  color: #20d8ff;
  stroke: #20d8ff;
}

.admin-circuit-trace-line.is-s3,
.admin-circuit-trace-glow.is-s3 {
  color: #36f45b;
  stroke: #36f45b;
}

.admin-circuit-car {
  color: var(--cat, #d6ad42);
}

.admin-circuit-car circle {
  fill: rgba(4, 6, 8, .95);
  stroke: currentColor;
  stroke-width: 4;
  filter: drop-shadow(0 0 10px currentColor);
}

.admin-circuit-car text {
  dominant-baseline: middle;
  fill: #fff;
  font-size: 11px;
  font-weight: 950;
  text-anchor: middle;
}

.admin-circuit-car.is-pit {
  opacity: .48;
}

.admin-circuit-map p {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  margin: 0;
  color: #9da5ad;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

.admin-circuit-map p[hidden] {
  display: none;
}

.admin-circuit-side {
  display: grid;
  gap: 12px;
  align-content: start;
}

.admin-circuit-side section {
  min-height: 104px;
  padding: 16px;
}

.admin-page.is-circuits-panel .admin-circuit-side section {
  min-height: 82px;
  padding: 12px;
}

.admin-page.is-circuits-panel .admin-circuit-side strong {
  font-size: 16px;
}

.admin-circuit-side small {
  display: block;
  margin-top: 8px;
  color: #aeb6bd;
  line-height: 1.45;
}

.admin-circuit-actions {
  display: grid;
  gap: 10px;
  padding: 14px;
}

.admin-circuit-actions button {
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 8px;
  background: rgba(3, 6, 9, .78);
  color: #fff;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
  cursor: pointer;
}

.admin-circuit-actions button:hover:not(:disabled) {
  border-color: rgba(214, 173, 66, .6);
  color: var(--gold);
}

.admin-circuit-actions button:disabled {
  cursor: not-allowed;
  opacity: .44;
}

.admin-circuit-actions #adminCircuitValidate {
  border-color: rgba(54, 244, 91, .38);
  background: rgba(20, 90, 34, .28);
  color: #7fff91;
}

.admin-circuit-actions #adminCircuitReset {
  border-color: rgba(255, 36, 52, .4);
  background: rgba(118, 12, 20, .28);
  color: #ff6b70;
}

.admin-circuit-message {
  margin: 0;
  padding: 14px;
  color: #d7dde2;
  font-size: 13px;
  font-weight: 850;
}

.admin-circuit-message[data-tone="ok"] {
  border-color: rgba(54, 244, 91, .36);
  color: #68ff7c;
}

.admin-circuit-message[data-tone="warn"] {
  border-color: rgba(255, 36, 52, .42);
  color: #ff7478;
}

.admin-circuit-validated-card {
  display: grid;
  gap: 10px;
}

.admin-circuit-validated-card strong {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.admin-circuit-validated-card strong b {
  color: #36f45b;
  font-size: 24px;
}

.admin-validated-circuit-list {
  display: grid;
  max-height: 260px;
  gap: 8px;
  margin-top: 4px;
  overflow: auto;
  padding-right: 4px;
}

.admin-validated-circuit-list::-webkit-scrollbar {
  width: 8px;
}

.admin-validated-circuit-list::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, .04);
  border-radius: 999px;
}

.admin-validated-circuit-list::-webkit-scrollbar-thumb {
  border: 2px solid rgba(3, 6, 9, .82);
  border-radius: 999px;
  background: linear-gradient(180deg, #ff2434, #20d8ff);
}

.admin-validated-circuit-list p {
  margin: 0;
  color: #9da5ad;
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.admin-validated-circuit {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 78px;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-left: 3px solid rgba(54, 244, 91, .7);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(54, 244, 91, .08), transparent 44%),
    rgba(0, 0, 0, .36);
}

.admin-validated-circuit.is-selected {
  border-color: rgba(32, 216, 255, .58);
  border-left-color: #20d8ff;
  box-shadow: 0 0 22px rgba(32, 216, 255, .12);
}

.admin-validated-circuit strong {
  display: block;
  margin: 0 0 4px;
  overflow: hidden;
  color: #fff;
  font-size: 13px;
  font-weight: 950;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.admin-validated-circuit small {
  display: block;
  margin: 2px 0 0;
  overflow: hidden;
  color: #aeb6bd;
  font-size: 10px;
  font-weight: 850;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.admin-validated-circuit button {
  min-height: 34px;
  border: 1px solid rgba(32, 216, 255, .48);
  border-radius: 8px;
  background: rgba(32, 216, 255, .08);
  color: #c9f5ff;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
  cursor: pointer;
}

.admin-validated-circuit button:hover {
  border-color: rgba(54, 244, 91, .68);
  color: #74ff86;
}

.commentator-page {
  overflow: auto;
  background:
    radial-gradient(circle at 68% 18%, rgba(76, 156, 255, .11), transparent 34%),
    radial-gradient(circle at 16% 20%, rgba(255, 36, 52, .18), transparent 34%),
    linear-gradient(135deg, #040607, #0a0508 52%, #030406);
}

.commentator-shell {
  min-height: 100vh;
  padding: clamp(28px, 4vw, 54px);
}

.commentator-hero {
  position: relative;
  min-height: 330px;
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid rgba(76, 156, 255, .24);
  border-radius: 12px;
  background:
    linear-gradient(90deg, rgba(8, 10, 13, .88), rgba(72, 8, 14, .56)),
    url("/assets/home/card-commentateur.png") center / cover;
  background-blend-mode: multiply, normal;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 30px 80px rgba(0, 0, 0, .54);
  overflow: hidden;
}

.commentator-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 4, 6, .92), rgba(2, 4, 6, .38) 56%, rgba(2, 4, 6, .78)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 62px);
}

.commentator-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--red), var(--gold));
}

.commentator-hero > * {
  position: relative;
}

.commentator-hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(54px, 7.4vw, 104px);
  line-height: .88;
  font-style: italic;
  font-weight: 950;
  text-transform: uppercase;
  text-shadow: 0 18px 44px rgba(0, 0, 0, .68);
}

.commentator-hero h1 em {
  color: var(--blue);
  font-style: italic;
}

.commentator-hero > p:not(.kicker) {
  max-width: 640px;
  margin: 22px 0 0;
  color: #d7dde2;
  line-height: 1.7;
}

.commentator-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.commentator-grid a {
  min-height: 190px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 10px;
  background:
    linear-gradient(145deg, rgba(12, 15, 19, .92), rgba(4, 6, 8, .95)),
    radial-gradient(circle at 20% 0, rgba(76, 156, 255, .14), transparent 42%);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.commentator-grid a:hover,
.commentator-grid a.is-active {
  transform: translateY(-3px);
  border-color: rgba(76, 156, 255, .58);
  box-shadow: 0 18px 46px rgba(76, 156, 255, .1);
}

.commentator-grid span {
  display: inline-flex;
  width: 42px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(76, 156, 255, .48);
  border-radius: 8px;
  color: var(--blue);
  font-weight: 950;
}

.commentator-grid strong {
  display: block;
  margin-top: 22px;
  color: #fff;
  font-size: 23px;
  font-weight: 950;
  text-transform: uppercase;
}

.commentator-grid small {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.55;
}

@media (max-width: 1100px) {
  .admin-grid,
  .admin-panel-grid,
  .commentator-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .auth-shell {
    grid-template-columns: 1fr;
  }

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

  .admin-circuit-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1120px), (max-height: 620px) {
  .home-shell {
    min-width: 0;
    min-height: 0;
    overflow: auto;
  }

  html,
  body {
    overflow: auto;
  }

  .hero {
    min-height: 900px;
  }

  .module-grid {
    grid-template-columns: repeat(2, minmax(240px, 1fr));
  }

  .race-clock {
    top: 282px;
    left: 38px;
    width: 330px;
  }

  .home-pronostics-link {
    min-width: 238px;
    padding: 11px 14px 12px 16px;
  }

  .home-pronostics-link strong {
    font-size: 16px;
  }

  .control-screen {
    top: 368px;
    left: 38px;
    right: 38px;
    width: auto;
  }
}

@media (max-width: 680px) {
  .brand-bar {
    left: 18px;
    right: 18px;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .brand-mark {
    grid-column: 1;
    justify-self: start;
    order: 1;
  }

  .brand-line {
    width: 36px;
  }

  .core-pills {
    justify-self: start;
    order: 3;
    flex-wrap: wrap;
  }

  .home-pronostics-link {
    grid-column: 1;
    order: 2;
    width: min(330px, 100%);
    min-width: 0;
    transform: none;
  }

  .home-pronostics-link > * {
    transform: none;
  }

  .hero-copy {
    left: 22px;
    right: 22px;
    top: 118px;
    width: auto;
  }

  .module-grid {
    left: 18px;
    right: 18px;
    grid-template-columns: 1fr;
  }

  .race-clock {
    top: 338px;
    left: 18px;
    right: 18px;
    width: auto;
  }

  .control-screen {
    top: 430px;
    left: 18px;
    right: 18px;
    width: auto;
  }

  .screen-body {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 1320px;
  }

  .auth-shell {
    padding: 18px;
  }

  .auth-hero {
    min-height: 780px;
    padding: 30px 22px;
  }

  .auth-hero h1 {
    font-size: 58px;
  }

  .auth-modules {
    left: 18px;
    right: 18px;
    grid-template-columns: 1fr;
  }

  .auth-panel {
    padding: 18px;
  }
}

/* Final override for the Pitwall account gate. Kept last so the old beta layout cannot win. */
.auth-shell {
  width: min(1880px, 100%);
  margin: 0 auto;
  align-items: center;
  grid-template-columns: minmax(620px, 1.05fr) minmax(480px, .72fr);
}

.auth-hero {
  min-height: min(820px, calc(100vh - 86px));
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: clamp(34px, 4vw, 58px);
}

.auth-copy {
  position: relative;
  z-index: 2;
  width: min(720px, 100%);
  padding-top: 46px;
}

.auth-copy .kicker {
  margin: 0;
}

.auth-copy h1 {
  margin: 24px 0 16px;
  font-size: clamp(58px, 7vw, 116px);
  line-height: .88;
  letter-spacing: 0;
}

.auth-copy p:not(.kicker) {
  max-width: 650px;
  margin: 0;
  color: #f1f4f6;
  font-size: 16px;
  line-height: 1.72;
  text-shadow: 0 10px 32px rgba(0, 0, 0, .7);
}

.auth-lmu-card {
  position: relative;
  z-index: 2;
  width: min(590px, 100%);
  margin-top: auto;
  padding: 18px;
  border: 1px solid rgba(41, 170, 255, .44);
  border-left: 4px solid #29aaff;
  border-radius: 9px;
  background:
    linear-gradient(135deg, rgba(17, 46, 68, .62), rgba(4, 8, 12, .88)),
    rgba(3, 7, 10, .84);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 16px 38px rgba(0, 0, 0, .38);
}

.auth-lmu-card span,
.auth-lmu-link-box span {
  display: block;
  color: #96a2ad;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.auth-lmu-card strong {
  display: block;
  margin-top: 8px;
  color: #fff;
  font-size: clamp(22px, 2.3vw, 34px);
  font-style: italic;
  font-weight: 950;
  text-transform: uppercase;
}

.auth-lmu-card small,
.auth-lmu-link-box small {
  display: block;
  margin-top: 6px;
  color: #c6d0d8;
  line-height: 1.45;
}

.auth-lmu-card button,
.auth-lmu-link-box button {
  margin-top: 14px;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid rgba(41, 170, 255, .58);
  border-radius: 8px;
  background: rgba(10, 28, 42, .74);
  color: #8bd3ff;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.auth-lmu-link-box button:disabled {
  opacity: .44;
  cursor: not-allowed;
}

.auth-access-strip {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.auth-access-strip article {
  min-height: 126px;
  padding: 17px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 9px;
  background:
    linear-gradient(145deg, rgba(9, 13, 17, .9), rgba(3, 5, 7, .94)),
    rgba(6, 8, 10, .88);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}

.auth-access-strip article.is-open {
  border-color: rgba(57, 212, 99, .48);
  background:
    linear-gradient(145deg, rgba(13, 42, 24, .52), rgba(3, 5, 7, .94)),
    rgba(6, 8, 10, .88);
}

.auth-access-strip article.is-locked {
  border-color: rgba(255, 36, 52, .5);
}

.auth-access-strip span {
  display: inline-flex;
  width: 38px;
  height: 31px;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  font-weight: 950;
}

.auth-access-strip strong,
.auth-access-strip small {
  display: block;
  text-transform: uppercase;
}

.auth-access-strip strong {
  margin-top: 18px;
  color: #fff;
  font-size: 18px;
  font-weight: 950;
}

.auth-access-strip small {
  margin-top: 8px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}

.auth-panel {
  min-height: 620px;
  align-self: center;
  padding: clamp(24px, 2.4vw, 34px);
}

.auth-panel header strong {
  font-size: clamp(30px, 3vw, 42px);
}

.auth-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.auth-form input,
.auth-form select {
  width: 100%;
  min-height: 50px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 8px;
  background: rgba(2, 5, 8, .82);
  color: #fff;
  padding: 0 14px;
  font-size: 15px;
  font-weight: 850;
  outline: none;
}

.auth-form input:focus,
.auth-form select:focus {
  border-color: rgba(76, 156, 255, .62);
  box-shadow: 0 0 0 3px rgba(76, 156, 255, .1);
}

.auth-lmu-link-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 15px;
  border: 1px solid rgba(41, 170, 255, .28);
  border-radius: 9px;
  background: rgba(12, 30, 44, .25);
}

.auth-lmu-link-box strong {
  display: block;
  margin-top: 7px;
  color: #fff;
  font-size: 18px;
  font-style: italic;
  font-weight: 950;
  text-transform: uppercase;
}

.auth-request-box {
  border-color: rgba(255, 36, 52, .28);
  background: linear-gradient(135deg, rgba(70, 8, 12, .28), rgba(4, 7, 9, .7));
}

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

  .auth-hero,
  .auth-panel {
    min-height: auto;
  }
}

@media (max-width: 760px) {
  .auth-copy h1 {
    font-size: 56px;
  }

  .auth-access-strip,
  .auth-form-grid,
  .auth-lmu-link-box {
    grid-template-columns: 1fr;
  }
}

.auth-form .auth-remember input {
  width: 18px;
  min-height: 18px;
  flex: 0 0 18px;
  padding: 0;
  accent-color: var(--red);
}
