@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;800&family=Orbitron:wght@400;500;700&family=Anton&family=Bebas+Neue&family=Playfair+Display:wght@400;700;900&family=IBM+Plex+Mono:wght@400;600;700&display=swap');

:root {
  --bg: #07121f;
  --panel: #111827;
  --panel-soft: rgba(17, 24, 39, 0.92);
  --text: #e2e8f0;
  --muted: #94a3b8;
  --accent: #38bdf8;
  --danger: #ef4444;
  --line: rgba(96, 165, 250, 0.18);
}
* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 14% 12%, rgba(56, 189, 248, 0.18), transparent 26%),
    radial-gradient(circle at 88% 18%, rgba(59, 130, 246, 0.14), transparent 22%),
    linear-gradient(160deg, #05101a 0%, #091624 40%, #08111b 100%);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
}

#player-root { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }

#player-root > .dashboard-shell {
  align-self: stretch;
}

#player-root > .slide,
#player-root > .image-slide,
#player-root > .url-slide,
#player-root > .split-slide,
#player-root > .incident-alert-slide {
  align-self: stretch;
  flex: 1 1 auto;
  min-width: 0;
  min-height: 0;
}

.player-card {
  background: var(--panel-soft);
  border: 1px solid rgba(96, 165, 250, 0.16);
  padding: 32px;
  border-radius: 18px;
  max-width: 820px;
  width: 92%;
  text-align: center;
  box-shadow: 0 24px 60px rgba(0,0,0,0.42);
  backdrop-filter: blur(12px);
}
.player-card h1 { margin: 0 0 8px; font-size: 30px; letter-spacing: -0.03em; }
.player-card p { margin: 0 0 16px; color: var(--muted); }
.player-card-badge {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.24);
  color: #bae6fd;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.code-box {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: 4px;
  background: #0f172a;
  padding: 16px 24px;
  border-radius: 12px;
  border: 1px solid #1e293b;
  display: inline-block;
  min-width: 240px;
}

.btn {
  background: var(--accent);
  color: #082032;
  border: none;
  border-radius: 10px;
  padding: 11px 18px;
  font-weight: 700;
  cursor: pointer;
}
.btn.secondary {
  background: rgba(30, 41, 59, 0.92);
  color: #e2e8f0;
  border: 1px solid rgba(148, 163, 184, 0.24);
}
.btn:hover { filter: brightness(1.04); }

#stale-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--danger);
  color: white;
  padding: 6px 12px;
  text-align: center;
  font-size: 14px;
  z-index: 9999;
  display: none;
}

.alert-strobe-overlay {
  position: fixed;
  inset: 0;
  z-index: 10050;
  pointer-events: none;
  opacity: 0;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.48) 26%, rgba(255, 255, 255, 0.12) 54%, rgba(255, 255, 255, 0) 76%),
    linear-gradient(180deg, rgba(185, 28, 28, 0.10) 0%, rgba(127, 29, 29, 0.04) 100%);
}

.alert-strobe-overlay.hidden {
  display: none;
}

.alert-strobe-overlay.active {
  display: block;
  animation: alert-strobe-soft-pulse 3000ms ease-out forwards;
}

