/* Fonts loaded in HTML: Montserrat (Google Fonts) */
/* site-css v189 — bump via bump-assets.ps1 or ASSET_VERSION + HTML ?v= */

:root {
  /**
   * 60 · 30 · 10 — dark navy base, blue structure, red accents on CTAs / key highlights.
   */
  --bg: #050505;
  --bg-elevated: #0d0d0d;
  --surface: #121212;
  --border: rgba(255, 255, 255, 0.16);
  --text: #f7f4ee;
  --muted: #bbb2a5;
  --accent2: #ff7a1a;
  --link-hover: #ffd1ad;
  /** ~10% — primary actions, store, badges */
  --accent: #ff5a14;
  --accent-dark: #b63b08;
  --subscriber-ring-strong: #ffd3b0;
  --subscriber-glow-accent: rgba(255, 122, 26, 0.32);
  --subscriber-glow-secondary: rgba(255, 255, 255, 0.12);
  --glow-accent: rgba(255, 90, 20, 0.34);
  --glow-accent-soft: rgba(255, 122, 26, 0.12);
  --glow-deep: rgba(255, 90, 20, 0.34);
  --twitch: #a970ff;
  --youtube: #ff0033;
  --danger: #f87171;
  --radius: 6px;
  --radius-lg: 10px;
  --font: "BF Modernista", "Montserrat", system-ui, sans-serif;
  --font-display: "BF Modernista Solid", "BF Modernista", "Montserrat", system-ui, sans-serif;
  --font-mono-display: "BF Modernista Solid", "Share Tech Mono", "Cascadia Code", "Segoe UI Mono", monospace;
  --shadow: 0 18px 48px rgba(0, 0, 0, 0.56);
  --gradient-headline: linear-gradient(
    90deg,
    #ffffff 0%,
    #ffe8d4 38%,
    #ff9a54 75%,
    #ff5a14 100%
  );
  --gradient-nav-link-active: linear-gradient(135deg, rgba(255, 90, 20, 0.68) 0%, rgba(185, 63, 10, 0.88) 100%);
  --gradient-cta: linear-gradient(135deg, #ff8d31 0%, var(--accent) 45%, var(--accent-dark) 100%);
  --discord: #5865f2;
  --discord-dark: #3c45c6;
  --gradient-discord: linear-gradient(135deg, #8090ff 0%, var(--discord) 45%, var(--discord-dark) 100%);
  --glow-discord: rgba(88, 101, 242, 0.4);
  /** Social row — label/icon on brand fill hover */
  --social-hover-fg: #0a0a0a;
  /** Social grid — brand strokes / fills */
  --social-grad-tiktok: linear-gradient(135deg, #2bf4ee 0%, #d42b4c 100%);
  --social-grad-velora: linear-gradient(to right, #630910 0%, #edaa0a 100%);
  --social-grad-instagram: conic-gradient(
    from -45deg at 50% 50%,
    #4b68cb 0deg,
    #ab36bf 90deg,
    #ec4e6a 180deg,
    #ffb553 270deg,
    #4b68cb 360deg
  );
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html {
  color-scheme: dark;
  min-height: 100%;
  background-color: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  font-family: var(--font);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text);
  position: relative;
  overflow-x: hidden;
  letter-spacing: 0.01em;
  /** Full-site backdrop: assets/images/Background Plain.png (1920×1080, light scrim for type) */
  background-color: transparent;
  background-image:
    linear-gradient(180deg, rgba(0, 0, 0, 0.38) 0%, rgba(0, 0, 0, 0.22) 42%, rgba(0, 0, 0, 0.48) 100%),
    url("../images/Background%20Plain.png?v=189");
  background-position: center, center;
  background-size: cover, cover;
  background-repeat: no-repeat, no-repeat;
  background-attachment: fixed, fixed;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.025)),
    repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 4px),
    linear-gradient(90deg, transparent 0, rgba(255, 122, 26, 0.07) 48%, transparent 100%);
  mix-blend-mode: screen;
  opacity: 0.28;
  z-index: -1;
}

main {
  flex: 1 1 auto;
  width: 100%;
}

a {
  color: #ffb37a;
}

a:hover {
  color: var(--link-hover);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.shell {
  width: min(1100px, 92vw);
  margin-inline: auto;
}

/* Instant Gaming partner banner — sits under nav row, inside sticky header (home only) */
.site-header--has-ig-banner {
  border-bottom: none;
}

.site-header--has-ig-banner .ig-banner-band {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.ig-banner-band {
  background: rgba(12, 12, 12, 0.94);
  padding-block: 0.75rem 1rem;
}

.ig-banner-band__inner {
  min-height: 72px;
}

.ig-partner-banner {
  width: 100%;
}

.ig-partner-banner .ig-dynamic-banner {
  min-height: 220px;
}

.ig-banner-fallback {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 220px;
  padding: 20px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
  text-decoration: none;
  color: #ffffff !important;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.ig-banner-fallback:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.34);
}

.ig-banner-fallback .ig-dynamic-banner-logo {
  background-image: url("https://www.instant-gaming.com/themes/igv2/images/logos/logo-instant-gaming.svg");
  background-size: 100%;
  background-repeat: no-repeat;
  background-position: center;
  width: 130px;
  aspect-ratio: 17.5 / 5;
  flex-shrink: 0;
  z-index: 1;
}

.ig-banner-fallback .ig-dynamic-banner-text {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 15px;
  max-width: 33%;
  z-index: 1;
}

.ig-banner-fallback .ig-dynamic-banner-title {
  color: #ffffff;
  font-size: 21px;
  font-weight: 700;
  text-align: right;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.ig-banner-fallback .ig-dynamic-banner-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 20px;
  border-radius: 7px;
  background: linear-gradient(10deg, #ff8a15, #ff3131);
  color: #ffffff;
  font-size: 17px;
  font-weight: 700;
  white-space: nowrap;
}

@media (max-width: 800px) {
  .ig-banner-fallback {
    flex-direction: column;
    justify-content: center;
  }

  .ig-banner-fallback .ig-dynamic-banner-logo {
    width: 110px;
  }

  .ig-banner-fallback .ig-dynamic-banner-text {
    max-width: 100%;
    align-items: center;
    flex-direction: row;
  }

  .ig-banner-fallback .ig-dynamic-banner-title {
    font-size: 17px;
    text-align: center;
  }
}

@media (max-width: 650px) {
  .ig-banner-fallback .ig-dynamic-banner-logo {
    width: 100px;
  }

  .ig-banner-fallback .ig-dynamic-banner-text {
    gap: 10px;
  }

  .ig-banner-fallback .ig-dynamic-banner-title {
    font-size: 15px;
  }

  .ig-banner-fallback .ig-dynamic-banner-cta {
    height: 30px;
    padding: 0 10px;
    border-radius: 3px;
    font-size: 15px;
  }
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  flex-shrink: 0;
  background: rgba(5, 5, 5, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 0 rgba(255, 122, 26, 0.22);
}

.site-header-shell {
  width: min(1100px, 92vw);
  padding: 0.55rem 0 0.65rem;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.55rem;
  flex-wrap: wrap;
  row-gap: 0.5rem;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  color: var(--text);
}

.brand__home-link {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.brand__home-link:hover {
  color: var(--text);
}

.brand--with-logo {
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
  flex: 0 0 auto;
  min-width: 0;
}

.brand__logo {
  height: 44px;
  width: auto;
  max-width: 120px;
  display: block;
  object-fit: contain;
  flex-shrink: 0;
}

/** Title + LIVE pills — one tight row on desktop */
.brand__headline-cluster {
  display: inline-flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.32rem;
  min-width: 0;
}

.brand__title {
  margin: 0;
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

/** Header LIVE strips (Twitch / YouTube) */
.brand__live-strip {
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.22rem;
  flex-shrink: 0;
}

.brand__live-strip.brand__live-strip--empty {
  gap: 0;
  min-width: 0;
}

/** Shown only when Twitch / YouTube APIs report an active stream for that pill */
.brand__live-strip .live-pill {
  display: none;
}

.brand__live-strip .live-pill.is-live-on-air {
  display: inline-flex;
}

a.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.2rem 0.44rem;
  border-radius: 8px;
  font-size: 0.625rem;
  font-weight: 800;
  font-family: var(--font-display);
  letter-spacing: 0.07em;
  text-decoration: none;
  border: 1px solid transparent;
  line-height: 1;
  cursor: pointer;
  transition:
    transform 0.2s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.15s ease;
}

a.live-pill i {
  font-size: 0.82rem;
  line-height: 1;
}

a.live-pill--twitch {
  color: var(--text) !important;
  background: rgba(169, 112, 255, 0.2);
  border-color: rgba(169, 112, 255, 0.55);
  box-shadow: 0 2px 10px rgba(169, 112, 255, 0.12);
}

a.live-pill--youtube {
  color: var(--text) !important;
  background: rgba(255, 0, 51, 0.12);
  border-color: rgba(255, 0, 51, 0.45);
  box-shadow: 0 2px 10px rgba(255, 0, 51, 0.1);
}

a.live-pill:hover {
  transform: translateY(-3px);
  filter: brightness(1.06);
}

a.live-pill--twitch:hover {
  box-shadow: 0 6px 18px rgba(169, 112, 255, 0.28);
}

a.live-pill--youtube:hover {
  box-shadow: 0 6px 18px rgba(255, 0, 51, 0.22);
}

a.live-pill:focus-visible {
  outline: 2px solid var(--accent2);
  outline-offset: 2px;
}

.nav-toggle {
  display: none;
  background: linear-gradient(180deg, rgba(22, 22, 22, 0.94) 0%, rgba(8, 8, 8, 0.96) 100%);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.45rem 0.75rem;
  border-radius: 8px;
  cursor: pointer;
  font: inherit;
  transition:
    transform 0.2s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.2s ease,
    border-color 0.15s ease;
}

.nav-toggle:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 122, 26, 0.55);
  box-shadow:
    var(--shadow),
    0 8px 20px rgba(255, 90, 20, 0.2);
}

.nav-toggle:active {
  transform: translateY(0) scale(0.98);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
}

.nav__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-width: 5.6rem;
  font-family: var(--font-mono-display);
  font-size: 0.78rem;
  text-decoration: none;
  padding: 0.35rem 0.4rem;
  border-radius: 4px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  white-space: nowrap;
  transition:
    color 0.15s,
    background 0.15s,
    border-color 0.15s,
    transform 0.18s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.18s ease;
}

.nav__link:not(.nav__link--store):not(.nav__link--discord) {
  color: var(--muted);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.nav__link:hover:not(.nav__link--store):not(.nav__link--discord) {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 122, 26, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.34);
}

.nav__link--active {
  color: #ffffff;
  background: var(--gradient-nav-link-active);
  border: 1px solid rgba(255, 210, 174, 0.4);
  box-shadow: 0 6px 20px rgba(255, 90, 20, 0.26);
}

/** Active tab — tied to page (matches .nav__link--active; survives cache/JS quirks) */
body[data-page="home"] nav.nav .nav__link[data-nav-page="home"],
body[data-page="stream"] nav.nav .nav__link[data-nav-page="stream"],
body[data-page="equipment"] nav.nav .nav__link[data-nav-page="equipment"],
body[data-page="teams"] nav.nav .nav__link[data-nav-page="teams"],
body[data-page="sponsored"] nav.nav .nav__link[data-nav-page="sponsored"],
body[data-page="kofi"] nav.nav .nav__link[data-nav-page="kofi"],
body[data-page="support"] nav.nav .nav__link[data-nav-page="support"] {
  color: #ffffff;
  background: var(--gradient-nav-link-active);
  border: 1px solid rgba(255, 210, 174, 0.4);
  box-shadow: 0 6px 20px rgba(255, 90, 20, 0.26);
}

.nav__link--store,
.nav__link--discord {
  color: #fff !important;
  font-weight: 600;
  border: 1px solid transparent;
  transition:
    transform 0.18s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.18s ease,
    box-shadow 0.18s ease,
    color 0.15s ease;
}

.nav__link--store {
  background: var(--gradient-cta);
}

.nav__link--discord {
  background: var(--gradient-discord);
}

.nav__link--store:hover,
.nav__link--discord:hover {
  transform: translateY(-3px);
  filter: brightness(1.08);
  color: #fff !important;
}

.nav__link--store:hover {
  box-shadow: 0 10px 26px var(--glow-deep);
}

.nav__link--discord:hover {
  box-shadow: 0 10px 26px var(--glow-discord);
}

@media (min-width: 841px) {
  .header-inner {
    flex-wrap: nowrap;
    row-gap: 0;
    justify-content: flex-start;
  }

  .brand--with-logo {
    flex: 0 0 auto;
  }

  .nav {
    margin-left: auto;
    flex-wrap: nowrap;
    gap: 0.28rem;
    justify-content: flex-end;
  }

  .nav__link {
    min-width: 5.6rem;
    font-size: 0.76rem;
    padding: 0.3rem 0.35rem;
  }
}

@media (max-width: 840px) {
  .nav-toggle {
    display: block;
    margin-left: auto;
    flex-shrink: 0;
  }

  .brand--with-logo {
    flex: 1 1 calc(100% - 5.5rem);
  }

  .brand__headline-cluster {
    flex-wrap: wrap;
    row-gap: 0.28rem;
  }

  .brand__live-strip {
    flex-wrap: wrap;
  }

  .nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding-bottom: 0.5rem;
    margin-left: 0;
  }

  .nav.is-open {
    display: flex;
  }
}

/* Hero */
.hero {
  padding: 3rem 0 2.5rem;
  text-align: center;
  position: relative;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  margin: 0 0 0.5rem;
  letter-spacing: 0.16em;
  background: var(--gradient-headline);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Single-line hero title — scales down on narrow screens */
.hero h1.hero__headline-single {
  white-space: nowrap;
  max-width: min(92vw, 1050px);
  margin-inline: auto;
  font-size: clamp(0.55rem, 2.68vw + 0.62rem, 2.85rem);
  letter-spacing: 0.12em;
  overflow: visible;
}

.hero .lede {
  color: var(--muted);
  max-width: 36rem;
  margin: 0 auto 1.75rem;
  font-family: var(--font-mono-display);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.live-hero {
  padding-top: 2.5rem;
  text-align: center;
}

.live-hero__status {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin: 0 0 1.25rem;
  text-align: center;
}

.live-hero__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.live-hero__badge--live {
  background: rgba(255, 45, 85, 0.14);
  color: #ff8aa3;
}

.live-hero__badge--offline {
  background: rgba(148, 163, 184, 0.16);
  color: #c5ced9;
  padding: 0.55rem 1.25rem;
  font-size: 0.92rem;
  letter-spacing: 0.18em;
}

.live-hero__dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #ff2d55;
  box-shadow: 0 0 0 0 rgba(255, 45, 85, 0.7);
  animation: live-hero-pulse 1.6s infinite;
}

.live-hero__dot[hidden] {
  display: none !important;
}

@keyframes live-hero-pulse {
  70% { box-shadow: 0 0 0 10px rgba(255, 45, 85, 0); }
}

.live-countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  width: min(100%, 22rem);
  margin: 0 auto;
  padding: 1rem 0.5rem;
  box-sizing: border-box;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 122, 26, 0.08), rgba(0, 0, 0, 0.28)),
    var(--surface);
  border: 1px solid rgba(255, 122, 26, 0.5);
  box-shadow:
    0 0 0 1px rgba(255, 90, 20, 0.08),
    0 0 18px rgba(255, 90, 20, 0.16);
}

