:root{--ui-font:12px/1.45 Tahoma, "Segoe UI", "Leelawadee UI", "Noto Sans Thai", sans-serif;--ui-text:#1f2740;--ui-muted:#64708f;--ui-faint:#9ba4bc;--ui-title:#1a2747;--ui-bg:#f3f6fb;--ui-bg-sunken:#e8edf6;--ui-panel:#fff;--ui-border:#7d90bd;--ui-border-soft:#b5c2de;--ui-line:#d7deec;--ui-head:linear-gradient(#fdfeff 0%, #e9effa 46%, #d4dff3 54%, #c5d3ee 100%);--ui-accent:#3b62b3;--ui-accent-light:#6b90da;--ui-accent-fill:linear-gradient(#6f93dd, #3b62b3);--ui-accent-fill-hover:linear-gradient(#7d9fe5, #4169bb);--ui-accent-border:#2a4888;--ui-selected:#e0e9fa;--ui-focus:#e9b23a;--ui-danger:#b3261e;--ui-radius:6px;--ui-shadow:0 10px 28px #0408146b, 0 2px 6px #04081438}html,body{height:100%;color:var(--ui-text);font:var(--ui-font);background:#05070d;margin:0;overflow:hidden}canvas{display:block}[hidden]{display:none!important}#app{background:radial-gradient(at 50% 30%,#283458 0%,#111727 55%,#05070d 100%);position:fixed;inset:0}#app canvas{touch-action:none;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;opacity:0;transition:opacity 1.4s}#app.ready canvas{opacity:1}#hud{z-index:10;color:#fff;text-shadow:0 0 2px #000;pointer-events:none;white-space:pre;text-align:right;font:12px/1.4 monospace;position:fixed;bottom:8px;right:8px}#hud[hidden],#loading[hidden]{display:none}#loading{z-index:60;box-sizing:border-box;color:#f2f5ff;text-align:center;width:min(300px,100vw - 32px);box-shadow:var(--ui-shadow);background:#0a0e1cd6;border:1px solid #ffffff24;border-radius:8px;flex-direction:column;gap:7px;padding:10px 14px 12px;display:flex;position:fixed;bottom:14%;left:50%;transform:translate(-50%)}#loading.failed{background:#2e0c10eb;border-color:#ff786e99}#loading.failed .bar{display:none}#loading .bar{background:#ffffff24;border-radius:3px;height:6px;display:block;overflow:hidden}#loading .bar>i{border-radius:inherit;background:linear-gradient(90deg,#d99a2b,#ffd978);width:0;height:100%;transition:width .25s;display:block}button{font:inherit;color:var(--ui-text);border:1px solid var(--ui-border-soft);cursor:pointer;background:linear-gradient(#fff,#e4eaf6);border-radius:4px;padding:4px 10px;transition:border-color .12s,color .12s,box-shadow .12s;box-shadow:inset 0 1px #ffffffe6,0 1px 1px #101c4014}button:hover:not(:disabled){background:linear-gradient(#fff,#d8e3f7);border-color:#93a6d1}button:active:not(:disabled){background:linear-gradient(#dbe4f5,#eef2fa);box-shadow:inset 0 1px 3px #101c4038}button:disabled{color:var(--ui-faint);cursor:default;box-shadow:none;background:linear-gradient(#f8f9fc,#edf0f6)}button:focus-visible,input:focus-visible{outline:2px solid var(--ui-focus);outline-offset:1px}button.primary,button.active,button[aria-pressed=true],button[aria-expanded=true]{color:#fff;background:var(--ui-accent-fill);border-color:var(--ui-accent-border);text-shadow:0 1px #00000040;box-shadow:inset 0 1px #ffffff47}button.primary:hover:not(:disabled),button.active:hover:not(:disabled),button[aria-pressed=true]:hover:not(:disabled),button[aria-expanded=true]:hover:not(:disabled){background:var(--ui-accent-fill-hover);border-color:var(--ui-accent-border)}button.primary{padding:7px 18px;font-weight:700}button.primary:disabled{color:var(--ui-faint);text-shadow:none;border-color:var(--ui-border-soft);box-shadow:none;background:linear-gradient(#f8f9fc,#edf0f6)}input,select{min-width:0;font:inherit;color:var(--ui-text);border:1px solid var(--ui-border-soft);background:var(--ui-panel);border-radius:4px;padding:5px 8px;box-shadow:inset 0 1px 2px #101c4014}input:focus{border-color:var(--ui-accent-light);outline:none;box-shadow:0 0 0 2px #6b90da4d}input[readonly]{color:var(--ui-muted);background:var(--ui-bg-sunken)}input[type=range]{accent-color:var(--ui-accent)}.seg{display:flex}.seg>button{border-radius:0;flex:1;margin-left:-1px}.seg>button:first-child{border-radius:4px 0 0 4px;margin-left:0}.seg>button:last-child{border-radius:0 4px 4px 0}.seg>button.active{position:relative}.chips{flex-wrap:wrap;gap:6px;display:flex}.chips-label{color:var(--ui-muted);flex-basis:100%;margin-top:2px;font-size:11px}.chip{align-items:center;gap:6px;min-height:30px;padding:3px 10px;display:inline-flex}.chip:has(.icon){padding-left:4px}.icon{background-image:var(--icons);width:24px;height:24px;image-rendering:pixelated;background-repeat:no-repeat;flex:none}.icon.empty{box-shadow:inset 0 0 0 1px var(--ui-line);background:#ffffff80;border-radius:4px}.window{color:var(--ui-text);background:linear-gradient(#f9fbfe, var(--ui-bg));border:1px solid var(--ui-border);border-radius:var(--ui-radius);box-shadow:var(--ui-shadow), inset 0 1px 0 #fffc}.window>header{color:var(--ui-title);text-shadow:0 1px #ffffffd9;background:var(--ui-head);border-radius:calc(var(--ui-radius) - 1px) calc(var(--ui-radius) - 1px) 0 0;border-bottom:1px solid #93a5cf;padding:5px 10px;font-weight:700;box-shadow:inset 0 1px #fff}.window>header.has-tools{align-items:center;gap:8px;padding-right:5px;display:flex}.window>header .title{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.title-tools{flex:none;gap:3px;display:flex}.title-tools button{width:20px;height:20px;text-shadow:none;place-items:center;padding:0;font-weight:700;line-height:1;display:grid}.title-tools svg,.show-ui svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:14px;height:14px}.window>footer{background:linear-gradient(var(--ui-bg), #e7ecf6);border-top:1px solid var(--ui-line);border-radius:0 0 var(--ui-radius) var(--ui-radius);justify-content:flex-end;align-items:center;gap:8px;padding:10px 14px;display:flex}.menu-wrap{z-index:10;flex-direction:column;gap:6px;width:252px;display:flex;position:fixed;top:8px;left:8px}.menu-body{padding:7px 8px 8px}.title-job{color:var(--ui-muted);margin-left:3px;font-size:11px;font-weight:400}.menu-buttons{grid-template-columns:repeat(6,minmax(0,1fr));gap:4px;display:grid}.menu-buttons button{white-space:nowrap;grid-column:span 3;padding:3px 6px}.menu-buttons:has(>[data-mount]:not([hidden]))>:nth-child(-n+3){grid-column:span 2}.menu-buttons button[hidden]{display:none}.menu-buttons [data-toggle-actions]:after{content:"▾";margin-left:5px;font-size:10px}.menu-buttons [data-toggle-actions][aria-expanded=true]:after{content:"▴"}.menu-buttons [data-sound]{justify-content:center;align-items:center;gap:5px;display:flex}.menu-buttons [data-sound]:after{content:"▾";font-size:10px}.menu-buttons [data-sound][aria-expanded=true]:after{content:"▴"}.menu-buttons [data-sound] svg,.sound-icon svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:14px;height:14px}.sound-panel{z-index:1;width:100%;position:absolute;left:0}.sound-panel[hidden]{display:none}.sound-rows{flex-direction:column;gap:12px;padding:10px 12px 12px;display:flex}.sound-line{align-items:center;gap:8px;display:flex}.sound-icon{width:22px;height:22px;color:var(--ui-accent);background:var(--ui-selected);border-radius:50%;place-items:center;display:grid}.sound-name{color:var(--ui-title);flex:1;font-weight:700}.sound-volume{align-items:center;gap:8px;margin:6px 0 0 30px;display:flex}.sound-volume input{min-width:0;accent-color:var(--ui-accent);box-shadow:none;cursor:pointer;background:0 0;border:none;flex:1;margin:0;padding:0}.sound-volume output{font-variant-numeric:tabular-nums;width:34px;color:var(--ui-muted);text-align:right;font-size:11px}.sound-row.off .sound-icon{color:var(--ui-faint);background:var(--ui-bg-sunken)}.sound-row.off .sound-name,.sound-row.off output{color:var(--ui-faint)}.sound-row.off input{cursor:default;opacity:.45}.switch,.switch:hover:not(:disabled),.switch:active:not(:disabled){background:#c3cbdd;border:1px solid #a7b3cd;border-radius:11px;flex:none;width:38px;height:21px;padding:0;transition:background-color .15s,border-color .15s;position:relative;box-shadow:inset 0 1px 2px #101c4038}.switch span{background:linear-gradient(#fff,#eef2fa);border-radius:50%;width:17px;height:17px;transition:transform .15s;position:absolute;top:1px;left:1px;box-shadow:0 1px 3px #101c4059}.switch[aria-checked=true],.switch[aria-checked=true]:hover:not(:disabled){background:var(--ui-accent-fill);border-color:var(--ui-accent-border)}.switch[aria-checked=true] span{transform:translate(17px)}@media (pointer:coarse){.switch,.switch:hover:not(:disabled),.switch:active:not(:disabled){border-radius:13px;width:46px;height:26px}.switch span{width:22px;height:22px}.switch[aria-checked=true] span{transform:translate(20px)}}.status{background:#e0a43a;border-radius:50%;flex:none;width:9px;height:9px;margin-right:-3px;box-shadow:0 0 0 1px #1a274740,inset 0 1px 1px #ffffff8c}.status.online{background:#3fb54c}.status.offline{background:#d9473c}.actions{grid-template-columns:1fr 1fr;gap:4px;padding:6px;display:grid}.actions[hidden]{display:none}.actions button{text-align:left;white-space:nowrap;align-items:center;gap:7px;padding:4px 8px;display:flex}.actions kbd{text-align:center;color:#2c3f6e;border:1px solid var(--ui-border-soft);background:linear-gradient(#f5f8fd,#dbe3f3);border-radius:3px;min-width:14px;padding:3px 2px;font:700 10px/1 Tahoma,sans-serif;box-shadow:0 1px #101c4026}.help{z-index:25;width:min(430px,100vw - 16px);max-height:calc(100dvh - 20px);position:fixed;top:10px;left:50%;overflow-y:auto;transform:translate(-50%)}.help[hidden]{display:none}.help dl{grid-template-columns:max-content 1fr;gap:6px 14px;margin:0;padding:10px 14px 12px;display:grid}.help dt{color:#2c3f6e;font-weight:700}.help dd{margin:0}.town-button{min-width:0;color:var(--ui-title);white-space:nowrap;align-items:center;gap:5px;padding:1px 7px;font-weight:700;display:flex}.town-button:after{content:"▾";font-size:10px}.town-button[aria-expanded=true]:after{content:"▴"}.warp-anchor{z-index:1;position:relative}.warp{width:max(100% - 6px,210px);max-height:calc(100dvh - 60px);position:absolute;top:3px;right:3px;overflow-y:auto}.warp-list{flex-direction:column;gap:3px;margin:0;padding:6px;list-style:none;display:flex}.warp-list button{text-align:left;justify-content:space-between;align-items:baseline;gap:10px;width:100%;padding:4px 9px;display:flex}.warp-name{font-weight:700}.warp-count{color:var(--ui-muted);font-size:11px}.warp-list button.here,.warp-list button.here:disabled{color:var(--ui-text);background:var(--ui-selected);border-color:var(--ui-accent-light);box-shadow:inset 3px 0 0 var(--ui-accent)}.show-ui{z-index:10;opacity:.55;border-radius:14px;align-items:center;gap:6px;padding:4px 10px;display:none;position:fixed;top:8px;left:8px}.show-ui:hover,.show-ui:focus-visible{opacity:1}body.ui-hidden .show-ui{display:flex}body.ui-hidden .menu-wrap,body.ui-hidden .right-column,body.ui-hidden .chat,body.ui-hidden .help{display:none}.right-column{z-index:10;pointer-events:none;flex-direction:column;align-items:flex-end;gap:6px;max-height:calc(100dvh - 16px);display:flex;position:fixed;top:8px;right:8px}.right-column>*{pointer-events:auto}.minimap{flex:none;width:186px;position:relative}.minimap>header{justify-content:space-between;align-items:center;gap:8px;padding:3px 9px 3px 3px;display:flex}.map-players{font-variant-numeric:tabular-nums;color:var(--ui-muted);flex:none;align-items:center;gap:2px;font-size:11px;font-weight:400;display:inline-flex}.map-players[hidden]{display:none}.map-players svg{fill:none;stroke:currentColor;stroke-width:2.4px;stroke-linecap:round;width:11px;height:11px}.window>.fold-bar{width:100%;height:13px;color:var(--ui-muted);text-align:center;background:linear-gradient(var(--ui-bg), #dfe6f3);border:none;border-top:1px solid var(--ui-line);border-radius:0 0 calc(var(--ui-radius) - 1px) calc(var(--ui-radius) - 1px);box-shadow:none;text-shadow:none;padding:0;font-size:9px;line-height:11px;display:block}.window>.fold-bar:hover:not(:disabled){color:var(--ui-accent);border-top-color:var(--ui-line);background:linear-gradient(#fff,#d6e1f6)}.menu.folded .menu-body,.minimap.folded canvas,.shop-own.folded .shop-owner,.shop-own.folded .shop-items,.shop-own.folded>footer,.room.folded>:not(header):not(.fold-bar){display:none}.map-coords{font-variant-numeric:tabular-nums;color:#fff;background:#10182c9e;border-radius:8px;padding:0 4px;font-size:11px;font-weight:700;position:absolute;bottom:22px;left:8px}.minimap.folded .map-coords{display:none}.minimap canvas{border-radius:3px;width:178px;height:178px;margin:4px;box-shadow:0 0 0 1px #1a274759}html.halloween{--event-band:linear-gradient(#220c30e6, #220c30b3);--event-line:#ff8c28b3;--event-text:#ffb04a;--event-glow:#ff781499;--event-shade:#3c005ae6;--ui-title:#3a1f4a;--ui-border:#9b7fb6;--ui-border-soft:#cdbadf;--ui-head:linear-gradient(#fffaf3 0%, #fdeedd 46%, #f8dabd 54%, #f2c79c 100%);--ui-accent:#d6661e;--ui-accent-light:#f29b4c;--ui-accent-fill:linear-gradient(#f6a556, #d6661e);--ui-accent-fill-hover:linear-gradient(#f9b46c, #df7226);--ui-accent-border:#96440f;--ui-selected:#fdecdb;--ui-focus:#8e4cb0}html.loykrathong{--event-band:linear-gradient(#0e143aeb, #0e143abd);--event-line:#f4c860bf;--event-text:#ffd27a;--event-glow:#ffba4699;--event-shade:#0a0e3ce6;--ui-title:#222a5c;--ui-border:#8b8cc6;--ui-border-soft:#c9c8e6;--ui-head:linear-gradient(#fffdf6 0%, #fbf0d8 46%, #f5deae 54%, #edc983 100%);--ui-accent:#c2477a;--ui-accent-light:#e486ab;--ui-accent-fill:linear-gradient(#ec8db3, #c2477a);--ui-accent-fill-hover:linear-gradient(#f29dc0, #cb5284);--ui-accent-border:#8a2a55;--ui-selected:#fbe7ef;--ui-focus:#d9a520}html.christmas{--event-band:linear-gradient(#780e0af0, #780e0acc);--event-line:#f4c860d9;--event-text:#fff4d6;--event-glow:#ffc85a8c;--event-shade:#460604e6;--ui-title:#8f1610;--ui-muted:#6e4f49;--ui-faint:#7d5f59;--ui-border:#8f1610;--ui-border-soft:#e7b3ae;--ui-line:#f0d6d2;--ui-head:linear-gradient(#c8352a 0%, #b02a20 46%, #96201a 54%, #7e1712 100%);--ui-accent:#1f7a3a;--ui-accent-light:#4caf6a;--ui-accent-fill:linear-gradient(#2a7f44, #17602c);--ui-accent-fill-hover:linear-gradient(#2b8246, #19662f);--ui-accent-border:#11461f;--ui-selected:#fdecea;--ui-focus:#e8b923}html.christmas .window>header{--ui-title:#fff;--ui-muted:#fff0c0;--ui-faint:#fff0c0;--ui-text:#fff;text-shadow:0 1px 2px #460000bf;border-bottom-color:#e8b923;position:relative;box-shadow:inset 0 1px #ffffff59}html.christmas .minimap>header{position:static}html.christmas .window>header :is(button,select,input,textarea){--ui-title:#8f1610;--ui-muted:#6e4f49;--ui-faint:#7d5f59;--ui-text:#1f2740;text-shadow:none}html.christmas .whisper.unread>header{--ui-title:#8f1610;--ui-muted:#6e4f49;--ui-text:#1f2740;text-shadow:none}html.christmas .title-tools .discord-mini{color:#fff;filter:drop-shadow(0 1px 1px #460000bf)}html.christmas .window>header .account-provider{background:#fff;border-radius:50%;padding:2px}html.christmas .window>header .status{box-shadow:0 0 0 1.5px #ffffffe6,inset 0 1px 1px #ffffff8c}html.christmas .window>header .friend-dot{box-shadow:0 0 0 1.5px #ffffffe6,inset 0 0 0 1px #00000026}html.christmas .window>header:before{content:"";pointer-events:none;filter:drop-shadow(0 1px .5px #283c5a59);background:linear-gradient(#fff,#fff) 0 0/100% 4px no-repeat,radial-gradient(circle at 6px 3px,#fff 0 4.5px,#0000 5px) 0 0/15px 9px repeat-x,radial-gradient(circle at 3px 2px,#fff 0 3px,#0000 3.5px) 7px 0/23px 8px repeat-x;border-radius:5px 5px 0 0;height:9px;position:absolute;top:-4px;left:2px;right:2px}html.christmas .help>header:before{background-position-y:-3px;height:5px;top:0}@media (width<=720px),(height<=500px){html.christmas .creator>header:before{background-position-y:-3px;height:5px;top:0}}@media (width<=359px){html.christmas .menu>header:has([data-snow]:not([hidden])) .title-job{display:none}}html.christmas .event-notice:after{content:"";opacity:.85;background:radial-gradient(circle at 5px 0,#fff 0 4px,#0000 4.5px) 0 0/13px 5px repeat-x;height:5px;position:absolute;bottom:-1px;left:0;right:0}html.christmas .festival-go{color:#fff;text-shadow:0 1px 2px #460000bf;background:linear-gradient(#c8352a,#8c1a13);border-color:#f4c860}html.christmas .festival-go:hover:not(:disabled){background:linear-gradient(#d03b30,#96201a);border-color:#f7d47a}html.christmas .festival-go:active:not(:disabled){background:linear-gradient(#8c1a13,#c8352a)}.festival-go{color:#fff8e6;text-shadow:0 1px 2px #500a28b3;cursor:pointer;background:linear-gradient(#e98bb2,#b8406f);border:1px solid #f4c860;border-radius:14px;flex:none;width:186px;padding:5px 8px;font:700 12px/1.3 Tahoma,Segoe UI,Leelawadee UI,Noto Sans Thai,sans-serif;box-shadow:0 2px 8px #04081466,inset 0 1px #ffffff59}.festival-go:hover:not(:disabled){background:linear-gradient(#f29dc0,#c44c7b);border-color:#f7d47a}.festival-go:active:not(:disabled){background:linear-gradient(#b8406f,#e98bb2);box-shadow:inset 0 1px 3px #3c001e66}.festival-go[hidden],body.in-room .festival-go{display:none}@media (width<=700px),(height<=500px){.festival-go{width:112px;padding:4px 6px;font-size:11px}}.night{--night:1;z-index:0;pointer-events:none;mix-blend-mode:multiply;background:radial-gradient(ellipse 85% 75% at 50% 50%, rgb(70 66 160/calc(var(--night) * .5)) 0%, rgb(20 18 74/calc(var(--night) * .82)) 65%, rgb(6 4 32/calc(var(--night) * .95)) 100%);position:fixed;inset:0}.bat{top:var(--y);z-index:2;pointer-events:none;animation:bat-fly var(--dur) linear both;position:fixed;left:0}.bat.rtl{animation-name:bat-fly-back}.bat svg{width:var(--size,60px);fill:#3b2153;filter:drop-shadow(0 0 2px #ffb95f)drop-shadow(0 0 10px #ff781ed9);animation:.2s ease-in-out infinite alternate bat-flap;display:block}@keyframes bat-fly{0%{transform:translate(-40px)}25%{transform:translate(25vw,-4vh)}50%{transform:translate(50vw,2vh)}75%{transform:translate(75vw,-3vh)}to{transform:translate(calc(100vw + 40px),1vh)}}@keyframes bat-fly-back{0%{transform:translate(calc(100vw + 40px))scaleX(-1)}25%{transform:translate(75vw,3vh)scaleX(-1)}50%{transform:translate(50vw,-2vh)scaleX(-1)}75%{transform:translate(25vw,4vh)scaleX(-1)}to{transform:translate(-40px)scaleX(-1)}}@keyframes bat-flap{0%{transform:scaleY(1)}to{transform:scaleY(.62)}}.event-notice{z-index:16;pointer-events:none;background:var(--event-band);border-bottom:1px solid var(--event-line);height:30px;position:fixed;top:0;left:0;right:0;overflow:hidden;box-shadow:0 2px 10px #0006}.event-notice span{white-space:nowrap;color:var(--event-text);text-shadow:0 0 6px var(--event-glow), 0 1px 2px #000;font:700 15px/1.2 Tahoma,Segoe UI,Leelawadee UI,Noto Sans Thai,sans-serif;animation:26s linear forwards notice-run;position:absolute;top:6px;left:100%}@keyframes notice-run{to{transform:translate(calc(-100vw - 100%))}}@media (prefers-reduced-motion:reduce){.event-notice span{animation-duration:40s}}.menu [data-night][aria-pressed=false],.menu [data-snow][aria-pressed=false]{opacity:.45}html.christmas .menu>header [data-night][aria-pressed=false],html.christmas .menu>header [data-snow][aria-pressed=false]{opacity:1;color:#5c4d4a;background:#d9cfcd;border-color:#b9aaa7}html.christmas .menu>header :is([data-night],[data-snow])[aria-pressed=false] .mark{filter:grayscale()brightness(.4)}html.christmas .menu>header :is([data-night],[data-snow])[aria-pressed=false]:hover:not(:disabled){background:#e6dedc;border-color:#a39390}#overlay{z-index:1;pointer-events:none;position:fixed;inset:0;overflow:hidden}.nametag,.npc-name,.bubble,.sign,.npc-sign{will-change:transform;position:absolute;top:0;left:0}.nametag,.npc-name{color:#fff;white-space:nowrap;text-shadow:-1px -1px #000,1px -1px #000,-1px 1px #000,1px 1px #000;font:700 12px/1 Tahoma,Segoe UI,Leelawadee UI,Noto Sans Thai,sans-serif}.nametag.self{color:#fff7c2}.nametag.guest{color:#9ca2ad}.npc-name{color:#bfe2ff}.bubble{color:#1d2233;text-align:center;overflow-wrap:anywhere;background:#fffffff5;border:1px solid #6d7ea3;border-radius:8px;max-width:240px;padding:4px 9px;font:12px/1.35 Tahoma,Segoe UI,Leelawadee UI,Noto Sans Thai,sans-serif;box-shadow:0 2px 6px #0000004d}.nametag[hidden],.bubble[hidden]{display:none}#overlay .sign{--sign-width:168px;width:var(--sign-width);color:#1d2233;white-space:nowrap;pointer-events:auto;background:linear-gradient(#fff,#e8eef9);border:1px solid #4c5f8c;border-radius:13px;align-items:center;gap:4px;height:26px;padding:0 10px 0 2px;font:12px/1 Tahoma,Segoe UI,Leelawadee UI,Noto Sans Thai,sans-serif;display:flex;box-shadow:0 2px 6px #00000059}#overlay .sign:hover{border-color:var(--ui-accent);background:linear-gradient(#fff,#dce6f8)}@media (hover:hover){#overlay .sign:hover{z-index:1;width:auto;min-width:var(--sign-width)}}#overlay .sign img{width:24px;height:24px;image-rendering:pixelated;flex:none}#overlay .sign span{text-overflow:ellipsis;line-height:1.4;overflow:hidden}#overlay .sign .sign-count{flex:none}#overlay .npc-sign,#overlay .npc-sign:hover{color:#1d2233;white-space:nowrap;pointer-events:auto;background:#fff;border:1px solid #6d7ea3;border-radius:9px;padding:4px 13px;font:700 12px/1.35 Tahoma,Segoe UI,Leelawadee UI,Noto Sans Thai,sans-serif;box-shadow:0 2px 6px #0000004d}#overlay .npc-sign:hover{border-color:var(--ui-accent)}#overlay .npc-sign:after{content:"";background:#fff;border-bottom:1px solid #6d7ea3;border-right:1px solid #6d7ea3;width:9px;height:9px;position:absolute;bottom:-6px;left:50%;transform:translate(-50%)rotate(45deg)}#overlay .npc-sign:hover:after{border-color:var(--ui-accent)}#overlay .npc-sign span:before{content:"— ";color:#8a97b8}#overlay .npc-sign span:after{content:" —";color:#8a97b8}#overlay .npc-sign[hidden]{display:none}#overlay .float-tag{color:#fff6dc;text-align:center;text-shadow:0 1px 2px #000c;pointer-events:none;background:#0e143a99;border:1px solid #f4c86080;border-radius:8px;max-width:170px;padding:2px 7px 3px;font:11px/1.3 Tahoma,Segoe UI,Leelawadee UI,Noto Sans Thai,sans-serif;position:absolute;top:0;left:0}#overlay .float-tag b,#overlay .float-tag span{display:block}#overlay .float-tag b{color:#ffd27a}#overlay .float-tag[hidden],body.ui-hidden #overlay .float-tag{display:none}#overlay .card-tag{color:#fff;text-align:center;text-shadow:0 1px 2px #000c;overflow-wrap:anywhere;background:#6e0e0ab8;border:1px solid #f4c86099;border-radius:8px;max-width:170px;padding:2px 7px 3px;font:11px/1.3 Tahoma,Segoe UI,Leelawadee UI,Noto Sans Thai,sans-serif;position:absolute;top:0;left:0}#overlay .card-tag b,#overlay .card-tag span{display:block}#overlay .card-tag b{color:#fff0c0}#overlay .card-tag[hidden],body.ui-hidden #overlay .card-tag{display:none}.chat{z-index:10;pointer-events:none;flex-direction:column;align-items:flex-start;gap:5px;width:min(440px,100vw - 16px);display:flex;position:fixed;bottom:8px;left:8px}.chat-log{color:#f4f6ff;text-shadow:0 1px 1px #000c;overflow-wrap:anywhere;border-radius:var(--ui-radius);scrollbar-width:thin;scrollbar-color:#ffffff4d transparent;pointer-events:auto;background:#0a0e1c94;border:1px solid #ffffff1a;align-self:stretch;max-height:168px;padding:6px 9px;font:12px/1.5 Tahoma,Segoe UI,Leelawadee UI,Noto Sans Thai,sans-serif;overflow-y:auto}.chat-log:empty{display:none}.chat-log .who{font-weight:700}.chat-log .who.guest{color:#9ca2ad}.chat-log .line-self{color:#c9f5c4}.chat-log .line-system{color:#ffe08a}.chat-log .line-announce{color:#ffd23f;background:#ffc40029;border-radius:3px;margin:1px -4px;padding:0 4px;font-weight:700}.chat-input{border-color:var(--ui-border);border-radius:var(--ui-radius);box-shadow:var(--ui-shadow);pointer-events:auto;background:#fffffff7;align-self:stretch;padding:7px 10px}.chat-input[hidden],.chat.typing .chat-button{display:none}.chat-button{pointer-events:auto;border-radius:14px;height:28px;padding:0 12px}.chat-buttons{align-items:center;gap:6px;display:flex}.emote-button{pointer-events:auto;border-radius:50%;place-items:center;width:28px;height:28px;padding:0;font-size:16px;line-height:1;display:grid}.joystick{z-index:11;pointer-events:none;background:radial-gradient(circle,#ffffff38,#ffffff14 70%);border:2px solid #ffffff80;border-radius:50%;width:110px;height:110px;position:fixed;transform:translate(-50%,-50%);box-shadow:0 2px 10px #0000004d}.joystick-knob{border:1px solid var(--ui-border);background:linear-gradient(#fff,#d5e0f5);border-radius:50%;width:46px;height:46px;margin:-23px 0 0 -23px;position:absolute;top:50%;left:50%;box-shadow:0 2px 6px #00000059,inset 0 1px #fff}@media (pointer:fine){.drag-bar{cursor:move}}.emotes{z-index:14;width:min(372px,100vw - 16px);position:fixed;bottom:44px;left:8px}.emote-keys{grid-template-columns:repeat(10,1fr);gap:3px;padding:6px 6px 0;display:grid}.emote-keys button{flex-direction:column;align-items:center;gap:1px;padding:2px 0 3px;display:flex}.emote-keys kbd{font:bold 9px/1 var(--ui-font-family,Tahoma, sans-serif);color:var(--ui-muted)}.emote-keys button[aria-pressed=true] kbd{color:#fff}.emote-keys canvas{width:24px;height:24px;image-rendering:pixelated}.emote-keys-hint{color:var(--ui-muted);margin:0;padding:3px 8px 0;font-size:11px}.emote-grid{grid-template-columns:repeat(auto-fill,minmax(40px,1fr));gap:3px;max-height:min(268px,45dvh);padding:6px;display:grid;overflow-y:auto}.emote-grid button{place-items:center;height:40px;padding:0;display:grid}.emote-grid canvas{width:30px;height:30px;image-rendering:pixelated}body.ui-hidden .emotes,body.in-room .chat-button,body.in-room .chat-input{display:none}.room,.room-form{z-index:20;width:min(460px,100vw - 16px);position:fixed;top:10px;left:50%;transform:translate(-50%)}.room-form{z-index:21;width:min(360px,100vw - 16px)}body.ui-hidden .room,body.ui-hidden .room-form{display:none}.room-fields{flex-direction:column;gap:10px;padding:12px 14px 4px;display:flex}.room-field{flex-direction:column;gap:4px;min-width:0;display:flex}.room-field>span{color:var(--ui-muted);font-size:11px;font-weight:700}.room-field-row{grid-template-columns:84px minmax(0,1fr);gap:10px;display:grid}.room-fields p{margin:0}.room-icon{width:24px;height:24px;image-rendering:pixelated;margin:-4px 0}.room-count{font-variant-numeric:tabular-nums;color:var(--ui-muted);font-weight:400}.room-body{grid-template-columns:minmax(0,1fr) 130px;gap:6px;padding:8px 8px 0;display:grid}.room-log,.room-members{border:1px solid var(--ui-border-soft);border-radius:4px;height:170px;overflow-y:auto}.room-log{overflow-wrap:anywhere;background:var(--ui-panel);padding:5px 8px}.room-log .who{font-weight:700}.room-log .line-self{color:#23702e}.room-log .line-system{color:#8a6210}.room-members{background:var(--ui-bg-sunken);flex-direction:column;gap:2px;margin:0;padding:4px;list-style:none;display:flex}.room-members li{flex-direction:column;gap:3px;display:flex}.member-name{text-align:left;text-overflow:ellipsis;white-space:nowrap;padding:3px 6px;display:block;overflow:hidden}button.member-name{width:100%;box-shadow:none;background:0 0;border-color:#0000}.room-members .owner .member-name:before{content:"★ ";color:#d39b14}.room-members .me .member-name{font-weight:700}.member-actions{flex-direction:column;gap:3px;padding:0 2px 3px;display:flex}.member-actions button{white-space:nowrap;padding:2px 4px;font-size:11px}.room-say{padding:6px 8px 8px}.room-say input{box-sizing:border-box;width:100%}.room>footer{padding:6px 8px}.room-hint{color:var(--ui-muted);margin-right:auto;font-size:11px}.vending,.shop-view{z-index:21;width:min(480px,100vw - 16px);position:fixed;top:10px;left:50%;transform:translate(-50%)}.shop-view{z-index:20;width:min(400px,100vw - 16px)}body.ui-hidden .vending,body.ui-hidden .shop-view{display:none}.vending-body{flex-direction:column;gap:8px;max-height:calc(100dvh - 130px);padding:12px 14px 4px;display:flex;overflow-y:auto}.vending-body p{margin:0}.item-results,.vending-picked,.shop-items{background:var(--ui-panel);border:1px solid var(--ui-border-soft);border-radius:4px;flex-direction:column;gap:2px;margin:0;padding:4px;list-style:none;display:flex}.item-results{flex:none;height:150px;overflow-y:auto}.item-results button{text-align:left;width:100%;box-shadow:none;background:0 0;border-color:#0000;align-items:center;gap:8px;padding:2px 6px;display:flex}.item-icon{width:24px;height:24px;image-rendering:pixelated;flex:none}.item-name,.shop-item-name{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.item-id{color:var(--ui-muted)}.item-hint{color:var(--ui-muted);padding:6px}.vending-head{color:var(--ui-muted);justify-content:space-between;font-size:11px;font-weight:700;display:flex}.vending-picked li,.shop-items li{align-items:center;gap:6px;padding:2px 4px;display:flex}.vending-picked input{text-align:right;width:92px;padding:3px 6px}.vending-picked input[data-amount]{width:64px}.vending-picked .unit{color:var(--ui-muted)}.vending-picked button{padding:1px 7px}.vending-note,.shop-note,.shop-owner{color:var(--ui-muted);font-size:11px}.shop-owner{margin:0;padding:8px 12px 0}.shop-items{max-height:min(380px,100dvh - 160px);margin:6px 8px 0;overflow-y:auto}.shop-item-amount{color:var(--ui-muted);font-variant-numeric:tabular-nums}.shop-item-price{font-variant-numeric:tabular-nums;text-align:right;color:#1f4fa0;min-width:96px;font-weight:700}.shop-note{margin-right:auto}.shop-own .shop-owner{padding:6px 10px 0}.shop-own .shop-items{max-height:min(220px,40dvh);margin:4px 6px 0}.shop-own .shop-item-price{min-width:0}.shop-own>footer{padding:6px 8px}.friends,.shop-own{flex-direction:column;width:min(280px,100vw - 16px);min-height:0;display:flex}.friends-count{color:var(--ui-muted);font-weight:400}.friend-list{flex-direction:column;gap:4px;max-height:min(360px,100dvh - 300px);margin:0;padding:6px;list-style:none;display:flex;overflow-y:auto}.friend-list:empty{display:none}.friend{background:var(--ui-panel);border:1px solid var(--ui-line);border-radius:4px;align-items:center;gap:7px;padding:4px 6px;display:flex}.friend-who{flex-direction:column;flex:1;min-width:0;display:flex}.friend-who b,.friend-who small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.friend-who small{color:var(--ui-muted);font-size:11px}.friend.offline b{color:var(--ui-muted);font-weight:400}.friend button{padding:2px 8px;font-size:11px}.friend button.danger{color:var(--ui-danger);border-color:var(--ui-danger)}.friend-dot{background:#b3bccf;border-radius:50%;flex:none;width:8px;height:8px;box-shadow:inset 0 0 0 1px #00000026}.friend.online .friend-dot,.whisper.online .friend-dot{background:#3fb54c}.friends-empty{color:var(--ui-muted);margin:0;padding:10px 12px 12px}.friends-online{text-align:center;color:#fff;min-width:16px;text-shadow:none;background:#3fb54c;border-radius:8px;margin-left:5px;padding:0 4px;font-size:10px;line-height:16px;display:inline-block}.friend-request,.deal-request{z-index:22;width:min(320px,100vw - 16px);position:fixed;top:10px;left:50%;transform:translate(-50%)}body:has(>.friend-request:not([hidden]))>.deal-request{top:120px}.friend-request-text,.deal-request-text{margin:0;padding:12px 14px 4px}.friend-request-more{color:var(--ui-muted);margin-right:auto;font-size:11px}.player-menu{z-index:30;flex-direction:column;gap:3px;min-width:150px;padding:5px;display:flex;position:fixed}.player-menu-name{color:var(--ui-title);border-bottom:1px solid var(--ui-line);margin-bottom:2px;padding:3px 6px 5px;font-weight:700}.player-menu button{text-align:left}.deal{z-index:21;width:min(540px,100vw - 16px);position:fixed;top:10px;left:50%;transform:translate(-50%)}body.ui-hidden .deal{display:none}.deal-sides{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;padding:10px 12px 0;display:grid}.deal-side{background:var(--ui-panel);border:1px solid var(--ui-border-soft);border-radius:4px;flex-direction:column;gap:6px;padding:6px 6px 8px;transition:background-color .2s;display:flex}.deal-side[data-theirs]{background:#f4f6fa}.deal-side.locked{background:#dde2eb}.deal-head{min-height:18px;color:var(--ui-muted);align-items:center;gap:6px;padding:0 2px;font-size:11px;font-weight:700;display:flex}.deal-head>:first-child{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.deal-tag:not(:empty){color:#fff;background:#3fb54c;border-radius:8px;padding:0 7px;line-height:16px}.deal-find{position:relative}.deal-find input{box-sizing:border-box;width:100%;padding:4px 8px}.deal-find .item-results{z-index:1;height:auto;max-height:210px;position:absolute;top:calc(100% + 2px);left:0;right:0;box-shadow:0 6px 16px #04081440}.deal-items{flex-direction:column;flex:1 0 auto;gap:2px;height:172px;margin:0;padding:0;list-style:none;display:flex;overflow-y:auto}.deal-side[data-theirs] .deal-items{height:206px}.deal-items li{align-items:center;gap:6px;padding:1px 2px;display:flex}.deal-items input{text-align:right;width:64px;padding:2px 6px}.deal-items button{padding:1px 7px}.deal-amount{color:var(--ui-muted);font-variant-numeric:tabular-nums}.deal-zeny{color:#4a669f;border-top:1px solid var(--ui-line);justify-content:space-between;align-items:center;gap:8px;min-height:27px;padding:6px 2px 0;font-size:11px;font-weight:700;display:flex}.deal-zeny input{text-align:right;width:128px;padding:2px 6px}.deal-zeny b{font-variant-numeric:tabular-nums;color:#1f4fa0;font-size:13px}.deal-hint{flex-direction:column;margin:0;padding:8px 14px 0;display:flex}.deal-note{color:var(--ui-muted);font-size:11px}.deal>.error{margin:4px 0 0;padding:0 14px}.deal>footer{justify-content:space-between;margin-top:8px}.deal>footer button{min-width:84px}@media (width<=559px){.deal-sides{grid-template-columns:minmax(0,1fr)}.deal-items,.deal-side[data-theirs] .deal-items{height:auto;max-height:96px}}@media (height<=500px){.deal-items{height:92px}.deal-side[data-theirs] .deal-items{height:126px}}.dmg{z-index:3;pointer-events:none;position:absolute}.dmg canvas,.dmg span{image-rendering:pixelated;position:absolute;translate:-50% -50%}.dmg .dmg-bg{translate:-50% calc(-50% - 4px)}.dmg .dmg-txt{color:#ffce63;text-shadow:1px 0 #000,-1px 0 #000,0 1px #000,0 -1px #000;white-space:nowrap;font:700 13px Tahoma,Segoe UI,sans-serif}.dmg .dmg-txt.crit{color:#ffe13e}.npc-talk{z-index:20;pointer-events:none;position:fixed;inset:0}.npc-talk[hidden],body.ui-hidden .npc-talk{display:none}.npc-cutin{z-index:1;-webkit-user-select:none;user-select:none;pointer-events:none;width:auto;max-height:min(480px,60vh);display:block;position:absolute;bottom:0;right:10px}.npc-cutin[hidden]{display:none}.npc-talk.no-art .npc-mes{right:16px}.npc-mes{pointer-events:auto;width:min(430px,100vw + -1*min(240px,26vh + 24px) - 16px);position:absolute;bottom:24px;right:min(240px,26vh + 24px)}.npc-lines{padding:10px 14px 12px;line-height:1.7}.npc-lines b,.npc-lines span{display:block}.npc-lines a{color:var(--ui-accent);font-weight:700}.npc-picture{border:1px solid var(--ui-line);background:#fff;border-radius:4px;width:min(256px,100% - 28px);height:auto;margin:-2px auto 12px;display:block}@media (height<=500px){.npc-picture{width:auto;max-height:34vh}}.npc-input{box-sizing:border-box;width:calc(100% - 28px);margin:-2px 14px 12px;padding:7px 10px;font-size:16px;display:block}.npc-lines i{color:#7a7f8f;font-style:normal}.npc-mes .npc-menu{max-height:min(330px,44vh);margin:0 14px 12px;overflow-y:auto}.npc-mes .npc-menu button{padding:7px 10px;font-weight:700}.npc-mes>footer{justify-content:flex-start;padding:8px 14px}.npc-mes>footer button{min-width:72px}@media (width<=720px) and (height>=501px){.npc-talk{flex-direction:column;justify-content:flex-end;align-items:flex-end;padding:180px 8px 8px;display:flex}.npc-cutin{z-index:auto;object-fit:contain;object-position:right bottom;flex:0 auto;min-height:0;max-height:min(430px,50vh);margin:0 -4px -12px 0;position:static}.npc-mes,.npc-talk.no-art .npc-mes{align-self:stretch;width:auto;position:relative;bottom:auto;right:auto}}.refine{z-index:21;width:min(340px,100vw - 16px);position:fixed;top:120px;left:calc(50% + 90px)}body.ui-hidden .refine{display:none}.refine-text{padding:10px 14px 8px;line-height:1.6}.refine-text p{margin:0}.refine-text .who{color:var(--ui-accent);font-weight:700}.refine .warn{color:var(--ui-danger);font-weight:700}.refine .up{color:#1e7b34;font-weight:700}.refine .muted{color:var(--ui-muted);font-weight:400}.refine .ore{color:#036;font-weight:700}.refine-text .item-icon{vertical-align:middle}.refine-menu,.npc-menu{background:var(--ui-panel);border:1px solid var(--ui-border-soft);border-radius:4px;margin:0 10px 10px;padding:3px;list-style:none}.refine-menu button,.npc-menu button{text-align:left;width:100%;box-shadow:none;background:0 0;border-color:#0000;align-items:center;gap:8px;padding:3px 8px;display:flex}.refine-menu button:hover:not(:disabled),.npc-menu button:hover:not(:disabled){background:var(--ui-selected);border-color:var(--ui-accent-light)}.refine-menu b{color:var(--ui-accent);margin-left:auto}.refine .max,.refine-menu b.max{color:#b07a10;font-weight:700}.refine-best{color:#7a5308;white-space:nowrap;background:linear-gradient(#fff6d6,#f4dd9a);border:1px solid #d0a640;border-radius:9px;flex:none;margin-left:6px;padding:0 6px;font-size:11px;font-weight:700;line-height:18px}.refine-menu .refine-best+b{margin-left:8px}.refine-menu .refine-best{margin-left:auto}.refine-ore{flex:none;place-items:center;width:24px;height:24px;display:grid}.refine-thing{background:var(--ui-bg-sunken);border:1px solid var(--ui-line);border-radius:4px;align-items:center;gap:8px;margin:0 10px 10px;padding:7px 10px;font-weight:700;display:flex}.refine>footer button{min-width:72px}@media (width<=700px){.refine{top:8px;left:50%;transform:translate(-50%)}}.whispers{z-index:12;pointer-events:none;flex-direction:column;align-items:flex-end;gap:6px;display:flex;position:fixed;bottom:8px;right:8px}.whisper-windows{flex-direction:row-reverse;align-items:flex-end;gap:6px;display:flex}.whisper-chips{flex-wrap:wrap;justify-content:flex-end;gap:4px;display:flex}.whisper-chip{max-width:160px;box-shadow:var(--ui-shadow);pointer-events:auto;border-radius:13px;align-items:center;gap:6px;padding:3px 10px 3px 8px;display:flex}.whisper-chip span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.whisper-chip.online .friend-dot{background:#3fb54c}.whisper-chip.unread{background:linear-gradient(#fffaf0,#ffd982);border-color:#c99a2e;font-weight:700}.whisper-chip.ping{animation:.6s 2 whisper-ping}@keyframes whisper-ping{0%,to{transform:scale(1)}35%{transform:scale(1.14)}70%{transform:scale(.96)}}@media (prefers-reduced-motion:reduce){.whisper-chip.ping{animation:none}.name-tip{transition:none}}.whisper-count,.ui-badge{text-align:center;color:#fff;min-width:16px;text-shadow:none;background:#d9473c;border-radius:8px;padding:0 4px;font-size:10px;font-weight:700;line-height:16px}.whisper{pointer-events:auto;width:250px}.whisper>header .title{flex:0 auto}.whisper-town{color:var(--ui-muted);text-overflow:ellipsis;white-space:nowrap;flex:1;font-size:11px;font-weight:400;overflow:hidden}.whisper.unread>header{background:linear-gradient(#fffaf0,#ffe3a3)}.whisper-log{overflow-wrap:anywhere;background:var(--ui-panel);border:1px solid var(--ui-border-soft);border-radius:4px;height:150px;margin:6px 6px 0;padding:5px 8px;overflow-y:auto}.whisper-log .who{font-weight:700}.whisper-log .line-self{color:#23702e}.whisper-log .line-system{color:#8a6210}.whisper-say{padding:6px}.whisper-say input{box-sizing:border-box;width:100%}body.ui-hidden .whispers{display:none}#creator{z-index:40;box-sizing:border-box;background:radial-gradient(at 50% 45%,#060a1833,#040610b8);flex-direction:column;justify-content:center;align-items:center;padding:16px;display:flex;position:fixed;inset:0}#creator[hidden],.creator-brand[hidden],.field-row[hidden],.tab-page[hidden]{display:none}.creator-brand{color:#e9eeff;text-align:center;text-shadow:0 2px 10px #000000b3;margin-bottom:14px}.creator-brand strong{letter-spacing:.03em;color:#ffe2a0;text-shadow:0 2px #6b4a12,0 4px 14px #000000b3;font:700 34px/1.1 Georgia,Palatino Linotype,Book Antiqua,serif;display:block}.creator-brand span{font-size:13px;display:block}.creator-brand .event-banner{letter-spacing:.04em;color:var(--event-text);text-shadow:0 0 8px var(--event-glow), 0 2px 10px var(--event-shade);margin-top:8px;font:700 16px/1.2 Georgia,Palatino Linotype,Book Antiqua,Leelawadee UI,Noto Sans Thai,serif}.creator-brand .event-banner:empty{display:none}.creator-brand .discord-link{color:#fff;text-shadow:none;background:#5865f2;border:1px solid #4752c4;border-radius:8px;align-items:center;gap:7px;margin-top:12px;padding:6px 14px;font-size:13px;font-weight:700;text-decoration:none;display:inline-flex;box-shadow:0 2px 8px #0006}.creator-brand .discord-link:hover{background:#6a76f3}.discord-logo{fill:currentColor;width:16px;height:16px}.title-tools .discord-mini{color:#5865f2;place-items:center;width:20px;height:20px;display:none}.title-tools .discord-logo{fill:currentColor;stroke:none;width:14px;height:14px}.creator{flex-direction:column;width:min(920px,100%);min-height:0;max-height:100%;display:flex}.creator-body{box-sizing:border-box;grid-template-columns:300px minmax(0,1fr);gap:14px;height:clamp(300px,100dvh - 120px,540px);min-height:0;padding:14px;display:grid}.creator-stage{flex-direction:column;gap:8px;min-height:0;display:flex}.stage{border:1px solid var(--ui-border-soft);border-radius:var(--ui-radius);cursor:grab;touch-action:pan-y;-webkit-user-select:none;user-select:none;background:radial-gradient(circle at 50% 30%,#fff 0%,#eaf0fa 45%,#cbd8ee 100%);flex:auto;place-items:center;min-height:150px;display:grid;position:relative;overflow:hidden;container-type:size}.stage:active{cursor:grabbing}.stage-canvas{aspect-ratio:288/336;background:radial-gradient(30% 4.5% at 50% 83.3%,#5a42204d,#5a422000 100%),radial-gradient(48% 11% at 50% 84%,#e8d2a6f2,#e8d2a600 100%);height:min(336px,100cqh,116.667cqw)}.stage-canvas canvas{width:100%;height:100%}.stage-btn{color:#2c3f6e;background:#ffffffc7;border-color:#7d90bd99;border-radius:50%;place-items:center;width:30px;height:30px;padding:0;font-size:18px;line-height:1;display:grid;position:absolute}.turn-left{bottom:10px;left:8px}.turn-right{bottom:10px;right:8px}.auto-turn{font-size:15px;top:8px;right:8px}.seg.pose>button{padding:4px 6px}.summary{justify-content:space-between;align-items:center;gap:8px;display:flex}.summary strong{color:var(--ui-title);font-size:15px;display:block}.summary span{min-height:1.45em;color:var(--ui-muted);font-size:11px;display:block}.summary-buttons{flex:none;gap:4px;display:flex}.creator-panel{background:var(--ui-panel);border:1px solid var(--ui-border-soft);border-radius:var(--ui-radius);flex-direction:column;min-width:0;min-height:0;display:flex;overflow:hidden}.tabs{border-bottom:1px solid var(--ui-border-soft);background:linear-gradient(#eef2fa,#e0e7f4);flex:none;gap:2px;padding:6px 6px 0;display:flex}.tabs button{color:var(--ui-muted);box-shadow:none;background:linear-gradient(#f4f7fc,#dfe6f3);border-radius:5px 5px 0 0;flex:1;margin-bottom:-1px;padding:6px 8px}.tabs button[aria-selected=true]{color:var(--ui-title);background:var(--ui-panel);border-bottom-color:var(--ui-panel);font-weight:700}.tab-page{flex-direction:column;flex:auto;gap:14px;min-height:0;padding:12px 14px;display:flex;overflow:auto}.label{color:#2c3a5e;font-weight:700}.field{flex-direction:column;gap:6px;display:flex}.field-head{justify-content:space-between;align-items:baseline;gap:8px;display:flex}.field output{color:var(--ui-muted)}.field-row{grid-template-columns:64px 1fr;align-items:center;gap:10px;display:grid}.job-tree{grid-template-columns:max-content 16px 1fr;align-items:center;gap:6px 4px;display:grid}.job-row{display:contents}.job-arrow{text-align:center;color:var(--ui-faint);font-size:16px}.job-next{flex-wrap:wrap;gap:6px;display:flex}.chip.job{justify-content:center;min-width:96px}.chip.job small{opacity:.7}.cart-row{align-items:start}.cart-row>.label{padding-top:4px}.carts{grid-template-columns:repeat(auto-fill,minmax(62px,1fr));gap:6px;display:grid}.carts .cart-pick{background:var(--ui-panel);place-items:center;height:52px;padding:2px;display:grid;position:relative}.cart-pick canvas{width:56px;height:44px}.cart-pick small{color:var(--ui-muted);text-shadow:none;font-size:10px;position:absolute;top:2px;left:4px}.carts .cart-pick.chosen{border-color:var(--ui-accent-light)}.carts .cart-pick.active,.carts .cart-pick.active:hover:not(:disabled){background:var(--ui-selected);border-color:var(--ui-accent);box-shadow:inset 0 0 0 1px var(--ui-accent)}.stepper{align-items:center;gap:8px;display:flex}.stepper input[type=range]{box-shadow:none;background:0 0;border:none;flex:1;padding:0}.stepper button{width:30px;height:28px;padding:0;font-size:16px}.swatches{grid-template-columns:repeat(auto-fill,minmax(22px,1fr));gap:4px;display:grid}.swatches .swatch{aspect-ratio:1;border:1px solid #0000004d;border-radius:4px;min-height:22px;padding:0;box-shadow:inset 0 0 0 1px #ffffff40}.swatches .swatch.default,.swatches .swatch.default[aria-pressed=true]:hover:not(:disabled){background:repeating-linear-gradient(45deg,#fff 0 3px,#c9d3e6 3px 6px)}.swatches .swatch.selected{outline:2px solid var(--ui-accent);outline-offset:2px;position:relative}.headgear-page{gap:10px}.slots{flex-direction:column;flex:none;gap:4px;display:flex}.slot{gap:4px;display:flex}.slot-pick{text-align:left;background:var(--ui-panel);flex:1;align-items:center;gap:8px;min-width:0;padding:3px 8px;display:flex}.slot-pick[aria-pressed=true],.slot-pick[aria-pressed=true]:hover:not(:disabled){color:var(--ui-text);text-shadow:none;background:var(--ui-selected);border-color:var(--ui-accent-light);box-shadow:inset 3px 0 0 var(--ui-accent)}.slot-label{letter-spacing:.04em;text-transform:uppercase;width:54px;color:var(--ui-muted);flex:none;font-size:11px}.slot-item{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.slot.covered .slot-item{color:var(--ui-faint);font-style:italic}.slot-clear{width:32px;padding:0;font-size:15px}.search{flex:none}.results{border:1px solid var(--ui-line);background:#fbfcfe;border-radius:4px;flex:auto;min-height:120px;margin:0;padding:3px;list-style:none;overflow-y:auto}.results button{text-align:left;width:100%;box-shadow:none;background:0 0;border:none;border-radius:3px;align-items:center;gap:8px;padding:2px 6px;display:flex}.results button:hover:not(:disabled){background:#e9eff9}.results button.selected,.results button.selected:hover:not(:disabled){background:var(--ui-selected);box-shadow:inset 3px 0 0 var(--ui-accent)}.results .hg-name{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.results small{color:var(--ui-muted);flex:none}.results li.more{color:var(--ui-muted);padding:6px 8px}.note{color:var(--ui-muted);margin:0;font-size:11px}.note:empty{display:none}.hint{color:var(--ui-muted);border:1px dashed var(--ui-border-soft);background:#f2f5fc;border-radius:4px;margin:auto 0 0;padding:8px 10px}.name-field{align-items:center;gap:8px;margin-right:auto;display:flex;position:relative}.name-field label{font-weight:700}.name-box{display:flex;position:relative}.name-tip{z-index:4;background:linear-gradient(#fff, var(--ui-bg));border:1px solid var(--ui-border);border-radius:var(--ui-radius);opacity:0;visibility:hidden;pointer-events:none;gap:7px;width:max-content;max-width:min(360px,100vw - 80px);padding:7px 11px 7px 9px;line-height:1.35;transition:opacity .14s,transform .14s,visibility .14s;display:flex;position:absolute;bottom:calc(100% + 10px);left:0;transform:translateY(4px);box-shadow:0 6px 18px #0408144d,inset 0 1px #fff}.name-tip:after{content:"";background:var(--ui-bg);border-right:1px solid var(--ui-border);border-bottom:1px solid var(--ui-border);width:10px;height:10px;position:absolute;bottom:-6px;left:20px;transform:rotate(45deg)}.name-tip:empty{display:none}.name-box input:hover~.name-tip{opacity:1;visibility:visible;transition-delay:.12s;transform:none}@media (hover:none){.name-box input:focus~.name-tip{opacity:1;visibility:visible;transform:none}}.name-field:has(.chars-menu:not([hidden])) .name-tip{display:none}.name-tip svg{fill:none;width:15px;height:15px;stroke:var(--ui-accent);stroke-width:1.6px;stroke-linecap:round;stroke-linejoin:round;flex:none;margin-top:1px}.name-tip-text{flex-direction:column;gap:1px;display:flex}.name-tip-text b{color:var(--ui-title)}.name-tip-text span{color:var(--ui-muted);font-size:11px}.name-field input{width:210px}.name-box input:has(+.chars-button:not([hidden])){border-radius:4px 0 0 4px}.chars-button{border-radius:0 4px 4px 0;margin-left:-1px;padding:0 9px}.chars-menu{z-index:3;flex-direction:column;gap:4px;width:min(300px,100vw - 16px);max-height:min(340px,100dvh - 120px);padding:6px;display:flex;position:absolute;bottom:calc(100% + 8px);left:0;overflow-y:auto}.chars-menu[hidden]{display:none}.chars-head{color:var(--ui-title);justify-content:space-between;padding:2px 4px 4px;font-weight:700;display:flex}.chars-head span{color:var(--ui-muted);font-weight:400}.chars-row{align-items:center;gap:4px;display:flex}.chars-pick{text-align:left;flex:1;justify-content:space-between;gap:10px;min-width:0;display:flex}.chars-pick b{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.chars-pick span{color:var(--ui-muted);flex:none}.chars-row[aria-current=true] .chars-pick{background:var(--ui-selected);border-color:var(--ui-accent-light)}.chars-row.confirm span{flex:1;padding-left:4px}.chars-row button.danger{color:var(--ui-danger)}.chars-playing{color:var(--ui-accent);flex:none;padding:0 6px;font-size:11px;font-weight:700}.chars-new{text-align:left}.chars-full{color:var(--ui-muted);margin:2px 4px}.creator .account{align-items:center;gap:6px;margin-right:4px;display:flex}.creator .account[hidden]{display:none}.creator .title-tools .account-button{align-items:center;gap:6px;width:auto;height:22px;padding:0 9px;display:inline-flex}.creator .title-tools .account-button.danger{color:var(--ui-danger)}.title-tools .google-g{stroke:none;width:14px;height:14px}.sign-in-label{color:var(--ui-muted);white-space:nowrap;font-weight:400}.creator .title-tools .account-button.line{color:#fff;text-shadow:0 1px #00000026;background:linear-gradient(#0ad35f,#06b64d);border-color:#049a40;box-shadow:inset 0 1px #ffffff40}.creator .title-tools .account-button.line:hover:not(:disabled){background:linear-gradient(#14dc68,#05aa47);border-color:#048a3a}.creator .title-tools .account-button.line:active:not(:disabled){background:linear-gradient(#05a947,#0ac257)}.title-tools .line-logo{fill:currentColor;stroke:none;width:15px;height:15px}.account-provider{display:inline-flex}.account-provider.line{color:#06c755}.account-email,.account-busy{max-width:220px;color:var(--ui-muted);text-overflow:ellipsis;white-space:nowrap;font-weight:400;overflow:hidden}.town-field{align-items:center;gap:8px;display:flex}.town-field span{font-weight:700}.error{color:var(--ui-danger)}.error:empty{display:none}@media (height<=799px){.creator-brand{display:none}.title-tools .discord-mini{display:grid}}@media (height<=500px){#creator{padding:0}.creator,.creator>header,.creator>footer{border-radius:0}.results{min-height:64px}}@media (width<=720px){#creator{justify-content:stretch;padding:0}.creator-brand{display:none}.title-tools .discord-mini{display:grid}.creator{border:none;border-radius:0;flex:1;width:100%;max-height:none}.creator>header,.creator>footer{border-radius:0}.creator-body{flex:auto;grid-template-rows:auto minmax(340px,1fr);grid-template-columns:minmax(0,1fr);gap:8px;height:auto;padding:8px;overflow-y:auto}.creator-stage{min-height:auto}.stage{flex:none;height:max(120px,26dvh)}.summary span{display:none}.creator>footer{flex-wrap:wrap;padding:8px}.name-field{flex:1}.name-box{flex:1;min-width:0}.name-field input{flex:1;width:auto;min-width:0}.account-button .wide,.sign-in-label .wide{display:none}.account-email{max-width:110px}.tab-page{padding:10px}.chip.job{min-width:0;padding:3px 8px}}@media (width>=952px){.room{left:max(499px,50%)}.vending{left:max(509px,50%)}}@media (width>=701px) and (width<=951px),(width<=951px) and (height<=500px){.room{width:auto;max-width:460px;left:268px;right:202px;transform:none}.room-body{grid-template-columns:minmax(0,1fr) 104px}}@media (width>=701px) and (width<=951px) and (height>=1000px){.room{width:min(460px,100vw - 306px);top:139px;left:8px}.room-log,.room-members{height:128px}}@media (width<=951px),(height<=500px){.room{z-index:11}body.in-room .right-column{z-index:12}}@media (width<=700px),(height<=500px){.minimap{width:112px}.minimap canvas{width:104px;height:104px}.map-coords{display:none}.map-players{color:#fff;background:#10182c9e;border-radius:8px;padding:0 4px;font-weight:700;position:absolute;bottom:22px;left:8px}.minimap.folded .map-players{display:none}}@media (width<=700px){.menu-wrap{width:min(236px,100vw - 132px)}.chat-log{max-height:96px}.room{top:176px}.room-body{grid-template-columns:minmax(0,1fr) 104px}.room-log,.room-members{height:128px}.room-hint{display:none}.item-results{height:120px}.vending-picked input{width:78px}.vending-picked input[data-amount]{width:52px}}@media (width<=700px) and (height>=501px){.whispers{align-items:stretch;bottom:157px;left:8px}body:has(.chat.typing) .whispers{bottom:195px}.whisper{width:100%}.whisper-log{height:110px}}@media (height<=500px){.menu-wrap{z-index:11}.room{top:10px;right:128px}.chat{width:min(440px,50vw - 40px)}.chat.typing{z-index:12}.chat.typing .chat-log{background:#0a0e1cdb}.chat-log{max-height:72px}.whisper-log{height:72px}.right-column:has(>.friends:not([hidden]))>.shop-own :is(.shop-owner,.shop-items){display:none}}@media (pointer:coarse){.title-tools{gap:10px}.title-tools button,.window>.fold-bar{position:relative}.title-tools button:before,.window>.fold-bar:before{content:"";position:absolute;inset:-6px}.window>.fold-bar{height:20px;font-size:11px;line-height:18px}.window>.fold-bar:before{inset:-6px 0}.map-coords,.map-players{bottom:29px}}
