/* Shared phone frame + stage backdrop — screens 2 & 3. */
:root {
  --ph-stage-bg: #101214;
  --ph-frame: #1c1e22;
  --ph-frame-edge: #33363c;
  --ph-screen-bg: #ffffff;
  --ph-radius: 44px;
  --ph-w: 390px;
  --ph-h: 844px;
  --ph-font: -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ph-caption: #9aa0a6;
  --ph-badge-real: #2f9e5b;
  --ph-badge-scripted: #8a8f98;
}

html, body { height: 100%; }
body.phone-stage {
  margin: 0;
  background: radial-gradient(120% 90% at 50% 30%, #191c20 0%, var(--ph-stage-bg) 70%);
  font-family: var(--ph-font);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  overflow: hidden;
}

.phone {
  width: var(--ph-w);
  height: var(--ph-h);
  background: var(--ph-frame);
  border: 1px solid var(--ph-frame-edge);
  border-radius: var(--ph-radius);
  padding: 12px;
  box-sizing: border-box;
  box-shadow: 0 30px 80px rgba(0,0,0,.55), inset 0 0 0 2px #0b0c0e;
  position: relative;
  flex-shrink: 0;
}
.phone::before { /* simple centered speaker slot — generic, no brand notch */
  content: "";
  position: absolute;
  top: 22px; left: 50%;
  transform: translateX(-50%);
  width: 56px; height: 5px;
  border-radius: 3px;
  background: #0b0c0e;
  z-index: 3;
}
.phone-screen {
  width: 100%; height: 100%;
  border-radius: calc(var(--ph-radius) - 12px);
  overflow: hidden;
  background: var(--ph-screen-bg);
  display: flex;
  flex-direction: column;
  position: relative;
}

.status-bar {
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 0 22px 6px;
  box-sizing: border-box;
  font-size: 14px;
  font-weight: 600;
}
.status-bar .glyphs { display: flex; gap: 5px; align-items: center; }
.status-bar svg { display: block; }

.stage-caption {
  color: var(--ph-caption);
  font-size: 12px;
  text-align: center;
  line-height: 1.5;
  max-width: 460px;
}
.stage-caption .prov { margin-top: 3px; }
.prov-chip {
  display: inline-block;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 3px;
  border: 1px solid currentColor;
  margin: 0 3px;
}
.prov-chip.real { color: var(--ph-badge-real); }
.prov-chip.scripted { color: var(--ph-badge-scripted); }

/* phone scaling handled by fitPhone() in bridge.js */
.phone-wrap { display: flex; align-items: center; justify-content: center; }
