/* ==========================================================================
   Shared experiment-window controls — reused by every js/experiments/*.js
   module so individual files don't each reinvent slider/toggle markup.
   ========================================================================== */

.beta-field {
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
}

.beta-field:last-child {
  margin-bottom: 0;
}

.beta-field-label {
  display: flex;
  justify-content: space-between;
  font-family: var(--beta-font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--beta-fg-muted);
}

.beta-field input[type="range"] {
  width: 100%;
  accent-color: var(--beta-fg);
}

.beta-field input[type="color"] {
  width: 100%;
  height: 26px;
  border: 1px solid var(--beta-fg);
  padding: 0;
  background: none;
}

.beta-toggle-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.beta-toggle-row:last-child {
  margin-bottom: 0;
}

.beta-toggle {
  font-family: var(--beta-font-mono);
  font-size: 10px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 6px 9px;
  border: 1px solid var(--beta-fg-muted);
}

.beta-toggle:hover {
  border-color: var(--beta-fg);
}

.beta-toggle.beta-is-active {
  background: var(--beta-fg);
  color: var(--beta-bg);
  border-color: var(--beta-fg);
}

.beta-readout {
  font-family: var(--beta-font-mono);
  font-size: 11px;
  line-height: 1.7;
  color: var(--beta-fg-muted);
  white-space: pre-line;
}

.beta-readout strong {
  color: var(--beta-fg);
}

.beta-sample-text {
  font-family: var(--beta-font-display);
  font-weight: 700;
  line-height: 1.3;
  padding: 10px 0;
  word-break: break-word;
}

.beta-stage {
  position: relative;
  height: 140px;
  border: 1px solid var(--beta-line);
  overflow: hidden;
  margin-bottom: 14px;
}

.beta-stage-dot {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--beta-fg);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.beta-stage canvas {
  display: block;
  width: 100%;
  height: 100%;
  cursor: crosshair;
}

/* Reflex — click-to-arm reaction timer. States are a background/
   foreground flip within the existing monochrome + accent palette
   (no new hue introduced): armed/idle stays default, the "go" signal
   flips to a full black/white invert, a false start flips to accent-red. */
.beta-reflex-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 16px;
  cursor: pointer;
  font-family: var(--beta-font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--beta-fg-muted);
  user-select: none;
}

.beta-reflex-stage.beta-is-go {
  background: var(--beta-fg);
  color: var(--beta-bg);
}

.beta-reflex-stage.beta-is-early {
  background: var(--beta-accent);
  color: var(--beta-bg);
}

.beta-mini-btn {
  font-family: var(--beta-font-mono);
  font-size: 10px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 6px 9px;
  border: 1px solid var(--beta-fg);
}

.beta-mini-btn:hover {
  color: var(--beta-bg);
  background: var(--beta-fg);
}

/* Dice — the rolled face, sized up from the default .beta-sample-text
   weight so it reads at a glance. */
.beta-dice-face {
  font-size: 48px;
  text-align: center;
}

/* Memory — 4x3 flip-and-match grid. */
.beta-memory-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-bottom: 14px;
}

.beta-memory-card {
  aspect-ratio: 1;
  border: 1px solid var(--beta-fg);
  background: var(--beta-bg);
  font-family: var(--beta-font-mono);
  font-size: 14px;
  color: var(--beta-fg);
  cursor: pointer;
}

.beta-memory-card.beta-is-matched {
  border-color: var(--beta-fg-muted);
  color: var(--beta-fg-muted);
  cursor: default;
}

/* Whack — 3x3 timed clicker; the active cell is the one to hit. */
.beta-whack-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-bottom: 14px;
}

.beta-whack-cell {
  aspect-ratio: 1;
  border: 1px solid var(--beta-line);
  background: var(--beta-bg);
  cursor: pointer;
}

.beta-whack-cell.beta-is-active {
  background: var(--beta-accent);
  border-color: var(--beta-accent);
}

/* Piano — eight keys, playable by mouse or the A S D F H J K L row. */
.beta-piano-row {
  display: flex;
  gap: 4px;
  margin-bottom: 14px;
}

.beta-piano-key {
  flex: 1;
  padding: 18px 0;
  border: 1px solid var(--beta-fg);
  background: var(--beta-bg);
  font-family: var(--beta-font-mono);
  font-size: 11px;
  cursor: pointer;
}

.beta-piano-key.beta-is-active {
  background: var(--beta-fg);
  color: var(--beta-bg);
}

/* Simon — 2x2 pad grid. Pads are shaded within the existing monochrome +
   accent palette (white/light/black/red) rather than a rainbow of hues;
   the active flash dims whichever pad it is, so it reads consistently
   regardless of that pad's own base shade. */