@keyframes alert-strobe-soft-pulse {
  0% {
    opacity: 0;
    background:
      radial-gradient(circle at center, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.56) 24%, rgba(255, 255, 255, 0.18) 50%, rgba(255, 255, 255, 0) 74%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.30) 0%, rgba(255, 255, 255, 0.06) 100%);
  }
  10% {
    opacity: 0.72;
    background:
      radial-gradient(circle at center, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.52) 24%, rgba(255, 255, 255, 0.14) 52%, rgba(255, 255, 255, 0) 76%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.04) 100%);
  }
  24% {
    opacity: 0.14;
    background:
      radial-gradient(circle at center, rgba(255, 245, 245, 0.34) 0%, rgba(255, 245, 245, 0.16) 22%, rgba(255, 245, 245, 0.04) 46%, rgba(255, 245, 245, 0) 74%),
      linear-gradient(180deg, rgba(248, 113, 113, 0.10) 0%, rgba(127, 29, 29, 0.02) 100%);
  }
  38% {
    opacity: 0.42;
    background:
      radial-gradient(circle at center, rgba(254, 226, 226, 0.44) 0%, rgba(254, 226, 226, 0.22) 24%, rgba(254, 226, 226, 0.06) 50%, rgba(254, 226, 226, 0) 76%),
      linear-gradient(180deg, rgba(220, 38, 38, 0.34) 0%, rgba(127, 29, 29, 0.12) 100%);
  }
  54% {
    opacity: 0.10;
    background:
      radial-gradient(circle at center, rgba(255, 243, 243, 0.20) 0%, rgba(255, 243, 243, 0.10) 20%, rgba(255, 243, 243, 0.02) 44%, rgba(255, 243, 243, 0) 72%),
      linear-gradient(180deg, rgba(248, 113, 113, 0.08) 0%, rgba(127, 29, 29, 0.02) 100%);
  }
  68% {
    opacity: 0.28;
    background:
      radial-gradient(circle at center, rgba(254, 242, 242, 0.26) 0%, rgba(254, 242, 242, 0.12) 20%, rgba(254, 242, 242, 0.03) 46%, rgba(254, 242, 242, 0) 74%),
      linear-gradient(180deg, rgba(239, 68, 68, 0.22) 0%, rgba(127, 29, 29, 0.08) 100%);
  }
  84% {
    opacity: 0.08;
    background:
      radial-gradient(circle at center, rgba(255, 250, 250, 0.12) 0%, rgba(255, 250, 250, 0.05) 18%, rgba(255, 250, 250, 0.01) 42%, rgba(255, 250, 250, 0) 72%),
      linear-gradient(180deg, rgba(248, 113, 113, 0.05) 0%, rgba(127, 29, 29, 0.01) 100%);
  }
  100% {
    opacity: 0;
    background:
      radial-gradient(circle at center, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 22%, rgba(255, 255, 255, 0) 48%, rgba(255, 255, 255, 0) 72%),
      linear-gradient(180deg, rgba(127, 29, 29, 0) 0%, rgba(127, 29, 29, 0) 100%);
  }
}

.preview-nav {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 10000;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(8, 15, 28, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: 0 16px 40px rgba(0,0,0,0.35);
  backdrop-filter: blur(10px);
}

.preview-nav.hidden {
  display: none;
}

.preview-nav-btn {
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.18);
  color: #e0f2fe;
  font-size: 22px;
  font-weight: 800;
  cursor: pointer;
}

.preview-nav-btn:hover {
  background: rgba(56, 189, 248, 0.28);
}

.preview-nav-status {
  min-width: 72px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: #cbd5e1;
}

.slide { width: 100%; height: 100%; padding: 40px; display: flex; flex-direction: column; justify-content: center; }
.slide h2 { margin: 0 0 12px; font-size: 40px; }
.slide .muted { color: var(--muted); }
.slide-list { list-style: none; padding: 0; margin: 0; }
.slide-list li { padding: 10px 0; border-bottom: 1px solid rgba(148, 163, 184, 0.18); font-size: 22px; }
.slide--roster {
  justify-content: flex-start;
  padding: 34px 38px;
}

.slide--roster h2 {
  margin-bottom: 18px;
  font-size: 52px;
}

.slide--roster .slide-list li {
  padding: 12px 0;
  font-size: clamp(28px, 1.8vw, 34px);
  line-height: 1.1;
  font-weight: 780;
}

.roster-slide--panel {
  display: flex;
  flex: 1 1 auto;
  min-height: 0;
}

.roster-slide--panel .slide-list {
  width: 100%;
}

.roster-slide--panel .slide-list li {
  padding: 10px 0;
  font-size: clamp(25px, 1.5vw, 30px);
  line-height: 1.1;
  font-weight: 720;
}

.image-slide { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.image-slide img { max-width: 100%; max-height: 100%; }
.url-slide { width: 100%; height: 100%; display: flex; min-height: 0; overflow: hidden; }
.url-slide__viewport {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  background: #000;
}
.url-slide iframe,
.url-slide__viewport iframe {
  width: 100%;
  height: 100%;
  flex: 1 1 auto;
  min-height: 0;
  border: none;
  background: #000;
}
.url-slide--zoomed .url-slide__viewport iframe {
  position: absolute;
  left: var(--url-slide-left, 0%);
  top: var(--url-slide-top, 0%);
  width: var(--url-slide-width, 100%);
  height: var(--url-slide-height, 100%);
}

.incident-alert-slide {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 10px;
  padding: 18px 22px;
  background:
    radial-gradient(circle at 12% 12%, rgba(248, 113, 113, 0.22), transparent 26%),
    radial-gradient(circle at 88% 18%, rgba(251, 146, 60, 0.18), transparent 22%),
    linear-gradient(150deg, #24070c 0%, #3f0d16 38%, #18060b 100%);
  color: #fff7ed;
  border: 1px solid rgba(248, 113, 113, 0.32);
  overflow: hidden;
}

.incident-alert-slide__hero,
.incident-alert-slide__hero-main,
.incident-alert-slide__hero-side,
.incident-alert-slide__body {
  min-width: 0;
}

.incident-alert-slide__pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 237, 213, 0.26);
  background: rgba(127, 29, 29, 0.34);
  color: #fff7ed;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.incident-alert-slide__pill--priority {
  background: rgba(251, 146, 60, 0.2);
  color: #ffedd5;
}

