/* Murder in Prague — local game player
 *
 * Design tokens (matching murderinprague.com):
 *   background #000, accent teal #238672 / #51cdb4 / #2c4f48
 *   font: Afacad (fallback system-ui)
 *   image buttons and UI frames from /site/assets/ui/
 */
:root {
  --bg: #000;
  --paper: #fff;
  --teal: #238672;
  --teal-light: #51cdb4;
  --teal-dark: #2c4f48;
  --ink: #000;
  --font: Afacad, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  --mono: 'IBM Plex Mono', monospace;
}

* { box-sizing: border-box; }
html, body {
  height: 100%;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--paper);
  font-family: var(--font);
  font-size: 12px;
}
html::-webkit-scrollbar { display: none; }
body { font-size: 12px; }

a { color: var(--teal-light); text-decoration: underline; }
code { font-family: var(--mono); font-size: 0.85em; background: rgba(255,255,255,.08); padding: .1em .3em; border-radius: 3px; }

/* screen toggling */
.screen { display: none; }
.screen.hidden { display: none !important; }
.screen:not(.hidden) { display: block; }
.hidden { display: none !important; }

/* ================= INTRO / LOGIN SCREEN (matches murderinprague.com) ================= */
.login-login-container {
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 100;
  top: 0; left: 0;
  width: 100%;
  min-height: 100vh;
  position: relative;
}
.login-login-container .login-bg {
  position: absolute; top: 0; left: 0; width: 100%; height: 100vh;
  background: url('/site/assets/ui/ui_intro-bg_small.jpg') 50% / cover no-repeat;
  opacity: 0.7; z-index: -1000;
}
.login-intro-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  background: url('/site/assets/ui/ui_intro-bg_small.jpg') 50% / cover no-repeat;
  width: 100%;
  min-height: 100vh;
  padding-bottom: 4rem;
  gap: 2rem;
}
.login-intro-img {
  display: block;
  width: 34rem;
  height: 28rem;
  margin: 0 auto;
  position: relative;
}
.login-intro-img img {
  width: 100%; height: 100%; object-fit: contain; display: block;
}
.login-intro-text {
  font-family: var(--font);
  color: #fff;
  width: 57rem;
  max-width: 88vw;
  text-align: center;
  font-size: 1.62rem;
  line-height: 2.2rem;
  padding-bottom: 0.5rem;
  margin: 0 auto;
}
.login-intro-heading-container {
  display: flex;
  align-items: center;
  justify-content: center;
}
.login-intro-heading {
  font-family: var(--font);
  font-weight: 600;
  color: #fff;
  font-size: 1.7rem;
  text-align: center;
  padding-bottom: 0.5rem;
  padding-top: 3rem;
  cursor: pointer;
  display: inline-block;
  position: relative;
}
.login-intro-heading span { display: inline-block; }
.login-intro-button {
  display: block;
  background: url('/site/assets/ui/ui_intro-button.png') 50% / contain no-repeat;
  background-color: transparent;
  border: none;
  outline: none;
  cursor: pointer;
  color: #000;
  font-family: var(--font);
  font-weight: 700;
  font-size: 1.6rem;
  line-height: 1.8rem;
  text-transform: uppercase;
  height: 8rem;
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.login-intro-button:hover { transform: scale(1.05); }
.login-intro-bottom-text {
  font-family: var(--font);
  font-size: 1.2rem;
  opacity: 0.7;
  width: 40rem;
  text-align: center;
  max-width: 85vw;
  margin: 0 auto;
  color: #fff;
}
.login-intro-bottom-text a { color: #fff; }
.login-intro-privacy-text {
  font-family: var(--font);
  font-size: 1.2rem;
  opacity: 0.7;
  width: 40rem;
  text-align: center;
  max-width: 85vw;
  margin: 0 auto;
  color: #fff;
}
.login-intro-privacy-text a { color: #fff; }

@media only screen and (max-width: 600px) {
  .login-intro-img { width: 20rem; }
  .login-intro-text { font-size: 1.6rem; text-align: center; padding-top: 4rem; padding-bottom: 3rem; }
  .login-intro-button { background-image: url('/site/assets/ui/ui_intro-button.png'); background-size: contain; width: 100%; height: 7rem; padding: 0; }
  .login-intro-bottom-text { font-size: 1.3rem; }
}
@media screen and (max-height: 700px) {
  .login-intro-container { padding-bottom: 2rem; }
  .login-intro-bottom-text { margin-top: 2rem; }
}

/* TV device styles */
:root[data-device=tv] .login-intro-container {
  justify-content: center;
  gap: 1vh;
  padding: 3.5vh 5vw;
  min-height: 100vh;
}
:root[data-device=tv] .login-intro-img { width: 34vh; height: 28vh; }
:root[data-device=tv] .login-intro-text {
  font-size: 24px;
  line-height: 1.3;
  width: auto;
  max-width: 88vw;
  padding-bottom: 0;
}
:root[data-device=tv] .login-intro-heading {
  font-size: 26px;
  padding-top: 2vh;
  padding-bottom: 4vh;
  margin: 0;
}
:root[data-device=tv] .login-intro-button,
:root[data-device=tv] .login-intro-button:hover {
  height: 13vh;
  font-size: 24px;
  line-height: 1.2;
}
:root[data-device=tv] .login-intro-bottom-text,
:root[data-device=tv] .login-intro-privacy-text {
  font-size: 15px;
  width: auto;
  max-width: 86vw;
}

/* ================= LOGIN MODAL / POPUP ================= */
.login-popup {
  background: transparent;
  background-image: url('/site/assets/ui/ui_login_rect_inner.png');
  width: 33rem;
  height: 40rem;
  overflow: visible;
  position: relative;
  padding: 2.5rem;
  background-repeat: no-repeat;
  background-position: 50%;
  border-radius: 0;
  background-size: 100% 100%;
}
.login-popup.hidden { display: none !important; }
.login-outer {
  display: block;
  position: absolute;
  top: -5px; left: -9px; bottom: -5px; right: -9px;
  z-index: -1;
  content: "";
  background-image: url('/site/assets/ui/ui_login_rect_outer.png');
  background-repeat: no-repeat;
  background-position: 50%;
  background-size: 100% 100%;
}
.login-inner {
  position: relative;
  z-index: 1;
  height: 100%;
  overflow-y: auto;
}
.login-tabs {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  margin: 0 0 2.5rem;
}
.login-tab {
  display: block;
  width: 50%;
  flex: 1 1;
  background: none;
  box-shadow: none;
  outline: none;
  border: none;
  border-bottom: 4px solid transparent;
  color: hsla(0, 0%, 100%, 0.6);
  font-family: var(--font);
  font-weight: 600;
  font-size: 1.7rem;
  line-height: 2.4rem;
  padding: 0 0.5rem 0.5rem;
  margin: 0 0.5rem;
  position: relative;
  cursor: pointer;
}
.login-tab:not([data-selected=true]):hover { font-size: 1.7rem; }
.login-tab[data-selected=true] {
  color: #fff;
  border-bottom: 3px solid var(--teal);
  position: relative;
}
.login-tab[data-selected=true]:after {
  content: "";
  display: block;
  border: none;
  box-shadow: none;
  outline: none;
  background: var(--teal);
  width: 5px;
  height: 5px;
  transform: rotate(45deg);
  position: absolute;
  top: 102%;
  left: 0;
  right: 0;
  margin: 0 auto;
}
.login-divider {
  display: block;
  margin: 2rem 0;
  left: 3rem;
  right: 3rem;
  position: absolute;
  top: 18rem;
  height: 3px;
  background: linear-gradient(90deg, hsla(0, 0%, 100%, 0), #fff 21.9%, hsla(0, 0%, 100%, 0) 22%, hsla(0, 0%, 100%, 0) 78%, #fff 78.1%, hsla(0, 0%, 100%, 0));
}
.login-divider:after {
  content: "OR CONTINUE WITH";
  display: block;
  text-align: center;
  color: #fff;
  font-family: var(--font);
  font-weight: 600;
  font-size: 1.3rem;
  line-height: 0.3rem;
}
.login-auth-label { display: none; }
.login-auth-input {
  background: rgba(35, 134, 114, 0.3);
  outline: 0;
  border-radius: 0;
  border: 2px solid rgba(35, 134, 114, 0.4);
  box-shadow: none;
  font-family: var(--font);
  font-weight: 600;
  font-size: 1.2rem;
  line-height: 1.8rem;
  color: #fff;
  text-align: left;
  display: block;
  width: 100%;
  padding: 0.8rem 1rem;
  margin-bottom: 1.3rem;
  -webkit-text-fill-color: #fff;
}
.login-auth-input::placeholder { color: hsla(0, 0%, 100%, 0.7) !important; }
.login-auth-button {
  margin-top: 9.5rem;
  display: block;
  background: url('/site/assets/ui/ui_button_mobile.png') 50% / cover no-repeat;
  border: none;
  outline: none;
  width: 100%;
  height: 7rem;
  color: #000;
  font-family: var(--font);
  font-weight: 700;
  font-size: 1.4rem;
  text-transform: uppercase;
  cursor: pointer;
}
.login-auth-button:hover { transform: scale(1.05); }
.login-msg {
  margin-top: 1rem;
  color: #ff6b6b;
  font-family: var(--font);
  font-size: 1rem;
  height: 1.4em;
}
.login-bottom-text {
  font-family: var(--font);
  font-size: 1.2rem;
  opacity: 0.7;
  width: 40rem;
  max-width: 85vw;
  text-align: center;
  color: #fff;
  margin: 2rem auto 0;
}

@media only screen and (max-width: 600px) {
  .login-popup { width: 340px; height: 473px; max-width: 90vw; }
  .login-auth-button { height: 6.5rem; font-size: 1.4rem; margin-top: 6rem; }
  .login-tab { font-size: 1.5rem; }
}

/* ================= GAME SHELL ================= */
.game-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-color: #000;
  opacity: 0.7;
  -webkit-backface-visibility: hidden;
  -webkit-transform: translateZ(0);
}
.viewport {
  position: relative;
  z-index: 10;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh; /* track mobile browser chrome */
  overflow-x: hidden;
  overflow-y: auto; /* scroll only when a beat is taller than the screen */
}

/* chapter splash (title card before a chapter) */
.chapter-splash {
  position: fixed;
  inset: 0;
  z-index: 40;
  background-color: #000;
  display: flex;
  /* Centered title card — the same centered, formatted treatment used when a
     card is cast to the TV, applied globally so in-game and on-screen match. */
  align-items: center;
  justify-content: center;
  padding: 3rem 2rem; /* symmetric → dead-center; scrolls if it ever overflows */
  overflow-y: auto;
  /* NB: use longhands here — a `background:` shorthand would reset
     background-color to transparent and let the previous chapter's
     last beat bleed through the title card. */
  background-repeat: no-repeat;
  background-position: 50%;
  background-attachment: fixed;
  background-size: cover;
}
.chapter-splash.hidden { display: none; }
.chapter-splash-content {
  padding: 0;
  margin: 0;
  width: 100%;
  max-width: min(700px, calc(100vw - 4rem));
  min-height: 20rem;
  max-height: 30rem;
  background-size: contain;
  background-position: 50%;
  background-repeat: no-repeat;
  text-align: center;
}
.chapter-image-title {
  padding: 0;
  margin: 0;
  width: 100%;
  max-width: 29.5rem;
  max-height: 11.5rem;
  display: block;
  margin: 0 auto 1rem;
}
.chapter-context {
  font-family: var(--font);
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 2.4rem;
  text-align: center;
  color: var(--teal);
  padding-top: 0;
  margin-top: 0;
}
.chapter-sub-heading-date {
  font-weight: 400;
  margin: 0;
  font-size: 2rem;
  line-height: 3.2rem;
  font-family: var(--font);
}
.chapter-sub-heading-location {
  text-transform: uppercase;
  font-weight: 600;
  font-size: 2.4rem;
  margin: 0;
  line-height: 3.2rem;
  font-family: var(--font);
}
.cta-option-button {
  display: block;
  background: url('/site/assets/ui/ui_button.png') 50% / cover no-repeat;
  /* The label is dark to sit on the ornament's light diamond; a soft white halo
     keeps longer labels legible where they extend past it onto the dark lines. */
  text-shadow: 0 0 6px #fff, 0 0 10px #fff;
  border: none;
  outline: none;
  cursor: pointer;
  color: #000;
  font-family: var(--font);
  font-weight: 700;
  font-size: 1.6rem;
  line-height: 1.8rem;
  text-transform: uppercase;
  width: 55rem;
  max-width: 100vw;
  height: 7rem;
  margin: 2rem auto 0;
}
.cta-option-button:hover { transform: scale(1.05); }

/* bottom narrative text */
.text-bottom-text-container {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0 1rem;
  min-height: 10rem;
  max-width: 100vw;
  pointer-events: none;
}
.text-bottom-text-container p {
  text-align: center;
  color: #fff;
  font-family: var(--font);
  max-width: 42rem;
  margin: 0 auto;
  opacity: 0.9;
  font-size: 1.3rem;
  line-height: 2.2rem;
}
.text-bottom-text-container.hidden { display: none !important; }

/* navbar (chapter select) */
/* collapsible left chapter pane: a thin always-visible rail that expands into
   a drawer. --rail-w is the strip the game content is offset by (see .has-nav). */
:root { --rail-w: 3.6rem; --pane-w: 30rem; }
.navbar {
  position: fixed;
  left: 0; top: 0; bottom: 0;
  z-index: 130;
  width: var(--rail-w);
  pointer-events: none; /* only the rail/panel catch clicks, not the empty column */
}
.navbar.hidden { display: none !important; }

/* the always-visible toggle rail */
.navbar-rail {
  pointer-events: auto;
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: var(--rail-w);
  border: none;
  border-right: 1px solid var(--teal-dark);
  background-color: rgba(20, 41, 31, 0.55);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--teal-light);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.4rem;
  padding: 1.4rem 0;
  z-index: 2;
}
.navbar-rail:hover { background-color: rgba(20, 41, 31, 0.75); }
.navbar-rail .rail-icon { font-size: 1.8rem; line-height: 1; }
.navbar-rail .rail-label {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: var(--font);
  font-weight: 600;
  font-size: 1.4rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
}
.navbar-rail .rail-progress {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: var(--mono);
  font-size: 1rem;
  color: hsla(0, 0%, 100%, 0.55);
}

/* the sliding drawer panel */
.navbar-panel {
  pointer-events: auto;
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: var(--pane-w);
  max-width: 86vw;
  background: #07110e;
  border-right: 1px solid var(--teal-dark);
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.6);
  overflow-y: auto;
  padding: 1.4rem 1.2rem;
  transform: translateX(-102%);
  transition: transform 0.25s ease;
  z-index: 1;
}
.navbar.open .navbar-panel { transform: translateX(0); }
.navbar.open .navbar-rail { opacity: 0; pointer-events: none; }
.navbar-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.2rem;
}

