:root{--sl:env(safe-area-inset-left,0px);--sr:env(safe-area-inset-right,0px);--st:env(safe-area-inset-top,0px);--sb:env(safe-area-inset-bottom,0px);--tc-gold:#e2c27a}html{-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;text-size-adjust:100%;touch-action:manipulation}html,body{overscroll-behavior:none}body{-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent}#game{-webkit-touch-callout:none}#tc{display:none}body.touch #tc{display:block}#tc button{font-family:var(--serif);-webkit-user-select:none;user-select:none;touch-action:manipulation}.tc-btn{all:unset;box-sizing:border-box;cursor:pointer;pointer-events:auto;color:#f6e6c0;text-shadow:0 1px #000;min-height:44px;font:600 15px/1.15 var(--serif);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:radial-gradient(120% 120% at 50% 0,#3b2c1ce8,#1a120ce8 70%);border-radius:999px;justify-content:center;align-items:center;gap:8px;padding:0 16px;transition:transform .1s,box-shadow .15s,opacity .2s;display:inline-flex;box-shadow:0 6px 18px #000a,inset 0 0 0 1px #e2c27a88,inset 0 0 0 3px #150f0a,inset 0 0 0 4px #c9a24a33}.tc-btn.down,.tc-btn:active{transform:scale(.94);box-shadow:0 2px 8px #000a,0 0 22px #e0b45a66,inset 0 0 0 1px #f6dc94,inset 0 0 0 3px #150f0a,inset 0 0 0 4px #e2c27a66}.tc-btn i{font-style:normal}#tc-zone{z-index:2;touch-action:none;pointer-events:auto;width:48vw;max-width:560px;height:70%;position:fixed;bottom:0;left:0}#tc-stick{left:calc(var(--sl) + 28px);bottom:calc(var(--sb) + 28px);z-index:2;pointer-events:none;opacity:.42;background:radial-gradient(circle,#0000 52%,#c9a24a22 53%,#0006 70%);border-radius:50%;width:120px;height:120px;transition:opacity .25s;position:fixed;box-shadow:inset 0 0 0 1.5px #e2c27a88,inset 0 0 0 6px #0004,0 0 0 1px #000a}#tc-stick:after{content:"";border-radius:50%;transition:box-shadow .2s;position:absolute;inset:-14px;box-shadow:inset 0 0 0 1.5px #e2c27a00}#tc-stick i{background:radial-gradient(circle at 38% 32%,#fff3c8,#e2bd66 42%,#8a6224 100%);border-radius:50%;width:54px;height:54px;margin:-27px 0 0 -27px;position:absolute;top:50%;left:50%;box-shadow:0 3px 10px #000c,0 0 0 1px #4a3210,inset 0 1px #fff8}#tc-stick.held{opacity:.9;margin:-60px 0 0 -60px;transition:none;top:0;bottom:auto;left:0}#tc-stick.run:after{box-shadow:inset 0 0 0 2px #f6dc94cc,0 0 22px #e0b45a66}#tc-act{right:calc(var(--sr) + 16px);bottom:calc(var(--sb) + 18px);z-index:3;pointer-events:none;flex-direction:column;align-items:flex-end;gap:8px;max-width:min(62vw,440px);display:flex;position:fixed}#tc-use{min-width:74px;min-height:74px;font:600 17px/1.15 var(--serif);text-align:left;border-radius:40px;gap:12px;max-width:100%;padding:0 22px 0 10px}#tc-use i{color:#2a1806;width:54px;height:54px;text-shadow:none;background:radial-gradient(circle at 36% 30%,#fff3c8,#e2bd66 45%,#9a6f26 100%);border-radius:50%;flex:none;place-items:center;font-size:22px;display:grid;box-shadow:0 0 0 1px #5a3f14,0 2px 6px #000a,inset 0 1px #fff8}#tc-use span{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}#tc-use span:empty{display:none}#tc-use.long{font-size:15px}#tc-use.idle{opacity:.55;padding:0 10px}#tc-use:not(.idle){animation:2.4s ease-in-out infinite tcGlow}@keyframes tcGlow{50%{box-shadow:0 6px 18px #000a,0 0 26px #e0b45a55,inset 0 0 0 1px #f6dc94,inset 0 0 0 3px #150f0a,inset 0 0 0 4px #c9a24a55}}.tc-extras{flex-wrap:wrap-reverse;justify-content:flex-end;gap:8px;display:flex}.tc-pill{white-space:nowrap;text-overflow:ellipsis;max-width:100%;font-size:14.5px;overflow:hidden}.tc-cap{max-width:100%;font:italic 14px/1.3 var(--serif);color:#f2e6cc;text-align:right;text-shadow:0 1px #000;background:linear-gradient(#1c140ee0,#120c08e0);border-radius:8px;padding:6px 12px;display:none;box-shadow:inset 0 0 0 1px #c9a24a44}.tc-cap.on{display:block}#tc-menu{left:calc(var(--sl) + 16px);z-index:3;border-radius:50%;flex-direction:column;gap:0;width:52px;min-height:52px;padding:0;font-size:20px;position:fixed;top:150px}#tc-menu span{font:700 7.5px/1 var(--display);letter-spacing:.14em;text-transform:uppercase;color:#d8c08a;margin-top:1px}#tc-back{top:calc(var(--st) + 10px);left:calc(var(--sl) + 10px);z-index:45;padding:0 18px 0 14px;display:none;position:fixed}#tc-back i{color:#f6dc94;font-size:15px}body.tc-menuopen #tc-back{display:inline-flex}:is(body.touch:has(#house.on,#build.on) #house h2,body.touch:has(#house.on,#build.on) #build h2){text-align:left;background-position:left 96px bottom;padding-left:96px;padding-right:8px}#tc-side{z-index:3;min-height:40px;font:700 10px/1 var(--display);letter-spacing:.14em;text-transform:uppercase;color:#f1d38a;gap:8px;padding:0 14px;display:none;position:fixed}#tc-side b{box-sizing:border-box;min-width:20px;height:20px;font:700 11px/1 var(--sans);letter-spacing:0;color:#2a1a08;background:radial-gradient(circle at 35% 30%,#fff3c8,#e2bd66 50%,#a77a2c);border-radius:10px;place-items:center;padding:0 5px;display:grid}#tc-side b:empty{display:none}body.tc-side-open #toasts{visibility:hidden}body.tc-side-open #tc-side{box-shadow:0 0 18px #e0b45a55,inset 0 0 0 1px #f6dc94,inset 0 0 0 3px #150f0a}#tc-drawer{z-index:35;pointer-events:auto;background:#000a;display:none;position:fixed;inset:0}body.tc-drawer-open #tc-drawer{animation:.2s ease-out tcFade;display:block}.tc-sheet{overscroll-behavior:contain;box-sizing:border-box;max-height:82%;padding:10px calc(var(--sr) + 14px) calc(var(--sb) + 16px) calc(var(--sl) + 14px);background:linear-gradient(#ffffff0a,#fff0 40%),radial-gradient(140% 90% at 50% 0,#2b2017fa 0%,#18110cfa 55%,#0e0a07fc 100%);border-radius:16px 16px 0 0;animation:.26s cubic-bezier(.2,.8,.3,1) tcRise;position:absolute;bottom:0;left:0;right:0;overflow:auto;box-shadow:0 -10px 40px #000c,inset 0 0 0 1px #e2c27a70,inset 0 0 0 3px #150f0a,inset 0 0 0 4px #c9a24a2e}.tc-grip{background:#c9a24a66;border-radius:2px;width:44px;height:4px;margin:0 auto 12px}.tc-grid{grid-template-columns:repeat(auto-fill,minmax(96px,1fr));gap:8px;display:grid}.tc-tile{all:unset;box-sizing:border-box;cursor:pointer;text-align:center;color:#f2e6cc;min-height:76px;font:500 14px/1.15 var(--serif);background:linear-gradient(#2c2218,#1c150f);border-radius:10px;flex-direction:column;justify-content:center;align-items:center;gap:6px;padding:8px 4px;display:flex;box-shadow:inset 0 0 0 1px #c9a24a4d,inset 0 1px #ffe9b01a,0 1px 2px #0008}.tc-tile:active{background:linear-gradient(#3b2c1c,#261c12);box-shadow:inset 0 0 0 1px #f6dc94,0 0 18px #e0b45a33}.tc-tile i{color:#f6dc94;text-shadow:0 0 10px #e0b45a55;font:22px/1 Georgia,Segoe UI Symbol,serif}#tc-hall{left:50%;bottom:calc(var(--sb) + 12px);z-index:45;gap:10px;display:none;position:fixed;transform:translate(-50%)}#tc-hall .tc-btn{min-width:56px;min-height:50px;font-size:18px}#tc-hall .tc-btn.wide{min-width:110px;font:700 12px/1 var(--display);letter-spacing:.14em;text-transform:uppercase}body.tc-hallopen #tc-hall{display:flex}body.tc-prof #tc-hall .wide{display:none}body.tc-modal #tc-zone,body.tc-modal #tc-stick,body.tc-modal #tc-act,body.tc-modal #tc-menu,body.tc-modal #tc-side{display:none!important}body.tc-drawer-open #tc-act,body.tc-drawer-open #tc-menu{visibility:hidden}#touchkeys,body.touch #keys{display:none}body.touch.tc-hints #touchkeys{z-index:8;box-sizing:border-box;pointer-events:auto;width:min(520px,100vw - 32px);font:16px/1.45 var(--serif);color:#f2e6cc;background:radial-gradient(140% 90% at 50% 0,#2b2017f4 0%,#18110cf5 55%,#0e0a07f7 100%);border-radius:12px;padding:16px 20px 14px;animation:.4s ease-out tcFade;display:block;position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);box-shadow:0 14px 40px #000b,inset 0 0 0 1px #e2c27a70,inset 0 0 0 3px #150f0a,inset 0 0 0 4px #c9a24a2e}#touchkeys b{text-align:center;font:600 13px/1.2 var(--display);letter-spacing:.16em;text-transform:uppercase;color:#f1d38a;margin-bottom:8px;display:block}#touchkeys ul{gap:4px;margin:0;padding:0;list-style:none;display:grid}#touchkeys li{padding-left:16px;position:relative}#touchkeys li:before{content:"";background:#c9a24a;width:5px;height:5px;position:absolute;top:9px;left:2px;transform:rotate(45deg)}#touchkeys li em{color:#f6dc94;font-style:normal;font-weight:600}#touchkeys .turn{text-align:center;color:#d8c8a4;margin-top:8px;font-style:italic;display:none}#touchkeys.portrait .turn{display:block}#touchkeys small{text-align:center;font:600 10px var(--display);letter-spacing:.14em;text-transform:uppercase;color:#a8987a;margin-top:8px;display:block}body.touch .choice>kbd,body.touch #prompt,body.touch #staffBtn,body.touch .sh-keys,body.touch .pf-hint kbd,body.touch #chat .hint,body.touch #talk .hint,body.touch #bar .head .keys{display:none!important}body.touch .choice{box-sizing:border-box;min-height:44px}body.touch #house .choice,body.touch #build .choice,body.touch #dialog .choice{min-height:44px}body.touch:has(#loading:not(.gone)) #tc{display:none}body.touch:has(#house.on,#build.on,#book.on) #toasts{bottom:calc(var(--sb) + 10px);align-items:center;width:min(440px,100vw - 24px);right:auto;transform:translate(-50%);top:auto!important;left:50%!important}body.touch:has(#house.on,#build.on,#book.on) #toasts .toast:nth-last-child(n+2){display:none}body.touch .choice:hover:not([disabled]){color:#f2e6cc;background:linear-gradient(#2c2218,#1c150f);box-shadow:inset 0 0 0 1px #c9a24a4d,inset 0 1px #ffe9b01a,0 1px 2px #0008}body.touch .choice:active:not([disabled]){background:linear-gradient(#3b2c1c,#261c12);box-shadow:inset 0 0 0 1px #e8c77aaa,0 0 18px #e0b45a22}body.touch .foot{pointer-events:auto}body.touch .foot>span{cursor:pointer;color:#e8d6a8;background:#0005;border-radius:999px;align-items:center;min-height:44px;padding:0 18px;display:inline-flex;box-shadow:inset 0 0 0 1px #c9a24a55}body.touch .foot>span kbd{display:none}body.touch .foot>span:before{content:"✕";font:14px/1 var(--serif);color:#f6dc94;margin-right:8px}body.touch #book .nav button{align-items:center;min-height:44px;padding:0 18px;display:inline-flex}body.touch .sh-btn,body.touch .pf-card,body.touch .sd-dep{min-height:44px}body.touch .pf-nav{opacity:.8;width:48px;height:72px;margin-top:-36px}body.touch #mapPanel canvas{touch-action:none}body.touch #mapPanel .foot>span{min-height:0;box-shadow:none;background:0 0;padding:0}body.touch #mapPanel .foot>span:before{content:none}body.touch #mapPanel .foot>span{font-size:0}body.touch #mapPanel .foot>span:after{content:"Tap a place for its tidings, again to ride there · pinch or double-tap to zoom";font:italic 12.5px/1.3 var(--serif);text-transform:none;letter-spacing:0;color:#d8c8a8}body.touch #mapPanel button,body.touch #mapLands{min-height:40px}body.touch .bubble{pointer-events:none}@keyframes tcFade{0%{opacity:0}}@keyframes tcRise{0%{opacity:.4;transform:translateY(30px)}}@keyframes tcSheet{0%{opacity:0;transform:translateY(24px)}}@media (width<=900px) and (height>=501px){body #stats .meter .v{display:none}body #stats .bar{width:60px}body #stats .bar.fear{width:44px}body #side{max-height:calc(100vh - 400px);top:140px}body #keys{max-width:calc(100vw - 32px);font-size:12.5px;line-height:1.8}body #prompt{max-width:calc(100vw - 32px);bottom:110px;left:50%!important}}@media (width>=761px) and (height>=501px) and (width<=1366px){body.touch #side{pointer-events:auto;width:240px;max-height:calc(100vh - 346px);top:96px;overflow:auto}body.touch #toasts{top:214px;bottom:auto;right:auto;left:calc(var(--sl) + 16px);align-items:flex-start;width:min(340px,44vw)}body.touch #toasts .toast:nth-last-child(n+4){display:none}body.touch #bar{width:min(420px,44vw);top:214px;bottom:auto}body.touch #bar.closed .log .m:not(:nth-last-child(-n+3)){display:none}body.touch #dialog{bottom:calc(var(--sb) + 12px)}body.touch #dialog,body.touch #house,body.touch #build,body.touch #book{left:50%!important}body.touch #dialog{width:min(700px,100vw - 32px)!important}body.touch #house{width:min(640px,100vw - 32px)!important}body.touch #house:has(.cards){width:min(820px,100vw - 32px)!important}body.touch:has(#dialog.on,#house.on,#build.on,#book.on) #side{opacity:.12}body.touch #dialog .choice{font-size:17px}body.touch #tc-act{max-width:min(44vw,440px)}}@media (width<=760px),(height<=500px){body #keys,body #staffBtn{display:none}body #room{top:calc(var(--st) + 6px);left:calc(var(--sl) + 10px);max-width:calc(100vw - 170px);padding:2px 8px 4px 2px}body #room:before{inset:-20px -40px -20px -30px}body #room b{letter-spacing:.04em;max-width:100%;font-size:15px}body #room b:after{height:5px;margin-top:1px}body #room small{white-space:nowrap;text-overflow:ellipsis;font-size:12.5px;overflow:hidden}body #clock{top:calc(var(--st) + 6px);right:calc(var(--sr) + 8px);border-radius:7px;gap:7px;padding:4px 10px 4px 5px}body #clock svg{width:48px;height:28px}body #clock b{font-size:16px}body #clock .d1{letter-spacing:.14em;margin-top:3px;font-size:7.5px}body #clock .d2{display:none}body #clock .bed{margin-top:2px;font-size:7.5px}body #stats{border-radius:7px;padding:4px 6px;font-size:12px;transform:none}body #stats:before,body #stats:after{display:none}body #stats .st{gap:4px;padding:0 6px}body #stats .ic{width:16px;height:16px}body #stats em{display:none}body #stats .v{font-size:14px}body #stats .meter{gap:3px}body #stats .meter .v{display:none}body #stats .bar{width:46px;height:6px}body #stats .bar.fear{width:34px}body #stats .bar i{width:4px;height:12px;top:-3px}body #stats .delta{font-size:10px}body #side{display:none}body.tc-side-open #side,body:not(.touch) #side{display:flex}body #side{right:calc(var(--sr) + 8px);pointer-events:auto;overscroll-behavior:contain;gap:6px;width:min(290px,100vw - 16px);max-height:52vh;overflow:auto}body #sched,body #queue{padding:9px 12px 8px}body #sched div,body #queue div{font-size:14.5px}body #sched div small,body #queue div small{font-size:13px}body.touch #tc-side.on{display:inline-flex}body #toasts{bottom:auto;right:calc(var(--sr) + 8px);z-index:6;pointer-events:none;gap:5px;width:min(320px,100vw - 16px)}body #toasts .toast{padding:7px 11px 7px 24px;font-size:13.5px}body #toasts .toast:before{width:6px;height:6px;top:12px;left:10px}body #toasts .toast:nth-last-child(n+3){display:none}body #save{bottom:auto;top:calc(var(--st) + 50px);right:calc(var(--sr) + 12px);font-size:8.5px}body #bar{left:calc(var(--sl) + 8px);width:min(380px,56vw);bottom:auto}body #bar .log{max-height:20vh}body #bar .m{padding:3px 9px;font-size:13px}body #bar.closed .log .m:not(:nth-last-child(-n+2)){display:none}body #bar.open{top:auto;bottom:calc(var(--sb) + 8px);width:calc(100vw - 16px - var(--sl) - var(--sr))}body #bar input{font-size:16px}body #prompt{bottom:calc(var(--sb) + 10px);white-space:normal;text-align:center;border-radius:14px;max-width:calc(100vw - 24px);padding:7px 14px;font-size:14.5px;left:50%!important}body .bubble{max-width:160px;padding:4px 9px 5px;font-size:13px}body #celebrate b{font-size:30px}body #celebrate small{font-size:16px}body #celebrate:before{width:420px;height:420px;margin:-210px 0 0 -210px}body #celebrate .orn{background-size:200px 12px;width:200px}body #dialog{max-height:calc(100% - var(--st) - 10px);padding:14px calc(var(--sr) + 14px) calc(var(--sb) + 12px) calc(var(--sl) + 14px);overscroll-behavior:contain;-webkit-overflow-scrolling:touch;border-radius:14px 14px 0 0;top:auto;right:0;transform:none;width:100%!important;bottom:0!important;left:0!important}body #dialog.on{animation:.26s cubic-bezier(.2,.8,.3,1) tcSheet}body #dialog>b{margin-bottom:7px;padding-bottom:6px;font-size:12px}body #dialog p{margin-bottom:10px;font-size:17px;line-height:1.4}body #dialog .wants{margin-bottom:9px;font-size:14px}body #dialog .choices{gap:6px}body #dialog .choice{min-height:44px;padding:11px 12px;font-size:16px}body #dialog .choice small{font-size:13px}body #dialog .chip{padding:3px 6px;font-size:10px}body #dialog .card{float:none;min-width:0;margin:0 0 10px}body #dialog .cardrow .card{flex-basis:130px}:is(body:has(#dialog.on) #stats,body:has(#dialog.on) #side,body:has(#dialog.on) #toasts){pointer-events:none;opacity:0!important}body #house,body #build{height:100%;max-height:none;padding:calc(var(--st) + 12px) calc(var(--sr) + 14px) calc(var(--sb) + 18px) calc(var(--sl) + 14px);overscroll-behavior:contain;-webkit-overflow-scrolling:touch;border-radius:0;bottom:0;right:0;overflow:auto;width:100%!important;top:0!important;left:0!important;transform:none!important}body #house.on,body #build.on{animation:.22s ease-out tcFade}body #house h2,body #build h2{background-size:180px 12px;margin-bottom:10px;padding:0 0 12px;font-size:20px}body #house .intro,body #house .sub,body #build .sub{margin-bottom:10px;font-size:15px}body #house .row{gap:8px 12px;padding:9px 2px;font-size:15.5px}body #house .row:has(.acts .choice){flex-wrap:wrap}body #house .row:has(.acts .choice)>span:first-child{flex:100%}body #house .row:has(.acts .choice)>.acts{justify-content:flex-start;width:100%;max-width:none}body #house .acts .choice{min-height:42px;padding:9px 14px;font-size:15px}body #house .acts .why{align-items:flex-start;max-width:none}body #house .acts .why small{text-align:left}body #house .row.tabs>.acts{-webkit-overflow-scrolling:touch;scrollbar-width:none;flex-wrap:nowrap;justify-content:flex-start;overflow-x:auto}body #house .row.tabs .choice{white-space:nowrap;flex:none;min-height:40px}body #house .cards{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:8px;max-height:none;overflow:visible}body .card,body .rcard{min-width:0;padding:9px 11px 10px}body .card .nm,body .rcard .nm{font-size:16px}body .card .sk{grid-template-columns:74px 1fr 26px;font-size:11.5px}body #build .choices{gap:6px}body #build .choice{font-size:16px}body #build .choice span{padding-left:0;font-size:13.5px}body #build button{box-sizing:border-box;min-height:44px}body #build img,body #build canvas,body #build svg:not(.ic){max-width:100%;height:auto}body #build input,body #build select,body #build textarea{font-size:17px}body #build :is(.grid,.list,.cards,.tiles,.rooms){grid-template-columns:repeat(auto-fill,minmax(140px,1fr));max-height:none}body #build [role=tablist],body #build .tabs{scrollbar-width:none;flex-wrap:nowrap;overflow-x:auto}body #tc-back{top:calc(var(--st) + 8px)}body #book{width:100%;height:100%;padding:calc(var(--st) + 58px) calc(var(--sr) + 18px) calc(var(--sb) + 64px) calc(var(--sl) + 18px);border-radius:0;top:0;transform:none;box-shadow:inset 0 0 60px #8a6a2a66;left:0!important}body #book.on{animation:.22s ease-out tcFade}body #book:before{outline-offset:2px;inset:6px}body #book .bk-title b{font-size:26px}body #book .bk-e p{font-size:16px}body #book .bk-cap{font-size:36px}body #book .nav{bottom:calc(var(--sb) + 12px);white-space:nowrap;letter-spacing:.08em;gap:8px;font-size:9.5px;left:8px;right:8px}body #book .nav button{white-space:nowrap;letter-spacing:.08em;padding:0 12px;font-size:10px}body #chat,body #talk{width:100%;padding:12px calc(var(--sr) + 12px) calc(var(--sb) + 10px) calc(var(--sl) + 12px);box-sizing:border-box;border-radius:14px 14px 0 0;bottom:0;left:0;right:0;transform:none}body #chat .card,body #talk .side{display:none}body #chat input,body #talk input{font-size:16px}body #mapPanel{max-width:calc(100vw - var(--sl) - var(--sr) - 12px);max-height:calc(100vh - var(--st) - var(--sb) - 12px);box-sizing:border-box;padding:10px;overflow:auto}body #mapPanel h2{font-size:15px}body #mapPanel .sub{margin-bottom:6px;font-size:12px}body #mapPanel .rule{margin:4px auto}body #mapWrap{border-radius:3px;overflow:hidden}body #mapWrap canvas{aspect-ratio:1;width:min(calc(100vw - var(--sl) - var(--sr) - 36px), 640px)!important;height:auto!important}body #mapPanel .legend{gap:3px 10px;margin-top:6px;font-size:11.5px}body #mapPanel .foot{background:0 0;flex-wrap:wrap;gap:6px;margin:8px 0 0;padding:0;font-size:11.5px;position:static}body #mapTip{white-space:normal;max-width:240px}body .sh-title{top:calc(var(--st) + 8px);background-size:160px 10px;max-width:calc(100vw - 130px);padding:0 18px 9px}body .sh-title b{font-size:18px}body .sh-title small{white-space:normal;font-size:12px}body .sh-x{top:calc(var(--st) + 8px);right:calc(var(--sr) + 8px)}body .sh-x i,body .sh-keys{display:none}body .sh-skip{bottom:calc(var(--sb) + 76px);white-space:nowrap;font-size:13px}body .sh-note{white-space:normal;max-width:calc(100vw - 24px);top:calc(var(--st) + 60px);padding:8px 14px;font-size:14px}body .sh-plate{width:104px;padding:4px 4px 5px}body .sh-plate em{letter-spacing:.08em;font-size:7.5px}body .sh-plate b{margin-top:2px;font-size:12.5px}body .sh-plate small{margin-top:2px;font-size:10.5px}body .sh-plate .lb{height:4px;margin-top:4px}body .sh-side{top:auto;left:calc(var(--sl) + 8px);right:calc(var(--sr) + 8px);bottom:calc(var(--sb) + 72px);width:auto;max-height:44vh;padding:12px 14px 10px}body .sh-side h3{margin-top:4px;font-size:19px}body .sh-side .sd-sub{margin-bottom:8px;padding-bottom:8px;font-size:13.5px}body .sh-side .sd-q{margin-bottom:8px;font-size:15px}body .sh-side .sd-scroll{padding-bottom:8px}body .sh-btn{font-size:15px}body .pf{width:calc(100vw - var(--sl) - var(--sr) - 12px);height:calc(100vh - var(--st) - var(--sb) - 12px);grid-template-rows:auto minmax(0,1fr);grid-template-columns:1fr;gap:8px}body .pf-l{flex-direction:row;align-items:center;gap:14px;padding:4px 4px 0}body .pf-frame{width:92px;max-height:none;box-shadow:0 0 0 1px #000, 0 0 0 3px #2a1806, 0 10px 30px #000, 0 0 0 300vmax var(--veil);border-width:7px;flex:0 0 92px;margin:0}body .pf-frame:after,body .pf-tag{display:none}body .pf-plaque{text-align:left;flex:1;min-width:0;margin:0}body .pf-plaque b{font-size:20px}body .pf-plaque small{font-size:13.5px}body .pf-plaque .sh-chips{justify-content:flex-start;margin-top:6px}body .pf-r.sh-pnl{padding:14px 14px 10px}body .pf-head{padding-right:40px}body .pf-head h2{font-size:22px}body .pf-q{margin:8px 0;padding:8px 12px 10px 40px;font-size:17px}body .pf-q:before{font-size:56px;left:6px}body .pf-meters{grid-template-columns:1fr;gap:8px;padding:10px}body .pf-parts{margin-left:0}body .pf-cols{columns:1}body .pf-foot{max-height:34%}body .pf-foot .sh-aw{max-width:none}body .pf-sec p,body .pf-sec li{font-size:15px}body .pf-x{width:44px;height:44px;top:4px;right:4px}body .pf-nav{margin-top:0;top:auto;bottom:8px}}@media (width<=760px) and (orientation:portrait){body #stats{top:calc(var(--st) + 50px);max-width:calc(100vw - 12px);left:50%;right:auto;transform:translate(-50%)}body #tc-menu{top:calc(var(--st) + 90px);left:auto;right:calc(var(--sr) + 8px)}body #tc-side{top:calc(var(--st) + 96px);right:calc(var(--sr) + 68px)}body #side{top:calc(var(--st) + 150px)}body #toasts{top:calc(var(--st) + 96px)}body.touch #toasts{top:calc(var(--st) + 150px)}body #bar{top:calc(var(--st) + 96px);width:calc(100vw - 150px)}body #tc-act{max-width:calc(100vw - 150px - var(--sl))}body #tc-zone{width:56vw;height:58%}body #dialog{max-height:78%}body .tc-grid{grid-template-columns:repeat(3,1fr)}}@media (width<=380px) and (orientation:portrait){body #stats .st{gap:3px;padding:0 4px}body #stats .bar{width:36px}body #stats .bar.fear{width:28px}body #stats .v{font-size:13px}}@media (height<=500px) and (orientation:landscape){body #room{max-width:36vw}body #stats{top:calc(var(--st) + 40px);left:calc(var(--sl) + 8px)}body #tc-menu{top:calc(var(--st) + 46px);left:auto;right:calc(var(--sr) + 8px)}body #tc-side{top:calc(var(--st) + 52px);right:calc(var(--sr) + 68px)}body #side{top:calc(var(--st) + 106px);max-height:calc(100vh - var(--st) - 200px)}body #toasts{top:calc(var(--st) + 50px);width:min(300px,38vw)}body.touch #toasts{top:calc(var(--st) + 106px)}body #bar{top:calc(var(--st) + 76px);width:min(340px,40vw)}body #bar .log{max-height:26vh}body #tc-zone{width:44vw;height:76%}body #tc-stick{left:calc(var(--sl) + 22px);bottom:calc(var(--sb) + 18px)}body #tc-act{bottom:calc(var(--sb) + 12px);max-width:46vw}body #tc-use{min-height:64px}body #tc-use i{width:46px;height:46px}body #dialog{max-height:calc(100% - var(--st) - 8px);padding:10px 14px calc(var(--sb) + 10px);transform:translate(-50%);width:min(820px, calc(100vw - var(--sl) - var(--sr) - 16px))!important;left:50%!important}body #dialog.on{animation:.22s ease-out tcFade}body #dialog p{margin-bottom:8px;font-size:16px}body #dialog .choices:not(.row){grid-template-columns:1fr 1fr;display:grid}body #dialog .choice{padding:9px 11px;font-size:15px}body #dialog .card{float:right;width:40%;margin:0 0 8px 12px}body #dialog .cardrow .card{float:none;width:auto;margin:0}body #house,body #build{padding-top:calc(var(--st) + 10px)}body #house h2,body #build h2{margin-bottom:6px;padding-bottom:10px;font-size:18px}body #house .cards{grid-template-columns:repeat(auto-fill,minmax(170px,1fr))}body #build .choices:not(.row){grid-template-columns:1fr 1fr;display:grid}body #book{padding-top:calc(var(--st) + 20px);padding-left:calc(var(--sl) + 110px);padding-right:calc(var(--sr) + 30px)}body .tc-sheet{width:min(440px,62vw);max-height:none;padding-top:calc(var(--st) + 14px);border-radius:16px 0 0 16px;animation-name:tcSlide;top:0;left:auto}body .tc-grip{display:none}body .tc-sheet{width:min(560px,72vw)}body .tc-grid{grid-template-columns:repeat(4,1fr);gap:6px}body .tc-tile{gap:3px;min-height:58px;font-size:13px}body .tc-tile i{font-size:19px}body #room small,body #mapPanel .sub,body #mapPanel .rule{display:none}body #mapPanel h2{margin-bottom:4px;font-size:13px}body #mapWrap canvas{width:min(calc(100vh - var(--st) - var(--sb) - 92px), 640px)!important}body #mapPanel{grid-template-rows:auto 1fr auto;grid-template-columns:auto minmax(150px,220px);align-items:start;column-gap:12px;display:grid}body #mapPanel h2{grid-column:1/-1}body #mapWrap{grid-row:2/4}body #mapPanel .legend{flex-direction:column;align-items:flex-start;margin:0}body #mapPanel .foot{flex-direction:column;align-items:stretch;margin-top:8px}body .sh-side{top:calc(var(--st) + 60px);bottom:calc(var(--sb) + 8px);width:min(300px,40vw);max-height:none;left:auto}body.tc-hallopen #tc-hall{left:calc(var(--sl) + 12px);transform:none}body .sh-skip{bottom:calc(var(--sb) + 70px)}body .pf{grid-template-rows:minmax(0,1fr);grid-template-columns:150px 1fr}body .pf-l{flex-direction:column;align-items:stretch}body .pf-frame{flex:none;width:100%}body .pf-plaque{text-align:center}body .pf-plaque .sh-chips{justify-content:center}}@keyframes tcSlide{0%{opacity:.4;transform:translate(30px)}}@media (prefers-reduced-motion:reduce){#tc *,#tc-drawer *{transition-duration:10ms!important;animation-duration:10ms!important}}
