:root {
  --site-bg: #060b14;
  --site-bg-2: #0a1220;
  --panel: #111827;
  --panel-dark: #0b1220;
  --panel-hover: #141d2d;
  --line: rgba(148, 163, 184, .40);
  --line-soft: rgba(255, 255, 255, .10);
  --text: #f8fafc;
  --muted: #94a3b8;
  --muted-2: #64748b;
  --accent: #38bdf8;
  --accent-soft: rgba(56, 189, 248, .18);
  --danger: #f87171;
  --success: #4ade80;
  --shadow: rgba(0, 0, 0, .45);
}

html { min-height: 100%; }

body {
  min-height: 100vh;
  background:
    radial-gradient(circle at top, rgba(56,189,248,.06), transparent 35%),
    linear-gradient(to bottom, var(--site-bg), var(--site-bg-2));
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body a { color: inherit; }

.site-container { max-width: 1180px; }

.site-header {
  position: sticky;
  top: 0;
  border-bottom: 1px solid rgba(148, 163, 184, .28);
  background: rgba(11, 17, 29, .92);
  backdrop-filter: blur(14px);
  z-index: 1030;
}

.site-nav { padding: .9rem 0; }

.site-logo-frame {
  width: 48px;
  height: 48px;
  border-radius: 6px;
  border: 1px solid rgba(148, 163, 184, .45);
  background: #111827;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 18px 35px var(--shadow);
  overflow: hidden;
}

.site-logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.brand-title {
  display: block;
  font-weight: 800;
  font-size: 1.25rem;
  line-height: 1.1;
  letter-spacing: .02em;
}

.brand-subtitle {
  display: block;
  color: var(--muted);
  font-size: .86rem;
  line-height: 1.35;
}

.site-nav-links {
  gap: .55rem;
}

.site-nav-links .nav-link {
  color: #cbd5e1;
  background: #111827;
  border: 1px solid rgba(148, 163, 184, .36);
  border-radius: 6px;
  padding: .55rem .9rem !important;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .82rem;
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}

.site-nav-links .nav-link:hover,
.site-nav-links .nav-link.active {
  color: #e0f2fe !important;
  background: #172033;
  border-color: rgba(56, 189, 248, .45);
}

.site-toggler {
  border-color: rgba(148, 163, 184, .4);
}

.site-footer {
  border-top: 1px solid rgba(148, 163, 184, .35);
  background: #080d16;
}

.site-footer-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--muted);
}

.site-copyright {
  color: var(--muted-2);
  font-size: .82rem;
}

.site-footer-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: .92rem;
}

.site-footer-links a {
  color: var(--muted);
  text-decoration: none;
  transition: color .18s ease;
}

.site-footer-links a:hover { color: #7dd3fc; }

[data-disabled-link="true"] {
  cursor: default;
  opacity: .72;
}

[data-disabled-link="true"]:hover {
  transform: none !important;
  border-color: rgba(148, 163, 184, .40) !important;
}

.milsci-shell {
  min-height: calc(100vh - 76px);
}

.home-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,.10);
}

.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(56,189,248,.08), transparent 40%);
  pointer-events: none;
}

.home-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.4fr .8fr;
  gap: 2.5rem;
  padding-top: 4rem;
  padding-bottom: 4rem;
  align-items: center;
}

.tactical-pill {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  border-radius: 6px;
  border: 1px solid rgba(148, 163, 184, .40);
  background: #111827;
  color: #cbd5e1;
  padding: .55rem .85rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .86rem;
}

.home-title {
  margin-top: 1.5rem;
  font-size: clamp(2.35rem, 6vw, 4.5rem);
  line-height: 1.03;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.home-copy {
  margin-top: 1.5rem;
  color: rgba(203,213,225,.88);
  max-width: 680px;
  font-size: 1.12rem;
  line-height: 1.72;
}

.panel {
  background: rgba(17, 24, 39, .96);
  border: 1px solid rgba(148, 163, 184, .40);
  border-radius: 6px;
  box-shadow: 0 24px 55px rgba(0,0,0,.42);
  position: relative;
  overflow: hidden;
}

.panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, rgba(56,189,248,.8), rgba(148,163,184,.28), transparent);
}

.panel-inner { padding: 1.5rem; }

