/* Playground: the product surface, set like the rest of the field guide.
   The margin column is the control panel (mode index, model, allowance); the main column is the
   conversation: a log that scrolls with the page under a composer docked to the bottom of the
   window. Loaded after site.css and built only from its tokens and components. No italics; every
   family comes from the --font-* tokens. */

/* site.css clips .page with overflow:hidden, which also makes it a scroll container and leaves
   every sticky element inside inert. clip keeps the clipping without that side effect. */
.page { overflow: clip; }

/* ------------------------------------------------------------------ layout */
.play { display: grid; grid-template-columns: minmax(0, 1fr); }
.play__head {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px var(--gap); align-items: baseline;
  padding: clamp(24px, 3.6vw, 48px) 0 clamp(22px, 2.8vw, 34px);
  border-bottom: 1px solid var(--rule-strong);
}
.play__head .section__no { gap: 14px; }
.play__head h1 {
  font-size: clamp(2.25rem, 1.25rem + 3vw, 3.5rem);
  line-height: .98; letter-spacing: var(--track-display);
  max-width: 15ch; text-wrap: balance;
}
.play__head h1 em { color: var(--accent); }
.play__head p { color: var(--ink-2); max-width: 60ch; text-wrap: pretty; }

.play__side { display: grid; gap: 20px; align-content: start; padding-top: 14px; min-width: 0; }
.play__kicker { display: none; }

/* ------------------------------------------------------------------ the mode index
   Phones: an underline strip like the client tabs, with what is left under each name.
   From 900px: a numbered, hairline-ruled index in the margin, the tool it calls in mono,
   set exactly like the tools index on the home page. */