.live-countdown[hidden] {
  display: none !important;
}

.live-countdown__unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-width: 0;
  padding: 0.15rem 0.4rem;
}

.live-countdown__unit:not(:last-child) {
  border-right: 1px solid rgba(255, 122, 26, 0.35);
}

.live-countdown__value {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 4vw, 1.9rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.14em;
  color: var(--accent2);
}

.live-countdown__label {
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
}

.live-hero__playing {
  margin: 0 0 1.25rem;
}

.live-hero__playing[hidden] {
  display: none !important;
}

.live-hero__playing-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 4vw, 1.85rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--gradient-headline);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.live-hero__playing-game {
  margin: 0.35rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 3.2vw, 1.45rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
}

.live-platform-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  width: min(100%, 20rem);
  margin: 0.75rem auto 0;
  text-align: center;
}

.live-platform-grid[hidden] {
  display: none !important;
}

@media (max-width: 520px) {
  .live-platform-grid {
    grid-template-columns: 1fr;
    width: min(100%, 11rem);
  }
}

.live-platform-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  min-width: 0;
}

.live-platform-card__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  width: 100%;
  text-align: center;
}

.live-platform-card__logo {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  object-fit: contain;
  flex-shrink: 0;
}

.live-platform-card__name {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text);
}

.live-platform-card__art {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(0, 0, 0, 0.35)),
    #0a0a0a;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.live-platform-card__art.is-empty::after {
  content: "No box art";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.live-platform-card__art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.live-platform-card__art.is-empty img {
  opacity: 0;
}

