:root {
  --bg: #f5f7fa;
  --surface: #ffffff;
  --surface-alt: #f0f3f8;
  --surface-soft: rgba(255, 255, 255, 0.92);
  --text: #0f172a;
  --muted: #64748b;
  --primary: #2563eb;
  --primary-strong: #1d4ed8;
  --border: #d1d5db;
  --shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
  --topbar-bg: rgba(255, 255, 255, 0.9);
  --topbar-border: rgba(148, 163, 184, 0.18);
  --hero-tint: rgba(59, 130, 246, 0.08);
  --hero-tint-strong: rgba(37, 99, 235, 0.14);
  --overlay-a: rgba(96, 165, 250, 0.14);
  --overlay-b: rgba(59, 130, 246, 0.08);
  --toggle-bg: linear-gradient(180deg, #ffffff, #f8fafc);
  --toggle-border: rgba(148, 163, 184, 0.16);
  --toggle-text: #17324d;
  color-scheme: light;
}

:root[data-theme="dark"] {
  --bg: #07111e;
  --surface: #0e1b2e;
  --surface-alt: #13233a;
  --surface-soft: rgba(19, 35, 58, 0.88);
  --text: #edf5ff;
  --muted: #9eb1c7;
  --primary: #7cc6ff;
  --primary-strong: #a9dcff;
  --border: rgba(148, 190, 227, 0.18);
  --shadow: 0 22px 60px rgba(2, 6, 23, 0.45);
  --topbar-bg: rgba(7, 17, 30, 0.84);
  --topbar-border: rgba(148, 190, 227, 0.12);
  --hero-tint: rgba(29, 108, 158, 0.2);
  --hero-tint-strong: rgba(124, 198, 255, 0.16);
  --overlay-a: rgba(29, 108, 158, 0.28);
  --overlay-b: rgba(45, 147, 211, 0.12);
  --toggle-bg: linear-gradient(180deg, rgba(19, 35, 58, 0.96), rgba(14, 27, 46, 0.96));
  --toggle-border: rgba(148, 190, 227, 0.2);
  --toggle-text: #ffffff;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  min-height: 100%;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top left, var(--overlay-a), transparent 28%),
    radial-gradient(circle at bottom right, var(--overlay-b), transparent 20%),
    var(--bg);
  color: var(--text);
  transition: background 0.25s ease, color 0.25s ease;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: transparent;
  pointer-events: none;
}

button, select {
  font: inherit;
}

.app-shell {
  min-height: 100vh;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding: 0.85rem 1.5rem;
  background: var(--topbar-bg);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--topbar-border);
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-width: 0;
  flex: 1 1 auto;
  flex-wrap: nowrap;
}

.brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand-logo {
  display: block;
  width: auto;
  height: 52px;
  max-width: 220px;
  object-fit: contain;
}

.campus-panel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  flex: 0 0 auto;
  white-space: normal;
}

.campus-info {
  display: none;
}

.campus-select-shell {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding-left: 0.8rem;
  padding-right: 1.9rem;
  border-radius: 999px;
  background: var(--toggle-bg);
  border: 1px solid var(--toggle-border);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
}

.campus-select-prefix {
  color: color-mix(in srgb, var(--text) 48%, transparent);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  white-space: nowrap;
}

.campus-select-shell::after {
  content: '';
  position: absolute;
  right: 0.9rem;
  top: 50%;
  width: 0.5rem;
  height: 0.5rem;
  border-right: 2px solid color-mix(in srgb, var(--muted) 85%, transparent);
  border-bottom: 2px solid color-mix(in srgb, var(--muted) 85%, transparent);
  transform: translateY(-65%) rotate(45deg);
  pointer-events: none;
}

#campus-select {
  min-width: 0;
  width: 100%;
  border: none;
  border-radius: 999px;
  padding: 0.52rem 0;
  background: transparent;
  color: var(--text);
  appearance: none;
  line-height: 1.2;
  font-weight: 600;
  outline: none;
}

#campus-select:focus {
  box-shadow: none;
}

.campus-select-shell:focus-within {
  border-color: rgba(37, 99, 235, 0.38);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.topnav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.5rem;
  margin-left: auto;
  flex: 0 0 auto;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.topbar-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  flex: 0 0 auto;
  min-width: 0;
  position: relative;
}

.topnav a,
.topnav a:link,
.topnav a:visited {
  color: color-mix(in srgb, var(--text) 78%, transparent);
  text-decoration: none;
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
  transition: color 0.2s ease;
}

