/* bryansanders.com. Design tokens up top so the brand universe spec can retune everything in one place. */
:root {
  --paper: #faf6ee;
  --paper-2: #f1e9da;
  --ink: #121010;
  --ink-soft: #3d3630;
  --rule: #c9bda6;
  --brand: #7a2e2a;      /* oxblood: Bryan's own color */
  --brand-ink: #f4ecdc;
  /* Brand universe v4 (approved Nov 10 2026): deep, signature, and light tones; Signal for hairlines only; a rationed pop. */
  --brand-deep: #672a21;   /* Brick deep */
  --brand-light: #d9b4ad;  /* Brick light tint: highlights and hover on dark */
  --brand-signal: #ffa391; /* Brick Signal, oklch(0.82 0.13 30): 1 to 4 px lines on dark fills only, never fills */
  --pop-pink: #ff5caa;     /* pop stack: pink core, white outline, black outline. Three pop moments max per page. */
  --pop-white: #ffffff;
  --pop-black: #111114;
  --f-voice: "IBM Plex Serif", Georgia, serif; /* bryansanders.com cut: Plex Serif Italic, the personal voice */
  /* Sister brands, brand universe v2 signatures (approved Nov 10 2026). An -ink tone is the deep tone, used for
     small text and button fills where the signature is under 4.5:1 on paper. */
  --c-turtle: #00635f;   /* TurtleBlockAI: Turtle Teal */
  --c-hamlet: #42663a;   /* STEAMHAMLET: Hamlet Moss */
  --c-civic: #1b4a76;    /* Civic Tracker: Civic Navy */
  --c-works: #47408b;    /* Studio Works: Studio Indigo (universe v5, Nov 18 2026; was Studio Plum #5c3e71, which matched Re-Education Plum) */
  --c-salon: #9d712d;    /* Salonities: Sloaf Ochre */
  /* Re-Education (reeducationllc.com), fixed: the universe tunes around these, never the other way. */
  --c-reed: #5e3769;     /* Re-Education Plum (the RE) */
  --c-reed-coral: #c15050; /* /EDUCATION; 3.95:1 on limewash, so large text and accents only */
  --c-reed-ochre: #d49d42; /* logo ground; fills only */
  --c-reed-sage: #8a9a7b;  /* quiet accent; fills only */
  --paper-limewash: #f4ecdc; /* Re-Education paper (same as --brand-ink) */
  --paper-3: #ece1c8;      /* Re-Education deeper cream */
  --c-salon-ink: #724d0b;
  --c-lab: #b08a1e;      /* Ideas Lab (not in the universe) */
  --c-lab-ink: #735a12;
  --c-toys: #c0392b;     /* Vintage Toy Loco (not in the universe) */
  /* Surfaces */
  --card: #fffaf0;       /* card and frame paper */
  --bar: rgba(18,16,16,.96); /* masthead: ink at 96% */
  --scrim: rgba(18,16,16,.78);
  --grain: rgba(34,29,23,.018);
  --note-bg: #fbf3dc;
  --err-bg: #fff1ee;
  --err-ink: #8a1f14;
  --f-display: "Fraunces", Georgia, serif;
  --f-body: "Fraunces", Georgia, serif;
  --f-mono: "IBM Plex Mono", ui-monospace, monospace;
  --f-crt: "VT323", "IBM Plex Mono", monospace;
  --radius: 4px;
  --shadow: 0 1px 0 rgba(0,0,0,.04), 0 8px 24px -14px rgba(34,29,23,.35);
  --max: 1080px;
}
*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 18px/1.6 var(--f-body);
  background-image: radial-gradient(var(--grain) 1px, transparent 1px);
  background-size: 4px 4px;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; background: var(--ink); color: var(--paper); padding: 8px 12px; z-index: 10; }
.nowrap { white-space: nowrap; }

/* top bar */
.top {
  position: sticky; top: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between;
  padding: 12px clamp(16px, 4vw, 40px); background: var(--bar); color: var(--paper); backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--ink);
  box-shadow: 0 1px 0 var(--pop-white), 0 4px 0 var(--pop-pink), 0 5px 0 var(--pop-white), 0 6px 0 var(--pop-black); /* house stripe: the page's one pop moment */
}
.top nav { display: flex; gap: clamp(10px, 3vw, 28px); font: 500 15px var(--f-mono); }
.top nav a { color: var(--paper); text-decoration: none; }
.top nav a:hover { color: var(--brand-light); }
.stamp {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: var(--radius);
  background: var(--brand); color: var(--brand-ink); font: 800 26px/1 var(--f-display); text-decoration: none;
  box-shadow: inset 0 0 0 1px var(--brand-signal);
}
.stamp.small { width: 26px; height: 26px; font-size: 17px; vertical-align: middle; margin-right: 6px; }

main { max-width: var(--max); margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); }

