:root{--ink: #2b1d10;--parchment: #ecdcb4;--parchment-dark: #cdb581;--gold: #e3c06a;--panel: rgba(24, 18, 12, .72);--panel-edge: rgba(227, 192, 106, .45);--serif: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;--display: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;--title: "Cinzel", Georgia, "Times New Roman", serif}*{box-sizing:border-box}html,body{margin:0;height:100%;overflow:hidden;background:#111317;color:#f2e6c8;font-family:var(--serif)}#game{position:fixed;inset:0;width:100%;height:100%;display:block;image-rendering:pixelated}#ground-gl{position:fixed;inset:0;width:100%;height:100%;display:block;visibility:hidden}[hidden]{display:none!important}.panel-ui{background:var(--panel);border:1px solid var(--panel-edge);border-radius:6px;box-shadow:0 4px 18px #00000073}#loc{position:fixed;top:14px;left:14px;max-width:60vw;text-shadow:0 1px 2px #000,0 0 6px rgba(0,0,0,.85)}#loc .loc-row{display:flex;align-items:center;gap:14px}#loc-name{min-width:0;font-family:var(--display);font-size:24px;color:var(--gold);line-height:1.1}#loc-sub{font-size:15px;font-style:italic;margin-top:2px}#loc-online{flex-shrink:0;display:inline-flex;align-items:center;gap:5px;padding:0;background:none;border:none;font:inherit;font-size:18px;font-weight:800;color:#e8dcc0;text-shadow:inherit;cursor:pointer}#loc-online svg{width:20px;height:20px;fill:currentColor;filter:drop-shadow(0 1px 2px #000)}#loc-online:hover{color:#fff6d8}#loc-online.alone{color:#9a9080}#fps{flex-shrink:0;min-width:2ch;font-size:18px;font-weight:800;color:#e8dcc0;font-variant-numeric:tabular-nums}#purse{flex-shrink:0;display:inline-flex;align-items:center;gap:6px;font-size:18px;font-weight:800;color:#ffd970}#purse .coin{width:16px;height:16px;border-radius:50%;border:1px solid #7a5410;background:radial-gradient(circle at 35% 30%,#fff3b0,#f2c443 45%,#b8841c);box-shadow:0 1px 2px #000c,inset 0 0 0 2px #ffe68c59}#music{flex-shrink:0;display:inline-flex;padding:2px;margin:0 -6px 0 -4px;background:none;border:none;color:#f3e3b0;cursor:pointer;filter:drop-shadow(0 1px 2px #000)}#music:hover{color:#fff6d8}#music svg{width:22px;height:22px}#music .spk{fill:currentColor}#music .w1,#music .w2,#music .x{fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}#music .x,#music.off .w1,#music.off .w2,#music.quiet .w2{display:none}#music.off .x{display:inline}#music.off{opacity:.6}#journal .j-status{font-size:15px;line-height:1.5;margin:-4px 0 10px}#clock{color:#6a2a1a;font-weight:700}#online{cursor:pointer;text-decoration:underline dotted}#level{display:flex;align-items:center;gap:8px}#level .xp-track{flex:1;min-width:70px;max-width:260px;height:7px;background:#3c281426;border:1px solid #b89a62;border-radius:3px;overflow:hidden}#level .xp-fill{height:100%;width:0;background:linear-gradient(#9fe0ff,#3a8ac8);transition:width .3s}#chest{position:fixed;left:50%;bottom:150px;transform:translate(-50%);z-index:5;padding:10px 14px;max-width:calc(100vw - 32px)}#chest .c-head{display:flex;justify-content:space-between;align-items:center;font-family:var(--display);font-size:19px;color:#e3c06a;margin-bottom:8px}#chest .c-close{padding:4px 11px;font-size:20px;line-height:1;color:#f8ecd0;background:#6a2a1a;border:1px solid #3a1508;border-radius:6px;cursor:pointer}#chest .c-grid{display:grid;grid-template-columns:repeat(8,44px);gap:2px}#chest .c-sub{font-family:var(--display);font-size:15px;color:#e3c06a;margin:10px 0 6px}#chest .c-hint{font-size:13px;font-style:italic;color:#f0e1beb3;margin-top:8px;max-width:352px}#chest .c-hint:empty{display:none}:is(#chest,#emotes) .c-tabs{display:inline-flex;gap:3px;padding:3px;border-radius:999px;background:#00000059;border:1px solid rgba(227,192,106,.3)}:is(#chest,#emotes) .c-tabs button{padding:4px 14px;border:0;border-radius:999px;background:transparent;color:#d9c99c;font:15px var(--serif);cursor:pointer}:is(#chest,#emotes) .c-tabs button:hover{color:#fff2d0}:is(#chest,#emotes) .c-tabs button.sel{background:#6a2a1a;color:#fff2d0;box-shadow:0 0 0 1px #e3c06a}#chest .c-tabs kbd{margin-left:4px;padding:0 5px;font:12px var(--serif);border:1px solid rgba(227,192,106,.5);border-radius:3px;opacity:.8}body.touch #chest .c-tabs kbd{display:none}#chest :is(.kit-list,.pet-list){width:380px;max-width:100%;max-height:min(52vh,420px);overflow-y:auto}#chest :is(.kit-list,.pet-list) .stats-head{margin:8px 0 2px;font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:#e3c06a;opacity:.85}#chest :is(.kit-list,.pet-list) .stats-head:first-child{margin-top:0}#chest :is(.kit-list,.pet-list) .stats-empty{padding:4px 0;font-size:14px;font-style:italic;opacity:.65}#chest .gear-row{display:grid;grid-template-columns:32px 1fr auto;align-items:center;gap:2px 10px;padding:6px 0;border-bottom:1px solid rgba(255,230,170,.08)}#chest .pet-row{grid-template-columns:1fr auto}#chest .gear-row img{width:28px;height:28px;filter:drop-shadow(0 1px 1px rgba(0,0,0,.6))}#chest .gear-row .nm{font-size:15px;font-weight:700;color:#f3e3b0}#chest .gear-row .wt{font-size:13px;opacity:.7}#chest .gear-row .acts{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}#chest .gear-row button{padding:4px 12px;font:14px var(--serif);color:#f3e3b0;background:#e3c06a1a;border:1px solid rgba(227,192,106,.5);border-radius:6px;cursor:pointer}#chest .gear-row button:hover{border-color:#e3c06a;background:#e3c06a2e}body.touch #chest :is(.kit-list,.pet-list){width:min(380px,calc(100vw - 60px))}#chest{background:linear-gradient(180deg,#22190ff2,#0e0a05f7);border:1px solid rgba(227,192,106,.32);border-radius:12px;box-shadow:0 6px 24px #00000073,inset 0 1px #fff0c80f}#chest .c-grid .slot{background:none;border:2px solid transparent;box-shadow:none;border-radius:50%}#chest .c-grid .slot:not(:has(img)):before{content:"";position:absolute;inset:24%;border:1.5px dashed rgba(255,240,200,.18);border-radius:50%}@media(hover:hover){#chest .c-grid .slot:has(img):hover{background:radial-gradient(circle closest-side,#fffaf052,#fffaf01f 60%,#fffaf000)}}#chest .c-grid .slot .n{min-width:0;width:16px;height:16px;padding:0;right:0;top:0;bottom:auto;background:none;border:0;border-radius:0;font:700 11px/1 var(--display);text-shadow:0 1px 2px #000,0 0 3px rgba(0,0,0,.8);display:flex;align-items:center;justify-content:center}body.touch #chest .gear-row button{min-height:38px}body.chest-open #hotbar .slot,body.chest-open #arms .slot.stick{cursor:copy}#trade{position:fixed;left:50%;top:50%;transform:translate(-50%,-50%);z-index:6;background:#18120cf5;width:min(640px,calc(100vw - 24px));max-height:calc(100dvh - 220px);overflow-y:auto;padding:12px 16px 14px}#trade .t-head{display:flex;align-items:center;gap:14px;font-family:var(--display);font-size:22px;color:#e3c06a;margin-bottom:8px}#trade .t-gold{margin-left:auto;font-size:17px;color:#ffd970}#trade .t-close{padding:0 10px;font-size:20px}#trade .t-cols{display:grid;grid-template-columns:1fr 1fr;gap:16px}#trade .t-cols:has(>.t-col[hidden]){grid-template-columns:1fr}@media(max-width:560px){#trade .t-cols{grid-template-columns:1fr}}#trade h3{font-family:var(--display);font-weight:400;font-size:17px;margin:0 0 6px;color:#f3e3b0;border-bottom:1px solid rgba(255,230,170,.2)}#trade .row{display:grid;grid-template-columns:26px 1fr auto;align-items:center;gap:2px 8px;padding:4px 0;border-bottom:1px solid rgba(255,230,170,.08)}#trade .row img{width:24px;height:24px}#trade .row .nm{font-size:15px}#trade .row .pr{font-size:13px;color:#ffd970}#trade .row .acts{display:flex;gap:4px}#trade .row button{padding:2px 8px;font-size:13px}#trade .row button:disabled{opacity:.4;cursor:default}#trade .empty{font-style:italic;color:#f0e1be99;font-size:14px}#emotes{position:fixed;left:50%;bottom:150px;transform:translate(-50%);z-index:6;display:flex;flex-direction:column;align-items:center;gap:8px;padding:10px;border-radius:10px;max-height:calc(100dvh - 180px)}#emotes .e-head{display:flex;align-items:center;gap:10px;align-self:stretch}#emotes .e-close{margin-left:auto;padding:4px 11px;font-size:20px;line-height:1;color:#f8ecd0;background:#6a2a1a;border:1px solid #3a1508;border-radius:6px;cursor:pointer}#emotes .e-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;overflow-y:auto;min-height:0;padding:2px}#emotes .e-grid button{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-width:78px;padding:9px 10px 7px;font:14px var(--serif);color:#f3e3b0;white-space:nowrap;cursor:pointer;background:linear-gradient(#3c2c1a,#291d11);border:1px solid rgba(227,192,106,.4);border-radius:9px;box-shadow:inset 0 1px #ffecbe14,0 1px 3px #00000073;transition:border-color .12s,background .12s,color .12s}#emotes .e-grid button:hover{color:#fff2d0;border-color:#e3c06a;background:linear-gradient(#4c381f,#332414)}#emotes .e-grid button:active{transform:translateY(1px);box-shadow:inset 0 1px 3px #00000080}#emotes .e-grid button:focus-visible{outline:2px solid #e3c06a;outline-offset:1px}#emotes .e-grid svg{width:26px;height:26px;fill:none;stroke:#e3c06a;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}#emotes .e-grid button:hover svg{stroke:#ffd97a}#emotes .ek{position:absolute;top:3px;right:6px;font-size:10px;opacity:.5}#emotes .e-grid.e-msgs{grid-template-columns:repeat(3,1fr);gap:8px}#emotes .e-msgs button{flex-direction:row;justify-content:flex-start;min-width:0;padding:8px 14px;font-size:15px;line-height:1.2;white-space:normal;overflow-wrap:anywhere;border-radius:14px 14px 14px 4px}body.touch #emotes .ek{display:none}#build{position:fixed;left:16px;top:110px;z-index:6;width:min(340px,calc(100vw - 32px));max-height:calc(100dvh - 140px);overflow-y:auto;padding:10px 14px 12px}#build .t-head{display:flex;align-items:center;font-family:var(--display);font-size:21px;color:#e3c06a;margin-bottom:8px}#build .b-close{margin-left:auto;padding:0 10px;font-size:20px}#build .b-item{display:grid;grid-template-columns:54px 1fr;gap:6px 10px;align-items:start}#build .b-item img{width:54px;height:36px;image-rendering:pixelated;margin-top:2px}#build .b-item button{grid-column:1 / -1;padding:6px;font-size:16px}#build .b-item button:disabled{opacity:.45;cursor:default}#build .b-item{padding:6px;margin-bottom:6px;border:1px solid transparent;border-radius:6px;cursor:pointer}#build .b-item.picked{border-color:#e3c06a99;background:#e3c06a14}#build .nm{font-size:17px;color:#f3e3b0}#build .desc{font-size:13px;color:#f0e1bebf;margin:2px 0 4px;line-height:1.3}#build .cost{font-size:14px;color:#ffd970}#build .cost.short{color:#ffb0a0}#build .why{font-size:13px;color:#b8e0a8;margin-top:3px}#build .why.bad{color:#ffb0a0}#build h3{font-family:var(--display);font-weight:400;font-size:16px;margin:12px 0 4px;color:#f3e3b0;border-bottom:1px solid rgba(255,230,170,.2)}#build .b-row{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:14px;padding:4px 0}#build .b-row button{padding:2px 8px;font-size:13px;flex:none}#build .empty{font-style:italic;color:#f0e1be99;font-size:14px}@media(max-width:640px){#build{top:150px}}#players{position:fixed;top:112px;left:50%;transform:translate(-50%);z-index:5;min-width:300px;max-width:calc(100vw - 32px);max-height:60vh;overflow-y:auto;padding:10px 14px;font-size:15px}#players .p-head{font-family:var(--display);font-size:19px;color:#e3c06a;margin-bottom:6px;display:flex;justify-content:space-between;align-items:baseline;gap:16px}#players .p-hint{font-family:inherit;font-size:12px;color:#f0e1be99}body.touch #players .p-hint{display:none}#players .p-close{margin-left:auto;align-self:center;font:22px/1 var(--serif);padding:2px 12px;cursor:pointer;border-radius:3px;color:#f8ecd0;background:#6a2a1a;border:2px solid #3a1508}body.touch #players .p-close{padding:6px 16px}#players .row{display:grid;grid-template-columns:14px 1fr auto;gap:2px 10px;align-items:center;padding:4px 0;border-top:1px solid rgba(255,230,170,.12)}#players .sw{width:12px;height:12px;border-radius:50%;border:1px solid #140c04}#players .nm.me{color:#ffd970}#players .lv{color:#9fe0ff;font-size:14px}#players .wh{grid-column:2 / 4;font-size:13px;font-style:italic;color:#f0e1beb3}#dialog{position:fixed;left:50%;bottom:22px;transform:translate(-50%);z-index:4;width:min(560px,calc(100vw - 32px));padding:16px 22px 14px;background:linear-gradient(#f0e2bd,#e2cc96);color:var(--ink);border:2px solid #8a6a36;border-radius:4px;box-shadow:0 10px 40px #0009}#dialog .d-name{font-family:var(--display);font-size:24px;line-height:1.1}#dialog .d-title{font-style:italic;font-size:14px;opacity:.7}#dialog .d-text{margin:10px 0 12px;font-size:18px;line-height:1.4}#dialog .d-quest{display:block;font-size:13px;letter-spacing:.2em;text-transform:uppercase;color:#7a5424;margin-bottom:4px}#dialog .d-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}#dialog button,#journal .j-close{font:16px var(--serif);padding:7px 16px;cursor:pointer;border-radius:3px;color:#f8ecd0;background:#6a2a1a;border:2px solid #3a1508}#dialog button.secondary{background:transparent;color:var(--ink);border-color:#8a6a36}#dialog button:hover{filter:brightness(1.15)}#journal{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);z-index:6;width:min(560px,calc(100vw - 32px));max-height:calc(100dvh - 48px);padding:18px 24px 20px;display:flex;flex-direction:column;overflow:hidden;background:linear-gradient(#f2e5c2,#dfc891);color:var(--ink);border:3px double #7a5424;border-radius:6px;box-shadow:0 20px 60px #000000b3}#journal .j-head{display:flex;justify-content:space-between;align-items:center}#journal h2{font-family:var(--display);font-weight:400;font-size:30px;margin:0;color:#4a2a0e}#journal .j-close{padding:2px 12px;font-size:22px}#journal .j-you{padding-top:10px}#journal .j-rank{font-style:italic;margin:0 0 10px}#journal .j-tabs{flex:none;padding:8px 0 6px;margin-bottom:4px;border-bottom:1px solid #b89a62}#journal .j-body{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain}#journal .j-icons{display:flex;flex-wrap:wrap;gap:6px}#journal .j-tab{display:grid;place-items:center;width:44px;height:44px;padding:0;cursor:pointer;border-radius:4px;color:var(--ink);background:#fff8e48c;border:2px solid #8a6a36;box-shadow:0 1px #3a220a40}#journal .j-tab svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}#journal .j-tab:hover{background:#fff6e0;border-color:#6a4a24}#journal .j-tab.on{color:#f8ecd0;background:#6a2a1a;border-color:#3a1508;box-shadow:inset 0 2px 4px #00000059}#journal .j-tab:focus-visible{outline:3px solid #e3c06a;outline-offset:1px}#journal .j-page{margin-top:8px;font:700 20px var(--title);letter-spacing:.02em;color:#4a2a0e}#journal .j-page .j-count{display:inline-block;vertical-align:middle;margin-left:9px;padding:0 7px;border-radius:9px;font:13px var(--serif);line-height:19px;color:var(--ink);background:#3a220a1f}#journal .j-body>h3:first-child{margin-top:8px}#journal h3{font-family:var(--display);font-weight:400;font-size:19px;margin:14px 0 6px;border-bottom:1px solid #b89a62}#journal .q{margin:8px 0}#journal .q b{font-weight:400;font-family:var(--display);font-size:17px}#journal .q .hint{font-size:15px}#journal .q.done{opacity:.6}#journal .empty{font-style:italic;opacity:.7}#hotbar .slot{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}#minimap-wrap{position:fixed;top:14px;right:14px;padding:6px}#minimap{display:block;width:140px;height:140px;border-radius:3px;cursor:pointer;image-rendering:auto}#chat{position:fixed;left:14px;bottom:130px;width:min(440px,calc(100vw - 28px))}#belt{position:fixed;left:50%;bottom:30px;transform:translate(-50%);display:flex;flex-direction:column;align-items:center;gap:6px}#belt-core{display:flex;flex-direction:column;align-items:stretch}#item-name{min-height:22px;padding:2px 14px;font-size:15px;line-height:18px;color:#ffe3a0;background:#100b06bd;border:1px solid rgba(227,192,106,.28);border-radius:999px;text-shadow:0 1px 2px #000;transition:opacity .4s}#item-name:empty{visibility:hidden}#item-name.faded{opacity:0;transition:opacity .6s}#belt-row{display:flex;justify-content:center;align-items:center}#arms,#hotbar{display:flex}#chest .slot,#arms .slot,#hotbar .slot{position:relative;width:52px;height:52px;border-radius:6px;cursor:pointer;padding:0;background:linear-gradient(180deg,#322618db,#100b06e6);border:1px solid rgba(236,220,180,.42);box-shadow:0 2px #0000008c,inset 0 1px #ffffff12;transition:box-shadow .15s,border-color .15s}#chest .slot{width:44px;height:44px}#chest .c-grid .slot img{width:58%;height:58%}#arms .slot.empty img{opacity:.35}#chest .slot img,#arms .slot img,#hotbar .slot img{position:absolute;inset:0;margin:auto;width:60%;height:60%;filter:drop-shadow(0 1px 1px rgba(0,0,0,.6))}#chest .slot .n,#arms .slot .n,#hotbar .slot .n{position:absolute;right:1px;bottom:1px;min-width:15px;padding:0 3px;font:11px/14px var(--display);color:#fff6dc;text-align:center;background:#0c0804db;border:1px solid rgba(255,235,190,.22);border-radius:4px;z-index:1}#arms .slot .k,#hotbar .slot .k{position:absolute}#belt-row{gap:2px;padding:8px;background:linear-gradient(180deg,#22190fdb,#0e0a05e6);border:1px solid rgba(227,192,106,.32);border-radius:12px;box-shadow:0 6px 24px #00000073,inset 0 1px #fff0c80f}#belt-row :is(#arms,#hotbar){gap:2px;align-items:center}#belt-row #arms .slot:not(.sel){display:none}#belt-row #arms:after{content:"";flex:none;width:5px;height:5px;margin:0 8px;border-radius:50%;background:#e3c06a99}#belt-row :is(#arms,#hotbar) .slot{background:none;border:2px solid transparent;box-shadow:none;border-radius:50%}#belt-row #hotbar .slot.sel{background:radial-gradient(circle closest-side,#fffaf052,#fffaf01f 60%,#fffaf000)}#belt-row #hotbar .slot:not(:has(img)):before{content:"";position:absolute;inset:22%;border:1.5px dashed rgba(255,240,200,.22);border-radius:50%}#belt-row :is(#arms,#hotbar) .slot .k{display:none}#belt-row :is(#arms,#hotbar) .slot .n{min-width:0;width:18px;height:18px;padding:0;right:1px;top:1px;bottom:auto;background:none;border:0;border-radius:0;font:700 11px/1 var(--display);text-shadow:0 1px 2px #000,0 0 3px rgba(0,0,0,.8);display:flex;align-items:center;justify-content:center}body.pad-play:not(.touch) #belt{bottom:16px}#vicons{display:none}body:not(.touch) #vicons{display:flex;align-items:center;gap:2px}body:not(.touch) #vicons:before{content:"";width:5px;height:5px;margin:0 8px;border-radius:50%;background:#e3c06a99}#vicons .vi{width:44px;height:52px;display:flex;align-items:center;justify-content:center}#vicons svg{width:28px;height:28px;overflow:visible;filter:drop-shadow(0 1px 1px rgba(0,0,0,.6))}#vicons :is(.shape,.stem,.ghost){fill:var(--vi);stroke:var(--vi);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}#vicons .stem{fill:none}#vicons .ghost{opacity:.18}#vicons .lvl{transition:y .25s,height .25s}#vicons .hp{--vi: #ef6a6a}#vicons .food{--vi: #eaa94a}body.poisoned #vicons .hp{--vi: #8c5}#vicons .vi.low svg{animation:vilow .8s ease-in-out infinite alternate}@keyframes vilow{to{opacity:.45}}body:not(.touch):not(.pad-play) #belt-row :is(#hotbar .slot,#arms .slot.sel) .k{display:block;left:50%;top:auto;bottom:-31px;transform:translate(-50%);font:10px/1 var(--display);color:#fff0c866;text-shadow:none}body:not(.touch):not(.pad-play) #belt-row :is(#hotbar .slot,#arms .slot.sel) .k.on-light{color:#1c120899}#hurt{position:fixed;inset:0;pointer-events:none;opacity:0;box-shadow:inset 0 0 140px 40px #be140abf;transition:opacity .35s}#death{position:fixed;inset:0;z-index:8;display:grid;place-items:center;padding:16px;background:#2800008c}#death .scroll{width:min(420px,100%);padding:26px 30px 22px;text-align:center;color:var(--ink);background:linear-gradient(#f2e5c2,#dfc891);border:3px double #7a5424;border-radius:6px;box-shadow:0 20px 60px #000000b3}#death h2{font-family:var(--display);font-weight:400;font-size:34px;margin:0 0 8px;color:#6a1a0a}#death .why{font-size:17px;margin:0 0 18px}#rise{padding:10px 22px;font:20px var(--display);cursor:pointer;color:#f8ecd0;background:#6a2a1a;border:2px solid #3a1508;border-radius:4px}#chat-log{display:flex;flex-direction:column;gap:2px;margin-bottom:6px;pointer-events:none}#chat-log .line{background:#140f0a99;padding:3px 9px;border-radius:4px;font-size:15px;text-shadow:0 1px 2px #000;transition:opacity 1.2s;overflow-wrap:anywhere}#chat-log .line.old{opacity:0}#chat-log .line b{color:var(--gold);font-weight:400}#chat-log .line.sys{font-style:italic;color:#cfc2a0}#chat-log .line.whisper{font-style:italic;color:#e6c8f5}#chat-log .line.whisper b{color:#d6a8f0}#chat-input{width:100%;padding:8px 10px;font:15px var(--serif);color:var(--ink);background:var(--parchment);border:2px solid var(--parchment-dark);border-radius:4px;outline:none}#help,#quick button{padding:2px 4px;font-size:15px;font-family:inherit;color:#f3e3b0;cursor:pointer;text-align:right;background:none;border:none;text-shadow:0 1px 2px #000,0 0 6px rgba(0,0,0,.85)}#help{position:fixed;right:14px;bottom:12px}#help:hover,#quick button:hover{color:#fff6d8}#quick{position:fixed;right:14px;bottom:42px;display:flex;flex-direction:column;align-items:stretch;gap:4px}#quick kbd,#help kbd{display:inline-block;margin-left:8px;min-width:1.6em;padding:0 6px;border:1px solid rgba(227,192,106,.75);border-bottom-width:2px;border-radius:4px;background:#140e0873;font-family:inherit;text-align:center;color:#fff2c8;box-shadow:0 1px 3px #0009}#quick kbd.pad,#help kbd.pad{min-width:0;padding:0;border:none;background:none;box-shadow:none;line-height:0;vertical-align:middle;filter:drop-shadow(0 1px 2px rgba(0,0,0,.7))}svg.pg text{font:700 11px var(--display);text-anchor:middle}body.touch #quick{display:none}#controls{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);z-index:7;width:min(800px,calc(100vw - 24px));max-height:calc(100dvh - 32px);overflow-y:auto;padding:14px 22px 18px;background:#18120cf7;border:1px solid var(--panel-edge);border-radius:8px;box-shadow:0 20px 60px #000000b3}#controls .k-head{display:flex;justify-content:space-between;align-items:center;padding-bottom:8px;margin-bottom:4px;border-bottom:1px solid rgba(227,192,106,.35)}#controls h2{font-size:26px;margin:0;color:#e3c06a}#controls .k-body{columns:2 320px;column-gap:30px}#controls section{break-inside:avoid;display:grid;grid-template-columns:fit-content(38%) 1fr;column-gap:14px;padding-top:2px;margin-bottom:6px}#controls h3{grid-column:1 / -1;margin:10px 0 0;padding-bottom:4px;border-bottom:1px solid rgba(227,192,106,.25);font:12px var(--serif);letter-spacing:.14em;text-transform:uppercase;color:#e3c06a;opacity:.85}#controls .k-row{grid-column:1 / -1;display:grid;grid-template-columns:subgrid;align-items:baseline;padding:7px 0;border-bottom:1px solid rgba(255,230,170,.07);font-size:14px;line-height:1.4;color:#e8dcbc}#controls section .k-row:last-child{border-bottom:0}#controls section:only-child{break-inside:auto}#controls .k-row{break-inside:avoid}#controls kbd{display:inline-block;justify-self:start;max-width:100%;box-sizing:border-box;min-width:1.8em;padding:1px 8px;font:700 13px var(--serif);line-height:1.5;text-align:center;color:#fff2c8;background:linear-gradient(#fff0c824,#fff0c80a);border:1px solid rgba(227,192,106,.55);border-bottom:3px solid rgba(140,105,45,.85);border-radius:5px;box-shadow:0 1px 2px #00000080,inset 0 1px #fff5d71f}#settings{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);z-index:7;width:min(820px,calc(100vw - 24px));max-height:calc(100dvh - 32px);overflow-y:auto;padding:14px 20px 16px;background:#18120cf7;border:1px solid var(--panel-edge);border-radius:8px;box-shadow:0 20px 60px #000000b3}#settings .k-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:2px}#settings h2{font-size:26px;margin:0;color:#e3c06a}#settings .s-body{columns:2 320px;column-gap:26px}#settings .s-group{break-inside:avoid;padding-top:2px}#settings h3{margin:8px 0 0;padding-bottom:4px;border-bottom:1px solid rgba(227,192,106,.25);font:12px var(--serif);letter-spacing:.14em;text-transform:uppercase;color:#e3c06a;opacity:.85}#settings .s-row{display:flex;align-items:center;gap:12px;padding:8px 0;border-bottom:1px solid rgba(255,230,170,.07)}#settings .s-text{flex:1;min-width:0}#settings .s-label{font:700 16px var(--serif);color:#f3e3b0}#settings .s-note{margin-top:1px;font-size:13px;font-style:italic;opacity:.7}#settings .s-pills{flex-shrink:0;display:inline-flex;gap:3px;padding:3px;border-radius:999px;background:#00000059;border:1px solid rgba(227,192,106,.3)}#settings .s-pills button{padding:4px 12px;border:0;border-radius:999px;background:transparent;color:#d9c99c;font:14px var(--serif);white-space:nowrap;cursor:pointer}#settings .s-pills button:hover{color:#fff2d0;background:#e3c06a1f}#settings .s-pills button.sel{background:#6a2a1a;color:#fff2d0;box-shadow:0 0 0 1px #e3c06a}#settings .s-switch{flex-shrink:0;position:relative;width:46px;height:26px;padding:0;border-radius:13px;background:#0006;border:1px solid rgba(227,192,106,.4);cursor:pointer}#settings .s-switch:after{content:"";position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:50%;background:#9a8a66;transition:left .12s,background .12s}#settings .s-switch:hover{border-color:#e3c06a}#settings .s-switch.on{background:#6a2a1a;border-color:#e3c06a}#settings .s-switch.on:after{left:23px;background:#f3e3b0}#settings .s-act{flex-shrink:0;padding:4px 14px;border:1px solid rgba(227,192,106,.5);border-radius:6px;background:#e3c06a1a;color:#f3e3b0;font:14px var(--serif);cursor:pointer}#settings .s-act:hover{border-color:#e3c06a;background:#e3c06a2e}#settings .s-account{display:flex;flex-wrap:wrap;align-items:center;gap:8px 10px;margin-top:14px;padding-top:12px;border-top:1px solid rgba(227,192,106,.25)}#settings .s-whoami{flex:1;min-width:180px;margin:0;font-size:14px;opacity:.85}#settings .s-account button{padding:6px 14px;font:15px var(--serif);border:1px solid rgba(227,192,106,.45);border-radius:6px;background:#fff0c80f;color:#f3e3b0;cursor:pointer}#settings .s-account button:hover{border-color:#e3c06a}#settings .s-account .s-delete{color:#ff9a80;border-color:#c8463280}#settings .s-account .s-delete:hover{background:#a0281459;border-color:#e06a50}#tips{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);z-index:7;width:min(760px,calc(100vw - 24px));max-height:calc(100dvh - 32px);overflow-y:auto;padding:14px 20px 18px;background:#18120cf7;border:1px solid var(--panel-edge);border-radius:8px;box-shadow:0 20px 60px #000000b3}#tips .k-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:4px}#tips h2{font-family:var(--display);font-weight:400;font-size:26px;margin:0;color:#e3c06a}#tips .k-close{padding:0 10px;font-size:20px}#tips .k-body{columns:2 300px;column-gap:28px}#tips section{break-inside:avoid;margin-bottom:10px}#tips h3{font-family:var(--display);font-weight:400;font-size:17px;margin:6px 0 4px;color:#f3e3b0;border-bottom:1px solid rgba(255,230,170,.2)}#tips .tip{margin:4px 0 6px;font-size:15px;line-height:1.4}#tips .tip b{color:#ffd970;font-weight:400}#tips .ig-row{display:flex;align-items:center;gap:12px;margin:6px 0;font-size:15px;line-height:1.35}#tips .ig-row b{color:#ffd970;font-weight:400}#tips .ig-ico{flex-shrink:0;display:flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;color:#f8ecd0;background:#402614d6;border:2px solid rgba(227,192,106,.55)}#tips .ig-ico.strike{background:#961e14e6;border-color:#ffbe9699}#tips .ig-ico:not(.strike):not(.square){background:#1e160c66;color:#f3e3b0}#tips .ig-ico.ready:not(.square){color:#ffd970;background:radial-gradient(circle,#ffd66e73,#ffc45026 70%);border-color:#ffd970b3}#tips .ig-ico.ready svg{filter:drop-shadow(0 0 3px rgba(255,217,112,.95))}#tips .ig-ico.square{border-radius:8px;border-width:1px;border-color:var(--panel-edge);background:#18120cd1;color:#f3e3b0}#tips .ig-ico.more{background:#6a2a1ae0;border-color:#3a1508}#tips .ig-ico svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}#tips .ig-ico:not(.square) svg .dot{stroke-width:2.6}#tips .ig-ico.square svg .dot{fill:currentColor;stroke:none}#guide{position:fixed;top:110px;left:14px;z-index:4;width:min(300px,calc(100vw - 28px));padding:10px 14px 12px;transition:transform .3s,box-shadow .3s}#guide.done-flash{transform:scale(1.04);box-shadow:0 0 0 2px #e3c06a,0 4px 18px #00000073}#guide .g-kicker{display:flex;justify-content:space-between;align-items:baseline;font-size:12px;letter-spacing:.12em;text-transform:uppercase;color:#c8b48c}#guide .g-skip{font-size:12px;letter-spacing:0;text-transform:none;color:#a8987a}#guide .g-title{font-family:var(--display);font-size:20px;color:#e3c06a;margin:4px 0 2px}#guide .g-text{font-size:15px;line-height:1.4}#guide kbd{display:inline-block;min-width:1.5em;padding:0 5px;margin:0 1px;border:1px solid rgba(227,192,106,.6);border-bottom-width:2px;border-radius:4px;background:#fff0c814;font-family:inherit;font-size:13px;line-height:1.45;text-align:center;color:#fff2c8}#guide .g-track{height:4px;margin-top:9px;background:#00000073;border-radius:2px;overflow:hidden}#guide .g-fill{height:100%;width:0;background:linear-gradient(90deg,#c8a040,#e3c06a);transition:width .4s}#coach{position:fixed;z-index:8;width:max-content;max-width:min(240px,calc(100vw - 16px));padding:8px 12px;font-size:14px;line-height:1.35;pointer-events:none}#coach.tour{pointer-events:auto;cursor:pointer}#coach .c-foot{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin-top:6px;font-size:12px;color:#c8b48c}#coach .c-next{font-size:13px;color:#e3c06a}#coach .c-head{text-align:right;margin:-2px 0 4px}#coach .c-skip{font-size:12px;color:#a8987a}#coach .c-arrow{position:absolute;top:100%;width:0;height:0;margin-left:-8px;border:8px solid transparent;border-top-color:#e3c06a}#coach.below .c-arrow{top:auto;bottom:100%;border-top-color:transparent;border-bottom-color:#e3c06a}.coach-on{outline:2px solid #e3c06a;outline-offset:3px;animation:coach-ring 1.2s ease-in-out infinite alternate}@keyframes coach-ring{0%{outline-color:#e3c06a}to{outline-color:#e3c06a40}}#journal .j-link{margin-top:10px;font-size:14px}#toast{position:fixed;top:17%;left:50%;transform:translate(-50%);width:min(640px,calc(100vw - 32px));text-align:center;padding:16px 30px;pointer-events:none;color:#fff6dc;text-shadow:0 2px 5px rgba(0,0,0,.9),0 0 18px rgba(0,0,0,.55);animation:toast-in .9s ease-out}#toast:before{content:"";position:absolute;inset:-12px -40px;z-index:-1;background:radial-gradient(closest-side,rgba(0,0,0,.42),rgba(0,0,0,.18) 60%,transparent)}#toast.out{animation:toast-out .8s ease-in forwards}#toast .t-kicker{font-size:13px;letter-spacing:.28em;text-transform:uppercase;color:#e3c06a}#toast .t-name{font-size:46px;line-height:1.08;margin:4px 0 0;text-wrap:balance;animation:toast-name 1.4s ease-out}#toast .t-rule{width:200px;max-width:50%;height:1px;margin:10px auto 6px;background:linear-gradient(90deg,transparent,#e3c06a,transparent)}#toast .t-modern{font-style:italic;font-size:18px}#toast .t-lore{max-width:520px;margin:8px auto 0;font-size:17px;line-height:1.4;opacity:.92}#toast:not(.out) :is(.t-rule,.t-modern,.t-lore){animation:toast-fade .8s .5s ease-out backwards}#toast.small .t-name{font-size:34px}#toast.small .t-kicker{font-size:12px}#toast.deed .t-kicker{color:#f0a060}#toast.deed .t-rule{background:linear-gradient(90deg,transparent,#f0a060,transparent)}@keyframes toast-in{0%{opacity:0;transform:translate(-50%,-14px)}to{opacity:1;transform:translate(-50%)}}@keyframes toast-out{to{opacity:0;transform:translate(-50%,-10px)}}@keyframes toast-name{0%{opacity:0;letter-spacing:.12em}}@keyframes toast-fade{0%{opacity:0}}@media(prefers-reduced-motion:reduce){#toast,#toast *{animation:none!important}}#announce{position:fixed;top:7%;left:50%;transform:translate(-50%);z-index:40;width:min(600px,calc(100vw - 32px));text-align:center;padding:14px 48px 12px;color:#fff6dc;text-shadow:0 2px 5px rgba(0,0,0,.9),0 0 18px rgba(0,0,0,.55)}#announce:before{content:"";position:absolute;inset:-12px -30px;z-index:-1;pointer-events:none;background:radial-gradient(closest-side,rgba(0,0,0,.5),rgba(0,0,0,.22) 60%,transparent)}#announce.in{animation:toast-in .5s ease-out}#announce.out{animation:toast-out .5s ease-in forwards}#announce .a-kicker{font-size:12px;letter-spacing:.28em;text-transform:uppercase;color:#e3c06a}#announce .a-text{font-family:var(--display);font-size:24px;line-height:1.3;margin:6px 0 4px;overflow-wrap:anywhere}#announce .a-by{font-style:italic;font-size:15px}#announce .a-close{position:absolute;top:6px;right:6px;width:32px;height:32px;padding:0;border-radius:50%;background:#00000059;border:1px solid rgba(227,192,106,.6);color:#e3c06a;font-size:20px;line-height:1;text-shadow:none;cursor:pointer}#announce .a-close:hover{color:#fff2c8;border-color:#fff2c8}#view-sliders{position:fixed;right:18px;top:max(50%,402px);transform:translateY(-50%);z-index:5;display:flex;flex-direction:column;align-items:center;gap:8px;padding:10px 8px;background:#140e08b8;border:1px solid rgba(232,200,140,.35);border-radius:8px;color:#f4ead2;font:12px var(--display)}#view-sliders[hidden]{display:none}#view-sliders .vs-fps{font:700 14px var(--display);color:#e8dcc0;font-variant-numeric:tabular-nums;min-width:8ch;text-align:center}#view-sliders .vs-cols{display:flex;gap:10px}#view-sliders .vs-col{display:flex;flex-direction:column;align-items:center;gap:8px}#view-sliders .vs-name{font-size:11px;color:#e8dcc0}#view-sliders input{writing-mode:vertical-lr;direction:rtl;height:200px;width:24px;margin:0;accent-color:#c8902a;cursor:pointer}body.touch #view-sliders{top:56%;right:auto;left:calc(16px + var(--sl))}body.touch.lefty #view-sliders{left:auto;right:calc(16px + var(--sr))}@media(orientation:landscape){body.touch #view-sliders{top:47%}}body.touch #view-sliders .ts-reset,body.touch #view-sliders .ts-hide{padding:7px 10px}body.touch #view-sliders svg{width:22px;height:22px}body.touch #view-sliders input{height:150px}#view-sliders .ts-value{font:700 18px var(--display);color:#ffd970;min-width:3ch;text-align:center}#view-sliders .ts-reset,#view-sliders .ts-hide{display:inline-flex;color:#f4ead2;background:none;border:1px solid rgba(232,200,140,.4);border-radius:4px;padding:3px 7px;cursor:pointer}#view-sliders .ts-reset:hover,#view-sliders .ts-hide:hover{color:#ffd970;border-color:#ffd970b3}#view-sliders svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}#conn{position:fixed;top:14px;left:50%;transform:translate(-50%);background:#781e14d9;padding:6px 14px;border-radius:4px;font-size:14px}body.touch{--gap: 10px;--u: 1px;--cw: calc(206 * var(--u));--sw: calc(132 * var(--u));--st: env(safe-area-inset-top, 0px);--sr: env(safe-area-inset-right, 0px);--sb: env(safe-area-inset-bottom, 0px);--sl: env(safe-area-inset-left, 0px)}body.touch[data-btns=small]{--u: .86px}body.touch[data-btns=large]{--u: 1.16px}body.touch{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent;overscroll-behavior:none}body.touch input,body.touch textarea{-webkit-user-select:text;user-select:text}body.touch button{touch-action:manipulation}body.touch #game{touch-action:none}body.touch #chat-input,body.touch #petname input,body.touch #dialog .home-name,body.touch #dialog .postcode-input{font-size:16px}body.touch #help,body.touch #quick{display:none}body.touch.pad-play #quick{display:flex;right:calc(14px + var(--sr));bottom:calc(42px + var(--sb))}body.touch.pad-play #help{display:inline-block;right:calc(14px + var(--sr));bottom:calc(12px + var(--sb))}@media(orientation:portrait){body.touch.pad-play #quick{bottom:calc(132px + var(--sb))}body.touch.pad-play #help{bottom:calc(102px + var(--sb))}}body.touch #loc{max-width:calc(100vw - 120px - var(--sl) - var(--sr))}body.touch #loc .loc-row{gap:10px}body.touch #loc-name{font-size:18px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}body.touch #loc-sub{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}body.touch #loc-online,body.touch #fps{font-size:15px}body.touch #loc-online svg{width:16px;height:16px}@media(orientation:portrait){body.touch #loc .loc-row{flex-wrap:wrap;row-gap:2px}body.touch #loc-name{max-width:100%}}body.touch #purse{font-size:15px}body.touch #purse .coin{width:14px;height:14px}body.touch #music{padding:6px;margin:-6px -6px -6px -8px}body.touch #music svg{width:20px;height:20px}body.touch #chat-log{max-height:98px;overflow:hidden;justify-content:flex-end;pointer-events:none}body.touch #chat-log .line{font-size:13px;padding:2px 8px}body.touch #chat-input{padding:9px 10px}#tmenu{display:grid;grid-template-columns:repeat(4,1fr);grid-auto-rows:30px;gap:4px;margin-top:5px}#tmenu button{cursor:pointer}@media(hover:hover){#tmenu button:hover{color:#fff6d8;border-color:#e3c06a}}body:not(.touch) #tmenu button{background:none;border:none;box-shadow:none;color:#f3e3b0}body:not(.touch) #tmenu svg{width:22px;height:22px;transition:transform .1s}body:not(.touch) #tmenu button:hover{color:#fff6d8}body:not(.touch) #tmenu button:hover svg{transform:scale(1.15)}body:not(.touch) #tmenu button:active{background:none}body.pad-play:not(.touch) #tmenu{display:none}body.touch #topleft{position:fixed;top:calc(var(--gap) + var(--st));left:calc(var(--gap) + var(--sl));right:calc(124px + var(--sr));z-index:2;pointer-events:none;display:flex;flex-direction:column;align-items:flex-start;gap:4px}body.touch #topleft>*{pointer-events:auto}body.touch #topleft #loc{position:static}body.touch #topleft #chat{position:static;width:100%;margin-top:2px}body.touch #topright{position:fixed;top:calc(var(--gap) + var(--st));right:calc(var(--gap) + var(--sr));z-index:3;pointer-events:none;display:flex;flex-direction:column;align-items:flex-end;gap:6px}body.touch #topright>*{pointer-events:auto}body.touch #minimap-wrap{position:static;padding:4px}body.touch #minimap,body.touch #minimap-wrap canvas{width:96px;height:96px}body.touch #tmenu{margin:0;display:grid;grid-template-columns:repeat(2,50px);grid-auto-rows:44px;gap:6px;touch-action:manipulation}#tmenu button{display:flex;align-items:center;justify-content:center;padding:0;color:#f3e3b0;background:#18120cd1;border:1px solid var(--panel-edge);border-radius:8px;box-shadow:0 2px 8px #0006}#tmenu svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}#tmenu svg .dot{fill:currentColor;stroke:none}#tmenu button:active{background:#503418f2}#tmenu button.more{color:#f8ecd0;background:#6a2a1ae0;border-color:#3a1508}#touch{position:fixed;inset:0;pointer-events:none;z-index:3}#stick{position:fixed;left:calc(16px + var(--sl));bottom:calc(var(--belt) + 16px + var(--sb));width:var(--sw);height:var(--sw);border-radius:50%;background:#1e160c52;border:2px solid rgba(227,192,106,.45);pointer-events:auto;touch-action:none;opacity:.6;transition:opacity .25s}#stick.live{opacity:1;transition:none;background:#1e160c6b}#knob{position:absolute;left:50%;top:50%;width:56%;height:56%;transform:none;translate:-50% -50%;border-radius:50%;background:#e3c06ac7;border:2px solid rgba(60,36,10,.8);box-shadow:0 2px 6px #0006}#stick.run{border-color:#ffd666f2;box-shadow:0 0 10px #ffc8508c}#stick.run #knob{background:#ffce54fa;box-shadow:0 0 8px #ffc850cc}body.touch.lefty #stick{left:auto;right:calc(16px + var(--sr))}#tbtns{position:fixed;right:calc(16px + var(--sr));bottom:calc(var(--belt) + 16px + var(--sb));width:var(--cw);height:calc(158 * var(--u));pointer-events:none}#tbtns button{position:absolute;right:calc(var(--x) * var(--u));bottom:calc(var(--y) * var(--u));width:calc(var(--s) * var(--u));height:calc(var(--s) * var(--u));padding:0;display:flex;align-items:center;justify-content:center;pointer-events:auto;touch-action:none;border-radius:50%;color:#f8ecd0;background:none;border:none;transition:transform .06s,background .2s}#tbtns button.down{transform:scale(.9);filter:brightness(1.3)}#tbtns .attack{--x: 0;--y: 0;--s: 84;background:#961e14e6;border:2px solid rgba(255,190,150,.6);box-shadow:0 3px 10px #00000073}#tbtns .jump{--x: 104;--y: -3;--s: 52}#tbtns .map{--x: 55;--y: 97;--s: 52}#tbtns .act{--x: 97;--y: 55;--s: 52}#tbtns .chat{--x: -3;--y: 104;--s: 52}#tbtns .band{position:absolute;right:0;bottom:0;width:calc(170 * var(--u));height:calc(170 * var(--u));overflow:visible;pointer-events:none}#tbtns .band path{fill:none;stroke-linecap:round}#tbtns .band .edge{stroke:#e3c06a73;stroke-width:60}#tbtns .band .fill{stroke:#1e160c;stroke-opacity:.85;stroke-width:57}#tbtns .band{opacity:.45}body.touch.lefty #tbtns .band{right:auto;left:0;transform:scaleX(-1)}#tbtns button:not(.attack){color:#f3e3b0;isolation:isolate}#tbtns button:not(.attack).down{filter:none;background:#fff0c824}#tbtns button:not(.attack) svg{width:calc(29 * var(--u));height:calc(29 * var(--u));filter:drop-shadow(0 1px 2px rgba(0,0,0,.8))}#tbtns .act.ready{color:#ffe08a}#tbtns .act.ready:before{content:"";position:absolute;inset:3px;z-index:-1;border-radius:50%;pointer-events:none;background:radial-gradient(circle,#ffd66e80,#ffc45038 62%,#ffc4500d);box-shadow:0 0 0 1.5px #ffd97099,0 0 12px #ffc85073;animation:readypulse 1.6s ease-in-out infinite}@keyframes readypulse{0%,to{transform:scale(.86);opacity:.7}50%{transform:scale(1.02);opacity:1}}@media(prefers-reduced-motion:reduce){#tbtns .act.ready:before{animation:none}}#tbtns .act.ready svg{stroke-width:2.3;filter:drop-shadow(0 0 2px rgba(255,217,112,1)) drop-shadow(0 0 7px rgba(255,200,80,.9)) drop-shadow(0 0 14px rgba(255,190,60,.55))}#tbtns svg{width:calc(26 * var(--u));height:calc(26 * var(--u));fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}#tbtns .attack svg{width:calc(42 * var(--u));height:calc(42 * var(--u));stroke-width:1.8}#tbtns svg .dot{stroke-width:2.6}body.touch.lefty #tbtns{right:auto;left:calc(16px + var(--sl))}body.touch.lefty #tbtns button{right:auto;left:calc(var(--x) * var(--u))}#tbtns .band.one{width:calc(220 * var(--u));height:calc(220 * var(--u))}body.touch:not(.one-hand) #tbtns .band.one,body.touch.one-hand #tbtns .band.two,body.touch.one-hand #tbtns .attack{display:none}body.touch.one-hand #tbtns .jump{--x: 151.5;--y: 16.3}body.touch.one-hand #tbtns .act{--x: 142.7;--y: 89.4}body.touch.one-hand #tbtns .map{--x: 89.4;--y: 142.7}body.touch.one-hand #tbtns .chat{--x: 16.3;--y: 151.5}body.touch.one-hand:not(.lefty) #tbtns button{right:auto;left:calc(var(--x) * var(--u))}body.touch.one-hand:not(.lefty) #tbtns .band{right:auto;left:0;transform:scaleX(-1)}body.touch.one-hand.lefty #tbtns button{left:auto;right:calc(var(--x) * var(--u))}body.touch.one-hand.lefty #tbtns .band{left:auto;right:0;transform:none}body.touch.one-hand #view-sliders{left:auto;right:calc(16px + var(--sr))}body.touch.one-hand.lefty #view-sliders{right:auto;left:calc(16px + var(--sl))}#tmore{position:fixed;left:50%;top:50%;transform:translate(-50%,-50%);z-index:7;width:min(420px,calc(100vw - 40px - var(--sl) - var(--sr)));max-height:calc(100dvh - 24px - var(--st) - var(--sb));overflow-y:auto;pointer-events:auto;touch-action:manipulation;display:flex;flex-direction:column;gap:4px;padding:10px 14px 14px;background:#18120cf7;border:1px solid var(--panel-edge);border-radius:12px;box-shadow:0 10px 40px #0009}#tmore[hidden]{display:none}#tmore .m-head{display:flex;align-items:center;justify-content:space-between}#tmore .m-group{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}#tmore h3{grid-column:1 / -1;margin:6px 0 0;padding-bottom:4px;border-bottom:1px solid rgba(227,192,106,.25);font:800 11px var(--serif);letter-spacing:.14em;text-transform:uppercase;color:#e3c06a;opacity:.85}#tmore h2{margin:0;font:700 20px var(--title);letter-spacing:.02em;color:#e3c06a}#tmore .m-close{width:40px;height:34px;font-size:20px;line-height:1;color:#f8ecd0;background:#6a2a1a;border:1px solid #3a1508;border-radius:6px}#tmore button:not(.m-close){height:62px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;font:13px var(--serif);color:#f3e3b0;background:#fff0c80d;border:1px solid rgba(227,192,106,.3);border-radius:9px}#tmore svg{width:24px;height:24px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}#tmore button:active{background:#e3c06a2e;border-color:#e3c06a}body.modal #tbtns,body.modal #stick,body.modal #tmore,body.modal #tmenu,body.touch.modal #guide,body.pad-play #tbtns,body.pad-play #stick,body.pad-play #tmore,body.pad-play #tmenu{visibility:hidden}body.touch{--bg: 10px;--slot: min(46px, calc((100vw - 12px - var(--sl) - var(--sr) - 50px) / 6));--belt: calc(var(--slot) + 18px + 2 * var(--bg) - 16px + var(--over, 0px))}body.touch:not(.one-hand){--over: calc(3 * var(--u))}body.touch #belt{bottom:calc(var(--bg) + var(--sb));max-width:calc(100vw - 12px - var(--sl) - var(--sr));gap:4px}body.touch #belt{z-index:4;pointer-events:none}body.touch #belt-row{pointer-events:auto}body.touch #item-name{min-height:18px;max-width:100%;font-size:14px;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}body.touch #tvitals{display:grid;grid-template-columns:auto auto;column-gap:12px;align-items:center;row-gap:6px;align-self:center;margin-top:4px;pointer-events:none!important}#tvitals .tv{position:relative;width:44px;height:44px}#tvitals .ring,#tvitals .ico{position:absolute;overflow:visible}#tvitals .ring{inset:0;width:100%;height:100%}#tvitals .disc{fill:#140e0894;stroke:#00000073;stroke-width:3}#tvitals .arc{fill:none;stroke:currentColor;stroke-width:3;stroke-linecap:round;stroke-dasharray:100;stroke-dashoffset:0;transition:stroke-dashoffset .8s ease,stroke .3s}#tvitals .ico{inset:22%;width:56%;height:56%;filter:drop-shadow(0 1px 1px rgba(0,0,0,.5))}#tvitals .hp{color:#e5484d}body.poisoned #tvitals .hp{color:#8ccc55}#tvitals .food{color:#eda040}#tvitals .tv.low .arc{animation:tvlow .8s ease-in-out infinite alternate}@keyframes tvlow{to{stroke:#ff5a3a;filter:drop-shadow(0 0 3px #ff5a3a)}}body.touch #hotbar .slot,body.touch #arms .slot{width:var(--slot);height:var(--slot)}body.touch #hotbar .slot img,body.touch #arms .slot img{width:64%;height:64%}body.touch #guide{top:calc(186px + var(--st));left:calc(var(--gap) + var(--sl));width:min(300px,calc(100vw - 140px - var(--sl) - var(--sr)));padding:8px 12px 10px}body.touch #guide .g-title{font-size:17px}body.touch #guide .g-text{font-size:14px;line-height:1.35}body.touch #guide .g-skip{display:inline-block;padding:6px 0 6px 10px;margin:-6px 0;font-size:13px}body.touch #guide{pointer-events:none}body.touch #guide .g-skip{pointer-events:auto}body.touch #toast{top:calc(28% + var(--st));width:min(400px,calc(100vw - 32px));padding:10px 16px 12px}body.touch #toast .t-kicker{font-size:11px}body.touch #toast .t-name{font-size:32px}body.touch #toast.small .t-name{font-size:25px}body.touch #toast .t-rule{margin:7px auto 4px}body.touch #toast .t-modern{font-size:14px}body.touch #toast .t-lore{margin-top:6px;font-size:14px;line-height:1.3}body.touch:has(#toast:not([hidden])) #guide{opacity:0;pointer-events:none;transition:opacity .3s}body.touch #announce{top:calc(var(--gap) + var(--st));padding:10px 40px}body.touch #announce .a-close{width:44px;height:44px;top:0;right:0}body.touch #dialog{top:calc(var(--gap) + var(--st));bottom:auto;max-height:calc(100dvh - 20px - var(--st) - var(--sb));overflow-y:auto;padding:12px 16px}body.touch #dialog .d-name{font-size:21px}body.touch #dialog .d-text{font-size:16px;margin:8px 0 10px}body.touch #dialog button{min-height:44px}body.touch #dialog .d-actions{gap:6px}body.touch #dialog .d-actions button{flex:1 1 auto}body.touch #conn{top:auto;bottom:calc(var(--belt) + 8px + var(--sb))}body.touch #build,body.touch #players,body.touch #trade,body.touch #emotes{background:#18120cf7}body.touch :is(.c-close,.t-close,.b-close,.k-close,.s-close,.n-close,.j-close,.p-close,.e-close){min-width:44px;min-height:44px}body.touch #chest{top:50%;bottom:auto;transform:translate(-50%,-50%);max-height:calc(100dvh - 20px);overflow-y:auto}body.touch #chest .c-grid{grid-template-columns:repeat(8,min(40px,calc((100vw - 92px)/8)));gap:2px}body.touch #chest .slot{width:min(40px,calc((100vw - 92px)/8));height:min(40px,calc((100vw - 92px)/8))}body.touch #chest .slot img{width:62%;height:62%}body.touch #build{left:50%;transform:translate(-50%);top:calc(64px + var(--st));max-height:calc(100dvh - var(--belt) - 140px)}body.touch #build .b-item button{min-height:44px}body.touch #build .b-row button{min-height:36px;padding:4px 12px}body.touch #emotes{top:50%;bottom:auto;transform:translate(-50%,-50%);width:min(440px,calc(100vw - 20px));max-height:calc(100dvh - 40px - var(--st) - var(--sb))}body.touch #emotes .e-grid{width:100%;grid-template-columns:repeat(2,minmax(0,1fr))}body.touch #emotes .e-grid button{min-height:46px;justify-content:center}body.touch #emotes .e-msgs button{text-align:center}body.touch #players{top:calc(64px + var(--st))}body.touch #trade{max-height:calc(100dvh - 20px)}body.touch #trade .row{padding:6px 0}body.touch #trade .row button{min-height:38px;padding:4px 12px;font-size:15px}body.touch #dialog .gear-row button{min-height:38px}body.touch #settings .s-pills button{min-height:38px;min-width:44px;padding:4px 14px;font-size:15px}body.touch #settings .s-switch{width:56px;height:32px;border-radius:16px}body.touch #settings .s-switch:after{top:4px;left:4px;width:22px;height:22px}body.touch #settings .s-switch.on:after{left:28px}body.touch #settings :is(.s-act,.s-account button){min-height:40px}body.touch #bigmap-wrap .bm-close{min-height:48px;padding:8px 26px;font-size:19px}@media(max-width:640px),(max-height:540px){body.touch :is(#journal,#controls,#tips,#settings,#news,#trade,#players){top:calc(6px + var(--st));bottom:calc(6px + var(--sb));left:calc(6px + var(--sl));right:calc(6px + var(--sr));width:auto;min-width:0;max-width:none;max-height:none;transform:none;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}body.touch #news{padding:12px 16px 14px}body.touch #journal{padding:0 16px 16px;overflow:hidden}body.touch #journal .j-head{flex:none;height:52px}body.touch #journal h2{font-size:26px}body.touch :is(#controls,#tips,#settings){padding:0 16px 16px}body.touch :is(#controls,#tips,#settings) .k-head{position:sticky;top:0;z-index:1;padding:6px 0;background:#18120cfc}body.touch :is(#controls,#tips,#settings) h2{font-size:23px}body.touch #trade{padding-top:0}body.touch #trade .t-head{position:sticky;top:0;z-index:1;padding:6px 0;margin-bottom:4px;background:#18120cfc}body.touch #players{padding-top:0}body.touch #players .p-head{position:sticky;top:0;z-index:1;padding:6px 0;background:#18120cfc;align-items:center}}body.quest{--u: 1.2px;--slot: 56px}body.quest #tmore{width:520px;gap:6px}body.quest #tmore .m-group{gap:12px}body.quest #tmore button:not(.m-close){height:76px;font-size:16px}body.quest #tmore svg{width:30px;height:30px}body.quest #tmenu{grid-template-columns:repeat(2,56px);grid-auto-rows:56px}body.quest #tmenu svg{width:30px;height:30px}body.quest #topleft{right:calc(136px + var(--sr))}body.quest #dialog button,body.quest #build button,body.quest #emotes button{min-height:44px;font-size:18px}body.quest button:hover,body.quest .slot:hover{outline:3px solid rgba(255,220,140,.8);outline-offset:1px}@media(orientation:landscape)and (max-height:540px){body.touch{--belt: 0px;--u: .9px}body.touch[data-btns=small]{--u: .78px}body.touch[data-btns=large]{--u: 1.04px}body.touch #loc{max-width:330px}body.touch #topleft{right:auto;width:min(330px,calc(100vw - 480px));min-width:240px}body.touch #topright{flex-direction:row-reverse;align-items:flex-start}body.touch #tvitals{column-gap:8px;align-self:flex-start;margin:2px 4px 0 0}body.touch #tvitals .tv{width:38px;height:38px}body.touch #minimap,body.touch #minimap-wrap canvas{width:84px;height:84px}body.touch #tmenu{grid-template-columns:repeat(2,44px);grid-auto-rows:44px}body.touch #chat-log{max-height:74px}body.touch #guide{top:calc(150px + var(--st));width:min(290px,calc(100vw - 480px));min-width:230px;padding:6px 10px 8px}body.touch #guide .g-title{font-size:15px;margin:2px 0 1px}body.touch #guide .g-text{font-size:13px;line-height:1.3}body.touch #guide .g-kicker{font-size:10px}body.touch #guide .g-track{margin-top:6px}body.touch #toast{top:calc(108px + var(--st));width:min(360px,calc(100vw - 2 * var(--sw) - 80px));padding:6px 12px 8px}body.touch #toast .t-name{font-size:28px}body.touch{--slot: clamp(26px, calc((100vw - 2 * (16px + var(--cw) + max(var(--sl), var(--sr)) + var(--bg)) - 50px) / 6), 46px)}body.touch #item-name{font-size:13px;min-height:16px}body.touch #stick{left:calc(16px + var(--sl));bottom:calc(16px + var(--sb))}body.touch.lefty #stick{left:auto;right:calc(16px + var(--sr))}body.touch #tbtns{bottom:max(calc(16px + var(--sr)),calc(16px + var(--sb)))}body.touch.lefty #tbtns{bottom:max(calc(16px + var(--sl)),calc(16px + var(--sb)))}body.touch #emotes{width:min(620px,calc(100vw - 20px))}body.touch #emotes .e-grid{grid-template-columns:repeat(4,minmax(0,1fr))}body.touch #build{top:calc(var(--gap) + var(--st));max-height:calc(100dvh - 20px - var(--st) - var(--sb))}body.touch #conn{bottom:auto;top:calc(var(--gap) + var(--st))}}#bigmap-wrap{position:fixed;inset:0;background:#080705d1;z-index:5}#bigmap{width:100%;height:100%;display:block;touch-action:none}#bigmap-wrap .bm-close{position:absolute;left:50%;transform:translate(-50%);bottom:calc(18px + env(safe-area-inset-bottom,0px));padding:7px 16px;font:17px var(--display);color:#f8ecd0;background:#6a2a1aeb;border:2px solid #3a1508;border-radius:8px;cursor:pointer}#login{position:fixed;inset:0;z-index:10;display:flex;overflow-y:auto;padding:calc(16px + env(safe-area-inset-top,0px)) calc(16px + env(safe-area-inset-right,0px)) calc(16px + env(safe-area-inset-bottom,0px)) calc(16px + env(safe-area-inset-left,0px));background:#2a160a}#login .scene{position:fixed;inset:0;z-index:-1;overflow:hidden;pointer-events:none}#login .scene-land{position:absolute;inset:0;background:#b8783c url(/art/title-autumn.webp) center / cover no-repeat;animation:scene-drift 50s ease-in-out infinite alternate}#login .scene:after{content:"";position:absolute;inset:0;background:radial-gradient(ellipse at 50% 48%,#28120600 35%,#28120680)}@keyframes scene-drift{0%{transform:scale(1.02)}to{transform:scale(1.1) translate(-1.5%,1%)}}#login .leaves i{position:absolute;top:-20px;left:var(--x);width:4px;height:4px;background:var(--c);box-shadow:4px 0 var(--c),0 4px var(--c),4px 4px var(--c),8px 8px #46230ae6;animation:leaf-fall var(--t) linear var(--d) infinite,leaf-turn 1.6s steps(1) infinite}@keyframes leaf-fall{0%{translate:0 0}25%{translate:calc(var(--s) * .6) 27vh}50%{translate:calc(var(--s) * -.2) 54vh}75%{translate:var(--s) 81vh}to{translate:calc(var(--s) * .3) calc(100vh + 40px)}}@keyframes leaf-turn{0%{scale:1 1}25%{scale:-1 1}50%{scale:-1 -1}75%{scale:1 -1}}#signin .si-ripple{animation:si-ripple 2.4s linear infinite}@keyframes si-ripple{to{transform:translate(27px)}}@keyframes scroll-in{0%{opacity:0;transform:translateY(16px)}}@media(prefers-reduced-motion:reduce){#login .scene-land,#signin .si-ripple,#login .scroll{animation:none!important}#login .leaves{display:none}}#login .scroll{margin:auto;width:min(460px,100%);padding:30px 34px 24px;color:var(--ink);text-align:center;background:linear-gradient(#f2e5c2,#dfc891);border:3px double #7a5424;border-radius:6px;box-shadow:0 20px 60px #000000b3;animation:scroll-in .7s ease-out}#login h1{font-family:var(--display);font-weight:400;font-size:min(34px,calc((min(460px,100vw - 32px) - 68px) / 11));white-space:nowrap;margin:0;color:#4a2a0e}#login .sub{font-style:italic;margin:4px 0 22px;opacity:.8}#login .field{display:block;text-align:left;font-size:17px;margin:12px 0 6px}#login input{display:block;width:100%;margin-top:6px;padding:9px 12px;font:18px var(--serif);color:var(--ink);background:#fbf3dc;border:2px solid #a8875a;border-radius:4px;outline:none}#login input:focus{border-color:#6a4314}#looks{display:flex;gap:16px;align-items:center;text-align:left}#look-preview,#look-pop .lp-preview{width:96px;height:120px;flex:none;image-rendering:pixelated;cursor:pointer;background:#6a43141f;border:2px solid rgba(58,34,10,.35);border-radius:6px}#look-open{width:100%;margin-top:8px;padding:6px 0;cursor:pointer;font:17px var(--display);color:#3a220a;background:#fff8e699;border:2px solid rgba(58,34,10,.35);border-radius:4px}#look-open{display:flex;align-items:center;justify-content:center;gap:8px}#look-open:hover{background:#fff8e6e6}.hanger-ico{width:22px;height:22px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}#look-pop,#data-pop{position:fixed;inset:0;z-index:11;display:flex;overflow-y:auto;background:#05050599;padding:calc(12px + env(safe-area-inset-top,0px)) calc(12px + env(safe-area-inset-right,0px)) calc(12px + env(safe-area-inset-bottom,0px)) calc(12px + env(safe-area-inset-left,0px))}#look-pop[hidden],#data-pop[hidden]{display:none}#look-pop .lp-box,#data-pop .lp-box{display:flex;flex-direction:column;max-height:100%;margin:auto;width:min(560px,100%);padding:16px 22px 18px;color:var(--ink);background:linear-gradient(#f2e5c2,#dfc891);border:3px double #7a5424;border-radius:6px;box-shadow:0 20px 60px #000000b3}#look-pop h2,#data-pop h2{font-family:var(--display);font-weight:400;font-size:24px;margin:0 0 12px;color:#4a2a0e;text-align:center}#look-pop .lp-body{flex:1 1 auto;min-height:0;display:grid;grid-template-columns:132px 1fr;grid-template-rows:minmax(0,1fr);gap:20px;align-items:start;text-align:left}#look-pop .look-opts{align-self:stretch;min-height:0;display:flex;flex-direction:column}#look-pop .look-picker{flex:1 1 auto;min-height:0}#look-pop .lk-pages{min-height:0;overflow-y:auto;overscroll-behavior:contain}#look-pop .lp-side,#dialog .avatar-side{position:sticky;top:0;display:flex;flex-direction:column;align-items:center;gap:10px}#look-pop .lp-preview,#dialog .avatar-preview{width:128px;height:160px;cursor:default;background:radial-gradient(ellipse 34% 4% at 50% 95%,rgba(58,34,10,.28),transparent),#6a43141a}@media(max-width:520px){#look-pop .lp-body{grid-template-columns:1fr;grid-template-rows:auto minmax(0,1fr);gap:12px}#look-pop .lp-side,#dialog .avatar-side{position:static;flex-direction:row;justify-content:center;gap:16px}#look-pop .lp-preview,#dialog .avatar-preview{width:80px;height:100px}}#look-pop .lp-done,#data-pop .lp-done{display:block;margin:14px auto 0;padding:8px 36px;font:19px var(--display);cursor:pointer;color:#f8ecd0;background:#6a2a1a;border:2px solid #3a1508;border-radius:4px}#look-pop .lp-done:hover{background:#7e3420}.look-opts{flex:1;min-width:0}.look-label{font-size:15px;margin:8px 0 4px}.look-kind{display:flex;gap:6px}.look-kind button{flex:1;padding:6px 0;font:17px var(--display);cursor:pointer;color:#3a220a;background:#fff8e699;border:2px solid rgba(58,34,10,.35);border-radius:4px}.look-kind button.sel{color:#f8ecd0;background:#6a2a1a;border-color:#3a1508}.look-hands{gap:12px}.look-hands button{display:flex;align-items:center;justify-content:center;padding:3px 0}.hand-ico{width:28px;height:28px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.hand-ico.two{width:calc(28px * 46 / 24)}.look-picker{display:flex;flex-direction:column;gap:12px}:is(#look-pop,#dialog) .look-picker .lk-tabs{display:grid;grid-template-columns:repeat(4,1fr);gap:3px;padding:3px;border-radius:999px;background:#3a220a1f;border:1px solid rgba(58,34,10,.18)}:is(#look-pop,#dialog) .look-picker .lk-tabs button{min-width:0;padding:5px 4px;font:15px var(--serif);color:#5a3a18;cursor:pointer;background:transparent;border:0;border-radius:999px}:is(#look-pop,#dialog) .look-picker .lk-tabs button:hover{color:#2a1606;filter:none}:is(#look-pop,#dialog) .look-picker .lk-tabs button.sel{color:#f8ecd0;background:#6a2a1a}.look-picker .lk-pages{display:grid}.look-picker .lk-sec{grid-area:1 / 1}.look-picker .lk-sec.lk-off{visibility:hidden}.look-picker .lk-now,.look-picker .lk-sub{font-size:14px;font-style:italic;color:#5a3a18}.look-picker .lk-now{margin-bottom:8px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.look-picker .lk-tiles{display:grid;grid-template-columns:repeat(var(--cols),minmax(0,1fr));gap:6px}:is(#look-pop,#dialog) .look-picker .lk-tiles button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-width:0;padding:4px 2px;font:12px var(--serif);color:#3a220a;cursor:pointer;background:#fff8e68c;border:2px solid rgba(58,34,10,.22);border-radius:5px}.look-picker .lk-tiles span{font-size:11.5px;letter-spacing:-.02em;white-space:nowrap}@media(max-width:520px),(orientation:landscape)and (max-height:540px){.look-picker .lk-tiles span{font-size:10px}}:is(#look-pop,#dialog) .look-picker .lk-tiles button:has(span){padding:4px 0}.look-picker .lk-tiles canvas{width:100%;max-width:48px;height:auto;aspect-ratio:16 / 11;image-rendering:pixelated}.look-picker .lk-swatches{display:grid;grid-template-columns:repeat(var(--cols),minmax(0,1fr));gap:6px;justify-items:center}.look-picker .lk-swatches[aria-label="Hair colour"]{row-gap:8px}.look-picker .lk-tiles+.lk-swatches,.look-picker .lk-swatches+.lk-tiles{margin-top:8px}:is(#look-pop,#dialog) .look-picker .lk-swatches button{width:100%;max-width:30px;height:auto;min-height:0;aspect-ratio:1;padding:0;cursor:pointer;border:2px solid rgba(0,0,0,.22);border-radius:50%}:is(#look-pop,#dialog) .look-picker .lk-seg{display:flex;border:2px solid rgba(58,34,10,.3);border-radius:5px}:is(#look-pop,#dialog) .look-picker .lk-seg button{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;padding:5px 10px;font:14px var(--serif);line-height:1.1;color:#3a220a;cursor:pointer;background:#fff8e68c;border:0;border-radius:0}:is(#look-pop,#dialog) .look-picker .lk-seg button+button{border-left:1px solid rgba(58,34,10,.3)}:is(#look-pop,#dialog) .look-picker .lk-seg button:first-child{border-radius:3px 0 0 3px}:is(#look-pop,#dialog) .look-picker .lk-seg button:last-child{border-radius:0 3px 3px 0}.look-picker .pad-focus{position:relative;z-index:1}:is(#look-pop,#dialog) .look-picker .lk-back button{gap:6px;padding:14px 4px 12px;font-size:16px}.look-picker .lk-back .lk-ico{width:40px;height:40px;stroke-width:1.5}:is(#look-pop,#dialog) .look-picker .lk-tiles button.sel{background:#fbf3dc;border-color:#6a2a1a;box-shadow:0 0 0 1px #6a2a1a}:is(#look-pop,#dialog) .look-picker .lk-swatches button.sel{border-color:#fbf3dc;box-shadow:0 0 0 2px #6a2a1a}:is(#look-pop,#dialog) .look-picker .lk-seg button.sel{color:#f8ecd0;background:#6a2a1a}.look-picker .lk-line{display:grid;grid-template-columns:56px 1fr;align-items:center}.look-picker .lk-line+.lk-line{margin-top:10px}.look-picker .lk-line .lk-seg{justify-self:start}.lk-ico{width:22px;height:22px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}:is(#look-pop,#dialog) .lk-random{display:flex;align-items:center;gap:6px;padding:5px 12px;font:15px var(--serif);color:#3a220a;cursor:pointer;background:#fff8e68c;border:2px solid rgba(58,34,10,.3);border-radius:5px}:is(#look-pop,#dialog) .lk-random:hover{background:#fff8e6e6;filter:none}#enter{margin-top:24px;width:100%;padding:12px;font:22px var(--display);cursor:pointer;color:#f8ecd0;background:#6a2a1a;border:2px solid #3a1508;border-radius:4px}#enter:hover:not(:disabled){background:#7e3420}#enter:disabled{opacity:.6;cursor:wait}#login .hint{font-size:14px;opacity:.75;margin:16px 0 0;line-height:1.4}@media(max-width:640px){#minimap,#minimap-wrap canvas{width:110px;height:110px}#loc-name{font-size:19px}}#news{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);z-index:7;width:min(520px,calc(100vw - 24px));max-height:calc(100dvh - 32px);display:flex;flex-direction:column;padding:16px 22px 18px;background:linear-gradient(#f2e5c2,#dfc891);color:var(--ink);border:3px double #7a5424;border-radius:6px;box-shadow:0 20px 60px #000000b3}#news .n-head{display:flex;justify-content:space-between;align-items:center}#news h2{font-family:var(--display);font-weight:400;font-size:26px;margin:0;color:#4a2a0e}#news .n-close{padding:2px 12px;font-size:22px;cursor:pointer;color:#f8ecd0;background:#6a2a1a;border:2px solid #3a1508;border-radius:4px}#news .n-body{overflow-y:auto;margin:6px 0 12px;padding-right:10px}#news h3{font-family:var(--display);font-weight:400;font-size:19px;margin:12px 0 4px;border-bottom:1px solid #b89a62}#news ul{margin:0;padding-left:20px;font-size:15px;line-height:1.4}#news li{margin:3px 0}#news .n-ok{align-self:center;padding:8px 28px;font:19px var(--display);cursor:pointer;color:#f8ecd0;background:#6a2a1a;border:2px solid #3a1508;border-radius:4px}#petname{position:fixed;left:50%;top:40%;transform:translate(-50%,-50%);z-index:8;width:min(320px,calc(100vw - 24px));padding:12px 16px 14px;display:flex;flex-direction:column;gap:8px;background:#18120cf7}#petname .pn-title{font-family:var(--display);font-size:20px;color:#e3c06a}#petname input{padding:7px 10px;font-size:17px;font-family:inherit;color:#2b1d10;background:#f8f0dc;border:2px solid #8a6a36;border-radius:4px}#petname button{padding:6px;font-size:16px}#journal .deeds{display:grid;grid-template-columns:1fr auto;gap:2px 16px;font-size:15px}#journal .deeds span{border-bottom:1px dotted rgba(122,84,36,.35)}#journal .deeds b{font-weight:400;font-family:var(--display);text-align:right}#journal .achs{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:6px 14px}#journal .ach{display:flex;flex-direction:column;opacity:.55}#journal .ach.done{opacity:1}#journal .ach b{font-weight:400;font-family:var(--display);font-size:16px}#journal .ach.done b{color:#7a4a10}#journal .ach span{font-size:13px;font-style:italic}#journal .bosses{display:flex;flex-direction:column;gap:8px}#journal .boss{display:flex;align-items:center;gap:12px;opacity:.6}#journal .boss.done{opacity:1}#journal .boss img{width:40px;height:40px;image-rendering:pixelated;flex:none;background:#1a120a;border:2px solid #8a8478;border-radius:50%;padding:4px;box-sizing:border-box}#journal .boss.done img{border-color:#d8b048}#journal .boss div{display:flex;flex-direction:column}#journal .boss b{font-weight:400;font-family:var(--display);font-size:16px}#journal .boss.done b{color:#7a4a10}#journal .boss span{font-size:13px;font-style:italic}#journal .boss .boss-state{font-style:normal}#journal .deeds-note{font-size:13px;margin-top:8px}#journal ul.churches{margin:4px 0 0;padding-left:20px;columns:2;column-gap:24px;font-size:14px}#journal ul.churches li{break-inside:avoid;margin:1px 0}#login .credit{font-size:12px;opacity:.75;margin-top:18px}#signin{margin-top:12px}#signin .si-art{display:block;width:220px;max-width:75%;height:auto;margin:0 auto 10px}#signin .si-buttons{display:flex;flex-direction:column;gap:8px;align-items:center}#signin .si-buttons :is(a,button){display:inline-flex;align-items:center;justify-content:center;gap:10px;font-family:inherit;font-weight:400!important;cursor:pointer;min-width:240px;padding:9px 16px;border-radius:6px;text-decoration:none;font-size:17px;border:1px solid #7a5424;background:#f6ecd2;color:#2b1d10}#signin .si-buttons :is(a,button):hover{background:#fff6e0}#signin .si-buttons svg{width:18px;height:18px;flex:none}#signin .si-back{display:inline-flex;align-items:center;gap:6px;padding:4px 8px;font:15px var(--serif);font-weight:400!important;color:var(--ink);background:none;border:none;cursor:pointer;text-decoration:underline;text-underline-offset:3px}#signin .si-back svg{width:16px;height:16px;flex:none}#signin .si-back:hover{color:#6a2a14}#signin .si-dev{display:flex;gap:6px;justify-content:center;margin-top:10px}#signin .si-error{color:#a82828}#signin .si-email{max-width:320px;margin:6px auto 0}#signin .em-form input{margin-top:8px;font-size:17px;padding:7px 10px}#signin .em-form button[type=submit]{width:100%;margin-top:10px;padding:8px;font:18px var(--display);cursor:pointer;color:#f8ecd0;background:#6a2a1a;border:2px solid #3a1508;border-radius:4px}#signin .em-form button[type=submit]:hover:not(:disabled){background:#7e3420}#signin .em-form button[type=submit]:disabled{opacity:.6;cursor:wait}#signin .em-links{font-size:14px;margin:8px 0 0}#signin .em-msg{font-size:15px;margin:10px 0 0}#signin .em-msg.bad{color:#a82828}#login .name-error{margin:4px 0 0;text-align:left;font-size:15px;color:#a82828}#login .si-who{font-size:13px;opacity:.8;margin-top:8px}button.link{background:none;border:none;padding:0;color:inherit;text-decoration:underline;cursor:pointer;font:inherit}#login .credit a,#login .credit .link{color:inherit}#data-pop .lp-box{width:min(460px,100%);text-align:left;font-size:15px;line-height:1.45;overflow-y:auto;overscroll-behavior:contain}#data-pop .dp-row{display:flex;gap:10px;align-items:flex-start;cursor:pointer}#data-pop .dp-row input{width:20px;height:20px;flex:none;margin-top:2px;accent-color:#6a2a1a}#data-pop .dp-row b{display:block}#data-pop p{margin:14px 0 0}#data-pop a{color:#6a2a1a}#login .share-icon{width:1.15em;height:1.15em;vertical-align:-.2em;color:#2a6ad0}@media(orientation:landscape)and (max-height:540px){#login{padding-top:calc(8px + env(safe-area-inset-top,0px));padding-bottom:calc(8px + env(safe-area-inset-bottom,0px))}#login .scroll{width:min(740px,100%);padding:12px 22px 10px}#login h1{font-size:28px}#login .sub{margin:0 0 6px;font-size:14px}#login .field{margin:6px 0 4px}#login input{padding:6px 10px;font-size:17px}#profile{display:grid;grid-template-columns:1fr 1.25fr;column-gap:22px;align-items:start}#profile>label.field{grid-column:1;grid-row:1}#looks{grid-column:2;grid-row:1 / span 3;gap:12px}#look-preview{width:64px;height:80px}#look-open{margin-top:0}.look-label{margin:4px 0 3px}#look-pop .lp-box{width:min(680px,100%);padding:8px 18px 10px}#look-pop h2{font-size:20px;margin-bottom:4px}#look-pop .lp-body{grid-template-columns:112px 1fr;gap:14px}#look-pop .lp-side{position:sticky;flex-direction:column;gap:8px}#look-pop .look-picker .lk-tiles[aria-label="Hair style"]{grid-template-columns:repeat(8,minmax(0,1fr))}#look-pop .look-picker .lk-tiles[aria-label=Clothes]{grid-template-columns:repeat(6,minmax(0,1fr))}#look-pop .look-picker .lk-swatches[aria-label="Hair colour"]{grid-template-columns:repeat(12,minmax(0,1fr));row-gap:5px}#look-pop .look-picker{gap:8px}#look-pop .look-picker .lk-now{margin-bottom:5px}#look-pop .look-picker .lk-swatches button{max-width:26px}#look-pop .look-picker .lk-tiles+.lk-swatches,#look-pop .look-picker .lk-swatches+.lk-tiles{margin-top:6px}#look-pop .lp-preview{width:64px;height:80px}#look-pop .lp-done{margin-top:6px;padding:5px 30px}#enter{grid-column:1;grid-row:2;margin-top:8px}#login .si-who{grid-column:1;grid-row:3;margin-top:6px}#signin{margin-top:8px}#signin .si-art{width:120px;margin-bottom:6px}#login .hint{margin-top:8px;font-size:13px}#login .hint:not(.credit):not(.app-opts):not(.app-how){display:none}}.admin-tag{display:inline-block;background:#a3241c;color:#fff2d0;border:1px solid #ffd34a;border-radius:3px;font:700 10px Georgia,serif;letter-spacing:.06em;text-transform:uppercase;padding:0 4px;margin-right:5px;vertical-align:1px}#dialog .stats-grid{display:grid;grid-template-columns:auto 1fr auto 1fr;gap:2px 12px;font-size:15px;margin-top:6px}#dialog .stats-grid .k{opacity:.75}#dialog .stats-grid .v{font-weight:700}#dialog .stats-note{font-size:13px;font-style:italic;opacity:.7;margin-top:8px}@media(max-width:480px){#dialog .stats-grid{grid-template-columns:auto 1fr}}#dialog .stats-head{font-size:13px;letter-spacing:.15em;text-transform:uppercase;color:#7a5424;margin:10px 0 3px}#dialog .stats-items{display:flex;flex-wrap:wrap;gap:4px}#dialog .stats-item{position:relative;width:32px;height:32px;background:#5a3c1926;border:1px solid rgba(90,60,25,.35);border-radius:3px}#dialog .stats-item img{width:24px;height:24px;margin:4px;padding:2px;background:#281a0cbf;border-radius:3px}#dialog .stats-item b{position:absolute;right:2px;bottom:0;font-size:11px;color:#fff2d0;text-shadow:0 0 2px #000,0 0 2px #000}#dialog .stats-empty{font-size:14px;font-style:italic;opacity:.6}#dialog .d-text:has(.stats-grid){max-height:calc(100dvh - 190px);overflow-y:auto}#dialog .stats-item b{font-size:12px}#dialog .avatar-shop{display:grid;grid-template-columns:132px 1fr;gap:20px;align-items:start;text-align:left}#dialog .avatar-preview{image-rendering:pixelated;border:2px solid rgba(58,34,10,.35);border-radius:6px}@media(max-width:520px){#dialog .avatar-shop{grid-template-columns:1fr;gap:12px}}#dialog .d-text:has(.avatar-shop){max-height:calc(100dvh - 190px);overflow-y:auto;padding-right:8px}#dialog .avatar-note{font-size:15px;font-style:italic;margin-top:10px;opacity:.8}#dialog .d-actions button:disabled{opacity:.45;cursor:default;filter:none}#dialog .d-text:has(.gear-row){max-height:calc(100dvh - 190px);overflow-y:auto}#dialog .gear-gold{font-size:15px;font-style:italic;opacity:.8}#dialog .gear-row{display:grid;grid-template-columns:28px 1fr auto;align-items:center;gap:2px 10px;padding:4px 0;border-bottom:1px solid rgba(90,60,25,.15)}#dialog .gear-row img{width:24px;height:24px;padding:2px;background:#281a0cbf;border-radius:3px}#dialog .gear-row .nm{font-size:16px;font-weight:700}#dialog .gear-row .wt{font-size:14px;opacity:.75}#dialog .gear-row button{font-size:14px;padding:4px 10px}#dialog .gear-row .acts{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}.pad-focus{outline:3px solid #ffd34a!important;outline-offset:2px;box-shadow:0 0 10px #ffd34acc!important}#dialog .home-row img{width:40px;height:30px;padding:2px}#dialog .home-row{grid-template-columns:44px 1fr auto}#dialog .home-name,#dialog .postcode-input{width:100%;box-sizing:border-box;font:16px var(--serif);padding:3px 6px;border:2px solid #8a6a36;border-radius:3px;background:#fff8e8;color:var(--ink)}#stats{position:fixed;top:calc(8px + env(safe-area-inset-top,0px));left:50%;transform:translate(-50%);z-index:9;pointer-events:none;box-sizing:border-box;max-width:calc(100vw - 16px);overflow:hidden;color:#e4eedd;background:#0c100cd6;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);border:1px solid rgba(160,220,140,.22);border-radius:10px;box-shadow:0 8px 24px #0006}#stats .st-head{display:flex;align-items:center;gap:5px;padding:5px 5px 5px 12px;background:#a0dc8c0f;border-bottom:1px solid rgba(160,220,140,.16)}#stats .st-title{flex:1;margin-right:12px;font:700 13px/1 system-ui,sans-serif;letter-spacing:.04em;color:#b8e8a0}#stats .st-rows{max-height:300px;overflow:hidden auto;overscroll-behavior:contain;pointer-events:auto;padding:7px 12px 9px;font:12px/1.5 ui-monospace,Consolas,Courier New,monospace;white-space:pre;scrollbar-width:thin;scrollbar-color:rgba(160,220,140,.35) transparent}#stats .st-sec:not(:first-child){margin-top:6px;padding-top:6px;border-top:1px solid rgba(160,220,140,.1)}#stats b{display:block;margin-bottom:1px;font:600 10px/1.3 system-ui,sans-serif;letter-spacing:.09em;text-transform:uppercase;color:#8fcf72}#stats .st-head button{height:24px;padding:0;pointer-events:auto;cursor:pointer;font:600 12px/1 system-ui,sans-serif;color:#e4eedd;background:#a0dc8c1f;border:1px solid rgba(160,220,140,.28);border-radius:6px}#stats .st-head button:hover{background:#a0dc8c42}#stats .st-copy,#stats .st-send{width:58px}#stats .st-close{width:24px;font-size:17px;background:transparent;border-color:transparent}#stats .st-send:disabled{cursor:default;opacity:.75}body.touch #stats .st-head button{height:30px;font-size:14px}body.touch #stats .st-copy,body.touch #stats .st-send{width:66px}body.touch #stats .st-close{width:30px;font-size:21px}body.touch #stats .st-rows{font-size:11px}body.no-tags .admin-tag{display:none}.admin-tag.user-tag{background:#2a4a8a;border-color:#a8c8ff;text-transform:none;letter-spacing:.02em}:is(#loc-name,#login h1,#journal h2,#controls h2,#tips h2,#settings h2,#news h2,#death h2,#toast .t-name,#announce .a-kicker,#dialog .d-name,#chest .c-head,#trade .t-head,#build .t-head,#players .p-head,#petname .pn-title,#bigmap-wrap h2){font-family:var(--title);font-weight:700;letter-spacing:.02em}button:not(.link){font-weight:700!important}:is(#journal,#controls,#tips,#settings,#news,#trade,#build,#dialog,#guide) :is(h3,.g-title){font-weight:800}:is(.slot .n,.slot .k){font-weight:700!important}#players .p-hint,#players .p-close{font-family:var(--serif)}:is(#controls,#tips,#settings) .k-head button{padding:4px 14px;font:15px var(--serif);color:#f3e3b0;cursor:pointer;background:#fff0c80f;border:1px solid rgba(227,192,106,.45);border-radius:6px}:is(#controls,#tips,#settings) .k-head button:hover{background:#e3c06a29;border-color:#e3c06a}:is(#controls,#tips,#settings) .k-head :is(.k-close,.s-close){font-size:20px;line-height:1;padding:4px 11px;color:#f8ecd0;background:#6a2a1a;border-color:#3a1508}