.topnav a:hover,
.topnav a:focus-visible {
  color: var(--primary);
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--toggle-border);
  background: var(--toggle-bg);
  color: var(--toggle-text);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.theme-toggle:hover,
.theme-toggle:focus-visible {
  transform: translateY(-1px);
  border-color: color-mix(in srgb, var(--primary) 45%, transparent);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.1);
}

.theme-toggle-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  font-size: 0.95rem;
  line-height: 1;
}

.theme-toggle-label {
  font-size: 0.94rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.24rem;
  width: 2.7rem;
  height: 2.7rem;
  border: 1px solid var(--toggle-border);
  border-radius: 999px;
  background: var(--toggle-bg);
  color: var(--toggle-text);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
  cursor: pointer;
}

.menu-toggle-bar {
  display: block;
  width: 1rem;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-dropdown {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mobile-menu-controls,
.campus-panel-mobile,
.theme-toggle-mobile {
  display: none;
}

.page-main {
  max-width: 1800px;
  margin: 0 auto;
  padding: 2rem 1.5rem 2.5rem;
  display: grid;
  gap: 1.75rem;
}

.live-view {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(340px, 1fr);
  gap: 1.75rem;
  align-items: start;
}

.video-panel,
.tab-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.video-panel {
  align-self: start;
}

.video-frame {
  position: relative;
  padding-top: 56.25%;
  overflow: hidden;
  border-radius: 0;
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 0;
}

.paid-gate-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  backdrop-filter: blur(18px);
  z-index: 2;
}

.tab-panel {
  display: flex;
  flex-direction: column;
  min-height: clamp(42rem, calc(100vh - 10rem), 70rem);
  padding: 0;
  gap: 0;
}

.tabs {
  --active-index: 0;
  --tab-count: 3;
  display: flex;
  gap: 0.5rem;
  padding: 0;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  position: relative;
}

.tabs::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: calc(100% / var(--tab-count));
  height: 2px;
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  border-radius: 1px;
  transform: translateX(calc(var(--active-index) * 100%));
  transition: transform 0.3s ease;
}

.tab {
  flex: 1;
  border: none;
  border-radius: 0;
  padding: 0.95rem 1rem;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.3s ease;
  text-align: center;
  font-weight: 600;
  position: relative;
}

.tab.active {
  color: var(--primary);
}

.tab-content {
  padding: 0;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.tab-pane {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.tab-pane.hidden {
  display: none;
}

#panel-chat,
#panel-bible,
#panel-schedule {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  height: 100%;
  background: var(--surface);
  border-radius: 0;
}

#chat-frame,
#bible-frame {
  flex: 1;
  width: 100%;
  height: 100%;
  min-height: 0;
  border: none;
  border-radius: 0;
}

#panel-schedule {
  padding: 1rem;
}

#panel-schedule .schedule-panel {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 0;
}

#panel-schedule .schedule-list {
  flex: 1;
  display: grid;
  gap: 1rem;
  align-content: start;
  overflow: auto;
  padding: 0;
}

#panel-schedule .section-header {
  margin: 0 0 1rem;
}

.schedule-tab-countdown {
  display: grid;
  gap: 1rem;
  margin-bottom: 1rem;
  padding: 1rem;
  border: 1px solid var(--hero-tint-strong);
  border-radius: 20px;
  background: linear-gradient(180deg, var(--hero-tint), var(--surface-soft));
  box-shadow: 0 12px 32px rgba(37, 99, 235, 0.08);
}

.schedule-tab-countdown-header {
  display: grid;
  gap: 0.35rem;
}