.panel-title {
  margin: 0;
  color: #e2e8f0;
  font-size: 1.05rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.channel-list {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.channel-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: var(--panel-dark);
  border: 1px solid rgba(148, 163, 184, .40);
  border-radius: 6px;
  padding: 1rem;
  color: #f8fafc;
  text-decoration: none;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}

.channel-card:hover {
  color: #f8fafc;
  background: #142033;
  border-color: rgba(56, 189, 248, .45);
  transform: translateY(-1px);
}

.channel-name {
  font-size: .88rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.status-pill {
  border-radius: 999px;
  padding: .25rem .65rem;
  font-size: .78rem;
  color: #e5e7eb;
  background: rgba(255,255,255,.10);
}

.status-live { color: #fee2e2; background: rgba(248,113,113,.18); }
.status-community { color: #bae6fd; background: rgba(56,189,248,.18); }
.status-channel { color: #cbd5e1; background: rgba(255,255,255,.10); }

.stats-section { padding: 2.5rem 0; }

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

.stat-panel {
  min-height: 154px;
  background: #111827;
  border: 1px solid rgba(148, 163, 184, .40);
  border-radius: 6px;
  box-shadow: 0 24px 55px rgba(0,0,0,.36);
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
}

.stat-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, rgba(56,189,248,.8), rgba(148,163,184,.28), transparent);
}

.stat-label {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .09em;
  font-size: .86rem;
}

.stat-value {
  margin-top: .85rem;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 950;
  letter-spacing: .08em;
  line-height: 1.05;
}

.stat-sub {
  margin-top: .85rem;
  color: var(--muted);
  font-size: .95rem;
}

.begin-section { padding-bottom: 4rem; }

.begin-copy {
  max-width: 780px;
  color: var(--muted);
  line-height: 1.65;
}

.begin-eyebrow {
  color: #7dd3fc;
  text-transform: uppercase;
  letter-spacing: .2em;
  font-size: .82rem;
  font-weight: 800;
}

.begin-title {
  margin-top: .35rem;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 950;
}

.begin-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.begin-card {
  display: block;
  min-height: 215px;
  background: #0b1220;
  border: 1px solid rgba(148, 163, 184, .40);
  border-radius: 6px;
  padding: 1.5rem;
  color: #f8fafc;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}

.begin-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(to bottom, rgba(56,189,248,.82), transparent);
}

.begin-card:hover {
  color: #f8fafc;
  background: #141d2d;
  border-color: rgba(56,189,248,.45);
  transform: translateY(-2px);
}

.begin-card h3 {
  font-size: 1.25rem;
  font-weight: 850;
  margin: 0;
}

.begin-card p {
  margin-top: .85rem;
  color: var(--muted);
  font-size: .94rem;
  line-height: 1.58;
}

.begin-action {
  display: inline-block;
  margin-top: 1rem;
  color: #7dd3fc;
  font-size: .9rem;
  font-weight: 800;
}

@media (max-width: 991.98px) {
  .home-grid { grid-template-columns: 1fr; padding-top: 3rem; padding-bottom: 3rem; }
  .site-nav-links { padding-top: 1rem; }
  .begin-grid { grid-template-columns: 1fr; }
}

@media (max-width: 767.98px) {
  .stat-grid { grid-template-columns: 1fr; }
  .site-footer-inner { justify-content: center; text-align: center; }
  .site-footer-links { justify-content: center; }
}


/* Subpage / The List styles */
.subpage-shell {
  min-height: calc(100vh - 76px);
}

.subpage-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,.10);
  padding: 4rem 0 2.25rem;
}

.subpage-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(56,189,248,.10), transparent 42%);
  pointer-events: none;
}

.subpage-hero-inner {
  position: relative;
  z-index: 1;
}

.page-title-milsci {
  font-size: clamp(2.3rem, 5vw, 4.3rem);
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
  line-height: 1;
}

.page-copy-milsci {
  max-width: 820px;
  color: #cbd5e1;
  font-size: 1.05rem;
  line-height: 1.75;
}

.list-control-panel,
.list-results-panel {
  border: 1px solid rgba(148, 163, 184, .40);
  background: #111827;
  box-shadow: 0 24px 60px rgba(0,0,0,.38);
  border-radius: 6px;
  position: relative;
  overflow: hidden;
}

.list-control-panel::before,
.list-results-panel::before,
.list-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 2px;
  width: 100%;
  background: linear-gradient(90deg, rgba(56,189,248,.85), rgba(148,163,184,.25), transparent);
}

