/* ══ Preview (prototype) in the Totem system (docs/design/totem/) ══
   Painted scrap wood on a flat gesso ground: square cuts, soft free
   shadows, ink for chrome, ONE signal red (Launch, the action this
   surface exists for; Host this goes ink until you're done here).
   Layout rules (grids, carousel) unchanged. */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--t-body);
  font-weight: 500;
  background: var(--t-gesso);
  color: var(--t-ink);
  height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

#control-bar {
  background: var(--t-paper);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 2px 4px rgba(50,35,15,0.18);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

#back-link {
  color: var(--t-muted);
  text-decoration: none;
  font-size: 0.9em;
  font-weight: 700;
  white-space: nowrap;
}

#back-link:hover {
  color: var(--t-ink);
}

#control-bar h1 {
  font-family: var(--t-display);
  font-weight: 800;
  font-size: 0.95em;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--t-ink);
}

.controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.controls label {
  font-size: 0.75em;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--t-muted-caps);
}

/* Inputs sit square with an inset shadow */
#game-select {
  padding: 7px 10px;
  border: none;
  background: #fff;
  box-shadow: inset 2px 2px 0 rgba(50,35,15,0.08), 0 0 0 1px rgba(50,35,15,0.16);
  color: var(--t-ink);
  font-family: inherit;
  font-weight: 700;
  font-size: 0.9em;
  cursor: pointer;
}

/* The range input holds the value; the seat blocks are the control */
#player-count { display: none; }

#seat-blocks { display: flex; gap: 3px; align-items: center; }

.seat-block {
  width: 17px;
  height: 17px;
  border: none;
  padding: 0;
  cursor: pointer;
  transform: rotate(var(--rot, 0deg));
  transition: transform var(--t-quick) var(--t-ease);
}

.seat-block:hover { transform: rotate(var(--rot, 0deg)) translateY(-3px); }

.seat-block.seat-empty {
  background: var(--t-gesso);
  border: 2px dashed rgba(110, 75, 40, 0.4);
}

.seat-block.seat-c0 { background: var(--t-cyan); }
.seat-block.seat-c1 { background: var(--t-yellow); background-image: var(--t-grain); }
.seat-block.seat-c2 { background: var(--t-magenta); }
.seat-block.seat-c3 { background: var(--t-orange); }
.seat-block.seat-c4 { background: var(--t-green); }

#player-count-display {
  font-weight: 700;
  min-width: 1em;
  text-align: center;
}

/* Painted block buttons: hover lifts, press settles */
#launch-btn, #reset-btn, #bot-fill-btn, #skip-btn {
  padding: 7px 16px;
  border: none;
  box-shadow: 0 2px 3px rgba(50,35,15,0.25);
  font-family: var(--t-display);
  font-weight: 800;
  font-size: 0.85em;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform var(--t-quick) var(--t-ease);
}

#launch-btn:hover:not(:disabled),
#reset-btn:hover,
#bot-fill-btn:hover,
#skip-btn:hover {
  transform: translateY(-3px);
}

#launch-btn {
  background: var(--t-red);
  color: var(--t-paper);
  transform: rotate(-0.8deg);
}

#launch-btn:hover:not(:disabled) {
  transform: rotate(-0.8deg) translateY(-3px);
}

#launch-btn:disabled {
  background: #E0D8C6;
  color: var(--t-muted-caps);
  box-shadow: none;
  transform: none;
  cursor: not-allowed;
}

/* Running controls wear their jobs: Bot Fill cyan (think), Skip yellow
   (timer), Reset quiet paper (preview-prototype.png 11b) */
#bot-fill-btn {
  background: var(--t-cyan);
  color: var(--t-paper);
}

#skip-btn {
  background: var(--t-yellow);
  background-image: var(--t-grain);
  color: var(--t-ink);
}

#reset-btn {
  background: var(--t-paper);
  color: var(--t-ink);
}

/* The real-class payoff: preview it here, then host it for real. One red
   per state (preview-prototype.png): before launch the red is LAUNCH and
   Host this waits in faded paper; once the bench is running, Launch goes
   away and the red moves here — "done previewing" is now the action. */
/* The way back to the designer, always in reach while previewing */
#edit-link {
  margin-left: auto;
  padding: 7px 16px;
  background: var(--t-paper);
  color: var(--t-muted-caps);
  box-shadow: 0 2px 3px rgba(50,35,15,0.18);
  font-family: var(--t-display);
  font-weight: 800;
  font-size: 0.85em;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transform: rotate(-0.5deg);
  transition: transform var(--t-quick) var(--t-ease);
}