/* content sits beside the rail, never behind it */
.has-nav .viewport { padding-left: var(--rail-w); }

/* settings */
.settings-wrapper {
  position: fixed;
  top: 1.4rem;
  right: 1.6rem;
  z-index: 140;
}
.settings-settings-button {
  width: 3rem;
  height: 3rem;
  border: 1px solid var(--teal-dark);
  border-radius: 50%;
  background: rgba(20, 41, 31, 0.6);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--teal-light);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.settings-settings-button::before { content: "\2699"; } /* gear glyph */
.settings-settings-button:hover { transform: scale(1.08); color: #fff; }
.settings-container {
  position: absolute;
  top: 3.8rem;
  right: 0;
  min-width: 18rem;
  background: #07110e;
  border: 1px solid var(--teal-dark);
  border-radius: 0.6rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 1rem 1.2rem 1.2rem;
}
.settings-title {
  font-family: var(--font);
  color: var(--teal);
  font-weight: 600;
  font-size: 1.3rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--teal-dark);
}
.settings-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  font-family: var(--font);
  text-transform: uppercase;
  margin: 0.3rem 0;
  font-size: 1.25rem;
  padding: 0.5rem 0;
  cursor: pointer;
  user-select: none;
}
.settings-item span { color: var(--teal-light); font-weight: 600; }
.settings-item:hover { color: var(--teal-light); }
.settings-item-danger { color: #d98a86; margin-top: 0.6rem; padding-top: 0.8rem; border-top: 1px solid var(--teal-dark); justify-content: flex-start; }
.settings-item-danger:hover { color: #e8625a; }
.settings-item-danger.armed { color: #e8625a; font-weight: 600; }

/* footbar */
.footbar {
  margin-top: auto;
  padding: 10px 16px;
  border-top: 1px solid rgba(255,255,255,0.08);
  color: hsla(0,0%,100%,0.5);
  font-size: 0.8rem;
  font-family: var(--mono);
  text-align: center;
  background: rgba(0,0,0,0.35);
}

/* ================= IN-GAME BEAT RENDERERS ================= */
.beat-wrap {
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center; /* center the beat in the full available height */
  padding: 3rem 1rem;      /* symmetric, so content sits dead-center when it fits */
  position: relative;
}
.beat-kind {
  font-family: var(--font);
  font-size: 1.8rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--teal);
  text-align: center;
  max-width: 24rem;
  margin: 0 auto 2rem;
  line-height: 2rem;
}
.beat-body {
  text-align: center;
  color: #fff;
  font-family: var(--font);
  max-width: 42rem;
  margin: 0 auto;
  font-size: 1.3rem;
  line-height: 2rem;
  padding: 0 1rem;
}

/* video / facetime / audio */
.media-frame {
  margin: 2rem auto 0;
  position: relative;
}
.media-frame video,
.media-frame audio {
  width: 100%;
  height: auto;
  display: block;
  background: #000;
}

/* cinematic video: overlay controls so the path forward is always visible */
.media-frame-video { position: relative; width: 100%; }
.media-frame-video video { cursor: pointer; }
.video-overlay {
  position: absolute; inset: 0; pointer-events: none;
  display: flex; align-items: center; justify-content: center;
}
.video-play {
  pointer-events: auto;
  font-family: var(--font); font-size: 1.6rem; font-weight: 700;
  color: #fff; background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.5); border-radius: 2rem;
  padding: 0.8rem 2.2rem; cursor: pointer;
}
.video-continue {
  pointer-events: auto;
  font-family: var(--font); font-size: 1.7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.05em; color: #fff;
  background: rgba(35, 134, 114, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.55); border-radius: 2.4rem;
  padding: 1rem 2.6rem; cursor: pointer; transition: transform 0.15s;
}
.video-continue:hover { transform: scale(1.05); }
.video-skip {
  pointer-events: auto;
  position: absolute; right: 1.5rem; bottom: 1.5rem;
  font-family: var(--font); font-size: 1.2rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.05em; color: #fff;
  background: rgba(0, 0, 0, 0.55); border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 2rem; padding: 0.6rem 1.4rem; cursor: pointer;
  transition: background 0.15s, transform 0.15s;
}
.video-skip:hover { background: rgba(35, 134, 114, 0.92); transform: scale(1.05); }

/* facetime call frame */
.facetime-container {
  position: relative;
  width: 27rem;
  max-width: 92vw;
  background: #000;
  border: 2px solid var(--teal-dark);
  border-radius: 1.4rem;
  overflow: hidden;
  padding: 0;
  margin: 2rem auto 0;
}
.facetime-inner {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}
.facetime-inner video {
  width: 100%;
  height: auto;
  display: block;
  background: #000;
  object-fit: contain;
}

/* phone call frame */
.phone-call-container {
  margin: 2rem auto 0;
  background-color: transparent;
  background-image: url('/site/assets/ui/ui_phone_rect_merged.png');
  background-repeat: no-repeat;
  background-position: 50%;
  background-size: 100% 100%;
  border-radius: 0;
  width: 27rem;
  height: 33rem;
  overflow: visible;
  padding: 1rem;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}
.phone-avatar {
  display: block;
  margin: 0 auto;
  height: 7rem;
  width: 7rem;
  border-radius: 1000px;
  border: 2px solid var(--teal-dark);
  object-fit: cover;
}
.phone-caller {
  color: #fff;
  text-align: center;
  font-family: var(--font);
  font-size: 2rem;
  font-weight: 500;
  line-height: 3rem;
}
.phone-subheading {
  color: #fff;
  font-size: 1.2rem;
  text-align: center;
  font-family: var(--font);
  font-weight: 400;
  line-height: 2rem;
}

/* text message thread (teal bubbles) */
.text-message-container {
  background-color: transparent;
  border-radius: 0;
  width: 27rem;
  height: 32.14rem;
  overflow: visible;
  padding: 0;
  position: relative;
  margin: 0 auto;
}
.message-list {
  padding: 0 3.2rem;
  height: 26rem;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  overflow-y: auto;
  scrollbar-width: none;
}
.message-list::-webkit-scrollbar { display: none; }
.message-list-inner {
  width: 100%;
  min-height: 100%;
  padding-top: 1rem;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
}
.message-bubble {
  color: #fff;
  margin: 0.5rem 0;
  max-width: 26rem;
  align-self: flex-start;
  font-family: var(--font);
  font-weight: 400;
  padding: 1rem 0.9rem;
  border-radius: 0.8rem 0.8rem 0.8rem 0;
  background: rgba(35, 134, 114, 0.4);
  font-size: 1.2rem;
  line-height: 1.8rem;
}
.message-bubble.me {
  align-self: flex-end;
  border-radius: 0.8rem 0.8rem 0 0.8rem;
}
.message-bubble img {
  width: 140px;
  border-radius: 6px;
  margin-top: 6px;
  display: block;
}
.typing-bubble {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 40px;
  background: rgba(35, 134, 114, 0.4);
  border-radius: 8px 8px 8px 0;
  padding: 0 10px;
  align-self: flex-start;
  font-family: var(--font);
  font-size: 1rem;
  color: #fff;
}

/* whodunnit suspect cards */
.whodunnit-wrapper {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  margin-bottom: 5rem;
}
.whodunnit-card {
  position: relative;
  cursor: pointer;
  z-index: 20;
}
.whodunnit-card-img-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border: 2px solid var(--teal-dark);
  border-radius: 1rem;
  overflow: hidden;
  background: #000;
}
.whodunnit-card:hover .whodunnit-card-img-wrapper { border-color: var(--teal-light); }
.whodunnit-card-img {
  width: 16rem;
  height: 24rem;
  object-fit: cover;
  display: block;
}
.whodunnit-name-title {
  position: absolute;
  bottom: 2.5rem;
  font-size: 1.4rem;
  font-family: var(--font);
  font-weight: 600;
  text-shadow: 1px 1px 7px rgba(0,0,0,0.5);
  left: 0;
  right: 0;
  text-align: center;
  color: #fff;
}
.whodunnit-selected {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
  position: relative;
}

/* endgame suspect review */
.endgame-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-gap: 2rem;
  gap: 2rem;
  width: 100%;
  height: 80vh;
  margin-bottom: 3rem;
}
.end-card {
  position: relative;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  border: 2px solid var(--teal-dark);
  border-radius: 1rem;
  overflow: hidden;
}
.end-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.end-verdict {
  position: absolute;
  bottom: 5rem;
  left: 0;
  right: 0;
  font-size: 2.4rem;
  font-weight: 600;
  font-family: var(--font);
  text-align: center;
  color: #fff;
  text-shadow: 1px 1px 7px rgba(0,0,0,0.5);
}
.end-verdict.guilty { color: var(--teal-light); }
.end-card-name {
  position: absolute;
  bottom: 12rem;
  left: 0;
  right: 0;
  font-size: 1.4rem;
  line-height: 2rem;
  padding: 0 3rem;
  font-family: var(--font);
  text-align: center;
  color: #fff;
}