.list-control-panel {
  padding: 1.25rem;
  margin-top: -1.25rem;
  z-index: 2;
}

.control-label-milsci {
  color: #94a3b8;
  font-size: .75rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: .45rem;
  font-weight: 700;
}

.milsci-input,
.milsci-select {
  background: #0b1220 !important;
  border: 1px solid rgba(148, 163, 184, .40) !important;
  color: #f8fafc !important;
  border-radius: 6px !important;
  min-height: 44px;
}

.milsci-input::placeholder {
  color: #64748b;
}

.milsci-input:focus,
.milsci-select:focus {
  border-color: rgba(56,189,248,.70) !important;
  box-shadow: 0 0 0 .2rem rgba(56,189,248,.13) !important;
}

.milsci-select option {
  background: #0b1220;
  color: #f8fafc;
}

.result-readout {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: #94a3b8;
  font-size: .85rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 800;
}

.result-readout strong {
  color: #f8fafc;
  font-size: 1rem;
}

.list-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.list-card {
  background: #0b1220;
  border: 1px solid rgba(148, 163, 184, .40);
  border-radius: 6px;
  min-height: 100%;
  color: #f8fafc;
  position: relative;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0,0,0,.28);
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}

.list-card:hover {
  background: #141d2d;
  border-color: rgba(56,189,248,.45);
  transform: translateY(-2px);
}

.list-image-shell {
  height: 245px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background:
    linear-gradient(135deg, rgba(15,23,42,.95), rgba(2,6,23,.86)),
    radial-gradient(circle at center, rgba(56,189,248,.12), transparent 55%);
  border-bottom: 1px solid rgba(148, 163, 184, .22);
}

.list-image-shell img {
  max-height: 215px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 20px 28px rgba(0,0,0,.45));
}

.list-card-body {
  padding: 1rem;
}

.list-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 850;
  letter-spacing: .02em;
  line-height: 1.25;
}

.vote-readout {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-top: .75rem;
  color: #bae6fd;
  background: rgba(56,189,248,.12);
  border: 1px solid rgba(56,189,248,.24);
  border-radius: 6px;
  padding: .35rem .55rem;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.list-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .65rem;
  margin-top: 1rem;
}

.milsci-action {
  min-height: 39px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  border: 1px solid rgba(148, 163, 184, .42);
  background: #111827;
  color: #cbd5e1;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .72rem;
  font-weight: 850;
  padding: .55rem .75rem;
  transition: background .15s ease, border-color .15s ease, color .15s ease, transform .12s ease;
}

.milsci-action:hover,
.milsci-action:focus {
  background: #172033;
  border-color: rgba(56,189,248,.54);
  color: #e0f2fe;
}

.milsci-action:active {
  transform: scale(.98);
}

.milsci-action-primary {
  border-color: rgba(56,189,248,.48);
  color: #bae6fd;
}

.empty-state {
  border: 1px solid rgba(148, 163, 184, .40);
  background: #111827;
  border-radius: 6px;
  color: #94a3b8;
  padding: 2rem;
  text-align: center;
}

@media (max-width: 1199.98px) {
  .list-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 991.98px) {
  .list-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .subpage-hero { padding-top: 3rem; }
}

@media (max-width: 575.98px) {
  .list-grid { grid-template-columns: 1fr; }
  .list-card-actions { grid-template-columns: 1fr; }
  .list-image-shell { height: 225px; }
}

/* Changelog styles */
.changelog-control-panel {
  margin-bottom: .5rem;
}

.changelog-timeline {
  display: grid;
  gap: 1.25rem;
}

.changelog-version {
  background: #111827;
  border: 1px solid rgba(148, 163, 184, .40);
  border-radius: 6px;
  box-shadow: 0 24px 60px rgba(0,0,0,.34);
  position: relative;
  overflow: hidden;
  padding: 1.25rem;
}

.changelog-version::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 2px;
  width: 100%;
  background: linear-gradient(90deg, rgba(56,189,248,.85), rgba(148,163,184,.25), transparent);
}

.changelog-date {
  color: #f8fafc;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

.changelog-entry-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: .85rem;
}

.changelog-entry {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 1rem;
  align-items: start;
  background: #0b1220;
  border: 1px solid rgba(148, 163, 184, .28);
  border-radius: 6px;
  padding: .9rem 1rem;
}

