/* v2.03.6 the digits everywhere in the UI come from Silkscreen, a pixel font whose 5, 3 and 8 differ; the letters stay Pixelify (coldpresss) */
@font-face{font-family:"HB Digits";src:url(https://fonts.gstatic.com/s/silkscreen/v6/m8JUjfVPf62XiF7kO-i9aAhAfmyi2A.woff2) format("woff2");font-weight:100 900;unicode-range:U+0030-0039;font-display:swap}
/* v2.99.7 my own blackletter k with Maguntia's hairlines; only U+006B (coldpresss) */
@font-face{font-family:"HB k";src:url(hbk.ttf?v=1) format("truetype");unicode-range:U+006B;font-display:swap}
[hidden]{display:none!important}
:root{
  --ink:#f6ead7; --ink2:#e2d3bb; --panel:rgba(22,26,34,.86); --panel-solid:#1d232c;
  --sand:#c4553a; --sand-d:#8e3826; --slate:#2b333f; --gold:#f2b84b; --focus:#ffd36b;
  --ui:"HB Digits", "Pixelify Sans", "Courier New", monospace; --title:"HB k", "UnifrakturMaguntia", Georgia, serif;
  --top:calc(env(safe-area-inset-top, 0px) + .6rem); --bot:calc(env(safe-area-inset-bottom, 0px) + 3rem);
}
html,body{margin:0;height:100%;background:#2a2230;overflow:hidden;font-family:var(--ui);color:var(--ink);font-variant-ligatures:none}
body{touch-action:none;-webkit-user-select:none;user-select:none}
canvas#view{position:fixed;inset:0;width:100%;height:100%;display:block;outline:none}
button{font:inherit;color:inherit;cursor:pointer}
:focus-visible{outline:3px solid var(--focus);outline-offset:3px}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

#intro{position:fixed;left:max(1rem, env(safe-area-inset-left));bottom:var(--bot);max-width:25rem;width:calc(100% - 2rem);box-sizing:border-box;
  background:var(--panel);border:2px solid var(--sand-d);box-shadow:0 0 0 2px #0006, .4rem .4rem 0 #0005;padding:1.1rem 1.2rem 1.2rem;
  animation:rise .6s cubic-bezier(.2,.9,.2,1.1) both}
@keyframes rise{from{transform:translateY(1.5rem)}to{transform:none}}
#intro h1{font-family:var(--title);font-weight:400;font-size:clamp(2.2rem, 8vw, 3rem);line-height:.95;margin:0 0 .5rem;color:var(--ink);text-shadow:.12rem .12rem 0 var(--sand-d)}
#intro p{margin:0 0 .7rem;font-size:1rem;line-height:1.35;color:var(--ink2)}
#intro ul{list-style:none;margin:0 0 .9rem;padding:0;display:grid;gap:.25rem;font-size:.95rem}
#intro li b{color:var(--gold);font-weight:700}
.touch .k-desk,.desk .k-touch{display:none!important}
#go{min-height:3rem;min-width:2.75rem;padding:.55rem 1.3rem;background:var(--sand);border:2px solid #f0a07f;color:#fff8ee;font-size:1.15rem;font-weight:700;
  box-shadow:.25rem .25rem 0 #0007;transition:transform .12s}
#go:hover{transform:translate(-1px,-1px)}
#go:active{transform:translate(2px,2px);box-shadow:.1rem .1rem 0 #0007}
#go[disabled]{background:#5a4a48;border-color:#7a6a66;cursor:wait}
#go.bld{position:relative;color:transparent;cursor:progress;background:linear-gradient(90deg,var(--sand) var(--p),#5a4a48 var(--p));border-color:#7a6a66}   /* v3.5 the button fills while the town builds */
#go.bld::after{content:attr(data-p);position:absolute;inset:0 0 .55rem;display:grid;place-items:center;color:#fff8ee;white-space:nowrap}
#go.bld::before{content:attr(data-s);position:absolute;left:0;right:0;bottom:.3rem;padding:0 .5rem;font-size:.66rem;font-weight:400;line-height:1;color:#fff8eed0;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}   /* v3.6 the stage (Raising the castle…) under the percentage */
#go.ready{animation:goready .5s cubic-bezier(.2,.9,.2,1.25)} @keyframes goready{0%{transform:scale(.93)}100%{transform:none}}   /* v3.6 the bar is full: Start settles in */
#go.bld:hover,#go.bld:active{transform:none}
/* v1.63 continue where you left off */
#resume{margin:0 0 .9rem;padding:.55rem .75rem;border-left:4px solid #f0a07f;background:#0000002e;font-size:.98rem;line-height:1.4}
#resume b{color:var(--gold);font-weight:800}
#gorow{display:flex;flex-wrap:wrap;gap:.7rem;align-items:center}
#fresh{min-height:2.75rem;padding:.4rem 1rem;background:none;border:2px solid #f0a07f88;color:inherit;font-size:.98rem;font-weight:600;cursor:pointer}
#fresh:hover,#fresh:focus-visible{border-color:#f0a07f;background:#0000002e}
#fresh[disabled]{opacity:.55;cursor:wait}
#trips,#towns{display:flex;flex-wrap:wrap;gap:.45rem;align-items:center;margin-top:.8rem;font-size:.92rem}
#towns{margin-top:.35rem;gap:.25rem .45rem}
#towns button{min-height:2.5rem;padding:.2rem .2rem;background:none;border:0;color:var(--gold);font:inherit;font-weight:600;cursor:pointer;text-decoration:underline dotted;text-underline-offset:.3em}
#towns button:hover,#towns button:focus-visible{text-decoration-style:solid;color:var(--ink)}
#towns button[disabled]{opacity:.55;cursor:wait}
#tripsH,#townsH{color:var(--ink2);margin-right:.1rem}
#intro{max-height:calc(100dvh - var(--bot) - var(--top) - .5rem);overflow-y:auto;overscroll-behavior:contain}
#trips button{min-height:2.5rem;padding:.3rem .8rem;background:#f2b84b12;border:2px dashed #f2b84b70;color:var(--ink);font:inherit;font-weight:600;cursor:pointer}
#trips button:hover,#trips button:focus-visible{border-style:solid;border-color:var(--gold);background:#f2b84b26}
#trips button[disabled]{opacity:.55;cursor:wait}
#err{color:#ffb3a3}

#hud{position:fixed;left:0;right:0;top:var(--top);display:flex;flex-direction:column;align-items:center;gap:.35rem;pointer-events:none}
#compass{position:relative;width:13rem;max-width:62vw;height:1.7rem;overflow:hidden;background:var(--panel);border:2px solid #0008;
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 20%,#000 80%,transparent);mask-image:linear-gradient(90deg,transparent,#000 20%,#000 80%,transparent)}
#tape{position:absolute;left:50%;top:0;height:100%;will-change:transform}
#tape span{position:absolute;top:.15rem;transform:translateX(-50%);font-size:.95rem;font-weight:700;color:var(--ink)}
#tape span.t{top:.95rem;width:2px;height:.45rem;background:#ffffff70;font-size:0}
#tape span.n{color:var(--gold)}
#compass::after{content:"";position:absolute;left:50%;top:0;width:2px;height:100%;background:var(--sand);transform:translateX(-50%)}
#place{font-size:1.05rem;padding:.2rem .7rem;background:var(--panel);border:2px solid #0008;letter-spacing:.03em;transition:transform .3s}
#place.pop{transform:scale(1.08)}
/* v3.1 Linie 5's route strip, in the quest line's place while you ride (body.l5s): Paradeplatz on the left, Bismarckplatz on the right, as
   on the map; every stop a dot, your tram a blinking light; a stop ahead is a button (a blink and the tram stands there) */
body.l5s #qt{display:none!important}
#l5s{pointer-events:auto;display:flex;align-items:center;gap:.5rem;width:min(34rem,calc(100vw - 7.5rem));box-sizing:border-box;padding:.15rem .8rem .15rem .3rem;background:var(--panel);border:2px solid #0008}
#l5s .l5n{flex:none;display:grid;place-items:center;width:1.6rem;height:1.6rem;background:#f4c430;color:#1d5b3a;font:700 1rem var(--ui);border:2px solid #0008}
#l5s ol{position:relative;flex:1;min-width:0;list-style:none;margin:0 .3rem;padding:0;height:2.9rem}
#l5s ol::before{content:"";position:absolute;left:0;right:0;top:50%;height:.25rem;transform:translateY(-50%);background:#3f9a68}
#l5s li{position:absolute;top:0;bottom:0;width:0}
#l5s li button{position:absolute;top:0;bottom:0;left:-1.4rem;width:2.8rem;margin:0;padding:0;background:none;border:0;color:var(--ink);font:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent}
#l5s li button:disabled{cursor:default}
#l5s li button::before{content:"";position:absolute;left:50%;top:50%;width:.5rem;height:.5rem;transform:translate(-50%,-50%);background:#fbfaf4;border:.15rem solid #1d5b3a}
#l5s li span{position:absolute;left:50%;transform:translateX(-50%);white-space:nowrap;font-size:.66rem;line-height:1;pointer-events:none}
#l5s li:nth-of-type(odd) span{top:.05rem}
#l5s li:nth-of-type(even) span{bottom:.05rem}
#l5s li:first-of-type span{left:1.4rem;transform:none}
#l5s li:last-of-type span{left:auto;right:1.4rem;transform:none}
#l5s li.past{opacity:.45}
#l5s li.here span{color:var(--gold)}
#l5s li.ahead button::before{border-color:#f4c430}
#l5s li.ahead button:hover::before,#l5s li.ahead button:focus-visible::before{background:#f4c430}
#l5s li.ahead button:focus-visible{outline:2px solid var(--gold);outline-offset:-2px}
#l5me{position:absolute;top:50%;left:0;width:.8rem;height:.8rem;box-sizing:border-box;transform:translate(-50%,-50%);background:#ffe066;border:.13rem solid #7a5200;box-shadow:0 0 .45rem #ffd84acc;pointer-events:none;animation:l5blink 1.1s steps(1) infinite;transition:left .2s linear}
@keyframes l5blink{55%{background:#7a5a10;box-shadow:none}}
#l5s .l5x{flex:none;display:flex;align-items:center;gap:.3rem;min-height:2.2rem;margin:0;padding:0 .45rem;border:2px solid #0008;background:#ffffff10;color:var(--ink);font:inherit;font-size:.95rem;cursor:pointer}
#l5s .l5x:disabled{opacity:.4;cursor:default}
#l5s .l5x kbd{font:700 .7rem var(--ui);background:var(--ink);color:var(--panel-solid);padding:.05rem .3rem}
@media (max-width:520px){#l5s{align-self:flex-start;margin-left:max(.5rem, env(safe-area-inset-left));width:calc(100vw - 4.7rem);padding-right:.6rem} #l5s .l5n{display:none} #l5s li span{font-size:.58rem}}   /* phones: left of the button column, all the width there is */
@media (prefers-reduced-motion:reduce){#l5me{animation:none;transition:none}}

/* 2026-10-31 the Sloppy menu (html.slm while /_sloppy/menu.js is on the page). v3.0.6 (spiro: the inn sign looked added later, out
   of line with the buttons under it, and the top had too much air): its button is the first square of the right-hand column, Sloppy's
   gold face on the same panel and edge as the rest, and her eyes turn into the menu's three lines. --col moves the column down one
   button for it (not on a short phone on its side, where the time button sits beside it). --top lost the 2.3rem it kept for the old
   app bar. The desktop dropdown hangs under it; the phone's full-screen menu goes under it, and the button closes it. */
:root{--sm-bg:#2a1d10; --sm-text:#fff3d6; --sm-muted:#cdb68f; --sm-accent:#f2b84b; --sm-hover:#3d2a14; --sm-font:var(--ui); --sm-head:var(--title);
  --sm-size:15px; --sm-radius:0; --sm-border:2px solid #f2b84b; --sm-shadow:.3rem .3rem 0 #0008;
  --sm-top:calc(var(--top) + 3.1rem); --sm-right:max(.8rem, env(safe-area-inset-right))}
#sloppy{display:none;position:fixed;right:max(.8rem, env(safe-area-inset-right));top:var(--top);z-index:7;width:2.75rem;height:2.75rem;box-sizing:border-box;padding:0;border:2px solid #0008;background:var(--panel);place-items:center;-webkit-tap-highlight-color:transparent}
.slm{--col:3.3rem} .slm #sloppy{display:grid}
.sm-open #sloppy{z-index:2147483001}
#sloppy svg{width:32px;height:28px}
#sloppy .sp{transform-box:view-box;transform-origin:13px 1px}
#sloppy .eyes path,#sloppy .lines path{transform-box:fill-box;transition:transform .18s ease}
#sloppy .eyes path{transform-origin:center}
#sloppy .lines path{transform-origin:left center;transform:scaleX(0)}
#sloppy .lines path:nth-child(2){transition-delay:.05s} #sloppy .lines path:nth-child(3){transition-delay:.1s}
#sloppy.cue .eyes path,#sloppy:focus-visible .eyes path,#sloppy[aria-expanded="true"] .eyes path{transform:scaleY(0)}
#sloppy.cue .lines path,#sloppy:focus-visible .lines path,#sloppy[aria-expanded="true"] .lines path{transform:scaleX(1)}
@media (hover:hover){#sloppy:hover .eyes path{transform:scaleY(0)} #sloppy:hover .lines path{transform:scaleX(1)} #sloppy:hover{border-color:var(--gold)}}
@media (prefers-reduced-motion:reduce){#sloppy .sp{animation:none!important}}
#timebtn{position:fixed;right:max(.8rem, env(safe-area-inset-right));top:calc(var(--top) + var(--col, 0rem));min-width:2.75rem;min-height:2.75rem;background:var(--panel);border:2px solid #0008;font-size:1.3rem;display:grid;place-items:center}
#vol{position:fixed;right:calc(max(.8rem, env(safe-area-inset-right)) + 3.3rem);top:calc(var(--top) + 3.3rem);min-height:2.75rem;box-sizing:border-box;display:flex;align-items:center;gap:.5rem;padding:.2rem .7rem;background:var(--panel);border:2px solid #0008;color:var(--ink);font-size:.9rem;z-index:6}
#vol input{width:8.5rem;accent-color:#f2c860}
#vol output{min-width:2.4rem;text-align:right;font-variant-numeric:tabular-nums}
#sndbtn{position:fixed;right:max(.8rem, env(safe-area-inset-right));top:calc(var(--top) + 3.3rem + var(--col, 0rem));min-width:2.75rem;min-height:2.75rem;background:var(--panel);border:2px solid #0008;font-size:1.25rem;display:grid;place-items:center}
/* v1.54 record a clip: a third button under the sound one; red dot + timer while it records, a small card when the clip is ready */
#recbtn{position:fixed;right:max(.8rem, env(safe-area-inset-right));top:calc(var(--top) + 6.6rem + var(--col, 0rem));min-width:2.75rem;min-height:2.75rem;box-sizing:border-box;background:var(--panel);border:2px solid #0008;color:#ff6a5c;font-size:1.15rem;display:flex;align-items:center;justify-content:center;gap:.35rem;padding:0 .45rem}
#recbtn.on{border-color:#e8473a;color:var(--ink);font-size:.95rem}
#recbtn i{width:.62rem;height:.62rem;border-radius:50%;background:#e8473a;animation:recb 1s steps(2,jump-none) infinite}
@keyframes recb{50%{opacity:.2}}
@media (prefers-reduced-motion:reduce){#recbtn i{animation:none}}
#recard{position:fixed;right:max(.8rem, env(safe-area-inset-right));top:calc(var(--top) + 9.9rem + var(--col, 0rem));max-width:min(19rem,calc(100% - 1.6rem));box-sizing:border-box;background:var(--panel-solid);border:2px solid var(--gold);padding:.5rem .55rem;display:flex;flex-wrap:wrap;gap:.4rem;align-items:center;justify-content:flex-end;z-index:6}
#recT{flex:1 1 100%;font-size:.95rem}
#recard button{min-height:2.5rem;background:var(--slate);border:2px solid #0008;padding:0 .7rem;font-size:.95rem}
#recSave{background:var(--sand)!important}
#sndtap{position:fixed;right:max(.8rem, env(safe-area-inset-right));top:calc(var(--top) + 6.6rem);min-height:2.75rem;padding:.2rem .7rem;background:var(--sand);border:2px solid #f0a07f;color:#fff8ee;font-size:.95rem;font-weight:700;box-shadow:.2rem .2rem 0 #0007}
#drink{position:fixed;left:max(.8rem, env(safe-area-inset-left));top:calc(var(--top) + 3.3rem);min-width:2.75rem;min-height:2.75rem;background:var(--panel);border:2px solid #6ec6e8;font-size:1.2rem;display:flex;align-items:center;justify-content:center;gap:.3rem;padding:0 .5rem}
#drink kbd{font:700 .75rem var(--ui);background:var(--ink);color:var(--panel-solid);padding:.05rem .3rem}
/* v2.18 Paul's glass (mkGlassIco): in the drink button while you hold it and in his choice; Federweißer milky gold and fizzing, Traubensaft clear dark red */
.hbgl{position:relative;display:inline-block;width:.78em;height:1.12em;box-sizing:border-box;border:.08em solid #eef7fbd9;border-top:0;border-radius:0 0 .16em .16em;background:#ffffff1f;overflow:hidden;vertical-align:middle}
.hbgl::before{content:"";position:absolute;left:0;right:0;bottom:0;height:calc(var(--lv,1) * 86%);background:var(--liq)}
.hbgl::after{content:"";position:absolute;left:14%;top:9%;width:13%;height:74%;border-radius:1em;background:#ffffff5c}
.hbgl.fw{--liq:linear-gradient(#fffbea 0 7%,#f4e8b4 7%,#e8cf7a 55%,#dbbb5a)}
.hbgl.ts{--liq:linear-gradient(#80203ccc,#460c26ee)}
.hbgl b{position:absolute;bottom:6%;width:.1em;height:.1em;min-width:2px;min-height:2px;border-radius:50%;background:#fffdf2;opacity:0;animation:hbfz 1.5s linear infinite}
.hbgl b:nth-child(1){left:30%}.hbgl b:nth-child(2){left:52%;animation-delay:-.5s}.hbgl b:nth-child(3){left:70%;animation-delay:-1s}
.hbgl.ts b{display:none}
@keyframes hbfz{0%{transform:translateY(0);opacity:0}20%{opacity:1}85%{opacity:.75}100%{transform:translateY(calc(var(--lv,1) * -.82em));opacity:0}}
#drink.glass{border-color:var(--gold)} #drink.glass .hbgl{font-size:1.75rem}
#drink.pop{animation:hbpop .45s cubic-bezier(.2,.9,.2,1.3)} @keyframes hbpop{from{transform:scale(.55)}to{transform:none}}
@media (prefers-reduced-motion:reduce){.hbgl b{animation:none;opacity:.85;bottom:calc(var(--lv,1) * 30%)} .hbgl b:nth-child(2){bottom:calc(var(--lv,1) * 55%)} #drink.pop{animation:none}}
#hint{position:fixed;left:50%;bottom:var(--bot);transform:translateX(-50%);width:max-content;max-width:min(calc(100% - 2rem),44rem);box-sizing:border-box;background:var(--panel);padding:.45rem .9rem;border:2px solid #0008;font-size:.95rem;pointer-events:none;text-align:center;transition:opacity .6s}
#hint.fade{opacity:0}
/* v1.79 Kapitän Jupp on the river trips: he stands behind you at the wheel, so his lines come as a quiet caption */
#jcap{position:fixed;left:50%;bottom:calc(var(--bot) + 4.6rem);transform:translateX(-50%);width:max-content;max-width:min(31rem,calc(100% - 2rem));box-sizing:border-box;margin:0;padding:.35rem .85rem .45rem;background:#0d1419c4;border-left:3px solid var(--gold);color:#fff3d6;font-size:1rem;line-height:1.35;text-align:center;pointer-events:none;transition:opacity .5s;animation:jcin .45s ease-out}
@keyframes jcin{from{opacity:0;transform:translate(-50%,.4rem)}to{opacity:1;transform:translateX(-50%)}}
#jcap b{display:block;color:var(--gold);font-size:.68rem;letter-spacing:.1em;text-transform:uppercase;margin-bottom:.05rem}
#jcap.off{opacity:0}
@media (max-width:640px){.desk #jcap{bottom:calc(var(--bot) + 7rem)}}
.touch #jcap{bottom:calc(var(--bot) + 11.8rem);font-size:.92rem}   /* phones: just above the Skip button, like a subtitle over the water */
@media (max-width:370px){.touch #jcap{bottom:calc(var(--bot) + 10.8rem)}}
@media (orientation:landscape) and (max-height:500px){.touch #jcap{bottom:auto;top:calc(var(--hudb, calc(var(--top) + 6.4rem)) + .4rem);max-width:min(26rem,calc(100% - 16rem))}}
@media (prefers-reduced-motion:reduce){#jcap{animation:none;transition:none}}
#rub{position:fixed;left:50%;bottom:calc(var(--bot) + 3.2rem);transform:translateX(-50%);display:flex;gap:.5rem;flex-wrap:wrap;justify-content:center;width:max-content;max-width:calc(100% - 2rem)}
#rub button{min-height:2.9rem;min-width:2.75rem;padding:.35rem .8rem;background:var(--panel);border:2px solid var(--gold);font-size:1rem;display:flex;align-items:center;gap:.4rem;box-shadow:.2rem .2rem 0 #0006}
#rub button:active{transform:translate(2px,2px)}
#hudrow,#prow{display:flex;gap:.4rem;align-items:center;justify-content:center;flex-wrap:wrap;max-width:calc(100vw - 7.5rem)}
#qtx{text-align:left;line-height:1.15}
#qdist,#qgate{white-space:nowrap}
.touch #qt{min-height:2.75rem}
@media (max-width:440px){#qt{font-size:.86rem;gap:.32rem;padding:.1rem .55rem} #qt>span:first-child{display:none}}
.touch #hint{max-width:calc(100% - 2rem);bottom:calc(var(--bot) + 11.2rem)}   /* v2.15.1 */
#rub:not([hidden]) ~ #talk{bottom:calc(var(--bot) + 6.5rem)}
.touch #rub button{padding:.3rem .55rem;font-size:.92rem;gap:.3rem}
#qt{pointer-events:auto;display:flex;align-items:center;gap:.4rem;min-height:2.3rem;padding:.1rem .65rem;background:var(--panel);border:2px solid var(--gold);color:#fff3d6;font:inherit;font-size:.95rem;cursor:pointer;box-shadow:.15rem .15rem 0 #0006}
#qt:focus-visible,#qlogX:focus-visible,#qcode:focus-visible,#qcheat button:focus-visible{outline:3px solid var(--focus);outline-offset:2px}
#qt.pop{animation:qpop .7s}
@keyframes qpop{0%{transform:scale(1)}30%{transform:scale(1.12);background:#5a3a12}100%{transform:scale(1)}}
#qarr{display:inline-block;color:var(--gold);font-size:.75rem;line-height:1;will-change:transform}
#qdist{color:var(--ink2);font-size:.82rem}
#qgate{color:#c9d6ff;font-size:.82rem}
#qmark{position:absolute;left:50%;bottom:.05rem;width:.8rem;margin-left:-.4rem;text-align:center;color:var(--gold);font-size:.72rem;line-height:1;text-shadow:0 0 3px #000;will-change:transform}
#qlog{position:fixed;left:50%;top:calc(var(--top) + 2.6rem);transform:translateX(-50%);width:min(27rem,calc(100% - 2rem));box-sizing:border-box;max-height:calc(100% - var(--top) - var(--bot) - 3.5rem);overflow:auto;
  background:#2a1d10f4;border:2px solid var(--gold);color:#fff3d6;padding:.6rem .9rem .7rem;box-shadow:.3rem .3rem 0 #0008;z-index:5}
#qlog header{display:flex;align-items:center;justify-content:space-between;gap:.5rem;position:sticky;top:-.6rem;z-index:2;margin:-.6rem -.9rem 0;padding:.6rem .9rem .3rem;background:#2a1d10}   /* v2.15.1 pinned: the ✕ no longer scrolls away */
#qlog h2{margin:0;font:400 1.7rem var(--title);color:var(--gold)}
#qlogX{min-width:2.75rem;min-height:2.75rem;background:none;border:2px solid #f6ead760;color:var(--ink);font:inherit;font-size:1.1rem;cursor:pointer}
#qlist{list-style:none;margin:.4rem 0 .2rem;padding:0;display:grid;gap:.45rem}
#qlist li{border-left:3px solid #f6ead740;padding:.1rem 0 .1rem .6rem}
#qlist b{display:block;font-size:.98rem}
#qlist i{font-style:normal;font-weight:400;color:var(--ink2);font-size:.82rem}
#qlist span{display:block;font-size:.88rem;line-height:1.35;color:var(--ink2)}
#qlist em{display:block;font-style:normal;font-size:.82rem;color:#c9d6ff;margin-top:.15rem}
#qlist .cur{border-left-color:var(--gold)} #qlist .cur b{color:var(--gold)} #qlist .cur span{color:#fff3d6}
#qlist .done b{color:#9fd49a} #qlist .lock{opacity:.55}
#qside{white-space:pre-line;margin:.5rem 0 0;padding-top:.45rem;border-top:1px dashed #f6ead740;font-size:.86rem;color:var(--ink2)}
#qlog small{display:block;margin-top:.4rem;opacity:.6;font-size:.75rem}
/* v1.85 the Wanderpass: a cream page in the quest log (a 4 x 3 grid of stamps) and the little card a new stamp slams onto */
#wpass{margin:.65rem 0 .3rem;padding:.55rem .6rem .5rem;color:#3a2a1a;border:1px solid #8a6a44;box-shadow:inset 0 0 0 3px #f7eed8,inset 0 0 0 4px #8a6a4450,.2rem .2rem 0 #0006;
  background:radial-gradient(ellipse at 25% 15%,#fffaeb99,transparent 62%),repeating-linear-gradient(90deg,#8a6a440c 0 1px,transparent 1px 7px),#eee1c1}
#wpass header{display:flex;align-items:baseline;justify-content:space-between;gap:.5rem;border-bottom:1px solid #8a6a4466;padding-bottom:.2rem}
#wpass h3{margin:0;font:400 1.55rem/1.05 var(--title);color:#5a2414}
#wpass header>span{font-size:.88rem;color:#5a3a1a;font-variant-numeric:tabular-nums}
#wpG{list-style:none;margin:.5rem 0 .15rem;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.55rem .35rem}
#wpG li{display:flex;flex-direction:column;align-items:center;text-align:center;min-width:0}
#wpG canvas,#wpG i{display:block;width:3.9rem;height:3.9rem;box-sizing:border-box}
#wpG canvas{transform:rotate(var(--r,0deg))}
#wpG i{display:grid;place-items:center;border:2px dashed #8a6a4466;border-radius:50%;font:700 1rem/1 var(--ui);font-style:normal;color:#8a6a4499}
#wpG b{display:block;margin-top:.2rem;font-size:.74rem;line-height:1.12;color:#3a2a1a;overflow-wrap:anywhere;hyphens:manual}
#wpG small{display:block;margin-top:.12rem;opacity:1;font-size:.75rem;line-height:1.2;color:#634a30}
#wpass .wpf{margin:.35rem 0 0;font-size:.72rem;line-height:1.3;color:#634a30;text-align:center}
#wppin{display:flex;align-items:center;gap:.55rem;margin:.45rem 0 0;padding:.3rem .5rem;background:#f8eed0;border:1px solid #c9a24a;font-size:.76rem;color:#5a3a1a}
#wppin svg{width:2.6rem;height:2.6rem;flex:none;filter:drop-shadow(0 1px 0 #8a641280)}
#wppin b{display:block;font:400 1.2rem/1.05 var(--title);color:#7a5410}
#wpc{position:fixed;left:max(.8rem, env(safe-area-inset-left));top:calc(var(--top) + var(--mms) + 1.2rem);width:7.6rem;box-sizing:border-box;padding:.4rem .5rem .45rem;z-index:4;pointer-events:none;
  text-align:center;color:#5a3a1a;border:2px solid #8a6a44;box-shadow:inset 0 0 0 2px #f7eed8,.25rem .25rem 0 #0007;background:repeating-linear-gradient(0deg,transparent 0 .85rem,#8a6a4418 .85rem calc(.85rem + 1px)),#efe3c4}
#wpc b{display:block;font:400 1.08rem/1 var(--title);color:#5a2414;white-space:nowrap}
#wpc canvas{display:block;width:5.3rem;height:5.3rem;margin:.3rem auto .2rem;transform:rotate(var(--r,0deg))}
#wpc span{font-size:.82rem;font-variant-numeric:tabular-nums}
#wpc.on{animation:wpin 1.65s both,wpbump .16s .44s}
#wpc.on canvas{animation:wpslam .46s cubic-bezier(.5,0,.75,.6) .1s both}
@keyframes wpin{0%{opacity:0;transform:translateX(-.8rem)}10%{opacity:1;transform:none}86%{opacity:1}100%{opacity:0}}
@keyframes wpbump{0%{transform:translateY(0)}35%{transform:translateY(3px)}100%{transform:translateY(0)}}
@keyframes wpslam{0%{opacity:0;transform:scale(2.7) rotate(calc(var(--r,0deg) - 16deg))}62%{opacity:1;transform:scale(.9) rotate(var(--r,0deg))}82%{transform:scale(1.05) rotate(var(--r,0deg))}100%{opacity:1;transform:scale(1) rotate(var(--r,0deg))}}
@media (prefers-reduced-motion:reduce){#wpc.on,#wpc.on canvas{animation:none}}
@media (orientation:portrait){.touch #wpc{top:calc(var(--hudb, calc(var(--top) + 6.4rem)) + 4.8rem)}}   /* phones: the minimap sits right, so the card goes under the toast */
@media (max-width:640px){#wpc{top:calc(var(--hudb, calc(var(--top) + 6.4rem)) + 4.8rem)}}
@media (orientation:landscape) and (max-height:500px){#wpc{width:6.2rem;padding:.3rem .4rem} #wpc canvas{width:4.2rem;height:4.2rem}}
#view.postcard{filter:sepia(.62) saturate(.85) contrast(1.06) brightness(1.04)}   /* faded, a little hand-tinted colour left */
#pcard{position:fixed;inset:0;pointer-events:none;z-index:1;background:radial-gradient(ellipse at center,transparent 52%,#3a240e55 78%,#2a1806aa 100%);box-shadow:inset 0 0 0 .55rem #efe2c4cc,inset 0 0 0 .62rem #8a6a4466}
#pcard span{position:absolute;left:1.4rem;bottom:calc(env(safe-area-inset-bottom, 0px) + 2.4rem);font:400 clamp(1.5rem,5vw,2.6rem)/1 var(--title);color:#fbf1dc;text-shadow:0 2px 0 #5a3a1a,0 0 .6rem #2a180699;transform:rotate(-4deg)}
#qcheat{display:flex;align-items:center;gap:.45rem;margin-top:.6rem;padding-top:.5rem;border-top:1px dashed #f6ead740;font-size:.85rem;color:var(--ink2)}
#qcheat label{white-space:nowrap}
#qcode{flex:1;min-width:0;min-height:40px;padding:0 .6rem;border:1px solid #f6ead760;border-radius:.4rem;background:#0006;color:var(--gold);font:inherit;font-size:16px;letter-spacing:.12em;text-transform:uppercase}
#qcode::placeholder{color:#f6ead770;letter-spacing:0;text-transform:none}
#qcheat button{min-height:40px;min-width:2.75rem;border:1px solid var(--gold);border-radius:.4rem;background:#f2b84b22;color:var(--gold);font:inherit;cursor:pointer}
#qcheat.no{animation:qno .3s} #qcodes{display:flex;flex-wrap:wrap;gap:.35rem;margin-top:.45rem} #qcodes button{min-height:40px;padding:0 .55rem;border:1px solid #f6ead750;border-radius:.4rem;background:#0004;color:var(--gold);font:inherit;font-size:.78rem;letter-spacing:.08em;cursor:pointer} #qcodes button:hover{background:#f2b84b22} #qcodes button:focus-visible{outline:3px solid var(--focus);outline-offset:2px}   /* v2.19.2 */
#qnet{display:flex;flex-wrap:wrap;align-items:center;gap:0 .5rem;margin-top:.6rem;padding-top:.3rem;border-top:1px dashed #f6ead740;font-size:.85rem;color:var(--ink2)}   /* v1.72 */
#qnet label{display:flex;align-items:center;gap:.45rem;min-height:40px;cursor:pointer}
/* v1.74 walkers step: guest name + minimap lines in the quest log, the minimap, the 👋 button and its phrases, the start choice */
#qname{display:flex;align-items:center;gap:.45rem;flex:1 1 100%;min-width:0;margin:.15rem 0}
#qname label{min-height:0;white-space:nowrap}
#qnm{flex:1;min-width:0;width:0;min-height:40px;padding:0 .6rem;border:1px solid #f6ead760;border-radius:.4rem;background:#0006;color:var(--gold);font:inherit;font-size:16px}
#qnm::placeholder{color:#f6ead770}
#qname button{min-height:40px;min-width:2.75rem;border:1px solid var(--gold);border-radius:.4rem;background:#f2b84b22;color:var(--gold);font:inherit;cursor:pointer}
#qname.no{animation:qno .3s}
#qwho{flex:1 1 100%;margin:.1rem 0 .2rem}
#qwho b{color:var(--gold)}
:root{--mms:9rem}
#mm{position:fixed;left:max(.8rem, env(safe-area-inset-left));top:var(--top);width:var(--mms);height:var(--mms);box-sizing:border-box;border-radius:50%;overflow:hidden;background:#273126;border:2px solid #0009;box-shadow:0 0 0 2px #f2b84b70,.2rem .2rem 0 #0006;pointer-events:none}
#mm canvas{display:block;width:100%;height:100%}
#mm b{position:absolute;left:50%;top:.12rem;transform:translateX(-50%);font:700 .62rem/1 var(--ui);color:#fff3d6;text-shadow:0 0 2px #000,0 0 3px #000}
#mmA{position:absolute;left:50%;top:50%;width:1.3rem;height:1.3rem;margin:-.65rem 0 0 -.65rem;will-change:transform}
#mmA::before,#mmA::after{content:"";position:absolute;inset:0;clip-path:polygon(50% 4%,92% 96%,50% 74%,8% 96%)}
#mmA::before{background:#1d1714}
#mmA::after{inset:.2rem;background:#f2b84b}
.mmon #drink{top:calc(var(--top) + var(--mms) + .6rem)}
@media (orientation:portrait){.touch{--mms:5.6rem} .touch #mm{left:auto;right:max(.8rem, env(safe-area-inset-right));top:calc(var(--top) + 9.9rem + var(--col, 0rem))} .touch.mmon #drink{top:calc(var(--top) + 3.3rem)}}
#xyz{position:fixed;left:max(.8rem, env(safe-area-inset-left));top:calc(var(--top) + var(--mms) + .5rem);padding:.2rem .45rem;border-radius:.3rem;background:#0b0f0bcc;color:#f6ead7;font-family:var(--ui);font-size:.74rem;font-weight:700;line-height:1.2;font-variant-numeric:tabular-nums;white-space:nowrap;pointer-events:none}   /* v2.00; v2.03.3 plain monospace digits (Pixelify's 5 read as 8); v2.03.6 back to the UI font, whose digits are Silkscreen now (coldpresss) */
@media (orientation:portrait){.touch #xyz{left:auto;right:max(.8rem, env(safe-area-inset-right));top:calc(var(--top) + 9.9rem + var(--col, 0rem) + var(--mms) + .5rem)}}
@media (max-width:640px){#xyz{left:auto;right:max(.8rem, env(safe-area-inset-right));top:calc(var(--top) + 9.9rem + var(--col, 0rem) + var(--mms) + .5rem)}}
@media (max-width:640px){:root{--mms:5.6rem} #mm{left:auto;right:max(.8rem, env(safe-area-inset-right));top:calc(var(--top) + 9.9rem + var(--col, 0rem))} .mmon #drink{top:calc(var(--top) + 3.3rem)}}
@media (orientation:landscape) and (max-height:500px){:root{--mms:4.8rem}}
/* v3.0.5 a small phone on its side (568x320) has room top left, as bigger ones do: the right-hand minimap sat on the jump button (the operators' note) */
@media (max-width:640px) and (orientation:landscape){#mm{left:max(.8rem, env(safe-area-inset-left));right:auto;top:var(--top)} #xyz{left:max(.8rem, env(safe-area-inset-left));right:auto;top:calc(var(--top) + var(--mms) + .5rem)} .mmon #drink{top:calc(var(--top) + var(--mms) + .6rem)}}
@media (orientation:landscape) and (max-height:360px){:root{--mms:4rem}}
/* 2026-10-31 short landscape: --top is .6rem there, so the Sloppy menu's sign takes the top of the column of buttons on the right: the
   time of day steps left beside it, 🔊 and 📷 stay under it (with the photo card below them still on the screen), and the start
   screen's captions step down below it */
@media (orientation:landscape) and (max-height:500px){.slm{--col:0rem} .slm #timebtn{right:calc(max(.8rem, env(safe-area-inset-right)) + 3.6rem)} .slm #lrpc span{top:calc(var(--top) + 3.3rem)}}
#wave{pointer-events:auto;display:flex;align-items:center;justify-content:center;gap:.3rem;min-height:2.3rem;min-width:2.75rem;padding:.1rem .55rem;background:var(--panel);border:2px solid #6ec6e8;color:#fff3d6;font:inherit;font-size:1.05rem;cursor:pointer;box-shadow:.15rem .15rem 0 #0006}
.touch #wave{min-height:2.75rem}
#wave[aria-expanded="true"]{border-color:var(--gold)}
#wave kbd,#says kbd{font:700 .7rem var(--ui);background:var(--ink);color:var(--panel-solid);padding:.05rem .3rem}
#says{position:fixed;left:50%;top:calc(var(--hudb, calc(var(--top) + 6.4rem)) + .45rem);transform:translateX(-50%);display:flex;flex-wrap:wrap;justify-content:center;gap:.4rem;width:max-content;max-width:min(27rem,calc(100% - 2rem));box-sizing:border-box;padding:.5rem;background:#2a1d10f2;border:2px solid var(--gold);box-shadow:.25rem .25rem 0 #0007;z-index:5}
#says button{min-height:2.6rem;padding:.3rem .7rem;background:var(--panel);border:2px solid #f6ead740;color:#fff3d6;font:inherit;font-size:1rem;display:flex;align-items:center;gap:.35rem;cursor:pointer}
#says button:hover,#says button:focus-visible{border-color:var(--gold)}
#wwo{display:inline-flex;flex-wrap:wrap;margin-top:.8rem;border:2px solid #f0a07f55;font-size:.92rem}
#wwo button{min-height:2.5rem;padding:.3rem .85rem;background:none;border:0;color:var(--ink2);font:inherit}
#wwo button[aria-pressed="true"]{background:#f2b84b24;color:var(--gold);font-weight:700;box-shadow:inset 0 -3px 0 var(--gold)}
#wwo button:hover{color:var(--ink)}
#intro #trl{margin:.75rem 0 0;font-size:.85rem}   /* v2.22.1 the trailer, from the start card */
#intro #toTown{margin:.75rem 0 0;font-size:.85rem}#intro #toTown+script+#trl{margin-top:.3rem}#toTown a{color:var(--gold);text-decoration:none;border-bottom:1px dashed #f2b84b80}#toTown a:hover{border-bottom-style:solid}#toTown a:focus-visible{outline:2px solid var(--focus);outline-offset:3px;border-bottom-color:transparent}   /* v2.93 */
#intro #xcF{margin:.7rem 0 .1rem;padding:.4rem .65rem;border-left:3px solid var(--gold);background:#f2b84b1c;font-size:.92rem;line-height:1.35}   /* v2.89 a challenge link */
#trips button.xcF{border-style:solid;border-color:var(--gold);background:#f2b84b33}
#xcS{pointer-events:auto;display:flex;align-items:center;gap:.35rem;min-height:2.3rem;padding:.1rem .7rem;background:var(--gold);border:2px solid #0008;color:#1b1208;font:inherit;font-size:.95rem;font-weight:700;cursor:pointer;box-shadow:.15rem .15rem 0 #0006}
#xcS[hidden]{display:none}
#trl a{color:var(--gold);text-decoration:none;border-bottom:1px dashed #f2b84b80}
#trl a:hover{border-bottom-style:solid}
#trl a:focus-visible{outline:2px solid var(--focus);outline-offset:3px;border-bottom-color:transparent}
#intro #crew{margin:.85rem 0 0;font-size:.7rem;line-height:1.4;color:var(--ink2);opacity:.6}   /* v2.18 the crew line: who built the town with Sloppy (from notes.md) */
@keyframes qno{25%{transform:translateX(-6px)}75%{transform:translateX(6px)}}
#kiss{font-size:.95rem;padding:.12rem .6rem;background:var(--panel);border:2px solid #e0457b;color:#fff3d6}
#mhq{font-size:.95rem;padding:.12rem .6rem;background:var(--panel);border:2px solid #d8a636;color:#fff3d6;font-variant-numeric:tabular-nums} #mhq.cold{border-color:#7ab0e0;color:#cfe4ff}
#kreide{font-size:.95rem;padding:.12rem .6rem;background:var(--panel);border:2px dashed #f4f1ea;color:#fff3d6;font-variant-numeric:tabular-nums;white-space:nowrap}
#talk{position:fixed;left:50%;bottom:calc(var(--bot) + 3.2rem);transform:translateX(-50%);min-height:2.9rem;padding:.35rem 1rem;background:var(--panel);border:2px solid var(--gold);font-size:1rem;display:flex;align-items:center;gap:.4rem;box-shadow:.2rem .2rem 0 #0006;white-space:nowrap}
#talk:active{transform:translate(calc(-50% + 2px),2px)}
.talking #talk{visibility:hidden}
#talk.new{animation:tnew 1.1s ease-in-out 3}
@keyframes tnew{50%{box-shadow:0 0 0 .3rem #f2b84b88,.2rem .2rem 0 #0006}}
/* v1.16 touch: talk sits on the right above jump, out of the left thumb's walking zone */
.touch #talk,.touch #rub:not([hidden]) ~ #talk{left:auto;right:max(1rem, env(safe-area-inset-right));transform:none;bottom:calc(var(--bot) + 5.9rem)}
.touch #talk:active{transform:translate(2px,2px)}
.touch #talk:not([hidden]) ~ #ride{bottom:calc(var(--bot) + 9.3rem)}
.touch.talking #ride{visibility:hidden}
@media (orientation:landscape) and (max-height:500px){.touch #talk,.touch #rub:not([hidden]) ~ #talk{right:calc(max(1rem, env(safe-area-inset-right)) + 5.2rem);bottom:calc(var(--bot) + 1.6rem)} .touch #talk:not([hidden]) ~ #ride{bottom:calc(var(--bot) + 5.9rem)}}
@media (max-width:560px){.touch #rub{left:max(1rem, env(safe-area-inset-left));transform:none;justify-content:flex-start;max-width:calc(100% - 7.2rem)}}
#ride,#ride2{position:fixed;right:max(1rem, env(safe-area-inset-right));bottom:calc(var(--bot) + 6rem);min-height:2.9rem;padding:.35rem .9rem;background:var(--panel);border:2px solid #6ec6e8;color:#fff3d6;font:inherit;font-size:1rem;display:flex;align-items:center;gap:.4rem;box-shadow:.2rem .2rem 0 #0006;white-space:nowrap;cursor:pointer}
.desk #ride{bottom:calc(var(--bot) + 1.2rem)}
#ride2{bottom:calc(var(--bot) + 9.6rem)} .desk #ride2{bottom:calc(var(--bot) + 4.8rem)} .touch.talking #ride2{visibility:hidden}   /* v2.89.2 (r2Pos puts it just above #ride) */
.touch #ride.big{min-height:3.9rem;padding:.6rem 1.25rem;font-size:1.25rem;border-width:3px}
@media (max-width:640px){.desk #ride{bottom:calc(var(--bot) + 3.6rem)}}
#ride:active,#ride2:active{transform:translate(2px,2px)}
#ride:focus-visible,#ride2:focus-visible{outline:3px solid var(--focus);outline-offset:2px}
#ride kbd,#ride2 kbd{font:700 .75rem var(--ui);background:var(--ink);color:var(--panel-solid);padding:.05rem .3rem;margin-left:.15rem}
#fade{position:fixed;inset:0;background:#0b0806;opacity:0;transition:opacity .32s;pointer-events:none;z-index:6}
#fade.on{opacity:1}
#fade.bld::after{content:'';position:absolute;left:30%;right:30%;bottom:calc(env(safe-area-inset-bottom, 0px) + 16%);height:4px;background:linear-gradient(90deg,#f2b84b var(--fp,0%),rgba(246,234,215,.18) 0)}   /* v3.26 a town made behind the fade: how far */
#y16card{position:fixed;left:50%;top:40%;transform:translate(-50%,-50%);z-index:7;width:min(26rem,calc(100vw - 2.5rem));text-align:center;color:var(--ink);pointer-events:none;opacity:0;transition:opacity .7s}
#y16card.on{opacity:1}
#y16card b{display:block;font:400 clamp(2.6rem,11vw,4.4rem)/1 var(--title);color:var(--gold);text-shadow:0 3px 0 #000}
#y16card span{display:block;margin-top:.6rem;font:1rem/1.4 var(--ui);text-shadow:0 2px 0 #000}
#hfc{position:fixed;inset:0;pointer-events:none;opacity:0;transition:opacity .7s ease;display:grid;place-items:center;
  background:radial-gradient(ellipse 58% 42% at 22% 30%,#fff 0 42%,#fff0 72%),radial-gradient(ellipse 55% 40% at 80% 64%,#fbfbf8 0 40%,#fff0 72%),
    radial-gradient(ellipse 72% 48% at 46% 88%,#eef1f4 0 42%,#fff0 74%),radial-gradient(ellipse 50% 38% at 62% 16%,#f6f7f8 0 36%,#fff0 70%),linear-gradient(#d9e3ec,#f3f5f7);
  background-size:150% 150%;animation:hfcDrift 9s linear infinite alternate}
#hfc.on{opacity:1}
#hfc.n{filter:brightness(.45) saturate(.8)}
#hfcT{font:clamp(2.4rem,9vw,4.6rem)/1 var(--title);color:#4f3c2a;text-shadow:0 0 22px #fff,0 0 6px #fff}
@keyframes hfcDrift{to{background-position:40% 12%}}
@media (prefers-reduced-motion:reduce){#hfc{transition:none;animation:none}}
#talk kbd,#dlg kbd{font:700 .75rem var(--ui);background:var(--ink);color:var(--panel-solid);padding:.05rem .3rem;margin-left:.15rem}
#dlg{position:fixed;left:50%;bottom:calc(var(--bot) + 6.6rem);transform:translateX(-50%);width:min(30rem,calc(100% - 2rem));box-sizing:border-box;background:#2a1d10f2;border:2px solid var(--gold);color:#fff3d6;padding:.6rem .9rem .5rem;box-shadow:.25rem .25rem 0 #0007;cursor:pointer}
#dlg b{display:block;color:var(--gold);font-size:.85rem;letter-spacing:.06em;text-transform:uppercase}
#dlg p{margin:.25rem 0 .3rem;font-size:1.02rem;line-height:1.35}
#dlg small{display:block;text-align:right;opacity:.7;font-size:.75rem}
#wow{position:fixed;inset:0;pointer-events:none;background:radial-gradient(circle at 50% 35%,#fff8e0 0,#ffd27acc 30%,#ff8a3a55 60%,transparent 85%);opacity:0;mix-blend-mode:screen}
#wow.go{animation:wow 2.4s ease-out}
@keyframes wow{0%{opacity:0}6%{opacity:.95}100%{opacity:0}}
#rub kbd{font:700 .75rem var(--ui);background:var(--ink);color:var(--panel-solid);padding:.05rem .3rem;margin-left:.15rem}
/* v1.82.7 the pull-up's hands: two blocky hands on the ledge at the bottom of the view that slide away as you rise */
#grab{position:fixed;left:0;right:0;bottom:0;height:min(22vh,150px);display:flex;justify-content:center;align-items:flex-end;gap:min(14vw,130px);pointer-events:none;z-index:4;visibility:hidden}
#grab i{position:relative;width:min(13vw,96px);height:72%;background:linear-gradient(90deg,#f2c6a4 0 18%,#dca07c 18% 80%,#b97d5e 80%);border:4px solid #3a2418;border-bottom:0;border-radius:10px 10px 0 0;box-shadow:inset 0 10px 0 #f6d5b8}
#grab i::before{content:'';position:absolute;left:0;right:0;top:0;height:40%;border-bottom:3px solid #b97d5e;background:repeating-linear-gradient(90deg,transparent 0 calc(25% - 3px),#3a2418 calc(25% - 3px) 25%)}
#grab i::after{content:'';position:absolute;right:-16px;bottom:16%;width:20px;height:34%;background:#dca07c;border:4px solid #3a2418;border-left:0;border-radius:0 10px 10px 0}
#grab i:last-child{transform:scaleX(-1)}
#grab.on{visibility:visible;animation:grabUp .6s ease-in forwards}
@keyframes grabUp{0%{transform:translateY(0)}30%{transform:translateY(-7%)}100%{transform:translateY(106%)}}
@media (prefers-reduced-motion:reduce){#grab.on{animation-duration:.01s}}
#toast{position:fixed;left:50%;top:calc(var(--hudb, calc(var(--top) + 6.4rem)) + .5rem);transform:translateX(-50%);width:max-content;background:#3b2a12f0;border:2px solid var(--gold);color:#fff3d6;padding:.5rem .9rem;font-size:1rem;max-width:calc(100% - 2rem);box-sizing:border-box;text-align:center;pointer-events:none;transition:opacity .5s}
#toast.fade{opacity:0}
/* v1.66 the bag: a pickup toast that tucks away, a glowing "the world wants this" chip, the bag panel (B) */
#bagT{position:fixed;left:50%;top:calc(var(--hudb, calc(var(--top) + 6.4rem)) + .5rem);transform:translate(-50%,0);background:#2a1d10ee;border:2px solid var(--gold);color:#fff3d6;padding:.25rem .7rem;font-size:.95rem;pointer-events:none;transition:transform .35s,opacity .35s;z-index:4;white-space:nowrap}
#bagT.tuck{transform:translate(-50%,-1.8rem) scale(.6);opacity:0}
#bagT i{font-style:normal;font-size:1.3rem;margin-right:.35rem;vertical-align:-.15rem}
#bagT small{opacity:.75}
#bagT kbd{font:700 .7rem var(--ui);background:var(--ink);color:var(--panel-solid);padding:.05rem .3rem;margin-left:.35rem}
#bagAsk{position:fixed;left:50%;transform:translateX(-50%);bottom:calc(var(--bot) + 6.6rem);min-height:2.9rem;padding:.35rem 1rem;background:var(--panel);border:2px solid var(--gold);color:#fff3d6;font:inherit;font-size:1rem;display:flex;align-items:center;gap:.45rem;cursor:pointer;animation:bagGlow 1.4s ease-in-out infinite;white-space:nowrap;z-index:3}
#bagAsk i{font-style:normal;font-size:1.35rem}
.touch #bagAsk{bottom:calc(var(--bot) + 15.2rem)}
@media (orientation:landscape) and (max-height:500px){.touch #bagAsk{bottom:calc(var(--bot) + 4.6rem)}}
@keyframes bagGlow{50%{box-shadow:0 0 1rem #f2b84bcc}}
#bagp{position:fixed;left:50%;top:calc(var(--top) + 2.6rem);transform:translateX(-50%);width:min(24rem,calc(100% - 2rem));box-sizing:border-box;max-height:calc(100% - var(--top) - var(--bot) - 3.5rem);overflow:auto;
  background:#2a1d10f4;border:2px solid var(--gold);color:#fff3d6;padding:.6rem .9rem .7rem;box-shadow:.3rem .3rem 0 #0008;z-index:5}
#bagp header{display:flex;align-items:center;justify-content:space-between;gap:.5rem}
#bagp h2{margin:0;font:400 1.7rem var(--title);color:var(--gold)}
#bagX{min-width:2.75rem;min-height:2.75rem;background:none;border:2px solid #f6ead760;color:var(--ink);font:inherit;font-size:1.1rem;cursor:pointer}
#bagL{list-style:none;margin:.5rem 0 0;padding:0;display:grid;gap:.4rem}
#bagL button{width:100%;display:flex;align-items:center;gap:.6rem;min-height:2.9rem;padding:.3rem .6rem;background:#ffffff0d;border:1px solid #f6ead740;color:inherit;font:inherit;text-align:left;cursor:default}
#bagL button.want{border:2px solid var(--gold);background:#f2b84b26;cursor:pointer;animation:bagGlow 1.4s ease-in-out infinite}
#bagL i{font-style:normal;font-size:1.5rem}
#bagL span{display:flex;flex-direction:column}
#bagL small{opacity:.78;font-size:.8rem}
#bagL .none{opacity:.75;font-size:.9rem;padding:.3rem 0}
#bagp>small{display:block;margin-top:.5rem;opacity:.6;font-size:.75rem}
#qbag{display:block;width:100%;margin:.5rem 0 0;padding:.45rem 0 .1rem;border:0;border-top:1px dashed #f6ead740;background:none;color:var(--ink2);font:inherit;font-size:.86rem;text-align:left;cursor:pointer;white-space:pre-line;min-height:2.75rem}
#qclean{display:block;width:100%;margin:0 0 .45rem;padding:.4rem .6rem;border:1px solid var(--gold);border-radius:.4rem;background:#f2b84b22;color:var(--gold);font:inherit;font-size:.9rem;text-align:center;cursor:pointer;min-height:2.75rem} #qclean kbd{font:700 .75rem var(--ui);background:var(--ink);color:var(--panel-solid);padding:.05rem .3rem;margin-left:.4rem}
/* v2.21.1 the clean view (Flax: a picture of postcard mode with no buttons, no map, no HUD) */
html.clean body>*:not(#view):not(#pcard):not(#under):not(#hfc):not(#scope):not(#twfr):not(#fade):not(#wow):not(#cleanH),html.clean #scopeL,html.clean #twfrL,html.clean #twfrS,html.clean #twfrN{visibility:hidden!important}
#cleanH{position:fixed;left:50%;bottom:calc(var(--bot) + 1rem);transform:translateX(-50%);margin:0;width:max-content;max-width:calc(100% - 2rem);box-sizing:border-box;padding:.4rem .7rem;background:#3b2a12e6;border:2px solid var(--gold);color:#fff3d6;font-size:.9rem;text-align:center;pointer-events:none;opacity:0}
#cleanH.go{animation:cleanH 2.8s ease forwards} @keyframes cleanH{0%{opacity:0}8%{opacity:1}72%{opacity:1}100%{opacity:0}}
#bagAsk:focus-visible,#bagX:focus-visible,#bagL button:focus-visible,#qbag:focus-visible{outline:3px solid var(--focus);outline-offset:2px}
@media (prefers-reduced-motion:reduce){#bagAsk,#bagL button.want{animation:none;box-shadow:0 0 .8rem #f2b84bcc}#bagT{transition:none}}
#bark{position:fixed;left:0;top:0;transform:translate(-200px,-200px);background:#fff6e2;color:#2a1d10;border:2px solid #2a1d10;padding:.22rem .55rem;font-size:.88rem;line-height:1.25;width:max-content;max-width:min(15rem,60vw);text-align:center;pointer-events:none;box-shadow:.15rem .15rem 0 #0005;margin-top:-.6rem;will-change:transform}
#bark::after{content:"";position:absolute;left:50%;bottom:-.62rem;margin-left:-.32rem;border:.32rem solid transparent;border-top-color:#2a1d10}
#poster{position:fixed;inset:0;background:#2a2230 url(poster.jpg?v=2761) 68% 45%/cover no-repeat;pointer-events:none;transition:opacity .9s}   /* v2.76.1 the castle while the town loads; v3.17.2 by its full path, so the address without a trailing slash finds it too */
#poster.off{opacity:0}
@media (max-aspect-ratio: 4/5){ #poster{background-color:#1c2433;background-size:auto 50%;background-position:68% 0} }   /* tall phones: the castle above the card */
@media (prefers-reduced-motion: reduce){ #poster{transition:none} }
#loading{position:fixed;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;pointer-events:none}   /* v3.6 still read out; on screen the stage shows in the Start bar */
#under{position:fixed;inset:0;background:radial-gradient(ellipse at 50% 30%, #2c6f7a55, #0d2f3acc);pointer-events:none}
#cross{position:fixed;left:50%;top:50%;width:.5rem;height:.5rem;margin:-.25rem 0 0 -.25rem;border:2px solid #fff9;border-radius:50%;pointer-events:none}

#jump{position:fixed;right:calc(max(1rem, env(safe-area-inset-right)) + .2rem);bottom:calc(var(--bot) + 1rem);width:4.2rem;height:4.2rem;border-radius:50%;
  background:#1d232cb3;border:2px solid #f6ead780;font-size:1.6rem;display:grid;place-items:center;touch-action:none}
#jump:active,#jump.on{background:#c4553acc}
#stick,#stickR{position:fixed;left:max(1rem, env(safe-area-inset-left));bottom:calc(var(--bot) + .6rem);width:7rem;height:7rem;box-sizing:border-box;border-radius:50%;border:3px solid #f6ead7c8;background:#1d232c80;box-shadow:0 0 0 .35rem #1d232c38;pointer-events:none;opacity:.5;transition:opacity .2s}
#stick.on,#stickR.on{opacity:1}
/* v1.60 (Flax 10:13) the second ring, bottom-right just left of the jump button: it turns and looks. Talk, ride and the monkey's
   buttons move up over the rings in portrait, and left of the right ring in landscape, so nothing sits on a ring */
#stickR{left:auto;right:calc(max(1rem, env(safe-area-inset-right)) + 5.6rem)}
.talking #stickR{visibility:hidden}
.touch #hint{z-index:1}
.touch #rub{bottom:calc(var(--bot) + 8.2rem);max-width:calc(100% - 2rem)}
.touch #talk,.touch #rub:not([hidden]) ~ #talk{bottom:calc(var(--bot) + 8.2rem)}
.touch #rub:not([hidden]) ~ #talk{bottom:calc(var(--bot) + 11.4rem)}
.touch #ride{bottom:calc(var(--bot) + 8.2rem)}
.touch #talk:not([hidden]) ~ #ride{bottom:calc(var(--bot) + 11.6rem)}
.touch #rub:not([hidden]) ~ #talk:not([hidden]) ~ #ride{bottom:calc(var(--bot) + 14.8rem)}
@media (max-width:370px){ #stick,#stickR{width:6rem;height:6rem} #stickR{right:calc(max(1rem, env(safe-area-inset-right)) + 5.5rem)} .touch #rub,.touch #talk,.touch #ride{bottom:calc(var(--bot) + 7.2rem)} }
@media (orientation:landscape) and (max-height:500px){
  .touch #rub{bottom:calc(var(--bot) + 4.9rem)}
  .touch #talk,.touch #rub:not([hidden]) ~ #talk{right:calc(max(1rem, env(safe-area-inset-right)) + 14rem);bottom:calc(var(--bot) + 1.6rem)}
  .touch #ride{right:calc(max(1rem, env(safe-area-inset-right)) + 14rem);bottom:calc(var(--bot) + 1.6rem)}
  .touch #talk:not([hidden]) ~ #ride{bottom:calc(var(--bot) + 5.2rem)}
  .touch #rub:not([hidden]) ~ #talk{bottom:calc(var(--bot) + 8.2rem)}
  .touch #rub:not([hidden]) ~ #talk:not([hidden]) ~ #ride{bottom:calc(var(--bot) + 11.6rem)}
}
#rowHud{position:fixed;left:50%;top:calc(var(--top) + 8.2rem);transform:translateX(-50%);padding:.3rem .8rem;background:var(--panel);border:2px solid var(--gold);color:#fff3d6;font-size:1rem;max-width:calc(100% - 2rem);width:max-content;text-align:center;pointer-events:none;z-index:3;box-shadow:.15rem .15rem 0 #0006}
#rowHud b.big{display:block;font-size:2.8rem;line-height:1;padding:.1rem .5rem}
.oar{position:fixed;bottom:var(--bot);width:5.6rem;height:5.6rem;border-radius:50%;background:#1d232cc8;border:3px solid #f6ead7c8;color:#fff3d6;font-size:2.1rem;touch-action:none;user-select:none;-webkit-user-select:none;z-index:3}
#rowL{left:max(1rem, env(safe-area-inset-left))} #rowR{right:max(1rem, env(safe-area-inset-right))}
.oar.on{background:#c4553acc}
.touch.rowing #hint{bottom:auto;top:calc(var(--top) + 11rem);max-width:calc(100% - 2rem)} .touch.flying #hint{max-width:calc(100% - 2rem)}   /* v1.38.1 a fixed ring bottom-left: only touches on it walk (Angie: the stick box was huge) */
#knob,#knobR{position:absolute;left:50%;top:50%;width:3rem;height:3rem;margin:-1.5rem 0 0 -1.5rem;border-radius:50%;background:#f6ead7e6}
#tut{position:fixed;inset:0;pointer-events:none;z-index:2} .talking #tut{visibility:hidden}
#tutL,#tutR{position:absolute;display:grid;justify-items:center;gap:.5rem;transform:translate(-50%,-50%);transition:opacity .7s}
#tutL{left:calc(max(1rem, env(safe-area-inset-left)) + 3.5rem);top:auto;bottom:calc(var(--bot) + 1.3rem);transform:translateX(-50%)} #tutL b{order:-1;position:relative;left:1.1rem} #tutR{left:72%;top:46%}
#tutL i,#tutR i{position:relative;display:block}
#tutL i{width:5.6rem;height:5.6rem;border-radius:50%;border:2px dashed #f6ead7b0;background:#1d232c45}
#tutR i{width:7.6rem;height:2.6rem}
#tutR i::before{content:"";position:absolute;left:0;right:0;top:50%;border-top:2px dashed #f6ead7a0}
#tutL i::after,#tutR i::after{content:"";position:absolute;left:50%;top:50%;width:2.2rem;height:2.2rem;margin:-1.1rem 0 0 -1.1rem;border-radius:50%;background:#f6ead7b8;box-shadow:0 0 0 .3rem #f6ead730}
#tutL i::after{animation:tutw 1.9s ease-in-out infinite} #tutR i::after{animation:tutl 2.3s ease-in-out infinite}
@keyframes tutw{0%,100%{transform:translateY(0)}45%,62%{transform:translateY(-1.5rem)}}
@keyframes tutl{0%,100%{transform:translateX(-2.6rem)}50%{transform:translateX(2.6rem)}}
#tut b{font-weight:700;font-size:1rem;padding:.25rem .7rem;background:var(--panel);border:2px solid var(--gold);color:#fff3d6;white-space:nowrap;box-shadow:.15rem .15rem 0 #0006}
#tut .off{opacity:0}
#tut .yd{opacity:0;transition:none}   /* v3.23.1 the look hint steps aside for a speech bubble at once (tutYield); it fades back in over its .7 s */
@media (orientation:landscape) and (max-height:500px){
  :root{--top:calc(env(safe-area-inset-top, 0px) + .6rem); --bot:calc(env(safe-area-inset-bottom, 0px) + .8rem)}
  #hud{gap:.25rem}
  #dlg{bottom:calc(var(--bot) + .3rem);width:min(30rem,calc(100% - 13rem))}
  #rub:not([hidden]) ~ #dlg{bottom:calc(var(--bot) + 6.4rem)}
  #tutR{left:75%;top:40%}
}
/* v1.25 short landscape (phones in the sloppy.live bar, ~844x300): the place name and the quest chip share a row under the compass */
@media (orientation:landscape) and (max-height:360px) and (min-width:700px){
  #hud{display:grid;grid-template-columns:auto auto;justify-content:center;align-items:center;column-gap:.4rem;row-gap:.25rem}
  #compass{grid-column:1/-1;justify-self:center}
  #prow,#hudrow{max-width:none}
}
/* v1.15 the coin Fernrohr on the Königstuhl */
#scopeV{position:fixed;inset:0;pointer-events:none;background:radial-gradient(circle closest-side at 50% 50%,transparent 0 82%,#0a080655 84%,#d2a84a 85.5%,#7a5520 87.5%,#0b0907 89.5%)}
#scopeR{position:absolute;left:50%;top:50%;width:28vmin;height:28vmin;margin:-14vmin 0 0 -14vmin;box-sizing:border-box;border:2px solid #f6ead7a0;border-radius:50%;transition:border-color .15s,box-shadow .15s}
#scopeR::after{content:"";position:absolute;left:50%;top:50%;width:.3rem;height:.3rem;margin:-.15rem 0 0 -.15rem;border-radius:50%;background:#f6ead7c0}
#scopeR.lk{border:3px solid var(--gold);box-shadow:0 0 .9rem #f2b84b90}
#scopeR.got{animation:scgot .8s ease-out}
@keyframes scgot{0%{transform:scale(1);border-color:#fff8e0}100%{transform:scale(1.4);border-color:transparent}}
#scopeL{position:fixed;left:max(1rem, env(safe-area-inset-left));bottom:calc(var(--bot) + .4rem);background:var(--panel);border:2px solid #d2a84a;padding:.4rem .8rem .45rem;font-size:.95rem;box-shadow:.2rem .2rem 0 #0006;pointer-events:none}
#scopeL b{display:block;font-size:.78rem;letter-spacing:.08em;text-transform:uppercase;color:var(--gold);margin-bottom:.1rem}
#scopeL ul{margin:0;padding:0;list-style:none;line-height:1.55}
#scopeL li.ok{color:#a8e08e}
.touch #scopeL{bottom:calc(var(--bot) + 6rem)}
@media (orientation:landscape) and (max-height:500px){#scopeL,.touch #scopeL{top:var(--top);bottom:auto}.scope #toast{top:calc(var(--top) + 4.2rem);font-size:.85rem;max-width:27rem}}
.scope #talk,.scope #jump,.scope #drink,.scope #bark,.scope #stick,.scope #stickR,.scope #rub,.scope #cross,.scope #tut,.scope #kiss,.scope #qt{visibility:hidden}
#buildstamp{position:fixed;left:max(.5rem, env(safe-area-inset-left));bottom:calc(env(safe-area-inset-bottom, 0px) + .3rem);font:.62rem/1 ui-monospace, "Courier New", monospace;color:#f6ead7;opacity:.55;pointer-events:none}
/* v1.30 Mannheim: Jupp's where-to choice + the trip card */
#jch{position:fixed;left:50%;bottom:calc(var(--bot) + 6.6rem);transform:translateX(-50%);width:min(27rem,calc(100% - 2rem));box-sizing:border-box;display:grid;gap:.45rem;background:#2a1d10f2;border:2px solid var(--gold);padding:.6rem .7rem .7rem;box-shadow:.25rem .25rem 0 #0007;z-index:4}
#jch>b{color:var(--gold);font-size:.85rem;letter-spacing:.06em;text-transform:uppercase}
#jch button{display:flex;align-items:center;gap:.65rem;min-height:3.1rem;padding:.4rem .75rem;background:#1d232ccc;border:2px solid #f6ead755;color:#fff3d6;font-size:1.05rem;text-align:left;box-shadow:.15rem .15rem 0 #0006}
#jch button>span:first-child{font-size:1.45rem;line-height:1}
#jch button:hover,#jch button:focus-visible{border-color:var(--gold);background:#3b2a12}
#jch button:active{transform:translate(2px,2px)}
#jch i{display:block;font-style:normal;font-size:.8rem;color:var(--ink2);margin-top:.1rem}
#jch kbd{margin-left:auto;font:700 .75rem var(--ui);background:var(--ink);color:var(--panel-solid);padding:.05rem .3rem}
.choosing #talk{visibility:hidden}
.mh #qt,.mh #kiss{display:none!important}
.mh.mhq #qt:not([hidden]){display:flex!important}
#mhcard{position:fixed;inset:0;z-index:7;display:grid;place-items:center;padding:1rem;box-sizing:border-box;opacity:0;transition:opacity .35s;
  background:radial-gradient(ellipse at 50% 120%,#24546a 0,transparent 60%),repeating-linear-gradient(0deg,#0000 0 22px,#ffffff06 22px 23px),#0c1820}
#mhcard.on{opacity:1}
#mhcard .mc{width:min(34rem,100%);text-align:center}
#mcT{margin:0;font:400 clamp(2.6rem,11vw,4.2rem)/1 var(--title);color:var(--ink);text-shadow:.14rem .14rem 0 #1f3f7a}
#mcS{margin:.35rem 0 1.4rem;font-size:.95rem;color:#9fd0dc;letter-spacing:.04em}
.mc-map{position:relative;height:7.5rem;margin:0 .4rem}
.mc-hills{position:absolute;left:0;right:0;bottom:2.6rem;height:3.2rem;background:linear-gradient(#3f6a4a,#24402c);
  clip-path:polygon(0 100%,0 93%,30% 91%,46% 86%,55% 70%,62% 76%,69% 46%,76% 58%,83% 22%,89% 34%,94% 8%,100% 26%,100% 100%)}
.mc-wt{position:absolute;left:3.2%;bottom:2.6rem;width:.7rem;height:1.5rem;background:#b0583c;border-radius:.35rem .35rem 0 0;box-shadow:0 -.35rem 0 -.12rem #5f9e88}
.mc-sl{position:absolute;left:92.4%;bottom:5.2rem;width:1.4rem;height:.75rem;background:#a8452f;clip-path:polygon(0 100%,0 30%,18% 30%,18% 0,34% 0,34% 30%,64% 30%,64% 10%,80% 10%,80% 30%,100% 30%,100% 100%)}
.mc-line{position:absolute;left:2%;right:2%;bottom:2.1rem;height:.5rem;background:repeating-linear-gradient(90deg,#6fb6c9 0 .9rem,#4f93a8 .9rem 1.5rem);background-size:1.5rem 100%;animation:mcflow 1.2s linear infinite}
.up .mc-line{animation-direction:reverse}
.hh .mc-line{animation-direction:reverse} .hh.up .mc-line{animation-direction:normal}
.hh .mc-hills{clip-path:polygon(0 100%,0 20%,6% 4%,12% 30%,20% 18%,28% 44%,36% 26%,44% 40%,52% 22%,60% 46%,68% 34%,76% 58%,83% 22%,89% 34%,94% 8%,100% 26%,100% 100%)}
.hh .mc-wt{left:2.4%;bottom:5.4rem;width:1.3rem;height:.95rem;border-radius:0;box-shadow:none;background:#a8674f;clip-path:polygon(0 100%,0 30%,14% 30%,14% 0,34% 0,34% 30%,58% 30%,58% 12%,72% 12%,72% 30%,100% 30%,100% 100%)}
.mc-ns{display:none} .hh .mc-ns{display:block;position:absolute;left:35.5%;bottom:4.4rem;width:1.8rem;height:.7rem;background:repeating-linear-gradient(90deg,#9a5a46 0 .28rem,transparent .28rem .5rem)}
@keyframes mcflow{to{background-position:-1.5rem 0}}
.mc-run{position:absolute;left:2%;right:2%;bottom:2.25rem;height:0}
.mc-run>i{position:absolute;right:-1.3rem;bottom:0;width:2.6rem;height:1.6rem}
.go .mc-run{animation:mcdown var(--d,6s) cubic-bezier(.35,0,.6,1) forwards}
.go.up .mc-run{animation-name:mcup}
.up .mc-run>i{transform:scaleX(-1)}
@keyframes mcdown{from{transform:translateX(0)}to{transform:translateX(-96%)}}
@keyframes mcup{from{transform:translateX(-96%)}to{transform:translateX(0)}}
.mc-run>i::before{content:"";position:absolute;left:0;right:0;bottom:0;height:.62rem;background:#f4f1ea;border-bottom:.2rem solid #1f3f7a;clip-path:polygon(0 0,100% 0,100% 100%,18% 100%)}
.mc-run>i::after{content:"";position:absolute;left:52%;right:8%;bottom:.62rem;height:.72rem;border-top:.22rem solid #1f3f7a;border-left:.12rem solid #f4f1ea;border-right:.12rem solid #f4f1ea;box-sizing:border-box}
#mcStops{list-style:none;margin:0;padding:0;position:absolute;inset:0}
#mcStops li{position:absolute;bottom:2.35rem;width:0;height:0}
#mcStops li::before{content:"";position:absolute;left:-.375rem;top:-.375rem;width:.5rem;height:.5rem;background:#f4f1ea;border:.125rem solid #1f3f7a}
#mcStops span{position:absolute;left:0;top:.75rem;transform:translateX(-50%);font-size:.72rem;line-height:1.1;color:#cfe6ec;white-space:nowrap;text-shadow:0 1px 0 #0c1820}
#mcStops li:nth-child(even) span{top:auto;bottom:.75rem}
#mcStops li:first-child span{transform:translateX(-22%)} #mcStops li:last-child span{transform:translateX(-78%)}
#mcStops .big span{font-size:.92rem;font-weight:700;color:var(--ink)}
#mcL{min-height:3.6rem;margin:1.3rem auto .4rem;max-width:28rem;font-size:1.05rem;line-height:1.4;color:#fff3d6}
#mcL b{display:block;color:var(--gold);font-size:.78rem;letter-spacing:.08em;text-transform:uppercase;margin-bottom:.15rem}
#mcL.in{animation:mcin .45s ease-out}
@keyframes mcin{from{opacity:0;transform:translateY(.4rem)}to{opacity:1;transform:none}}
#mcE{color:#ffb3a3;margin:.2rem 0}
#mcSkip{min-height:2.9rem;padding:.35rem 1rem;background:var(--panel);border:2px solid #6ec6e8;color:#fff3d6;font-size:1rem;box-shadow:.2rem .2rem 0 #0006}
#mcSkip:active{transform:translate(2px,2px)}
#mcSkip kbd{font:700 .75rem var(--ui);background:var(--ink);color:var(--panel-solid);padding:.05rem .3rem;margin-left:.35rem}
@media (max-width:440px){#mcStops span{font-size:.62rem} #mcStops .big span{font-size:.8rem}}
@media (orientation:landscape) and (max-height:500px){#mhcard{padding:.5rem} #mcT{font-size:2.3rem} #mcS{margin:.15rem 0 .2rem;font-size:.85rem} .mc-map{height:5.8rem} #mcL{margin:.3rem auto;min-height:2.6rem;font-size:.95rem;line-height:1.3} #mcSkip{min-height:2.6rem}}
@media (max-height:340px){#mcS{display:none}}
@media (prefers-reduced-motion: reduce){#mhcard{transition:none} .go .mc-run,.mc-line,#mcL.in{animation:none} .go .mc-run{transform:translateX(-48%)}}
@media (prefers-reduced-motion: reduce){
  #intro{animation:none} #scopeR.got{animation:none} #scopeR{transition:none} #qt.pop{animation:none} #talk.new{animation:none} #tutL i::after,#tutR i::after{animation:none} #place{transition:none} #hint{transition:none} #fade{transition:none} #go{transition:none} #go.ready{animation:none}
}
/* v2.40.1 the photo button's flash and card; the start card, shorter */
#phflash{position:fixed;inset:0;background:#fff;opacity:0;pointer-events:none;z-index:30} #phflash.go{animation:phf .45s ease-out} @keyframes phf{0%{opacity:.85}100%{opacity:0}}
@media (prefers-reduced-motion:reduce){#phflash.go{animation:phfr .25s ease-out} @keyframes phfr{0%{opacity:.3}100%{opacity:0}}}
#recbtn.hold{border-color:#e8473a;box-shadow:0 0 0 3px #e8473a66}
#phcard{position:fixed;right:max(.8rem, env(safe-area-inset-right));top:calc(var(--top) + 9.9rem + var(--col, 0rem));width:min(16rem,calc(100% - 1.6rem));box-sizing:border-box;background:var(--panel-solid);border:2px solid var(--gold);padding:.45rem;display:flex;flex-wrap:wrap;gap:.4rem;align-items:center;justify-content:flex-end;z-index:6;animation:phin .35s cubic-bezier(.2,.9,.2,1.1) both}
@keyframes phin{from{transform:translateX(1.2rem);opacity:0}} @media (prefers-reduced-motion:reduce){#phcard{animation:none}}
#phImg{flex:1 1 100%;width:100%;display:block;border:3px solid #fff3d6;box-sizing:border-box;transform:rotate(-1.2deg);box-shadow:.2rem .25rem 0 #0006}
@media (max-aspect-ratio:3/4){#phcard{width:min(10.5rem,calc(100% - 1.6rem));top:calc(var(--top) + 13.8rem)} #phcard button{padding:0 .5rem;font-size:.88rem}}
#phT{flex:1 1 100%;font-size:.85rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#phcard button{min-height:2.5rem;background:var(--slate);border:2px solid #0008;padding:0 .7rem;font-size:.95rem} #phSave{background:var(--sand)!important}
#intro{max-width:27rem;padding:1rem 1.15rem 1.05rem} #intro h1{font-size:clamp(2.2rem, 8vw, 2.8rem)} #intro #tag{font-size:1rem;line-height:1.35;margin:0 0 .85rem}
#trips{margin-top:.8rem;gap:.35rem} #tripsH{flex:1 1 100%;font-size:.85rem;margin:0}
#trips button{min-height:2.5rem;padding:.2rem .6rem;font-size:.88rem}
#intro .keys{margin:.7rem 0 0;font-size:.78rem;line-height:1.4;color:var(--ink2);opacity:.85} #intro .keys b{color:var(--gold)}
#wwo{margin-top:.7rem;font-size:.82rem} #wwo button{min-height:2.4rem;padding:.2rem .7rem}
#intro #trl{margin:.55rem 0 0;font-size:.8rem} #intro #crew{margin:.5rem 0 0}
/* v2.45 the Fernrohr on the Fernmeldeturm: two round eyepieces and the panorama board's names */
#twfr{position:fixed;inset:0;pointer-events:none}
#twfrV{position:absolute;inset:0;width:100%;height:100%}
#twfrL{position:absolute;inset:0;overflow:hidden}
.twl{position:absolute;left:0;top:0;padding-bottom:1.05rem;text-align:center;white-space:nowrap;font-size:.9rem;line-height:1.15;color:#fff6e2;text-shadow:0 1px 0 #000,1px 0 0 #000,0 0 .35rem #000;transition:color .15s}
.twl::after{content:"";position:absolute;left:50%;bottom:.1rem;width:2px;height:.85rem;margin-left:-1px;background:#fff6e2b0;box-shadow:0 0 0 1px #0006}
.twl b{font-weight:700} .twl i{display:block;font-style:normal;font-size:.74rem;color:#f2d27a}
.twl.lk{color:var(--gold)} .twl.lk::after{background:var(--gold)} .twl.seen b::before{content:"✓ ";color:#a8e08e}
#twfrS{position:absolute;left:50%;bottom:calc(var(--bot) + 4.6rem);transform:translateX(-50%);width:min(31rem,calc(100% - 2rem));box-sizing:border-box;margin:0;background:var(--panel-solid);border:2px solid var(--gold);padding:.5rem .8rem;font-size:.95rem;line-height:1.35;opacity:0;transition:opacity .25s;box-shadow:.2rem .2rem 0 #0006}
#twfrS.on{opacity:1} #twfrS b{color:var(--gold)}
#twfrN{position:absolute;left:max(1rem, env(safe-area-inset-left));bottom:calc(var(--bot) + .4rem);background:var(--panel);border:2px solid #d2a84a;padding:.25rem .65rem;font-size:.85rem;box-shadow:.2rem .2rem 0 #0006}
.touch #twfrS{bottom:calc(var(--bot) + 10.4rem)} .touch #twfrN{bottom:calc(var(--bot) + 6rem)}
@media (orientation:landscape) and (max-height:500px){#twfrS,.touch #twfrS{bottom:calc(var(--bot) + .4rem);width:min(24rem,calc(100% - 12rem));font-size:.85rem}#twfrN,.touch #twfrN{top:var(--top);bottom:auto}}
@media (prefers-reduced-motion:reduce){#twfrS,.twl{transition:none}}
/* v2.50 new since your last walk */
#intro #news{margin:.1rem 0 .55rem;font-size:.84rem;line-height:1.3;display:flex;flex-direction:column;gap:.12rem} #intro #news b{color:var(--gold);font-size:.78rem;letter-spacing:.02em}
/* v3.6 polish (ui-design, game-feel): see notes.md, Look */
/* the postcard captions and the menu sign share the top right corner: the captions hang under the sign */
.slm #lrpc span{top:calc(var(--top) + 3.4rem)}
/* the start card on a phone: every button and link a full 44 px to the thumb; the card sits lower, nearer the thumb */
.touch #trips button,.touch #wwo button{min-height:2.75rem}
.touch #intro #toTown{margin:.4rem 0 0} .touch #intro #trl,.touch #intro #toTown+script+#trl{margin:0}
.touch #toTown a,.touch #trl a{display:inline-block;line-height:2.75rem;border-bottom:0;text-decoration:underline dashed #f2b84b99;text-decoration-thickness:1px;text-underline-offset:.3em}   /* inline-block: the underline stays under the words (an inline-flex drew it at the box's foot) */
@media (orientation:portrait){.touch #intro{bottom:calc(env(safe-area-inset-bottom, 0px) + 1.5rem);max-height:calc(100dvh - env(safe-area-inset-bottom, 0px) - 1.5rem - var(--top) - .5rem)}}
/* a phone on its side (and a short window): a wider card, so the tagline and the trips take fewer rows; the stamp moves right */
@media (orientation:landscape) and (max-height:500px){#intro{max-width:min(36rem,calc(100% - 6.5rem))} #intro h1{font-size:2.3rem;margin-bottom:.35rem} #intro #tag{margin-bottom:.6rem}
  #buildstamp{left:auto;right:max(.5rem, env(safe-area-inset-right))}}
/* every button answers a press: it sinks a little (only those that don't centre themselves with a transform); the corner column lights up on hover */
#sloppy:active,#timebtn:active,#sndbtn:active,#recbtn:active,#drink:active,#fresh:active,#trips button:active,#wwo button:active,#qt:active,#wave:active,#xcS:active,#says button:active,#qlogX:active,#bagX:active,#bagL button.want:active,#phcard button:active,#recard button:active,#qclean:active{transform:translate(1px,2px)}
#jump{transition:transform .08s} #jump:active,#jump.on{transform:scale(.92)}
@media (hover:hover){#timebtn:hover,#sndbtn:hover,#recbtn:hover,#drink:hover{border-color:var(--gold)}}
html.nopress #intro button:active,html.nopress body>button:active,html.nopress #hud button:active,html.nopress #jump{transform:none!important;animation:none}
/* the walk ring turns gold while a push to its edge runs */
#stick.run{border-color:var(--gold);box-shadow:0 0 0 .35rem #f2b84b40}
#stick{transition:opacity .2s,border-color .15s}
/* on the bike trail (a start-card trip) the hint sat on the Get off and camera buttons on an upright phone: it goes over them */
@media (orientation:portrait){.touch.bkride #hint{bottom:calc(var(--bot) + 14.7rem)}}
@media (prefers-reduced-motion:reduce){#jump{transition:none}}
/* v3.35 a game's own page that starts the world in its place (Flax Cart's /flax-cart/, start('flax-cart')): no start card; the game's own dark
   screen with one line over everything (the town builds under it) until the game's title card is up (start.js fcPage) */
html[data-place="flax-cart"] #intro:not(:has(#err:not([hidden]))){display:none!important}   /* only to say what failed (render.js fail) */
html[data-place="flax-cart"] #intro{z-index:9} html[data-place="flax-cart"] #intro>*:not(#err){display:none!important}
html[data-place="flax-cart"] #poster{background:#16213a radial-gradient(ellipse at 50% 120%,#2b3d66 0,#16213a 60%);z-index:7}
html[data-place="flax-cart"] #loading{z-index:8;left:0;right:0;top:46%;width:auto;height:auto;clip:auto;text-align:center;font:700 1.05rem/1.4 system-ui,sans-serif;letter-spacing:.06em;color:#f5edd9;animation:fcpl 1.6s ease-in-out infinite alternate}
@keyframes fcpl{from{opacity:.55}to{opacity:1}}
@media (prefers-reduced-motion: reduce){ html[data-place="flax-cart"] #loading{animation:none} }
/* v3.47 Heidelberg Skies' own page (/heidelberg-skies/, start('heidelberg-skies')): no start card, a night-blue loading screen until the ship is in the air */
html[data-place="heidelberg-skies"] #intro:not(:has(#err:not([hidden]))){display:none!important}
html[data-place="heidelberg-skies"] #intro{z-index:9} html[data-place="heidelberg-skies"] #intro>*:not(#err){display:none!important}
html[data-place="heidelberg-skies"] #poster{background:#0e1433 radial-gradient(ellipse at 50% 120%,#2a3a8a 0,#0e1433 62%);z-index:7}
html[data-place="heidelberg-skies"] #loading{z-index:8;left:0;right:0;top:46%;width:auto;height:auto;clip:auto;text-align:center;font:700 1.05rem/1.4 system-ui,sans-serif;letter-spacing:.06em;color:#e8f4ff;animation:fcpl 1.6s ease-in-out infinite alternate}
@media (prefers-reduced-motion: reduce){ html[data-place="heidelberg-skies"] #loading{animation:none} }
/* v3.42 Heidelberg Skies (src/sky-hooks.js): while you fly, the walker's HUD, rings and buttons are put away; Skies' own HUD (#skhud, made by
   /heidelberg-skies/src/hud.js) and the Sloppy square stay */
body.skyfly #hud,body.skyfly #timebtn,body.skyfly #sndbtn,body.skyfly #vol,body.skyfly #recbtn,body.skyfly #drink,body.skyfly #xyz,body.skyfly #mm,body.skyfly #says,body.skyfly #hint,body.skyfly #jcap,
body.skyfly #rub,body.skyfly #talk,body.skyfly #ride,body.skyfly #ride2,body.skyfly #bark,body.skyfly #tut,body.skyfly #stick,body.skyfly #stickR,body.skyfly #jump,body.skyfly #bagAsk,body.skyfly #bagT,
body.skyfly #cross,body.skyfly #toast,body.skyfly #dlg,body.skyfly #sndtap,body.skyfly #cleanH,body.skyfly #buildstamp{display:none!important}
/* v3.41.1 a first visit's card: title, line, Start; the rest waits behind 'More ways to start' (the #towns links' quiet look) */
#more{display:none}
#intro.first1 #more{display:inline-block;margin:.55rem 0 0;min-height:2.5rem;padding:.2rem .1rem;background:none;border:0;color:var(--gold);font:inherit;font-size:.92rem;font-weight:600;cursor:pointer;text-decoration:underline dotted;text-underline-offset:.3em}
#intro.first1 #more:hover,#intro.first1 #more:focus-visible{text-decoration-style:solid;color:var(--ink)}
.touch #intro.first1 #more{min-height:2.75rem}
#intro.first1 #trips,#intro.first1 .keys,#intro.first1 #wwo,#intro.first1 #toTown,#intro.first1 #trl,#intro.first1 #crew,#intro.first1 #xcF{display:none}
@media (max-aspect-ratio: 4/5){ html:has(#intro.first1) #poster{background-size:auto 68%} }   /* the shorter card leaves more of the castle in view: no empty band under it */
