@font-face{font-family:"VCR OSD Mono";src:url('/assets/fonts/vcr-osd-mono.ttf') format('truetype');font-display:swap}
@font-face{font-family:OldStyle;src:url('/assets/fonts/oldstyle.ttf') format('truetype');font-display:swap}
:root{color-scheme:dark;background:#000;color:#fff;font-family:"VCR OSD Mono",monospace}
*{box-sizing:border-box}body{margin:0;min-height:100vh;background:#000}button,input{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible{outline:2px solid #fff;outline-offset:3px}
.mark{font:1.3rem "VCR OSD Mono",monospace;letter-spacing:.06em}.mark span{font:400 .7rem "VCR OSD Mono",monospace;letter-spacing:.14em;color:#fff}
.eyebrow{font-size:.7rem;letter-spacing:.2em;color:#fff;font-weight:400}.public-home{display:grid;place-items:center;text-align:center;padding:2rem}.public-home main{max-width:50rem}.public-home h1{font:clamp(4rem,15vw,10rem)/1 "VCR OSD Mono",monospace;letter-spacing:.08em;margin:.8rem 0 2rem}.public-home main>p:last-child{font-size:clamp(1rem,2.5vw,1.4rem);line-height:1.6;color:#fff}
.access{width:min(100%,960px);padding:clamp(1.5rem,6vw,5rem);margin:0 auto}.access h1,.shell h1{font-size:clamp(2.4rem,5vw,4.5rem);letter-spacing:0;margin:4rem 0 .4rem}.intro,.identity{color:#fff}.notice{padding:1rem;border:1px solid #fff;color:#fff}.access-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin-top:3rem}.access form,.stats article,.board{border:1px solid #fff;background:#000;padding:clamp(1.3rem,3vw,2rem)}.access h2{margin:0 0 2rem;font-size:1.25rem}.access label{display:block;margin:1rem 0;font-size:.88rem;color:#fff}.access label small{color:#fff}.access input{display:block;width:100%;background:#000;color:#fff;border:1px solid #fff;padding:.8rem;margin-top:.5rem}.access button{background:#fff;color:#000;border:0;padding:.85rem 1.2rem;margin-top:1rem;font-weight:400}
.shell{max-width:1150px;margin:0 auto;padding:clamp(1.3rem,4vw,3rem)}.shell header{display:flex;align-items:center;justify-content:space-between;gap:1rem}.shell header nav{margin-left:auto}.shell a{color:#fff;text-underline-offset:.25em}.quiet{color:#fff;border:1px solid #fff;background:transparent;padding:.65rem 1rem}.shell h1{margin-top:5rem}.stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;margin:3rem 0}.stats span,.stats small{display:block;color:#fff}.stats strong{display:block;font:clamp(2rem,5vw,4rem) "VCR OSD Mono",monospace;margin:1rem 0}.board{margin:1.5rem 0}.board-title{display:flex;justify-content:space-between;align-items:end;gap:1rem}.board h2{margin:.2rem 0 1.5rem;font-size:1.7rem}.board-title>span{color:#fff;font-size:.85rem}.board table{width:100%;border-collapse:collapse;text-align:left}.board th,.board td{border-top:1px solid #fff;padding:1rem .5rem}.board th{font-size:.75rem;text-transform:uppercase;letter-spacing:.1em;color:#fff}.board th:last-child,.board td:last-child{text-align:right}.self{background:#000}
.score-chart{margin-top:3rem}.chart-controls{display:flex;flex-wrap:wrap;gap:.6rem 1rem;margin:.5rem 0 1rem}.chart-controls label{display:inline-flex;align-items:center;gap:.4rem;color:#fff;font-size:.8rem;cursor:pointer}.chart-controls input{accent-color:var(--line-color)}.chart-wrap{height:310px;position:relative}.chart-wrap canvas{display:block;width:100%;height:100%}.chart-detail{color:#fff;font-size:.83rem;min-height:1.2em}.pagination{display:flex;gap:1.5rem;margin-top:1.5rem}
@media(max-width:680px){.access-grid,.stats{grid-template-columns:1fr}.board{overflow-x:auto}.board table{min-width:420px}.shell header{flex-wrap:wrap}.chart-wrap{height:250px}}
.content-page main{width:min(100%,760px);margin:0 auto;padding:clamp(2rem,8vw,6rem) 1.5rem}.content-page h1{font:clamp(2.5rem,7vw,5rem)/1.1 "VCR OSD Mono",monospace}.content-page p{color:#fff;line-height:1.75}
.shell header nav{display:flex;align-items:center;gap:1.25rem}.shell header .mark{text-decoration:none;white-space:nowrap}.tree-viewport{overflow:auto;max-height:70vh;min-height:400px;border:1px solid #fff;background:linear-gradient(#000 1px,transparent 1px),linear-gradient(90deg,#000 1px,transparent 1px),#000;background-size:40px 40px}.tree-map{position:relative}.tree-lines{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none}.tree-lines path{fill:none;stroke:#000;stroke-width:1.5}.tree-lines marker path{fill:#000;stroke:none}.tree-node{position:absolute;width:215px;min-height:84px;text-align:left;padding:1rem;background:#000;border:1px solid #fff;color:#fff;box-shadow:0 0 0 4px #000}.tree-node small,.tree-node span{display:block;color:#fff;font-size:.7rem;letter-spacing:.08em;text-transform:uppercase}.tree-node strong{display:block;font:1rem "VCR OSD Mono",monospace;margin:.5rem 0}.tree-node.complete{border-color:#fff}.tree-node.available{border-color:#fff}.tree-node.locked{border-color:#fff;color:#fff}.tree-node.draft{border-style:dashed}.tree-details{min-height:110px}.tree-details h2{margin:0 0 .4rem}.tree-details p{color:#fff}
@media(max-width:680px){.shell header nav{gap:.8rem;font-size:.85rem}.tree-viewport{min-height:330px}}
.challenge-detail .board,.content-page .board{max-width:760px}.flag-form{display:flex;align-items:end;gap:.8rem;flex-wrap:wrap;margin:1rem 0}.flag-form label{display:block;flex:1;min-width:220px;color:#fff}.flag-form input{display:block;width:100%;padding:.8rem;margin-top:.4rem;color:#fff;background:#000;border:1px solid #fff}.flag-form button{padding:.8rem 1.2rem;background:#fff;border:0;color:#000}.content-page .board article{border-top:1px solid #fff;padding:1rem 0}.content-page .board h3{margin:.4rem 0}.challenge-detail .notice{max-width:760px}
.page-blocks h2{font:clamp(1.5rem,4vw,2.4rem) "VCR OSD Mono",monospace;margin:2.5rem 0 1rem}.page-blocks pre{overflow:auto;background:#000;border:1px solid #fff;padding:1.2rem;line-height:1.5}.page-blocks figure{margin:2rem 0}.page-blocks img{max-width:100%;height:auto;border:1px solid #fff}.page-blocks figcaption{color:#fff;font-size:.85rem;margin-top:.5rem}.page-blocks a{overflow-wrap:anywhere}

/* The interface uses VCR; the wordmark and narrative use the original OldStyle. */
body{font-weight:400;line-height:1.5}
button,input,textarea,select,code,pre{font-family:"VCR OSD Mono",monospace}
a,a:visited{color:inherit;text-underline-offset:.25em}
a:focus-visible,summary:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid #fff;outline-offset:4px}
::selection{background:#fff;color:#000}
input,.chart-controls input{accent-color:#fff}input::placeholder,textarea::placeholder{color:#fff;opacity:1}
.mark{font-family:OldStyle,serif}.mark span{font-family:"VCR OSD Mono",monospace}
.public-home{min-height:100vh;min-height:100dvh}
.public-home main{width:100%;animation:arrival 900ms ease both}
.public-home h1{font-family:OldStyle,serif;font-weight:400;letter-spacing:.025em;font-size:clamp(5rem,19vw,12rem);margin:2rem 0}
.lore,.content-page h1,.page-blocks .lore{font-family:OldStyle,serif;font-weight:400}
.public-home .lore{font-size:clamp(1.4rem,3vw,2rem);line-height:1.6;margin:1rem auto;max-width:35rem}
.public-home .entry-prompt{font:1rem/1.5 "VCR OSD Mono",monospace;letter-spacing:.12em;margin-top:3rem}
.access{max-width:700px}.access h1{letter-spacing:0;margin-top:3rem;font-weight:400}
.access .mark{text-decoration:none}.access-form{margin-top:2.5rem}
.access form{background:#000;border-color:#fff}.access h2{font-weight:400}
.access button:hover,.quiet:hover{background:#000;color:#fff;outline:1px solid #fff}
.access button{border:1px solid #fff}.access input{border-color:#fff}
.access-switch{margin:1.5rem 0 2.5rem}.verification-help summary{cursor:pointer}
.verification-help form{margin-top:1rem}.notice{border-color:#fff;color:#fff;background:#000}
.tree-viewport{background:#000}.tree-node.complete{background:#fff;color:#000;border:3px double #000}
.tree-node.complete small,.tree-node.complete span{color:#000}.tree-node.locked{border-style:dashed}
.tree-node.draft{border-style:dotted}.self{background:#fff;color:#000}
.page-blocks img{filter:grayscale(1)}.page-blocks .lore,.content-page main>.lore{font-size:1.3rem;line-height:1.75}
@keyframes arrival{from{opacity:0;transform:translateY(.6rem)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){.public-home main{animation:none}}

/* Preserve the original glyphs; do not synthesize heavier or slanted faces. */
:root{font-synthesis:none}
.challenge-image{margin:2rem 0;max-width:760px}.challenge-image img{display:block;width:100%;height:auto;filter:grayscale(1);border:1px solid #fff}.challenge-image figcaption{margin-top:.75rem;font-size:.85rem}

.tree-lines path{stroke:#fff}.tree-lines marker path{fill:#fff;stroke:none}