/* hero: the simple surface */
.hero {
  display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: center;
  min-height: calc(100svh - 66px); padding: clamp(32px, 6vw, 72px) 0;
}
.kicker { font: 500 13px var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); margin: 0 0 12px; }
h1 { font: 800 clamp(40px, 7vw, 76px)/1.02 var(--f-display); letter-spacing: -.02em; margin: 0 0 20px; font-variation-settings: "opsz" 144; }
.lede { font-size: clamp(18px, 2.2vw, 22px); color: var(--ink-soft); max-width: 34ch; margin: 0 0 32px; }
.stack { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.stack li { border-bottom: 1px solid var(--rule); }
.stack a {
  display: grid; grid-template-columns: 2.2em 6.2em 1fr; align-items: baseline; gap: 8px;
  padding: 12px 4px; text-decoration: none; color: var(--ink); transition: background .15s;
}
.stack a:hover { background: var(--paper-2); }
.tilde { font: 400 22px var(--f-crt); color: var(--brand); }
.slash { font: 400 30px/1 var(--f-crt); }
.what { font-size: 16px; color: var(--ink-soft); }
.portrait { margin: 0; position: relative; }
.portrait img {
  width: 100%; height: auto; display: block; border-radius: var(--radius);
  border: 10px solid var(--card); box-shadow: var(--shadow); transform: rotate(1.5deg);
}

/* depth bands */
.band { display: grid; grid-template-columns: 180px 1fr; gap: clamp(16px, 4vw, 48px); padding: clamp(48px, 8vw, 96px) 0; border-top: 2px solid var(--ink); }
.band-head { position: sticky; top: 84px; align-self: start; }
.num { font: 500 12px var(--f-mono); letter-spacing: .14em; color: var(--ink-soft); margin: 0; }
h2 { font: 400 clamp(44px, 6vw, 64px)/1 var(--f-crt); margin: 4px 0 0; color: var(--brand); }
h3 { font: 600 24px/1.2 var(--f-display); margin: 0 0 6px; }
h4 { font: 500 13px var(--f-mono); letter-spacing: .1em; text-transform: uppercase; margin: 20px 0 6px; color: var(--ink-soft); }
.intro { font-size: 20px; max-width: 46ch; margin: 0 0 28px; }
.band-body > * + * { margin-top: 20px; }

.card { background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); box-shadow: var(--shadow); }
.card p { margin: 0 0 12px; }
.sub { font: 500 14px var(--f-mono); color: var(--ink-soft); }
.go { margin-top: 18px !important; display: flex; flex-wrap: wrap; gap: 10px; }
.btn {
  display: inline-block; font: 500 14px var(--f-mono); padding: 10px 16px; border-radius: var(--radius);
  background: var(--ink); color: var(--paper); text-decoration: none; border: 2px solid var(--ink); cursor: pointer;
}
.btn:hover { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { color: var(--brand-ink); }

/* RE /think /create /design: stacked, echoing the signature */
.re { display: grid; grid-template-columns: auto 1fr; gap: clamp(16px, 3vw, 36px); }
.re-mark { display: flex; flex-direction: column; font: 400 26px/1.05 var(--f-crt); color: var(--brand); padding-right: clamp(12px, 2vw, 24px); border-right: 2px solid var(--brand); }
.re-mark span:first-child { font-size: 44px; color: var(--ink); }
.re-mark span:not(:first-child) { padding-left: 1.1em; }

.deep { border-bottom: 1px solid var(--rule); padding: 4px 0 8px; }
.deep summary { cursor: pointer; font: 600 20px var(--f-display); padding: 12px 0; list-style: none; }
.deep summary::-webkit-details-marker { display: none; }
.deep summary::before { content: "+"; font: 400 26px var(--f-crt); color: var(--brand); display: inline-block; width: 1.2em; }
.deep[open] summary::before { content: "\2212"; }
.deep ul { padding-left: 1.2em; margin: 0 0 8px; }
.deep li { margin-bottom: 6px; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.grid > * + * { margin-top: 0; }
.venture { border-top: 6px solid var(--accent); display: flex; flex-direction: column; }
.venture .go { margin-top: auto !important; padding-top: 8px; }
.venture .btn { background: var(--accent-ink, var(--accent)); border-color: var(--accent-ink, var(--accent)); }
.tag { font: 500 12px var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--accent-ink, var(--accent)); }

.pubs { list-style: none; margin: 0; padding: 0; }
.pubs li { display: grid; grid-template-columns: 4em 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.pubs li:first-child { border-top: 1px solid var(--rule); }
.yr { font: 400 24px/1.1 var(--f-crt); color: var(--brand); }
.pubs a { font-weight: 600; color: var(--ink); }
.pubs a:hover { color: var(--brand); }
.venue { display: block; font-size: 15px; color: var(--ink-soft); margin-top: 2px; }
.venue a { font-weight: 400; color: var(--brand); }
.news { margin-top: 32px !important; }
.cite-links { display: flex; flex-wrap: wrap; gap: 6px 14px; font: 500 13px var(--f-mono); margin-top: 6px; }
.pubs .cite-links a { font-weight: 500; color: var(--brand); }

/* research strip */
.research { list-style: none; padding: 0; margin: 0 0 8px; display: flex; flex-wrap: wrap; gap: 10px; }
.research a { display: inline-flex; align-items: center; gap: 8px; font: 500 14px var(--f-mono); padding: 6px 14px 6px 8px; border: 1px solid var(--ink); border-radius: 999px; color: var(--ink); text-decoration: none; background: var(--card); }
.research a svg { color: var(--brand); flex: none; }
.research a:hover { background: var(--ink); color: var(--paper); }
.research a:hover svg { color: var(--paper); }

/* featured four */
.featured-h, .pubs-h { margin-top: 36px !important; }
.featured { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.featured .btn { white-space: nowrap; font-size: 13px; padding: 9px 14px; }
@media (max-width: 600px) { .featured { grid-template-columns: 1fr; } }
.feature-t { font: 600 20px/1.25 var(--f-display); letter-spacing: 0; text-transform: none; color: var(--ink); margin: 0 0 8px; }
.feature-t a { color: inherit; text-decoration: none; }
.feature-t a:hover { color: var(--brand); text-decoration: underline; }

/* form */
.form { display: grid; gap: 16px; max-width: 640px; }
.form label { display: grid; gap: 6px; font: 500 13px var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); }
.form input, .form select, .form textarea {
  font: 400 17px var(--f-body); color: var(--ink); background: var(--paper); border: 1px solid var(--rule);
  border-radius: var(--radius); padding: 10px 12px; text-transform: none; letter-spacing: 0;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--brand); border-color: var(--brand); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { justify-self: start; font-size: 15px; padding: 12px 28px; }
.status { font: 500 15px var(--f-mono); margin: 0 !important; min-height: 1.4em; }
.status.ok { color: var(--c-turtle); }
.status.err { color: var(--brand); }
.fine { font-size: 13px; color: var(--ink-soft); margin: 0 !important; }

.elsewhere-h { margin-top: 40px !important; }
.elsewhere { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.elsewhere a { display: inline-block; font: 500 14px var(--f-mono); padding: 8px 14px; border: 1px solid var(--ink); border-radius: 999px; color: var(--ink); text-decoration: none; }
.elsewhere a:hover { background: var(--ink); color: var(--paper); }

.foot { max-width: var(--max); margin: 0 auto; padding: 32px clamp(16px, 4vw, 40px) 48px; border-top: 2px solid var(--ink); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font: 500 14px var(--f-mono); }
.foot p { margin: 0; }

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .portrait { order: -1; max-width: 260px; }
  .band { grid-template-columns: 1fr; }
  .band-head { position: static; }
  .re { grid-template-columns: 1fr; }
  .re-mark { flex-direction: row; flex-wrap: wrap; gap: 0 10px; border-right: 0; border-bottom: 2px solid var(--brand); padding: 0 0 10px; }
  .re-mark span:not(:first-child) { padding-left: 0; }
  .re-mark span:first-child { font-size: 26px; }
  .row2 { grid-template-columns: 1fr; }
  .stack a { grid-template-columns: 1.8em 5em 1fr; }
  .slash { font-size: 26px; }
  .what { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } .portrait img { transform: none; } }

/* On the workbench: latest Ideas Lab items, filled by site.js from /api/feed?source=lab */
.bench { grid-column: 1 / -1; --accent: var(--c-lab); --accent-ink: var(--c-lab-ink); }
.bench-intro { margin: 0 0 16px; color: var(--ink-soft); }
.bench-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.bench-list li { border-top: 6px solid var(--accent); }
.bench-list .tag { margin: 0 0 6px; }
.bench-list h4 { margin: 0 0 8px; font-size: 19px; line-height: 1.3; }
.bench-list h4 a { color: var(--ink); text-decoration: none; }
.bench-list h4 a:hover { color: var(--brand); text-decoration: underline; }
.bench-list q { display: block; font-style: italic; color: var(--ink-soft); }

/* /toys gallery. Its photo viewer rules are scoped to the toys dialog (#lb-img) so the home and /art lightbox keep their card style (Nov 15 2026). */
.toys-page { max-width: 1200px; margin: 0 auto; padding: 32px 20px 64px; }
.toys-page h1 { margin: 0 0 6px; }
.toy-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; margin-top: 24px; }
.toy-grid button { padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 8px; overflow: hidden; aspect-ratio: 1; }
.toy-grid img { width: 100%; height: 100%; object-fit: cover; display: block; }
.toy-empty { padding: 40px 0; color: var(--ink-soft, #555); }
dialog.lightbox:has(#lb-img) { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 94vh; }
dialog.lightbox:has(#lb-img)::backdrop { background: rgba(0,0,0,.85); }
dialog.lightbox:has(#lb-img) img { max-width: 96vw; max-height: 86vh; display: block; margin: 0 auto; }
dialog.lightbox:has(#lb-img) p { color: #fff; text-align: center; margin: 8px 0 0; }
dialog.lightbox:has(#lb-img) .lb-nav { display: flex; justify-content: center; gap: 12px; margin-top: 8px; }
dialog.lightbox:has(#lb-img) button { background: #fff; border: 0; border-radius: 6px; padding: 6px 14px; font: inherit; cursor: pointer; }
@media (max-width: 420px) { .toy-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; } }

/* Contrast pass (Bryan, Nov 11 2026): black masthead and near-black ink so the first read isn't sandy. Folded into .top above (Nov 15 2026). */
.top .stamp { box-shadow: inset 0 0 0 1px var(--brand-signal); }

/* Possible Possibles archive (/write/possible-possibles/) */
.pp-page { max-width: 760px; margin: 0 auto; padding: 32px 20px 72px; }
.pp-page h1 { font-size: clamp(34px, 6vw, 56px); margin: 0 0 12px; }
.pp-back { font: 500 14px var(--f-mono); margin: 0 0 28px; }
.pp-lede { font-size: clamp(18px, 2.2vw, 21px); color: var(--ink-soft); margin: 0 0 8px; }
.pp-sub { font-size: clamp(18px, 2.2vw, 21px); color: var(--ink-soft); margin: 0 0 14px; font-style: italic; }
.pp-meta { font: 500 14px var(--f-mono); color: var(--ink-soft); margin: 0; }
.pp-orig { font: 400 14px var(--f-mono); color: var(--ink-soft); margin: 4px 0 0; }
.pp-post header { border-bottom: 2px solid var(--ink); padding-bottom: 20px; margin-bottom: 28px; }
.pp-body h2, .pp-body h3 { font: 600 clamp(22px, 3vw, 28px)/1.25 var(--f-display); margin: 32px 0 12px; }
.pp-body h4, .pp-body h5 { font: 600 20px/1.35 var(--f-display); letter-spacing: 0; text-transform: none; color: var(--ink); margin: 28px 0 10px; }
.pp-body blockquote { margin: 24px 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--brand); font-style: italic; }
.pp-body hr { border: 0; border-top: 1px solid var(--rule); margin: 32px 0; }
.pp-body code { font: 500 15px var(--f-mono); }
.pp-fig { margin: 28px 0; }
.pp-fig img { max-width: 100%; height: auto; display: block; margin: 0 auto; border-radius: var(--radius); box-shadow: var(--shadow); }
.pp-fig figcaption { font-size: 15px; color: var(--ink-soft); text-align: center; margin-top: 8px; }
.pp-file { background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius); padding: 18px 22px; box-shadow: var(--shadow); margin: 24px 0; }
.pp-file p { margin: 0 0 8px; }
.pp-pager { display: flex; justify-content: space-between; gap: 16px; margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--rule); font: 500 14px var(--f-mono); }
.pp-list { list-style: none; margin: 28px 0 0; padding: 0; border-top: 1px solid var(--rule); }
.pp-item { border-bottom: 1px solid var(--rule); }
.pp-item a { display: grid; grid-template-columns: 120px 1fr; gap: 18px; align-items: center; padding: 16px 4px; text-decoration: none; color: var(--ink); }
.pp-item a:hover { background: var(--paper-2); }
.pp-item img { width: 120px; height: 90px; object-fit: cover; border-radius: var(--radius); display: block; }
.pp-item-text { display: flex; flex-direction: column; gap: 2px; grid-column: 2; }
.pp-item time { font: 500 13px var(--f-mono); color: var(--ink-soft); }
.pp-item strong { font: 600 21px/1.25 var(--f-display); }
.pp-item-sub { font-size: 16px; color: var(--ink-soft); }
@media (max-width: 520px) { .pp-item a { grid-template-columns: 80px 1fr; gap: 12px; } .pp-item img { width: 80px; height: 64px; } .pp-pager { flex-direction: column; } }

/* /listen/ and /watch/ (media archive) */
.ip-sec { margin-top: 40px; }
.ip-sec h2 { font: 600 clamp(26px, 3.4vw, 34px)/1.2 var(--f-display); margin: 0 0 10px; }
.ip-show { display: grid; grid-template-columns: 160px 1fr; gap: 22px; align-items: start; padding-bottom: 8px; }
.ip-show img { width: 160px; height: 160px; object-fit: cover; border-radius: var(--radius); border: 6px solid var(--card); box-shadow: var(--shadow); display: block; }
.ip-show p { margin: 0; color: var(--ink-soft); font-size: 17px; }
.ip-list, .ip-vids { list-style: none; margin: 24px 0 0; padding: 0; border-top: 1px solid var(--rule); }
.ip-ep { padding: 18px 4px; border-bottom: 1px solid var(--rule); }
.ip-ep h3, .ip-vid h3 { font: 600 21px/1.25 var(--f-display); margin: 2px 0 6px; }
.ip-ep p { margin: 0 0 10px; }
.ip-when { font: 500 13px var(--f-mono); color: var(--ink-soft); margin: 0 !important; }
.ip-note { font: 400 14px var(--f-mono); color: var(--ink-soft); margin: 12px 0 0; }
.ip-audio { width: 100%; max-width: 520px; display: block; }
.ip-vids { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 24px; border-top: 0; }
.ip-vid { background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius); box-shadow: var(--shadow); padding: 12px 12px 16px; }
.ip-vid p { margin: 0 0 6px; font-size: 16px; color: var(--ink-soft); }
.ip-yt, .ip-frame { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--radius); overflow: hidden; margin-bottom: 10px; background: var(--paper-2); }
.ip-yt img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ip-play { position: absolute; right: 14px; bottom: 14px; width: 56px; height: 56px; border-radius: 50%; background: var(--brand); box-shadow: var(--shadow); }
.ip-play::after { content: ""; position: absolute; left: 22px; top: 17px; border-style: solid; border-width: 11px 0 11px 17px; border-color: transparent transparent transparent var(--brand-ink); }
.ip-yt:hover .ip-play, .ip-yt:focus-visible .ip-play { background: var(--ink); }
.ip-noimg a { grid-template-columns: 1fr; }
.ip-noimg .pp-item-text { grid-column: 1; }
@media (max-width: 620px) { .ip-vids { grid-template-columns: 1fr; } .ip-show { grid-template-columns: 96px 1fr; gap: 14px; } .ip-show img { width: 96px; height: 96px; } }
.top nav { flex-wrap: wrap; justify-content: flex-end; row-gap: 4px; }

/* Logo turtle in the hero. Canvas size is reserved by width/height and aspect-ratio, so nothing shifts. */
.turtle { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: clamp(16px, 4vw, 40px); align-items: start; border-top: 1px solid var(--rule); padding-top: clamp(20px, 3vw, 32px); }
.turtle-stage { position: relative; width: 100%; max-width: 400px; }
.turtle canvas { display: block; width: 100%; height: auto; aspect-ratio: 5 / 4; background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius); box-shadow: var(--shadow); }
.turtle-sprite { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform: translate(-50%,-50%); border-left: 7px solid transparent; border-right: 7px solid transparent; border-bottom: 16px solid var(--brand); pointer-events: none; }
.turtle-panel .kicker { margin-bottom: 6px; }
.turtle-note { margin: 0 0 14px; font-size: 16px; color: var(--ink-soft); max-width: 48ch; }
.turtle:not(.ready) .turtle-ctl { visibility: hidden; }
.turtle-presets { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.chip { font: 500 14px var(--f-mono); padding: 7px 12px; border: 1px solid var(--ink); border-radius: 999px; background: var(--card); color: var(--ink); cursor: pointer; }
.chip:hover { background: var(--paper-2); color: var(--brand); border-color: var(--brand); }
.turtle-label { display: block; font: 500 13px var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 4px; }
.turtle textarea { width: 100%; font: 400 14px/1.45 var(--f-mono); padding: 10px; border: 1px solid var(--ink); border-radius: var(--radius); background: var(--card); color: var(--ink); resize: vertical; }
.turtle-help { margin: 4px 0 0; font: 400 13px var(--f-mono); color: var(--ink-soft); }
.turtle .go { margin-top: 10px !important; }
.turtle-err { margin: 10px 0 0; padding: 8px 12px; border-left: 4px solid var(--c-toys); background: var(--err-bg); font: 500 14px var(--f-mono); color: var(--err-ink); }
.turtle-status { margin: 10px 0 0; font: 400 14px var(--f-mono); color: var(--ink-soft); min-height: 1.5em; }
.turtle-credit { margin: 6px 0 0; font-size: 14px; color: var(--ink-soft); }

.lightbox { max-width: min(96vw, 1100px); max-height: 94vh; padding: 16px; border: 0; border-radius: var(--radius); background: var(--card); color: var(--ink); box-shadow: 0 20px 60px rgba(0,0,0,.45); }
.lightbox::backdrop { background: var(--scrim); }
.lightbox figure { margin: 0; }
.lightbox img { display: block; max-width: 100%; max-height: 74vh; width: auto; height: auto; margin: 0 auto; }
.lightbox figcaption { margin-top: 10px; font: 500 15px var(--f-mono); }
.lb-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; }
@media (max-width: 820px) {
  .turtle { grid-template-columns: 1fr; }
  .turtle-stage { max-width: none; }
}

/* Overflow fix (Bryan, Nov 11): nothing in the hero widens the page. */
html, body { overflow-x: clip; }
.turtle-panel, .turtle-stage { min-width: 0; max-width: 100%; }

.turtle-more { margin: 6px 0 0; font: 500 15px var(--f-mono); }
.turtle-more a:hover { color: var(--ink); }

/* /art/ gallery and /art/<piece>/ pages. Built from tools/art_manifest.json by tools/art_build.py. */
.art-page { max-width: 1080px; }
.art-page .art-piece, .art-page .pp-pager { max-width: 760px; }
.art-credit { margin: 6px 0 0; font-size: 15px; color: var(--ink-soft); }
.art-grid { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: 28px 20px; }
.art-card { min-width: 0; }
.art-open { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; font: inherit; color: inherit; }
.art-open img { display: block; width: 100%; height: auto; border: 6px solid var(--card); border-radius: var(--radius); box-shadow: var(--shadow); background: var(--paper-2); transition: opacity .15s; }
.art-thumb img { aspect-ratio: 1 / 1; object-fit: cover; }
.art-open:hover img, .art-open:focus-visible img { opacity: .85; }
.art-card-t { font: 600 20px/1.25 var(--f-display); margin: 10px 0 2px; }
.art-card-t a { color: var(--ink); text-decoration: none; }
.art-card-t a:hover, .art-card-t a:focus-visible { color: var(--brand); text-decoration: underline; }
.art-card-m, .art-hero figcaption { margin: 0; font: 500 13px var(--f-mono); color: var(--ink-soft); }
.art-more { margin: 36px 0 0; font: 500 15px var(--f-mono); }
.art-piece header { border-bottom: 2px solid var(--ink); padding-bottom: 16px; margin-bottom: 20px; }
.art-hero { margin: 24px 0 8px; }
.art-hero.tall .art-open { max-width: 420px; margin: 0 auto; }
.art-hero figcaption { margin-top: 8px; text-align: center; }
.art-sec { margin-top: 36px; min-width: 0; }
.art-sec h2 { font: 600 clamp(24px, 3.2vw, 30px)/1.2 var(--f-display); margin: 0 0 10px; }
.art-code { max-width: 100%; overflow: auto; max-height: 420px; margin: 16px 0 0; padding: 14px 16px; background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius); box-shadow: var(--shadow); font: 400 14px/1.5 var(--f-mono); white-space: pre; overscroll-behavior: contain; }
.art-code code { font: inherit; }
.art-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 14px 0 0; }
.art-copied { font: 500 14px var(--f-mono); color: var(--c-turtle); }
.art-steps, .art-see { padding-left: 1.4em; }
.art-steps li, .art-see li { margin: 0 0 8px; }
.art-await { padding: 14px 18px; border-left: 4px solid var(--c-lab); background: var(--note-bg); border-radius: var(--radius); }
.art-await p { margin: 0; }
@media (prefers-reduced-motion: reduce) { .art-open img { transition: none; } }