.live-platform-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: auto;
  padding: 0.45rem 0.55rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff !important;
  transition:
    transform 0.2s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.2s ease,
    box-shadow 0.2s ease;
}

.live-platform-card__btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.live-platform-card--twitch .live-platform-card__btn {
  background: var(--twitch);
  box-shadow: 0 6px 16px rgba(169, 112, 255, 0.3);
}

.live-platform-card--youtube .live-platform-card__btn {
  background: var(--youtube);
  box-shadow: 0 6px 16px rgba(255, 0, 51, 0.3);
}

.live-schedule {
  width: min(100%, 48rem);
  margin: 2.25rem auto 0;
  text-align: center;
}

.live-schedule__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 4vw, 1.9rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--gradient-headline);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.live-schedule__subtitle {
  margin: 0.45rem 0 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.live-schedule__rule {
  width: min(100%, 22rem);
  height: 1px;
  margin: 0.9rem auto 1.1rem;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 122, 26, 0.85) 50%,
    transparent 100%
  );
  box-shadow: 0 0 12px rgba(255, 90, 20, 0.35);
}

.live-schedule__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.live-schedule__grid > * {
  min-width: 0;
}

.live-schedule-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 1rem 0.75rem;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 122, 26, 0.08), rgba(0, 0, 0, 0.28)),
    var(--surface);
  border: 1px solid rgba(255, 122, 26, 0.5);
  box-shadow:
    0 0 0 1px rgba(255, 90, 20, 0.08),
    0 0 18px rgba(255, 90, 20, 0.16);
}

.live-schedule-card__day {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent2);
}

.live-schedule-card__time {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.35;
}

.live-schedule__local {
  margin: 1.15rem 0 0;
  font-size: 0.92rem;
  color: var(--text);
}

.live-schedule__local [data-viewer-local-time] {
  font-weight: 700;
  color: var(--accent2);
}

@media (max-width: 640px) {
  .live-schedule__grid {
    grid-template-columns: 1fr;
  }
}

body[data-page="live"] h1.hero__headline-single {
  white-space: normal;
}

/** 404 — centered in the area between header and footer */
.page-404 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 2rem 0 3rem;
  box-sizing: border-box;
}

.page-404__inner {
  text-align: center;
  margin-inline: auto;
  width: min(100%, 36rem);
  max-width: 36rem;
  padding: 0 1rem;
  box-sizing: border-box;
}

.page-404__code {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(4rem, 18vw, 7rem);
  line-height: 0.92;
  margin: 0 0 0.85rem;
  letter-spacing: -0.06em;
  background: var(--gradient-headline);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.page-404__heading {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  margin: 0 0 0.85rem;
  color: var(--text);
}

.page-404__lede {
  margin: 0 auto 1.75rem;
  max-width: 28rem;
  color: var(--muted);
  line-height: 1.65;
}

.page-404__actions.hero-actions {
  margin-top: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.35rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-family: inherit;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition:
    transform 0.2s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.2s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.2s ease,
    border-color 0.18s ease,
    background-color 0.18s ease;
}

.btn:not(:disabled):hover {
  transform: translateY(-5px);
  filter: brightness(1.06);
}

.btn:focus-visible {
  outline: 2px solid var(--accent2);
  outline-offset: 3px;
}

.btn:active {
  transform: translateY(-1px) scale(0.975);
}

.btn:active,
.btn:not(:disabled):active {
  transition-duration: 0.08s;
}

.btn__icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  object-fit: contain;
}

.btn__icon--vpzone,
.btn__icon--shareplay,
.btn__icon--velora {
  width: 18px;
  height: 18px;
}

.btn--twitch {
  background: var(--twitch);
  color: #fff !important;
  box-shadow: 0 8px 24px rgba(169, 112, 255, 0.35);
}

.btn.btn--twitch:not(:disabled):hover {
  filter: brightness(1.12);
  box-shadow: 0 18px 40px rgba(169, 112, 255, 0.5);
}

.btn--youtube {
  background: var(--youtube);
  color: #fff !important;
  box-shadow: 0 8px 24px rgba(174, 191, 15, 0.38);
}

