*{box-sizing:border-box}*{scrollbar-width:thin;scrollbar-color:#8a7444 #14130f}::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-track{background:#14130f;border-left:1px solid #2a2620}::-webkit-scrollbar-thumb{background:#6a5a38;border:2px solid #14130f;border-radius:0}::-webkit-scrollbar-thumb:hover{background:#c9a860}::-webkit-scrollbar-button{display:none;height:0}::-webkit-scrollbar-corner{background:#14130f}[hidden]{display:none!important}html,body{margin:0;height:100%;background:#0b0d12;overflow:hidden}body{font-family:Segoe UI,system-ui,sans-serif;color:#e8e3d3;user-select:none}#app{position:relative;width:100vw;height:100vh;height:100dvh}html,body{overscroll-behavior:none;-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none}#scene,#map{touch-action:none}#scene{display:block;width:100%;height:100%;image-rendering:pixelated}#hud{position:absolute;left:20px;top:18px;pointer-events:none;text-shadow:0 1px 3px #000}#title{font-family:Georgia,serif;font-size:1.6em;letter-spacing:3px;color:#e8c873}#name{font-family:Georgia,serif;font-size:1.05em;color:#cfc3a4;margin-top:4px}#zone{font-family:Georgia,serif;font-size:1em;color:#e8e3d3;margin-top:2px}#clock{font-family:Georgia,serif;font-size:.95em;color:#cfc3a4;margin-top:2px;letter-spacing:1px}#auto{display:inline-block;margin-top:6px;padding:2px 8px;font-size:.78em;color:#14130f;background:#e8c873;letter-spacing:.5px}#status{font-size:.8em;color:#cfc3a4;margin-top:6px;letter-spacing:.5px}.bars{margin-top:6px}.barrow{display:flex;align-items:center;gap:8px;margin-top:3px}.barrow span{width:44px;font-size:.72em;color:#a89f86;text-align:right}.bar{width:120px;height:5px;background:#00000073;border:1px solid #5a5244;transition:opacity .4s}.bar div{height:100%;background:#c9a860}#health div{background:#a04a3a}#food div{background:#a8843a}#water div{background:#4a7a9a}#rest div{background:#7a6a9a}#health.low div{background:#e05040}.bar.full{opacity:.35}.bar.winded div,.bar.low div{background:#a04a3a}.modal input{background:#1e1c17;color:#e8e3d3;border:1px solid #5a5244;padding:7px 10px;font:inherit;width:130px}.modal input:focus{outline:none;border-color:#e8c873}.modal input[type=range]{width:220px;padding:0;border:none;background:none;accent-color:#c9a860}.modal button.danger{border-color:#7a3a2e;color:#c98a72;margin-right:auto}.modal button.x{margin-left:auto;padding:4px 10px;font-size:1.1em}.settings{min-width:420px}.keys{display:grid;grid-template-columns:1fr auto 1fr auto;gap:6px 12px;align-items:center;font-size:.9em;color:#cfc3a4;margin-bottom:8px}.keys button{min-width:64px;padding:5px 10px;font-size:.9em}.statuses{margin:0 0 8px}.tale{padding:3px 0;font-size:.88em}.tale b{color:#e8c873;font-weight:400;font-family:Georgia,serif}.tale p{margin:1px 0 0;color:#cfc3a4}.tale.done b{color:#a89f86}.clues{font-size:.78em;margin:6px 0 10px}.clues i{color:#e8c873;font-style:normal}.tag{display:inline-block;border:1px solid #5a5244;padding:2px 7px;margin:0 4px 4px 0;font-size:.8em;color:#e8c873}.creation{min-width:720px;max-width:92vw}.creation .cols{display:flex;gap:28px}.creation .left{width:200px}.creation .right{flex:1}.creation .portrait{display:block;margin:0 auto 10px;background:#0b0d12;border:1px solid #5a5244;cursor:pointer}.swatches{display:flex;gap:6px;margin-bottom:10px}.modal button.sw{width:26px;height:26px;padding:0;border:2px solid #5a5244}.modal button.sw.on{border-color:#e8c873}.professions{display:grid;grid-template-columns:1fr 1fr;gap:6px;max-height:44vh;overflow-y:auto;padding-right:12px}.modal .professions button{text-align:left;padding:7px 10px}.professions b{display:block;font-family:Georgia,serif;font-weight:400}.professions span{color:#a89f86;font-size:.8em;line-height:1.3}.professions button.on span{color:#cfc3a4}.kit{color:#a89f86;font-size:.85em;margin:12px 0 0;line-height:1.5}.kit i{color:#e8c873;font-style:normal}.inventory .tabs{display:flex;gap:6px;margin-bottom:14px}.inventory .tabs button{padding:6px 14px}.doll{display:flex;gap:18px}.doll .slots{display:grid;grid-template-columns:1fr;gap:6px;align-content:start}.slot{width:54px;height:54px;border:1px solid #5a5244;background:#1e1c17;display:flex;align-items:center;justify-content:center;position:relative;cursor:pointer}.slot img{image-rendering:pixelated;width:48px;height:48px}.slot span{position:absolute;bottom:2px;left:0;right:0;text-align:center;font-size:.62em;color:#6a6252;pointer-events:none}.slot.empty span,.slot.ghost span{bottom:auto}.slot:not(.empty):not(.ghost) span{display:none}.slot.ghost{opacity:.4;cursor:default}.slot:not(.ghost):not(.empty):hover{border-color:#e8c873}.figure{width:150px;text-align:center}.figure .portrait{background:#0b0d12;border:1px solid #5a5244;cursor:pointer}.figure .who{font-family:Georgia,serif;color:#e8c873;margin-top:6px}.figure .who i{display:block;color:#a89f86;font-style:normal;font-size:.8em}.doll .stats{flex:1;max-height:60vh;overflow-y:auto;padding-right:14px}.doll h3{font-family:Georgia,serif;font-weight:400;color:#e8c873;font-size:.95em;margin:4px 0 6px;border-bottom:1px solid #2a2620}.stat{display:flex;justify-content:space-between;font-size:.88em;padding:2px 0;color:#cfc3a4}.stat b{color:#e8e3d3;font-weight:400}.skill{display:grid;grid-template-columns:1fr auto;gap:2px 8px;font-size:.88em;padding:3px 0;color:#cfc3a4}.skill b{color:#e8c873;font-weight:400}.skill .xp{grid-column:1 / -1;height:3px;background:#2a2620}.skill .xp div{height:100%;background:#c9a860}.purse-row{display:flex;align-items:center;gap:14px;margin:0 0 12px;padding:6px 10px;border:1px solid #2a2620;background:#1e1c17;font-size:.9em;color:#a89f86}.purse-row .coin{display:inline-flex;align-items:center;gap:5px;color:#e8e3d3}.purse-row .coin:before{content:"";width:11px;height:11px;border-radius:50%;border:1px solid rgba(0,0,0,.5);box-shadow:inset -2px -2px #00000040}.purse-row .coin.g:before{background:#e8c040}.purse-row .coin.s:before{background:#c8c8d0}.purse-row .coin.b:before{background:#b87a48}.purse-row .coin.none{opacity:.35}.vitals{display:grid;grid-template-columns:1fr 1fr;gap:5px 18px;margin:0 0 12px;font-size:.85em}.vital{display:flex;align-items:center;gap:8px}.vital span{width:52px;color:#a89f86}.vital b{width:74px;font-weight:400;color:#e8e3d3;white-space:nowrap}.vital em{font-style:normal;margin-left:5px;color:#9fe08a}.vital em.full{color:#7a7364}.vital .track{position:relative;flex:1;height:7px;background:#0b0a08;border:1px solid #3a352c}.vital .track div{position:absolute;top:0;height:100%}.vital .now{left:0;background:#c9a860}.vital .gain{background:#9fe08a;animation:gainbeat 1.1s ease-in-out infinite alternate}.vital.health .now{background:#a04a3a}.vital.food .now{background:#a8843a}.vital.water .now{background:#4a7a9a}.vital.rest .now{background:#7a6a9a}@keyframes gainbeat{0%{opacity:.55}to{opacity:1}}@media (max-width: 760px){.vitals{grid-template-columns:1fr}}.grid{display:grid;grid-template-columns:repeat(6,54px);gap:6px}.cell{width:54px;height:54px;border:1px solid #5a5244;background:#1e1c17;position:relative;cursor:pointer;display:flex;align-items:center;justify-content:center}.cell img{image-rendering:pixelated;width:48px;height:48px}.cell.empty{cursor:default;opacity:.5}.cell.on{border-color:#e8c873;background:#2a2620}.cell.eq:after{content:"";position:absolute;top:3px;left:3px;width:6px;height:6px;background:#e8c873}.cell b{position:absolute;right:3px;bottom:1px;font-size:.8em;color:#e8e3d3;text-shadow:0 1px 2px #000}.detail{display:flex;gap:12px;margin-top:14px;border-top:1px solid #2a2620;padding-top:12px}.detail img{image-rendering:pixelated;width:48px;height:48px}.detail b{font-family:Georgia,serif;font-weight:400;color:#e8c873}.detail i{color:#a89f86;font-style:normal;font-size:.8em}.detail p{color:#cfc3a4;margin:4px 0 8px;font-size:.9em}.hint{color:#a89f86;font-size:.85em}#gear,#mute,#autobtn{position:absolute;top:14px;width:40px;height:40px;padding:9px;display:flex;align-items:center;justify-content:center;background:#14130f;border:1px solid #8a7444;border-radius:4px;color:#e8c873;cursor:pointer;opacity:.6;z-index:3;box-shadow:0 2px 6px #00000080;transition:opacity .15s,border-color .15s}#gear{right:calc(14px + env(safe-area-inset-right))}#mute{right:calc(62px + env(safe-area-inset-right))}#gear:hover,#mute:hover,#autobtn:hover,#gear:focus-visible,#mute:focus-visible,#autobtn:focus-visible{opacity:1;border-color:#e8c873;outline:none}#gear svg,#mute svg,#autobtn svg{width:100%;height:100%;display:block;pointer-events:none}#mute.off{color:#e0705c;border-color:#a04a3a;opacity:.85}body.touch #gear,body.touch #mute,body.touch #autobtn{width:44px;height:44px;opacity:.7}body.touch #autobtn{right:calc(118px + env(safe-area-inset-right))}body.touch #mute{right:calc(66px + env(safe-area-inset-right))}#cast{position:absolute;left:50%;bottom:112px;transform:translate(-50%);width:230px;max-width:70vw;text-align:center;pointer-events:none;z-index:2;text-shadow:0 1px 3px #000}#cast span{display:block;font-family:Georgia,serif;font-size:.9em;color:#e8c873;margin-bottom:4px;letter-spacing:.5px}#cast .track{height:9px;background:#0c0b09cc;border:1px solid #8a7444;padding:1px}#cast .track div{height:100%;width:0;background:linear-gradient(#f0d488,#c9a860 60%,#9a7e40)}#cast i{display:block;font-style:normal;font-size:.75em;color:#cfc3a4;margin-top:3px}#map{position:absolute;inset:0;width:100%;height:100%}.tip{position:absolute;max-width:300px;background:#14130f;border:1px solid #5a5244;padding:10px 12px;pointer-events:none;font-size:.9em;line-height:1.35;z-index:3}.tip b{font-family:Georgia,serif;font-size:1.1em;color:#e8c873}.tip i{display:block;color:#a89f86;font-size:.85em;margin-bottom:6px}.tip p{margin:0 0 6px}.tip em{color:#cfc3a4;font-style:normal}.veil{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#06080cf0;z-index:5}#loading{opacity:0;transition:opacity .25s}#loading.on{opacity:1}#loading .walk{image-rendering:pixelated;width:600px;max-width:86vw;border:1px solid #5a5244;margin-bottom:18px}#loading .text{font-family:Georgia,serif;font-size:1.4em;color:#e8c873;letter-spacing:1px}#loading .sub{color:#a89f86;margin-top:8px;font-size:.9em}.modal .panel{background:#14130f;border:1px solid #5a5244;padding:22px 26px;min-width:260px;max-width:90vw}.modal h2{font-family:Georgia,serif;font-weight:400;color:#e8c873;margin:0 0 14px;font-size:1.2em}.modal label{display:block;color:#a89f86;font-size:.85em;margin-bottom:6px}.modal .row{display:flex;gap:10px}.modal .row.end{justify-content:flex-end;margin-top:18px}.modal button{background:#1e1c17;color:#e8e3d3;border:1px solid #5a5244;padding:8px 16px;cursor:pointer;font:inherit}.modal button:hover{border-color:#e8c873;color:#e8c873}.modal button.on{background:#2a2620;border-color:#e8c873;color:#e8c873}.prompt{position:absolute;left:50%;bottom:40px;transform:translate(-50%);background:#14130fd9;border:1px solid #5a5244;padding:6px 14px;font-size:.9em;color:#e8c873;pointer-events:none;z-index:2}#floats{position:absolute;inset:0;pointer-events:none;overflow:hidden}.float{position:absolute;transform:translate(-50%);font-size:.85em;color:#e8e3d3;text-shadow:0 1px 2px #000,0 0 6px rgba(0,0,0,.6);animation:floatUp 1.5s ease-out forwards;white-space:nowrap}.float.rested{color:#8fd08a}.float.worn{color:#d87a6a}.float.normal{color:#e8c873}@keyframes floatUp{0%{opacity:0;transform:translate(-50%,6px)}15%{opacity:1}to{opacity:0;transform:translate(-50%,-46px)}}#levelup{position:absolute;left:50%;top:26%;transform:translate(-50%) scale(.6);opacity:0;pointer-events:none;text-align:center;font-family:Georgia,serif}#levelup b{display:block;font-weight:400;font-size:1.9em;color:#e8c873;letter-spacing:3px;text-shadow:0 0 12px rgba(232,200,115,.7),0 2px 4px #000}#levelup i{display:block;font-style:normal;color:#cfc3a4;letter-spacing:2px;font-size:.95em;text-shadow:0 1px 3px #000}#levelup.on{animation:levelPop 2.8s ease-out forwards}@keyframes levelPop{0%{opacity:0;transform:translate(-50%) scale(.6)}12%{opacity:1;transform:translate(-50%) scale(1.08)}22%{transform:translate(-50%) scale(1)}75%{opacity:1}to{opacity:0;transform:translate(-50%) translateY(-18px) scale(1)}}.dot{display:inline-block;width:8px;height:8px;border-radius:50%;margin-right:6px;vertical-align:middle}.dot.rested{background:#6fbf68;box-shadow:0 0 5px #6fbf68}.dot.normal{background:#e8c873}.dot.worn{background:#d05a48}.legend{margin-top:10px;font-size:.75em}.legend .dot{margin-left:8px}#quick{position:absolute;left:50%;bottom:8px;transform:translate(-50%);display:flex;gap:6px}.qslot{width:46px;height:46px;border:1px solid #5a5244;background:#14130fcc;position:relative;display:flex;align-items:center;justify-content:center}.qslot img{image-rendering:pixelated;width:40px;height:40px}.qslot i{position:absolute;top:1px;left:3px;font-size:.65em;color:#a89f86;font-style:normal}.qslot b{position:absolute;right:3px;bottom:1px;font-size:.75em;color:#e8e3d3;text-shadow:0 1px 2px #000}.qslot.empty{opacity:.5}.qslot.eq{border-color:#e8c873}.row.quick{align-items:center;gap:6px;margin-top:8px;font-size:.8em;color:#a89f86}.row.quick button{padding:3px 8px;font-size:.85em}.prompt{bottom:64px}.trade{width:860px;max-width:94vw}.chest{width:720px}.trade .tabs{display:flex;align-items:center;gap:16px;margin-bottom:10px}.trade .tabs h2{margin:0}.trade .purse{color:#a89f86;font-size:.9em}.trade .purse b{color:#e8c873;font-weight:400;margin-left:6px}.trade .wants{color:#cfc3a4;font-size:.85em;margin:0 0 10px}.trade .wants b{color:#8fd08a;font-weight:400}.trade .cols{display:flex;gap:22px}.trade .cols>div{flex:1;max-height:58vh;overflow-y:auto;padding-right:12px}.trade h3{font-family:Georgia,serif;font-weight:400;color:#e8c873;font-size:.95em;margin:0 0 6px;border-bottom:1px solid #2a2620}.trade .line{display:flex;align-items:center;gap:10px;padding:5px 0;border-bottom:1px solid #1e1c17;font-size:.9em}.trade .line img{image-rendering:pixelated;width:32px;height:32px;flex:none}.trade .line span{flex:1;color:#e8e3d3}.trade .line span i{display:block;color:#a89f86;font-style:normal;font-size:.8em}.trade .line b{color:#e8c873;font-weight:400;white-space:nowrap}.trade .line button{padding:4px 10px;font-size:.85em}.dialog .text b{color:#e8c873;font-weight:400}.dialog{min-width:380px}.modal .panel.dialog{max-width:min(560px,94vw)}.dialog button i,.modal .tabs button i{font-style:normal;color:#a89f86;font-size:.75em;margin-right:7px}.focus{outline:2px solid #e8c873!important;outline-offset:1px}.pad{font-size:.8em;color:#a89f86;margin:4px 0 10px}.dialog .text{color:#e8e3d3;line-height:1.55;margin:4px 0 16px;min-height:2.9em;max-height:46vh;overflow-y:auto}.dialog .text p{margin:0 0 .75em}.dialog .text p:last-child{margin-bottom:0}.modal .dialog button.more,.modal .dialog button.minor{color:#a89f86;border-color:#3a352c}.modal .dialog button.more:hover,.modal .dialog button.minor:hover{color:#e8c873;border-color:#e8c873}.modal .row.wrap{flex-wrap:wrap}.inventory{width:780px;max-width:92vw}#touch{position:absolute;inset:0;pointer-events:none;z-index:2;touch-action:none}#touch>*{pointer-events:auto;touch-action:none}#touch .stickzone{position:absolute;left:0;bottom:0;width:50%;height:62%}#touch .stick{position:fixed;width:112px;height:112px;margin:-56px 0 0 -56px;border-radius:50%;border:2px solid rgba(232,200,115,.45);background:#14130f59;pointer-events:none}#touch .stick.full{border-color:#e8c873}#touch .knob{position:absolute;left:50%;top:50%;width:48px;height:48px;margin:-24px 0 0 -24px;border-radius:50%;background:#e8c8738c;border:1px solid #14130f}#touch button{display:flex;align-items:center;justify-content:center;padding:0;border-radius:50%;border:1px solid #5a5244;background:#14130f9e;color:#cfc3a4}#touch button svg{width:52%;height:52%;pointer-events:none}#touch button.down{border-color:#e8c873;color:#e8c873;background:#2a2620d9}#touch .thumb{position:absolute;right:calc(14px + env(safe-area-inset-right));bottom:calc(70px + env(safe-area-inset-bottom));display:flex;align-items:flex-end;gap:12px}#touch .use{width:76px;height:76px;color:#e8c873;border-color:#8a7444}#touch .run{width:56px;height:56px}#touch .tools{position:absolute;right:calc(14px + env(safe-area-inset-right));top:70px;display:flex;flex-direction:column;gap:10px}#touch .tools button{width:44px;height:44px}#touch-close{position:fixed;right:calc(10px + env(safe-area-inset-right));top:calc(10px + env(safe-area-inset-top));width:46px;height:46px;z-index:8;display:flex;align-items:center;justify-content:center;padding:0;border-radius:50%;border:1px solid #8a7444;color:#e8c873;background:#14130f}#touch-close svg{width:50%;height:50%;pointer-events:none}body.touch .modal button.x{visibility:hidden}body.touch .prompt{pointer-events:auto;padding:9px 16px}body.touch .modal button{min-height:40px}@media (max-width: 760px),(max-height: 520px){#hud{left:calc(10px + env(safe-area-inset-left));top:8px;font-size:.82em}#title{display:none}.bar{width:84px;height:4px}.barrow{margin-top:2px;gap:6px}.barrow span{width:40px}.veil.modal{justify-content:flex-start;overflow-y:auto;padding:8px 0 24px;-webkit-overflow-scrolling:touch}.modal .panel{padding:14px;max-width:96vw;width:96vw;min-width:0;margin:auto 0}.settings,.creation,.dialog,.trade,.chest,.inventory{min-width:0;width:96vw;max-width:96vw}.creation .cols,.doll,.trade .cols{flex-direction:column;gap:12px}.creation .left{width:auto}.professions{grid-template-columns:1fr;max-height:none}.doll .slots{grid-template-columns:repeat(4,54px)}.doll .stats{max-height:none;overflow:visible;padding-right:0}.figure{width:auto}.trade .cols>div{max-height:none;overflow:visible;padding-right:0}.grid{grid-template-columns:repeat(auto-fill,54px)}.keys{grid-template-columns:1fr auto}.modal input[type=range]{width:100%}.modal .row{flex-wrap:wrap}#quick{gap:4px;bottom:calc(6px + env(safe-area-inset-bottom))}.qslot{width:42px;height:42px}.qslot img{width:36px;height:36px}#levelup b{font-size:1.4em}#loading .text{font-size:1.1em;text-align:center;padding:0 12px}}@media (max-height: 520px){#touch .tools{flex-direction:row;top:8px;right:calc(178px + env(safe-area-inset-right))}#cast{bottom:70px}#touch .thumb{bottom:calc(14px + env(safe-area-inset-bottom))}#touch .stickzone{height:80%;width:40%}.bars .barrow span{display:none}}.rep{display:flex;align-items:center;gap:10px;margin:2px 0 12px;font-size:.82em;color:#a89f86}.rep span{color:#e8c873;white-space:nowrap}.rep .track{position:relative;flex:1;height:8px;background:#0b0a08;border:1px solid #5a5244}.rep .track div{height:100%;background:linear-gradient(#e8a0a0,#b8505a);transition:width .5s}.rep .track i{position:absolute;top:0;bottom:0;width:1px;background:#14130fb3}.rep b{font-weight:400;color:#cfc3a4;white-space:nowrap}.rep em{font-style:normal;font-weight:700;animation:repPop .5s ease-out}.rep em.up{color:#8fd08a}.rep em.down{color:#d87a6a}@keyframes repPop{0%{transform:scale(1.8);opacity:0}to{transform:scale(1);opacity:1}}.float.rep{font-size:.95em;font-weight:700}.modal button.good{border-color:#e8c873;color:#e8c873;background:#2a2416;box-shadow:0 0 8px #e8c87359}.tip .tales{margin:0 0 8px;padding:6px 0 0;border-top:1px solid #2a2620}.tip .tales span{display:block;color:#ffd75e;padding:1px 0 1px 14px;position:relative}.tip .tales span:before{content:"";position:absolute;left:2px;top:.45em;border:4px solid transparent;border-top:6px solid #ffd75e}body.touch .tip{display:block}#touch.off>*{pointer-events:none;opacity:0}.inventory .tabs{flex-wrap:wrap}.inventory .two{display:flex;gap:26px}.inventory .two .col{flex:1;min-width:0;max-height:62vh;overflow-y:auto;padding-right:14px}.inventory h3{font-family:Georgia,serif;font-weight:400;color:#e8c873;font-size:.95em;margin:4px 0 6px;border-bottom:1px solid #2a2620}.repline{display:grid;grid-template-columns:1fr auto;gap:2px 10px;align-items:center;padding:5px 0;border-bottom:1px solid #1e1c17;font-size:.88em}.repline span b{font-weight:400;color:#e8e3d3}.repline.named span b{color:#e8c873;font-family:Georgia,serif}.repline span i{display:block;font-style:normal;color:#a89f86;font-size:.85em}.repline em{font-style:normal;color:#cfc3a4;text-align:right}.repline .track{height:5px;background:#0b0a08;border:1px solid #3a352c}.repline .track div{height:100%;background:linear-gradient(#e8a0a0,#b8505a)}.repline u{text-decoration:none;color:#a89f86;font-size:.85em;text-align:right}.log{max-height:66vh;overflow-y:auto;padding-right:14px}.modal .log button.quest{display:block;width:100%;text-align:left;padding:10px 14px;margin:0 0 8px;border-left:3px solid #e8c873}.modal .log button.quest.need{border-left-color:#8fb0d0}.modal .log button.quest.done{border-left-color:#5a5244;opacity:.6;cursor:default}.modal .log button.quest[disabled]{cursor:default}.modal .log button.quest[disabled]:hover{border-color:#5a5244;color:#e8e3d3}.log .quest b{display:block;font-family:Georgia,serif;font-weight:400;color:#e8c873;font-size:1.05em}.log .quest i{display:block;font-style:normal;color:#a89f86;font-size:.82em;margin-top:1px}.log .quest .told{margin:8px 0;padding:2px 0 2px 10px;border-left:2px solid #3a352c;color:#cfc3a4;font-size:.9em;line-height:1.5;white-space:normal}.log .quest .told p{margin:0 0 .6em;color:inherit;font-size:1em}.log .quest .told p:last-child{margin-bottom:0}.log .quest p.note{color:#cfc3a4;font-size:.88em;margin-top:0}.log .quest p{margin:6px 0 4px;color:#e8e3d3;font-size:.95em;line-height:1.45;white-space:normal}.log .quest em{font-style:normal;font-size:.8em;color:#ffd75e}.log .quest.done em,.log .quest[disabled] em{color:#a89f86}@media (max-width: 760px),(max-height: 520px){.inventory .two{flex-direction:column;gap:10px}.inventory .two .col,.log{max-height:none;overflow:visible;padding-right:0}}.float.hurt{color:#ff6a5a;font-weight:700;font-size:1em}.account{width:420px;max-width:94vw}.account h1,.roster h1{font-family:Georgia,serif;font-weight:400;color:#e8c873;letter-spacing:4px;margin:0 0 16px;font-size:1.9em}.account .tabs{display:flex;gap:6px;margin-bottom:16px}.account .tabs button{flex:1}.account input{width:100%;margin-bottom:12px;padding:9px 11px}.account .msg,.roster .msg{color:#e0907c;min-height:1.3em;margin:2px 0 8px;font-size:.9em}.account .msg.none{visibility:hidden}.modal button.go,.roster button.go{background:#3a3016;border-color:#e8c873;color:#e8c873;padding:10px 22px;font-family:Georgia,serif;letter-spacing:1px;font-size:1.05em}.modal button.go:hover,.roster button.go:hover{background:#4a3e1c}.account .alone{margin-top:20px;padding-top:14px;border-top:1px solid #2a2620}.account .alone button{width:100%}#roster{background:#0b0d12;overflow-y:auto;justify-content:flex-start;align-items:stretch;z-index:6}.roster{width:1040px;max-width:96vw;margin:0 auto;padding:26px 0 40px}.roster header{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:18px;border-bottom:1px solid #2a2620;padding-bottom:12px}.roster header h1{margin:0}.roster header .who{display:flex;align-items:center;gap:12px;color:#a89f86;font-size:.9em}.roster button{background:#1e1c17;color:#e8e3d3;border:1px solid #5a5244;padding:8px 14px;cursor:pointer;font:inherit}.roster button:hover{border-color:#e8c873;color:#e8c873}.roster button.danger{border-color:#7a3a2e;color:#c98a72;margin-right:auto}.roster .cols{display:flex;gap:24px;align-items:flex-start}.roster aside{width:320px;flex:none}.roster main{flex:1;min-width:0}.roster .list{display:flex;flex-direction:column;gap:8px;max-height:62vh;overflow-y:auto;padding-right:10px;margin-bottom:10px}.roster .card{display:flex;align-items:center;gap:12px;text-align:left;padding:8px 12px;width:100%}.roster .card.on{border-color:#e8c873;background:#2a2416}.roster .card canvas{image-rendering:pixelated;background:#0b0d12;border:1px solid #3a352c;flex:none}.roster .card span{min-width:0}.roster .card b{display:block;font-family:Georgia,serif;font-weight:400;color:#e8c873;font-size:1.05em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.roster .card i{display:block;font-style:normal;color:#cfc3a4;font-size:.82em}.roster .card em{display:block;font-style:normal;color:#a89f86;font-size:.75em}.roster .new,.roster .bring{width:100%;margin-top:6px}.roster .bring{border-style:dashed;font-size:.88em}.roster .sheet{background:#14130f;border:1px solid #5a5244;padding:22px 26px}.roster .sheet.empty{text-align:center;padding:60px 26px;color:#a89f86}.roster .sheet .who{display:flex;gap:22px;align-items:center;margin-bottom:16px}.roster .sheet canvas.portrait{image-rendering:pixelated;background:#0b0d12;border:1px solid #5a5244;cursor:pointer;flex:none}.roster .sheet h2{font-family:Georgia,serif;font-weight:400;color:#e8c873;font-size:1.7em;margin:0;letter-spacing:1px}.roster .sheet .sub{color:#cfc3a4;margin:2px 0 8px}.roster .sheet .gone{color:#e0907c;margin:0 0 6px;font-size:.9em}.roster .facts{border-top:1px solid #2a2620;padding-top:10px;margin-bottom:18px}.roster .facts .stat{padding:4px 0;font-size:.92em;gap:16px}.roster .facts .stat b{text-align:right}.roster .row.end{display:flex;gap:10px;justify-content:flex-end}@media (max-width: 800px){.roster .cols{flex-direction:column}.roster aside{width:100%}.roster .list{max-height:34vh}.roster{padding-top:12px}.roster header{flex-wrap:wrap}.roster .sheet{padding:16px}.roster .sheet .who{gap:14px}.roster .sheet h2{font-size:1.3em}}.trade .wants.sore{color:#e0907c}.modal .log button.quest.lesson{border-left-color:#6fdc6a}.log .quest.lesson b{color:#8fe08a}.account h2{font-family:Georgia,serif;font-weight:400;color:#e8e3d3;font-size:1.15em;margin:0 0 10px}.account .hint.wide{line-height:1.5;margin-bottom:18px;font-size:.95em}.account .spin{width:26px;height:26px;margin:6px auto 0;border:3px solid #3a352c;border-top-color:#e8c873;border-radius:50%;animation:spin .9s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}#autobtn{right:calc(110px + env(safe-area-inset-right))}#autobtn.on{opacity:1;color:#14130f;background:#e8c873;border-color:#e8c873}#autobtn.on svg .spin{transform-origin:8px 8px;animation:spin 2.4s linear infinite}.holdings{max-height:66vh;overflow-y:auto;padding-right:14px}.place{border:1px solid #2a2620;border-left:3px solid #8a7444;background:#1a1814;padding:10px 14px;margin:0 0 10px}.place.works{border-left-color:#8fc8ff}.place h4{font-family:Georgia,serif;font-weight:400;color:#e8c873;margin:0;font-size:1.05em}.place h4 i{font-style:normal;color:#a89f86;font-size:.8em;margin-left:8px}.place .sell{color:#a89f86;font-size:.82em;margin:2px 0 6px}.place .hand{display:flex;align-items:center;gap:12px;padding:5px 0;border-top:1px solid #2a2620;font-size:.9em}.place .hand span{flex:1}.place .hand span i{display:block;font-style:normal;color:#a89f86;font-size:.85em}.place .hand .bar{width:70px;height:4px;background:#0b0a08;border:1px solid #3a352c}.place .hand .bar div{height:100%;background:#8fc8ff}.place .none{color:#a89f86;font-size:.85em;font-style:italic;padding-top:4px}.modal .place button{padding:4px 10px;font-size:.85em}#loading~#autobtn,#autobtn{z-index:7}.prompt .opts{display:flex;flex-direction:column;gap:2px;text-align:left}.prompt .opt{display:flex;gap:8px;align-items:baseline;padding:2px 6px;color:#a89f86;border-left:2px solid transparent}.prompt .opt b{min-width:1.4em;font-weight:400;color:#14130f;text-align:center}.prompt .opt.on{color:#e8c873;border-left-color:#e8c873;background:#e8c8731a}.prompt .opt.on b{background:#e8c873;border-radius:2px;padding:0 4px}.prompt .more{display:block;font-style:normal;font-size:.8em;color:#a89f86;margin-top:4px;padding-top:3px;border-top:1px solid #3a352c;text-align:center}body.touch .prompt .opt{padding:7px 8px}body.touch .prompt .more:empty{display:none}#focus{margin-top:10px;max-width:320px;font-size:.95em;line-height:1.35;text-shadow:0 1px 2px #000}#focus .fn,#focus .fq{padding:5px 10px 6px;margin-top:5px;border-left:3px solid #ffd75e;background:#14130fb8}#focus .fn{border-left-color:#6eaaff}#focus .fn u{color:#6eaaff;text-decoration:underline;text-underline-offset:3px;font-family:Georgia,serif;font-size:1.08em}#focus .fq b{color:#ffd75e;font-weight:400;font-family:Georgia,serif;font-size:1.08em}#focus .fq.lesson{border-left-color:#6fdc6a}#focus .fq.lesson b{color:#8fe08a}#focus i{display:block;font-style:normal;color:#f0ebdc;font-size:.92em;margin-top:2px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}@media (max-width: 760px),(max-height: 520px){#focus{max-width:210px;font-size:.8em;margin-top:6px}#focus .fq i{-webkit-line-clamp:2}}.log .logbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 10px}.modal label.check{display:inline-flex;align-items:center;gap:7px;font-size:.85em;color:#cfc3a4;cursor:pointer;letter-spacing:0;text-transform:none;margin:0}.modal label.check input{width:15px;height:15px;padding:0;margin:0;accent-color:#c9a860;cursor:pointer}.modal .log button.quest.followed{box-shadow:inset 0 0 0 1px #ffd75e}.modal .log button.quest.lesson.followed{box-shadow:inset 0 0 0 1px #6fdc6a}.log .quest u{float:right;text-decoration:none;font-size:.78em;color:#14130f;background:#ffd75e;padding:1px 7px;margin-left:8px}.log .quest.lesson u{background:#6fdc6a}.modal .log button.quest.nowhere{cursor:default}.repline{cursor:context-menu}.repline:hover span b{text-decoration:underline;text-decoration-color:#6eaaff}.repline.followed span b{color:#6eaaff!important;text-decoration:underline;text-underline-offset:3px}.repline .findit{grid-column:1 / -1;justify-self:start;padding:2px 9px!important;font-size:.8em;border-color:#3a4a66!important;color:#9ec4ff!important}.ctx{position:fixed;z-index:30;min-width:170px;background:#14130f;border:1px solid #8a7444;box-shadow:0 6px 18px #0009;padding:4px;display:flex;flex-direction:column;gap:2px}.modal .ctx button{text-align:left;padding:7px 12px;border-color:transparent;background:none;white-space:nowrap}.modal .ctx button:hover,.modal .ctx button.focus{border-color:#e8c873;background:#1e1c17}.modal .ctx button.blue{color:#9ec4ff}.inventory{width:860px}.inventory .tabs button{padding:6px 11px}#scene{transition:filter 2.6s ease-in}#app.dying #scene{filter:grayscale(1) brightness(.4) contrast(1.1)}#app.dying #hud,#app.dying #quick,#app.dying #gear,#app.dying #mute,#app.dying #autobtn{opacity:0;transition:opacity 1.5s}#burial{position:absolute;inset:0;z-index:15;background:#06070a;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;opacity:0;transition:opacity .4s;cursor:pointer}#burial.on{opacity:1}#burial canvas{image-rendering:pixelated;max-width:96vw;border:1px solid #2a2620}#burial .name{font-family:Georgia,serif;font-size:1.7em;letter-spacing:3px;color:#e8c873;opacity:0;transition:opacity 1.6s}#burial .line{color:#a89f86;font-size:.95em;opacity:0;transition:opacity 1.6s .6s;text-align:center;padding:0 16px}#burial .name.on,#burial .line.on{opacity:1}#burial .skip{position:absolute;right:18px;bottom:14px;font-style:normal;font-size:.75em;color:#5a5244}.dialog.with{display:flex;gap:20px;align-items:flex-start}.modal .panel.dialog.with{max-width:min(760px,94vw)}.dialog.with .said{flex:1;min-width:0}.dialog .face{flex:none;width:156px;border:1px solid #5a5244;background:#14130f;line-height:0;box-shadow:inset 0 0 0 1px #0b0a08;transition:border-color .3s}.dialog .face canvas{width:100%;height:auto;image-rendering:pixelated;display:block}@media (max-width: 760px),(max-height: 520px){.dialog.with{gap:12px}.dialog .face{width:84px}}.modal .panel.lockpick{width:min(560px,94vw);max-width:min(560px,94vw);cursor:pointer;user-select:none;touch-action:none}.lockpick canvas{display:block;width:100%;height:auto;image-rendering:pixelated;border:1px solid #2a2620}.lockpick .state{margin:10px 0 4px;color:#a89f86;font-size:.9em}.lockpick .state b{color:#e8c873;font-weight:400}.lockpick .state em{font-style:normal;color:#e8e3d3}.lockpick .hint{margin:0;color:#a89f86;font-size:.8em;line-height:1.4}