.beta-simon-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  margin-bottom: 14px;
}

.beta-simon-pad {
  aspect-ratio: 1;
  border: 1px solid var(--beta-fg);
  background: var(--beta-bg);
  cursor: pointer;
}

.beta-simon-pad:nth-child(2) {
  background: var(--beta-line);
}

.beta-simon-pad:nth-child(3) {
  background: var(--beta-fg);
}

.beta-simon-pad:nth-child(4) {
  background: var(--beta-accent);
}

.beta-simon-pad.beta-is-active {
  opacity: 0.55;
}

/* TicTacToe — 3x3 local 2-player grid. */
.beta-ttt-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  margin-bottom: 14px;
}

.beta-ttt-cell {
  aspect-ratio: 1;
  border: 1px solid var(--beta-fg);
  background: var(--beta-bg);
  font-family: var(--beta-font-mono);
  font-size: 22px;
  cursor: pointer;
}

/* Minesweeper — 8x8 grid. */
.beta-mine-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 2px;
  margin-bottom: 14px;
}

.beta-mine-cell {
  aspect-ratio: 1;
  border: 1px solid var(--beta-line);
  background: var(--beta-fg-muted);
  font-family: var(--beta-font-mono);
  font-size: 9px;
  color: var(--beta-fg);
  cursor: pointer;
}

.beta-mine-cell.beta-is-revealed {
  background: var(--beta-bg);
  cursor: default;
}

.beta-mine-cell.beta-is-flagged {
  color: var(--beta-accent);
}

/* 2048 — 4x4 slide-and-merge grid. */
.beta-2048-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-bottom: 14px;
}

.beta-2048-cell {
  aspect-ratio: 1;
  border: 1px solid var(--beta-line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--beta-font-mono);
  font-size: 13px;
  font-weight: 700;
}

/* Connect Four — 7x6 drop grid. Red vs black, not the usual red/yellow,
   to stay inside the existing monochrome + accent-red palette. */
.beta-c4-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 14px;
  background: var(--beta-line);
  padding: 4px;
}

.beta-c4-cell {
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid var(--beta-fg-muted);
  background: var(--beta-bg);
  cursor: pointer;
}

.beta-c4-cell.beta-is-red {
  background: var(--beta-accent);
  border-color: var(--beta-accent);
}

.beta-c4-cell.beta-is-black {
  background: var(--beta-fg);
  border-color: var(--beta-fg);
}

/* Hangman — the blanked word plus an on-screen A-Z keyboard. */
.beta-hangman-word {
  font-size: 20px;
  letter-spacing: 0.15em;
  text-align: center;
}

.beta-hangman-keys {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 14px;
}

.beta-hangman-key {
  width: 22px;
  height: 22px;
  border: 1px solid var(--beta-fg);
  font-family: var(--beta-font-mono);
  font-size: 10px;
  cursor: pointer;
}

.beta-hangman-key:disabled {
  cursor: default;
  opacity: 0.4;
}

.beta-hangman-key.beta-is-wrong {
  border-color: var(--beta-accent);
  opacity: 1;
}

.beta-hangman-key.beta-is-correct {
  border-color: var(--beta-fg);
  opacity: 1;
}

/* Lights Out — 5x5 toggle-neighbors puzzle. */
.beta-lightsout-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
  margin-bottom: 14px;
}

.beta-lightsout-cell {
  aspect-ratio: 1;
  border: 1px solid var(--beta-fg-muted);
  background: var(--beta-bg);
  cursor: pointer;
}

.beta-lightsout-cell.beta-is-on {
  background: var(--beta-fg);
}

/* Slots — three flickering reels. */
.beta-slots-row {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
}

.beta-slots-reel {
  flex: 1;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--beta-fg);
  font-size: 28px;
}

/* HiLo — the current card. */
.beta-hilo-card {
  font-size: 40px;
  text-align: center;
}

.beta-drop-zone {
  border: 1px dashed var(--beta-fg-muted);
  padding: 18px;
  text-align: center;
  font-family: var(--beta-font-mono);
  font-size: 11px;
  color: var(--beta-fg-muted);
  margin-bottom: 14px;
}

.beta-drop-zone.beta-is-over {
  border-color: var(--beta-accent);
  color: var(--beta-accent);
}

/* Shared text input / textarea — used by any experiment that needs
   typed input (Guess Number, Scramble, Emoji Guess, Type Race, ...). */
.beta-text-input {
  width: 100%;
  padding: 6px 8px;
  border: 1px solid var(--beta-fg);
  background: var(--beta-bg);
  color: var(--beta-fg);
  font-family: var(--beta-font-mono);
  font-size: 12px;
  margin-bottom: 10px;
}