.btn.btn--youtube:not(:disabled):hover {
  filter: brightness(1.12);
  box-shadow: 0 18px 40px rgba(174, 191, 15, 0.5);
}

.btn--vpzone {
  background: #44abeb;
  color: #fff !important;
  box-shadow: 0 8px 24px rgba(68, 171, 235, 0.38);
}

.btn.btn--vpzone:not(:disabled):hover {
  filter: brightness(1.08);
  box-shadow: 0 18px 40px rgba(68, 171, 235, 0.55);
}

.btn--velora {
  background: var(--accent);
  color: #fff !important;
  box-shadow: 0 8px 24px rgba(255, 90, 20, 0.38);
}

.btn.btn--velora:not(:disabled):hover {
  filter: brightness(1.1);
  box-shadow: 0 18px 40px rgba(255, 90, 20, 0.55);
}

.btn--shareplay {
  background: #aebf0f;
  color: #fff !important;
  box-shadow: 0 8px 24px rgba(174, 191, 15, 0.38);
}

.btn.btn--shareplay:not(:disabled):hover {
  filter: brightness(1.12);
  box-shadow: 0 18px 40px rgba(174, 191, 15, 0.5);
}

.btn--tiktok {
  background: #111111;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.btn.btn--tiktok:not(:disabled):hover {
  filter: brightness(1.12);
  box-shadow: 0 18px 40px rgba(254, 44, 85, 0.28);
}

.btn--primary {
  background: var(--gradient-cta);
  color: #fff !important;
  font-weight: 600;
  box-shadow: 0 8px 26px var(--glow-deep);
}

.btn.btn--primary:not(:disabled):hover {
  filter: brightness(1.08);
  box-shadow: 0 14px 36px rgba(220, 38, 38, 0.42);
}

.btn--outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text) !important;
}

.btn.btn--outline:not(:disabled):hover {
  border-color: var(--accent2);
  background: rgba(37, 99, 235, 0.1);
  box-shadow:
    var(--shadow),
    0 10px 28px rgba(37, 99, 235, 0.12);
}

.btn--ghost {
  background: var(--surface);
  color: var(--text) !important;
  border: 1px solid var(--border);
}

.btn.btn--ghost:not(:disabled):hover {
  box-shadow:
    0 14px 36px rgba(0, 0, 0, 0.42),
    0 8px 22px rgba(37, 99, 235, 0.12);
}

.section {
  padding: 2.5rem 0;
  position: relative;
}

.section:nth-of-type(even) {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025) 0%, rgba(255, 255, 255, 0.01) 100%);
  border-block: 1px solid var(--border);
}

.section__title {
  font-family: var(--font-display);
  font-size: 1.65rem;
  margin: 0 0 1.25rem;
  letter-spacing: 0.14em;
  font-weight: 700;
  color: var(--text);
  -webkit-text-fill-color: var(--text);
  text-transform: uppercase;
}

.section__title::before {
  content: "//";
  display: inline-block;
  margin-right: 0.55rem;
  color: var(--accent2);
  -webkit-text-fill-color: var(--accent2);
}

.grid-2 {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/** Let grid columns shrink below wide media (e.g. sponsor videos) */
.grid-2 > * {
  min-width: 0;
  max-width: 100%;
}

.teams-list {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

.card {
  background: linear-gradient(180deg, rgba(22, 22, 22, 0.96) 0%, rgba(10, 10, 10, 0.98) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.5rem;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 122, 26, 0.16), transparent 20%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 18px);
  opacity: 0.28;
}

.card--stretch {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-start;
}

.card__title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0 0 0.35rem;
}

.card__meta {
  color: var(--accent2);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-family: var(--font-mono-display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.card__text {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

/**
 * Centered row of equal social buttons (count can change; leftover space is even on both sides).
 */
.social-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: clamp(0.38rem, 1.35vw, 0.62rem);
  width: 100%;
  max-width: 100%;
  margin-inline: auto;
  padding: 0.15rem 0 0.35rem;
}

.social-grid .social-btn {
  flex: 1 1 8.75rem;
  max-width: 12rem;
  width: auto;
  min-width: 0;
  box-sizing: border-box;
  justify-content: center;
  padding: clamp(0.48rem, 1.6vw, 0.72rem) clamp(0.35rem, 1vw, 0.55rem);
  font-size: clamp(0.72rem, 2.1vw, 0.85rem);
  gap: clamp(0.28rem, 1.1vw, 0.52rem);
}

.social-grid .social-btn i {
  flex-shrink: 0;
  font-size: clamp(0.92rem, 2.85vw, 1.06rem);
}

.social-grid .social-btn .social-btn__label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .social-grid {
    gap: 0.3rem;
  }

  .social-grid .social-btn {
    flex: 1 1 6.5rem;
    max-width: none;
    padding: 0.45rem 0.2rem;
    font-size: 0.68rem;
    gap: 0.2rem;
  }

  .social-grid .social-btn i {
    font-size: 0.85rem;
  }
}

.social-btn {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  background: var(--surface);
  text-decoration: none;
  color: #ffffff !important;
  font-weight: 600;
  font-size: 0.92rem;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.2s ease;
}

.social-btn i {
  color: #ffffff !important;
  transition: color 0.2s ease;
}

.social-btn:focus-visible {
  outline: 2px solid var(--accent2);
  outline-offset: 4px;
}

.social-btn:hover {
  transform: translateY(-5px);
  box-shadow:
    var(--shadow),
    0 10px 28px rgba(0, 0, 0, 0.35);
}

.social-btn:active {
  transform: translateY(-2px) scale(0.99);
}

.social-btn svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.social-btn__icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  object-fit: contain;
}

.social-btn__icon--shareplay {
  width: 22px;
  height: 22px;
}

.social-btn__icon--vpzone {
  width: 22px;
  height: 22px;
}

.social-btn__icon--velora {
  width: 22px;
  height: 22px;
}

.social-btn__icon--gamefolio {
  filter: brightness(0) invert(1);
}

.social-btn__icon--white {
  filter: brightness(0) invert(1);
}

/* Idle: brand stroke + surface + white label. Hover: brand fill + white label (X: white fill + dark label). */
.social-btn--twitch {
  border-color: var(--twitch);
}

.social-btn--twitch:hover {
  border-color: var(--twitch);
  background: var(--twitch);
  color: #ffffff !important;
}

.social-btn--twitch:hover i {
  color: #ffffff !important;
}

.social-btn--youtube {
  border-color: var(--youtube);
}

.social-btn--youtube:hover {
  border-color: var(--youtube);
  background: var(--youtube);
  color: #ffffff !important;
}

.social-btn--youtube:hover i {
  color: #ffffff !important;
}

.social-btn--kick {
  border-color: #53fc18;
}

.social-btn--kick:hover {
  border-color: #53fc18;
  background: #53fc18;
  color: #0a0a0a !important;
}