#edit-link:hover { transform: rotate(-0.5deg) translateY(-2px); color: var(--t-ink); }

/* When the edit link is showing, IT carries the push-right margin */
#edit-link:not([hidden]) ~ #host-btn { margin-left: 10px; }

#host-btn {
  margin-left: auto;
  padding: 7px 16px;
  border: none;
  background: var(--t-paper);
  color: var(--t-muted-caps);
  box-shadow: 0 2px 3px rgba(50,35,15,0.18);
  font-family: var(--t-display);
  font-weight: 800;
  font-size: 0.85em;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transform: rotate(0.6deg);
  transition: transform var(--t-quick) var(--t-ease);
}

#host-btn:hover:not(:disabled) {
  transform: rotate(0.6deg) translateY(-3px);
}

#host-btn:disabled {
  background: #E0D8C6;
  color: var(--t-muted-caps);
  box-shadow: none;
  transform: none;
  cursor: not-allowed;
}

body.pt-running #launch-btn { display: none; }

body.pt-running #host-btn {
  background: var(--t-red);
  color: var(--t-paper);
  box-shadow: 0 2px 3px rgba(50,35,15,0.25);
}

/* View toggle: a scrap holding two chips, yellow = the one you're on */
#view-toggle {
  display: flex;
  gap: 2px;
  background: var(--t-paper);
  border: none;
  box-shadow: 0 2px 3px rgba(50,35,15,0.25);
  padding: 3px;
}

/* display:flex above would override the hidden attribute */
#view-toggle[hidden] { display: none; }

.view-btn {
  padding: 5px 12px;
  border: none;
  font-family: inherit;
  font-size: 0.85em;
  font-weight: 700;
  cursor: pointer;
  background: transparent;
  color: var(--t-muted);
}

.view-btn.active {
  background: var(--t-ink);
  color: var(--t-paper);
}

.view-btn:hover:not(.active) {
  color: var(--t-ink);
}

/* ── The bench bar: Bot Fill + Skip timer, bottom center ──
   The eyes rest on the screens mid-page, never on the top bar
   (observation 2026-08-27), so the two controls a test run actually
   needs sit under the screens, big enough to be found. In flow, not
   fixed: the iframes shrink a little instead of getting covered. */
#bench-bar {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 10px 20px 14px;
  background: var(--t-paper);
  box-shadow: 0 -2px 4px rgba(50,35,15,0.14);
  position: relative;
  z-index: 1;
}

/* display:flex above would override the hidden attribute */
#bench-bar[hidden] { display: none; }

.bench-hint {
  font-size: 0.85em;
  font-weight: 700;
  color: var(--t-muted);
}

/* Fast-forward (See this step): the hint carries the status. Busy pulses
   in the AI cyan; arrived reads in ink so the hand-over is unmissable. */
.bench-hint-busy {
  color: #1BA9C4;
  animation: bench-hint-pulse 1.1s ease-in-out infinite;
}

.bench-hint-done { color: var(--t-ink); }

@keyframes bench-hint-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}

@media (prefers-reduced-motion: reduce) {
  .bench-hint-busy { animation: none; }
}

/* The two blocks outrank their old top-bar sizing */
#bench-bar #bot-fill-btn,
#bench-bar #skip-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  padding: 10px 26px 12px;
  font-size: 1em;
}

#bench-bar #bot-fill-btn { transform: rotate(-0.8deg); }
#bench-bar #skip-btn { transform: rotate(0.7deg); }

#bench-bar #bot-fill-btn:hover { transform: rotate(-0.8deg) translateY(-3px); }
#bench-bar #skip-btn:hover { transform: rotate(0.7deg) translateY(-3px); }

.bench-sub {
  font-family: var(--t-body);
  font-size: 0.62em;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.82;
}

/* Carousel fixed overlays — sit above iframes */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 9999;
  width: 52px;
  height: 80px;
  border: none;
  background: rgba(42, 38, 32, 0.85);
  color: #FDF9F0;
  font-size: 1.6rem;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, opacity 0.15s;
  backdrop-filter: blur(2px);
}

/* Carousel layout is host on the left half, player on the right half —
   the arrows flank the PLAYER panel (the thing being rotated), so the
   left arrow sits at the 50% seam, not over the host screen. */
/* The player panel is the right half of the screens area (which starts
   after the rail): the left arrow sits at ITS left edge, never over the
   teacher screen. */
