/* Brain · The Memory Works. Scoped to .bn-* so no other room changes. */
.bn-works{position:relative;overflow:hidden;margin:-8px -8px 0;padding:28px clamp(16px,4vw,48px) 40px;border-radius:24px;color:#dfe6f7;isolation:isolate;background:radial-gradient(1100px 560px at 12% -8%,#26215e 0,transparent 60%),radial-gradient(900px 520px at 108% 14%,#0b3a4a 0,transparent 58%),#070a1f}
.bn-sky{position:absolute;inset:0;z-index:-1;background-image:radial-gradient(1px 1px at 24px 36px,#cdd7ff 50%,transparent 51%),radial-gradient(1px 1px at 130px 90px,#7fe0f0 50%,transparent 51%),radial-gradient(1.4px 1.4px at 210px 150px,#c9b8ff 50%,transparent 51%);background-size:250px 190px;opacity:.38}
.bn-sky i{position:absolute;width:42vw;height:42vw;border-radius:50%;filter:blur(70px);opacity:.2;background:#5b4bd6;animation:bn-drift 22s ease-in-out infinite alternate}
.bn-sky i:nth-child(2){right:-12vw;top:18%;background:#1fb5c9;animation-duration:28s}
.bn-sky i:nth-child(3){left:28%;bottom:-22vw;background:#b0489f;animation-duration:34s}
@keyframes bn-drift{to{transform:translate(7vw,4vw) scale(1.12)}}
.bn-kicker{font:600 11px/1.4 ui-monospace,Menlo,monospace;letter-spacing:.16em;color:#7fe0f0;margin:0 0 8px}
.bn-note{font-size:12.5px;line-height:1.5;color:#98a6cf;margin:10px 0 0}
.bn-warn{margin:12px 0;padding:10px 14px;border:1px solid #e0a64f88;border-radius:12px;background:#2a1d0a99;color:#f3d9a4;font-size:14px}
.bn-hero{display:grid;grid-template-columns:1fr auto;gap:28px;align-items:center;min-height:320px;padding:24px 0}
.bn-hero h1{font:400 clamp(34px,6vw,66px)/1.02 Georgia,'Times New Roman',serif;margin:0 0 14px;color:#f1edff;text-shadow:0 0 34px #7a66ff55}
.bn-hero h1 em{color:#7fe0f0;font-style:italic}
.bn-lede{max-width:62ch;font-size:17px;line-height:1.55;color:#cfd8f5}
.bn-hud{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0 8px}
.bn-hud span{padding:8px 14px;border:1px solid #7fe0f066;border-radius:999px;background:#0c1030cc;font-size:13px}
.bn-hud b{color:#f1edff;font-size:16px;margin-right:4px}
.bn-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px}
.bn-primary,.bn-ghost{display:inline-flex;align-items:center;gap:6px;padding:11px 18px;border-radius:999px;font:600 14px/1 system-ui;text-decoration:none;cursor:pointer;border:1px solid #7fe0f0}
.bn-primary{background:#7fe0f0;color:#06122a}
.bn-ghost{background:transparent;color:#7fe0f0}
.bn-primary:hover,.bn-ghost:hover{filter:brightness(1.12)}
.bn-primary:focus-visible,.bn-ghost:focus-visible,.bn-station:focus-visible,.bn-organ:focus-visible,.bn-stop button:focus-visible{outline:3px solid #f1edff;outline-offset:3px}
.bn-seat{display:grid;justify-items:center;gap:8px;color:#98a6cf}
.bn-seat small{letter-spacing:.14em;font-size:11px}
.bn-emblem{position:relative;display:inline-grid;place-items:center;width:56px;height:56px}
.bn-emblem svg{position:absolute;inset:0;width:100%;height:100%}
.bn-emblem b{position:relative;font:700 20px/1 Georgia,serif;color:#f1edff}
.bn-emblem.seat{width:clamp(120px,16vw,170px);height:clamp(120px,16vw,170px)}
.bn-emblem.seat b{font-size:clamp(40px,6vw,60px)}
.bn-emblem.seat svg{animation:bn-spin 60s linear infinite;filter:drop-shadow(0 0 22px #7a66ff88)}
.bn-emblem.big{width:84px;height:84px}
@keyframes bn-spin{to{transform:rotate(360deg)}}
.bn-e-ring{fill:#0b1030;stroke:#7fe0f0;stroke-opacity:.7}
.bn-e-dash{fill:none;stroke:#b6a4ff;stroke-dasharray:3 5;stroke-opacity:.7}
.bn-e-web{fill:none;stroke:#7fe0f0;stroke-opacity:.45}
.bn-e-nodes circle{fill:#f1edff}
.bn-nav{position:sticky;top:0;z-index:5;display:flex;flex-wrap:wrap;gap:6px;padding:10px 0;margin:6px 0 4px;background:#070a1f99;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
.bn-nav a{padding:7px 14px;border:1px solid #7fe0f044;border-radius:999px;color:#cfd8f5;text-decoration:none;font-size:13px}
.bn-nav a:hover,.bn-nav a:focus-visible{border-color:#7fe0f0;color:#f1edff}
.bn-section{padding:34px 0 8px;border-top:1px solid #7fe0f01f;margin-top:18px}
.bn-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:end;gap:14px 28px;margin-bottom:18px}
.bn-head h2{font:400 clamp(26px,3.6vw,40px)/1.1 Georgia,serif;margin:0;color:#f1edff}
.bn-head p{max-width:56ch;color:#b7c3e6;line-height:1.55;margin:0}
.bn-loop-grid{display:flex;flex-wrap:wrap;gap:8px;align-items:stretch}
.bn-arrow{align-self:center;color:#7fe0f0;opacity:.6}
.bn-station{flex:1 1 130px;display:grid;justify-items:center;gap:8px;padding:16px 10px;border:1px solid #7fe0f033;border-radius:16px;background:#0c1030aa;color:#dfe6f7;cursor:pointer;font:inherit}
.bn-station.on,.bn-station:hover{border-color:#7fe0f0;background:#141a4a;box-shadow:0 0 28px #7a66ff33}
.bn-no{font:600 11px ui-monospace,monospace;color:#7fe0f0}
.bn-panel{margin-top:14px;padding:20px 22px;border:1px solid #7fe0f044;border-radius:16px;background:#0c1030cc}
.bn-panel h3{margin:0 0 10px;font:400 22px/1.3 Georgia,serif;color:#f1edff}
.bn-panel dt{font:600 11px ui-monospace,monospace;letter-spacing:.12em;color:#7fe0f0;margin-top:10px}
.bn-panel dd{margin:4px 0 0;color:#dfe6f7}
.bn-organs,.bn-bay{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:14px}
.bn-organ,.bn-machine{position:relative;display:grid;gap:8px;align-content:start;text-align:left;padding:18px;border:1px solid #7fe0f033;border-radius:16px;background:#0c1030aa;color:#dfe6f7;font:inherit}
.bn-organ{cursor:pointer}
.bn-organ:hover{border-color:#7fe0f0;box-shadow:0 0 28px #7a66ff33}
.bn-organ h3,.bn-machine h3{margin:0;font:400 20px/1.2 Georgia,serif;color:#f1edff}
.bn-organ p,.bn-machine p{margin:0;font-size:14px;line-height:1.5;color:#b7c3e6}
.bn-organ small,.bn-machine small{font:11.5px ui-monospace,monospace;color:#8f9cc6;word-break:break-word}
.bn-open{font-size:13px;color:#7fe0f0}
.bn-state{display:inline-flex;align-items:center;gap:7px;font:600 11px ui-monospace,monospace;letter-spacing:.1em;color:#f1edff}
.bn-led{display:inline-block;width:9px;height:9px;border-radius:50%;background:#6b7396;flex:none}
.bn-led.on{background:#4de0a2;box-shadow:0 0 10px #4de0a2}
.bn-led.call{background:#7fe0f0;box-shadow:0 0 10px #7fe0f0}
.bn-led.off{background:#e0a64f;box-shadow:0 0 8px #e0a64f88}
.bn-track{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:12px;counter-reset:s}
.bn-stop button{width:100%;height:100%;display:grid;gap:6px;align-content:start;text-align:left;padding:16px;border:1px solid #7fe0f033;border-radius:16px;background:#0c1030aa;color:#dfe6f7;cursor:pointer;font:inherit}
.bn-stop.done button{border-color:#4de0a266}
.bn-stop.waiting button{border-color:#e0a64f;box-shadow:0 0 24px #e0a64f33}
.bn-stop.not-yet button{border-style:dashed;opacity:.8}
.bn-stop button:hover{background:#141a4a}
.bn-dot{width:10px;height:10px;border-radius:50%;background:#6b7396}
.bn-stop.done .bn-dot{background:#4de0a2}.bn-stop.waiting .bn-dot{background:#e0a64f}
.bn-stop small{font:11px ui-monospace,monospace;color:#8f9cc6}
.bn-tag{display:inline-block;width:fit-content;padding:2px 8px;border:1px solid #7fe0f055;border-radius:999px;font:600 10.5px ui-monospace,monospace;letter-spacing:.08em;color:#7fe0f0}
.bn-packs{margin-top:20px;display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:12px}
.bn-packs>.bn-kicker{grid-column:1/-1;margin:0}
.bn-packs article{padding:14px;border:1px solid #7fe0f033;border-radius:14px;background:#0c1030aa}
.bn-packs h3{margin:0 0 6px;font-size:16px;color:#f1edff}.bn-packs p{margin:0 0 8px;font-size:13.5px;color:#b7c3e6}.bn-packs small{color:#8f9cc6;font-size:11.5px}
.bn-tap{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:14px}
.bn-tap article{display:grid;gap:8px;padding:18px;border:1px solid #e0a64f66;border-radius:16px;background:#1a1408aa}
.bn-tap .bn-idea{border-style:dashed;border-color:#7fe0f066;background:#0c1030aa}
.bn-tap h3{margin:0;font:400 20px Georgia,serif;color:#f1edff}.bn-tap p{margin:0;color:#c3cdee;line-height:1.5}.bn-tap small{font:11.5px ui-monospace,monospace;color:#8f9cc6}
.bn-two{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:22px}
.bn-book details{border-bottom:1px solid #7fe0f01f;padding:10px 0}
.bn-book summary{display:grid;gap:4px;cursor:pointer;color:#dfe6f7}
.bn-book summary small{color:#8f9cc6}
.bn-book p{color:#c3cdee;line-height:1.55}
.bn-foot{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px;margin-top:26px;padding-top:16px;border-top:1px solid #7fe0f01f;font:600 11px ui-monospace,monospace;letter-spacing:.14em;color:#8f9cc6}
.bn-detail{display:grid;gap:10px}.bn-detail h3{margin:0;font:400 24px Georgia,serif}
@media (max-width:720px){.bn-hero{grid-template-columns:1fr}.bn-seat{justify-self:start;grid-auto-flow:column;align-items:center}.bn-emblem.seat{width:84px;height:84px}.bn-arrow{display:none}.bn-works{margin:-8px -4px 0;border-radius:16px}}
@media (prefers-reduced-motion:reduce){.bn-sky i,.bn-emblem.seat svg{animation:none}}