.beta-textarea {
  width: 100%;
  min-height: 60px;
  padding: 6px 8px;
  border: 1px solid var(--beta-fg);
  background: var(--beta-bg);
  color: var(--beta-fg);
  font-family: var(--beta-font-mono);
  font-size: 12px;
  margin-bottom: 10px;
  resize: vertical;
}

/* Bingo — 5x5 card. */
.beta-bingo-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 3px;
  margin-bottom: 14px;
}

.beta-bingo-cell {
  aspect-ratio: 1;
  border: 1px solid var(--beta-fg-muted);
  background: var(--beta-bg);
  font-family: var(--beta-font-mono);
  font-size: 10px;
  cursor: pointer;
}

.beta-bingo-cell.beta-is-marked {
  background: var(--beta-accent);
  color: var(--beta-bg);
  border-color: var(--beta-accent);
  cursor: default;
}

/* Scramble — the scrambled word. */
.beta-scramble-word {
  font-size: 24px;
  letter-spacing: 0.1em;
  text-align: center;
}

/* Trivia — question + option buttons. */
.beta-trivia-q {
  font-size: 15px;
  margin-bottom: 8px;
}

.beta-trivia-options {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

/* Math — the current problem. */
.beta-math-q {
  font-size: 26px;
  text-align: center;
}

/* Emoji Guess — the emoji puzzle itself. */
.beta-emoji-puzzle {
  font-size: 36px;
  text-align: center;
}

/* CPS — click-speed test stage (own copy of Reflex's base look, since
   the two experiments ship independently and neither depends on the
   other's markup). */
.beta-cps-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--beta-font-mono);
  font-size: 22px;
  font-weight: 700;
  cursor: pointer;
  user-select: none;
}

/* Type Race — the sentence to copy. */
.beta-typerace-prompt {
  font-size: 15px;
  line-height: 1.5;
  margin-bottom: 4px;
}

/* Banner — the huge rendered text and its display-style modifiers. */
.beta-banner-text {
  font-size: 34px;
  line-height: 1.15;
  text-align: center;
}

.beta-banner-outline {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--beta-fg);
}

.beta-banner-strike {
  text-decoration: line-through;
}

/* Palette — 5 generated swatches. */
.beta-palette-row {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
}

.beta-palette-swatch {
  flex: 1;
  aspect-ratio: 1;
  border: 1px solid var(--beta-fg);
  cursor: pointer;
}

/* Bubble Wrap — a satisfying poppable grid. */
.beta-bubblewrap-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 4px;
  margin-bottom: 14px;
}

.beta-bubblewrap-bubble {
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid var(--beta-line);
  background: var(--beta-bg);
  cursor: pointer;
}

.beta-bubblewrap-bubble.beta-is-popped {
  background: var(--beta-line);
  border-color: var(--beta-fg-muted);
  cursor: default;
}

/* Drums — 3x8 step sequencer. */
.beta-drums-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 3px;
  margin-bottom: 14px;
}

.beta-drums-cell {
  aspect-ratio: 1;
  border: 1px solid var(--beta-line);
  background: var(--beta-bg);
  cursor: pointer;
}

.beta-drums-cell.beta-is-active {
  background: var(--beta-fg);
}

.beta-drums-cell.beta-is-current {
  outline: 2px solid var(--beta-accent);
  outline-offset: -2px;
}

/* Metronome — the pulsing beat dot. */
.beta-metronome-dot {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--beta-fg);
  margin: 0 auto 14px;
}

.beta-metronome-dot.beta-is-pulsing {
  animation: betaMetronomePulse 180ms var(--beta-ease);
}

@keyframes betaMetronomePulse {
  0% { transform: scale(1.3); opacity: 0.6; }
  100% { transform: scale(1); opacity: 1; }
}

/* Soundboard — 8 preset tone buttons. */
.beta-soundboard-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  margin-bottom: 14px;
}

.beta-soundboard-btn {
  padding: 14px 0;
  border: 1px solid var(--beta-fg);
  font-family: var(--beta-font-mono);
  font-size: 11px;
  text-transform: uppercase;
  cursor: pointer;
}

.beta-soundboard-btn:hover {
  background: var(--beta-fg);
  color: var(--beta-bg);
}

/* Stopwatch — the recent-laps line. */
.beta-stopwatch-laps {
  font-family: var(--beta-font-mono);
  font-size: 10px;
  color: var(--beta-fg-muted);
  margin-top: 8px;
}

/* Coin Flip — the coin face. */
.beta-coin {
  font-size: 44px;
  text-align: center;
}