.changelog-type {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  border-radius: 4px;
  padding: .25rem .5rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .72rem;
  font-weight: 900;
  border: 1px solid rgba(148, 163, 184, .30);
  background: rgba(255,255,255,.08);
  color: #e2e8f0;
}

.changelog-type-add {
  color: #bbf7d0;
  background: rgba(74, 222, 128, .12);
  border-color: rgba(74, 222, 128, .32);
}

.changelog-type-change {
  color: #fde68a;
  background: rgba(251, 191, 36, .12);
  border-color: rgba(251, 191, 36, .32);
}

.changelog-type-fix {
  color: #fecaca;
  background: rgba(248, 113, 113, .12);
  border-color: rgba(248, 113, 113, .32);
}

.changelog-description {
  color: #cbd5e1;
  line-height: 1.6;
}

.changelog-description a {
  color: #7dd3fc;
  text-decoration: none;
}

.changelog-description a:hover {
  color: #bae6fd;
  text-decoration: underline;
}

@media (max-width: 575.98px) {
  .changelog-entry {
    grid-template-columns: 1fr;
    gap: .55rem;
  }

  .changelog-type {
    justify-content: flex-start;
    width: fit-content;
  }
}


/* Shared modal system */
body.modal-open {
  overflow: hidden;
}

.rale-modal-overlay {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  z-index: 5000;
}

.rale-modal-overlay.is-open {
  display: flex;
}

.rale-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, .82);
  backdrop-filter: blur(7px);
}

.rale-modal-panel {
  position: relative;
  width: min(1120px, 100%);
  max-height: min(86vh, 900px);
  background: #111827;
  border: 1px solid rgba(148, 163, 184, .48);
  border-radius: 6px;
  box-shadow: 0 32px 90px rgba(0,0,0,.65);
  overflow: hidden;
  color: #f8fafc;
}

.rale-modal-topline {
  height: 2px;
  width: 100%;
  background: linear-gradient(90deg, rgba(56,189,248,.9), rgba(148,163,184,.28), transparent);
}

.rale-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(148, 163, 184, .28);
  background: #0b1220;
}

.rale-modal-kicker {
  color: #7dd3fc;
  text-transform: uppercase;
  letter-spacing: .2em;
  font-size: .78rem;
  font-weight: 850;
}

.rale-modal-title {
  margin: .25rem 0 0;
  font-size: clamp(1.45rem, 3vw, 2.1rem);
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.rale-modal-close {
  width: 42px;
  height: 42px;
  border-radius: 6px;
  border: 1px solid rgba(148, 163, 184, .45);
  background: #111827;
  color: #f8fafc;
  font-size: 1.6rem;
  line-height: 1;
  transition: border-color .18s ease, background .18s ease;
}

.rale-modal-close:hover,
.rale-modal-close:focus {
  border-color: rgba(56,189,248,.7);
  background: #162033;
}

.rale-modal-body {
  max-height: calc(min(86vh, 900px) - 106px);
  overflow: auto;
  padding: 1.5rem;
}

.rale-modal-loading,
.rale-modal-error,
.rale-modal-empty {
  color: #94a3b8;
  padding: 1rem;
}

.rale-modal-rich {
  color: #cbd5e1;
  line-height: 1.72;
}

.rale-modal-rich .toc {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: .75rem;
  margin-bottom: 1.5rem;
}

.rale-modal-rich .toc a,
.rale-modal-rich a {
  color: #7dd3fc;
}

.rale-modal-rich .toc a {
  display: block;
  padding: .8rem .95rem;
  border: 1px solid rgba(148, 163, 184, .35);
  border-radius: 6px;
  background: #0b1220;
  color: #f8fafc;
  text-decoration: none;
}

.rale-modal-rich h2 {
  margin-top: 1.65rem;
  color: #f8fafc;
  font-size: 1.35rem;
  font-weight: 850;
}

.rale-modal-rich h3 {
  color: #7dd3fc;
  font-size: 1rem;
  margin-top: 1.1rem;
}

.rale-modal-rich .updated {
  color: #94a3b8;
  margin-bottom: 1rem;
}

.rale-modal-rich .note {
  border-left: 3px solid #38bdf8;
  background: rgba(56, 189, 248, .08);
  padding: 1rem;
  border-radius: 6px;
}

.streamlog-modal-summary {
  display: grid;
  grid-template-columns: minmax(220px, .75fr) 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.streamlog-total-card,
.streamlog-search-card {
  border: 1px solid rgba(148, 163, 184, .40);
  background: #0b1220;
  border-radius: 6px;
  padding: 1rem;
}

.streamlog-label,
.streamlog-search-card label,
.streamlog-count {
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .75rem;
  font-weight: 750;
}

.streamlog-total {
  margin-top: .35rem;
  font-size: 1.65rem;
  font-weight: 950;
  letter-spacing: .06em;
}

.streamlog-search-card .milsci-input {
  width: 100%;
  margin-top: .5rem;
}

.streamlog-count {
  margin: .65rem 0;
}

.streamlog-table-wrap {
  overflow: auto;
  border: 1px solid rgba(148, 163, 184, .35);
  border-radius: 6px;
}

.streamlog-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 780px;
  margin: 0;
}

.streamlog-table th,
.streamlog-table td {
  padding: .85rem 1rem;
  border-bottom: 1px solid rgba(148, 163, 184, .22);
  vertical-align: top;
}

.streamlog-table th {
  background: #0b1220;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .75rem;
  font-weight: 850;
}

.streamlog-table td {
  color: #cbd5e1;
}

.stat-panel[data-modal] {
  cursor: pointer;
  transition: border-color .18s ease, transform .18s ease, background .18s ease;
}

.stat-panel[data-modal]:hover {
  border-color: rgba(56,189,248,.52);
  background: #141d2d;
  transform: translateY(-2px);
}

@media (max-width: 767.98px) {
  .streamlog-modal-summary { grid-template-columns: 1fr; }
  .rale-modal-overlay { padding: .75rem; }
  .rale-modal-header { padding: 1rem; }
  .rale-modal-body { padding: 1rem; }
}


/* Schedule styles */
.schedule-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 1rem;
}