.incident-alert-slide__timestamp {
  color: rgba(255, 237, 213, 0.82);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.incident-alert-slide__hero {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(220px, 0.78fr);
  align-items: start;
  gap: 16px 22px;
}

.incident-alert-slide__eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 237, 213, 0.68);
}

.incident-alert-slide__hero-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  min-width: min(26vw, 240px);
}

.incident-alert-slide__headline {
  margin-top: 4px;
  font-size: clamp(42px, 5vw, 68px);
  line-height: 0.92;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: #fff7ed;
}

.incident-alert-slide__detail-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 18px;
  margin-top: 8px;
}

.incident-alert-slide__subheadline {
  margin-top: 0;
  font-size: clamp(24px, 2.5vw, 34px);
  line-height: 1.1;
  font-weight: 800;
  color: #ffedd5;
}

.incident-alert-slide__cross-streets {
  color: rgba(255, 237, 213, 0.78);
  font-size: clamp(16px, 1.6vw, 22px);
  line-height: 1.2;
  font-weight: 650;
}

.incident-alert-slide__summary-text {
  margin-top: 10px;
  max-width: none;
  color: rgba(255, 245, 235, 0.92);
  font-size: clamp(18px, 1.8vw, 24px);
  line-height: 1.32;
  font-weight: 700;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.incident-alert-slide__hero-units {
  margin-top: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.incident-alert-slide__hero-units--side {
  justify-content: flex-end;
}

.incident-alert-slide__meta-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.incident-alert-slide__units {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.incident-alert-slide__unit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(255, 237, 213, 0.12);
  border: 1px solid rgba(255, 237, 213, 0.16);
  font-size: 20px;
  font-weight: 800;
  color: #fff7ed;
}

.incident-alert-slide__unit--hero {
  padding: 7px 11px;
  border-radius: 11px;
  font-size: 15px;
  background: rgba(255, 237, 213, 0.1);
}

.incident-alert-slide__widgets {
  min-height: 0;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.incident-alert-slide__widgets--single {
  grid-template-columns: minmax(0, 1fr);
}

.incident-alert-slide__widgets--double {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: minmax(0, 1fr);
}

.incident-alert-slide__widgets--triad > .incident-alert-slide__panel:first-child {
  grid-row: 1 / span 2;
}

.incident-alert-slide__panel {
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 18px;
  background: rgba(9, 15, 28, 0.34);
  border: 1px solid rgba(255, 237, 213, 0.14);
  backdrop-filter: blur(10px);
}

.incident-alert-slide__panel-label {
  padding: 10px 14px 0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 237, 213, 0.68);
}

.incident-alert-slide__panel-body {
  flex: 1 1 auto;
  min-height: 0;
  padding: 10px 12px 12px;
}

.incident-alert-slide__panel-body--cad {
  display: flex;
  flex-direction: column;
}

.incident-alert-slide__widget-frame {
  width: 100%;
  height: 100%;
  min-height: 0;
  border: 0;
  border-radius: 14px;
  background: #020617;
}

.incident-alert-slide__cad-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.incident-alert-slide__cad-time {
  font-size: 14px;
  font-weight: 700;
  color: rgba(255, 237, 213, 0.78);
}

.incident-alert-slide__cad-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.incident-alert-slide__mini-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 237, 213, 0.08);
  border: 1px solid rgba(255, 237, 213, 0.12);
  color: #fff7ed;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.incident-alert-slide__mini-pill--priority {
  background: rgba(251, 146, 60, 0.18);
}

.incident-alert-slide__cad-description {
  margin-top: 8px;
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(255, 237, 213, 0.08);
  color: rgba(255, 237, 213, 0.84);
  font-size: 13px;
  line-height: 1.4;
  font-weight: 600;
}

