:root {
  --paper: #f5f0e5;
  --paper-2: #ece3d1;
  --ink: #202720;
  --muted: #667067;
  --line: rgba(44, 64, 51, .18);
  --green: #315f50;
  --green-2: #6c9a80;
  --amber: #ca8d42;
  --coral: #cf6654;
  --terminal: #0c120e;
  --terminal-text: #c4dac6;
  --shadow: 0 18px 60px rgba(59, 53, 39, .11);
  --radius: 22px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  min-width: 320px;
}
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }

.site-shell { min-height: 100vh; }
.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  min-height: 62px;
  padding: 10px clamp(16px, 3vw, 44px);
  background: rgba(245, 240, 229, .92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--green);
  color: #fff8e9;
  font-family: Georgia, serif;
  font-weight: 700;
}
.brand strong { font-family: Georgia, serif; font-size: 1.04rem; letter-spacing: .06em; }
.brand small { display: block; color: var(--muted); font-size: .58rem; letter-spacing: .16em; text-transform: uppercase; }
.concept-nav { justify-self: center; display: flex; gap: 5px; padding: 5px; border-radius: 999px; background: rgba(49, 95, 80, .08); }
.concept-nav a { padding: 8px 13px; border-radius: 999px; color: var(--muted); text-decoration: none; font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.concept-nav a.active { background: var(--green); color: #fff; }
.coin-top { display: flex; align-items: center; gap: 9px; min-width: 0; }
.coin-top b { color: var(--coral); font-size: .78rem; letter-spacing: .07em; }
.coin-address { max-width: 250px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); font: 600 .61rem/1.2 ui-monospace, monospace; }
.copy-button, .tiny-button {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.48);
  color: var(--ink);
  cursor: pointer;
  padding: 7px 10px;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.page { width: min(1540px, calc(100% - 32px)); margin: 0 auto; padding: 30px 0 70px; }
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, .6fr);
  align-items: end;
  gap: 40px;
  padding: clamp(34px, 5vw, 74px) 0 34px;
}
.live-kicker { display: flex; align-items: center; gap: 9px; color: var(--green); font: 800 .68rem/1 ui-monospace, monospace; letter-spacing: .16em; text-transform: uppercase; }
.live-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 0 rgba(207,102,84,.45); animation: pulse 1.8s infinite; }
@keyframes pulse { 60% { box-shadow: 0 0 0 12px rgba(207,102,84,0); } }
.hero h1 { max-width: 980px; margin: 17px 0 18px; font: 500 clamp(3rem, 7vw, 7.2rem)/.88 Georgia, serif; letter-spacing: -.06em; }
.hero h1 em { color: var(--coral); font-weight: 400; }
.hero-copy { max-width: 920px; color: var(--muted); font-size: clamp(1rem, 1.5vw, 1.25rem); line-height: 1.65; }
.hero-side { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.42); box-shadow: var(--shadow); }
.hero-side-label { color: var(--muted); font: 800 .6rem ui-monospace, monospace; letter-spacing: .14em; text-transform: uppercase; }
.hero-side strong { display: block; margin: 12px 0 4px; font: 500 clamp(2.3rem, 4vw, 4.4rem)/1 Georgia, serif; }
.hero-side p { margin: 6px 0 0; color: var(--muted); line-height: 1.55; }

.metrics { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-bottom: 14px; }
.metric { min-height: 88px; padding: 15px 17px; border-radius: 16px; background: var(--paper-2); }
.metric span { display: block; color: var(--muted); font: 700 .57rem ui-monospace, monospace; letter-spacing: .1em; text-transform: uppercase; }
.metric strong { display: block; margin-top: 10px; font: 500 1.22rem Georgia, serif; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.broadcast-grid { display: grid; grid-template-columns: minmax(260px, .72fr) minmax(460px, 1.5fr) minmax(300px, .85fr); gap: 14px; align-items: start; }
.panel { border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.47); box-shadow: var(--shadow); overflow: hidden; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 54px; padding: 13px 17px; border-bottom: 1px solid var(--line); }
.panel-head h2 { margin: 0; font: 600 .72rem ui-monospace, monospace; letter-spacing: .12em; text-transform: uppercase; }
.panel-head span { color: var(--muted); font: 700 .58rem ui-monospace, monospace; }