.modes {
  display: grid; grid-auto-flow: column; justify-content: space-between; gap: 0 10px;
  box-shadow: inset 0 1px 0 var(--rule), inset 0 -1px 0 var(--rule);
  /* a very narrow phone scrolls the strip rather than the page */
  overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none;
}
.modes::-webkit-scrollbar { display: none; }
.modes button {
  appearance: none; background: none; border: 0; border-bottom: 2px solid transparent; cursor: pointer;
  display: flex; flex-direction: column; align-items: flex-start; gap: 3px;
  min-width: 0; min-height: 52px; padding: 12px 0 9px;
  text-align: left; color: var(--ink-3);
  transition: color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.modes button:hover { color: var(--ink); }
.modes button[aria-checked="true"] { color: var(--ink); border-bottom-color: var(--accent); }
.modes button:focus-visible { outline-offset: -2px; border-radius: 4px; }
.modes .num, .mode__tool { display: none; }
.mode__name { font-size: 1rem; font-weight: 500; line-height: 1.2; letter-spacing: -.005em; white-space: nowrap; }
/* "Reality 1" before Pro and Lightning: read out on phones, shown from 640px */
.mode__family { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.mode__left { font-family: var(--font-mono); font-size: .6875rem; letter-spacing: .02em; line-height: 1.2; color: var(--ink-3); white-space: nowrap; min-height: 1.2em; }
.modes button[aria-checked="true"] .mode__left { color: var(--accent); }
.mode__left[data-out="true"] { color: var(--danger); }

/* ------------------------------------------------------------------ fields: a hairline underline, the value at text size */
.field { display: grid; gap: 6px; min-width: 0; }
.select { position: relative; display: block; }
.select select, .input {
  display: block; width: 100%; min-height: 44px; margin: 0; padding: 8px 30px 8px 0;
  font: inherit; font-size: 1.125rem; font-weight: 500; line-height: 1.4; letter-spacing: -.01em; color: var(--ink);
  background: transparent; border: 0; border-bottom: 1px solid var(--rule-strong); border-radius: 0;
  appearance: none; -webkit-appearance: none; cursor: pointer;
  transition: border-color var(--t-fast) var(--ease);
}
.input { padding-right: 0; cursor: text; }
.select select:hover, .input:hover { border-bottom-color: var(--ink-2); }
.select select:focus-visible, .input:focus-visible { outline: none; border-bottom-color: var(--accent); box-shadow: 0 1px 0 var(--accent); }
.select select option { background: var(--bg); color: var(--ink); font-weight: 400; }
.select svg {
  position: absolute; right: 2px; top: 50%; width: 18px; height: 18px; margin-top: -9px; pointer-events: none;
  fill: none; stroke: var(--ink-3); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}
.field__hint { font-size: .875rem; line-height: 1.45; color: var(--ink-3); text-wrap: pretty; }
.field__hint:empty { display: none; }

/* ------------------------------------------------------------------ allowance (from 900px; the strip carries it on phones)
   Each meter is the count in mono over a graduated bar of what is left: one tick per use for the
   small allowances, a solid hairline for messages. A spent mode reads as an empty scale. */
.allowance { display: none; gap: 16px; }
.meters { display: grid; gap: 15px; }
.meter { display: grid; gap: 8px; }
.meter__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 0 12px; }
.meter__name { font-size: .9375rem; color: var(--ink-2); }
.meter__count { font-family: var(--font-mono); font-size: .75rem; color: var(--ink-3); font-variant-numeric: tabular-nums; white-space: nowrap; }
.meter__count b { font-weight: 400; color: var(--ink); }
.meter__bar {
  --n: 1; display: block; height: 3px; background: var(--rule);
  /* the ticks: n segments with a 2px gap, a mask on the track so the fill inside shares them */
  -webkit-mask: repeating-linear-gradient(90deg, #000 0 calc(100% / var(--n) - 2px), transparent 0 calc(100% / var(--n)));
  mask: repeating-linear-gradient(90deg, #000 0 calc(100% / var(--n) - 2px), transparent 0 calc(100% / var(--n)));
}
.meter__bar[data-solid] { -webkit-mask: none; mask: none; }
.meter__bar i { display: block; height: 100%; background: var(--rule-strong); transition: width var(--t-slow) var(--ease); }
.meter[data-current="true"] .meter__name { color: var(--ink); font-weight: 500; }
.meter[data-current="true"] .meter__bar i { background: var(--accent); }
.meter[data-full="true"] .meter__count, .meter[data-full="true"] .meter__count b { color: var(--danger); }
.meters__error { font-size: .875rem; color: var(--ink-3); }

/* ------------------------------------------------------------------ conversation */
.chat {
  display: flex; flex-direction: column; min-width: 0;
  /* tall enough that the composer starts docked at the bottom of the window (capped for very tall screens) */
  min-height: clamp(440px, calc(100dvh - 190px), 880px);
}
.log { flex: 1; display: flex; flex-direction: column; gap: 36px; min-width: 0; padding: 28px 0 40px; }

.empty { display: grid; justify-items: start; animation: rise var(--t-slow) var(--ease); }
.empty__tool { margin-bottom: 12px; }
.empty h2 { font-size: clamp(1.875rem, 1.3rem + 1.8vw, 2.75rem); line-height: 1.02; letter-spacing: -.028em; text-wrap: balance; }
.empty__text { margin-top: 12px; max-width: 52ch; color: var(--ink-2); text-wrap: pretty; }
.suggest { list-style: none; margin: 26px 0 0; padding: 0; width: 100%; counter-reset: idea; border-bottom: 1px solid var(--rule); }
.suggest li { counter-increment: idea; border-top: 1px solid var(--rule); }
.suggest button {
  appearance: none; background: none; border: 0; cursor: pointer; width: 100%;
  display: grid; grid-template-columns: 44px minmax(0, 1fr) 18px; align-items: baseline; gap: 0 10px;
  min-height: 52px; padding: 13px 0 14px; text-align: left;
  font-size: 1.0625rem; line-height: 1.45; color: var(--ink-2);
  transition: color var(--t-fast) var(--ease);
}
.suggest button::before {
  content: counter(idea, lower-roman) ".";
  font-family: var(--font-mono); font-size: .8125rem; line-height: 1; color: var(--accent);
}
.suggest svg {
  align-self: center; width: 18px; height: 18px; fill: none; stroke: var(--ink-3); stroke-width: 1.5;
  stroke-linecap: round; stroke-linejoin: round; transition: transform var(--t-fast) var(--ease), stroke var(--t-fast) var(--ease);
}
.suggest button:hover { color: var(--ink); }
.suggest button:hover svg { transform: translateX(4px); stroke: var(--accent); }
.suggest button:focus-visible { outline-offset: -2px; border-radius: 4px; }

@keyframes rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.msg { min-width: 0; animation: rise var(--t-slow) var(--ease); }

/* your turn: a paper slip set to the right */
.msg--user { align-self: flex-end; max-width: min(86%, 36rem); }
.msg__text {
  padding: 10px 16px 11px; border-radius: 6px;
  background: var(--bg-2); border: 1px solid var(--rule);
  font-size: 1.0625rem; line-height: 1.5; color: var(--ink);
  white-space: pre-wrap; overflow-wrap: anywhere;
}

/* the reply: who answered, then the work. The track is minmax(0, 1fr) so a wide answer can never
   push the column past the window. */
.msg--bot { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: start; gap: 16px; }
.msg--bot > * { max-width: 100%; }
.msg__who { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; min-height: 20px; }
.msg__who .mark { width: 12px; height: 12px; }
.msg__who .label { color: var(--ink-2); }
.msg__who .mono { color: var(--ink-3); }

/* while a job runs the disc in the who line breathes, and the status sits beside the name */
.msg__who.is-working .mark { animation: breathe-disc 2.6s ease-in-out infinite; }
.working {
  font-family: var(--font-mono); font-size: .8125rem; font-variant-numeric: tabular-nums; color: var(--ink-2);
  background: linear-gradient(90deg, var(--ink-3) 0 35%, var(--ink) 50%, var(--ink-3) 65% 100%) 0 0 / 300% 100%;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  animation: shimmer 2.4s linear infinite;
}
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: 0 0; } }
@keyframes breathe-disc {
  0%, 100% { box-shadow: 0 0 0 2px var(--glow); transform: scale(.9); }
  50% { box-shadow: 0 0 0 6px var(--glow), 0 0 20px 5px var(--glow); transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .working { background: none; -webkit-text-fill-color: currentColor; }
}

.msg__err {
  display: flex; align-items: flex-start; gap: 10px; max-width: 60ch;
  color: var(--danger); font-size: 1rem; line-height: 1.5;
}
.msg__err svg { flex: none; width: 18px; height: 18px; margin-top: 2px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ------------------------------------------------------------------ answer typography */
.msg__body { width: 40rem; max-width: 100%; min-width: 0; font-size: 1.0625rem; line-height: 1.6; color: var(--ink); overflow-wrap: anywhere; }
.msg__body > * { margin: 0; }
.msg__body > * + * { margin-top: .85em; }
.msg__body h3 { font-size: 1.375rem; line-height: 1.15; letter-spacing: -.02em; text-wrap: balance; }
.msg__body > * + h3 { margin-top: 1.4em; }
.msg__body ul, .msg__body ol { padding-left: 1.6em; }
.msg__body ol { padding-left: 2.1em; list-style-type: decimal-leading-zero; }
.msg__body li { padding-left: .25em; }
.msg__body li + li { margin-top: .3em; }
.msg__body ul li::marker { color: var(--ink-3); }
.msg__body ol li::marker { font-family: var(--font-mono); font-size: .8125em; color: var(--accent); }
.msg__body strong { font-weight: 600; }
.msg__body em { font-weight: 500; color: var(--ink); }
.msg__body a { color: var(--ink); text-decoration-color: var(--accent); }
.msg__body a:hover { color: var(--accent); }
.msg__body code { font-size: .875em; color: var(--ink); background: var(--bg-2); border: 1px solid var(--rule); padding: 1px 5px; border-radius: 4px; }
.msg__body hr { height: 0; border: 0; border-top: 1px solid var(--rule); }
.msg__body > .snippet, .msg__body > .table { margin-top: 1.1em; }
.msg__body > .snippet + *, .msg__body > .table + * { margin-top: 1.1em; }
.msg__body > :first-child { margin-top: 0; }
.msg__body .snippet { width: 100%; margin-bottom: 0; }
.msg__body .snippet pre { font-size: .875rem; }
.msg__body .snippet code { font-size: inherit; background: none; border: 0; padding: 0; border-radius: 0; }

/* tables: hairline rules, mono heads, tabular figures; wide ones scroll inside their own rule */
.table { overflow-x: auto; border-top: 1px solid var(--rule-strong); border-bottom: 1px solid var(--rule-strong); }
.table table { width: 100%; border-collapse: collapse; font-size: .9375rem; line-height: 1.45; font-variant-numeric: tabular-nums; }
.table th {
  padding: 10px 20px 9px 0; text-align: left; vertical-align: bottom; white-space: nowrap;
  font-family: var(--font-mono); font-size: .6875rem; font-weight: 400; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3);
  border-bottom: 1px solid var(--rule);
}
.table td { padding: 10px 20px 10px 0; vertical-align: top; color: var(--ink-2); border-top: 1px solid var(--rule); overflow-wrap: normal; }
.table tr:first-child td { border-top: 0; }
.table td:first-child { color: var(--ink); font-weight: 500; }
.table th:last-child, .table td:last-child { padding-right: 0; }
.table td a { overflow-wrap: anywhere; }
.table:focus-visible { outline-offset: 2px; }

/* sources: tiny uppercase labels on hairline chips */
.sources { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.sources > .label { margin-right: 4px; }
.sources a {
  display: inline-flex; align-items: baseline; gap: 8px; max-width: 100%; min-height: 32px; padding: 7px 12px 6px;
  border: 1px solid var(--rule-strong); border-radius: 999px; text-decoration: none;
  font-size: .6875rem; font-weight: 500; line-height: 1.4; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2);
  transition: color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.sources a .num { font-size: .75rem; line-height: 1; letter-spacing: 0; }
.sources a span:last-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sources a:hover { color: var(--ink); border-color: var(--ink-2); background: var(--bg-2); }

/* ------------------------------------------------------------------ plates: images and tracks */
.plate-img { margin: 0; width: fit-content; max-width: 100%; display: grid; gap: 12px; }
.plate-img__link { position: relative; display: block; border-radius: 4px; overflow: hidden; box-shadow: var(--shadow-card); background: var(--bg-2); }
.plate-img img { width: auto; max-width: 100%; height: auto; max-height: min(72vh, 680px); }
.plate-img__link:focus-visible { outline-offset: 3px; }
.plate-img__open {
  position: absolute; top: 10px; right: 10px;
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px 6px 12px; border-radius: 999px;
  background: rgba(11, 14, 27, .64); color: #f6f1e8; font-size: .75rem; font-weight: 500; letter-spacing: .02em;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  opacity: 0; transform: translateY(-2px); transition: opacity var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.plate-img__open svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.plate-img__link:hover .plate-img__open, .plate-img__link:focus-visible .plate-img__open { opacity: 1; transform: none; }
@media (hover: none) { .plate-img__open { opacity: 1; transform: none; } }
.plate__cap {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px;
  padding-top: 10px; border-top: 1px solid var(--rule);
}
.plate__cap .label { color: var(--accent); }
.plate__cap .mono:empty { display: none; }

.brief { width: 40rem; max-width: 100%; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.brief summary {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 46px; padding: 10px 0; cursor: pointer; list-style: none;
}
.brief summary::-webkit-details-marker { display: none; }
.brief summary .label { color: var(--ink-2); transition: color var(--t-fast) var(--ease); }
.brief summary:hover .label { color: var(--ink); }
.brief summary svg { width: 18px; height: 18px; fill: none; stroke: var(--ink-3); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform var(--t-fast) var(--ease); }
.brief[open] summary svg { transform: rotate(180deg); }
.brief summary:focus-visible { outline-offset: -2px; border-radius: 4px; }
.brief .snippet { margin: 2px 0 16px; }

/* a track: the evening sky as its cover, the prompt as its title, then the player */
.plate-track { margin: 0; width: 40rem; max-width: 100%; display: grid; gap: 12px; }
.track__art {
  position: relative; isolation: isolate; overflow: hidden; height: clamp(150px, 24vw, 196px);
  border-radius: 4px; background: var(--bg-2); box-shadow: var(--shadow-card);
}
.track__art::before {
  content: ""; position: absolute; left: 70%; bottom: -150%; width: 160%; aspect-ratio: 1; transform: translateX(-50%); z-index: -1;
  background: radial-gradient(closest-side, var(--glow), transparent 72%);
}
.track__art .stars { position: absolute; inset: 0; width: 100%; height: 100%; }
.track__art .stars circle { fill: var(--star); }
.track__disc {
  position: absolute; left: 76%; bottom: -46%; width: clamp(104px, 17vw, 140px); aspect-ratio: 1; border-radius: 50%; transform: translateX(-50%);
  background: radial-gradient(circle at 32% 28%, var(--venus-1) 0%, var(--venus-2) 48%, var(--venus-3) 100%);
  box-shadow: var(--shadow-disc);
}
.track__art .scale { z-index: 1; }
.track__kind { position: absolute; left: 18px; top: 16px; font-family: var(--font-mono); font-size: .6875rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.track__title {
  position: absolute; left: 18px; right: 44%; bottom: 26px;
  font-family: var(--font-display); font-size: clamp(1.125rem, .9rem + .9vw, 1.5rem); font-weight: 600; line-height: 1.1; letter-spacing: -.02em;
  color: var(--ink); text-wrap: balance;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden;
}
.plate-track audio { display: block; width: 100%; height: 44px; }
.plate-track video { display: block; width: 100%; height: auto; border-radius: 4px; box-shadow: var(--shadow-card); background: #000; }
.downloads { display: flex; flex-wrap: wrap; gap: 10px; }

/* ------------------------------------------------------------------ composer, docked to the bottom of the window */
.composer {
  position: sticky; bottom: 0; z-index: 3;
  padding-bottom: max(12px, env(safe-area-inset-bottom));
  background: var(--bg);
}
.composer::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 32px; pointer-events: none;
  background: linear-gradient(to bottom, transparent, var(--bg));
}
.composer__row {
  position: relative; display: flex; align-items: flex-end; gap: 12px;
  padding: 12px 0 8px; border-top: 1px solid var(--rule-strong);
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
/* the horizon's graduated scale, hanging from the rule */
.composer__row::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; pointer-events: none;
  background:
    repeating-linear-gradient(90deg, var(--rule) 0 1px, transparent 1px 24px) left top / 100% 4px no-repeat,
    repeating-linear-gradient(90deg, var(--rule-strong) 0 1px, transparent 1px 120px) left top / 100% 6px no-repeat;
}
.composer__row:focus-within { border-top-color: var(--accent); box-shadow: inset 0 1px 0 var(--accent); }
.composer textarea {
  flex: 1; min-width: 0; min-height: 46px; max-height: 200px; margin: 0; padding: 10px 0 9px;
  resize: none; border: 0; border-radius: 0; background: transparent; color: var(--ink);
  font: inherit; font-size: 1.125rem; line-height: 1.5;
}
.composer textarea:focus, .composer textarea:focus-visible { outline: none; }
.composer textarea::placeholder { color: var(--ink-3); opacity: 1; }
.composer__send { flex: none; margin-bottom: 1px; }
.composer__send svg { width: 17px; height: 17px; }
.composer__note { font-size: .8125rem; line-height: 1.45; color: var(--ink-3); text-wrap: pretty; }
.composer__note--spent { color: var(--danger); }
@media (hover: none) { .composer__keys { display: none; } }

/* ------------------------------------------------------------------ breakpoints */
@media (max-width: 639px) {
  .composer__send { width: 46px; min-height: 46px; padding: 0; }
  .composer__send-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .composer__send svg { width: 19px; height: 19px; }
}
@media (max-width: 379px) {
  .modes { gap: 0 8px; }
  .mode__name { font-size: .9375rem; }
}
@media (min-width: 640px) {
  .mode__family { position: static; width: auto; height: auto; overflow: visible; clip-path: none; }
  .modes { justify-content: start; gap: 0 28px; }
  .play__side { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: var(--gap); }
  .play__side > .modes { grid-column: 1 / -1; }
}
@media (min-width: 900px) {
  .play { grid-template-columns: var(--col) minmax(0, 1fr); column-gap: var(--gap); }
  .play__head { grid-column: 1 / -1; grid-template-columns: var(--col) minmax(0, 1fr); }
  .play__head h1, .play__head p { grid-column: 2; }
  .play__side { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 28px 0 24px; align-self: start; }
  .play__kicker { display: block; margin-bottom: -16px; }
  .allowance { display: grid; }

  .modes { grid-auto-flow: row; justify-content: stretch; gap: 0; overflow: visible; box-shadow: inset 0 -1px 0 var(--rule); }
  .modes button {
    position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); align-items: baseline;
    min-height: 0; padding: 13px 0 14px; border-bottom: 0; border-top: 1px solid var(--rule); color: var(--ink-2);
  }
  /* the accent marks the current mode only: its numeral, and a rule under the row */
  .modes button[aria-checked="true"] { color: var(--ink); }
  .modes button[aria-checked="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--accent); z-index: 1; }
  .modes .num { display: block; grid-row: 1 / span 2; font-size: .8125rem; line-height: 1; color: var(--ink-3); transition: color var(--t-fast) var(--ease); }
  .modes button[aria-checked="true"] .num { color: var(--accent); }
  .mode__name { font-size: 1.375rem; font-weight: 500; line-height: 1.15; letter-spacing: -.015em; white-space: normal; }
  .modes button[aria-checked="true"] .mode__name { font-weight: 600; }
  .mode__tool { display: block; grid-column: 2; margin-top: 3px; font-size: .75rem; overflow-wrap: anywhere; }
  .mode__tool span { white-space: nowrap; }   /* a note wraps whole: "venus_image_pro ·" then "thinks first" */
  .mode__left { display: none; }
  .modes button:focus-visible { outline-offset: 2px; }

  .log { padding-top: 28px; }
}
@media (min-width: 900px) and (max-width: 1099px) {
  /* the 240px margin column: every meter sets its count under its name, so they all match */
  .meter__head { flex-direction: column; align-items: flex-start; gap: 2px; }
}
/* the control panel stays in view beside a long conversation, but only when all of it fits the
   window (playground.js measures it), so the meters are never cut off under the fold */
@media (min-width: 900px) {
  .play__side[data-fits="true"] { position: sticky; top: 0; }
}