.carousel-arrow-left  { left: calc(var(--rail-w) + (100% - var(--rail-w)) / 2 + 6px); }
.carousel-arrow-right { right: 6px; }

/* display:flex above would override the hidden attribute — restore it so
   the carousel chrome only exists in "one at a time" mode. */
.carousel-arrow[hidden],
#carousel-dots[hidden] {
  display: none;
}

.carousel-arrow:hover:not(:disabled) { background: rgba(42, 38, 32, 1); }
.carousel-arrow:disabled { opacity: 0.2; cursor: default; }

#carousel-dots {
  position: absolute;
  /* Sits just above the stage row's bottom edge (the bench bar is below the row) */
  bottom: 12px;
  /* Carousel layout is host on the left half, player on the right half of
     the screens area (after the rail) — center the dots over the PLAYER panel */
  left: calc(var(--rail-w) + (100% - var(--rail-w)) * 0.75);
  transform: translateX(-50%);
  z-index: 9999;
  display: flex;
  gap: 8px;
  align-items: center;
  /* Dark strip so the dots read against gesso game screens in the iframe */
  background: rgba(42, 38, 32, 0.85);
  border: none;
  padding: 8px 14px;
  backdrop-filter: blur(2px);
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(253,249,240,0.6);
  background: rgba(253,249,240,0.25);
  cursor: pointer;
  padding: 0;
  transition: background 0.15s, transform 0.15s;
}

.carousel-dot.active {
  background: #FDF9F0;
  border-color: #FDF9F0;
  transform: scale(1.3);
}

.carousel-dot:hover:not(.active) {
  background: rgba(253,249,240,0.5);
}

/* Stage row: the map rail on the left, the screens beside it. It is the
   positioning context for the carousel overlays, and --rail-w keeps
   their player-half math honest whether or not the rail is open. */
#stage-row {
  flex: 1;
  display: flex;
  min-height: 0;
  position: relative;
  --rail-w: 0px;
}

#stage-row:has(#map-rail:not([hidden])) { --rail-w: 224px; }

/* The map rail: the activity's trail with a "you are here" mark that
   follows the live room. Same drawn map as the library popups. */
#map-rail {
  width: 224px;
  flex-shrink: 0;
  overflow-y: auto;
  padding: 14px 14px 24px 18px;
  scrollbar-width: thin;
  scrollbar-color: rgba(110, 75, 40, 0.5) transparent;
}

.map-rail-label {
  font-family: var(--t-display);
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--t-muted-caps);
  margin-bottom: 10px;
}

.map-rail-hint {
  margin: -4px 0 12px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--t-muted);
}

/* Stops are buttons: hover lifts the row, focus rings it */
#map-rail .amap-clickable { cursor: pointer; border-radius: 3px; }
#map-rail .amap-clickable:hover .amap-name { text-decoration: underline; text-underline-offset: 3px; }
#map-rail .amap-clickable:focus-visible { outline: 2px solid var(--t-ink); outline-offset: 3px; }

/* The "Skip ahead?" card, tucked under the clicked row */
.rail-skip-ask {
  margin: -6px 0 14px 2px;
  padding: 10px 12px;
  background: var(--t-paper);
  box-shadow: 0 2px 3px rgba(50, 35, 15, 0.22), 0 0 0 1px rgba(50, 35, 15, 0.14);
  transform: rotate(-0.4deg);
}

.rail-skip-text {
  margin: 0 0 8px;
  font-size: 0.82rem;
  line-height: 1.35;
  color: var(--t-ink);
}

.rail-skip-btns { display: flex; gap: 8px; flex-wrap: wrap; }

.rail-skip-btns button {
  border: none;
  padding: 7px 12px;
  font-family: var(--t-display);
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 2px 3px rgba(50, 35, 15, 0.25);
}