.split-slide { display: grid; grid-template-columns: 380px 1fr; grid-template-rows: minmax(0, 1fr); align-items: stretch; gap: 12px; height: 100%; width: 100%; min-height: 0; padding: 14px; }
.split-slide.right-fixed { grid-template-columns: 1fr 380px; }
.split-panel { background: #111827; border: 1px solid #1f2937; border-radius: 12px; padding: 12px; overflow: hidden; min-height: 0; display: flex; flex-direction: column; }
.split-panel h2 { margin: 0 0 12px; font-size: 24px; }
.split-iframe { width: 100%; height: 100%; min-height: 0; flex: 1 1 auto; border: none; border-radius: 10px; background: #000; }
.small { font-size: 14px; color: var(--muted); }
.muted { color: var(--muted); }

.dashboard-shell {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  gap: 0;
  padding: 0;
}

.dashboard-shell__content {
  min-height: 0;
  display: flex;
}

.dashboard-shell__slide-host {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  border-radius: 0;
  border-left: 1px solid rgba(96, 165, 250, 0.16);
  border-right: 1px solid rgba(96, 165, 250, 0.16);
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.85), rgba(11, 18, 32, 0.92)),
    radial-gradient(circle at 16% 16%, rgba(56, 189, 248, 0.08), transparent 22%);
  box-shadow: none;
}

.dashboard-shell__slide-host > * {
  width: 100%;
  height: 100%;
}

.dashboard-shell__bar {
  min-height: 84px;
  position: relative;
  display: block;
  padding: 0;
  width: 100%;
  border-radius: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: none;
  overflow: hidden;
}

.dashboard-shell__bar--footer {
  min-height: 74px;
}

.dashboard-shell__ticker {
  --ticker-distance: 640px;
  --ticker-duration: 18s;
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  min-height: 38px;
  padding: 0 18px;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.dashboard-shell__ticker::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.42), rgba(15, 23, 42, 0.08), rgba(15, 23, 42, 0.42));
  pointer-events: none;
}

.dashboard-shell__ticker-label {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 22px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid var(--ticker-accent-border, rgba(125, 211, 252, 0.26));
  background: var(--ticker-accent-soft, rgba(125, 211, 252, 0.12));
  color: var(--ticker-label-text, #f8fafc);
  font-size: var(--ticker-label-font-size, 10px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
}

.dashboard-shell__ticker-viewport {
  position: relative;
  z-index: 1;
  min-width: 0;
  overflow: hidden;
}

.dashboard-shell__ticker-track {
  display: inline-flex;
  align-items: center;
  gap: 56px;
  white-space: nowrap;
  will-change: transform;
  animation: dashboard-ticker-scroll var(--ticker-duration) linear infinite;
}

.dashboard-shell__ticker-segment {
  display: inline-flex;
  align-items: center;
  font-size: var(--ticker-font-size, 14px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

@keyframes dashboard-ticker-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-1 * var(--ticker-distance)));
  }
}

.dashboard-shell__bar-layer {
  position: relative;
  width: 100%;
  height: 100%;
}

.dashboard-shell__media-shell {
  position: absolute;
  overflow: hidden;
}