/* /art/salonities/ archive and SLOAF Hotline flyers set. Built by tools/salonities_build.py. Hover: color, underline, or opacity only. */
.sal-cap { margin: 6px 0 0; font-size: 15px; line-height: 1.45; color: var(--ink-soft); overflow-wrap: anywhere; }
.sal-pixel img { image-rendering: pixelated; object-fit: contain; background: var(--card); }
.sal-flyer-link { display: block; }
.sal-flyer-link img { display: block; width: 100%; height: auto; border: 6px solid var(--card); border-radius: var(--radius); box-shadow: var(--shadow); transition: opacity .15s; }
.sal-flyer-link:hover img, .sal-flyer-link:focus-visible img { opacity: .85; }
.sal-set h2 a { color: var(--ink); text-decoration: none; }
.sal-set h2 a:hover, .sal-set h2 a:focus-visible { color: var(--c-salon-ink); text-decoration: underline; }
.sal-retired { display: inline-block; padding: 0 6px; border: 1px solid currentColor; border-radius: 4px; color: var(--c-salon-ink); font: 500 12px var(--f-mono); text-transform: uppercase; letter-spacing: .04em; }
.sal-hold-chip { display: inline-block; padding: 0 6px; border-radius: 4px; background: #ffe7a3; color: var(--ink); font: 500 12px var(--f-mono); text-transform: uppercase; }
.sal-hold { margin: 12px 0; padding: 12px 14px; background: #fff3cd; border: 1px solid #e0b84c; border-radius: var(--radius); font-size: 15px; }
.sal-year { font: 500 .6em var(--f-mono); color: var(--ink-soft); }
.sal-flyer-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 20px; }
.sal-flyer { margin: 16px 0 0; min-width: 0; }
.sal-notes { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 18px; }
.sal-note { min-width: 0; background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius); padding: 14px 16px; box-shadow: var(--shadow); }
.sal-note h3 { font: 600 19px/1.25 var(--f-display); margin: 0 0 2px; }
.sal-note p { margin: 6px 0 0; font-size: 15px; overflow-wrap: anywhere; }