.rail-skip-go { background: #1BA9C4; color: var(--t-paper); }
.rail-skip-cancel { background: var(--t-paper); color: var(--t-ink); box-shadow: 0 2px 3px rgba(50, 35, 15, 0.25), 0 0 0 1px rgba(50, 35, 15, 0.18); }

/* The ? in the top bar: brings the first-run card back */
.sim-help {
  width: 26px;
  height: 26px;
  border: none;
  border-radius: 50%;
  font-family: var(--t-display);
  font-weight: 800;
  font-size: 0.85rem;
  line-height: 1;
  cursor: pointer;
  background: var(--t-paper);
  color: var(--t-ink);
  box-shadow: 0 0 0 1px rgba(50, 35, 15, 0.25);
}
.sim-help:hover { background: #1BA9C4; color: var(--t-paper); }

/* First-run card: the simulator in three lines (shown once, ? brings it back) */
#sim-intro {
  position: fixed;
  inset: 0;
  z-index: 10000; /* above the carousel arrows and dots (9999) */
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(50, 35, 15, 0.28);
}
#sim-intro[hidden] { display: none; }

.sim-intro-card {
  width: min(380px, calc(100vw - 32px));
  padding: 20px 22px 18px;
  background: var(--t-paper);
  color: var(--t-ink);
  box-shadow: 0 6px 18px rgba(50, 35, 15, 0.3), 0 0 0 1px rgba(50, 35, 15, 0.14);
  transform: rotate(-0.6deg);
}

.sim-intro-card h2 {
  margin: 0 0 12px;
  font-family: var(--t-display);
  font-size: 1.25rem;
  letter-spacing: 0.02em;
}

.sim-intro-card ul {
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
  font-size: 0.95rem;
  line-height: 1.35;
}

.sim-intro-card li strong { font-weight: 800; }

#sim-intro-ok {
  border: none;
  padding: 9px 16px;
  font-family: var(--t-display);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  background: #1BA9C4;
  color: var(--t-paper);
  box-shadow: 0 2px 3px rgba(50, 35, 15, 0.25);
}

@media (max-width: 900px) {
  #map-rail { display: none; }
}

/* Iframe container — extra row gap and bottom padding so every piece's
   stand has floor to sit on */
#iframe-container {
  flex: 1;
  display: grid;
  gap: 24px 10px;
  padding: 10px 10px 34px;
  min-height: 0;
  position: relative;
}

/* Layout: host on left, players stacked on right (1-4 players) */
#iframe-container[data-players="1"] {
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr;
}

#iframe-container[data-players="2"] {
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
}

#iframe-container[data-players="3"] {
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr 1fr;
}

#iframe-container[data-players="4"] {
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr 1fr 1fr;
}

/* 5+ players: host on top, players in grid below */
#iframe-container[data-players="5"],
#iframe-container[data-players="6"] {
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 2fr repeat(2, 1fr);
}

#iframe-container[data-players="7"],
#iframe-container[data-players="8"] {
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 2fr repeat(2, 1fr);
}

/* Every screen is a piece on its own stand (preview-prototype.png):
   plinth (::after) + base board (::before) hang below each panel into
   the row gap. Overflow must stay visible for the stand to show. */
.iframe-panel {
  position: relative;
  overflow: visible;
  border: none;
  background: var(--t-paper);
  box-shadow: 0 2px 4px rgba(50,35,15,0.20), 0 0 0 1px rgba(50,35,15,0.25);
  display: flex;
  flex-direction: column;
  transform: rotate(var(--piece-rot, 0deg));
}

.iframe-panel::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -12px;
  transform: translateX(-50%);
  width: 32%;
  height: 12px;
  background: var(--t-walnut);
  background-image: var(--t-grain);
}

.iframe-panel::before {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -18px;
  transform: translateX(-50%);
  width: 50%;
  height: 7px;
  background: var(--t-base);
  background-image: var(--t-grain);
  box-shadow: 0 2px 3px rgba(50,35,15,0.25);
}

.host-panel {
  --piece-rot: -0.3deg;
  box-shadow: 0 2px 4px rgba(50,35,15,0.20), 0 0 0 2px var(--t-ink);
}

/* Class screen | Teacher controls: two tabs in the host panel's label.
   The hidden iframe must really hide (iframes are display:inline). */