.schedule-tab-countdown-label {
  margin: 0;
  color: color-mix(in srgb, var(--text) 68%, transparent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.schedule-tab-countdown-message {
  margin: 0;
  color: var(--text);
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.4;
}

.schedule-tab-countdown-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.schedule-live-status {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-radius: 16px;
  background: var(--surface-soft);
  border: 1px solid rgba(239, 68, 68, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.schedule-live-dot {
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 999px;
  background: #ef4444;
  box-shadow: 0 0 0 rgba(239, 68, 68, 0.5);
  animation: live-pulse 1.6s ease-out infinite;
}

.schedule-live-text {
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.schedule-time-box {
  display: grid;
  gap: 0.35rem;
  place-items: center;
  padding: 0.9rem 0.75rem;
  border-radius: 16px;
  background: var(--surface-soft);
  border: 1px solid var(--border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.schedule-time-value {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.06em;
  color: var(--text);
  line-height: 1;
}

.schedule-tab-countdown.is-live .schedule-tab-countdown-grid {
  display: none;
}

.schedule-tab-countdown.is-live .schedule-live-status {
  display: flex;
}

.schedule-time-unit {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

@keyframes live-pulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.45);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 12px rgba(239, 68, 68, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
  }
}

.schedule-item {
  display: grid;
  gap: 0.5rem;
  align-self: start;
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--surface-alt) 92%, transparent), var(--surface));
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.schedule-item h3 {
  font-size: 1.05rem;
}

.schedule-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.schedule-time {
  font-weight: 700;
  color: var(--text);
}

.no-schedule {
  margin: 0;
  color: var(--muted);
}

.tab-placeholder {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-content: start;
  min-height: 0;
}

.tab-icon {
  font-size: 2rem;
}

.tab-detail {
  background: var(--surface-alt);
  padding: 0;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}

.countdown-section,
.schedule-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.06);
  padding: 1.75rem;
}

.countdown-card {
  display: grid;
  gap: 1rem;
  text-align: center;
  padding: 1.5rem;
  border-radius: 22px;
  background: linear-gradient(180deg, var(--hero-tint), var(--surface-soft));
  border: 1px solid var(--hero-tint-strong);
}

.countdown-label {
  color: color-mix(in srgb, var(--text) 65%, transparent);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.85rem;
}

.countdown-message {
  color: var(--muted);
  font-size: 1rem;
}

.countdown-label {
  color: var(--muted);
  font-size: 0.95rem;
}

.countdown-timer {
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.05em;
}

.countdown-message {
  color: var(--muted);
  font-size: 1rem;
}

.section-header {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.section-header h2 {
  margin: 0;
  font-size: 1.4rem;
}

.section-subtitle {
  margin: 0;
  color: var(--muted);
}

.schedule-list {
  display: grid;
  gap: 1rem;
}

.schedule-item {
  display: grid;
  gap: 0.5rem;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface-alt);
}

.schedule-item h3 {
  margin: 0;
  font-size: 1rem;
}

.schedule-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.schedule-time {
  font-weight: 600;
  color: var(--text);
}

.hidden {
  display: none !important;
}

.public-auth-button {
  width: 100%;
  justify-content: center;
}

.paid-gate-card {
  max-width: 680px;
  margin: 0 auto;
}

.paid-gate-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.paid-gate-message a {
  color: var(--primary);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.paid-gate-message a:hover,
.paid-gate-message a:focus-visible {
  color: var(--primary-strong);
}

.button-primary-light,
.button-secondary-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.2rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
}

.button-primary-light {
  background: var(--text);
  color: var(--surface);
}

.button-secondary-light {
  background: var(--surface-alt);
  color: var(--text);
}

.public-modal-shell {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.public-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(12px);
}

.public-modal-card {
  position: relative;
  z-index: 1;
  width: min(100%, 480px);
  padding: 1.5rem;
  border-radius: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.22);
  display: grid;
  gap: 1rem;
}

.public-modal-close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: var(--surface-alt);
  color: var(--text);
  cursor: pointer;
}

.public-auth-logo {
  height: 42px;
}

.public-auth-copy h2,
.public-auth-copy p {
  margin: 0;
}

.public-auth-form {
  display: grid;
  gap: 0.9rem;
}

.field {
  display: grid;
  gap: 0.35rem;
}

.field-label {
  color: var(--muted);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.field input,
.field select {
  width: 100%;
  min-height: 48px;
  padding: 0.85rem 1rem;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--surface-alt);
  color: var(--text);
}

.admin-login-message {
  margin: 0;
  color: #dc2626;
}

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

  .tab-panel {
    min-height: 360px;
  }
}