/* /toys shelves (Nov 15 2026) */
.toy-shelves { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; }
.toy-shelves a { font: 500 14px var(--f-mono, monospace); padding: 6px 12px; border: 2px solid var(--c-toys); border-radius: 999px; text-decoration: none; }
#lb-cap a { margin-left: 4px; }

/* /teach/listen (Nov 15 2026) */
.tl-group { margin-top: 14px; }
.tl-group summary { font: 600 20px/1.3 var(--f-display); }
.tl-count { font: 500 13px var(--f-mono); color: var(--ink-soft); margin-left: 8px; white-space: nowrap; }
.tl-list { margin-top: 12px; }
.tl-track { padding: 12px 4px; }
.tl-track h3 { font-size: 18px; }
.tl-show { margin-top: 20px; }
.tl-show h3 { font: 600 24px/1.2 var(--f-display); margin: 0 0 6px; }
.tl-show .ip-audio { margin-top: 12px; }
.tl-sub { font: 600 24px/1.2 var(--f-display); margin: 36px 0 8px; }
.tl-jump { margin-top: 18px; }
.tl-jump a { border-color: var(--brand, var(--ink)); }
.tl-teach-link { margin-top: 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.tl-teach-link span { font-size: 16px; color: var(--ink-soft); }

/* Front door and section pages (Nov 15 2026) */
.hero.front { min-height: 0; padding-bottom: clamp(16px, 3vw, 32px); }
.hero.front .lede { margin-bottom: 0; }
.doors-band { border-top: 2px solid var(--ink); padding: clamp(28px, 5vw, 48px) 0; }
.doors-k { margin-bottom: 18px; }
.doors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 640px) { .doors { grid-template-columns: 1fr; } }
.door { display: flex; flex-direction: column; padding: 20px; border-top: 6px solid var(--brand); }
.door-h { margin: 0; }
.door-h a { display: inline-flex; align-items: baseline; gap: 10px; color: var(--ink); text-decoration: none; }
.door-h a:hover .slash { color: var(--brand); }
.door .what { margin: 4px 0 10px; font-family: var(--f-voice); font-style: italic; }
.door-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.door-list li { border-bottom: 1px solid var(--rule); }
.door-list a { display: block; padding: 7px 2px; font-size: 16px; line-height: 1.35; color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.door-list a::before { content: "\203A"; color: var(--brand); margin-right: 8px; font-weight: 600; }
.door-list a:hover { background: var(--paper-2); color: var(--brand); }
.door-all { margin: auto 0 0 !important; padding-top: 12px; display: flex; flex-wrap: wrap; gap: 6px 16px; font: 500 14px var(--f-mono); }
.door-all a { color: var(--brand); text-decoration: none; }
.door-all a:hover { text-decoration: underline; }
.play { border-top: 2px solid var(--ink); padding: clamp(28px, 5vw, 48px) 0; }
.play .turtle { border-top: 0; padding-top: 0; }
.sec-back { margin: 20px 0 0; }
.section-page .band { border-top: 0; padding-top: clamp(20px, 4vw, 40px); }
.band-head h1 { font: 400 clamp(44px, 6vw, 64px)/1 var(--f-crt); margin: 4px 0 0; color: var(--brand); letter-spacing: 0; }
.top nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }
@media (max-width: 820px) { .hero.front .portrait { max-width: 200px; } }