.social-btn__icon--kick {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.social-btn--shareplay {
  background-color: transparent;
  border: 2px solid transparent;
  background-image: linear-gradient(var(--surface), var(--surface)), linear-gradient(135deg, #fcd90a 0%, #d52920 100%);
  background-origin: border-box;
  background-clip: padding-box, border-box;
}

.social-btn--shareplay:hover {
  background-color: transparent;
  background-image: linear-gradient(135deg, #fcd90a 0%, #d52920 100%), linear-gradient(135deg, #fcd90a 0%, #d52920 100%);
  background-clip: padding-box, border-box;
  color: #ffffff !important;
}

.social-btn--shareplay:hover i {
  color: #ffffff !important;
}

.social-btn--velora {
  background-color: transparent;
  border: 2px solid transparent;
  background-image: linear-gradient(var(--surface), var(--surface)), var(--social-grad-velora);
  background-origin: border-box;
  background-clip: padding-box, border-box;
}

.social-btn--velora:hover {
  background-color: transparent;
  background-image: var(--social-grad-velora), var(--social-grad-velora);
  background-clip: padding-box, border-box;
  color: #ffffff !important;
}

.social-btn--gamefolio {
  border-color: #39ff14;
}

.social-btn--gamefolio:hover {
  border-color: #39ff14;
  background: #39ff14;
  color: #ffffff !important;
}

.social-btn--gamefolio:hover .social-btn__icon--gamefolio {
  color: #ffffff !important;
}

.social-btn--vpzone {
  background-color: transparent;
  border: 2px solid transparent;
  background-image: linear-gradient(var(--surface), var(--surface)), var(--social-grad-tiktok);
  background-origin: border-box;
  background-clip: padding-box, border-box;
}

.social-btn--vpzone:hover {
  background-color: transparent;
  background-image: var(--social-grad-tiktok), var(--social-grad-tiktok);
  background-clip: padding-box, border-box;
  color: #ffffff !important;
}

.social-btn--tiktok {
  background-color: transparent;
  border: 2px solid transparent;
  background-image: linear-gradient(var(--surface), var(--surface)), var(--social-grad-tiktok);
  background-origin: border-box;
  background-clip: padding-box, border-box;
}

.social-btn--tiktok:hover {
  background-color: transparent;
  background-image: var(--social-grad-tiktok), var(--social-grad-tiktok);
  background-clip: padding-box, border-box;
  color: #ffffff !important;
}

.social-btn--tiktok:hover i {
  color: #ffffff !important;
}

.social-btn--x {
  border-color: #ffffff;
}

.social-btn--x:hover {
  border-color: #ffffff;
  background: #ffffff;
  color: var(--social-hover-fg) !important;
  box-shadow:
    0 0 0 1px rgba(148, 163, 184, 0.55),
    var(--shadow),
    0 10px 28px rgba(0, 0, 0, 0.35);
}

.social-btn--x:hover i {
  color: var(--social-hover-fg) !important;
}

.social-btn--instagram {
  background-color: transparent;
  border: 2px solid transparent;
  background-image: linear-gradient(var(--surface), var(--surface)), var(--social-grad-instagram);
  background-origin: border-box;
  background-clip: padding-box, border-box;
}

.social-btn--instagram:hover {
  background-color: transparent;
  background-image: var(--social-grad-instagram), var(--social-grad-instagram);
  background-clip: padding-box, border-box;
  color: #ffffff !important;
}

.social-btn--instagram:hover i {
  color: #ffffff !important;
}

.social-btn--discord {
  border-color: #5865f2;
}

.social-btn--discord:hover {
  border-color: #5865f2;
  background: #5865f2;
  color: #ffffff !important;
}

.social-btn--discord:hover i {
  color: #ffffff !important;
}

/* Page intro */
.page-intro {
  padding: 2.25rem 0 0.5rem;
}

.page-intro h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  margin: 0 0 1.25rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--text);
  -webkit-text-fill-color: var(--text);
}

body[data-page="stream"] .page-intro h1,
body[data-page="equipment"] .page-intro h1,
body[data-page="teams"] .page-intro h1,
body[data-page="sponsored"] .page-intro h1,
body[data-page="kofi"] .page-intro h1,
body[data-page="support"] .page-intro h1 {
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.page-intro p {
  color: var(--muted);
  max-width: 42rem;
  margin: 0;
  font-family: var(--font-mono-display);
  letter-spacing: 0.06em;
}

body[data-page="crew"] .page-intro p {
  max-width: none;
  white-space: nowrap;
  letter-spacing: 0.04em;
}

body[data-page="servers"] .page-intro p {
  max-width: none;
  line-height: 1.65;
}

body[data-page="servers"] .page-intro p + p {
  margin-top: 0.85rem;
}

.server-rules-note {
  margin: 1.1rem 0 0;
  color: var(--accent2);
  font-weight: 700;
  font-family: var(--font-mono-display);
  letter-spacing: 0.04em;
}

@media (max-width: 960px) {
  body[data-page="crew"] .page-intro p {
    font-size: clamp(0.68rem, 2.15vw, 1.05rem);
  }
}

/* Teams: intro spans full content width so it lines up with the two team cards */
body[data-page="teams"] .page-intro p {
  max-width: none;
  line-height: 1.65;
}

body[data-page="teams"] .page-intro p + p {
  margin-top: 0.85rem;
}

body[data-page="sponsored"] .page-intro p {
  max-width: none;
  line-height: 1.65;
}

body[data-page="sponsored"] .page-intro p + p {
  margin-top: 0.85rem;
}

body[data-page="kofi"] .page-intro p {
  max-width: none;
  line-height: 1.65;
}

body[data-page="kofi"] .page-intro p + p {
  margin-top: 0.85rem;
}

body[data-page="support"] .page-intro p {
  max-width: none;
  line-height: 1.65;
}

.stream-lead {
  width: 100%;
}

.stream-intro-card {
  width: 100%;
}

.stream-lead p {
  color: var(--muted);
  max-width: none;
  width: 100%;
  margin: 0 0 0.85rem;
  line-height: 1.65;
}

.stream-lead p:last-child {
  margin-bottom: 0;
}

/* Currency & rewards (stream) */
.currency-block__title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
  font-weight: 700;
  background: var(--gradient-headline);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.currency-block + .currency-sep + .currency-block .currency-block__title {
  margin-top: 0;
}

.currency-block__content {
  color: var(--muted);
}

.currency-block__content p {
  margin: 0 0 0.85rem;
  line-height: 1.65;
}

.currency-block__content p:last-child {
  margin-bottom: 0;
}

.currency-subtitle {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent2);
  margin: 1rem 0 0.45rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.currency-block__content > .currency-subtitle:first-child {
  margin-top: 0;
}

.currency-block__content a {
  color: var(--accent2);
}

.currency-block__content a:hover {
  color: var(--link-hover);
}

.currency-sep {
  margin: 1.35rem 0;
  border: none;
  border-top: 1px solid var(--border);
}

/* Tables */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(18, 18, 18, 0.94) 0%, rgba(8, 8, 8, 0.98) 100%);
  box-shadow: var(--shadow);
}

.commands-wrap.table-wrap {
  padding: 0.35rem 1rem 0.85rem;
  background: var(--bg-elevated);
}

.commands-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 2.25rem;
  align-items: start;
}

@media (max-width: 768px) {
  .commands-cols {
    grid-template-columns: 1fr;
  }
}

