/* Vertical stream (9:16) — narrow side strip for OBS / PRISM */

:root {
  --watch-strip-width: 240px;
  --watch-strip-height: 480px; /* height : width = 2 : 1 */
}

/* Fixed pixel box — match OBS Browser Source to these exact dimensions. */
html.watch-layout-strip.watch-page,
html.watch-layout-strip.watch-page body {
  width: var(--watch-strip-width);
  height: var(--watch-strip-height);
  max-width: var(--watch-strip-width);
  max-height: var(--watch-strip-height);
  margin: 0;
  overflow: hidden;
}

body.watch-layout-strip.watch-page {
  display: block;
  background: transparent;
}

body.watch-layout-strip .watch-shell {
  display: flex;
  flex-direction: column;
  width: var(--watch-strip-width);
  height: var(--watch-strip-height);
  max-width: var(--watch-strip-width);
  max-height: var(--watch-strip-height);
  margin: 0;
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(240, 193, 77, 0.28);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.55);
  background: rgba(8, 10, 14, 0.92);
}

body.watch-transparent.watch-page,
body.watch-transparent.watch-layout-strip .watch-shell {
  background: transparent;
  border-color: rgba(240, 193, 77, 0.2);
  box-shadow: none;
}

body.watch-layout-strip .watch-stage {
  flex: 1 1 auto;
  min-height: 0;
  position: relative;
  border-radius: 0 0 14px 14px;
  overflow: hidden;
  --watch-hud-height: 3.5rem;
  --watch-route-gap: 1.35rem;
  padding-bottom: calc(var(--watch-hud-height) + var(--watch-route-gap));
}

body.watch-layout-strip .watch-schematic {
  display: flex;
  flex-direction: column;
  justify-content: stretch;
  overflow: hidden;
  padding: 0.4rem 0.25rem 0.2rem;
  box-sizing: border-box;
  background: rgba(12, 16, 24, 0.9);
}

body.watch-layout-strip .watch-schematic__svg {
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  max-height: 100%;
  padding: 0.25rem 0 0.5rem;
  box-sizing: border-box;
}

body.watch-layout-strip .watch-geo-map,
body.watch-layout-strip .watch-geo-map .leaflet-container {
  background: rgba(10, 14, 20, 0.95);
}

/* Compact HUD — one row, smaller type */
body.watch-layout-strip .watch-hud {
  left: 0.3rem;
  right: 0.3rem;
  bottom: 0.35rem;
  height: var(--watch-hud-height);
  gap: 0.2rem;
  padding: 0.2rem;
  border-radius: 8px;
  background: rgba(6, 8, 12, 0.9);
  border: 1px solid rgba(240, 193, 77, 0.22);
}

body.watch-layout-strip .watch-hud__block {
  flex: 1 1 0;
  min-width: 0;
  padding: 0.2rem 0.25rem;
  background: transparent;
  border: none;
  border-radius: 0;
}

body.watch-layout-strip .watch-hud__block + .watch-hud__block {
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

body.watch-layout-strip .watch-hud__label {
  font-size: 0.48rem;
  margin-bottom: 0.1rem;
}

body.watch-layout-strip .watch-hud__speed-value,
body.watch-layout-strip .watch-hud__dist-value,
body.watch-layout-strip .watch-hud__eta-value {
  font-size: 0.82rem;
}

body.watch-layout-strip .watch-hud__block--speed .watch-hud__speed-value {
  font-size: 0.95rem;
}

body.watch-layout-strip .watch-hud__speed-unit {
  font-size: 0.55rem;
}

body.watch-layout-strip .watch-schematic__route--done {
  stroke-width: 2.4;
}

body.watch-layout-strip .watch-schematic__route--ahead {
  stroke-width: 2.8;
}

body.watch-layout-strip .watch-state-label span {
  font-size: 8px;
  letter-spacing: 0.02em;
}

body.watch-layout-strip .watch-finish {
  padding: 0.35rem;
}

body.watch-layout-strip .watch-finish__card {
  max-width: none;
  padding: 0.65rem 0.45rem;
  border-radius: 10px;
}

body.watch-layout-strip .watch-finish__title {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

body.watch-layout-strip .watch-finish__eyebrow {
  font-size: 0.55rem;
  margin-bottom: 0.2rem;
}

body.watch-layout-strip .watch-finish__stat dt {
  font-size: 0.48rem;
}

body.watch-layout-strip .watch-finish__stat dd {
  font-size: 0.72rem;
}
