
:root { color-scheme: dark; --bg: #07070c; --panel: #12121c; --line: #2a2a3a; --text: #ecebf4; --muted: #b4b2c6;
        --accent: #ffb14a; --ok: #6be3a0; --err: #ff8a8a; }
* { box-sizing: border-box; }
html { font-size: 112.5%; }
body { margin: 0 auto; max-width: 62rem; padding: 2rem 1.25rem 3rem; background: var(--bg); color: var(--text);
       font: 1rem/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
h1 { font-size: 2.4rem; margin: 0 0 .5rem; letter-spacing: -.02em; }
h2 { font-size: 1.35rem; margin: 2.5rem 0 .75rem; }
h3 { font-size: 1.2rem; margin: 0 0 .4rem; }
p { margin: 0 0 .9rem; }
a { color: var(--accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.lede { color: var(--muted); max-width: 44rem; }
.card { display: grid; grid-template-columns: 1fr; gap: 1.25rem; align-items: start;
        background: var(--panel); border: 1px solid var(--line); border-radius: .75rem; padding: 1.25rem; }
.strip video, .strip img { width: 100%; height: auto; display: block; border-radius: .4rem; background: #06060a; }
.strip .still { display: none; }
@media (prefers-reduced-motion: reduce) { .strip .motion { display: none; } .strip .still { display: block; } }
.strip.small { max-width: 30rem; margin-bottom: .4rem; }
.req { margin: 0; }
.soon { color: var(--muted); font-size: .9rem; margin: -.4rem 0 0; }
.soon .badge { margin: 0 .4rem 0 0; }
.preview { width: 100%; height: auto; border-radius: .4rem; display: block; image-rendering: pixelated; }
.prompt { font-size: 1.1rem; font-style: italic; }
form { background: var(--panel); border: 1px solid var(--line); border-radius: .75rem; padding: 1.25rem; }
label { display: block; font-weight: 600; margin-bottom: .4rem; }
textarea { width: 100%; font: inherit; color: var(--text); background: #0b0b12; border: 1px solid #4a4a60;
           border-radius: .5rem; padding: .7rem .8rem; resize: vertical; }
textarea[aria-invalid="true"] { border-color: var(--err); }
.hint { color: var(--muted); font-size: .9rem; margin: .4rem 0 .9rem; }
button { font: inherit; font-weight: 600; color: #1a1205; background: var(--accent); border: 0; border-radius: .5rem;
         padding: .65rem 1.2rem; cursor: pointer; }
button:hover { filter: brightness(1.08); }
.notice { padding: .7rem .9rem; border-radius: .5rem; border: 1px solid; }
.notice.ok { color: var(--ok); border-color: var(--ok); }
.notice.err { color: var(--err); border-color: var(--err); }
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: .75rem; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; vertical-align: top; padding: .75rem .9rem; border-bottom: 1px solid var(--line); }
thead th { color: var(--muted); font-size: .9rem; font-weight: 600; }
tbody th { font-weight: 600; white-space: nowrap; }
tbody tr:last-child > * { border-bottom: 0; }
tr.current { background: #1b1626; }
.badge { display: inline-block; font-size: .75rem; font-weight: 700; color: #1a1205; background: var(--accent);
         border-radius: 1rem; padding: 0 .5rem; margin-left: .3rem; vertical-align: middle; }
td time { white-space: nowrap; color: var(--muted); }
summary { cursor: pointer; color: var(--accent); white-space: nowrap; }
pre { margin: .6rem 0 0; max-height: 26rem; max-width: 34rem; overflow: auto; background: #0b0b12; border: 1px solid var(--line);
      border-radius: .5rem; padding: .8rem; font-size: .8rem; line-height: 1.45; }
@media (max-width: 40rem) {
  thead { position: absolute; left: -10000px; }
  table, tbody, tr, th, td { display: block; width: 100%; }
  tbody tr { padding: .6rem 0; border-bottom: 1px solid var(--line); }
  tbody tr:last-child { border-bottom: 0; }
  th, td { border-bottom: 0; padding: .25rem .9rem; }
  pre { max-width: 100%; }
}
footer { margin-top: 3rem; color: var(--muted); font-size: .9rem; }
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto; } }