/* continue buttons */
.beat-controls {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-continue {
  display: block;
  background: url('/site/assets/ui/ui_button.png') 50% / cover no-repeat;
  border: none;
  outline: none;
  cursor: pointer;
  color: #000;
  font-family: var(--font);
  font-weight: 700;
  font-size: 1.6rem;
  line-height: 1.8rem;
  text-transform: uppercase;
  width: 55rem;
  max-width: 100vw;
  height: 7rem;
}
.btn-continue:hover { transform: scale(1.05); }
.btn-continue:disabled { opacity: 0.6; cursor: not-allowed; }

/* objection */
.objection {
  color: #ff6b6b;
  font-weight: 700;
  font-family: var(--font);
  font-size: 1.2rem;
  text-align: center;
  margin-top: 1rem;
}

/* ================= PARITY ADDITIONS ================= */

/* "Continue without login" link on the intro */
.login-skip-button {
  display: block;
  margin: 1.2rem auto 0;
  background: none;
  border: none;
  outline: none;
  cursor: pointer;
  color: hsla(0, 0%, 100%, 0.85);
  font-family: var(--font);
  font-size: 1.3rem;
  text-decoration: underline;
}
.login-skip-button:hover { color: #fff; }

/* ================= START SCREEN ================= */
.start-screen {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000 url('/site/assets/ui/ui_intro-bg_small.jpg') 50% / cover no-repeat;
}
/* `.screen:not(.hidden){display:block}` (specificity 0,2,0) otherwise beats the
   flex above and the start card drifts to the left; restore the centered flex. */
.screen.start-screen:not(.hidden) { display: flex; }
.start-screen.hidden { display: none !important; }
.start-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem;
  gap: 1.5rem;
  background: rgba(0, 0, 0, 0.45);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  border-radius: 1rem;
  max-width: min(70rem, 94vw);
}
/* widen the start button so the ornament's lines frame the longer label */
#btnBeginJourney { width: 64rem; max-width: 100%; }
.start-logo { width: 26rem; max-width: 70vw; height: auto; }
.start-blurb {
  color: #fff;
  font-family: var(--font);
  font-size: 1.5rem;
  line-height: 2.2rem;
  max-width: 44rem;
  opacity: 0.9;
}
.start-resume-note {
  background: none;
  border: none;
  color: var(--teal-light);
  font-family: var(--font);
  font-size: 1.3rem;
  text-decoration: underline;
  cursor: pointer;
}
.start-resume-note.hidden { display: none; }

/* ================= CALL RING / ACCEPT ================= */
.call-ring {
  margin: 2rem auto 0;
  background-image: url('/site/assets/ui/ui_phone_rect_merged.png');
  background-repeat: no-repeat;
  background-position: 50%;
  background-size: 100% 100%;
  width: 27rem;
  min-height: 33rem;
  padding: 2rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.4rem;
}
.call-status {
  color: hsla(0, 0%, 100%, 0.75);
  font-family: var(--font);
  font-size: 1.2rem;
  text-align: center;
}
.call-actions {
  display: flex;
  gap: 1.5rem;
  margin-top: 1rem;
}
.call-btn {
  border: none;
  outline: none;
  cursor: pointer;
  font-family: var(--font);
  font-weight: 700;
  font-size: 1.3rem;
  text-transform: uppercase;
  color: #fff;
  padding: 0.9rem 1.8rem;
  border-radius: 2rem;
}
.call-btn:hover { transform: scale(1.05); }
.call-accept { background: var(--teal); }
.call-decline { background: #7a2d2d; }
.call-caption {
  font-size: 1.1rem !important;
  opacity: 0.75;
  margin-top: 0.8rem !important;
}

/* ================= INSTRUCTION / CASE-FILE REFERENCE ================= */
.instruction-headshot {
  width: 7rem;
  height: 7rem;
  object-fit: cover;
  border-radius: 1000px;
  border: 2px solid var(--teal-dark);
  margin: 0 auto 1.5rem;
  display: block;
}
.instruction-file {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  margin: 0 auto 1.5rem;
  padding: 1.2rem 2rem;
  border: 1px solid rgba(81, 205, 180, 0.4);
  border-radius: 0.6rem;
  background: rgba(35, 134, 114, 0.12);
}
.instruction-file .file-open {
  font-family: var(--font);
  font-weight: 700;
  font-size: 1.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal-light);
}
.instruction-file .file-name {
  font-family: var(--font);
  font-size: 1.4rem;
  color: #fff;
}
.instruction-file .file-pages {
  font-family: var(--mono);
  font-size: 1.1rem;
  color: hsla(0, 0%, 100%, 0.6);
}

/* ================= CTA OPTIONS ================= */
.cta-options {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  width: 100%;
}
.cta-options .cta-option-button { margin: 0 auto; }

/* ================= EVIDENCE IMAGE ================= */
.evidence-figure { margin: 1rem auto 0; text-align: center; }
.evidence-img {
  max-width: min(60rem, 92vw);
  max-height: 60vh;
  width: auto;
  height: auto;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 0.8rem;
  background: #000;
  display: block;
  margin: 0 auto;
}
.evidence-cap {
  font-family: var(--font);
  font-size: 1.1rem;
  color: hsla(0, 0%, 100%, 0.8);
  margin-top: 0.6rem;
}

/* ================= WHODUNNIT / ARREST CONFIRM ================= */
.whodunnit-prompt {
  font-size: 1.5rem !important;
  color: var(--teal-light) !important;
  margin-bottom: 2rem !important;
}
.arrest-confirm {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.7);
}
.arrest-box {
  background: #0b1a16;
  border: 1px solid var(--teal);
  border-radius: 0.8rem;
  padding: 2.5rem;
  text-align: center;
  max-width: 90vw;
}
.arrest-q {
  font-family: var(--font);
  font-size: 1.8rem;
  color: #fff;
  margin-bottom: 1.5rem;
}