/* Five doors (Nov 15 2026, 10:00 PM): 3 + 2 on desktop, 2 + 2 + 1 on tablets, one column on phones */
.doors { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.doors > .door { grid-column: span 2; }
.doors > .door:nth-child(4) { grid-column: 2 / span 2; }
.doors > .door:nth-child(5) { grid-column: 4 / span 2; }
@media (max-width: 980px) {
  .doors { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .doors > .door, .doors > .door:nth-child(4) { grid-column: auto; }
  .doors > .door:nth-child(5) { grid-column: 1 / -1; }
}
@media (max-width: 640px) { .doors { grid-template-columns: 1fr; } .doors > .door:nth-child(5) { grid-column: auto; } }
@media (max-width: 440px) { .top nav { gap: 10px; font-size: 14px; } }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Turtle invite strip and drawer, right under the intro */
.invite { border-top: 2px solid var(--ink); }
.invite-bar { list-style: none; display: flex; align-items: center; gap: 14px; padding: 14px 4px; cursor: pointer; }
.invite-bar::-webkit-details-marker { display: none; }
.invite-mark { flex: none; width: 0; height: 0; border-left: 9px solid transparent; border-right: 9px solid transparent; border-bottom: 20px solid var(--c-turtle); transform: rotate(30deg); }
.invite-text { flex: 1; min-width: 0; }
.invite-t { font: 400 26px/1.1 var(--f-crt); color: var(--brand); }
.invite-s { font: italic 400 16px/1.35 var(--f-voice); color: var(--ink-soft); }
.invite-go { flex: none; font: 500 14px var(--f-mono); color: var(--brand); border: 1px solid var(--brand); border-radius: 999px; padding: 5px 12px; }
.invite-go::after { content: "Open \2193"; }
.invite[open] .invite-go::after { content: "Close \2191"; }
.invite-bar:hover .invite-go { background: var(--brand); color: var(--brand-ink); }
.invite[open] { padding-bottom: clamp(24px, 4vw, 40px); }
@media (max-width: 520px) { .invite-s { display: block; } .invite-go { padding: 5px 9px; } }

/* Disk loader */
.invite .turtle { display: block; border-top: 1px solid var(--rule); padding-top: 18px; }
.dl-head .turtle-note { max-width: 70ch; }
.dl-deck { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 300px); gap: 18px; align-items: center; margin: 4px 0 20px; }
.dl-shelf { list-style: none; margin: 0; padding: 6px 4px 12px; display: flex; gap: 14px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; min-width: 0; }
.dl-shelf li { flex: none; scroll-snap-align: start; }
.dl-disk {
  position: relative; display: block; width: 118px; height: 118px; padding: 0; border: 0; border-radius: 3px; cursor: grab;
  background: #1b1918; color: inherit; font: inherit; touch-action: pan-x; user-select: none; -webkit-user-select: none;
  box-shadow: inset 0 0 0 1px #3a3532, 0 6px 14px -8px rgba(0,0,0,.6); transition: transform .15s, opacity .2s;
}
.dl-disk::before { content: ""; position: absolute; left: 50%; top: 58%; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; background: var(--paper); box-shadow: 0 0 0 7px #2b2725; }
.dl-disk::after { content: ""; position: absolute; left: 50%; bottom: 7px; width: 14px; height: 26px; margin-left: -7px; border-radius: 7px; background: #5a514b; }
.dl-label {
  position: absolute; left: 8px; right: 14px; top: 7px; min-height: 34px; padding: 3px 6px; border-radius: 1px; transform: rotate(-1.5deg);
  background: #fbf7ea repeating-linear-gradient(transparent 0 11px, #b9cbe6 11px 12px); background-position: 0 4px;
  font: italic 400 13px/1.15 var(--f-voice); color: #1f3f8f; text-align: left; overflow-wrap: anywhere;
  box-shadow: inset 0 3px 0 var(--c-toys);
}
.dl-shelf li:nth-child(2) .dl-label { transform: rotate(1deg); box-shadow: inset 0 3px 0 var(--c-hamlet); }
.dl-shelf li:nth-child(3) .dl-label { transform: rotate(-.5deg); box-shadow: inset 0 3px 0 var(--c-civic); }
.dl-shelf li:nth-child(4) .dl-label { transform: rotate(.8deg); box-shadow: inset 0 3px 0 var(--rule); color: #6b6560; }
.dl-disk:hover { transform: translateY(-3px); }
.dl-disk.in, .dl-disk.lifted { opacity: .35; transform: none; }
.dl-ghost { position: fixed; left: 0; top: 0; z-index: 50; pointer-events: none; opacity: .95; transition: none; box-shadow: 0 18px 30px -10px rgba(0,0,0,.6); }
.dl-drive {
  position: relative; display: grid; grid-template-columns: 1fr auto; grid-template-areas: "slot slot" "read eject"; gap: 10px 12px; align-items: center;
  padding: 14px 14px 12px; border-radius: var(--radius); background: linear-gradient(#e7dcc6, #d6c9ae); border: 1px solid #a99c82;
  box-shadow: inset 0 1px 0 #f6efdf, var(--shadow);
}
.dl-slot { grid-area: slot; position: relative; display: block; height: 16px; border-radius: 3px; background: #1d1a17; box-shadow: inset 0 2px 3px #000; }
.dl-lever { position: absolute; left: 50%; top: -6px; width: 40px; height: 28px; margin-left: -20px; border-radius: 3px; background: linear-gradient(#cfc2a6, #b4a687); border: 1px solid #8e8169; transition: transform .2s; }
.dl-drive.full .dl-lever { transform: rotate(90deg); }
.dl-led { position: absolute; right: 14px; top: 38px; width: 10px; height: 6px; border-radius: 1px; background: #4a2a22; }
.dl-drive.busy .dl-led { background: #ff4a2a; box-shadow: 0 0 8px #ff4a2a; animation: dl-blink .16s steps(2) infinite; }
.dl-drive.over { outline: 3px dashed var(--c-turtle); outline-offset: 4px; }
@keyframes dl-blink { 50% { opacity: .3; } }
.dl-read { grid-area: read; font: 400 20px/1 var(--f-crt); color: #2c2620; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; padding-right: 18px; }
.dl-drive .dl-mini { grid-area: eject; }
.dl-mini { font: 500 13px var(--f-mono); padding: 6px 10px; border: 1px solid var(--ink); border-radius: var(--radius); background: var(--card); color: var(--ink); cursor: pointer; }
.dl-mini:hover { color: var(--brand); border-color: var(--brand); }
.dl-mini[aria-pressed="false"] { color: var(--ink-soft); border-style: dashed; }
.dl-work { display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 1fr); gap: clamp(16px, 3vw, 32px); align-items: start; }
.dl-left { min-width: 0; }
.dl-left .turtle-stage { max-width: none; }
.dl-orig { margin-top: 12px; }
.dl-orig-btn { display: inline-flex !important; align-items: center; gap: 12px; width: auto !important; font: 500 14px var(--f-mono) !important; color: var(--brand) !important; }
.dl-orig-btn[hidden] { display: none !important; }
.dl-orig-btn img { width: auto !important; max-width: 120px; max-height: 96px; border-width: 4px !important; }
.crt { background: #0f1410; border-radius: 10px; padding: 10px 12px 12px; box-shadow: inset 0 0 0 2px #2a312b, inset 0 0 40px rgba(0,0,0,.6), var(--shadow); }
.crt-bar { display: flex; justify-content: space-between; align-items: center; margin: 0 0 6px; font: 400 20px/1 var(--f-crt); color: #7fe39a; border-bottom: 1px solid #2c4a33; padding-bottom: 6px; }
.crt-edit { font: 400 18px/1 var(--f-crt); color: #0f1410; background: #7fe39a; border: 0; border-radius: 2px; padding: 3px 8px; cursor: pointer; }
.turtle .crt-lines, .turtle .crt-text {
  display: block; width: 100%; height: 260px; margin: 0; overflow: auto; font: 400 14px/1.5 "IBM Plex Mono", ui-monospace, monospace; color: #9cf5b0;
  background: repeating-linear-gradient(rgba(255,255,255,.025) 0 1px, transparent 1px 3px); text-shadow: 0 0 6px rgba(127,227,154,.35);
}
.crt-lines { list-style: none; padding: 0 0 0 3.2em; counter-reset: ln; cursor: text; white-space: pre; }
.crt-lines li { counter-increment: ln; position: relative; padding-right: 8px; }
.crt-lines li::before { content: counter(ln); position: absolute; left: -3.2em; width: 2.4em; text-align: right; color: #3f7a4f; }
.crt-lines li.cur { background: #9cf5b0; color: #0f1410; text-shadow: none; }
.turtle .crt-text { border: 1px solid #2c4a33; border-radius: 2px; padding: 4px 8px; resize: vertical; caret-color: #9cf5b0; }
.turtle .crt-text:focus-visible { outline: 2px solid #7fe39a; outline-offset: 2px; }
.dl-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 12px 0 0; }
.dl-row .btn { padding-left: 14px; padding-right: 14px; }
.dl-speed { display: inline-flex; align-items: center; gap: 6px; font: 500 13px var(--f-mono); color: var(--ink-soft); }
.dl-speed input { width: 96px; accent-color: var(--brand); }
@media (max-width: 860px) {
  .dl-deck { grid-template-columns: 1fr; }
  .dl-work { grid-template-columns: 1fr; }
}
@media (max-width: 520px) { .dl-disk { width: 100px; height: 100px; } .turtle .crt-lines, .turtle .crt-text { height: 220px; font-size: 13px; } }
@media (prefers-reduced-motion: reduce) { .dl-disk, .dl-lever { transition: none; } .dl-drive.busy .dl-led { animation: none; } }
/* /make: Logo turtle disks */
.mk-disks { grid-column: 1 / -1; }
.mk-note { margin: 4px 0 0; font-size: 17px; color: var(--ink-soft); max-width: 60ch; }
.mk-disk-list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 170px), 1fr)); gap: 24px 20px; }
.mk-disk { min-width: 0; }
.mk-disk .dl-disk { cursor: default; }
.mk-disk .dl-disk:hover { transform: none; }
.mk-disk h3 { font: 600 19px/1.25 var(--f-display); margin: 10px 0 0; }
.mk-disk .go { margin-top: 8px; }
.turtle .crt-lines[hidden], .turtle .crt-text[hidden] { display: none; }
.dl-led { right: 14px; top: 4px; }
.dl-label { font-size: 12px; line-height: 1.1; min-height: 30px; }
.dl-head .kicker { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.turtle .crt-lines { position: relative; }

/* ON AIR: RadioSAMOHI players paired with the station essay (Bryan, Nov 16 2026) */
.onair { display: flex; align-items: center; gap: 14px; margin: 22px 0; padding: 12px 16px; background: var(--pop-black); color: var(--brand-ink);
  border-radius: var(--radius); box-shadow: var(--shadow); border-left: 4px solid var(--brand-signal); transform: rotate(-.4deg); }
.onair:nth-of-type(even) { transform: rotate(.4deg); }
.onair-btn { flex: none; width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--brand-ink); background: transparent; cursor: pointer; display: grid; place-items: center; }
.onair-btn:focus-visible { outline: 3px solid var(--brand-signal); outline-offset: 3px; }
.onair-ico { width: 0; height: 0; border-style: solid; border-width: 9px 0 9px 15px; border-color: transparent transparent transparent var(--brand-ink); margin-left: 4px; }
.onair.live .onair-ico { width: 14px; height: 18px; border: 0; margin: 0; border-left: 5px solid var(--brand-ink); border-right: 5px solid var(--brand-ink); }
.onair figcaption { flex: 1; min-width: 0; display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; align-items: center; }
.onair-tag { grid-column: 1 / -1; font-family: "VT323", monospace; font-size: 17px; letter-spacing: .12em; color: var(--brand-signal); }
.onair.live .onair-tag { animation: onairblink 1.4s steps(2, start) infinite; }
.onair-title { font-family: "Fraunces", Georgia, serif; font-weight: 600; font-size: 18px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.onair-time { font-family: "IBM Plex Mono", monospace; font-size: 13px; color: var(--brand-light); }
.onair-bar { grid-column: 1 / -1; height: 6px; margin-top: 6px; border-radius: 3px; background: rgba(255,255,255,.18); cursor: pointer; overflow: hidden; }
.onair-bar span { display: block; width: 0; height: 100%; background: var(--brand-signal); }
.onair-more { margin-top: 26px; font-family: "IBM Plex Mono", monospace; font-size: 15px; }
@keyframes onairblink { to { visibility: hidden; } }
@media (prefers-reduced-motion: reduce) { .onair, .onair:nth-of-type(even) { transform: none; } .onair.live .onair-tag { animation: none; } }

/* E-Prime Machine invite (home), sits under the turtle drawer */
.eprime-invite { border-top: 1px solid var(--ink); }
.invite-mark.em-mark { width: auto; height: auto; border: 0; transform: none; font: 400 22px/1 var(--f-crt); color: var(--brand); text-decoration: line-through wavy var(--brand); padding: 0 2px; }
.invite-go.em-go-pill::after { content: none; }
.eprime-invite .invite-bar:hover .invite-go { background: var(--brand); color: var(--brand-ink); }

/* Minecraft invite (home): a grass block in universe colors (Hamlet Moss over Brick deep) */
.mc-invite { border-top: 1px solid var(--ink); }
.invite-mark.mc-mark { border: 2px solid var(--ink); transform: none; border-radius: 0; background: linear-gradient(var(--c-hamlet) 0 38%, var(--brand-deep) 38% 100%); }
.mc-invite .invite-bar:hover .invite-go { background: var(--brand); color: var(--brand-ink); }

/* Re-Education card in its own paints (universe v5): plum RE, coral slashes, plum rule. */
.card.re { border-top: 6px solid var(--c-reed); }
.card.re .re-mark { color: var(--c-reed-coral); border-right-color: var(--c-reed); }
.card.re .re-mark span:first-child { color: var(--c-reed); }