.commands-pair {
  display: grid;
  grid-template-columns: minmax(5.5rem, max-content) 1fr;
  gap: 0.5rem 1rem;
  align-items: baseline;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}

.commands-col .commands-pair:last-child {
  border-bottom: none;
}

.commands-pair__cmd {
  font-family: var(--font-mono-display);
  font-size: 0.88em;
  background: var(--bg);
  padding: 0.2rem 0.45rem;
  border-radius: 4px;
  border: 1px solid var(--border);
  white-space: nowrap;
  color: #ffe8d4;
}

.commands-pair__desc {
  color: var(--muted);
  line-height: 1.45;
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.table th,
.table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.table th {
  background: rgba(255, 122, 26, 0.12);
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.table tr:last-child td {
  border-bottom: none;
}

.table code {
  background: var(--bg);
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  font-size: 0.88em;
  font-family: var(--font-mono-display);
}

.list-check {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--muted);
}

.list-check li {
  margin-bottom: 0.5rem;
}

.rules-body {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.rules-block__title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin: 0 0 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  background: var(--gradient-headline);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.rules-list {
  margin: 0;
  padding-left: 1.35rem;
  color: var(--muted);
}

.rules-list li {
  margin-bottom: 0.5rem;
}

.rules-list li:last-child {
  margin-bottom: 0;
}

.emote-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.emote-grid--tiles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 1rem 1.25rem;
  justify-items: center;
}

.emote-tile {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  max-width: 120px;
}

.emote-tile__img-wrap {
  width: 88px;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}

.emote-tile__img-wrap img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.emote-tile__caption {
  font-size: 0.82rem;
  color: var(--muted);
  text-align: center;
  line-height: 1.3;
}

.emote-pill {
  display: inline-flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.65rem 0.9rem;
  background: var(--surface);
  border-radius: 10px;
  border: 1px solid var(--border);
  max-width: 220px;
}

.emote-pill__name {
  font-weight: 700;
  font-family: var(--font-display);
  color: var(--accent2);
  font-size: 0.9rem;
}

.emote-pill__desc {
  font-size: 0.85rem;
  color: var(--muted);
}

.sponsor-code {
  margin: 0;
  font-size: 0.95rem;
  color: var(--accent2);
}

/* Sponsored — uniform tall logo lane (same box for every card) */
.sponsor-card .sponsor-logo-wrap {
  width: 100%;
  min-height: clamp(140px, 22vw, 200px);
  margin: 0 0 0.85rem;
  padding: 0.75rem 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
}

.sponsor-card {
  overflow: hidden;
  max-width: 100%;
}

.sponsor-card .sponsor-logo-wrap--video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: min(52vw, 300px);
  min-height: 0;
  margin: 0 0 0.85rem;
  padding: 0;
  box-sizing: border-box;
  border-radius: var(--radius);
  background: #000;
  border: 1px solid var(--border);
  overflow: hidden;
}

.sponsor-card .sponsor-logo-wrap img {
  width: 100%;
  height: clamp(120px, 18vw, 176px);
  max-width: min(100%, 360px);
  object-fit: contain;
  object-position: center;
}

.sponsor-card .sponsor-logo-wrap--cover {
  padding: 0;
  overflow: hidden;
  height: clamp(140px, 22vw, 200px);
}

.sponsor-card .sponsor-logo-wrap--cover img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}

.sponsor-card .sponsor-logo-wrap--video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  margin: 0;
  object-fit: contain;
  object-position: center;
  display: block;
}

.sponsor-card.card--stretch {
  height: 100%;
}

.sponsor-card--coming-soon {
  opacity: 0.85;
}

.sponsor-logo-wrap--coming-soon {
  min-height: clamp(140px, 22vw, 200px);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01)),
    rgba(255, 255, 255, 0.02);
  border-style: dashed;
}

.sponsor-coming-soon__label {
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.sponsor-card__cta {
  margin-top: auto;
  align-self: flex-start;
}

/** Sponsored page — partner CTAs match nav Store (gradient CTA) */
body[data-page="sponsored"] a.sponsor-card__cta.btn.btn--ghost {
  background: var(--gradient-cta);
  color: #fff !important;
  font-weight: 600;
  border: 1px solid transparent !important;
  box-shadow: 0 8px 26px var(--glow-deep);
  transition:
    transform 0.2s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.2s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.2s ease;
}

body[data-page="sponsored"] a.sponsor-card__cta.btn.btn--ghost:hover {
  filter: brightness(1.08);
  transform: translateY(-5px);
  box-shadow: 0 14px 36px rgba(220, 38, 38, 0.42);
}

body[data-page="sponsored"] a.sponsor-card__cta.btn.btn--ghost:active {
  transform: translateY(-1px) scale(0.975);
}

/* Ko-fi shop page */
.page-intro h1 .fa-brands {
  margin-right: 0.35em;
  color: #ff5e5b;
  -webkit-text-fill-color: #ff5e5b;
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
}

.kofi-shop-card__thumb {
  width: 100%;
  aspect-ratio: 1;
  margin: 0 0 1rem;
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid var(--border);
}

.kofi-shop-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.kofi-shop-card__price {
  margin: 0 0 0.65rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent2);
}

