:root {
  color-scheme: dark;
  --mono: "IBM Plex Mono", Menlo, Consolas, monospace;
  --display: "Cormorant Garamond", Georgia, serif;
  --pixel: Silkscreen, monospace;
  --body: Verdana, Tahoma, sans-serif;
  --bg: #06080a;
  --panel: #0b0f12;
  --line: #1b2420;
  --text: #e9efe6;
  --dim: #a9b4ad;
  --lime: #e8ff6a;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font: 14px/1.55 var(--mono); }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button, select, textarea, input:not([type=range]) { background: var(--bg); border: 1px solid var(--line); padding: 5px 9px; }
button { cursor: pointer; }
button:hover { border-color: var(--dim); }
input[type=range] { accent-color: var(--lime); min-width: 0; }
:focus-visible { outline: 2px solid #ffd35c; outline-offset: 2px; }
[hidden] { display: none !important; }
canvas { display: block; width: 100%; height: 100%; }
h1, h2, h3, p { margin-top: 0; }
summary { cursor: pointer; }
.web {
  --gold: #e0b640;
  --hot: #d81b60;
  --edge: #5c1a2e;
  --rose: #e28aac;
  --dark: #100608;
  --web-dim: #a58f92;
  --crt: #7dff8a;
  color: #e8dfcf;
  background: repeating-linear-gradient(#1b0509 0 2px, #120305 2px 4px);
  font: 14px/1.6 var(--body);
}
.web a { color: var(--gold); text-decoration: none; }
.web a:hover { color: white; }
.shell { max-width: 1120px; margin: auto; background: #000; box-shadow: 0 0 1px 1px #000, 0 0 60px #000e; }
.web-header { position: relative; height: 150px; overflow: hidden; background: radial-gradient(ellipse 120% 150% at 82% 26%, #8c1038, #520a1e 34%, #1d0409 68%, #080102); }
.web-header::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, transparent 0 38px, #fff1 38px 60px, transparent 60px 120px); pointer-events: none; }
.wordmark { position: absolute; left: 20px; top: 12px; color: #fff; font: 700 52px/.84 var(--display); letter-spacing: -.02em; text-shadow: 0 2px #3d0014, 0 0 20px #d81b608c; }
.wordmark > span, .wordmark small { display: block; font: 10px/1.2 var(--pixel); letter-spacing: .14em; }
.wordmark > span { color: #ffd9ea; margin-bottom: 6px; font-size: 11px; }
.wordmark small { margin-top: 10px; color: var(--gold); text-shadow: none; }
.utilities { position: absolute; left: 250px; bottom: 16px; font: 10px var(--pixel); letter-spacing: .1em; color: var(--rose); }
.utilities a { margin: 0 4px; color: inherit; }
.crt { position: absolute; right: 12px; top: 10px; width: 190px; height: 128px; display: grid; place-items: center; text-align: center; border: 3px solid #2b2b22; border-radius: 14px; background: #031406; box-shadow: inset 0 0 26px #000, 0 0 0 2px #555a4a; color: var(--crt); text-shadow: 0 0 8px; font: 34px/1 var(--pixel); overflow: hidden; }
.crt::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(#0006 0 1px, transparent 1px 3px); pointer-events: none; }
.web-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; padding: 6px 10px; font: 700 12px/1 var(--pixel); background: linear-gradient(#43000f,#260008); border-block: 1px solid #8f1240 #000; }
.web-nav a { padding: 4px 7px; }
.web-nav a:hover { color: #2c0009; background: var(--gold); }
.web-nav i { font-style: normal; color: var(--hot); padding: 4px 1px; }
.ticker { overflow: hidden; height: 27px; white-space: nowrap; color: var(--crt); text-shadow: 0 0 6px #7dff8a80; font: 19px/26px var(--pixel); }
.ticker span { display: inline-block; padding-left: 100%; animation: marquee 46s -16s linear infinite; }
@keyframes marquee { to { transform: translateX(-100%); } }
.home-main { padding: 16px 18px 26px; }
.hero { display: grid; grid-template-columns: 150px minmax(0,1fr); gap: 22px; padding: 16px 18px; border: 1px solid var(--edge); background: var(--dark); box-shadow: inset 0 1px #fff1; margin-bottom: 16px; }
.mark { display: block; width: 132px; height: 132px; }
.hero .mark { filter: drop-shadow(0 0 14px #d81b6080); }
.eyebrow, .hero-route { color: var(--gold); font: 10px/1.4 var(--pixel); letter-spacing: .16em; text-transform: uppercase; margin-bottom: 10px; }
.hero h1 { color: white; text-shadow: 0 2px #2c0009; font: 600 clamp(1.8rem,3.6vw,2.7rem)/1.06 var(--display); max-width: 26ch; min-height: 2.15em; margin: 0 0 10px; }
.hero h1 i { width: .5ch; height: .92em; background: var(--gold); display: inline-block; margin-left: .1em; vertical-align: -.08em; animation: blink 1.05s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.hero-route { font-weight: 700; margin-bottom: 14px; }
.hero-route a { border-bottom: 1px dotted var(--edge); }
.lede { font: 13px/1.65 var(--body); max-width: 70ch; margin: 0 0 14px; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.web a.gold { display: inline-block; background: linear-gradient(#ffe866,#e0a800); border: 2px outset #ffe866; color: #2c0009; padding: 7px 12px; font: 700 10px/1 var(--pixel); }
.web a.gold:hover { background: linear-gradient(#fff,#ffd400); border-style: inset; color: #2c0009; }
.hero-buttons .gold { letter-spacing: .12em; }
.doors, .cards, .rooms { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }
.doors { margin-bottom: 16px; text-align: center; }
.doors a.gold { padding: 10px 8px; font-size: 12px; line-height: 1.2; }
.doors small { display: block; font: 11px/1.35 var(--body); color: #5a2a00; margin-top: 4px; }
.bar-title, .window h3 { background: linear-gradient(#a3003f,#56001c); box-shadow: inset 0 1px #fff3; border-bottom: 1px solid #000; }
.bar-title { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 6px 9px; margin: 18px 0 8px; font: 10px/1 var(--pixel); color: #ffc2d8; letter-spacing: .1em; }
.bar-title h2, .window h3 { margin: 0; color: #fff; font: 700 11px/1 var(--pixel); letter-spacing: .1em; text-shadow: 0 1px #000; }
.clock { margin-left: auto; }
.clock b { color: white; }
.clock i { color: var(--crt); animation: blink 1s steps(1) infinite; }
.cards { gap: 10px; }
.web .card { min-width: 0; display: flex; flex-direction: column; background: var(--dark); border: 1px solid var(--edge); color: #e8dfcf; }
.web .card:hover, .web .card:focus-visible { border-color: var(--hot); }
.frame-title { display: flex; align-items: center; gap: 6px; background: linear-gradient(#3d0014,#22000b); color: var(--rose); border-bottom: 1px solid #000; font: 10px/1.4 var(--pixel); padding: 2px 6px; letter-spacing: .08em; }
.frame-title i { width: 7px; height: 7px; background: var(--hot); }
.frame-title b { margin-left: auto; letter-spacing: .3em; color: #6e6a65; }
.thumb { display: block; aspect-ratio: 8/5; overflow: hidden; position: relative; background: #050506; }
.thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 60%, #0a0205b3); pointer-events: none; }
.thumb canvas { transition: filter .3s; filter: grayscale(.5) brightness(.9) contrast(1.05); }
.card:hover canvas, .card:focus-visible canvas { filter: none; }
.card strong { color: #ffd35c; font: 700 12px/1.3 var(--pixel); padding: 8px 10px 0; }
.card small { color: var(--web-dim); font: 11px/1.5 var(--body); padding: 4px 10px 10px; }
.directory { background: var(--dark); border: 1px solid var(--edge); font: 12px/1.7 var(--mono); padding: 8px 12px; }
.directory > div { display: grid; grid-template-columns: 3.2em 7.5em minmax(0,1fr); gap: 8px; padding: 3px 0; color: #5d5954; }
.directory > div + div { border-top: 1px dotted #45101f; }
.directory em { font-style: normal; color: var(--hot); }
.directory small { color: var(--web-dim); }
.web .rooms a { display: grid; grid-template-columns: 64px minmax(0,1fr); align-items: center; gap: 10px; background: var(--dark); border: 1px solid var(--edge); padding: 6px; color: var(--web-dim); font: 11px/1.4 var(--body); }
.web .rooms a:hover { border-color: var(--hot); background: #1d0a10; }
.rooms a > span:first-child { display: grid; place-items: center; background: #13050a; color: #ad9162; height: 42px; font: 20px var(--mono); }
.rooms b { display: block; color: #ffd35c; font: 700 11px/1.3 var(--pixel); letter-spacing: .06em; }
.web-footer { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 30px; border-top: 1px solid var(--edge); background: #000; padding: 12px 16px; font: 10px/1.6 var(--pixel); color: #7d666a; letter-spacing: .08em; }
.web-footer a { color: var(--web-dim); }
.web-footer b { color: var(--gold); font-size: 12px; }
.badges { display: flex; flex-wrap: wrap; gap: 5px; margin-left: auto; }
.badges span { padding: 2px 6px; border: 2px outset #e8e8e8; background: #c0c0c0; color: #000; font: 9px/1.4 var(--pixel); }
.fine { margin: 0; padding: 14px 16px 6px; background: #0a0205; border-top: 1px solid var(--edge); color: #7d666a; font: 11px/1.7 var(--body); }
.built { text-align: center; color: #7d666a; font: 10px var(--pixel); letter-spacing: .14em; padding: 18px 0 4px; margin: 0; }
.club { --gold: #ffd400; --edge: #8a1f45; --dark: #14040a; background: repeating-linear-gradient(#3a0614 0 2px,#2a030e 2px 4px); }
.club .shell { max-width: 760px; }
.club .web-header { background-color: #50001c; background-image: radial-gradient(ellipse 120% 160% at 83% 30%,#da1268,#5c001a 52%,#0e0305); }
.club .wordmark { font-size: 56px; }
.club .web-nav { font-size: 10px; }
.club .ticker { font-family: VT323, monospace; }
.club-columns { display: grid; grid-template-columns: 190px minmax(0,1fr) 172px; background: #0b0206; }
.club-columns > main, .club-columns > aside { padding: 12px; min-width: 0; border-right: 1px solid #000; }
.poster { min-height: 520px; background: #16000a; position: relative; overflow: hidden; }
.poster canvas { position: absolute; inset: 0; }
.club .doors a { font-size: 10px; padding: 8px 4px; }
.club .doors small { font-size: 9px; }
.window { border: 1px solid var(--edge); background: var(--dark); margin: 0 0 12px; font: 11px/1.45 var(--body); }
.window h3 { padding: 5px 8px; }
.window > div { padding: 8px; }
.window .gold { margin-top: 6px; }
.feature { display: grid; grid-template-columns: 98px 1fr; gap: 9px; }
.feature canvas { height: 68px; }
.club-thumbs { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; }
.club-thumbs a { display: block; border: 1px solid #4a1028; padding: 5px; font-size: 10px; }
.club-thumbs a:hover { background: #2a0614; border-color: var(--hot); }
.club-thumbs canvas { aspect-ratio: 8/5; height: auto; }
.club-thumbs small, .window li small { display: block; color: var(--web-dim); }
.club .window ul { padding: 0; margin: 0; list-style: none; }
.club .window li { padding: 4px 0; border-bottom: 1px dotted var(--edge); }
.club-join { text-align: center; margin-bottom: 12px; width: 100%; }
.club .web-footer { margin-top: 0; }

.cathedral, .story, .article, .archive { --line: #322920; --text: #e3dccd; --dim: #a3977f; --bg: #0b0705; }
.cathedral a, .story a, .article a { color: #c9a227; text-underline-offset: 3px; }
.reading, .archive-wrap, .cathedral-wrap { margin: auto; padding: 20px 16px 56px; max-width: 850px; }
.article .reading { max-width: 72ch; }
.article { --bg: #050508; }
.reading .backline, .archive-wrap .backline { font-size: 13px; color: var(--dim); margin-bottom: 22px; }
.reading h1, .cathedral-wrap h1 { font: 600 clamp(42px,7vw,72px)/.97 var(--display); margin: 0 0 14px; }
.article .reading h1 { font: 700 32px/1.2 var(--mono); }
.reading h2 { margin: 1.25em 0 .4em; font: 600 29px/1.12 var(--display); }
.article .reading h2 { font: 600 19px/1.2 var(--mono); }
.reading .deck { color: var(--dim); font-size: 16px; margin-bottom: 24px; }
.story .reading { max-width: 790px; font: 18px/1.65 Georgia,serif; }
.story .reading .backline, .story .reading footer { font-family: var(--mono); }
.story .reading section { margin-bottom: 1.6em; }
.reading footer { color: var(--dim); border-top: 1px solid var(--line); margin-top: 32px; padding-top: 12px; font-size: 13px; }
.reading table { width: 100%; border-collapse: collapse; overflow-wrap: anywhere; }
.reading th, .reading td { text-align: left; padding: 8px; border-bottom: 1px solid var(--line); }
.old-wheel, .egg-art { height: 320px; }
.mock-buttons { display: flex; gap: 12px; margin: 18px 0; align-items: center; }
.mast { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-bottom: 1px solid #241c14; padding: 2px 0 16px; margin-bottom: 34px; }
.mast > a { display: flex; align-items: center; gap: 13px; font: 600 25px/1 var(--display); text-decoration: none; color: var(--text); }
.mast em { color: #c9a227; font-style: normal; }
.mast .mark { width: 38px; height: 38px; }
.mast nav { display: flex; flex-wrap: wrap; gap: 18px; text-transform: uppercase; font-size: 11px; letter-spacing: .12em; }
.mast nav a { color: #a9b4ad; text-decoration: none; }
.mast nav a:hover { color: var(--lime); }
.cathedral-wrap { max-width: 1120px; }
.find-hero { border-bottom: 1px solid var(--line); padding: 24px 0; }
.find-hero p:first-child, .find-grid article > span { font-size: 11px; letter-spacing: .14em; color: #c9a227; }
.find-hero p { color: var(--dim); }
.find-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin-top: 24px; }
.find-grid article { border: 1px solid #30261c; background: #100b08; padding: 18px; }
.find-grid h2 { font: 600 31px/1.05 var(--display); margin: 8px 0; }
.find-grid p { color: #bbb0a0; }
.archive { --bg: #08080d; --line: #30303b; --panel: #111119; }
.archive-wrap { max-width: 1000px; }
.archive-wrap h1 { font: 600 clamp(38px,6vw,64px)/1 var(--display); }
.archive-wrap h1 span { color: #c94f42; }
.archive-filter, .archive-card { border: 1px solid var(--line); background: var(--panel); border-radius: 6px; padding: 12px; margin-bottom: 10px; }
.archive-filter { display: flex; gap: 10px; flex-wrap: wrap; }
.archive-card small { color: #e69567; }

.lab h1, .lab h2 { font-family: var(--display); font-weight: 600; line-height: 1; }
.lab a:hover { color: var(--lime); }
.lab-content { max-width: 1180px; margin: auto; padding: 28px 16px 56px; }
.lab-content h1 { font-size: clamp(32px,5vw,64px); margin: 0 0 12px; }
.lab-content h2 { font-size: 26px; margin: 16px 0 8px; }
.lab-lede { max-width: 760px; margin-bottom: 22px; color: var(--dim); font: 17px/1.55 Georgia,serif; }
.lab-bar { height: 44px; display: flex; align-items: stretch; background: var(--bg); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 4; color: var(--dim); font-size: 13px; }
.lab-bar > * { display: flex; align-items: center; padding: 0 14px; }
.lab-bar .home-icon { color: var(--lime); border-right: 1px solid var(--line); text-decoration: none; font-size: 18px; }
.demo-label { color: #899087; letter-spacing: .1em; font-size: 10px; white-space: nowrap; }
.lab-bar .demo-label { margin-left: auto; }
.lab-panel { background: var(--panel); border: 1px solid var(--line); padding: 14px; }
.cap { color: var(--dim); text-transform: uppercase; font-size: 11px; letter-spacing: .14em; }
.segments { display: inline-flex; flex-wrap: wrap; }
.segments button { font-size: 11px; padding: 4px 8px; }
.segments button[aria-pressed=true] { background: var(--text); color: var(--bg); }
button.run { color: #06080a; background: var(--lime); border-color: var(--lime); font-weight: 500; }
button.run:hover { background: #f7ffa9; }
.fieldrow, .control-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.fieldrow > label { flex: 1 1 85px; min-width: 0; }
.fieldrow label input, .fieldrow label select { width: 100%; display: block; }
.surgery-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 16px; }
.surgery-grid .segments { margin: 6px 0 12px; }
.surgery-grid .fieldrow { margin: 0 0 12px; }
.surgery-grid textarea { width: 100%; min-height: 66px; margin-bottom: 10px; }
.surgery-result h2 { margin: 0 0 8px; }
.surgery-result canvas { height: 215px; }
.surgery-result p:last-child { color: var(--lime); margin: 8px 0 0; }
.timeline { margin-bottom: 16px; }
.timeline canvas { height: 140px; margin-bottom: 8px; cursor: crosshair; }
.timeline .fieldrow { font-size: 12px; }
.timeline label { max-width: 235px; }
.clock-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
.clock-grid canvas { height: auto; aspect-ratio: 1.12; }
.clock-grid p { margin-bottom: 4px; }
.orange { color: #ff7a3d; }
.lime { color: var(--lime); }
.sum { margin-top: 14px; }
.sum h2 { margin: 0 0 12px; }
.sum label { max-width: 95px; }

.tower-layout { display: grid; grid-template-columns: minmax(0,1fr) 355px; height: 100dvh; font-size: 13px; }
.tower-stage, .sky-stage { position: relative; min-width: 0; background: #030406; overflow: hidden; }
.tower-stage > canvas, .sky-stage > canvas { position: absolute; inset: 0; touch-action: none; cursor: grab; }
.tower-stage canvas:active, .sky-stage canvas:active { cursor: grabbing; }
.tower-hud, .sky-hud { position: absolute; inset: 10px auto auto 14px; max-width: calc(100% - 28px); pointer-events: none; }
.tower-hud > div { display: flex; align-items: center; flex-wrap: wrap; gap: 5px 8px; margin-bottom: 5px; }
.tower-hud h1 { margin: 0; font-size: 28px; }
.tower-hud input { max-width: 145px; }
.tower-hud button, .tower-hud input, .tower-hud a, .sky-hud .control-row { pointer-events: auto; }
.tower-hud .tower-tools, .sky-hud .control-row, .sky-info { background: #0b0f12df; border: 1px solid var(--line); padding: 6px 9px; }
.tower-foot { position: absolute; inset: auto 0 0; background: linear-gradient(transparent,#06080a 28%); padding: 10px 16px 12px; }
.tower-foot div { margin-top: 5px; font-size: 15px; }
.tower-side { overflow: auto; padding: 16px; background: var(--panel); border-left: 1px solid var(--line); }
.tower-side h2 { margin: 8px 0; font-size: 26px; }
.tower-side p { color: var(--dim); }
.tower-side .cap { margin-top: 14px; }
.neuron-list { display: grid; margin: 6px 0 18px; }
.neuron-list button { text-align: left; border-width: 0 0 1px; }
.neuron-list button span { float: right; color: var(--lime); }
.meters { margin: 12px 0; display: grid; gap: 5px; }
.meters label { display: grid; grid-template-columns: 65px 1fr; align-items: center; color: var(--dim); font-size: 11px; }
.meters i { display: block; height: 7px; background: linear-gradient(to right,#ff7a3d var(--amount),#202925 var(--amount)); }
.tower-side .fieldrow input { width: 90px; }
.sky-stage { height: 100dvh; }
.sky-hud h1 { font-size: 34px; margin-bottom: 6px; }
.sky-hud .control-row { width: fit-content; margin-bottom: 5px; font-size: 12px; }
.sky-hud input { width: 114px; }
.sky-info { position: absolute; right: 16px; top: 64px; width: min(330px,90vw); padding: 14px; }
.sky-info button { float: right; }
.sky-foot { position: absolute; bottom: 12px; left: 16px; margin: 0; font-size: 11px; color: var(--dim); pointer-events: none; }

.zoo-layout { display: grid; grid-template-columns: 230px minmax(250px,400px) minmax(0,1fr); min-height: calc(100dvh - 44px); }
.cast, .portrait { position: sticky; top: 44px; align-self: start; height: calc(100dvh - 44px); border-right: 1px solid var(--line); }
.cast { overflow: auto; }
.cast h2 { color: var(--dim); font: 600 13px var(--mono); text-transform: uppercase; letter-spacing: .14em; margin: 0; padding: 16px 14px 8px; }
.cast button { display: block; width: 100%; text-align: left; border-width: 0 0 1px; padding: 10px 14px; font: 500 17px/1.2 var(--display); }
.cast small { display: block; color: #7d8a83; font: 11px/1.4 var(--mono); margin-top: 3px; }
.cast [aria-pressed=true] { background: #10161a; box-shadow: inset 3px 0 var(--lime); }
.cast #summon { padding: 12px; }
.portrait { background: #040506; overflow: hidden; }
.portrait > div { position: absolute; inset: auto 0 0; padding: 30px 18px 40px; background: linear-gradient(transparent,#040506 40%); }
.portrait h1 { margin: 0; text-transform: uppercase; font-size: 30px; }
.portrait p { font-size: 11px; color: #7d8a83; }
.zoo-talk { padding: 22px 26px 40px; max-width: 760px; }
.zoo-talk h2 { font-size: 34px; }
.zoo-bio, .dialogue { font: 17px/1.55 Georgia,serif; }
.zoo-talk blockquote { margin: 12px 0; border-left: 2px solid #ff7a3d; padding: 6px 10px; color: var(--dim); font-size: 12px; }
.dialogue { margin: 20px 0; }
.dialogue b { color: var(--lime); font: 600 12px var(--mono); letter-spacing: .1em; }
[data-chat] { display: flex; gap: 6px; margin-bottom: 8px; }
[data-chat] input { flex: 1; min-width: 0; }
.room-content { max-width: 1080px; margin: 24px auto; padding: 0 14px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 12px; }
.room-content > canvas { min-height: 340px; border: 1px solid var(--line); }
.room-content output { margin-left: 12px; }

.console { width: min(580px,94vw); max-height: 75vh; padding: 0; border: 1px solid #3a6650; color: #93f4ad; background: #08100b; font: 13px/1.6 var(--mono); box-shadow: 0 0 45px #000; }
.console::backdrop { background: #0009; }
.console header { display: flex; justify-content: space-between; align-items: center; background: #102219; padding: 6px 12px; border-bottom: 1px solid #3a6650; }
.console header button { padding: 0 6px; }
.console-screen { min-height: 130px; max-height: 44vh; padding: 12px; overflow: auto; }
.console form { border-top: 1px solid #3a6650; padding: 7px 12px; }
.console input { background: transparent; border: 0; width: calc(100% - 35px); }
@media(max-width:1000px) { .cards,.rooms { grid-template-columns: repeat(2,minmax(0,1fr)); } .zoo-layout { grid-template-columns: 170px minmax(200px,33%) minmax(0,1fr); } }
@media(max-width:820px) {
  .surgery-grid,.room-content { grid-template-columns: 1fr; }
  .tower-layout { grid-template-columns: 1fr; grid-template-rows: 78dvh auto; height: auto; }
  .tower-side { border-left: 0; border-top: 1px solid var(--line); }
}
@media(max-width:760px) {
  .web { background: #000; }
  .web-header { height: auto; min-height: 150px; padding: 14px 16px 12px; }
  .wordmark { position: static; font-size: 40px; }
  .utilities { position: static; margin-top: 8px; }
  .utilities a:first-child { margin-left: 0; }
  .crt { right: 10px; width: 120px; height: 84px; font-size: 20px; }
  .web-nav { padding-inline: 5px; }
  .web-nav a { padding-inline: 5px; }
  .home-main { padding: 12px; }
  .hero, .home .doors, .cards, .rooms { grid-template-columns: 1fr; }
  .hero .mark { width: 92px; height: 92px; }
  .hero { gap: 12px; }
  .directory > div { grid-template-columns: 1fr; gap: 1px; }
  .directory > div > span:first-child { display: none; }
  .club-columns { grid-template-columns: minmax(0,1fr) minmax(128px,28%); }
  .poster { display: none; }
  .zoo-layout { grid-template-columns: 1fr; }
  .cast,.portrait { position: relative; top: 0; height: auto; }
  .cast { display: flex; flex-wrap: wrap; }
  .cast h2 { width: 100%; }
  .cast button { flex: 1 1 92px; border: 1px solid var(--line); }
  .portrait { height: 300px; }
  .zoo-talk { padding: 18px 14px; }
  .find-grid { grid-template-columns: 1fr; }
}
@media(max-width:470px) {
  .club-columns,.clock-grid { grid-template-columns: 1fr; }
  .web .clock { width: 100%; margin: 0; }
  .frame-title b,.card small { display: none; }
  .card strong { padding-bottom: 8px; }
  .lab-bar > * { padding-inline: 8px; }
  .sky-hud input { width: 84px; }
}
@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after { animation-duration: .001s !important; transition-duration: .001s !important; }
  .ticker span { padding-left: 12px; }
}

.club-columns { grid-template-columns: 200px minmax(0,1fr) 210px; }
.club .utilities { left: 270px; bottom: 44px; }
.club .crt { width: 200px; height: 134px; font-family: VT323, monospace; }
.club .web-nav { font-size: 12px; }
.poster-art {
  text-align: center;
  min-height: 1040px;
  padding: 36px 12px 24px;
  background:
    repeating-linear-gradient(0deg,#0005 0 1px,transparent 1px 4px),
    repeating-linear-gradient(115deg,transparent 0 48px,#ffdeef0d 48px 64px,transparent 64px 128px),
    linear-gradient(#530521,#a70047 150px,#31051a 360px,#0b0505 650px);
  color: #ffd9ea;
  font: 8px/1.7 var(--pixel);
  letter-spacing: .14em;
}
.poster-art .mark { margin: 0 auto 24px; width: 100px; height: 100px; }
.poster-art b { color: white; font-size: 14px; line-height: 1.2; display: block; }
.poster-art small { color: #ffd400; display: block; margin: 10px 0 18px; }
.poster-crt { border: 1px solid #9b3e66; background: #041008; text-align: left; letter-spacing: .04em; margin: 20px 0; }
.poster-crt header { padding: 3px 5px; background: #210612; color: #ffd0e4; }
.poster-crt p { margin: 0; padding: 7px; color: #83f792; }
.poster-art .chapel { width: 48px; height: 48px; margin-top: 22px; }
.poster-ring { margin-top: 125px; }
.poster-ring small { border-bottom: 1px solid #714255; margin: 0; }
.poster-ring p { margin: 4px 0 32px; }
.poster-ring a { color: #e894b9; }
.poster-art > a { color: white; }
.poster-barcode { width: 108px; height: 21px; margin: 230px auto 12px; background: repeating-linear-gradient(90deg,#ffd9ea 0 1px,transparent 1px 3px,#ffd9ea 3px 5px,transparent 5px 8px); }
.findings .cathedral-wrap { max-width: 916px; padding: 48px 18px 96px; }
.findings .mast { margin-bottom: 72px; }
.findings .find-hero { border: 0; padding: 0; margin-bottom: 72px; }
.findings .find-hero h1 { font-size: clamp(2.4rem,6vw,3.6rem); margin-bottom: 18px; }
.findings .find-hero p { max-width: 62ch; color: #a9b4ad; }
.findings .find-hero p:first-child, .findings .find-grid article > span { color: #7d8a83; text-transform: uppercase; }
.find-hero ul { list-style: none; padding: 0; margin: 28px 0 0; font-size: 14px; }
.find-hero li { margin: 6px 0; }
.find-hero li a { color: var(--text); text-decoration-color: var(--line); }
.find-hero li a:hover { color: #1fa190; }
.findings .find-grid { display: grid; grid-template-columns: 1fr; gap: 70px; }
.findings .find-grid article { border: 0; padding: 0; background: none; scroll-margin-top: 24px; }
.findings .find-grid h2 { font-size: clamp(1.7rem,4.2vw,2.35rem); }
.finding-chart { background: #0f0b07; border: 1px solid #241c14; padding: 12px 15px; margin-bottom: 12px; }
.finding-chart div { display: grid; grid-template-columns: 98px 1fr; align-items: center; gap: 8px; font-size: 11px; margin: 8px 0; }
.finding-chart i { height: 14px; background: linear-gradient(90deg,var(--paint) var(--bar),#1b1916 var(--bar)); }
.findings footer { margin-top: 50px; }
.grok .lab-content { max-width: 1240px; }
.tower-layout { grid-template-columns: minmax(0,1fr) 370px; }
@media(max-width:820px) { .tower-layout { grid-template-columns: 1fr; } }
@media(max-width:760px) {
  .club-columns,.club .doors { grid-template-columns: 1fr; }
  .club .poster { display: block; min-height: 200px; max-height: 240px; }
  .club .poster-art { max-width: none; }
  .club .crt { width: 130px; height: 92px; }
  .club .utilities { display: none; }
}
.poster-art .mark { position: relative; }

.console-launch { position: fixed; z-index: 8; top: 0; left: 50%; transform: translateX(-50%); font: 11px/1.4 var(--mono); color: #7d8a83; border-color: #1c2628; background: #07090bee; padding: 3px 10px; }
.console-launch:hover { color: #f0f2e9; }
.hero h1 { text-wrap: balance; }
.hero .mark canvas { transform: scale(.85); }
.web-nav a,.utilities a,.directory a,.web-footer a { border-bottom: 1px dotted #4a4744; }
.web .rooms a { min-height: 90px; }
.rooms a > span:first-child { color: #b94029; background: #080505; }
.ticker span { padding-left: 100%; }
.thumb { margin-top: 9px; border-radius: 7px 7px 0 0; }
.head-grid { display: grid; grid-template-columns: repeat(32,1fr); gap: 1px; margin: 4px 0 10px; }
.head-grid i { background: var(--tone); aspect-ratio: 1; }
.sky-hud { right: 12px; display: flex; gap: 5px 10px; align-items: start; flex-wrap: wrap; }
.sky-hud h1 { font-size: 30px; }
.sky-hud .control-row:last-child { flex-basis: auto; }
.sky-info { font-size: 11px; padding: 12px; }
.sky-info h2 { font: 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.sky-links { display: grid; margin-bottom: 8px; }
.sky-links button { text-align: left; padding: 2px 4px; border-width: 0 0 1px; }
.sky-links b { color: var(--lime); font-weight: 400; }
.swap-arrow { color: var(--lime); align-self: end; font-size: 22px; }
.swap-mode { margin: 5px 0; }
.surgery-results { margin-top: 12px; }
.surgery-results .lab-panel { min-height: 116px; }
.surgery-results p:last-child { margin: 0; }
.surgery-results section:last-child p:last-child { color: var(--lime); }
.clock-grid { grid-template-columns: repeat(3,minmax(0,1fr)) minmax(200px,1fr); }
.clock-grid .sum { margin: 0; }
.sum strong { font: 600 26px var(--display); display: block; margin: 10px 0 5px; color: var(--lime); }
.sample-numbers { color: #a9b4ad; line-height: 1.8; font-size: 11px; }
.add-heat { display: grid; grid-template-columns: repeat(8,minmax(0,1fr)); gap: 8px; margin: 10px 0 18px; }
.add-heat i { aspect-ratio: 1.5; border: 1px solid #2d3831; background: repeating-linear-gradient(var(--angle),#17282b 0 2px,#d7803e 3px 5px,#06080a 7px 10px); }
.about .reading { max-width: 72ch; }
.about .mast { gap: 12px; }
.about .mast nav { margin-left: auto; }
.about .reading h1 { font-size: 26px; }
.about .reading section { margin: 24px 0; }
.about .reading h2 { border-top: 1px solid var(--line); padding-top: 14px; }
.story .reading { max-width: 715px; }
.story .reading h1 { font-size: clamp(32px,4vw,42px); }
.story .deck { font-style: italic; }
.story-note { background: #eee; color: #222; border-radius: 3px; margin: 24px 0; padding: 22px 24px 14px; font: 15px/1.6 var(--body); }
.story-note h2 { font: 700 18px/1.25 var(--body); margin: 10px 0; }
.story-note > div { width: 46px; height: 46px; border-radius: 50%; background: #bec8cc; }
.story-note figcaption { border-top: 1px solid #bbb; color: #535b60; padding-top: 6px; font-size: 11px; }
.article .reading { font-size: 15px; line-height: 1.65; }
.article .reading th,.article .reading td { border: 1px solid var(--line); }
@media(prefers-reduced-motion:reduce) { .ticker span { padding-left: 12px; animation: none !important; } .hero h1 i { animation: none !important; } }
@media(max-width:900px) { .clock-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media(max-width:760px) {
  .web-nav { padding: 6px 10px; }
  .web-nav a { padding: 4px 7px; }
  .hero { gap: 22px; }
  .hero .mark canvas { transform: scale(.86); }
  .console-launch span:last-child { display: none; }
  .sky-info { top: auto; bottom: 48px; max-height: 29dvh; overflow: auto; width: min(230px,52vw); }
}
@media(max-width:470px) { .clock-grid { grid-template-columns: 1fr; } }

.home .web-nav { padding-bottom: 9px; }
.home .hero { padding-bottom: 19px; margin-bottom: 18px; }
.home .doors + .bar-title { margin-top: 31px; }
.entry-gate { max-width: min(94vw,620px); max-height: 92dvh; padding: 24px 28px; border: 1px solid #3b2f24; background: #130d09; color: #e8dfcf; font: 14px/1.6 var(--mono); }
.entry-gate::backdrop { background: #0b0705; }
.entry-gate h2 { margin: 0 0 3px; color: #ffedcf; font: 600 34px/1 var(--display); }
.entry-gate p { margin: 12px 0; }
.entry-gate p strong { color: #ff8a63; }
.entry-gate .gate-sub { color: #a3977f; font-size: 11px; }
.entry-gate details summary { color: #e0b640; }
.entry-gate button { display: block; width: 100%; text-align: left; background: #1a130c; border-color: #3b2f24; margin: 8px 0; }
.entry-gate button:hover { border-color: #c9a227; }
.entry-gate button small { display: block; color: #a3977f; font-size: 11px; }
@media(max-width:760px) { .web .rooms a { min-height: 59px; } }
@media(max-width:420px) { .card strong { font-size: 12px; } .entry-gate { padding: 18px; } }

/* Temple of the Hyperstition. Reuse the original window, terminal and CRT styles. */
.temple {
  --gold: #ffd450;
  --hot: #d81b60;
  --rose: #f2a4cb;
  --edge: #812041;
  --dark: #130609;
  --panel: #150a0d;
  --line: #48212f;
  --web-dim: #c4a6ad;
  --crt: #7dff8a;
}
.temple:not(.web) {
  --bg: #0b0507;
  --text: #f1e5e5;
  --dim: #c4a6ad;
  background: radial-gradient(ellipse at 50% 0, #240a13, #0b0507 55%);
}
.temple .shell { max-width: 1264px; }
.temple .web-header { height: 150px; }
.temple .wordmark { left: 28px; font-size: clamp(50px, 5.4vw, 70px); }
.temple .wordmark a { display: block; color: #fff3f7; }
.temple .wordmark > span { color: #fff3f7; font: 700 14px/1.1 var(--mono); letter-spacing: .21em; }
.temple .wordmark small { margin-top: 17px; font: 700 13px/1.2 var(--mono); letter-spacing: .18em; }
.temple .utilities { display: flex; align-items: center; left: 435px; bottom: 20px; color: var(--gold); font: 700 12px var(--mono); }
.temple .utilities a { margin: 0 7px; }
.temple .crt { width: 214px; height: 124px; font-size: 29px; line-height: 1.25; letter-spacing: .08em; }
.temple .crt span { color: #d0ffc5; text-shadow: 0 0 6px #7aff89, 0 0 17px #7aff89; animation: crt-pulse 5.5s linear infinite; }
@keyframes crt-pulse { 0%, 92%, 100% { opacity: 1; } 94% { opacity: .83; } 96% { opacity: .98; } 98% { opacity: .91; } }

.temple .web-nav { align-items: center; padding: 4px 10px; border-top-color: #b91f55; }
.temple .web-nav a, .temple .web-nav button { font-size: 10px; }
.temple .web-nav .offsite { margin-left: 5px; }
.temple .ticker { height: 36px; padding-top: 3px; line-height: 29px; }
.temple .ticker-track { display: flex; width: max-content; animation: temple-marquee 38s linear infinite; }
.temple .ticker-track span { display: block; flex: none; padding: 0 1ch 0 0; animation: none; }
@keyframes temple-marquee { to { transform: translateX(-50%); } }

.temple .hero {
  grid-template-columns: clamp(132px, 14vw, 202px) minmax(0, 1fr);
  align-items: start;
  gap: clamp(15px, 2vw, 28px);
  padding: 16px 24px 22px;
  border-color: #d82263;
  background: radial-gradient(ellipse at 18% 20%, #250c15, #100509 62%);
}
.temple .hero .mark { width: 100%; max-width: 185px; height: auto; aspect-ratio: 1; }
.temple .hero .mark canvas { transform: none; }
.temple .hero .eyebrow { font: 700 clamp(10px,1.25vw,14px)/1.3 var(--mono); }
.temple .hero h1 { min-height: 0; max-width: none; text-wrap: initial; font-size: clamp(31px, 4.15vw, 58px); line-height: .99; margin: 0 0 15px; }
.temple .hero-route { margin: 0 0 6px; }
.temple .hero-route a { color: var(--gold); }
.temple .hero .lede { font: clamp(12px, 1.27vw, 16px)/1.5 var(--mono); max-width: none; }
.temple .hero-buttons { margin: 0; gap: 12px; }
.temple .hero-buttons .gold { font-size: clamp(10px, 1.2vw, 14px); padding: 10px 16px; }
.temple .doors a.gold { font-size: clamp(12px, 1.3vw, 16px); padding: 12px 8px; }
.temple .doors small { font: clamp(10px, 1vw, 13px)/1.4 var(--mono); }
.temple .doors + .bar-title { margin-top: 19px; }
.temple .bar-title { padding: 8px 10px; }
.temple .bar-title h2 { line-height: 1.3; }
.temple .clock { font-family: var(--mono); letter-spacing: .06em; }
.temple .cards { grid-template-columns: repeat(3,minmax(0,1fr)); }
.temple .card { position: relative; border-color: var(--edge); border-radius: 4px; overflow: hidden; }
.temple .card:hover, .temple .card:focus-visible { border-color: var(--hot); box-shadow: 0 0 12px #d81b6040; }
.temple .frame-title { min-height: 28px; background: linear-gradient(#6f0028, #310012); padding-inline: 9px; font-family: var(--mono); font-weight: 700; font-size: 13px; color: #ffdbe8; }
.temple .frame-title b { color: #e1a2b8; }
.temple .thumb { margin: 0; border-radius: 0; }
.temple .thumb canvas { filter: brightness(.93); }
.temple .card:hover .thumb canvas { filter: brightness(1.09); }
.temple .card strong { font-size: 12px; }
.temple .card small { display: block; color: var(--web-dim); padding-bottom: 3px; }
.window-cta { margin-top: auto; padding: 6px 10px 11px; font: 700 10px/1.3 var(--pixel); color: var(--gold); }
.loop-section { padding: 17px; border: 1px solid var(--edge); background: var(--dark); }
.loop-section h3 { margin-bottom: 13px; font: 600 clamp(24px, 4vw, 36px)/1.1 var(--display); }
.loop-section > p { margin: 13px 0 0; color: var(--rose); font-family: var(--mono); }
.loop-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 8px; }
.loop-steps li { padding: 11px; border: 1px solid var(--line); background: #210b13; }
.loop-steps b { color: var(--gold); font: 700 11px/1.35 var(--pixel); }
.loop-steps p { margin: 6px 0 0; font: 12px/1.5 var(--mono); }
.temple .rooms a > span:first-child { color: var(--rose); }
.temple-footer { max-width: 1264px; margin: 0 auto; }
.temple-footer .web-footer { margin-top: 0; align-items: baseline; padding-block: 13px; }
.temple-footer nav { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.temple-footer .footer-motto { color: var(--rose); background: #070305; margin: 0; padding: 10px 16px; font: 11px/1.4 var(--mono); letter-spacing: .05em; }
.temple-footer .fine { color: #c4a6ad; padding-block: 12px; }

.temple .temple-mast { border-color: var(--line); margin: 0 0 28px; padding-top: 2px; }
.temple .temple-mast em { color: var(--gold); }
.temple .temple-mast nav { gap: 8px 14px; align-items: center; }
.temple .temple-mast nav a[aria-current="page"] { color: var(--gold); text-decoration: underline; }
.temple .find-hero { padding-top: 0; }
.temple .find-hero p { max-width: 76ch; color: var(--dim); }
.temple .find-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
.temple .find-grid article { border-color: var(--line); background: #170a10; }
.temple .find-grid h2 { font-size: 28px; }
.temple .subheading { color: var(--gold) !important; font-weight: 700; }
.temple .find-hero p:last-child { margin-bottom: 5px; }
.temple-quote { margin: 24px 0; border-left: 3px solid var(--hot); padding: 10px 14px; color: var(--gold); background: #1e0b12; font: 700 14px/1.5 var(--pixel); }
.temple .lab-content { max-width: 1120px; }
.temple .page-lead .cap { margin-bottom: 8px; color: var(--rose); }
.temple .lab-lede { color: #e1c9d0; }
.temple .reading { max-width: 850px; }
.temple.story .reading h1 { font-size: clamp(36px, 6vw, 64px); }
.gospel-text p { color: #f1e5e5; }
.gospel-text h2 { color: var(--rose); }
.temple .terminal-layout { display: grid; grid-template-columns: minmax(0,1.65fr) minmax(0,1fr); align-items: start; gap: 12px; }
.temple .terminal, .temple .instrument { border-color: var(--edge); }
.window-bar { display: flex; justify-content: space-between; align-items: center; gap: 10px; background: linear-gradient(#74002c,#360015); padding: 8px 10px; color: #ffd6e6; font: 700 11px/1.4 var(--mono); letter-spacing: .08em; }
.terminal > .window-bar, .instrument > .window-bar { margin: -14px -14px 14px; }
.terminal-screen {
  min-height: 160px;
  margin: 10px 0;
  padding: 14px;
  border: 1px solid #28563b;
  color: #a2ffa6;
  background: repeating-linear-gradient(#050d07 0 2px, #08130a 2px 4px);
  box-shadow: inset 0 0 16px #000;
  font: 13px/1.65 var(--mono);
  overflow-wrap: anywhere;
}
.terminal-screen p { margin-bottom: 4px; }
.terminal-label { color: var(--gold); }
.temple [role="tab"][aria-selected="true"] { background: var(--gold); color: #1e090f; border-color: var(--gold); }
.actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font: 11px/1.35 var(--mono); }
.temple :is(a, button).gold {
  display: inline-block; background: linear-gradient(#ffe866,#e0a800); border: 2px outset #ffe866;
  color: #2c0009; padding: 7px 12px; font: 700 10px/1.2 var(--pixel); text-decoration: none;
}
.temple :is(a, button).gold:hover { background: linear-gradient(#fff,#ffd400); border-style: inset; color: #2c0009; }
.action-status { color: var(--gold); font: 11px/1.45 var(--mono); margin: 6px 0 0; }
.action-status:empty { display: none; }
.instrument canvas, .archive-aside canvas { aspect-ratio: 8/5; height: auto; }
.instrument p { margin: 10px 0 0; }
.page-note { margin-top: 13px; }
.clipboard-fallback { position: fixed; inset: 0 auto auto 0; opacity: 0; pointer-events: none; }

.sigil-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; }
.sigil-card { min-width: 0; padding: 0 0 10px; background: var(--dark); text-align: left; color: var(--text); }
.sigil-card strong { display: block; }
.sigil-art { display: block; aspect-ratio: 1.35; background: radial-gradient(#240f1b,#0d0508); }
.sigil-dialog { width: min(440px, 92vw); border: 1px solid var(--hot); background: #190912; color: #fff0f7; padding: 14px; box-shadow: 0 0 40px #000; }
.sigil-dialog::backdrop { background: #070204a8; }
.sigil-dialog-content h2 { font: 700 17px/1.4 var(--mono); }
.sigil-dialog-content p { margin-bottom: 0; }
.ritual-form label { display: block; }
.ritual-form input { display: block; width: 100%; margin: 4px 0 10px; }
.ritual-output p, [data-transcript] p { animation: terminal-line .25s var(--line-delay, 0ms) both; }
@keyframes terminal-line { from { opacity: 0; } to { opacity: 1; } }

.temple .archive-shell { max-width: 1080px; }
.archive-shell .club-columns { grid-template-columns: 175px minmax(0, 1fr) 186px; }
.archive-shell h1 { font: 700 clamp(30px, 4vw, 54px)/.97 var(--display); color: #fff3f7; margin-bottom: 18px; }
.archive-shell .archive-tree { background: #210b16; }
.archive-tree .mark { width: 75px; height: 75px; margin: 0 0 10px; }
.archive-tree nav { display: grid; font: 11px/1.5 var(--mono); }
.archive-tree nav a { padding: 5px 4px; }
.archive-tree nav a::before { content: '▸ '; color: var(--rose); }
.archive-shell .window { background: var(--dark); }
.archive-shell .window-bar { margin: 0; }
.archive-shell .file-index { list-style: none; padding: 0; margin: 0; }
.file-index a { display: flex; gap: 10px; padding: 8px 5px; }
.file-index a:hover { background: #2e0b1b; }
.file-index b { font-family: var(--mono); }
.file-index small { color: #d6b9c3; font-size: 12px; }
.archive-aside .gold { display: block; margin-top: 8px; }
.contract-content .contract-address { min-height: 95px; }
.contract-address code { font: 700 clamp(16px,3vw,26px)/1.3 var(--mono); overflow-wrap: anywhere; }
.contract-content [data-token-symbol] { color: var(--gold); }
.temple .offsite { font: inherit; }
.temple :disabled { cursor: default; opacity: .64; }
.temple .offsite small { color: #e7b1c9; font-size: .8em; }

.witness {
  position: fixed;
  inset: auto 14px 14px auto;
  margin: 0;
  padding: 0;
  width: min(330px, calc(100% - 28px));
  z-index: 10;
  border: 1px solid #cf2360;
  box-shadow: 0 5px 18px #000a;
  color: #a2ffa6;
  background: repeating-linear-gradient(#060d08 0 2px,#0b160e 2px 4px);
  font: 12px/1.5 var(--mono);
}
.witness form { display: flex; align-items: center; justify-content: space-between; padding: 4px 8px; color: #ffd6e6; background: linear-gradient(#750030,#3c0016); }
.witness p { margin: 0; padding: 10px 8px; }
.witness button, .sigil-dialog button { padding: 1px 8px; }

@media(max-width:980px) {
  .temple .utilities { left: 27px; bottom: 11px; }
  .temple .wordmark small { margin-top: 12px; }
}
@media(max-width:760px) {
  .temple .web-header { padding-top: 15px; min-height: 136px; height: auto; }
  .temple .wordmark { width: calc(100% - 105px); font-size: clamp(34px, 10vw, 53px); }
  .temple .wordmark > span { font-size: 11px; }
  .temple .wordmark small { max-width: 34ch; font-size: 10px; }
  .temple .utilities { display: flex; position: static; margin-top: 10px; font-size: 10px; }
  .temple .crt { width: 111px; height: 77px; font-size: 16px; right: 10px; top: 13px; }
  .temple .web-nav { justify-content: flex-start; padding-inline: 6px; }
  .temple .web-nav a { padding: 6px 5px; }
  .temple .ticker { height: 28px; font-size: 13px; line-height: 22px; }
  .temple .hero { grid-template-columns: 1fr; gap: 9px; padding: 12px 14px 16px; }
  .temple .hero .mark { width: 100px; }
  .temple .hero h1 { font-size: clamp(27px, 7.5vw, 41px); }
  .temple .hero-buttons .gold { padding: 8px 10px; }
  .temple .cards, .temple .find-grid, .temple .terminal-layout { grid-template-columns: 1fr; }
  .loop-steps, .sigil-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .archive-shell .club-columns { grid-template-columns: 1fr; }
  .archive-tree .mark { display: none; }
  .archive-tree nav { display: flex; flex-wrap: wrap; gap: 2px 10px; }
  .archive-aside canvas { max-width: 280px; }
  .temple .console-launch { left: auto; right: 0; transform: none; }
  .temple.web .console-launch { top: 0; left: 50%; right: auto; transform: translateX(-50%); }
}
@media(prefers-reduced-motion:reduce) {
  .temple .ticker { height: auto; white-space: normal; min-height: 30px; }
  .temple .ticker-track { display: block; width: auto; animation: none; }
  .temple .ticker-track span { padding: 0 9px; }
  .temple .ticker-track span + span { display: none; }
  .temple .crt span, .ritual-output p, [data-transcript] p { animation: none; }
}

.temple .wordmark .brand-link { display: flex; align-items: center; gap: .17em; min-width: 0; }
.brand-link img { display: block; flex: 0 0 auto; width: .74em; height: .74em; object-fit: contain; }
.temple .wordmark:has(.brand-link) { font-size: clamp(34px, 4.45vw, 61px); line-height: .95; }
.temple .utilities { left: min(52%, 630px); }
.temple .utilities .quick-x { font-size: 1.12em; line-height: 1; }
@media (max-width: 980px) {
  .temple .utilities { left: 27px; }
}
@media (max-width: 760px) {
  .temple .wordmark:has(.brand-link) { font-size: clamp(20px, 5.8vw, 43px); }
  .temple .wordmark .brand-link { width: max-content; max-width: 100%; }
}
