@font-face { font-family:"Noto Sans Runic"; src:url("fonts/NotoSansRunic-Regular.ttf") format("truetype"); } @font-face { font-family:"Noto Sans Ogham"; src:url("fonts/NotoSansOgham-Regular.ttf") format("truetype"); }
:root { --bg:#07060f; --panel:#0f0d1f; --line:#2c2558; --ink:#e6f4ff; --mute:#9d9ccb; --accent:#00f0ff; --pink:#ff2a6d; --yellow:#f5e642; --good:#39ff88; --bad:#ff5c7a; --c1:#00a0b5; --c2:#e0508c; --c3:#b38400; --c4:#9175e6; --mono: ui-monospace, "SF Mono", Menlo, monospace; --serif: ui-monospace, "SF Mono", Menlo, monospace; }
* { box-sizing:border-box; }
body { margin:0; background:var(--bg); color:var(--ink); font:16px/1.55 -apple-system, "Helvetica Neue", sans-serif; }
a { color:var(--accent); text-decoration:none; } a:hover { text-decoration:underline; }
.top { display:flex; align-items:baseline; gap:32px; padding:18px 32px; border-bottom:1px solid var(--line); position:sticky; top:0; background:var(--bg); z-index:2; flex-wrap:wrap; }
.brand { font:600 24px var(--serif); color:var(--ink); }
nav { display:flex; gap:22px; flex-wrap:wrap; } nav a { color:var(--mute); } nav a.on { color:var(--accent); }
main { max-width:1060px; margin:0 auto; padding:32px; outline:none; }
h1 { font:500 36px/1.15 var(--serif); margin:0 0 8px; } h2 { font:500 23px var(--serif); margin:34px 0 10px; } h3 { font-size:15px; margin:18px 0 6px; color:var(--accent); }
.lead { color:var(--mute); max-width:70ch; margin-top:0; } p { max-width:75ch; }
.family { margin-top:30px; } .family > h2 { border-bottom:1px solid var(--line); padding-bottom:6px; }
.grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(230px,1fr)); gap:12px; }
.card { display:block; background:var(--panel); border:1px solid var(--line); padding:14px 16px; color:var(--ink); border-radius:4px; }
.card:hover { border-color:var(--accent); text-decoration:none; }
.card b { font:500 18px var(--serif); } .card small { display:block; color:var(--mute); margin-top:4px; } .card span { display:block; font-size:14px; margin-top:6px; }
.panel { background:var(--panel); border:1px solid var(--line); padding:18px 20px; border-radius:4px; margin:14px 0; }
label { display:block; font-size:13px; color:var(--mute); margin:10px 0 4px; }
input, textarea, select { width:100%; background:#07060f; color:var(--ink); border:1px solid var(--line); padding:9px 10px; font:14px var(--mono); border-radius:3px; }
textarea { min-height:110px; resize:vertical; }
button { background:var(--accent); color:#05040c; border:0; padding:9px 16px; font-weight:600; font-size:14px; border-radius:3px; cursor:pointer; margin:12px 8px 0 0; }
button.alt { background:transparent; color:var(--accent); border:1px solid var(--accent); }
button:disabled { opacity:.5; cursor:wait; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline:2px solid var(--accent); outline-offset:2px; }
.mono, pre { font:14px/1.6 var(--mono); white-space:pre-wrap; word-break:break-word; }
pre { background:#07060f; border:1px solid var(--line); padding:12px; margin:6px 0; border-radius:3px; }
.two { display:grid; grid-template-columns:1fr 1fr; gap:16px; } .row { display:flex; gap:12px; flex-wrap:wrap; } .row > * { flex:1; min-width:150px; }
.tag { display:inline-block; font-size:12px; padding:2px 8px; border:1px solid var(--line); border-radius:20px; color:var(--mute); margin-right:6px; }
.tag.good { color:var(--good); border-color:var(--good); } .tag.bad { color:var(--bad); border-color:var(--bad); } .tag.warn { color:var(--accent); border-color:var(--accent); }
.err { color:var(--bad); } .ok { color:var(--good); } .mute { color:var(--mute); }
.scroll { overflow-x:auto; } table { border-collapse:collapse; width:100%; font-size:14px; } th, td { text-align:left; padding:6px 10px; border-bottom:1px solid var(--line); vertical-align:top; } th { color:var(--mute); font-weight:500; }
.bars { display:grid; grid-template-columns:repeat(26,1fr); gap:2px; align-items:end; height:130px; margin-top:8px; }
.bar { position:relative; height:100%; display:flex; align-items:flex-end; justify-content:center; }
.bar i { display:block; width:100%; background:var(--accent); } .bar u { position:absolute; left:0; right:0; border-top:2px solid var(--ink); text-decoration:none; }
.axis { display:grid; grid-template-columns:repeat(26,1fr); gap:2px; text-align:center; font:11px var(--mono); color:var(--mute); }
.verdict { border-left:3px solid var(--accent); padding:10px 16px; background:var(--panel); margin:12px 0; }
.steps li { margin:6px 0; }
@media (max-width:700px) { main { padding:20px 16px; } .top { padding:14px 16px; gap:12px; } .two { grid-template-columns:1fr; } h1 { font-size:29px; } }
/* Simulators */
.center { text-align:center; } .center table { margin:0 auto; width:auto; } .center pre { text-align:left; }
.enigma { width:100%; min-width:680px; display:block; background:#07060f; border:1px solid var(--line); border-radius:4px; margin:12px 0; }
.drum { fill:#171331; stroke:var(--line); } .pin { fill:#6d63b8; } .pinlabel { fill:var(--ink); font:10px var(--mono); text-anchor:start; dominant-baseline:middle; paint-order:stroke; stroke:#07060f; stroke-width:3px; transform:translate(6px,-3px); }
.wire { stroke:#5b52a0; stroke-width:.6; fill:none; opacity:.42; } .link { stroke:#2c2558; stroke-width:.5; } .rname { fill:var(--mute); font:12px sans-serif; text-anchor:middle; }
.rotormoved .drum { stroke:var(--accent); stroke-width:2; }
.flow { fill:none; stroke:var(--accent); stroke-width:2.6; stroke-linejoin:round; stroke-dasharray:1; stroke-dashoffset:1; animation:current .55s linear forwards; }
@keyframes current { to { stroke-dashoffset:0; } }
.windows { display:flex; gap:14px; margin:14px 0; } .window { background:var(--panel); border:1px solid var(--line); padding:6px 22px; text-align:center; border-radius:4px; min-width:110px; } .window small { display:block; color:var(--mute); } .window b { font:600 30px var(--mono); } .window.tick { border-color:var(--accent); animation:tick .25s; }
@keyframes tick { from { transform:translateY(-5px); } to { transform:none; } }
.lamps, .keys { text-align:center; margin:10px 0; } .lamps div, .keys div { display:flex; justify-content:center; gap:7px; margin:7px 0; }
.lamp { width:38px; height:38px; line-height:38px; border-radius:50%; background:#171331; color:#5b52a0; font:600 15px/38px var(--mono); } .lamp.on { background:#00f0ff; color:#05040c; box-shadow:0 0 22px #00f0ff; }
.key { width:42px; height:42px; margin:0; padding:0; border-radius:50%; background:#07060f; color:var(--ink); border:2px solid #5b52a0; font:600 15px var(--mono); } .key:active { transform:translateY(2px); }
table.tight { width:auto; font:15px var(--mono); } table.tight td, table.tight th { border:0; padding:1px 5px; text-align:center; } .cell { min-width:20px; } .mrow td { background:var(--accent); color:#05040c; } .srow td { outline:1px solid var(--good); color:var(--good); }
.strip { font:18px var(--mono); word-break:break-all; background:#07060f; border:1px solid var(--line); padding:10px; letter-spacing:2px; }
.disk { width:min(340px,100%); } .inner { fill:#0c0a1c; stroke:var(--accent); } .outerl, .innerl { font:14px var(--mono); text-anchor:middle; } .outerl { fill:var(--ink); } .innerl { fill:var(--accent); }
table.grille { border-collapse:collapse; width:auto; font:20px var(--mono); } table.grille td { width:44px; height:44px; text-align:center; border:1px solid var(--line); } td.hole { background:var(--accent); color:#05040c; } td.target { outline:2px solid var(--good); outline-offset:-2px; color:var(--good); }
.tableau { font-size:12px; } .tableau .hit { color:var(--accent); } .tableau .line { background:#1c2a4a; } .tableau .cross { background:var(--accent); color:#05040c; font-weight:700; }
.wheelrow { display:flex; align-items:center; gap:10px; margin:4px 0; font-size:12px; color:var(--mute); } .pinbit { display:inline-block; width:12px; height:18px; margin:0 1px; background:#1b1638; } .pinbit.up { background:#00a0b5; } .pinbit.now { outline:2px solid var(--accent); }
@media (prefers-reduced-motion: reduce) { .flow { animation:none; stroke-dashoffset:0; } .window.tick { animation:none; } }
/* Cyberpunk layer */
body { background:radial-gradient(1200px 600px at 80% -10%, #1d1147 0%, transparent 60%), radial-gradient(900px 500px at -10% 110%, #3a0f3f 0%, transparent 60%), var(--bg); background-attachment:fixed; }
body::after { content:""; position:fixed; inset:0; pointer-events:none; z-index:50; background:repeating-linear-gradient(0deg, rgba(255,255,255,.022) 0 1px, transparent 1px 3px); }
#rain { position:fixed; inset:0; width:100%; height:100%; z-index:-1; opacity:.2; }
.top { background:rgba(7,6,15,.86); backdrop-filter:blur(6px); border-bottom:1px solid var(--accent); box-shadow:0 0 18px rgba(0,240,255,.25); }
.brand { color:var(--accent); text-transform:uppercase; letter-spacing:.14em; text-shadow:0 0 12px rgba(0,240,255,.8), 2px 0 var(--pink); }
nav a { text-transform:uppercase; font:13px var(--mono); letter-spacing:.08em; } nav a.on { color:var(--pink); text-shadow:0 0 10px var(--pink); }
h1 { letter-spacing:-.01em; text-shadow:0 0 18px rgba(0,240,255,.35); } h2 { color:var(--yellow); letter-spacing:.02em; } h3 { text-transform:uppercase; letter-spacing:.08em; font-family:var(--mono); }
.family > h2 { border-bottom-color:var(--pink); }
.hero { position:relative; padding:44px 0 34px; } .kicker { font:13px var(--mono); color:var(--pink); letter-spacing:.2em; margin:0 0 10px; }
.hero::after { content:""; position:absolute; left:0; right:0; bottom:0; height:90px; z-index:-1; opacity:.5; background:linear-gradient(var(--pink) 1px, transparent 1px) 0 0/100% 18px, linear-gradient(90deg, var(--accent) 1px, transparent 1px) 0 0/44px 100%; transform:perspective(160px) rotateX(58deg); transform-origin:bottom; mask-image:linear-gradient(transparent, #000); -webkit-mask-image:linear-gradient(transparent, #000); }
.glitch { position:relative; } .glitch::before, .glitch::after { content:attr(data-text); position:absolute; inset:0; pointer-events:none; opacity:.75; }
.glitch::before { color:var(--pink); clip-path:inset(0 0 62% 0); animation:gl1 3.6s infinite steps(2); } .glitch::after { color:var(--accent); clip-path:inset(58% 0 0 0); animation:gl2 2.9s infinite steps(2); }
@keyframes gl1 { 0%,92%,100% { transform:none; } 94% { transform:translate(-4px,1px); } 97% { transform:translate(3px,-1px); } }
@keyframes gl2 { 0%,88%,100% { transform:none; } 91% { transform:translate(4px,0); } 95% { transform:translate(-3px,1px); } }
.cta { display:inline-block; padding:10px 18px; margin:8px 10px 0 0; background:var(--accent); color:#05040c; font:600 13px var(--mono); text-transform:uppercase; letter-spacing:.08em; clip-path:polygon(0 0,100% 0,100% 70%,92% 100%,0 100%); } .cta.alt { background:var(--pink); color:#05040c; } .cta:hover { text-decoration:none; filter:brightness(1.2); }
.card, .panel { clip-path:polygon(0 0,calc(100% - 14px) 0,100% 14px,100% 100%,14px 100%,0 calc(100% - 14px)); background:linear-gradient(145deg, rgba(25,20,58,.92), rgba(12,10,28,.92)); }
.card:hover { box-shadow:inset 0 0 0 1px var(--accent), inset 0 0 26px rgba(0,240,255,.14); }
button { background:var(--accent); clip-path:polygon(0 0,100% 0,100% 68%,calc(100% - 9px) 100%,0 100%); text-transform:uppercase; font-family:var(--mono); letter-spacing:.05em; } button.alt { background:transparent; box-shadow:inset 0 0 0 1px var(--accent); border:0; }
pre, input, textarea, select { background:rgba(5,4,14,.86); } .verdict { border-left-color:var(--pink); background:rgba(255,42,109,.08); } .flow { stroke:var(--pink); filter:drop-shadow(0 0 4px var(--pink)); } .lamp.on { box-shadow:0 0 24px var(--accent); }
.tiles { display:grid; grid-template-columns:repeat(auto-fit,minmax(135px,1fr)); gap:10px; margin:18px 0; } .tile { background:rgba(15,13,31,.9); border-left:2px solid var(--accent); padding:12px 14px; } .tile b { display:block; font:600 28px var(--mono); } .tile span { color:var(--mute); font-size:13px; }
.chart { display:block; width:100%; background:rgba(5,4,14,.7); border:1px solid var(--line); margin:12px 0; } .axisl { fill:var(--mute); font:11px var(--mono); } .charttitle { fill:var(--ink); font:13px var(--mono); }
.legend { display:flex; gap:18px; flex-wrap:wrap; font-size:13px; color:var(--mute); } .legend i { display:inline-block; width:10px; height:10px; border-radius:50%; margin-right:6px; } .dot { cursor:pointer; } .dot:hover { stroke:#fff; stroke-width:2; }
.heat { border-collapse:separate; border-spacing:2px; width:auto; } .heat td, .heat th { text-align:center; padding:0; border:0; font:12px var(--mono); } .heat td { width:68px; height:42px; color:var(--ink); vertical-align:middle; }
.status-open { color:var(--accent); } .filter { max-width:320px; }
@media (prefers-reduced-motion: reduce) { #rain { display:none; } .glitch::before, .glitch::after { animation:none; display:none; } }
.stack { display:flex; gap:2px; height:22px; margin:10px 0; } .stack div { border-radius:3px; min-width:3px; }
.anneal { font:16px/1.65 var(--mono); word-break:break-all; min-height:9em; } .keygrid { display:grid; grid-template-columns:repeat(13,1fr); gap:4px; font:13px var(--mono); text-align:center; margin:10px 0; } .keygrid div { background:rgba(5,4,14,.8); border:1px solid var(--line); padding:3px; } .keygrid .good { border-color:var(--good); color:var(--good); }
.timeline { list-style:none; margin:24px 0; padding:0; position:relative; } .timeline::before { content:""; position:absolute; left:128px; top:0; bottom:0; width:2px; background:linear-gradient(var(--accent), var(--pink)); box-shadow:0 0 12px var(--accent); }
.timeline li { position:relative; margin:0 0 10px; } .timeline a { display:grid; grid-template-columns:120px 1fr; column-gap:32px; padding:10px 14px 10px 0; color:var(--ink); } .timeline a:hover { text-decoration:none; background:rgba(0,240,255,.07); }
.timeline a::before { content:""; position:absolute; left:123px; top:17px; width:12px; height:12px; border-radius:50%; background:var(--bg); border:2px solid var(--accent); box-shadow:0 0 8px var(--accent); } .timeline a:hover::before { background:var(--pink); border-color:var(--pink); }
.timeline time { grid-row:1 / span 3; text-align:right; font:13px var(--mono); color:var(--yellow); padding-top:2px; } .timeline b { font:500 18px var(--mono); } .timeline span { color:var(--ink); font-size:15px; } .timeline small { color:var(--mute); }
.era-nav { margin-top:14px; } .eventnav { display:flex; justify-content:space-between; gap:16px; margin-top:34px; padding-top:14px; border-top:1px solid var(--line); flex-wrap:wrap; } .gloss dt { color:var(--accent); font:600 14px var(--mono); margin-top:12px; } .gloss dd { margin:2px 0 0; max-width:72ch; }
@media (max-width:640px) { .timeline::before { left:8px; } .timeline a { grid-template-columns:1fr; padding-left:28px; } .timeline a::before { left:3px; } .timeline time { grid-row:auto; text-align:left; } }
.filters { align-items:end; margin-top:16px; } .check { width:auto; margin-right:6px; } .reading { font:16px/1.6 var(--mono); color:var(--ink); }
.aesgrid { display:inline-grid; grid-template-columns:repeat(4,58px); gap:5px; margin:14px; } .aesgrid div { height:58px; line-height:58px; text-align:center; font:600 16px/58px var(--mono); color:#fff; border-radius:4px; transition:background .25s; text-shadow:0 1px 2px #000; } .aesgrid .chg { outline:2px solid var(--yellow); }
.three { display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); gap:16px; } .three figure { margin:0; text-align:center; } .three canvas { width:100%; image-rendering:pixelated; border:1px solid var(--line); } figcaption { color:var(--mute); font-size:14px; margin-top:6px; }
.bitgrid { display:grid; grid-template-columns:repeat(16,1fr); gap:3px; margin:16px 0; } .bitgrid i { aspect-ratio:1; background:#1b1638; border-radius:2px; } .bitgrid i.on { background:var(--accent); box-shadow:0 0 6px var(--accent); }
.feistel { margin:12px 0; } .feistel small { display:block; color:var(--mute); margin-bottom:4px; } .feistel span { display:inline-block; width:34px; height:34px; line-height:34px; text-align:center; font:600 15px/34px var(--mono); background:#1b1638; margin-right:3px; border-radius:3px; } .feistel span.on { background:var(--c1); color:#fff; } .feistel span.gap { margin-right:16px; }
.colgrid { display:flex; gap:6px; justify-content:center; } .col { margin:0; padding:6px 10px; background:#100e22; color:var(--ink); clip-path:none; display:flex; flex-direction:column; font:16px/1.5 var(--mono); border:1px solid var(--line); } .col.picked { border-color:var(--pink); box-shadow:0 0 10px var(--pink); } .clockv { fill:#fff; font:600 11px var(--mono); }
.scene { perspective:900px; height:360px; display:flex; align-items:center; justify-content:center; touch-action:none; cursor:grab; } .cube { position:relative; width:0; height:0; transform-style:preserve-3d; } .sticker { position:absolute; width:52px; height:52px; left:-26px; top:-26px; border-radius:7px; box-shadow:inset 0 0 0 2px rgba(0,0,0,.55); backface-visibility:hidden; }
.cubekeys { display:flex; flex-wrap:wrap; justify-content:center; gap:4px; margin:8px 0; } .cubekeys button { margin:0; padding:7px 11px; min-width:40px; }
.sudoku { display:inline-grid; grid-template-columns:repeat(9,42px); margin:8px auto; border:2px solid var(--accent); } .sudoku div { height:42px; line-height:42px; text-align:center; font:17px/42px var(--mono); border:1px solid var(--line); color:var(--accent); } .sudoku div:nth-child(9n+3), .sudoku div:nth-child(9n+6) { border-right:2px solid var(--accent); } .sudoku div:nth-child(n+19):nth-child(-n+27), .sudoku div:nth-child(n+46):nth-child(-n+54) { border-bottom:2px solid var(--accent); } .sudoku .given { color:var(--ink); font-weight:700; } .sudoku .hi { background:var(--pink); color:#05040c; }
.pub { padding:12px 0; border-bottom:1px solid var(--line); } .pub small { display:block; color:var(--ink); opacity:.85; margin-top:3px; } .pub small.mute { color:var(--mute); }
nav.groups { display:flex; gap:20px; flex-wrap:wrap; align-items:center; } nav.groups details { position:relative; } nav.groups summary { cursor:pointer; list-style:none; color:var(--mute); font:13px var(--mono); text-transform:uppercase; letter-spacing:.08em; } nav.groups summary::-webkit-details-marker { display:none; } nav.groups summary::after { content:" ▾"; } nav.groups details.on summary { color:var(--pink); } nav.groups .menu { position:absolute; top:26px; left:0; min-width:180px; background:#0d0b1e; border:1px solid var(--accent); padding:8px 0; z-index:20; display:flex; flex-direction:column; gap:0; box-shadow:0 0 18px rgba(0,240,255,.3); } nav.groups .menu a { padding:7px 14px; }
.timeline.slim::before { left:6px; } .ch { position:relative; padding:4px 0 16px 28px; } .ch::before { content:""; position:absolute; left:1px; top:9px; width:10px; height:10px; border-radius:50%; border:2px solid var(--accent); background:var(--bg); box-shadow:0 0 8px var(--accent); } .ch time { display:block; font:13px var(--mono); color:var(--yellow); } .ch b { display:block; font:500 17px var(--mono); margin:2px 0; } .ch span { display:block; font-size:15px; } .ch small { display:block; color:var(--mute); margin-top:4px; } .ch a { display:inline-block; margin-top:4px; font-size:14px; } .channels { align-items:start; }
.timeline.slim a { display:inline-block; padding:0; color:var(--accent); } .timeline.slim a::before { display:none; } .timeline.slim a:hover { background:none; text-decoration:underline; } .timeline.slim time { text-align:left; padding:0; }
.scanbox { position:relative; width:min(340px,100%); aspect-ratio:1; margin:0 auto; background:#07060f; border:1px solid var(--accent); overflow:hidden; } .scanbox.wide { width:min(520px,100%); aspect-ratio:4/3; } .scanbox video { width:100%; height:100%; object-fit:cover; } .gridov { position:absolute; inset:0; background:linear-gradient(var(--accent) 2px,transparent 2px) 0 0/100% 33.33%, linear-gradient(90deg,var(--accent) 2px,transparent 2px) 0 0/33.33% 100%; opacity:.75; pointer-events:none; }
.filebtn { display:inline-block; margin:12px 8px 0 0; padding:9px 16px; color:var(--accent); border:1px solid var(--accent); cursor:pointer; font:600 14px var(--mono); text-transform:uppercase; letter-spacing:.05em; } .filebtn input { position:absolute; opacity:0; width:1px; height:1px; }
.net { display:grid; grid-template-columns:repeat(12,minmax(0,34px)); gap:3px; justify-content:center; } .st { aspect-ratio:1; margin:0; padding:0; clip-path:none; border-radius:3px; } .sudoku.edit input { width:42px; height:42px; text-align:center; font:17px var(--mono); padding:0; border:1px solid var(--line); background:transparent; color:var(--accent); border-radius:0; } .sudoku.edit input:nth-child(9n+3), .sudoku.edit input:nth-child(9n+6) { border-right:2px solid var(--accent); } .sudoku.edit input:nth-child(n+19):nth-child(-n+27), .sudoku.edit input:nth-child(n+46):nth-child(-n+54) { border-bottom:2px solid var(--accent); } .sudoku.edit input.given { color:var(--ink); font-weight:700; }
.biogrid { display:grid; grid-template-columns:repeat(auto-fit,minmax(290px,1fr)); gap:12px; } .biogrid .panel { margin:0; } .codon td { font-size:13px; padding:3px 8px; } .aa-stop { color:var(--pink); font-weight:700; } .aa-L { background:rgba(0,160,181,.28); } .aa-S { background:rgba(224,80,140,.28); } .aa-R { background:rgba(145,117,230,.28); }
.peg { display:inline-block; width:22px; height:22px; border-radius:50%; margin-right:5px; border:1px solid #000; } .lights { display:inline-grid; grid-template-columns:repeat(5,58px); gap:6px; } .lt { width:58px; height:58px; margin:0; padding:0; background:#1b1638; clip-path:none; border-radius:7px; } .lt.on { background:var(--yellow); box-shadow:0 0 12px var(--yellow); } .lt.tip { outline:3px solid var(--pink); }
.tiles8 { display:inline-grid; grid-template-columns:repeat(3,84px); gap:6px; } .tiles8 button { width:84px; height:84px; margin:0; font:600 28px var(--mono); clip-path:none; border-radius:7px; } .tiles8 .blank { background:transparent; box-shadow:none; }
.hanoi { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; margin-top:16px; } .peg3 { height:210px; display:flex; flex-direction:column; justify-content:flex-end; align-items:center; gap:2px; border-bottom:3px solid var(--accent); background:linear-gradient(90deg,transparent calc(50% - 2px),var(--line) calc(50% - 2px),var(--line) calc(50% + 2px),transparent calc(50% + 2px)); } .peg3 span { height:18px; background:var(--pink); border-radius:4px; }
.chess { display:inline-grid; width:min(460px,100%); gap:0; margin:10px auto; border:2px solid var(--accent); } .chess div { aspect-ratio:1; display:flex; align-items:center; justify-content:center; background:#151232; font-size:clamp(14px,3vw,28px); color:var(--yellow); } .chess .dk { background:#2a2358; } .kn { width:100%; height:100%; margin:0; padding:0; background:transparent; color:var(--ink); clip-path:none; font:12px var(--mono); box-shadow:none; }
.nono { width:auto; margin:12px auto; font:13px var(--mono); } .nono th { color:var(--mute); padding:2px 8px; vertical-align:bottom; text-align:right; border:0; } .nono td { width:34px; height:34px; border:1px solid var(--line); text-align:center; color:var(--mute); padding:0; } .nono td.on { background:var(--accent); }
.guide { list-style:none; padding:0; } .guide li.done .panel { opacity:.6; } .stepchk { display:flex; align-items:center; gap:8px; margin:0; } .stepchk h3 { margin:0; } .algs { margin-top:8px; display:flex; flex-wrap:wrap; gap:10px; align-items:center; } .algs code { font:600 15px var(--mono); color:var(--yellow); background:rgba(5,4,14,.8); padding:5px 10px; border:1px solid var(--line); } .algs a { font-size:13px; }
.gdfig { margin:14px 0 6px; overflow-x:auto; } .gdrow { display:flex; align-items:center; gap:10px; flex-wrap:wrap; } .gdf { margin:0; } .gdf figcaption { color:var(--mute); font-size:13px; margin-top:4px; max-width:420px; } .gd { display:block; max-width:100%; height:auto; } .gdarrow { color:var(--accent); font-size:22px; } .gdcol { display:flex; flex-direction:column; gap:5px; } .gdfb { font-size:18px; color:var(--ink); } .gdcode { font:18px var(--mono); line-height:1.7; } .gdcode em { color:var(--yellow); font-style:normal; }
.gdc { fill:#151232; stroke:#3a3560; stroke-width:1; } .gdc.gdh { fill:#0d6a79; } .gdc.gdx { fill:#6a2147; } .gdc.gdt2 { fill:#7a6b00; } .gdb { stroke:var(--accent); stroke-width:2; } .gdt { fill:var(--ink); font:11px var(--mono); } .gdn { fill:var(--ink); font:600 15px var(--mono); } .gds { fill:var(--ink); font:7.5px var(--mono); }
.bits { width:min(260px,100%); image-rendering:pixelated; border:1px solid var(--line); } .bitrow { display:flex; gap:6px; flex-wrap:wrap; } .bitrow button { margin:0; width:42px; clip-path:none; } .bitrow button.bad { background:var(--pink); } .ddt { width:30px; height:26px; color:var(--ink); } mark { background:rgba(255,42,109,.45); color:var(--ink); }
.scanlay { display:grid; grid-template-columns:repeat(auto-fit,minmax(320px,1fr)); gap:14px; align-items:start; } .scanlay .panel { margin:0; } .st { touch-action:none; cursor:grab; color:#fff; position:relative; font:600 9px/1 var(--mono); } .st span { position:absolute; inset:auto 0 50%; transform:translateY(50%); text-shadow:0 0 3px #000,0 0 3px #000,0 1px 2px #000; pointer-events:none; } .netface { pointer-events:none; margin:-2px; border:2px solid transparent; border-radius:4px; z-index:1; } .netface.sel { border-color:var(--accent); box-shadow:0 0 10px var(--accent); } .netface.over { border-color:var(--yellow); box-shadow:0 0 10px var(--yellow); } .netghost { position:fixed; z-index:50; width:96px; height:96px; margin:-48px 0 0 -48px; display:grid; grid-template-columns:repeat(3,1fr); gap:3px; opacity:.88; pointer-events:none; } .netghost b { border-radius:3px; }
.crackopts { margin:10px 0 4px; max-width:460px; } .crackbar { height:6px; background:rgba(255,255,255,.08); border-radius:3px; margin:8px 0 2px; overflow:hidden; } .crackbar i { display:block; height:100%; background:var(--accent); width:0; transition:width .3s linear; } .cstep { display:grid; grid-template-columns:34px 1fr; gap:12px; } .cstep > b { font:600 15px/30px var(--mono); text-align:center; width:30px; height:30px; border:1px solid var(--accent); color:var(--accent); border-radius:50%; } .cstep h3 { margin:3px 0 4px; } .cstep .cbody { min-width:0; } .cbars { display:flex; align-items:flex-end; gap:2px; height:92px; margin:10px 0 2px; } .cbars i { flex:1; min-width:3px; background:var(--c1); border-radius:2px 2px 0 0; } .cbars i.top { background:var(--c2); } .cbarlab { display:flex; gap:2px; font:10px var(--mono); color:var(--mute); } .cbarlab span { flex:1; min-width:3px; text-align:center; overflow:hidden; } .cverdict { border-left:4px solid var(--mute); padding:2px 0 2px 14px; margin:8px 0; } .cverdict.readable { border-color:var(--good); } .cverdict.partial { border-color:var(--yellow); } .cverdict.none { border-color:var(--bad); } tr.pick { cursor:pointer; } tr.pick:hover td { background:rgba(0,240,255,.07); } tr.pick.on td { background:rgba(0,240,255,.14); }
.two > * { min-width:0; } .cbars i { min-width:1px; }
.glyph { font-family:"Noto Sans Egyptian Hieroglyphs","Noto Sans Linear B","Noto Sans Cuneiform","Noto Sans Phoenician","Noto Sans Gothic","Noto Sans Ugaritic","Noto Sans Old Persian","Noto Sans Runic","Noto Sans Ogham","Segoe UI Historic","Apple Symbols",sans-serif; }
.palette { display:flex; flex-wrap:wrap; gap:4px; max-height:320px; overflow:auto; margin-top:10px; } .palette button { margin:0; padding:4px 6px; min-width:44px; background:transparent; color:var(--ink); border:1px solid var(--line); font-size:24px; line-height:1.1; } .palette button, .palette button small { text-transform:none; letter-spacing:0; } .palette button small { display:block; font:11px var(--mono); color:var(--mute); } .palette button:hover { border-color:var(--accent); }
textarea.glyph, .glyphout { font-size:26px; line-height:1.4; }
.lensstage { position:relative; margin-top:12px; background:#000; border:1px solid var(--accent); box-shadow:0 0 18px rgba(0,240,255,.25), inset 0 0 30px rgba(255,42,109,.12); max-width:960px; min-height:60px; }
.lensstage video, .lensstage img { display:block; width:100%; height:auto; }
.lensstage canvas { position:absolute; inset:0; width:100%; height:100%; pointer-events:none; }
.lensstage::after { content:""; position:absolute; inset:0; pointer-events:none; background:repeating-linear-gradient(0deg, rgba(0,0,0,.18) 0 1px, transparent 1px 3px); mix-blend-mode:multiply; }
.lenslog { background:#05040c; color:var(--good); font:12px/1.4 var(--mono); max-height:180px; overflow:auto; padding:8px; border-left:2px solid var(--pink); white-space:pre-wrap; }
.lenslive { font:15px var(--mono); color:var(--accent); text-shadow:0 0 8px rgba(0,240,255,.6); min-height:1.4em; }
.lenstext { white-space:pre-wrap; background:#05040c; padding:10px; border:1px solid var(--line); }
.lensstage [hidden] { display:none; }
.lenstips { list-style:none; padding:0; margin:6px 0; font:13px var(--mono); color:var(--yellow); } .lenstips li::before { content:"» "; color:var(--pink); }
.static-note { border-left:2px solid var(--yellow); background:var(--panel); padding:8px 12px; font-size:14px; } .static-foot { margin:28px max(16px, calc((100% - 996px) / 2)); max-width:none; color:var(--mute); }