.schedule-day-card {
  background: #0b1220;
  border: 1px solid rgba(148, 163, 184, .40);
  border-radius: 6px;
  padding: 1.15rem;
  min-height: 148px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 18px 42px rgba(0,0,0,.28);
}

.schedule-day-card::before,
.special-stream-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 2px;
  width: 100%;
  background: linear-gradient(90deg, rgba(56,189,248,.85), rgba(148,163,184,.25), transparent);
}

.schedule-day-name {
  color: #f8fafc;
  font-weight: 950;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-size: .9rem;
}

.schedule-time-main {
  margin-top: 1rem;
  color: #bae6fd;
  font-weight: 950;
  letter-spacing: .06em;
  font-size: 1.35rem;
  line-height: 1.1;
}

.schedule-time-sub {
  margin-top: .55rem;
  color: #64748b;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.schedule-note {
  color: var(--muted);
  line-height: 1.65;
}

.schedule-panel {
  border: 1px solid rgba(148, 163, 184, .40);
  background: #111827;
  box-shadow: 0 24px 60px rgba(0,0,0,.38);
  border-radius: 6px;
  position: relative;
  overflow: hidden;
  padding: 1.35rem;
}

.schedule-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 2px;
  width: 100%;
  background: linear-gradient(90deg, rgba(56,189,248,.85), rgba(148,163,184,.25), transparent);
}

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

.special-stream-card {
  background: #0b1220;
  border: 1px solid rgba(148, 163, 184, .40);
  border-radius: 6px;
  padding: 1.15rem;
  min-height: 100%;
  position: relative;
  overflow: hidden;
}

.special-stream-title {
  color: #f8fafc;
  font-weight: 900;
  letter-spacing: .03em;
  margin: 0;
}

.special-stream-time {
  display: inline-flex;
  align-items: center;
  margin-top: .85rem;
  color: #bae6fd;
  background: rgba(56,189,248,.12);
  border: 1px solid rgba(56,189,248,.24);
  border-radius: 6px;
  padding: .4rem .6rem;
  font-size: .82rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.special-stream-description {
  margin: .9rem 0 0;
  color: #cbd5e1;
  line-height: 1.6;
}

.schedule-empty {
  border: 1px solid rgba(148, 163, 184, .40);
  background: #0b1220;
  border-radius: 6px;
  color: #94a3b8;
  padding: 1.5rem;
  text-align: center;
}

@media (max-width: 1199.98px) {
  .schedule-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 767.98px) {
  .schedule-grid,
  .special-stream-grid { grid-template-columns: 1fr; }
}