.host-panel iframe[hidden] { display: none; }
.host-panel .panel-label { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.panel-tabs { display: inline-flex; gap: 6px; margin-left: auto; }
.panel-tab {
  font-family: var(--t-display, 'Bricolage Grotesque', sans-serif);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px 5px;
  background: var(--t-paper, #FDF9F0);
  color: var(--t-ink, #2A2620);
  border: none;
  box-shadow: 0 0 0 1px rgba(50,35,15,0.35);
  cursor: pointer;
  clip-path: none;
  filter: none;
  transform: none;
}
.panel-tab.active {
  background: var(--t-yellow, #F5C518);
  background-image: var(--t-grain);
}
.host-panel.showing-teacher {
  box-shadow: 0 2px 4px rgba(50,35,15,0.20), 0 0 0 2px var(--t-magenta, #C2185B);
}

.player-panel:nth-of-type(odd) { --piece-rot: 0.5deg; }
.player-panel:nth-of-type(even) { --piece-rot: -0.5deg; }

/* 1-4 players: host spans all rows on left */
#iframe-container[data-players="1"] .host-panel { grid-row: 1 / -1; }
#iframe-container[data-players="2"] .host-panel { grid-row: 1 / -1; }
#iframe-container[data-players="3"] .host-panel { grid-row: 1 / -1; }
#iframe-container[data-players="4"] .host-panel { grid-row: 1 / -1; }

/* 5-6 players: host spans full width on top row */
#iframe-container[data-players="5"] .host-panel,
#iframe-container[data-players="6"] .host-panel {
  grid-column: 1 / -1;
  grid-row: 1;
}

/* 7-8 players: host spans full width on top row */
#iframe-container[data-players="7"] .host-panel,
#iframe-container[data-players="8"] .host-panel {
  grid-column: 1 / -1;
  grid-row: 1;
}

/* One-at-a-time: whatever the player count, the layout collapses to
   host left + the single visible player right, both full height.
   Without this the grid keeps its N stacked rows and the visible
   player fills only the first one (half height at 2 players). */
#iframe-container[data-view="carousel"] {
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr;
}

#iframe-container[data-view="carousel"] .host-panel {
  grid-column: 1;
  grid-row: 1;
}

#iframe-container[data-view="carousel"] .player-panel {
  grid-column: 2;
  grid-row: 1;
}

.panel-label {
  background: var(--t-ink);
  color: var(--t-paper);
  padding: 4px 10px;
  font-size: 0.72em;
  font-weight: 700;
  font-family: var(--t-body);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  flex-shrink: 0;
}

.host-panel .panel-label {
  background: var(--t-ink);
  color: var(--t-paper);
}

/* Player pieces wear painted top bars, cycled by seat color */
.player-panel .panel-label { background: var(--t-ink); color: var(--t-paper); }
.player-panel .plabel-0 { background: var(--t-cyan); color: var(--t-paper); }
.player-panel .plabel-1 { background: var(--t-magenta); color: var(--t-paper); }
.player-panel .plabel-2 { background: var(--t-orange); color: var(--t-paper); }
.player-panel .plabel-3 { background: var(--t-green); color: var(--t-paper); }
.player-panel .plabel-4 { background: var(--t-yellow); background-image: var(--t-grain); color: var(--t-ink); }

/* The last seat in the running grid: a dashed drop slot that adds a
   pretend student to the live room (late join is a supported path) */
.add-player-slot {
  border: 3px dashed rgba(110, 75, 40, 0.4);
  background: var(--t-gesso);
  color: var(--t-muted-caps, #766A52);
  font-family: var(--t-display);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color var(--t-quick) var(--t-ease), color var(--t-quick) var(--t-ease);
}

.add-player-slot:hover { border-color: var(--t-muted-wood); color: var(--t-muted-wood); }

/* Carousel rotates player pieces one at a time; the slot sits out */
#iframe-container[data-view="carousel"] .add-player-slot { display: none; }

.iframe-panel iframe {
  flex: 1;
  width: 100%;
  border: none;
  background: var(--t-gesso);
}

/* Pre-launch: the empty bench — a teacher board on its stand beside
   dashed pretend-student seats (preview-prototype.png 11a) */
#prelaunch-stage {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 34px;
  padding: 40px 20px;
}

.stage-pieces {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
}

.stage-board-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  filter: drop-shadow(5px 8px 0 rgba(80, 60, 30, 0.14));
}

.stage-board {
  width: 230px;
  height: 150px;
  background: var(--t-birch);
  background-image: var(--t-grain);
  transform: rotate(-1.2deg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--t-display);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--t-muted-wood);
}

.stage-plinth {
  width: 70px;
  height: 34px;
  background: var(--t-walnut);
  background-image: var(--t-grain);
  margin-top: -3px;
}

.stage-base {
  width: 130px;
  height: 12px;
  background: var(--t-base);
  background-image: var(--t-grain);
}

.stage-slot {
  width: 100px;
  height: 128px;
  border: 3px dashed rgba(110, 75, 40, 0.4);
  background: var(--t-gesso);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8px;
  font-family: var(--t-body);
  font-weight: 700;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--t-muted-caps, #766A52);
}

#prelaunch-hint {
  text-align: center;
  color: var(--t-muted);
  font-size: 1rem;
  font-weight: 500;
  max-width: 440px;
  line-height: 1.5;
  margin: 0;
}

#prelaunch-hint .hint-launch {
  color: var(--t-red);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