.dashboard-shell__media {
  width: 100%;
  height: 100%;
  border-radius: 0;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.dashboard-shell__media--transparent {
  background: transparent;
  border: none;
  object-fit: contain;
}

.dashboard-shell__text-shell {
  position: absolute;
  min-width: 0;
}

.dashboard-shell__datetime {
  position: absolute;
  top: 10px;
  right: 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  text-align: right;
  z-index: 3;
  pointer-events: none;
}

.dashboard-shell__datetime-date {
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.72;
}

.dashboard-shell__datetime-time {
  line-height: 0.95;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.dashboard-shell__title {
  margin: 0;
  font-size: 30px;
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.03em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dashboard-shell__meta {
  margin-top: 6px;
  font-size: 18px;
  line-height: 1.25;
  font-weight: 600;
  opacity: 0.84;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-height: 760px) and (min-width: 1000px) {
  .slide {
    padding: 26px;
  }

  .slide h2 {
    margin-bottom: 10px;
    font-size: 32px;
  }

  .slide--roster {
    padding: 24px 28px;
  }

  .slide--roster h2 {
    margin-bottom: 12px;
    font-size: 42px;
  }

  .slide--roster .slide-list li {
    padding: 8px 0;
    font-size: 25px;
  }

  .roster-slide--panel .slide-list li {
    padding: 7px 0;
    font-size: 22px;
  }

  .split-slide {
    grid-template-columns: 320px 1fr;
    gap: 10px;
    padding: 10px;
  }

  .split-slide.right-fixed {
    grid-template-columns: 1fr 320px;
  }

  .split-panel {
    padding: 10px;
  }

  .split-panel h2 {
    margin-bottom: 8px;
    font-size: 20px;
  }

  .dashboard-shell__datetime {
    top: 8px;
    right: 14px;
  }

  .incident-alert-slide {
    gap: 8px;
    padding: 14px 16px;
  }

  .incident-alert-slide__hero {
    gap: 12px;
  }

  .incident-alert-slide__hero-side {
    gap: 8px;
    min-width: min(24vw, 220px);
  }

  .incident-alert-slide__timestamp {
    font-size: 22px;
  }

  .incident-alert-slide__pill {
    padding: 6px 10px;
    font-size: 11px;
  }

  .incident-alert-slide__headline {
    font-size: clamp(30px, 4vw, 46px);
  }

  .incident-alert-slide__subheadline {
    font-size: clamp(18px, 2vw, 24px);
  }

  .incident-alert-slide__detail-row {
    gap: 6px 12px;
    margin-top: 6px;
  }

  .incident-alert-slide__cross-streets {
    font-size: 13px;
  }

  .incident-alert-slide__summary-text {
    margin-top: 6px;
    font-size: 14px;
    -webkit-line-clamp: 2;
  }

  .incident-alert-slide__unit--hero {
    padding: 6px 9px;
    font-size: 13px;
  }

  .incident-alert-slide__widgets {
    gap: 10px;
  }

  .incident-alert-slide__panel {
    border-radius: 14px;
  }

  .incident-alert-slide__panel-label {
    padding: 8px 10px 0;
    font-size: 10px;
  }

  .incident-alert-slide__panel-body {
    padding: 8px 10px 10px;
  }
}

.enroll-card { text-align: left; }
.device-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0 12px;
}
.device-meta-grid > div {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.65);
  padding: 12px 14px;
}
.device-meta-label {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7dd3fc;
  margin-bottom: 4px;
}
.device-meta-value {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: #f8fafc;
}
.player-card-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 18px;
}
.manual-code-panel {
  margin-top: 16px;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(15, 23, 42, 0.52);
}
.manual-code-panel.hidden { display: none; }
.enrollment-status-panel {
  margin-top: 18px;
  padding: 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(10, 20, 35, 0.74);
  min-height: 88px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.enrollment-status-copy {
  font-size: 15px;
  font-weight: 700;
  color: #dbeafe;
}
.enrollment-status-meta {
  font-size: 13px;
  color: var(--muted);
}
.enrollment-error {
  color: #fecaca;
  font-weight: 700;
  font-size: 14px;
}

.border { border: 1px solid rgba(148, 163, 184, 0.28); }
.rounded { border-radius: 10px; }
.px-3 { padding-left: 12px; padding-right: 12px; }
.py-2 { padding-top: 8px; padding-bottom: 8px; }
input {
  width: 100%;
  background: rgba(2, 6, 23, 0.72);
  color: #f8fafc;
  outline: none;
}

@media (max-width: 720px) {
  .player-card { width: calc(100% - 24px); padding: 24px; }
  .device-meta-grid { grid-template-columns: 1fr; }
  .player-card-actions { flex-direction: column; }
  .dashboard-shell {
    gap: 0;
    padding: 0;
  }
  .dashboard-shell__bar {
    min-height: 68px;
    padding: 12px 14px;
    gap: 12px;
    border-radius: 0;
  }
  .dashboard-shell__bar--footer {
    min-height: 62px;
  }
  .dashboard-shell__ticker {
    gap: 10px;
    padding: 0 14px;
  }
  .dashboard-shell__ticker-label {
    height: 20px;
    padding: 0 8px;
    font-size: 9px;
    letter-spacing: 0.16em;
  }
  .dashboard-shell__ticker-segment {
    font-size: 12px;
  }
  .dashboard-shell__media {
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }
  .dashboard-shell__slide-host {
    border-radius: 0;
  }
  .dashboard-shell__title {
    font-size: 20px;
  }
  .dashboard-shell__meta {
    font-size: 14px;
    margin-top: 4px;
  }
}