@media (max-width: 640px) {
  .topbar {
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0.9rem;
  }

  .topbar-left {
    align-items: center;
    gap: 0.75rem;
    flex: 1 1 auto;
  }

  .brand {
    justify-content: flex-start;
  }

  .brand-logo {
    height: 40px;
    max-width: 170px;
  }

  .topbar-right {
    align-items: center;
    gap: 0.35rem;
  }

  .campus-panel {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .menu-dropdown {
    position: fixed;
    top: 3.9rem;
    right: 0.6rem;
    width: min(19rem, calc(100vw - 1.2rem));
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    padding: 0.8rem;
    z-index: 40;
    border: 1px solid color-mix(in srgb, var(--toggle-border) 80%, transparent);
    border-radius: 20px;
    background: color-mix(in srgb, var(--surface) 96%, transparent);
    -webkit-backdrop-filter: blur(34px) saturate(1.45);
    backdrop-filter: blur(34px) saturate(1.45);
    box-shadow: var(--shadow);
  }

  .menu-dropdown.is-open {
    display: flex;
  }

  .mobile-menu-controls {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: center;
    gap: 0.7rem;
  }

  .campus-panel-mobile,
  .theme-toggle-mobile {
    display: inline-flex;
  }

  .campus-panel-mobile {
    min-width: 0;
  }

  .mobile-campus-switcher {
    width: 100%;
    display: grid;
    gap: 0.45rem;
  }

  .mobile-campus-switcher .campus-select-prefix {
    padding-left: 0.15rem;
    font-size: 0.65rem;
    letter-spacing: 0.12em;
  }

  .mobile-campus-list {
    display: none;
    gap: 0.42rem;
    padding: 0.35rem;
    border-radius: 16px;
    background: color-mix(in srgb, var(--surface-alt) 45%, transparent);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--border) 60%, transparent);
  }

  .mobile-campus-list.is-open {
    display: grid;
  }

  .mobile-campus-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    width: 100%;
    min-height: 2.9rem;
    padding: 0.82rem 0.95rem;
    border: none;
    border-radius: 16px;
    background: color-mix(in srgb, var(--surface-alt) 55%, transparent);
    color: var(--text);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--border) 72%, transparent);
    font-weight: 700;
    font-size: 0.96rem;
    text-align: left;
    cursor: pointer;
  }

  .mobile-campus-toggle i {
    flex: 0 0 auto;
    font-size: 0.85rem;
    color: color-mix(in srgb, var(--muted) 82%, transparent);
    transition: transform 0.2s ease;
  }

  .mobile-campus-toggle[aria-expanded="true"] i {
    transform: rotate(180deg);
  }

  .mobile-campus-toggle-label {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mobile-campus-option {
    width: 100%;
    border: none;
    border-radius: 14px;
    padding: 0.82rem 0.9rem;
    background: color-mix(in srgb, var(--surface-alt) 55%, transparent);
    color: color-mix(in srgb, var(--text) 84%, transparent);
    text-align: left;
    font-weight: 700;
    font-size: 0.96rem;
    line-height: 1.2;
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--border) 72%, transparent);
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  }

  .mobile-campus-option:hover,
  .mobile-campus-option:focus-visible {
    background: color-mix(in srgb, var(--surface-alt) 74%, transparent);
    color: var(--text);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--primary) 30%, transparent);
  }

  .mobile-campus-option.is-active {
    background: linear-gradient(180deg, color-mix(in srgb, var(--primary) 14%, var(--surface)), color-mix(in srgb, var(--primary) 9%, var(--surface)));
    color: var(--primary);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--primary) 36%, transparent);
  }

  .theme-toggle-mobile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.55rem;
    height: 2.55rem;
    padding: 0;
    border: none;
    border-radius: 999px;
    background: color-mix(in srgb, var(--surface) 16%, transparent);
    box-shadow: none;
    flex: 0 0 auto;
  }

  .theme-toggle-mobile .theme-toggle-label {
    display: none;
  }

  .theme-toggle-mobile .theme-toggle-icon {
    width: auto;
    font-size: 1.18rem;
  }

  .theme-toggle-mobile .theme-toggle-icon i {
    display: block;
    line-height: 1;
  }

  .topnav {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0.2rem;
    margin-left: 0;
    white-space: normal;
  }

  .topnav a,
  .topnav a:link,
  .topnav a:visited {
    display: block;
    padding: 0.55rem 0.1rem;
  }

  .theme-toggle {
    display: none;
  }

  .theme-toggle-mobile {
    display: inline-flex;
  }

  #campus-select {
    width: 100%;
  }

  .page-main {
    padding: 0 0 1rem;
    gap: 0.85rem;
  }

  .live-view {
    gap: 0;
  }

  .video-panel,
  .tab-panel {
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .paid-gate-overlay {
    border-radius: 0;
    padding: 1rem;
  }

  .tab-panel {
    min-height: 72svh;
  }

  #panel-chat,
  #panel-bible,
  #panel-schedule {
    border-radius: 0;
  }

  #panel-chat,
  #panel-bible {
    min-height: 72svh;
  }

  #chat-frame,
  #bible-frame {
    min-height: 72svh;
  }

  #panel-schedule {
    padding: 0.85rem 0.9rem 1rem;
  }

  .countdown-section,
  .schedule-section {
    padding-inline: 0.9rem;
  }

  .countdown-timer {
    font-size: 2.5rem;
  }

  .public-modal-shell {
    padding: 0.75rem;
  }

  .public-modal-card {
    padding: 1.2rem;
  }
}
