/* ============================================================
   RUNWIV PHONE & WATCH MOCKUP STYLES
   Homepage app preview — simulated screens based on app UI
   ============================================================ */

/* ── Gallery layout ── */
.rw-phone-gallery {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 32px 16px 0;
}

.rw-phone-wrap {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.rw-phone-wrap--side {
  transform: scale(0.82) translateY(22px);
  opacity: 0.55;
}

.rw-phone-wrap--center .rw-phone-frame {
  box-shadow:
    inset 0 0 0 1.5px rgba(255,255,255,0.07),
    0 0 0 1px rgba(0,0,0,0.6),
    0 60px 120px rgba(0,0,0,0.75),
    0 0 120px rgba(129,236,255,0.1),
    0 0 240px rgba(129,236,255,0.05);
}

@media (max-width: 767px) {
  .rw-phone-wrap--side { display: none; }
}

/* ── Phone chassis ── */
.rw-phone-frame {
  width: 264px;
  height: 538px;
  background: linear-gradient(158deg, #252525 0%, #0d0d0d 100%);
  border-radius: 46px;
  border: 1.5px solid #2c2c2c;
  box-shadow:
    inset 0 0 0 1.5px rgba(255,255,255,0.06),
    0 0 0 1px rgba(0,0,0,0.5),
    0 60px 120px rgba(0,0,0,0.7),
    0 0 80px rgba(0,240,255,0.05);
  position: relative;
  overflow: visible;
}

/* Left volume buttons */
.rw-phone-frame::before {
  content: '';
  position: absolute;
  left: -3.5px;
  top: 108px;
  width: 3px;
  height: 30px;
  background: #1c1c1c;
  border-radius: 2px 0 0 2px;
  box-shadow: 0 44px 0 #1c1c1c, 0 -44px 0 #1c1c1c;
}

/* Right power button */
.rw-phone-frame::after {
  content: '';
  position: absolute;
  right: -3.5px;
  top: 148px;
  width: 3px;
  height: 58px;
  background: #1c1c1c;
  border-radius: 0 2px 2px 0;
}

/* ── Screen area ── */
.rw-phone-screen {
  position: absolute;
  inset: 8px;
  border-radius: 38px;
  background: #0e0e12;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Dynamic island */
.rw-phone-island {
  position: absolute;
  top: 13px;
  left: 50%;
  transform: translateX(-50%);
  width: 96px;
  height: 26px;
  background: #000;
  border-radius: 16px;
  z-index: 20;
}

/* ── Status bar ── */
.rw-phone-statusbar {
  height: 46px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 0 22px 8px;
  flex-shrink: 0;
  position: relative;
  z-index: 5;
}

.rw-phone-statusbar__left {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.3px;
}

.rw-phone-statusbar__right {
  display: flex;
  align-items: center;
  gap: 5px;
}

.rw-phone-statusbar__signal {
  display: flex;
  align-items: flex-end;
  gap: 1.5px;
  height: 10px;
}

.rw-phone-statusbar__signal span {
  width: 3px;
  background: #fff;
  border-radius: 1px;
}

.rw-phone-statusbar__signal span:nth-child(1) { height: 4px; }
.rw-phone-statusbar__signal span:nth-child(2) { height: 6px; }
.rw-phone-statusbar__signal span:nth-child(3) { height: 8px; }
.rw-phone-statusbar__signal span:nth-child(4) { height: 10px; }

.rw-phone-statusbar__battery {
  display: flex;
  align-items: center;
}

.rw-phone-statusbar__battery-icon {
  width: 22px;
  height: 11px;
  border: 1.5px solid rgba(255,255,255,0.55);
  border-radius: 2.5px;
  position: relative;
  padding: 1.5px;
  display: flex;
  align-items: center;
}

.rw-phone-statusbar__battery-icon::after {
  content: '';
  position: absolute;
  right: -4px;
  top: 50%;
  transform: translateY(-50%);
  width: 2.5px;
  height: 5px;
  background: rgba(255,255,255,0.4);
  border-radius: 0 1px 1px 0;
}

.rw-phone-statusbar__battery-fill {
  height: 100%;
  width: 76%;
  background: #fff;
  border-radius: 1px;
}

/* ── App content container ── */
.rw-phone-content {
  flex: 1;
  overflow: hidden;
  position: relative;
}

/* ── Bottom navigation bar ── */
.rw-phone-botnav {
  height: 60px;
  background: rgba(14,14,18,0.95);
  backdrop-filter: blur(24px);
  border-top: 1px solid rgba(255,255,255,0.055);
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 6px 8px;
  flex-shrink: 0;
  position: relative;
  z-index: 10;
}

.rw-botnav-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  width: 42px;
  opacity: 0.38;
}

.rw-botnav-tab--active { opacity: 1; }

.rw-botnav-tab__icon {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* SVG-free icon shapes via CSS */
.rw-botnav-tab__icon-shape {
  display: block;
}

.rw-botnav-tab__label {
  font-size: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  color: #acacb0;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.rw-botnav-tab--active .rw-botnav-tab__label { color: #81ecff; }

.rw-botnav-tab__dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  margin-top: 1px;
}

.rw-botnav-tab--active .rw-botnav-tab__dot {
  background: #81ecff;
  box-shadow: 0 0 6px rgba(129,236,255,0.7);
}

/* ── Phone label ── */
.rw-phone-label {
  font-size: 10px;
  font-family: 'Inter', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #4b5563;
  font-weight: 600;
  text-align: center;
}

/* =============================================
   SCREEN 1 — SQUAD LIVE MAP
   ============================================= */

.rw-screen-squad {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.rw-screen-squad__topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px 8px;
  flex-shrink: 0;
}

.rw-screen-squad__back {
  width: 28px;
  height: 28px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #acacb0;
  line-height: 1;
}

.rw-screen-squad__title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: #fcf8fe;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.rw-screen-squad__legend {
  display: flex;
  gap: 5px;
  align-items: center;
}

.rw-screen-squad__legend span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: block;
}

.rw-screen-squad__chips {
  display: flex;
  gap: 5px;
  padding: 0 14px 10px;
  flex-shrink: 0;
}

.rw-screen-squad__chip {
  flex: 1;
  background: #1f1f25;
  border: 1px solid #25252b;
  border-radius: 8px;
  padding: 7px 4px;
  text-align: center;
}

.rw-screen-squad__chip-val {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #fcf8fe;
  display: block;
  line-height: 1;
}

.rw-screen-squad__chip-lbl {
  font-size: 8px;
  color: #76757a;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: block;
  margin-top: 2px;
}

/* Map area */
.rw-screen-squad__map {
  flex: 1;
  position: relative;
  overflow: hidden;
  background: #101014;
}

/* Grid lines */
.rw-screen-squad__map::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

/* Simulated roads */
.rw-map-road {
  position: absolute;
  background: #1b1b22;
  border-radius: 2px;
}

/* Runner dots */
.rw-map-runner {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.rw-map-runner__dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid;
  position: relative;
}

.rw-map-runner__dot::after {
  content: '';
  position: absolute;
  inset: -7px;
  border-radius: 50%;
  opacity: 0.18;
  background: currentColor;
}

.rw-map-runner__dot--cyan {
  background: #81ecff;
  border-color: #81ecff;
  color: #81ecff;
  box-shadow: 0 0 14px rgba(129,236,255,0.55);
}

.rw-map-runner__dot--green {
  background: #2ff801;
  border-color: #2ff801;
  color: #2ff801;
  box-shadow: 0 0 14px rgba(47,248,1,0.55);
}

.rw-map-runner__dot--orange {
  background: #ff7072;
  border-color: #ff7072;
  color: #ff7072;
  box-shadow: 0 0 10px rgba(255,112,114,0.4);
}

.rw-map-runner__name {
  font-size: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  color: #fcf8fe;
  background: rgba(14,14,18,0.88);
  padding: 2px 5px;
  border-radius: 4px;
  white-space: nowrap;
}

/* Runner info bar */
.rw-screen-squad__bar {
  background: #1f1f25;
  border-top: 1px solid #25252b;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.rw-screen-squad__bar-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: #fcf8fe;
}

.rw-screen-squad__bar-pace {
  font-size: 10px;
  color: #81ecff;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  margin-top: 2px;
}

.rw-screen-squad__bar-pos {
  font-size: 11px;
  color: #76757a;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  font-family: 'Space Grotesk', sans-serif;
}

/* =============================================
   SCREEN 2 — ARCADE LOBBY (Turf War)
   ============================================= */

.rw-screen-arcade {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

.rw-screen-arcade__header {
  padding: 8px 16px 0;
  flex-shrink: 0;
}

.rw-screen-arcade__mode {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.rw-screen-arcade__mode-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px;
  font-weight: 900;
  color: #2ff801;
  text-transform: uppercase;
  font-style: italic;
  letter-spacing: -0.02em;
  line-height: 1;
}

.rw-screen-arcade__mode-badge {
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #2ff801;
  background: rgba(47,248,1,0.08);
  border: 1px solid rgba(47,248,1,0.2);
  padding: 3px 6px;
  border-radius: 5px;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
}

/* Code card */
.rw-screen-arcade__code-card {
  background: #1f1f25;
  border: 1px solid #25252b;
  border-radius: 12px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 8px;
  flex-shrink: 0;
}

.rw-screen-arcade__code-lbl {
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #76757a;
  display: block;
  margin-bottom: 3px;
  font-family: 'Inter', sans-serif;
}

.rw-screen-arcade__code-val {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 21px;
  font-weight: 700;
  color: #81ecff;
  letter-spacing: 0.12em;
  line-height: 1;
}

/* QR code simulation */
.rw-screen-arcade__qr {
  width: 42px;
  height: 42px;
  background: #fff;
  border-radius: 5px;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.rw-screen-arcade__qr::before {
  content: '';
  position: absolute;
  inset: 3px;
  background-image:
    linear-gradient(#000 1px, transparent 1px),
    linear-gradient(90deg, #000 1px, transparent 1px);
  background-size: 5px 5px;
  opacity: 0.75;
}

.rw-screen-arcade__qr::after {
  content: '';
  position: absolute;
  top: 4px;
  left: 4px;
  width: 12px;
  height: 12px;
  border: 2.5px solid #000;
  border-radius: 2px;
  background: transparent;
  box-shadow: 20px 0 0 #000, 0 20px 0 #000, 20px 20px 0 #000;
}

/* Teams grid */
.rw-screen-arcade__teams {
  padding: 0 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin-bottom: 8px;
  flex-shrink: 0;
}

.rw-screen-arcade__team {
  background: #1f1f25;
  border: 1px solid;
  border-radius: 10px;
  padding: 9px 10px;
}

.rw-screen-arcade__team--a { border-color: rgba(129,236,255,0.22); }
.rw-screen-arcade__team--b { border-color: rgba(47,248,1,0.22); }

.rw-screen-arcade__team-name {
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  margin-bottom: 7px;
  display: block;
  font-family: 'Inter', sans-serif;
}

.rw-screen-arcade__team--a .rw-screen-arcade__team-name { color: #81ecff; }
.rw-screen-arcade__team--b .rw-screen-arcade__team-name { color: #2ff801; }

.rw-screen-arcade__avatars {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}

.rw-screen-arcade__avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  background: #25252b;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  color: #acacb0;
}

.rw-screen-arcade__team--a .rw-screen-arcade__avatar { border-color: rgba(129,236,255,0.35); }
.rw-screen-arcade__team--b .rw-screen-arcade__avatar { border-color: rgba(47,248,1,0.35); }

/* Mini map */
.rw-screen-arcade__minimap {
  margin: 0 16px 8px;
  height: 52px;
  background: #101014;
  border: 1px solid #25252b;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}

.rw-screen-arcade__minimap::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 10px 10px;
}

.rw-minimap-zone {
  position: absolute;
  border-radius: 3px;
}

/* Info pills */
.rw-screen-arcade__info {
  padding: 0 16px;
  display: flex;
  gap: 6px;
  margin-bottom: 10px;
  flex-shrink: 0;
}

.rw-screen-arcade__info-pill {
  background: #1f1f25;
  border: 1px solid #25252b;
  border-radius: 6px;
  padding: 5px 8px;
  font-size: 8px;
  color: #76757a;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-family: 'Inter', sans-serif;
}

.rw-screen-arcade__info-pill b {
  color: #fcf8fe;
  font-weight: 600;
}

/* CTA button */
.rw-screen-arcade__cta {
  margin: 0 16px;
  background: #81ecff;
  color: #000;
  border-radius: 100px;
  padding: 12px;
  text-align: center;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  flex-shrink: 0;
}

/* =============================================
   SCREEN 3 — ACTIVE RUN HUD
   ============================================= */

.rw-screen-hud {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0 16px 14px;
}

.rw-screen-hud__live {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 0 2px;
  flex-shrink: 0;
}

.rw-screen-hud__live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ff7072;
  box-shadow: 0 0 8px rgba(255,112,114,0.7);
  flex-shrink: 0;
  animation: rw-pulse 1.6s ease-in-out infinite;
}

.rw-screen-hud__live-text {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: #ff7072;
  font-family: 'Inter', sans-serif;
}

.rw-screen-hud__pace-section {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-bottom: 4px;
}

.rw-screen-hud__pace-lbl {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: #76757a;
  margin-bottom: 2px;
  font-family: 'Inter', sans-serif;
}

.rw-screen-hud__pace-val {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 60px;
  font-weight: 900;
  color: #fe5f00;
  letter-spacing: -0.04em;
  line-height: 1;
}

.rw-screen-hud__pace-unit {
  font-size: 11px;
  color: #76757a;
  font-weight: 600;
  margin-top: 2px;
  font-family: 'Inter', sans-serif;
}

.rw-screen-hud__metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  flex-shrink: 0;
  margin-bottom: 7px;
}

.rw-screen-hud__metric {
  background: #1f1f25;
  border: 1px solid #25252b;
  border-radius: 10px;
  padding: 9px 10px;
}

.rw-screen-hud__metric-lbl {
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #76757a;
  display: block;
  margin-bottom: 3px;
  font-family: 'Inter', sans-serif;
}

.rw-screen-hud__metric-val {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 17px;
  font-weight: 700;
  display: block;
  line-height: 1.1;
}

.rw-screen-hud__metric-val--cyan { color: #81ecff; }
.rw-screen-hud__metric-val--white { color: #fcf8fe; }

.rw-screen-hud__metric-unit {
  font-size: 9px;
  color: #acacb0;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
}

/* Gap indicator */
.rw-screen-hud__gap {
  background: #1f1f25;
  border: 1px solid #25252b;
  border-radius: 10px;
  padding: 8px 10px;
  margin-bottom: 7px;
  flex-shrink: 0;
}

.rw-screen-hud__gap-lbl {
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #76757a;
  margin-bottom: 5px;
  display: block;
  font-family: 'Inter', sans-serif;
}

.rw-screen-hud__gap-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.rw-screen-hud__gap-val {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: #ff7072;
  white-space: nowrap;
}

.rw-screen-hud__gap-track {
  flex: 1;
  height: 4px;
  background: #25252b;
  border-radius: 2px;
  overflow: hidden;
}

.rw-screen-hud__gap-fill {
  height: 100%;
  background: linear-gradient(90deg, #81ecff, #2ff801);
  border-radius: 2px;
  width: 62%;
}

.rw-screen-hud__gap-ghost {
  font-size: 9px;
  color: #acacb0;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  white-space: nowrap;
}

/* Watch sync chip */
.rw-screen-hud__watch {
  background: rgba(129,236,255,0.05);
  border: 1px solid rgba(129,236,255,0.14);
  border-radius: 10px;
  padding: 7px 10px;
  display: flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
}

.rw-screen-hud__watch-icon {
  font-size: 15px;
  line-height: 1;
}

.rw-screen-hud__watch-text {
  font-size: 9px;
  color: #81ecff;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-family: 'Inter', sans-serif;
}

/* =============================================
   APPLE WATCH FACE MOCKUP
   ============================================= */

.rw-watch-scene {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 0;
}

.rw-watch-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Band top */
.rw-watch-band-top,
.rw-watch-band-bot {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 64px;
  background: #1a1a1a;
  border-radius: 6px;
  z-index: -1;
}

.rw-watch-band-top {
  top: -58px;
  height: 68px;
}

.rw-watch-band-bot {
  bottom: -58px;
  height: 68px;
}

/* Watch case */
.rw-watch-case {
  width: 168px;
  height: 200px;
  background: linear-gradient(160deg, #2a2a2a 0%, #0e0e0e 100%);
  border-radius: 44px;
  border: 1.5px solid #2e2e2e;
  box-shadow:
    inset 0 0 0 1.5px rgba(255,255,255,0.06),
    0 0 0 1px rgba(0,0,0,0.5),
    0 30px 60px rgba(0,0,0,0.7),
    0 0 60px rgba(129,236,255,0.1);
  position: relative;
  overflow: visible;
}

/* Crown button */
.rw-watch-case::after {
  content: '';
  position: absolute;
  right: -5px;
  top: 62px;
  width: 5px;
  height: 24px;
  background: #1e1e1e;
  border-radius: 0 3px 3px 0;
}

/* Screen — edge-to-edge content; case inset + radius = bezel (watchOS HIG). */
.rw-watch-screen {
  position: absolute;
  inset: 12px;
  border-radius: 32px;
  background: #000000;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  padding: 4px 0 6px;
  gap: 0;
  font-family:
    ui-rounded,
    "SF Pro Rounded",
    system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
}

/* Live indicator */
.rw-watch-live {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 4px;
  align-self: flex-start;
  padding: 0 2px;
}

.rw-watch-live__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #ff7072;
  box-shadow: 0 0 6px rgba(255,112,114,0.7);
  animation: rw-pulse 1.6s ease-in-out infinite;
}

.rw-watch-live__text {
  font-size: 8px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #ff7072;
}

/* Pace — biggest element */
.rw-watch-pace-lbl {
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.45);
  align-self: flex-start;
  margin-bottom: 1px;
  padding: 0 2px;
}

.rw-watch-pace-val {
  font-size: 48px;
  font-weight: 700;
  color: #fe5f00;
  letter-spacing: -0.04em;
  line-height: 1;
  align-self: flex-start;
  padding: 0 2px;
}

.rw-watch-pace-unit {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 600;
  align-self: flex-start;
  margin-bottom: 6px;
  padding: 0 2px;
}

/* Metrics row — typography only, no cards */
.rw-watch-metrics {
  display: flex;
  width: 100%;
  gap: 0;
  margin-bottom: 6px;
  justify-content: space-between;
  padding: 0 2px;
}

.rw-watch-metric {
  flex: 1;
  min-width: 0;
  text-align: center;
  padding: 2px 4px;
}

.rw-watch-metric__lbl {
  font-size: 7px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.45);
  display: block;
  margin-bottom: 2px;
}

.rw-watch-metric__val {
  font-size: 15px;
  font-weight: 700;
  display: block;
  line-height: 1;
}

.rw-watch-metric__val--cyan { color: #81ecff; }
.rw-watch-metric__val--white { color: #fcf8fe; }

.rw-watch-metric__unit {
  font-size: 8px;
  color: rgba(255, 255, 255, 0.45);
}

/* Gap row */
.rw-watch-gap {
  width: 100%;
  margin-bottom: 6px;
  padding: 4px 2px 0;
}

.rw-watch-gap__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.rw-watch-gap__lbl {
  font-size: 7px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.45);
}

.rw-watch-gap__val {
  font-size: 11px;
  font-weight: 700;
  color: #ff7072;
}

.rw-watch-gap__bar {
  height: 3px;
  background: #25252b;
  border-radius: 2px;
  overflow: hidden;
}

.rw-watch-gap__fill {
  height: 100%;
  width: 62%;
  background: linear-gradient(90deg, #81ecff, #2ff801);
  border-radius: 2px;
}

/* Hype bomb indicator */
.rw-watch-hype {
  width: 100%;
  padding: 4px 2px 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.rw-watch-hype__icon {
  font-size: 12px;
  line-height: 1;
}

.rw-watch-hype__text {
  font-size: 8px;
  font-weight: 600;
  color: #fe5f00;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ── Shared animation ── */
@keyframes rw-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.85); }
}

/* ── Route Studio (marketing iframe) ── */
.rw-screen-route {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: linear-gradient(180deg, #0c1014 0%, #090b0f 100%);
}

.rw-screen-route__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
}

.rw-screen-route__back {
  color: #67e8f9;
  font-size: 20px;
  font-weight: 300;
  line-height: 1;
}

.rw-screen-route__title {
  font-family: "Space Grotesk", sans-serif;
  font-size: 11px;
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #e5e2e3;
}

.rw-screen-route__pill {
  font-size: 8px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #04242a;
  background: linear-gradient(120deg, #67e8f9, #5eead4);
  padding: 4px 10px;
  border-radius: 999px;
}

.rw-screen-route__map {
  flex: 1;
  margin: 10px 12px;
  border-radius: 14px;
  background: #131820;
  border: 1px solid rgba(59, 73, 75, 0.75);
  position: relative;
  overflow: hidden;
  min-height: 0;
}

.rw-screen-route__svg {
  display: block;
  width: 100%;
  height: 100%;
}

.rw-screen-route__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
}

.rw-screen-route__meta {
  font-size: 9px;
  font-weight: 600;
  color: #b9cacb;
  font-family: "Inter", sans-serif;
}

.rw-screen-route__ghost {
  font-size: 8px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #67e8f9;
  font-family: "Inter", sans-serif;
}

/* ── Pricing picker (marketing iframe) ── */
.rw-screen-pricing {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 10px 12px 12px;
  background: linear-gradient(180deg, #101418 0%, #0a0d12 100%);
  min-height: 0;
}

.rw-screen-pricing__head {
  text-align: center;
  font-family: "Space Grotesk", sans-serif;
  font-size: 11px;
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #e5e2e3;
  margin-bottom: 10px;
}

.rw-screen-pricing__toggle {
  display: flex;
  gap: 4px;
  margin: 0 0 10px;
  padding: 3px;
  border-radius: 999px;
  background: #161a1e;
  border: 1px solid rgba(59, 73, 75, 0.85);
}

.rw-screen-pricing__toggle span {
  flex: 1;
  text-align: center;
  font-size: 7px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 2px;
  border-radius: 999px;
  color: #9aa0a6;
  font-family: "Inter", sans-serif;
}

.rw-screen-pricing__toggle span.is-on {
  background: linear-gradient(120deg, #67e8f9, #5eead4);
  color: #04242a;
}

.rw-screen-pricing__rows {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-height: 0;
}

.rw-screen-pricing__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 8px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(59, 73, 75, 0.55);
  font-size: 8px;
  color: #b9cacb;
  font-family: "Inter", sans-serif;
}

.rw-screen-pricing__row b {
  color: #e5e2e3;
  font-weight: 700;
}

.rw-screen-pricing__check {
  color: #5eead4;
  font-weight: 900;
  font-size: 9px;
}

.rw-screen-pricing__cta {
  margin-top: 8px;
  text-align: center;
  padding: 9px 8px;
  border-radius: 10px;
  font-size: 8px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #04242a;
  background: linear-gradient(125deg, #67e8f9, #5eead4);
  font-family: "Inter", sans-serif;
}

/* ── Subtle floating animation for phones ── */
.rw-phone-wrap--center {
  animation: rw-float 5s ease-in-out infinite;
}

@keyframes rw-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}

@media (prefers-reduced-motion: reduce) {
  .rw-phone-wrap--center {
    animation: none;
  }
}
