@font-face{font-family:'Press Start 2P';src:url(/fonts/pressstart2p-latin.woff2) format('woff2');font-display:swap}
@font-face{font-family:'VT323';src:url(/fonts/vt323-latin.woff2) format('woff2');font-display:swap}
:root{--bg:#050607;--panel:#0d0f12;--line:#2a2e35;--txt:#e9ecef;--dim:#8b939e;--red:#e0262b;--green:#39f25a;--px:'Press Start 2P',ui-monospace,monospace;--mono:'VT323',ui-monospace,Menlo,monospace}
*{box-sizing:border-box}html,body{font-variant-ligatures:none;margin:0;background:var(--bg);color:var(--txt);font-family:var(--mono);font-size:20px;line-height:1.2}
a{color:#9fd3ff}
.wrap{max-width:820px;margin:0 auto;padding:14px 12px 40px}
.pxbox{border:4px solid #3a3f47;box-shadow:0 0 0 2px #000,4px 4px 0 2px #000}
.top{display:flex;justify-content:space-between;align-items:center;font-family:var(--px);font-size:9px;color:var(--dim);margin:0 2px 10px}.top a{color:var(--dim);text-decoration:none}
#hero{margin:0 0 14px;background:#0b0d10;padding:16px 14px 14px;text-align:center;background-image:linear-gradient(rgba(255,255,255,.025) 50%,transparent 50%);background-size:100% 4px}
#hero .hk{font-family:var(--px);font-size:clamp(10px,3vw,15px);color:#cfd5dc;letter-spacing:1px;line-height:1.6}
#hero .hbig{font-family:var(--px);font-size:clamp(52px,17vw,120px);line-height:1.05;color:var(--hc,var(--red));text-shadow:6px 6px 0 rgba(0,0,0,.6);margin:12px 0 10px;letter-spacing:-2px;white-space:nowrap}
#hero .htxt{font-family:var(--px);font-size:clamp(12px,3.8vw,22px);line-height:1.55;color:#fff}#hero .htxt b{color:#ffe9a8;font-weight:normal}
#hero .hctx{font-size:19px;color:#d8dde3;margin:12px auto 0;text-align:left}#hero .hctx p{margin:5px 0}#hero .hctx b{color:#ffe9a8;font-weight:normal}
#hero .hsrc{font-size:15px;color:var(--dim);margin:10px 0 0;text-align:left}
h1{font-family:var(--px);font-size:clamp(13px,4vw,24px);line-height:1.4;margin:6px 0 8px;text-align:center}
.stage{position:relative;background:#000;padding:8px}
.datebar{display:flex;justify-content:space-between;align-items:flex-end;gap:8px;margin:2px 4px 8px}
#date{font-family:var(--px);font-size:clamp(18px,5.5vw,32px);color:#fff;white-space:nowrap}
.counter{text-align:right;font-size:16px;color:var(--dim);line-height:1.1}.counter b{font-family:var(--px);font-size:clamp(13px,3.8vw,18px);color:#ffe9a8;display:block;margin-top:4px}
canvas#map{display:block;image-rendering:pixelated;touch-action:manipulation;margin:0 auto}
.legend{display:flex;flex-wrap:wrap;row-gap:6px;align-items:center;justify-content:center;gap:8px;margin:10px auto 2px;font-family:var(--px);font-size:clamp(7px,2.2vw,10px)}
.legend .sw{display:flex;gap:2px}.legend .sw i{width:clamp(10px,3vw,16px);height:clamp(10px,3vw,16px);display:block}
.legend .nod{display:flex;align-items:center;gap:4px;color:var(--dim)}.legend .nod i{width:12px;height:12px;background:#1a1e24;display:block}
.lmid{text-align:center;color:var(--dim);font-size:16px;margin-top:4px}
#credit{color:#59606a;font-size:14px;text-align:center;margin:6px 4px 0}
#tip a{pointer-events:auto;color:#ffe9a8}#tip small{color:#9aa3ad}.rk small{color:#9aa3ad;font-size:.8em}
#tip{position:absolute;pointer-events:none;background:#000e;border:2px solid #555;padding:6px 8px;font-size:17px;display:none;max-width:240px;z-index:5}
.controls{display:flex;align-items:center;gap:10px;margin-top:10px;background:var(--panel);border:2px solid var(--line);padding:8px}
#play{flex:none;width:52px;height:52px;border:2px solid #2f6b3a;background:#0f2a15;cursor:pointer;display:grid;place-items:center}#play svg{width:24px;height:24px;fill:var(--green)}
#scrub{flex:1;width:100%;accent-color:#bbb;height:28px}
.board{margin-top:14px;background:var(--panel);padding:10px 12px}
.board h2{font-family:var(--px);font-size:11px;margin:2px 0 10px;color:#cfd5dc;letter-spacing:1px;line-height:1.5}
.cols{display:grid;grid-template-columns:1fr 1fr;gap:10px}.cols>div{min-width:0}.cols h3{font-family:var(--px);font-size:9px;margin:0 0 6px}
.rk{font-size:17px;margin:3px 0;display:flex;gap:6px;align-items:baseline}.rk i{flex:none;width:10px;height:10px;display:inline-block}.rk span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.info p,.info li{font-size:18px;margin:6px 0}.info ul{padding-left:20px;margin:6px 0}.src{color:var(--dim)}
.btns{display:flex;gap:8px;flex-wrap:wrap;justify-content:center;margin-top:14px}
.btns a,.btns button{font-family:var(--px);font-size:9px;background:#15181c;color:#ddd;border:2px solid var(--line);padding:10px 10px;cursor:pointer;text-decoration:none}
.btns .on{border-color:#6f7a87;color:#fff}
#title{display:none;position:fixed;inset:0;z-index:50;background:#050607;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:24px;background-image:linear-gradient(rgba(255,255,255,.03) 50%,transparent 50%);background-size:100% 4px}
html.showtitle #title{display:flex}html.showtitle body{overflow:hidden}
#title .tt{font-family:var(--px);font-size:clamp(20px,6.6vw,48px);line-height:1.45;margin:0 0 6px;letter-spacing:2px}
#title .tt span:nth-child(2){color:var(--hc,var(--red));text-shadow:4px 4px 0 rgba(0,0,0,.7)}
#title .ts{color:var(--dim);font-size:20px;margin:10px 0 28px;max-width:440px}
#title .px{display:grid;grid-template-columns:repeat(12,clamp(10px,3.4vw,18px));gap:3px;margin:0 auto 28px}#title .px i{display:block;aspect-ratio:1;background:#1a1e24;transition:background .25s}
#pstart{font-family:var(--px);font-size:clamp(14px,4.4vw,22px);color:#ffe9a8;background:none;border:0;cursor:pointer;padding:14px 10px;animation:blink 1.1s steps(2,start) infinite}
@keyframes blink{to{opacity:.15}}@media(prefers-reduced-motion:reduce){#pstart{animation:none}}
#title label{color:var(--dim);font-size:18px;margin-top:14px;display:flex;gap:8px;align-items:center;cursor:pointer}
#title .tc{position:absolute;bottom:14px;left:0;right:0;color:#59606a;font-size:15px}
/* OG card 1200x630 */
body.og{overflow:hidden}body.og .wrap{max-width:none;width:1200px;height:630px;padding:28px 34px;display:grid;grid-template-columns:560px 1fr;gap:28px;align-items:center}
body.og .top,body.og h1,body.og #insw,body.og .controls,body.og .board,body.og .btns,body.og #hero .hctx,body.og #credit,body.og .lmid{display:none}
body.og #hero{margin:0;height:100%;display:flex;flex-direction:column;justify-content:center;text-align:left}body.og #hero .hk{font-size:17px}body.og #hero .hbig{font-size:120px}body.og #hero .htxt{font-size:25px}body.og #hero .hsrc{font-size:20px;margin-top:20px}
body.og .stage{height:100%;display:flex;flex-direction:column;justify-content:center}
/* index */
.cards{display:grid;grid-template-columns:1fr;gap:14px}@media(min-width:760px){.cards{grid-template-columns:1fr 1fr}}
.card{display:block;text-decoration:none;color:var(--txt);background:#0b0d10;padding:12px}.card img{width:100%;display:block;image-rendering:pixelated;border:2px solid var(--line)}
.card .ct{font-family:var(--px);font-size:13px;margin:12px 0 6px;line-height:1.5}.card .cd{font-size:18px;color:#cfd5dc}.card .cd b{color:#ffe9a8;font-weight:normal}
.rk{display:flex;gap:6px;align-items:center}.rk span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rk b{font-weight:400;color:#f3e3a0;flex:none}
@media(max-width:480px){.wrap{padding:10px 8px 40px}.stage{padding:6px 4px}}
/* lookup forms */
.lookup{display:block;margin:0 0 14px;background:var(--panel);padding:10px 12px}.lookup h2{font-family:var(--px);font-size:11px;margin:2px 0 10px;color:#ffe9a8;letter-spacing:1px}
.lkrow{display:flex;gap:8px;align-items:center;margin:0 0 8px}.lkrow label{font-family:var(--px);font-size:9px;color:var(--dim);flex:none}
.lookup input{flex:1;min-width:0;font-family:var(--mono);font-size:21px;background:#000;color:#fff;border:2px solid #4a5059;padding:8px 10px;border-radius:0}
.lookup input:focus{outline:2px solid #ffe9a8}.lookup button{font-family:var(--px);font-size:12px;background:#0f2a15;color:var(--green);border:2px solid #2f6b3a;padding:12px 14px;cursor:pointer;flex:none}
.lkout p{font-size:18px;margin:6px 0;color:#d8dde3}.lkout b{color:#ffe9a8;font-weight:normal}
/* headline card after PRESS START */
#headcard{display:none;position:fixed;inset:0;z-index:40;background:#050607;align-items:center;justify-content:center;text-align:center;padding:22px;cursor:pointer;background-image:linear-gradient(rgba(255,255,255,.03) 50%,transparent 50%);background-size:100% 4px}
#headcard.on{display:flex}#headcard .hcin{width:100%;max-width:640px;min-width:0}
#headcard .hk{font-family:var(--px);font-size:clamp(11px,3.4vw,18px);color:#cfd5dc;line-height:1.7;letter-spacing:1px}
#headcard .hbig{font-family:var(--px);font-size:clamp(56px,19vw,150px);color:var(--hc,var(--red));text-shadow:6px 6px 0 rgba(0,0,0,.7);margin:22px 0 18px;white-space:nowrap;letter-spacing:-3px;animation:pop .5s steps(4) both}
#headcard .htxt{font-family:var(--px);font-size:clamp(13px,4vw,24px);line-height:1.6;color:#fff}#headcard .htxt b{color:#ffe9a8;font-weight:normal}
#headcard .hcs{color:var(--dim);font-size:17px;margin-top:22px}#headcard .hctap{font-family:var(--px);font-size:11px;color:#ffe9a8;margin-top:26px;animation:blink 1.1s steps(2,start) infinite}
@keyframes pop{from{transform:scale(.3);opacity:0}to{transform:none;opacity:1}}
#cliphead,#clipfoot{display:none}
/* video clip mode (?clip=916|sq), recorded at 540 css px wide x2 */
body.clip{overflow:hidden}body.clip .wrap{max-width:none;padding:18px 14px 10px;min-height:100vh;box-sizing:border-box;display:flex;flex-direction:column;justify-content:center}
body.clip .top,body.clip #hero,body.clip .lookup,body.clip .controls,body.clip .board,body.clip .btns,body.clip #credit,body.clip #tip{display:none}
body.clip #cliphead{display:block;text-align:center;margin:0 0 12px}body.clip .cht{font-family:var(--px);font-size:22px;line-height:1.4;color:#fff}
body.clip.sq .cht{font-size:17px}body.clip.sq #cliphead{margin-bottom:6px}body.clip.sq .wrap{padding-top:10px}
body.clip .stage{border:0;box-shadow:none;padding:4px 0}body.clip #date{font-size:30px}body.clip.sq #date{font-size:22px}body.clip.sq .datebar{margin-bottom:4px}
body.clip #clipfoot{display:block;text-align:center;color:var(--dim);font-size:17px;margin-top:8px}body.clip .cfu{font-family:var(--px);font-size:11px;color:var(--green);margin-top:6px}
body.clip.sq .lmid{display:none}body.clip.sq #clipfoot{font-size:14px;margin-top:4px}
body.clip #headcard .hbig{animation:none}body.clip #headcard .hctap{display:none}
/* lookup pages */
.lookpage #hero .lname{font-family:var(--px);font-size:clamp(16px,5.4vw,30px);line-height:1.35;margin:10px 0 0;color:#fff}
.lookpage #hero .hbig small{font-family:system-ui,sans-serif;font-weight:900;font-size:.75em;color:var(--dim);margin:0 .2em;vertical-align:.12em;letter-spacing:0}
.lookpage #hero .hbig{font-size:clamp(46px,15vw,110px)}.lpc{font-size:17px;color:var(--dim);margin-top:10px;text-align:left}.lpc b{color:#ffe9a8;font-weight:normal}
.lstats{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0 0 14px}.lstats div{background:var(--panel);border:2px solid var(--line);padding:8px 10px}
.lstats b{display:block;font-family:var(--px);font-size:clamp(14px,4.4vw,20px);color:#ffe9a8;font-weight:normal;margin-bottom:6px}.lstats span{font-size:17px;color:#cfd5dc}
#lchart{width:100%;height:150px;display:block;image-rendering:pixelated}.lcx{display:flex;justify-content:space-between;font-size:16px;color:var(--dim);margin-top:4px}
.lookpage #lform .lookup{margin-top:14px}

canvas#map+#insw canvas,#insw canvas{display:block;image-rendering:pixelated;touch-action:manipulation;margin:0 auto}#insw{margin-top:10px}#insw .inst{color:#9aa3ad;font-size:15px;text-align:center;margin-bottom:4px;letter-spacing:1px}body.geo .legend .nod i{background:#2b3038}#credit a{color:#8a929c}
body.og .lookup{display:none}
#sitefoot{margin:18px 0 30px;padding:12px 4px;border-top:2px solid var(--line);color:var(--dim);font-size:19px;line-height:1.35}#sitefoot a{color:#9fd0ff}body.clip #sitefoot,body.og #sitefoot{display:none}
.crlink{color:var(--dim);margin-top:10px}.crlink a{color:#9fd0ff}
#credcard{display:none;position:fixed;inset:0;z-index:41;background:#050607;flex-direction:column;justify-content:center;padding:30px 26px;background-image:linear-gradient(rgba(255,255,255,.03) 50%,transparent 50%);background-size:100% 4px}
#credcard.on{display:flex}#credcard h3{font-family:var(--px);font-size:21px;color:#fff;text-align:center;margin:0 0 20px}
#credcard .crl{font-size:17px;line-height:1.18;color:#ffe9a8;margin:0 0 11px}#credcard .crl b{color:var(--hc,var(--green));font-weight:normal}#credcard .crl i{font-style:normal;color:#cfd5dc}
#credcard .crsa{font-size:17px;line-height:1.18;color:#ffd23d;margin:0 0 11px}#credcard .crf{font-size:15px;line-height:1.2;color:var(--dim);margin-top:8px}#credcard .crf b{color:var(--green);font-weight:normal;font-family:var(--px);font-size:11px}
body.sq #credcard{padding:16px 20px}body.sq #credcard h3{font-size:15px;margin-bottom:10px}body.sq #credcard .crl,body.sq #credcard .crsa{font-size:13.5px;margin-bottom:6px}body.sq #credcard .crf{font-size:12.5px}
body.v916 #credcard h3{font-size:26px;margin-bottom:24px}body.v916 #credcard .crl,body.v916 #credcard .crsa{font-size:21px;margin-bottom:14px}body.v916 #credcard .crf{font-size:18px}body.v916 #credcard .crf b{font-size:11px;overflow-wrap:anywhere}
/* batch 2: weekly sign-up, preview-only paid buttons */
.signup{display:block;margin:16px 0 0;background:var(--panel);padding:10px 12px}.signup h2{font-family:var(--px);font-size:11px;margin:2px 0 10px;color:#ffe9a8;letter-spacing:1px;line-height:1.5}
.signup input{flex:1;min-width:0;font-family:var(--mono);font-size:21px;background:#000;color:#fff;border:2px solid #4a5059;padding:8px 10px;border-radius:0}.signup input:focus{outline:2px solid #ffe9a8}
.signup button{font-family:var(--px);font-size:11px;background:#0f2a15;color:var(--green);border:2px solid #2f6b3a;padding:12px 10px;cursor:pointer;flex:none}
.signup .pnote{color:var(--dim);font-size:16px;line-height:1.25;margin:6px 0 0}.signup .pnote a{color:#cfd5dc}.signup .msg,.fm .msg{font-size:19px;line-height:1.25;color:#ffe9a8;margin:4px 0}.signup .msg:empty,.fm .msg:empty{display:none}
.signup .msg.err,.fm .msg.err{color:#ff8a8a}.signup .msg a,.fm .msg a{color:#fff}.signup .hp,.fm .hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.ts:empty{display:none}.ts{margin:6px 0}
.paid{display:contents}.paid button{opacity:.75;cursor:not-allowed;border-style:dashed}
#sitefoot .legal-links a{color:inherit}
body.clip .signup,body.og .signup,body.clip .paid,body.og .paid{display:none}
/* vertical / square share cards: ?og=sq (1200x1200), ?og=tall (1000x1500), ?og=story (1080x1920) */
body.og.ogv .wrap{width:100vw;height:100vh;box-sizing:border-box;padding:48px 44px;grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr) auto;gap:26px;align-items:stretch}body.og.ogv .wrap>*{min-width:0}body.og.ogv #hero .hsrc{white-space:normal}
body.og.ogv #hero{height:auto}body.og.ogv #hero .hbig{font-size:150px}body.og.ogv #hero .htxt{font-size:30px}body.og.ogv #hero .hk{font-size:22px}body.og.ogv #hero .hsrc{font-size:21px}
body.og.og-story .wrap{padding:220px 50px 380px}body.og.og-story #hero .hbig{font-size:140px}
body.og.ogv .wrap::after{content:'thepixelmaps.com/' attr(data-k);font-family:'Press Start 2P',monospace;font-size:26px;color:#ffe9a8;text-align:center}

/* extra licence line (house: HM Land Registry) under the hero source */
#hero .hattr{display:block;margin-top:4px}body.og #hero .hattr{font-size:12px;line-height:1.3}body.og.ogv #hero .hattr{font-size:14px}body.og .wrap[data-k=house] #hero .htxt{font-size:22px}body.og.ogv .wrap[data-k=house] #hero .htxt{font-size:27px}body.og.og-story .wrap[data-k=house] #hero .hbig{font-size:120px}
body.og.ogv .wrap[data-k=house] #hero .hbig{font-size:116px}body.og.og-tall .wrap[data-k=house] #hero .htxt{font-size:24px}