/* endgame extras */
.end-card-pick {
  position: absolute;
  top: 1rem;
  left: 0;
  right: 0;
  text-align: center;
  font-family: var(--font);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.1em;
  color: var(--teal-light);
  text-shadow: 1px 1px 6px #000;
  z-index: 2;
}
.end-card-name {
  position: absolute;
  bottom: auto;
  top: 3rem;
}
.end-card-note {
  position: absolute;
  bottom: 1rem;
  left: 0;
  right: 0;
  padding: 0 0.8rem;
  font-family: var(--font);
  font-size: 0.95rem;
  line-height: 1.4rem;
  color: hsla(0, 0%, 100%, 0.92);
  text-shadow: 1px 1px 6px #000;
  max-height: 10rem;
  overflow: auto;
}
.end-verdict { bottom: 12rem; }

@media only screen and (max-width: 700px) {
  .endgame-grid { grid-template-columns: repeat(2, 1fr); height: auto; }
}

/* ================= CHAPTER SELECT MENU ================= */
.chapter-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.6rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 0.4rem;
}
.chapter-menu-close:hover { color: var(--teal-light); }
.chapter-menu-title {
  font-family: var(--font);
  font-weight: 600;
  font-size: 2rem;
  text-transform: uppercase;
  color: var(--teal);
}
.chapter-menu-list { display: flex; flex-direction: column; gap: 0.4rem; }
.chapter-menu-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  text-align: left;
  background: rgba(35, 134, 114, 0.08);
  border: 1px solid transparent;
  border-radius: 0.4rem;
  padding: 0.9rem 1rem;
  color: #fff;
  font-family: var(--font);
  font-size: 1.3rem;
  cursor: pointer;
}
.chapter-menu-row:hover:not(:disabled) { border-color: var(--teal); background: rgba(35, 134, 114, 0.2); }
.chapter-menu-row:disabled { opacity: 0.4; cursor: not-allowed; }
.chapter-menu-row.active { border-color: var(--teal-light); background: rgba(81, 205, 180, 0.18); }
.chapter-menu-row .cm-n { width: 2.2rem; color: var(--teal-light); font-weight: 700; }
.chapter-menu-row .cm-title { flex: 1; }
.cm-tag {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.6rem;
  border-radius: 1rem;
  text-transform: uppercase;
}
.cm-tag.replay { background: var(--teal); color: #fff; }
.cm-tag.done { background: rgba(255, 255, 255, 0.15); color: #fff; }
.cm-tag.current { background: var(--teal-light); color: #000; }
.cm-tag.locked { background: rgba(255, 255, 255, 0.08); color: hsla(0, 0%, 100%, 0.5); }

/* settings panel hide */
.settings-container.hidden { display: none !important; }

/* ================= CASE CLOSED ================= */
.case-closed {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 80vh;
  gap: 1.5rem;
  padding: 2rem;
}
.case-hero {
  font-family: var(--font);
  font-weight: 700;
  font-size: 4rem;
  letter-spacing: 0.1em;
  color: var(--teal-light);
  text-transform: uppercase;
}
.case-sub { font-family: var(--font); font-size: 1.8rem; color: #fff; }
.case-sub span { color: var(--teal-light); }
.case-helper { font-family: var(--font); font-size: 1.4rem; line-height: 2.2rem; color: hsla(0, 0%, 100%, 0.85); }

/* ================= CASE FILES ================= */
/* "View file" button inside an instruction beat */
.file-view-button {
  margin-top: 0.4rem;
  font-family: var(--font);
  font-size: 1.2rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #062018;
  background: var(--teal-light);
  border: 0;
  border-radius: 0.5rem;
  padding: 0.55rem 1.4rem;
  cursor: pointer;
}
.file-view-button:hover { background: #fff; }
.file-view-button:active { transform: translateY(1px); }

/* floating dossier button (mirrors the settings gear) */
.files-wrapper { position: fixed; top: 1.4rem; right: 5.2rem; z-index: 140; }
.files-wrapper.hidden { display: none; }
.files-button {
  width: 3rem; height: 3rem;
  border: 1px solid var(--teal-dark); border-radius: 50%;
  background: rgba(20, 41, 31, 0.6);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  color: var(--teal-light); font-size: 1.5rem; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.files-button::before { content: "\1F4C1"; } /* folder glyph */
.files-button:hover { transform: scale(1.08); color: #fff; }

/* full-screen overlay */
.files-overlay {
  position: fixed; inset: 0; z-index: 210;
  background: rgba(0, 0, 0, 0.78);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  padding: max(1rem, env(safe-area-inset-top)) 1rem max(1rem, env(safe-area-inset-bottom));
}
.files-overlay.hidden { display: none; }
.files-modal {
  width: min(1100px, 100%); height: min(88vh, 900px);
  background: #07110e; border: 1px solid var(--teal-dark); border-radius: 0.8rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.7);
  display: flex; flex-direction: column; overflow: hidden;
}
.files-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.4rem; border-bottom: 1px solid var(--teal-dark); flex: none;
}
.files-title {
  font-family: var(--font); color: var(--teal); font-weight: 600;
  font-size: 1.5rem; letter-spacing: 0.1em; text-transform: uppercase;
}
.files-close {
  width: 2.6rem; height: 2.6rem; border: 1px solid var(--teal-dark); border-radius: 50%;
  background: none; color: #fff; font-size: 1.8rem; line-height: 1; cursor: pointer;
}
.files-close:hover { color: var(--teal-light); border-color: var(--teal); }
.files-body { display: grid; grid-template-columns: 17rem 1fr; min-height: 0; flex: 1; }
.files-index { border-right: 1px solid var(--teal-dark); overflow-y: auto; padding: 0.6rem; }
.files-row {
  display: grid; grid-template-columns: 2rem 1fr auto; gap: 0.6rem; align-items: center;
  width: 100%; text-align: left; background: none; border: 0; color: #fff;
  padding: 0.7rem 0.6rem; border-radius: 0.5rem; cursor: pointer; font-family: var(--font);
}
.files-row:hover { background: rgba(35, 134, 114, 0.18); }
.files-row.active { background: rgba(35, 134, 114, 0.28); }
.files-row.locked { color: hsla(0, 0%, 100%, 0.4); cursor: default; }
.files-row.locked:hover { background: none; }
.files-num { font-family: var(--mono); color: var(--teal-light); font-size: 1.2rem; }
.files-row.locked .files-num { color: hsla(0, 0%, 100%, 0.35); }
.files-info { display: flex; flex-direction: column; min-width: 0; }
.files-info b { font-size: 1.3rem; font-weight: 600; }
.files-info small { font-family: var(--mono); font-size: 1rem; color: hsla(0, 0%, 100%, 0.55); }
.files-go { color: var(--teal-light); font-size: 1.4rem; }
.files-viewer { display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.files-viewer-head {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.8rem 1.2rem; border-bottom: 1px solid var(--teal-dark); flex: none;
}
.files-viewer-head b { color: #fff; font-family: var(--font); font-size: 1.3rem; }
.files-vnum { font-family: var(--mono); color: var(--teal-light); font-size: 1.1rem; }
.files-newtab {
  font-family: var(--font); font-size: 1.15rem; color: var(--teal-light);
  text-decoration: none; border: 1px solid var(--teal-dark); border-radius: 0.4rem; padding: 0.35rem 0.9rem;
}
.files-newtab:hover { color: #fff; border-color: var(--teal); }
.files-frame { flex: 1; width: 100%; border: 0; background: #fff; min-height: 0; }
.files-empty { padding: 2rem; color: hsla(0, 0%, 100%, 0.6); font-family: var(--font); font-size: 1.3rem; text-align: center; }

/* final evidence row + phone-clone viewer */
.files-row.files-final { border-top: 1px solid var(--teal-dark); }
.files-row.files-final .files-num { font-size: 1.3rem; }
@media (max-width: 760px) {
  .files-wrapper { right: 4.8rem; }
  .files-body { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .files-index { border-right: 0; border-bottom: 1px solid var(--teal-dark); max-height: 32vh; }
  .files-modal { height: 92vh; width: 100%; }
}

/* ================= PAIRED-SCREEN MODE (host-driven) ================= */
/* cast stage: full-screen surface for whatever the host pushes to this TV */
.cast-stage { position: fixed; inset: 0; z-index: 180; background: #000; overflow: hidden; }
.cast-stage.hidden { display: none; }
/* each layer is hidden unless the stage's data-mode selects it */
.cast-video, .cast-voice, .cast-card, .cast-stage-img, .cast-ready { position: absolute; inset: 0; display: none; }
.cast-stage[data-mode="video"] .cast-video,
.cast-stage[data-mode="voice"] .cast-video { display: block; }
.cast-stage[data-mode="voice"] .cast-voice { display: flex; }
.cast-stage[data-mode="card"] .cast-card { display: flex; }
.cast-stage[data-mode="image"] .cast-stage-img { display: block; }
.cast-stage[data-mode="idle"] .cast-ready { display: flex; }

.cast-video { width: 100%; height: 100%; object-fit: contain; background: #000; }
/* a call (audio-only) shows a poster + caller label over the hidden video */
.cast-voice { flex-direction: column; align-items: center; justify-content: center; gap: 2rem; background: #060b09 center/cover no-repeat; }
.cast-voice::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,0.55); }
.cast-voice-ring {
  width: 10rem; height: 10rem; border-radius: 50%; border: 3px solid var(--teal-light);
  box-shadow: 0 0 0 0 rgba(81,205,180,0.5); animation: castPulse 1.8s ease-out infinite; z-index: 1;
}
@keyframes castPulse { to { box-shadow: 0 0 0 3rem rgba(81,205,180,0); } }
.cast-voice-label { font-family: var(--font); font-size: 2.4rem; color: #fff; z-index: 1; text-align: center; padding: 0 2rem; }
.cast-stage-img { width: 100%; height: 100%; object-fit: contain; }
.cast-card { flex-direction: column; align-items: center; justify-content: center; text-align: center; background: #000 center/cover no-repeat; padding: 2rem; }
.cast-card::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,0.55); }
.cast-card > * { position: relative; z-index: 1; }
.cast-card-num { font-family: var(--mono); letter-spacing: 0.2em; color: var(--teal); font-size: 1.4rem; margin-bottom: 1rem; }
.cast-card-img { max-width: 60vw; max-height: 40vh; margin-bottom: 1rem; }
.cast-card-title { font-family: var(--font); font-weight: 700; font-size: 4rem; color: #fff; }
.cast-card-context { font-family: var(--font); font-size: 1.6rem; color: hsla(0,0%,100%,0.8); margin-top: 0.8rem; }
.cast-ready { align-items: center; justify-content: center; font-family: var(--mono); letter-spacing: 0.3em; color: hsla(0,0%,100%,0.25); font-size: 1.4rem; text-transform: uppercase; }
/* tap-to-play (shown on a screen whose browser blocked autoplay) */
.cast-tap {
  position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; justify-content: center;
  border: 0; background: rgba(0,0,0,0.55); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
  color: #fff; font-family: var(--font); font-size: 2rem; cursor: pointer;
}
.cast-tap.hidden { display: none; }

/* small "paired" indicator */
.pair-badge {
  position: fixed; z-index: 185;
  right: calc(1rem + env(safe-area-inset-right, 0px));
  bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  display: flex; align-items: center; gap: 0.5rem;
  font-family: var(--mono); font-size: 1rem; color: hsla(0, 0%, 100%, 0.7);
  background: rgba(7, 17, 14, 0.7); border: 1px solid var(--teal-dark);
  border-radius: 2rem; padding: 0.35rem 0.8rem;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.pair-badge.hidden { display: none; }
.pair-badge .pair-dot { width: 0.7rem; height: 0.7rem; border-radius: 50%; background: var(--amber); }
.pair-badge.live .pair-dot { background: var(--teal-light); box-shadow: 0 0 0 0.25rem rgba(81, 205, 180, 0.2); }
.pair-badge.warn .pair-dot { background: #e8625a; }

/* participant hold screen (at the host's forward limit) */
.hold-screen {
  position: fixed; inset: 0; z-index: 195; background: #000;
  display: flex; align-items: center; justify-content: center; padding: 2rem;
}
.hold-screen.hidden { display: none; }
.hold-content { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 1.4rem; max-width: 34rem; }
.hold-spinner {
  width: 3.2rem; height: 3.2rem; border-radius: 50%;
  border: 3px solid var(--teal-dark); border-top-color: var(--teal-light);
  animation: holdSpin 1s linear infinite;
}
@keyframes holdSpin { to { transform: rotate(360deg); } }
.hold-title { font-family: var(--font); font-weight: 700; font-size: 2.2rem; color: #fff; }
.hold-sub { font-family: var(--font); font-size: 1.4rem; line-height: 2rem; color: hsla(0, 0%, 100%, 0.7); }

/* connect gate shown for ?pair=CODE */
.pair-gate {
  position: fixed; inset: 0; z-index: 200; background: #000;
  display: flex; align-items: center; justify-content: center; padding: 2rem;
}
.pair-gate.hidden { display: none; }
.pair-gate-content { text-align: center; max-width: 42rem; display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.pair-gate-eyebrow { font-family: var(--mono); letter-spacing: 0.25em; color: var(--teal); font-size: 1.1rem; }
.pair-gate-title { font-family: var(--font); font-weight: 700; font-size: 3rem; color: #fff; margin: 0; }
.pair-gate-text { font-family: var(--font); font-size: 1.5rem; line-height: 2.2rem; color: hsla(0, 0%, 100%, 0.8); margin: 0; }
.pair-gate-code { font-family: var(--font); font-size: 1.4rem; color: hsla(0, 0%, 100%, 0.7); }
.pair-gate-code b { font-family: var(--mono); font-size: 2rem; letter-spacing: 0.25em; color: var(--teal-light); margin-left: 0.5rem; }
.pair-gate-state { font-family: var(--mono); font-size: 1.1rem; color: var(--teal-light); min-height: 1.4rem; margin: 0; }