/* Text Mirror — the echoed output and its flip/mirror transforms. */
.beta-textmirror-output {
  font-size: 22px;
  text-align: center;
}

.beta-textmirror-flip {
  transform: rotate(180deg);
}

.beta-textmirror-mirror {
  transform: scaleX(-1);
}

/* Pixel Paint — palette swatches + the 16x16 canvas-free grid. */
.beta-pixelpaint-palette {
  display: flex;
  gap: 6px;
  margin-bottom: 10px;
}

.beta-pixelpaint-swatch {
  width: 22px;
  height: 22px;
  border: 1px solid var(--beta-fg-muted);
  cursor: pointer;
}

.beta-pixelpaint-swatch.beta-is-active {
  border-color: var(--beta-accent);
  border-width: 2px;
}

.beta-pixelpaint-grid {
  display: grid;
  grid-template-columns: repeat(16, 1fr);
  border: 1px solid var(--beta-line);
  margin-bottom: 14px;
  touch-action: none;
}

.beta-pixelpaint-cell {
  aspect-ratio: 1;
  box-shadow: inset 0 0 0 0.5px var(--beta-line);
}

/* Sticky Notes — a small draggable-note board. */
.beta-sticky-board {
  position: relative;
  height: 160px;
  border: 1px solid var(--beta-line);
  overflow: hidden;
  margin-bottom: 14px;
}

.beta-sticky-note {
  position: absolute;
  width: 90px;
  min-height: 70px;
  padding: 8px;
  box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.2);
  cursor: grab;
  touch-action: none;
}

.beta-sticky-note:active {
  cursor: grabbing;
}

.beta-sticky-text {
  font-family: var(--beta-font-mono);
  font-size: 11px;
  color: #111;
  outline: none;
  word-break: break-word;
}

.beta-sticky-delete {
  position: absolute;
  top: 2px;
  right: 4px;
  background: none;
  border: none;
  font-size: 12px;
  line-height: 1;
  color: rgba(0, 0, 0, 0.5);
  cursor: pointer;
}

/* Stroop — the mismatched color word. */
.beta-stroop-word {
  font-size: 30px;
  font-weight: 700;
  text-align: center;
}

/* Mood Ring — the color swatch. */
.beta-moodring-swatch {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin: 0 auto 14px;
  background: var(--beta-line);
  transition: background-color 300ms var(--beta-ease);
}

.beta-drop-preview {
  max-width: 100%;
  display: block;
  margin-bottom: 10px;
}

/* ==========================================================================
   DOM-inspector overlay outlines (js/experiments/dom.js)
   ========================================================================== */

html.beta-dom-outline .beta-office * {
  outline: 1px dashed rgba(224, 38, 31, 0.35) !important;
  outline-offset: -1px;
}

.beta-dom-label {
  position: fixed;
  z-index: 5000;
  background: var(--beta-fg);
  color: var(--beta-bg);
  font-family: var(--beta-font-mono);
  font-size: 9px;
  padding: 1px 4px;
  pointer-events: none;
  white-space: nowrap;
}

/* Grid overlay (js/experiments/grid.js) */
.beta-grid-overlay {
  position: fixed;
  inset: 0;
  z-index: 400;
  pointer-events: none;
}

.beta-grid-overlay[data-mode="column"] {
  background-image: repeating-linear-gradient(
    90deg,
    rgba(224, 38, 31, 0.12) 0,
    rgba(224, 38, 31, 0.12) 1px,
    transparent 1px,
    transparent calc(100% / 12)
  );
}

.beta-grid-overlay[data-mode="baseline"] {
  background-image: repeating-linear-gradient(
    0deg,
    rgba(224, 38, 31, 0.12) 0,
    rgba(224, 38, 31, 0.12) 1px,
    transparent 1px,
    transparent 24px
  );
}

.beta-grid-overlay[data-mode="pixel"] {
  background-image:
    repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.06) 0, rgba(0, 0, 0, 0.06) 1px, transparent 1px, transparent 8px),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.06) 0, rgba(0, 0, 0, 0.06) 1px, transparent 1px, transparent 8px);
}

/* Custom cursor modes (js/experiments/cursor.js) */
html.beta-cursor-crosshair .beta-office { cursor: crosshair; }
html.beta-cursor-circle .beta-office { cursor: none; }

.beta-cursor-dot {
  position: fixed;
  z-index: 6000;
  pointer-events: none;
  border: 1px solid var(--beta-fg);
  border-radius: 50%;
  width: 28px;
  height: 28px;
  transform: translate(-50%, -50%);
}

