:root {
  color-scheme: dark;
  --background: #06060c;
  --ink: #f2f2f7;
  --quiet: #9494a7;
  --acid: #d9ff68;
  --edge: rgba(202, 202, 232, 0.16);
  --mono: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-family: Arial, Helvetica, ui-sans-serif, system-ui, sans-serif;
  font-synthesis: none;
}
* { box-sizing: border-box; }
html, body { width: 100%; height: 100%; margin: 0; }
body { overflow: hidden; background: var(--background); color: var(--ink); }
button { font: inherit; }
button, .experiment { -webkit-tap-highlight-color: transparent; }
::selection { background: var(--acid); color: var(--background); }
.experiment { position: relative; width: 100%; height: 100vh; height: 100svh; overflow: hidden; isolation: isolate; outline: none; background: var(--background); }
.experiment:focus-visible { outline: 2px solid var(--acid); outline-offset: -6px; }
#field { position: absolute; inset: 0; z-index: 0; display: block; width: 100%; height: 100%; touch-action: none; }
.experiment::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(6, 6, 12, .36), transparent 20%, transparent 73%, rgba(6, 6, 12, .72)); }
.frame { position: absolute; z-index: 2; inset: 20px; pointer-events: none; border: 1px solid rgba(167, 168, 207, .065); }
.frame i { position: absolute; width: 10px; height: 10px; border-color: rgba(217, 255, 104, .55); border-style: solid; }
.frame i:nth-child(1) { top: -1px; left: -1px; border-width: 1px 0 0 1px; }
.frame i:nth-child(2) { top: -1px; right: -1px; border-width: 1px 1px 0 0; }
.frame i:nth-child(3) { bottom: -1px; left: -1px; border-width: 0 0 1px 1px; }
.frame i:nth-child(4) { bottom: -1px; right: -1px; border-width: 0 1px 1px 0; }
.chrome { position: absolute; inset: 0; z-index: 3; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; min-width: 0; padding: max(42px, env(safe-area-inset-top)) max(48px, env(safe-area-inset-right)) max(40px, env(safe-area-inset-bottom)) max(48px, env(safe-area-inset-left)); pointer-events: none; }
.masthead { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-width: 0; }
.wordmark { display: inline-flex; align-items: center; gap: 5px; color: var(--ink); font-size: 19px; font-weight: 750; line-height: 1; letter-spacing: -.06em; text-decoration: none; pointer-events: auto; }
.wordmark span { color: var(--acid); font-weight: 350; margin: 0 3px; }
.wordmark:focus-visible { outline: 2px solid var(--acid); outline-offset: 8px; }
.edition { display: flex; align-items: center; gap: 10px; margin: 0; color: var(--quiet); font-family: var(--mono); font-size: 9px; line-height: 1.5; letter-spacing: .09em; }
.live-dot { display: block; width: 4px; height: 4px; border-radius: 50%; flex: none; background: var(--acid); box-shadow: 0 0 9px rgba(217, 255, 104, .4); }
.edition-number { margin-left: 28px; color: #dadbe6; }
.intro { align-self: center; margin-top: -14px; max-width: 32%; min-width: 0; }
.eyebrow { margin: 0 0 24px; color: var(--quiet); font-family: var(--mono); font-size: 8px; line-height: 1.6; letter-spacing: .14em; }
h1 { margin: 0; font-size: clamp(38px, 5.45vw, 88px); font-weight: 650; line-height: .9; letter-spacing: -.073em; }
h1 > span { display: block; }
.title-second { margin-top: 7px; color: #bbbbcd; }
.title-dot { color: var(--acid); }
.intro-note { margin: 27px 0 0; color: var(--quiet); font-size: 11px; line-height: 1.7; letter-spacing: .015em; }
.intro-rule { display: block; width: 38px; height: 1px; margin-top: 27px; background: linear-gradient(90deg, var(--acid), rgba(217, 255, 104, .06)); }
.interface { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: end; gap: 30px; min-width: 0; }
.session-label { display: flex; align-items: center; gap: 14px; color: var(--quiet); font-family: var(--mono); font-size: 8px; line-height: 1.75; letter-spacing: .06em; }
.session-cross { color: var(--acid); font-size: 23px; line-height: 1; font-weight: 300; }
.interaction { min-width: 0; }
.interaction-hint { margin: 0 0 13px; text-align: center; color: #8e8eaa; font-family: var(--mono); font-size: 8px; line-height: 1.6; letter-spacing: .05em; white-space: nowrap; }
.interaction-hint span[aria-hidden] { margin: 0 7px; color: var(--acid); }
.hint-static, .charge-static { display: none; }
.controls { display: flex; align-items: center; justify-content: center; gap: 2px; padding: 4px; min-height: 58px; border: 1px solid rgba(197, 196, 225, .2); border-radius: 5px; background: rgba(8, 8, 16, .78); box-shadow: 0 8px 30px rgba(0, 0, 0, .25); }
.controls button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; border: 1px solid transparent; border-radius: 2px; color: #bbbbd0; background: transparent; cursor: pointer; pointer-events: auto; user-select: none; -webkit-user-select: none; touch-action: none; font-family: var(--mono); font-size: 9px; line-height: 1.4; letter-spacing: .065em; transition: border-color 150ms ease, background-color 150ms ease, color 150ms ease; }
.controls .charge-control { min-width: 120px; padding: 0 17px; gap: 14px; color: #0c1014; background: var(--acid); border-color: var(--acid); font-weight: 650; }
.charge-mark { font-size: 18px; line-height: 1; }
.auto-control { min-width: 76px; padding: 0 10px; }
.pause-control { min-width: 92px; padding: 0 10px; }
.auto-mark { width: 5px; height: 5px; border: 1px solid currentColor; border-radius: 50%; flex: none; }
.auto-control[aria-pressed="true"] { color: var(--acid); }
.auto-control[aria-pressed="true"] .auto-mark { background: currentColor; box-shadow: 0 0 7px rgba(217, 255, 104, .35); }
.pause-mark { width: 7px; height: 9px; flex: none; background: linear-gradient(90deg, currentColor 0 2px, transparent 2px 5px, currentColor 5px 7px); }
.pause-control[aria-pressed="true"] { color: var(--acid); }
.pause-control[aria-pressed="true"] .pause-mark { background: currentColor; clip-path: polygon(0 0, 100% 50%, 0 100%); }
.controls button:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.controls .charge-control:active, .experiment[data-state="charging"] .charge-control { color: var(--ink); background: #4d2475; border-color: #b69cff; }
.experiment[data-state="charging"] .charge-mark { transform: scale(1.2); }
button:disabled { cursor: default; opacity: .45; }
.specimen { min-width: 0; max-width: 210px; width: 100%; justify-self: end; margin: 0; color: var(--quiet); font-family: var(--mono); font-size: 8px; line-height: 1.6; letter-spacing: .035em; }
.specimen > div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.specimen dt, .specimen dd { margin: 0; }
.specimen dt { flex: none; }
.specimen dd { min-width: 0; max-width: 75%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.specimen dt { color: #8b8ba2; }
.specimen dd { text-align: right; color: #bfc0d1; }
.specimen .specimen-heading { margin-bottom: 7px; padding-bottom: 7px; border-bottom: 1px solid var(--edge); }
.specimen .specimen-heading dt { color: #a5a5b7; }
.cycle-indicator { display: flex; align-items: baseline; gap: 8px; }
#cycle-count { color: var(--acid); font-variant-numeric: tabular-nums; }
.cycle-divider { color: #57576e; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.no-script { position: absolute; z-index: 4; top: 50%; left: 24px; right: 24px; margin: 0; padding: 22px; text-align: center; color: var(--ink); background: rgba(6, 6, 12, .9); font-size: 13px; line-height: 1.8; pointer-events: none; }
@media (hover: hover) {
  .controls button:hover { color: var(--ink); background: rgba(200, 189, 255, .075); }
  .controls .charge-control:hover { color: #08090f; background: #e8ffac; border-color: #e8ffac; }
}
@media (min-width: 1600px) { .chrome { padding-right: 66px; padding-left: 66px; } }
@media (max-width: 850px) {
  .chrome { padding-right: 30px; padding-left: 30px; }
  .interface { gap: 16px; }
  .session-label { font-size: 7px; gap: 8px; }
  .session-cross { font-size: 18px; }
  .specimen { font-size: 7px; }
  .intro { max-width: 34%; }
  h1 { font-size: clamp(34px, 5.3vw, 52px); }
}
@media (max-width: 620px) {
  .frame { inset: 12px; }
  .chrome { padding: max(28px, env(safe-area-inset-top)) max(28px, env(safe-area-inset-right)) max(27px, env(safe-area-inset-bottom)) max(28px, env(safe-area-inset-left)); }
  .masthead { gap: 10px; }
  .wordmark { font-size: 17px; }
  .edition { font-size: 7px; gap: 7px; letter-spacing: .04em; }
  .edition-number { display: none; }
  .intro { align-self: start; max-width: none; margin-top: 51px; }
  .eyebrow { margin-bottom: 14px; font-size: 6px; letter-spacing: .13em; }
  h1 { font-size: clamp(33px, 9.6vw, 49px); line-height: .91; }
  .title-second { margin-top: 4px; }
  .intro-note, .intro-rule { display: none; }
  .interface { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); row-gap: 20px; column-gap: 16px; }
  .interaction { grid-column: 1 / -1; grid-row: 1; justify-self: center; }
  .interaction-hint { margin-bottom: 11px; font-size: 7px; }
  .controls { min-height: 54px; }
  .controls button { min-height: 44px; }
  .controls .charge-control { min-width: 118px; }
  .auto-control { min-width: 73px; }
  .pause-control { min-width: 91px; }
  .session-label { align-self: end; font-size: 7px; gap: 9px; }
  .specimen { font-size: 7px; }
  .specimen > div { gap: 8px; }
  .specimen .specimen-heading { margin-bottom: 4px; padding-bottom: 4px; }
}
@media (max-height: 560px) and (min-width: 621px) {
  .frame { inset: 12px; }
  .chrome { padding-top: max(27px, env(safe-area-inset-top)); padding-bottom: max(25px, env(safe-area-inset-bottom)); }
  .intro { margin-top: 0; }
  .eyebrow { margin-bottom: 15px; }
  h1 { font-size: clamp(34px, 5vw, 62px); }
  .intro-note { margin-top: 15px; font-size: 9px; }
  .intro-rule { display: none; }
  .controls { min-height: 54px; }
  .controls button { min-height: 44px; }
}
@media (max-height: 430px) and (max-width: 620px) {
  .chrome { padding: max(24px, env(safe-area-inset-top)) max(27px, env(safe-area-inset-right)) max(23px, env(safe-area-inset-bottom)) max(27px, env(safe-area-inset-left)); }
  .intro { align-self: center; margin-top: 0; max-width: 33%; }
  .eyebrow { margin-bottom: 9px; font-size: 5px; }
  h1 { font-size: 29px; }
  .interface { grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
  .interaction { grid-column: 2; grid-row: 1; }
  .interaction-hint { font-size: 6px; margin-bottom: 7px; }
  .controls { min-height: 52px; padding: 3px; }
  .controls .charge-control { min-width: 101px; padding: 0 11px; gap: 9px; }
  .auto-control { min-width: 67px; }
  .pause-control { min-width: 81px; }
  .session-label { display: none; }
  .specimen { grid-column: 1; grid-row: 1; max-width: 155px; justify-self: start; font-size: 6px; }
  .specimen > div:nth-child(n+3) { display: none; }
}
@media (max-width: 350px) {
  .chrome { padding-right: 23px; padding-left: 23px; }
  .edition { font-size: 6px; }
  .controls .charge-control { min-width: 105px; padding: 0 10px; gap: 10px; }
  .auto-control { min-width: 68px; }
  .pause-control { min-width: 83px; }
  .controls button { font-size: 8px; }
  .interaction-hint { font-size: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .hint-full, .charge-full { display: none; }
  .hint-static, .charge-static { display: inline; }
}