.kofi-shop-card__title {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
  font-weight: 700;
  margin: 0 0 0.35rem;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.kofi-shop-card.card--stretch {
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* Ko-fi shop: widget column (left) + product grid (right) */
.kofi-shop-layout {
  display: grid;
  grid-template-columns: minmax(260px, min(36vw, 380px)) minmax(0, 1fr);
  gap: 1.25rem 1.5rem;
  align-items: start;
  width: 100%;
  min-width: 0;
  padding-bottom: 0.5rem;
}

.kofi-shop-layout__widget {
  min-width: 0;
}

.kofi-shop-items {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem 0.6rem;
  min-width: 0;
}

.kofi-shop-items .kofi-shop-card {
  padding: 0.45rem 0.55rem 0.55rem;
  gap: 0.22rem;
  border-radius: var(--radius);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

.kofi-shop-items .kofi-shop-card__thumb {
  width: 75%;
  aspect-ratio: 1;
  margin: 0 auto 0.4rem;
}

.kofi-shop-items .kofi-shop-card__title {
  font-size: clamp(0.72rem, 1.15vw, 0.86rem);
  margin: 0 0 0.08rem;
  line-height: 1.2;
}

.kofi-shop-items .kofi-shop-card__price {
  margin: 0 0 0.2rem;
  font-size: 0.72rem;
}

.kofi-shop-items .card__text {
  font-size: 0.72rem;
  line-height: 1.35;
  margin: 0;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
}

.kofi-shop-items .sponsor-card__cta {
  font-size: 0.7rem;
  padding: 0.28rem 0.55rem;
  margin-top: 0.22rem;
}

/* Ko-fi embed — transparent shell (Ko-fi UI inside iframe keeps its own colors) */
body[data-page="kofi"] .kofi-widget-frame {
  width: 100%;
  max-width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  border: none;
  box-shadow: none;
  background: transparent;
}

body[data-page="kofi"] .kofi-widget-frame__iframe {
  display: block;
  width: 100%;
  min-height: min(712px, 90vh);
  border: none;
  padding: 0;
  box-sizing: border-box;
  background: transparent;
}

@media (max-width: 900px) {
  .kofi-shop-layout {
    grid-template-columns: 1fr;
  }

  .kofi-shop-items {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 560px;
    margin-inline: auto;
  }
}

@media (max-width: 520px) {
  .kofi-shop-items {
    grid-template-columns: 1fr;
    max-width: none;
  }
}

/* Support — Twitch subscribers */
.subscriber-panel {
  padding: 1.5rem 1.65rem;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
}

.subscriber-panel__title {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.8vw, 1.35rem);
  margin: 0 auto 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-align: center;
}

.subscriber-panel__intro {
  margin: 0 auto 1.25rem;
  max-width: 44rem;
  color: var(--muted);
  line-height: 1.65;
  text-align: center;
}

.subscriber-panel__list {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.25rem, 3vw, 1.75rem);
  justify-content: center;
  align-items: flex-start;
}

.subscriber-panel__status {
  color: var(--muted);
  text-align: center;
  width: 100%;
}

.subscriber-panel__status.subscriber-panel__status--loading {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.subscriber-panel a.subscriber-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  width: 6.75rem;
  max-width: 6.75rem;
  text-decoration: none;
  color: var(--muted);
  transition:
    transform 0.2s ease,
    color 0.2s ease;
}

.subscriber-panel a.subscriber-item:hover,
.subscriber-panel a.subscriber-item:focus-visible {
  transform: scale(1.06);
  color: var(--text);
}

.subscriber-panel a.subscriber-item:focus-visible {
  outline: 2px solid var(--accent2);
  outline-offset: 6px;
  border-radius: 14px;
}

.subscriber-panel a.subscriber-item:hover .subscriber-item__name,
.subscriber-panel a.subscriber-item:focus-visible .subscriber-item__name {
  color: var(--accent2);
}

/**
 * Portrait “badge”: force a real 80×80 circle. Global `img { height: auto }`
 * was collapsing avatars inside flex; `max-width: none` overrides `max-width: 100%`.
 */
.subscriber-item__badge {
  display: grid;
  place-items: center;
  width: 5.25rem;
  height: 5.25rem;
  flex-shrink: 0;
}

.subscriber-panel .subscriber-item__badge img {
  display: block;
  width: 80px;
  height: 80px;
  max-width: none;
  min-width: 80px;
  min-height: 80px;
  margin: 0;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  border: 2px solid var(--border);
  box-shadow:
    0 0 0 1px rgba(96, 164, 250, 0.35),
    0 0 14px var(--subscriber-glow-accent),
    0 0 28px var(--subscriber-glow-secondary);
}

.subscriber-item__name {
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.25;
  word-break: break-word;
}

.subscriber-panel a.subscriber-item:hover .subscriber-item__badge img,
.subscriber-panel a.subscriber-item:focus-visible .subscriber-item__badge img {
  border-color: var(--subscriber-ring-strong);
  box-shadow:
    0 0 0 1px rgba(96, 164, 250, 0.4),
    0 0 22px var(--subscriber-glow-accent),
    0 0 40px var(--subscriber-glow-secondary);
}

/* Support — StreamElements tip panel */
.support-tip-panel {
  text-align: center;
  padding: 2rem 1.5rem 2.35rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  box-sizing: border-box;
}

.support-tip-panel__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 0.25rem;
  border-radius: 16px;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  font-size: 1.65rem;
  color: var(--accent2);
}

.support-tip-panel__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.8vw, 1.45rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.support-tip-panel__lede {
  margin: 0;
  max-width: 38rem;
  color: var(--muted);
  line-height: 1.65;
  font-size: 0.98rem;
}

a.support-tip-panel__cta.btn {
  margin-top: 0.5rem;
  width: min(100%, 22rem);
  padding: 1rem 1.65rem;
  font-size: 1.02rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  justify-content: center;
}

a.support-tip-panel__cta.btn--primary {
  color: #fff !important;
}

/* Support cards (Patreon grid — legacy if reused) */
.support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.support-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.75rem;
  gap: 0.75rem;
}

.support-card .card__text {
  margin: 0;
  flex: 1 1 auto;
}

.support-card .icon-wrap {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  border-radius: 14px;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
}

.support-card .icon-wrap svg {
  width: 28px;
  height: 28px;
}

.support-card__title {
  margin: 0;
  font-size: 1.2rem;
  font-family: var(--font-display);
}

a.support-card__cta.btn {
  text-decoration: none;
  margin-top: auto;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text) !important;
}

a.support-card__cta.btn--ghost:hover {
  border-color: var(--accent2);
  background: rgba(37, 99, 235, 0.12);
  color: var(--text) !important;
}

/* Footer */
.site-footer {
  flex-shrink: 0;
  margin-top: 3rem;
  padding: 2rem 0 2.5rem;
  border-top: 1px solid var(--border);
  background: rgba(8, 8, 8, 0.96);
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.footer-brand {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.65rem;
  flex: 0 1 auto;
  min-width: 0;
  text-decoration: none;
  color: var(--text) !important;
}

.footer-brand:visited,
.footer-brand .footer-brand__title {
  color: var(--text);
}

.footer-brand:hover .footer-brand__title {
  color: var(--accent2);
}

a.footer-brand:focus-visible {
  outline: 2px solid var(--accent2);
  outline-offset: 6px;
  border-radius: 8px;
}

.footer-brand__logo {
  height: 40px;
  width: auto;
  max-width: 110px;
  display: block;
  object-fit: contain;
  flex-shrink: 0;
}

.footer-brand__title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0;
  transition: color 0.18s ease;
  letter-spacing: 0.12em;
}

.footer-credits.footer-legal {
  margin: 0;
  margin-top: 0;
  line-height: 1.45;
  flex: 1 1 16rem;
  max-width: 100%;
  text-align: right;
  align-self: center;
}

@media (max-width: 640px) {
  .footer-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-credits.footer-legal {
    text-align: center;
    flex-basis: auto;
  }
}

.footer-legal {
  white-space: normal;
}

.footer-legal a {
  color: var(--accent2);
  text-decoration: underline;
}

.footer-legal a:hover {
  color: var(--link-hover);
}

.icon {
  fill: currentColor;
}

.muted-small {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.5rem;
}

.footer-credits.footer-legal.muted-small,
p.footer-credits.footer-legal.muted-small {
  font-size: clamp(0.78rem, 0.95vw + 0.62rem, 0.92rem);
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding-top: 2rem;
}

.team-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.35rem;
  flex-wrap: wrap;
}

.team-card__main {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  min-width: min(100%, 10rem);
}

.team-card .card__title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.65rem;
}

.team-card__logo-wrap {
  flex: 0 0 auto;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-inline-start: auto;
}

.team-card__logo {
  display: block;
  max-width: min(168px, 38vw);
  height: auto;
  max-height: 120px;
  width: auto;
  object-fit: contain;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.25);
}