.beta-cursor-coords {
  position: fixed;
  z-index: 6000;
  pointer-events: none;
  font-family: var(--beta-font-mono);
  font-size: 10px;
  background: var(--beta-fg);
  color: var(--beta-bg);
  padding: 2px 5px;
  transform: translate(12px, 12px);
}

/* Page-level effects (color/distortion experiments) */
html.beta-invert .beta-office {
  filter: invert(1);
}

html.beta-mono .beta-office {
  filter: grayscale(1);
}

body.beta-office.beta-shake {
  animation: beta-shake 340ms var(--beta-ease);
}

@keyframes beta-shake {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(calc(var(--beta-shake-amount, 1) * -6px), calc(var(--beta-shake-amount, 1) * 2px)); }
  40% { transform: translate(calc(var(--beta-shake-amount, 1) * 5px), calc(var(--beta-shake-amount, 1) * -3px)); }
  60% { transform: translate(calc(var(--beta-shake-amount, 1) * -4px), calc(var(--beta-shake-amount, 1) * 3px)); }
  80% { transform: translate(calc(var(--beta-shake-amount, 1) * 3px), calc(var(--beta-shake-amount, 1) * -2px)); }
}

/* Battleship — 6x6 hidden-fleet grid. */
.beta-battleship-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 3px;
  margin-bottom: 14px;
}

.beta-battleship-cell {
  aspect-ratio: 1;
  border: 1px solid var(--beta-fg-muted);
  background: var(--beta-bg);
  cursor: pointer;
}

.beta-battleship-cell.beta-is-hit {
  background: var(--beta-accent);
  border-color: var(--beta-accent);
  cursor: default;
}

.beta-battleship-cell.beta-is-miss {
  background: var(--beta-line);
  cursor: default;
}

/* Dots and Boxes — dots/edges/boxes modeled as one interleaved grid. */
.beta-dab-grid {
  display: grid;
  gap: 2px;
  margin-bottom: 14px;
}

.beta-dab-dot {
  width: 6px;
  height: 6px;
  background: var(--beta-fg);
}

.beta-dab-hedge {
  width: 24px;
  height: 6px;
  background: var(--beta-line);
  cursor: pointer;
}

.beta-dab-hedge.beta-is-drawn {
  background: var(--beta-fg);
  cursor: default;
}

.beta-dab-vedge {
  width: 6px;
  height: 24px;
  background: var(--beta-line);
  cursor: pointer;
}

.beta-dab-vedge.beta-is-drawn {
  background: var(--beta-fg);
  cursor: default;
}

.beta-dab-box {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--beta-font-mono);
  font-size: 11px;
  color: var(--beta-fg-muted);
}

.beta-dab-box.beta-is-claimed {
  color: var(--beta-accent);
  font-weight: 700;
}

/* Wordle — 6x5 guess board. Correct/present reuse the monochrome +
   accent palette (black fill / red fill) instead of green/yellow. */
.beta-wordle-board {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 14px;
}

.beta-wordle-row {
  display: flex;
  gap: 4px;
}

.beta-wordle-tile {
  width: 28px;
  height: 28px;
  border: 1px solid var(--beta-fg-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--beta-font-mono);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
}

.beta-wordle-tile.beta-is-correct {
  background: var(--beta-fg);
  color: var(--beta-bg);
  border-color: var(--beta-fg);
}

.beta-wordle-tile.beta-is-present {
  background: var(--beta-accent);
  color: var(--beta-bg);
  border-color: var(--beta-accent);
}

.beta-wordle-tile.beta-is-absent {
  background: var(--beta-line);
  border-color: var(--beta-line);
}

/* Blackjack — the two hands, overriding .beta-sample-text's display
   weight since this is just plain card text, not a showcase line. */
.beta-blackjack-hands {
  font-family: var(--beta-font-mono);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.8;
}

/* Big Clock — the oversized time readout. */
.beta-bigclock {
  font-size: 40px;
  text-align: center;
  font-family: var(--beta-font-mono);
}

/* Breathe — the pulsing guide circle. */
.beta-breathe-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--beta-fg);
  margin: 0 auto 14px;
  transform: scale(1);
  transition: transform 4000ms ease-in-out;
}

/* Slide Puzzle — 4x4 15-puzzle. */
.beta-slide-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
  margin-bottom: 14px;
}

.beta-slide-cell {
  aspect-ratio: 1;
  border: 1px solid var(--beta-fg);
  background: var(--beta-bg);
  font-family: var(--beta-font-mono);
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
}

.beta-slide-cell.beta-is-blank {
  background: var(--beta-line);
  border-color: var(--beta-line);
  cursor: default;
}