.queue-panel { max-height: 880px; position: sticky; top: 76px; }
.queue-tools { display: flex; gap: 6px; padding: 10px; border-bottom: 1px solid var(--line); overflow-x: auto; }
.filter-chip { white-space: nowrap; border: 0; border-radius: 999px; padding: 7px 10px; background: rgba(49,95,80,.08); color: var(--muted); cursor: pointer; font-size: .61rem; font-weight: 800; text-transform: uppercase; }
.filter-chip.active { background: var(--green); color: #fff; }
.task-list { max-height: 760px; overflow: auto; padding: 7px; }
.task-item { width: 100%; display: grid; grid-template-columns: 34px 1fr auto; gap: 9px; align-items: start; padding: 11px 9px; border: 0; border-radius: 13px; background: transparent; color: inherit; text-align: left; cursor: pointer; }
.task-item:hover { background: rgba(49,95,80,.07); }
.task-item.active { background: rgba(202,141,66,.17); }
.task-item.done { opacity: .55; }
.task-no { display: grid; place-items: center; width: 29px; height: 29px; border-radius: 50%; background: var(--paper-2); color: var(--green); font: 800 .62rem ui-monospace, monospace; }
.task-item.done .task-no { background: var(--green); color: white; }
.task-title { display: block; font-size: .76rem; line-height: 1.35; }
.task-category { display: block; margin-top: 4px; color: var(--muted); font: 700 .52rem ui-monospace, monospace; letter-spacing: .06em; text-transform: uppercase; }
.task-time { color: var(--muted); font: 700 .54rem ui-monospace, monospace; }

.stage-panel { min-height: 630px; }
.stage-inner { padding: clamp(18px, 3vw, 30px); }
.task-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { border-radius: 999px; padding: 6px 10px; background: rgba(49,95,80,.09); color: var(--green); font: 800 .57rem ui-monospace, monospace; letter-spacing: .06em; text-transform: uppercase; }
.stage-title { margin: 20px 0 14px; font: 500 clamp(2rem, 4vw, 4.2rem)/.98 Georgia, serif; letter-spacing: -.035em; }
.prompt-card { padding: 19px; border-left: 4px solid var(--amber); border-radius: 0 15px 15px 0; background: var(--paper-2); color: #39423b; font: 500 .9rem/1.65 ui-monospace, monospace; white-space: pre-wrap; }
.rubric { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.rubric div { padding: 12px 14px; border-radius: 13px; background: rgba(49,95,80,.06); color: var(--muted); font-size: .7rem; line-height: 1.45; }
.rubric b { display: block; margin-bottom: 4px; color: var(--ink); font: 800 .54rem ui-monospace, monospace; letter-spacing: .09em; text-transform: uppercase; }
.controls { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; }
.control {
  min-height: 42px;
  border: 0;
  border-radius: 999px;
  padding: 0 17px;
  background: var(--green);
  color: #fff;
  cursor: pointer;
  font-weight: 850;
  font-size: .68rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.control.secondary { background: var(--paper-2); color: var(--ink); }
.control.danger { background: rgba(207,102,84,.13); color: #9d4435; }
.control:disabled { opacity: .42; cursor: wait; }
.response-shell { min-height: 250px; border-radius: 16px; background: var(--terminal); color: var(--terminal-text); overflow: hidden; }
.response-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 14px; border-bottom: 1px solid rgba(196,218,198,.13); color: #7e9c82; font: 700 .56rem ui-monospace, monospace; letter-spacing: .09em; text-transform: uppercase; }
.response-body { min-height: 205px; max-height: 470px; overflow: auto; margin: 0; padding: 17px; color: #d7e5d6; font: 500 .76rem/1.68 ui-monospace, monospace; white-space: pre-wrap; }

.route-panel { position: sticky; top: 76px; }
.tree-wrap { position: relative; min-height: 480px; margin: 10px; border-radius: 17px; background: radial-gradient(circle at 50% 42%, rgba(108,154,128,.18), transparent 43%), var(--terminal); overflow: hidden; }
.tree-node { position: absolute; z-index: 3; display: grid; place-items: center; width: 54px; height: 54px; margin: -27px 0 0 -27px; border: 1px solid rgba(196,218,198,.33); border-radius: 50%; background: #111b15; color: #9bb29e; font: 800 .46rem/1.1 ui-monospace, monospace; letter-spacing: .04em; text-align: center; text-transform: uppercase; transition: .3s ease; }
.tree-node.active { border-color: #ffd08a; background: #5c4828; color: #fff1d9; box-shadow: 0 0 0 8px rgba(202,141,66,.13), 0 0 28px rgba(202,141,66,.44); transform: scale(1.06); }
.tree-edge { position: absolute; z-index: 1; height: 1px; transform-origin: 0 50%; background: rgba(149,178,156,.17); transition: .3s ease; }
.tree-edge.active { height: 2px; background: linear-gradient(90deg, #ca8d42, #6c9a80); box-shadow: 0 0 10px rgba(202,141,66,.48); }
.route-readout { padding: 14px 17px 18px; }
.route-readout label { color: var(--muted); font: 800 .54rem ui-monospace, monospace; letter-spacing: .1em; text-transform: uppercase; }
.route-sequence { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 9px; }
.route-sequence span { padding: 6px 8px; border-radius: 7px; background: var(--paper-2); color: var(--green); font: 750 .57rem ui-monospace, monospace; }
.route-source { margin-top: 10px; color: var(--muted); font-size: .62rem; line-height: 1.45; }

.lower-grid { display: grid; grid-template-columns: 1.18fr .82fr; gap: 14px; margin-top: 14px; }
.terminal { min-height: 420px; background: var(--terminal); color: var(--terminal-text); }
.terminal .panel-head { border-color: rgba(196,218,198,.12); }
.terminal-lines { height: 365px; overflow: auto; padding: 15px 17px; font: 500 .69rem/1.65 ui-monospace, monospace; }
.terminal-line { display: grid; grid-template-columns: 72px 82px 1fr; gap: 8px; padding: 3px 0; }
.terminal-time { color: #66806c; }
.terminal-kind { color: #d1a15d; text-transform: uppercase; }
.terminal-msg { color: #bbcebd; overflow-wrap: anywhere; }

.channel { background: #151916; color: #ecf0e8; }
.channel .panel-head { border-color: rgba(255,255,255,.12); }
.video-shell { position: relative; aspect-ratio: 16/9; background: #050705; }
.video-shell video { width: 100%; height: 100%; display: block; object-fit: contain; }
.channel-overlay { position: absolute; left: 12px; top: 12px; display: flex; gap: 7px; align-items: center; pointer-events: none; }
.channel-overlay span { border-radius: 999px; padding: 6px 9px; background: rgba(8,13,9,.78); color: #dbe5da; font: 750 .53rem ui-monospace, monospace; letter-spacing: .08em; text-transform: uppercase; }
.channel-overlay .on-air { background: var(--coral); color: #fff; }
.channel-meta { padding: 15px 17px 17px; }
.channel-meta h3 { margin: 0; font: 500 1.35rem Georgia, serif; }
.channel-meta p { margin: 7px 0 0; color: #9caf9d; font-size: .68rem; line-height: 1.5; }
.channel-controls { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 13px; }
.channel-controls button { border: 1px solid rgba(255,255,255,.17); border-radius: 999px; background: transparent; color: #dbe5da; padding: 7px 11px; cursor: pointer; font-size: .6rem; font-weight: 800; text-transform: uppercase; }

.custom-task { margin-top: 14px; padding: 17px; border: 1px dashed var(--line); border-radius: 16px; }
.custom-task h3 { margin: 0 0 10px; font: 600 .68rem ui-monospace, monospace; letter-spacing: .09em; text-transform: uppercase; }
.custom-row { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.custom-row textarea { width: 100%; min-height: 76px; resize: vertical; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.7); color: var(--ink); padding: 11px; }
.footer { display: flex; justify-content: space-between; gap: 20px; margin-top: 25px; padding: 22px 4px; color: var(--muted); font-size: .68rem; line-height: 1.55; }
.footer a { color: var(--green); font-weight: 800; }

/* Version B: the route is the dominant object. */
.theme-observatory {
  --paper: #09100c;
  --paper-2: #111b15;
  --ink: #dce8db;
  --muted: #829889;
  --line: rgba(161,191,169,.16);
  --green: #75bd8d;
  --green-2: #84c59a;
  --amber: #e5aa5c;
  --coral: #e06d58;
  --shadow: 0 20px 70px rgba(0,0,0,.27);
  color-scheme: dark;
}
.theme-observatory .topbar { background: rgba(9,16,12,.92); }
.theme-observatory .brand-mark { background: var(--amber); color: #1d160c; }
.theme-observatory .concept-nav a.active { background: var(--amber); color: #20170c; }
.theme-observatory .hero { grid-template-columns: 1fr; }
.theme-observatory .hero h1 { max-width: 1180px; color: #eef4eb; font-family: ui-monospace, monospace; text-transform: uppercase; letter-spacing: -.055em; }
.theme-observatory .hero h1 em { color: var(--amber); font-family: Georgia, serif; text-transform: none; }
.theme-observatory .hero-side { display: none; }
.theme-observatory .broadcast-grid { grid-template-columns: minmax(260px,.64fr) minmax(460px,1.2fr) minmax(390px,1.15fr); }
.theme-observatory .panel { background: rgba(15,24,18,.88); }
.theme-observatory .route-panel { grid-column: 3; }
.theme-observatory .tree-wrap { min-height: 610px; background: radial-gradient(circle at 50% 42%, rgba(117,189,141,.12), transparent 44%), #050a07; }
.theme-observatory .route-sequence span, .theme-observatory .tag { background: rgba(117,189,141,.12); color: #a6d9b5; }
.theme-observatory .prompt-card { color: #c1d2c2; }
.theme-observatory .control.secondary { color: var(--ink); }
.theme-observatory .custom-row textarea { background: #0b120e; }

/* Version C: a calmer research field notebook. */
.theme-notebook {
  --paper: #f3ead8;
  --paper-2: #e7dbc1;
  --ink: #2c3028;
  --muted: #746f61;
  --line: rgba(79,71,51,.2);
  --green: #476d5e;
  --green-2: #7c9d82;
  --amber: #b9853e;
  --coral: #b85d4d;
}
.theme-notebook body, .theme-notebook { background-image: repeating-linear-gradient(0deg, transparent, transparent 31px, rgba(95,83,59,.055) 32px); }
.theme-notebook .topbar { background: rgba(243,234,216,.94); }
.theme-notebook .page { width: min(1380px, calc(100% - 32px)); }
.theme-notebook .hero { padding-top: 48px; }
.theme-notebook .hero h1 { font-style: italic; }
.theme-notebook .panel { border-radius: 5px 20px 5px 20px; background: rgba(255,252,244,.66); box-shadow: 0 14px 40px rgba(63,54,36,.09); }
.theme-notebook .broadcast-grid { grid-template-columns: minmax(260px,.78fr) minmax(500px,1.45fr) minmax(280px,.78fr); }
.theme-notebook .task-item.active { background: rgba(185,133,62,.2); }
.theme-notebook .stage-title { font-style: italic; }
.theme-notebook .prompt-card { background: rgba(231,219,193,.78); }
.theme-notebook .tree-wrap { min-height: 450px; }

@media (max-width: 1160px) {
  .coin-address { display: none; }
  .broadcast-grid { grid-template-columns: minmax(250px,.72fr) minmax(450px,1.28fr); }
  .route-panel { position: relative; top: auto; grid-column: 1 / -1; }
  .tree-wrap { min-height: 520px; }
  .theme-observatory .broadcast-grid, .theme-notebook .broadcast-grid { grid-template-columns: minmax(250px,.72fr) minmax(450px,1.28fr); }
  .theme-observatory .route-panel { grid-column: 1 / -1; }
}

@media (max-width: 820px) {
  .topbar { grid-template-columns: 1fr auto; gap: 10px; }
  .concept-nav { order: 3; grid-column: 1 / -1; justify-self: stretch; justify-content: center; }
  .coin-top { justify-self: end; }
  .page { width: min(100% - 20px, 720px); padding-top: 16px; }
  .hero { grid-template-columns: 1fr; padding-top: 40px; gap: 16px; }
  .hero h1 { font-size: clamp(3rem, 14vw, 5.4rem); }
  .metrics { grid-template-columns: repeat(2,1fr); }
  .broadcast-grid, .theme-observatory .broadcast-grid, .theme-notebook .broadcast-grid { grid-template-columns: 1fr; }
  .queue-panel, .route-panel { position: relative; top: auto; }
  .queue-panel { max-height: none; }
  .task-list { max-height: 410px; }
  .lower-grid { grid-template-columns: 1fr; }
  .rubric { grid-template-columns: 1fr; }
  .footer { flex-direction: column; }
}

@media (max-width: 520px) {
  .brand small, .copy-button { display: none; }
  .concept-nav a { flex: 1; text-align: center; padding-inline: 7px; }
  .hero-side { padding: 18px; }
  .metrics { grid-template-columns: 1fr 1fr; }
  .metric { min-height: 76px; }
  .stage-inner { padding: 16px; }
  .stage-title { font-size: 2rem; }
  .prompt-card { font-size: .76rem; }
  .custom-row { grid-template-columns: 1fr; }
  .terminal-line { grid-template-columns: 55px 66px 1fr; font-size: .61rem; }
  .tree-wrap { min-height: 460px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* Concept B: the Prometheus7 light palette translated into a pixel broadcast lab. */
.theme-pixel {
  --paper: #f7f0de;
  --paper-2: #e8ddc3;
  --ink: #20342d;
  --muted: #5d6d64;
  --line: rgba(37, 76, 61, .28);
  --green: #285f4a;
  --green-2: #74a88a;
  --amber: #e0a83f;
  --coral: #d8634e;
  --terminal: #102019;
  --radius: 0;
  image-rendering: pixelated;
  background-color: var(--paper);
  background-image: linear-gradient(rgba(40,95,74,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(40,95,74,.035) 1px, transparent 1px);
  background-size: 16px 16px;
}
.theme-pixel .topbar { background: rgba(247,240,222,.96); border-bottom: 3px solid var(--green); }
.theme-pixel .brand-mark, .theme-pixel .concept-nav a.active, .theme-pixel .control { border-radius: 0; box-shadow: 4px 4px 0 #153f31; }
.theme-pixel .brand-mark { clip-path: polygon(0 0, 82% 0, 82% 18%, 100% 18%, 100% 82%, 82% 82%, 82% 100%, 0 100%); }
.theme-pixel .hero { grid-template-columns: 1fr .38fr; padding-top: 52px; }
.theme-pixel .hero h1 { font-family: "Courier New", ui-monospace, monospace; font-weight: 900; letter-spacing: -.08em; text-transform: uppercase; text-shadow: 4px 4px 0 rgba(224,168,63,.35); }
.theme-pixel .hero h1 em { font-family: inherit; font-style: normal; color: var(--coral); }
.theme-pixel .hero-side, .theme-pixel .panel, .theme-pixel .metric, .theme-pixel .prompt-card, .theme-pixel .response-shell, .theme-pixel .custom-task { border-radius: 0; box-shadow: 6px 6px 0 rgba(40,95,74,.14); }
.theme-pixel .panel { border-width: 2px; background: rgba(255,252,241,.88); }
.theme-pixel .panel-head { border-bottom-width: 2px; }
.theme-pixel .panel-head h2, .theme-pixel .stage-title, .theme-pixel .channel-meta h3 { font-family: "Courier New", ui-monospace, monospace; }
.theme-pixel .task-no, .theme-pixel .task-item, .theme-pixel .tag, .theme-pixel .filter-chip, .theme-pixel .route-sequence span, .theme-pixel .channel-controls button { border-radius: 0; }
.theme-pixel .tree-wrap { border: 3px solid #244f3e; border-radius: 0; box-shadow: inset 0 0 0 5px #0b1712; }
.theme-pixel .tree-node { border-radius: 0; clip-path: polygon(20% 0,80% 0,80% 10%,90% 10%,90% 20%,100% 20%,100% 80%,90% 80%,90% 90%,80% 90%,80% 100%,20% 100%,20% 90%,10% 90%,10% 80%,0 80%,0 20%,10% 20%,10% 10%,20% 10%); }
.theme-pixel .live-dot { border-radius: 0; }

.explanation { margin-top: 14px; padding: clamp(22px,4vw,48px); border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.46); box-shadow: var(--shadow); }
.explanation-kicker { margin: 0 0 12px; color: var(--coral); font: 850 .62rem/1 ui-monospace, monospace; letter-spacing: .14em; text-transform: uppercase; }
.explanation h2 { max-width: 980px; margin: 0; font: 500 clamp(2.1rem,5vw,5.3rem)/.98 Georgia, serif; letter-spacing: -.045em; }
.explanation-lede { max-width: 980px; margin: 22px 0 0; color: var(--muted); font-size: clamp(.96rem,1.5vw,1.2rem); line-height: 1.7; }
.architecture-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-top: 24px; }
.architecture-card { padding: 18px; border: 1px solid var(--line); background: rgba(255,255,255,.45); }
.architecture-card span { color: var(--coral); font: 850 .58rem ui-monospace, monospace; letter-spacing: .1em; }
.architecture-card h3 { margin: 10px 0 7px; font: 600 1rem Georgia, serif; }
.architecture-card p { margin: 0; color: var(--muted); font-size: .72rem; line-height: 1.6; }
.explanation-note { margin: 18px 0 0; padding: 14px 17px; border-left: 4px solid var(--amber); background: var(--paper-2); color: var(--muted); font-size: .75rem; line-height: 1.65; }
.theme-pixel .explanation, .theme-pixel .architecture-card { border-width: 2px; border-radius: 0; box-shadow: 6px 6px 0 rgba(40,95,74,.14); }
.theme-pixel .explanation h2, .theme-pixel .architecture-card h3 { font-family: "Courier New", ui-monospace, monospace; }
.live-wordmark { margin: 0 0 12px; color: var(--green); font: 900 clamp(1.6rem,3vw,3rem)/1 "Courier New", ui-monospace, monospace; letter-spacing: .04em; text-transform: uppercase; }

@media (max-width: 980px) {
  .theme-pixel .hero { grid-template-columns: 1fr; }
  .architecture-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .architecture-grid { grid-template-columns: 1fr; }
}

/* Oracle7 Live selected skin: a real pixel terminal, optimized for 16:9 streaming. */
.theme-pixel {
  --paper: #07110d;
  --paper-2: #102219;
  --ink: #d7edcf;
  --muted: #80a48d;
  --line: rgba(105, 184, 126, .34);
  --green: #72cf88;
  --green-2: #3b8c5d;
  --amber: #f0b94f;
  --coral: #ee7258;
  --terminal: #030906;
  --terminal-text: #bfe5b6;
  --shadow: 4px 4px 0 rgba(0,0,0,.42);
  color-scheme: dark;
  overflow-x: hidden;
  background-color: var(--paper);
  background-image:
    linear-gradient(rgba(114,207,136,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(114,207,136,.035) 1px, transparent 1px);
  background-size: 8px 8px;
  color: var(--ink);
  font-family: "IBM Plex Mono", "Courier New", ui-monospace, monospace;
}
.theme-pixel::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  opacity: .1;
  background: repeating-linear-gradient(0deg, transparent 0 3px, rgba(0,0,0,.42) 3px 4px);
  mix-blend-mode: multiply;
}
.theme-pixel .topbar { background: rgba(4,13,8,.97); border: 0; border-bottom: 3px solid #397d52; box-shadow: 0 4px 0 #020503; backdrop-filter: none; }
.theme-pixel .brand strong,
.theme-pixel .hero h1,
.theme-pixel .live-wordmark,
.theme-pixel .panel-head h2,
.theme-pixel .concept-nav a,
.theme-pixel .control,
.theme-pixel .architecture-card h3 { font-family: "Press Start 2P", "Courier New", monospace; }
.theme-pixel .brand strong { color: #dbf4d4; font-size: .7rem; }
.theme-pixel .brand small { color: #60876f; font-size: .47rem; }
.theme-pixel .brand-mark { background: #173d29; color: var(--amber); border: 2px solid var(--green); box-shadow: 3px 3px 0 #020503; }
.theme-pixel .concept-nav { border: 1px solid #2d6845; border-radius: 0; background: #0b1b12; box-shadow: 3px 3px 0 #020503; }
.theme-pixel .concept-nav a { border-radius: 0; color: #6f9f7e; font-size: .48rem; }
.theme-pixel .concept-nav a.active { background: var(--green); color: #07110d; box-shadow: none; }
.theme-pixel .coin-top b { color: var(--amber); font-family: "Press Start 2P", monospace; font-size: .54rem; }
.theme-pixel .coin-address { color: #78a888; }
.theme-pixel .copy-button,
.theme-pixel .tiny-button { border: 1px solid #3a7550; border-radius: 0; background: #102219; color: #bce1b7; box-shadow: 2px 2px 0 #020503; }
.theme-pixel .hero h1 { color: #e6f7df; text-shadow: 3px 3px 0 #1c5133; }
.theme-pixel .hero h1 em { color: var(--amber); }
.theme-pixel .live-kicker { color: var(--green); }
.theme-pixel .live-dot { background: var(--coral); box-shadow: 0 0 0 2px #5b1e18; }
.theme-pixel .hero-copy { color: #71917c; }
.theme-pixel .metric { border: 1px solid #285c3d; border-radius: 0; background: #0b1b12; box-shadow: 2px 2px 0 #020503; }
.theme-pixel .metric span { color: #5e886d; }
.theme-pixel .metric strong { color: #d0eac9; font-family: "IBM Plex Mono", monospace; }
.theme-pixel .panel { border: 2px solid #2e6846; border-radius: 0; background: #09160f; box-shadow: 4px 4px 0 #020503; }
.theme-pixel .panel-head { border-color: #2b6242; background: #0e2116; }
.theme-pixel .panel-head h2 { color: var(--amber); font-size: .55rem; line-height: 1.35; }
.theme-pixel .panel-head span { color: #5e8a6d; }
.theme-pixel .queue-tools { border-color: #214e34; background: #07110d; }
.theme-pixel .filter-chip { border: 1px solid #285d3e; border-radius: 0; background: #0e2116; color: #79a486; font-family: "IBM Plex Mono", monospace; }
.theme-pixel .filter-chip.active { background: #397d52; color: #e5f5df; }
.theme-pixel .task-item { border-radius: 0; border-bottom: 1px solid rgba(87,145,101,.16); color: #bdd8b8; }
.theme-pixel .task-item:hover { background: #10291a; }
.theme-pixel .task-item.active { background: #253d1e; box-shadow: inset 4px 0 0 var(--amber); }
.theme-pixel .task-no { border: 1px solid #397d52; border-radius: 0; background: #0b1c12; color: var(--green); }
.theme-pixel .task-item.done .task-no { background: #397d52; color: #07110d; }
.theme-pixel .task-category,
.theme-pixel .task-time { color: #61866e; }
.theme-pixel .tag { border: 1px solid #326e49; border-radius: 0; background: #0d2115; color: #8bc79a; }
.theme-pixel .stage-title { color: #e4f1df; font-family: "IBM Plex Mono", monospace; font-weight: 700; }
.theme-pixel .prompt-card { border: 1px solid #386f4d; border-left: 4px solid var(--amber); border-radius: 0; background: #0c1b12; color: #b8d0b4; box-shadow: none; }
.theme-pixel .rubric div { border: 1px dashed #315f44; border-radius: 0; background: #0b1911; color: #73907b; }
.theme-pixel .rubric b { color: #acd0a9; }
.theme-pixel .control { border: 1px solid #69b87e; border-radius: 0; background: #397d52; color: #effbe9; box-shadow: 3px 3px 0 #020503; }
.theme-pixel .control.secondary { border-color: #386f4d; background: #10271a; color: #a4c9a3; }
.theme-pixel .control.danger { border-color: #934b3e; background: #3f201b; color: #f3a08d; }
.theme-pixel .live-wordmark { color: var(--green); text-shadow: 2px 2px 0 #143821; }
.theme-pixel .response-shell,
.theme-pixel .terminal { border: 1px solid #3b8055; border-radius: 0; background: #020704; box-shadow: inset 0 0 24px rgba(59,140,93,.08); }
.theme-pixel .response-head { border-color: #235036; color: #5d946e; }
.theme-pixel .response-body { color: #bfe5b6; }
.theme-pixel .tree-wrap { border: 2px solid #326f49; background: radial-gradient(circle at 50% 44%, rgba(67,153,95,.16), transparent 44%), #020704; box-shadow: inset 0 0 32px rgba(61,136,87,.13); }
.theme-pixel .tree-node { border-color: #3c7c54; background: #07140c; color: #6fa27d; }
.theme-pixel .tree-node.active { border-color: var(--amber); background: #533d18; color: #fff2bd; box-shadow: 0 0 0 4px rgba(240,185,79,.12), 0 0 16px rgba(240,185,79,.35); }
.theme-pixel .route-sequence span { border: 1px solid #285d3e; border-radius: 0; background: #0b1c12; color: #8fc69a; }
.theme-pixel .terminal-line { border-bottom: 1px dotted rgba(83,135,94,.12); }
.theme-pixel .terminal-kind { color: var(--amber); }
.theme-pixel .terminal-msg { color: #9bbd9a; }
.theme-pixel .channel { border-color: #6f5930; background: #070b08; }
.theme-pixel .channel .panel-head { background: #201a0d; border-color: #6f5930; }
.theme-pixel .video-shell { border-bottom: 2px solid #6f5930; image-rendering: pixelated; }
.theme-pixel .channel-meta h3 { color: #e5d3a1; font-family: "IBM Plex Mono", monospace; }
.theme-pixel .channel-controls button { border-radius: 0; border-color: #705b31; color: #dfca90; font-family: "IBM Plex Mono", monospace; }
.theme-pixel .explanation,
.theme-pixel .architecture-card,
.theme-pixel .custom-task { border-radius: 0; border-color: #315f44; background: #09160f; color: #b9d4b5; }
.theme-pixel ::-webkit-scrollbar { width: 8px; height: 8px; }
.theme-pixel ::-webkit-scrollbar-track { background: #06100a; }
.theme-pixel ::-webkit-scrollbar-thumb { background: #326b48; border: 2px solid #06100a; }

@media screen {
  body.theme-pixel { height: 100dvh; overflow: hidden; }
  .theme-pixel .site-shell { height: 100dvh; min-height: 0; overflow: hidden; }
  .theme-pixel .topbar { position: relative; height: 48px; min-height: 48px; padding: 5px 12px; gap: 12px; }
  .theme-pixel .brand { gap: 7px; }
  .theme-pixel .brand-mark { width: 29px; height: 29px; font-size: .65rem; }
  .theme-pixel .concept-nav { padding: 3px; gap: 2px; }
  .theme-pixel .concept-nav a { padding: 6px 9px; }
  .theme-pixel .coin-address { max-width: 190px; font-size: .51rem; }
  .theme-pixel .copy-button { padding: 5px 8px; font-size: .5rem; }
  .theme-pixel .page {
    width: calc(100% - 12px);
    height: calc(100dvh - 54px);
    margin: 6px;
    padding: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 306px;
    grid-template-rows: 54px 42px minmax(0, 1fr);
    gap: 6px;
    overflow: hidden;
  }
  .theme-pixel .hero { grid-column: 1 / -1; grid-row: 1; display: block; padding: 4px 8px; min-height: 0; }
  .theme-pixel .hero > div { height: 100%; display: grid; grid-template-columns: auto auto minmax(0,1fr); align-items: center; gap: 13px; }
  .theme-pixel .hero-side { display: none; }
  .theme-pixel .live-kicker { font-size: .49rem; white-space: nowrap; }
  .theme-pixel .live-dot { width: 8px; height: 8px; }
  .theme-pixel .hero h1 { margin: 0; max-width: none; font-size: clamp(1.45rem,2.15vw,2.35rem); line-height: 1; letter-spacing: -.07em; white-space: nowrap; }
  .theme-pixel .hero-copy { margin: 0; max-width: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .61rem; line-height: 1.3; }
  .theme-pixel .metrics { grid-column: 1 / -1; grid-row: 2; gap: 4px; margin: 0; min-height: 0; }
  .theme-pixel .metric { min-height: 0; padding: 5px 9px; box-shadow: 2px 2px 0 #020503; }
  .theme-pixel .metric span { font-size: .45rem; }
  .theme-pixel .metric strong { margin-top: 4px; font-size: .72rem; line-height: 1; }
  .theme-pixel .broadcast-grid { grid-column: 1; grid-row: 3; min-width: 0; min-height: 0; height: 100%; grid-template-columns: 218px minmax(390px,1fr) 258px; gap: 6px; }
  .theme-pixel .queue-panel,
  .theme-pixel .stage-panel,
  .theme-pixel .route-panel { position: relative; top: auto; height: 100%; min-height: 0; max-height: none; }
  .theme-pixel .panel-head { min-height: 33px; height: 33px; padding: 6px 9px; }
  .theme-pixel .panel-head h2 { font-size: .48rem; }
  .theme-pixel .panel-head span { font-size: .46rem; }
  .theme-pixel .queue-panel { display: flex; flex-direction: column; }
  .theme-pixel .queue-tools { gap: 3px; padding: 5px; min-height: 36px; }
  .theme-pixel .filter-chip { padding: 4px 6px; font-size: .48rem; }
  .theme-pixel .task-list { flex: 1; max-height: none; min-height: 0; padding: 3px; }
  .theme-pixel .task-item { grid-template-columns: 25px 1fr auto; gap: 5px; padding: 5px 4px; }
  .theme-pixel .task-no { width: 22px; height: 22px; font-size: .46rem; }
  .theme-pixel .task-title { font-size: .57rem; line-height: 1.2; }
  .theme-pixel .task-category,
  .theme-pixel .task-time { font-size: .43rem; }
  .theme-pixel .stage-panel { display: flex; flex-direction: column; }
  .theme-pixel .stage-inner { flex: 1; min-height: 0; padding: 9px; display: flex; flex-direction: column; overflow: hidden; }
  .theme-pixel .task-meta { gap: 4px; }
  .theme-pixel .tag { padding: 4px 6px; font-size: .44rem; }
  .theme-pixel .stage-title { margin: 7px 0 6px; font-size: clamp(.95rem,1.35vw,1.35rem); line-height: 1; }
  .theme-pixel .prompt-card { max-height: 78px; overflow: auto; padding: 8px 10px; font-size: .59rem; line-height: 1.42; }
  .theme-pixel .rubric { grid-template-columns: 1fr 1fr; gap: 5px; margin-top: 5px; }
  .theme-pixel .rubric div { padding: 5px 7px; font-size: .49rem; line-height: 1.3; }
  .theme-pixel .rubric b { margin-bottom: 2px; font-size: .42rem; }
  .theme-pixel .controls { gap: 5px; margin: 7px 0; }
  .theme-pixel .control { padding: 6px 8px; font-size: .47rem; line-height: 1.2; }
  .theme-pixel .live-wordmark { margin: 2px 0 5px; font-size: clamp(.8rem,1.2vw,1.1rem); }
  .theme-pixel .response-shell { flex: 1; min-height: 88px; display: flex; flex-direction: column; }
  .theme-pixel .response-head { min-height: 27px; padding: 5px 8px; font-size: .44rem; }
  .theme-pixel .response-body { flex: 1; min-height: 0; max-height: none; padding: 8px 10px; font-size: .57rem; line-height: 1.45; }
  .theme-pixel .route-panel { display: flex; flex-direction: column; grid-column: auto; }
  .theme-pixel .tree-wrap { flex: 1; min-height: 0; margin: 5px; }
  .theme-pixel .tree-node { width: 38px; height: 38px; margin: -19px 0 0 -19px; font-size: .36rem; }
  .theme-pixel .route-readout { flex: 0 0 auto; max-height: 132px; overflow: auto; padding: 6px 9px 8px; }
  .theme-pixel .route-readout label { font-size: .43rem; }
  .theme-pixel .route-sequence { gap: 3px; margin-top: 5px; }
  .theme-pixel .route-sequence span { padding: 3px 5px; font-size: .44rem; }
  .theme-pixel .route-source { margin: 5px 0 0; font-size: .46rem; line-height: 1.28; }
  .theme-pixel .lower-grid { grid-column: 2; grid-row: 3; min-width: 0; min-height: 0; height: 100%; margin: 0; display: grid; grid-template-columns: 1fr; grid-template-rows: minmax(0,1fr) auto; gap: 6px; }
  .theme-pixel .terminal { min-height: 0; height: auto; display: flex; flex-direction: column; }
  .theme-pixel .terminal-lines { flex: 1; height: auto; min-height: 0; padding: 7px 8px; font-size: .51rem; line-height: 1.42; }
  .theme-pixel .terminal-line { grid-template-columns: 48px 59px 1fr; gap: 4px; }
  .theme-pixel .channel { min-height: 0; }
  .theme-pixel .channel .panel-head { display: none; }
  .theme-pixel .video-shell { aspect-ratio: 16/9; max-height: 172px; }
  .theme-pixel .channel-meta { padding: 6px 8px 7px; }
  .theme-pixel .channel-meta h3 { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .66rem; }
  .theme-pixel .channel-meta p { display: none; }
  .theme-pixel .channel-controls { gap: 4px; margin-top: 5px; }
  .theme-pixel .channel-controls button { padding: 4px 6px; font-size: .45rem; }
  .theme-pixel .channel-overlay { left: 6px; top: 6px; gap: 4px; }
  .theme-pixel .channel-overlay span { padding: 4px 6px; border-radius: 0; font-size: .42rem; }
  .theme-pixel .explanation,
  .theme-pixel .custom-task,
  .theme-pixel .footer { display: none; }
}

/* Fixed 1280x720 scene. JavaScript scales this canvas to the available viewport. */
body.theme-pixel { width: 100vw; height: 100vh; overflow: hidden; background-color: #020503; }
.theme-pixel .site-shell {
  position: fixed;
  left: 50%;
  top: 50%;
  width: 1280px;
  height: 720px;
  min-height: 0;
  overflow: hidden;
  transform: translate(-50%,-50%) scale(var(--pixel-scale, 1));
  transform-origin: center center;
  background-color: #07110d;
  background-image: linear-gradient(rgba(114,207,136,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(114,207,136,.035) 1px, transparent 1px);
  background-size: 8px 8px;
  box-shadow: 0 0 0 2px #315f44, 0 0 80px rgba(54,126,81,.18);
}
.theme-pixel .topbar { width: 1280px; height: 40px; min-height: 40px; padding: 4px 9px; }
.theme-pixel .brand-mark { width: 25px; height: 25px; }
.theme-pixel .brand small { display: none; }
.theme-pixel .concept-nav a { padding: 5px 7px; font-size: .43rem; }
.theme-pixel .coin-address { max-width: 140px; }
.theme-pixel .page {
  width: 1268px;
  height: 674px;
  margin: 6px;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0,1fr) 258px;
  grid-template-rows: 44px 34px minmax(0,1fr);
  gap: 5px;
  overflow: hidden;
}
.theme-pixel .hero { padding: 2px 6px; }
.theme-pixel .hero > div { gap: 10px; }
.theme-pixel .live-kicker { font-size: .42rem; }
.theme-pixel .hero h1 { font-size: 1.48rem; }
.theme-pixel .hero-copy { font-size: .52rem; }
.theme-pixel .metrics { gap: 3px; }
.theme-pixel .metric { padding: 4px 7px; }
.theme-pixel .metric span { font-size: .39rem; }
.theme-pixel .metric strong { margin-top: 3px; font-size: .62rem; }
.theme-pixel .broadcast-grid { grid-template-columns: 178px minmax(350px,1fr) 210px; gap: 5px; }
.theme-pixel .lower-grid { gap: 5px; }
.theme-pixel .panel-head { height: 28px; min-height: 28px; padding: 4px 7px; }
.theme-pixel .panel-head h2 { font-size: .4rem; }
.theme-pixel .panel-head span { font-size: .39rem; }
.theme-pixel .queue-tools { min-height: 30px; padding: 3px; }
.theme-pixel .filter-chip { padding: 3px 5px; font-size: .4rem; }
.theme-pixel .task-item { grid-template-columns: 21px 1fr auto; gap: 4px; padding: 4px 3px; }
.theme-pixel .task-no { width: 19px; height: 19px; font-size: .39rem; }
.theme-pixel .task-title { font-size: .49rem; }
.theme-pixel .task-category,
.theme-pixel .task-time { margin-top: 2px; font-size: .36rem; }
.theme-pixel .stage-inner { padding: 7px; }
.theme-pixel .tag { padding: 3px 5px; font-size: .37rem; }
.theme-pixel .stage-title { margin: 5px 0 4px; font-size: 1rem; }
.theme-pixel .prompt-card { max-height: 62px; padding: 6px 8px; font-size: .5rem; line-height: 1.35; }
.theme-pixel .rubric { gap: 4px; margin-top: 4px; }
.theme-pixel .rubric div { padding: 4px 6px; font-size: .41rem; }
.theme-pixel .rubric b { font-size: .35rem; }
.theme-pixel .controls { gap: 4px; margin: 5px 0; }
.theme-pixel .control { padding: 5px 6px; font-size: .39rem; box-shadow: 2px 2px 0 #020503; }
.theme-pixel .live-wordmark { margin: 1px 0 4px; font-size: .78rem; }
.theme-pixel .response-head { min-height: 23px; padding: 4px 6px; font-size: .37rem; }
.theme-pixel .response-body { padding: 6px 8px; font-size: .49rem; line-height: 1.38; }
.theme-pixel .tree-wrap { margin: 4px; }
.theme-pixel .tree-node { width: 32px; height: 32px; margin: -16px 0 0 -16px; font-size: .3rem; }
.theme-pixel .route-readout { max-height: 104px; padding: 5px 7px 6px; }
.theme-pixel .route-readout label { font-size: .36rem; }
.theme-pixel .route-sequence span { padding: 2px 4px; font-size: .36rem; }
.theme-pixel .route-source { display: none; }
.theme-pixel .terminal-lines { padding: 5px 6px; font-size: .43rem; }
.theme-pixel .terminal-line { grid-template-columns: 41px 49px 1fr; gap: 3px; }
.theme-pixel .video-shell { max-height: 142px; }
.theme-pixel .channel-meta { padding: 5px 6px 6px; }
.theme-pixel .channel-meta h3 { font-size: .56rem; }
.theme-pixel .channel-controls { margin-top: 4px; }
.theme-pixel .channel-controls button { padding: 3px 5px; font-size: .38rem; }