@media (max-width: 540px) {
  .team-card {
    flex-direction: column;
    align-items: stretch;
  }

  .team-card__logo-wrap {
    margin-inline-start: 0;
    justify-content: center;
  }

  .team-card__logo {
    max-width: min(200px, 72vw);
    max-height: 140px;
  }
}

.team-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  font-family: var(--font-display);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ffffff;
  background: var(--gradient-cta);
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
}

.team-badge--owner {
  background: linear-gradient(135deg, #e85a4f 0%, #c62828 55%, #8b1a1a 100%);
}

.icon-link {
  text-decoration: none;
  color: inherit !important;
  transition:
    transform 0.15s,
    border-color 0.15s;
}

.icon-link:hover {
  transform: translateY(-3px);
  border-color: var(--accent) !important;
}

.icon-link .btn {
  pointer-events: none;
}

/* -------------------------------------------------------------------------- */
/* Equipment — same intro / section titles as Stream, two-column spec cards   */
/* -------------------------------------------------------------------------- */

.equipment-page__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: start;
}

body[data-page="equipment"] .page-intro p {
  max-width: none;
  line-height: 1.65;
  text-transform: none;
}

body[data-page="equipment"] main.shell {
  width: min(1180px, 94vw);
}

body[data-page="equipment"] .list-check {
  color: #ffffff;
  font-size: 1.03rem;
  line-height: 1.68;
  padding-left: 1.35rem;
}

body[data-page="equipment"] .list-check li {
  margin-bottom: 0.65rem;
}

body[data-page="equipment"] .list-check li::marker {
  color: var(--accent2);
}

@media (max-width: 768px) {
  .equipment-page__grid {
    grid-template-columns: 1fr;
  }
}

/* -------------------------------------------------------------------------- */
/* Crew, servers, apply                                                       */
/* -------------------------------------------------------------------------- */

.crew-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin: 0 0 2rem;
  align-items: stretch;
}

.crew-member {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: 100%;
  min-height: 17.75rem;
  padding: 1.15rem 0.85rem 1.2rem;
  box-sizing: border-box;
}

.crew-member.card::before,
.apply-card.card::before {
  display: none;
}

.crew-member h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
}

.crew-member__avatar {
  display: block;
  width: 120px;
  height: 120px;
  flex: 0 0 120px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 0 0.75rem;
  background: rgba(255, 90, 20, 0.12);
  box-sizing: border-box;
}

.crew-member--live .crew-member__avatar {
  box-shadow: 0 0 0 4px #ff2d55;
}

.crew-member__role {
  margin: 0 0 0.2rem;
  min-height: 1.05rem;
  color: var(--accent2);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.crew-member__avatar--open {
  display: grid;
  place-items: center;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--muted);
  border: 1px dashed rgba(255, 122, 26, 0.45);
  background: transparent;
}

.crew-member__apply {
  display: inline-block;
  margin-top: auto;
  padding-top: 0.7rem;
  font-weight: 700;
  color: var(--accent2);
  text-decoration: none;
}

.crew-member__apply:hover {
  color: var(--link-hover);
}

.crew-icon-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
  margin-top: auto;
  padding-top: 0.7rem;
}

.crew-icon-link {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 90, 20, 0.16);
  color: var(--text);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 800;
}

.crew-icon-link:hover {
  background: var(--accent);
  color: #fff;
}

.server-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 0 0 2rem;
}

.server-card {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto auto;
  gap: 0.85rem 1rem;
  align-items: center;
  padding: 0.7rem 1rem;
  background:
    linear-gradient(180deg, rgba(255, 122, 26, 0.08), rgba(0, 0, 0, 0.28)),
    var(--surface);
  border: 1px solid rgba(255, 122, 26, 0.5);
  box-shadow:
    0 0 0 1px rgba(255, 90, 20, 0.08),
    0 0 18px rgba(255, 90, 20, 0.16);
}

.server-card > * {
  position: relative;
  z-index: 1;
}

.server-card__art {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  object-fit: cover;
  background: rgba(255, 90, 20, 0.12);
  border: 1px solid var(--border);
}

.server-card__body h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text);
}

.server-card__summary {
  margin: 0.2rem 0 0;
  font-family: var(--font-mono-display);
  font-size: 0.86rem;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.server-card.is-offline .server-card__summary {
  color: var(--danger);
}

.server-card__players {
  margin: 0;
  font-family: var(--font-mono-display);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.06em;
  color: var(--text);
  white-space: nowrap;
}

.server-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--muted);
  box-shadow: 0 0 0 4px rgba(148, 163, 184, 0.22);
}

.server-dot.is-online {
  background: #22c55e;
  box-shadow:
    0 0 0 4px rgba(34, 197, 94, 0.28),
    0 0 12px rgba(34, 197, 94, 0.45);
}

.server-dot.is-offline {
  background: #ef4444;
  box-shadow:
    0 0 0 4px rgba(239, 68, 68, 0.28),
    0 0 12px rgba(239, 68, 68, 0.4);
}

.apply-card {
  max-width: 42rem;
  padding: 1.35rem 1.4rem 1.5rem;
}

.apply-form {
  display: grid;
  gap: 1rem;
  position: relative;
  z-index: 1;
}

.apply-form label {
  display: grid;
  gap: 0.4rem;
  font-weight: 700;
}

.apply-form input,
.apply-form select {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  border-radius: 10px;
  padding: 0.75rem 0.8rem;
  font: inherit;
}

.apply-fieldset {
  margin: 0;
  padding: 1rem 1.1rem 1.15rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: grid;
  gap: 0.75rem;
}

.apply-fieldset legend {
  padding: 0 0.35rem;
  font-weight: 700;
}

.apply-day-toggles {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.apply-form .day-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  padding: 0.45rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg);
  font-weight: 700;
  cursor: pointer;
}

.apply-form .day-toggle input {
  width: auto;
  accent-color: var(--accent);
}

.apply-form .day-toggle:has(input:checked) {
  background: rgba(255, 90, 20, 0.16);
  border-color: var(--accent);
}

.apply-schedule-times {
  display: grid;
  gap: 0.65rem;
}

.apply-schedule-times label[hidden] {
  display: none;
}

.apply-status {
  margin: 0.85rem 0 0;
  color: var(--muted);
}

@media (max-width: 900px) {
  .crew-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .server-card {
    grid-template-columns: 56px minmax(0, 1fr) auto auto;
    gap: 0.7rem;
    padding: 0.7rem 0.8rem;
  }

  .server-card__art {
    width: 56px;
    height: 56px;
  }
}

@media (max-width: 560px) {
  .crew-grid {
    grid-template-columns: 1fr;
  }
}

@font-face {
  font-family: "BF Modernista";
  src: url("../fonts/BF_Modernista-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "BF Modernista";
  src: url("../fonts/BF_Modernista-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "BF Modernista";
  src: url("../fonts/BF_Modernista-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "BF Modernista Solid";
  src: url("../fonts/BF_Modernista_Solid-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "BF Modernista Solid";
  src: url("../fonts/BF_Modernista_Solid-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "BF Modernista Solid";
  src: url("../fonts/BF_Modernista_Solid-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "BF Modernista Solid";
  src: url("../fonts/BF_Modernista_Solid-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
