#affect-hud{z-index:12;pointer-events:none;flex-wrap:wrap;gap:4px;width:260px;max-width:38vw;display:flex;position:fixed;top:210px;left:12px}#affect-hud[hidden]{display:none}#affect-hud button{pointer-events:auto;background:#161a18aa;border:1px solid #8a7959;width:32px;height:32px;padding:0;position:relative}#affect-hud img{object-fit:contain;width:100%;height:100%}#affect-hud small{color:#fff;text-shadow:1px 1px #000;font:10px Arial;position:absolute;bottom:-1px;right:0}@media (pointer:coarse){#affect-hud{max-width:45vw;top:180px;left:8px}#affect-hud button{width:36px;height:36px}}@media (height<=500px){#affect-hud{width:220px;max-height:80px;top:138px;overflow:auto}}#affect-hud .affect-inactive{filter:saturate(.4);border-color:#da4545}#companions{box-sizing:border-box;color:#eee;z-index:45;background:#15100ff5;border:2px ridge #9b7449;width:369px;max-width:calc(100vw - 16px);max-height:calc(100dvh - 90px);padding:10px;position:fixed;top:75px;left:20px;overflow:auto}#companions[hidden]{display:none}#companions>header{pointer-events:auto;text-shadow:none;color:#efd29d;justify-content:space-between;align-items:center;font:17px Georgia;display:flex;position:static;inset:auto}#companions p{margin:7px 0;font:12px/1.5 Arial}.companion-tabs,.companion-actions{flex-wrap:wrap;gap:4px;margin:8px 0;display:flex}.companion-tabs button,.companion-actions button{flex:1;min-height:36px;padding:7px}.companion-tabs [aria-pressed=true]{background:#733920}.companion-native{background-size:345px 406px;flex:none;width:345px;height:406px;position:relative}.companion-field{color:#eee;text-shadow:1px 1px #000;white-space:nowrap;text-overflow:ellipsis;max-width:300px;font:12px Arial;position:absolute;overflow:hidden}.companion-slot{color:#fff;background:#201c19aa;border:1px solid #72624c;width:44px;height:44px;padding:0;font:11px Arial;position:relative}.companion-slot img{object-fit:contain;pointer-events:none;max-width:100%;max-height:100%}.companion-slot .companion-tier{width:16px;height:16px;position:absolute;bottom:0;right:0}.companion-exp{accent-color:#b5914b;width:95px;height:8px;position:absolute;left:122px}.companion-empty{text-align:center;background:#17110fdd;padding:20px;position:absolute;inset:100px 10px auto}.companion-collection{grid-template-columns:repeat(6,44px);gap:8px;max-height:250px;padding:5px;display:grid;overflow:auto}.companion-collection [aria-pressed=true]{background:#744827}.companion-hide{border:0;width:16px;height:16px;padding:0;font-size:10px;position:absolute}#companions-toggle img{object-fit:contain;width:100%;height:100%}#companion-dialog{max-height:calc(100dvh - 30px);overflow:auto}#companion-dialog input{box-sizing:border-box;font-size:16px}@media (pointer:coarse){#companions{max-height:calc(100dvh - 70px);top:58px;left:8px}.companion-tabs button,.companion-actions button{min-height:44px}}@media (width<=370px){.companion-native{zoom:.88}.companion-collection{grid-template-columns:repeat(5,44px)}}.companion-native-close{width:18px;height:18px;padding:0;font-size:14px;position:absolute;top:4px;right:3px}.companion-preview{touch-action:none}.companion-slot[aria-disabled=true]{opacity:.55}#safebox{color:#eee;z-index:44;box-sizing:border-box;background:#17110ff5;border:2px ridge #9b7449;width:260px;max-height:calc(100dvh - 100px);padding:12px;position:fixed;top:80px;left:14px;overflow:auto}#safebox[hidden]{display:none}#safebox header{pointer-events:auto;text-shadow:none;color:#e9c187;justify-content:space-between;align-items:center;font:17px Georgia;display:flex;position:static;inset:auto}#safebox nav{flex-wrap:wrap;gap:5px;margin:8px 0;display:flex}.storage-grid{grid-template-columns:repeat(5,42px);grid-auto-rows:42px;gap:3px;display:grid}#refine-dialog{width:420px;max-height:calc(100dvh - 24px);overflow:auto}#refine-dialog input[type=checkbox]{width:auto;margin-right:10px;display:inline-block}#refine-dialog select{width:100%;padding:8px}#refine-dialog h2{color:#e9c187}#safebox-password input{box-sizing:border-box}#refine-dialog button,#safebox nav button{min-height:40px}@media (pointer:coarse){#safebox{max-height:calc(100dvh - 70px);top:58px}#refine-dialog input,#safebox-password input{font-size:16px}}#mount-toggle{right:calc(112px + env(safe-area-inset-right));bottom:calc(16px + env(safe-area-inset-bottom));z-index:40;touch-action:manipulation;background:0 0;border:0;border-radius:50%;width:56px;height:56px;padding:0;display:none;position:fixed}#mount-toggle img{pointer-events:none;filter:saturate(.45)brightness(.8);width:100%;height:100%;display:block}#mount-toggle[aria-pressed=true] img{filter:saturate(1.1)brightness(1.12)drop-shadow(0 0 5px #edbf61)}#mount-toggle span{pointer-events:none;background:#46372d;border:1px solid #cfb777;border-radius:50%;width:9px;height:9px;position:absolute;bottom:3px;right:2px}#mount-toggle[aria-pressed=true] span{background:#98d55c;box-shadow:0 0 4px #98d55c}#mount-toggle:disabled{opacity:.45}@media (pointer:coarse){body.playing #mount-toggle{display:block}}@media (pointer:coarse) and (orientation:portrait){#mount-toggle{right:calc(14px + env(safe-area-inset-right));bottom:calc(160px + env(safe-area-inset-bottom))}}:root{color:#ede7d9;font-synthesis:none;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;background:#121a1b;font-family:Georgia,Times New Roman,serif}*{box-sizing:border-box}body{margin:0;overflow:hidden}#world{touch-action:none;outline:0;width:100vw;height:100dvh;display:block}header{left:32px;right:32px;top:max(28px,env(safe-area-inset-top));pointer-events:none;text-shadow:0 2px 12px #000;align-items:center;gap:22px;display:flex;position:absolute}header select{pointer-events:auto;margin-left:auto}.brand{letter-spacing:6px;font-size:25px}.brand span{color:#c3a776;margin-left:7px}.rule{background:#c3a77666;width:1px;height:34px}small{letter-spacing:2.5px;text-transform:uppercase;color:#c3bdad;font:10px/1.8 Arial,sans-serif;display:block}strong{font-size:17px;font-weight:400}#welcome{background:linear-gradient(90deg,#10191beb,#10191b8c);border-left:2px solid #b89c69;width:440px;max-width:84vw;padding:34px;position:absolute;top:32vh;left:8vw}h1{margin:13px 0 18px;font-size:42px;font-weight:400;line-height:1.12}p{color:#c7ccca;font:13px/1.8 Arial,sans-serif}button,select{color:#ece9df;cursor:pointer;background:#142021c9;border:1px solid #66716f;padding:12px 16px;font:12px Arial,sans-serif}button:hover{background:#314442}button:disabled{opacity:.5;cursor:default}#enter{color:#172225;background:#c5ab7a;border:0;min-width:180px;margin-top:14px}#load-status{min-height:21px;font-size:11px}#panel{-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#122020c9;border-top:1px solid #bea67b;width:215px;padding:22px;display:none;position:absolute;top:118px;right:32px}h2{margin:5px 0;font-size:30px;font-weight:400}#position{font-size:11px}.stats{color:#bcd0c2;border-top:1px solid #67706c60;border-bottom:1px solid #67706c60;justify-content:space-between;margin:15px 0;padding:15px 0;font:11px Arial,sans-serif;display:flex}label{gap:8px;font:11px Arial,sans-serif;display:grid}#panel button{width:100%;margin-top:9px}.note{color:#a9b5b0;margin-bottom:0;font-size:10px}footer{left:32px;right:32px;bottom:max(24px,env(safe-area-inset-bottom));text-shadow:0 2px 4px #000;pointer-events:none;justify-content:space-between;gap:20px;font:11px/1.7 Arial,sans-serif;display:flex;position:absolute}.pill{letter-spacing:1px;color:#d0bf9e}#joystick{touch-action:none;background:#12202055;border:1px solid #d8d4bb55;border-radius:50%;width:112px;height:112px;display:none;position:absolute;bottom:90px;left:30px}#joystick div{background:#d0bf9e77;border:1px solid #e3dac8;border-radius:50%;width:40px;height:40px;position:absolute;top:35px;left:35px}#error{white-space:pre-wrap;background:#291b1bef;padding:28px;font:14px/1.8 monospace;position:absolute;inset:25% 12%}body.playing #welcome{display:none}body.playing #panel{display:block}@media (pointer:coarse){body.playing #joystick{display:block}}@media (width<=700px){header{gap:12px;top:18px;left:18px;right:18px}.brand{letter-spacing:3px;font-size:19px}header strong{font-size:13px}header small{font-size:8px}header select{max-width:65px;padding:8px}#welcome{padding:24px;top:27vh;left:7vw}h1{font-size:34px}#panel{width:150px;padding:14px;top:90px;right:16px}#panel h2{font-size:24px}#panel button{padding:9px}.note{line-height:1.5}footer{font-size:10px;left:18px;right:18px}footer>span:first-child{max-width:70%}}#welcome{max-height:76dvh;top:18vh;overflow:auto}#characters{flex-wrap:wrap;gap:8px;margin:14px 0;display:flex}#characters button[aria-pressed=true]{background:#35433b;border-color:#d5b677}#create-character{align-items:end;gap:10px;display:flex}#create-character label{flex:1;min-width:0}#character-name{color:#ece9df;background:#142021;border:1px solid #66716f;width:100%;padding:12px;font:14px Arial}#character-status{color:#e6bc8e;font-size:12px}#active-character{overflow-wrap:anywhere}button:focus-visible,input:focus-visible{outline-offset:2px;outline:2px solid #d5b677}@media (width<=700px){#welcome{max-height:80dvh;top:15dvh}#welcome h1{font-size:28px}#welcome p{margin:8px 0}#create-character{flex-wrap:wrap}}.brand img{width:180px;max-width:26vw;height:auto;display:block}body.playing header{left:max(12px,env(safe-area-inset-left));top:max(12px,env(safe-area-inset-top))}body.playing .brand img{width:100px;max-width:20vw}button:focus:not(:focus-visible){outline:none}button:focus-visible,input:focus-visible,select:focus-visible{outline-offset:2px;outline:2px solid #c7ccca}.settings-tabs{gap:8px;margin-top:16px;display:flex}.settings-tabs button{flex:1}.settings-tabs [aria-selected=true]{background:#39433e;border-color:#939b92}#world-options [role=tabpanel][hidden]{display:none}#world-options #settings-pc .click-move-option{display:flex}#joystick{left:calc(12px + env(safe-area-inset-left));bottom:calc(12px + env(safe-area-inset-bottom));z-index:16;position:fixed}@media (height<=480px){#asset-gate .launcher-logo{width:min(280px,60vw);margin-bottom:8px}#asset-gate{padding:12px}}#world-toolbar{right:max(14px,env(safe-area-inset-right));top:max(14px,env(safe-area-inset-top));z-index:15;align-items:center;gap:8px;display:none;position:fixed}body.playing #world-toolbar{display:flex}body.playing header select{display:none}#fps{color:#fff;text-shadow:0 1px 3px #000;margin-right:4px;font:12px Arial,sans-serif}.world-icon{color:#eee;background:#111b1bcc;border:1px solid #99876480;border-radius:5px;place-items:center;width:38px;height:38px;padding:8px;display:grid}.world-icon svg{fill:none;stroke:currentColor;stroke-width:1.7px;stroke-linecap:round;stroke-linejoin:round;width:22px;height:22px}#world-options{color:#eee;background:#171917;border:1px solid #ab8e59;border-radius:8px;width:min(380px,90vw);max-height:90dvh;padding:18px}#world-options::backdrop{background:#0008}.options-heading{justify-content:space-between;align-items:center;gap:20px;display:flex}.options-heading h2{font-size:22px}.click-move-option{align-items:center;margin:24px 0;font:14px Arial,sans-serif;display:flex}.click-move-option input{width:18px;height:18px}#world-options #characters-back{width:100%}@media (pointer:coarse){.click-move-option{display:none}}#nameplates{pointer-events:none;z-index:3;width:100%;height:100%;position:fixed;inset:0}.touch-options{margin:20px 0;font:14px Arial,sans-serif}.touch-move-option{align-items:center;gap:8px;margin-bottom:16px;display:flex}.touch-move-option input{flex-shrink:0;width:18px;height:18px}.touch-target-option{flex-direction:column;gap:8px;display:flex}.touch-target-option select{width:100%;min-height:40px}.touch-target-option select:disabled{opacity:.5}#world-options{overflow-y:auto}body:not(.playing){background:#101010 var(--login-background,url(/assets/intro/background.png)) center/cover no-repeat}body[data-phase=select],body[data-phase=create],body[data-phase=delete]{background-image:var(--select-background);background-size:100% 100%}body:not(.playing) header .brand,body:not(.playing) header .rule,body:not(.playing) header strong,body:not(.playing) header small,body:not(.playing) footer,body[data-phase=server] #world,body[data-phase=login] #world{visibility:hidden}body[data-phase=select] #world,body[data-phase=create] #world,body[data-phase=delete] #world{width:calc(100vw - 280px);margin-left:280px}#intro-note{text-align:center;text-shadow:0 2px 4px #000;pointer-events:none;width:100%;font-size:12px;position:fixed;bottom:8px;left:0}body.playing #intro-note{display:none}#welcome{pointer-events:none;background:0 0;border:0;justify-content:center;align-items:center;width:100%;max-width:none;max-height:none;padding:0;display:flex;inset:0;overflow:auto}.native-board,.login-cluster{pointer-events:auto;color:#ddd1b0;font:13px Arial,sans-serif}.native-board{background-repeat:no-repeat;background-size:100% 100%}.native-board h1{text-align:center;color:#dbbc70;margin:0 0 25px;font:16px Georgia,serif}#welcome button{color:#e6d8bb;background:url(/assets/intro/login_btn_red_01.png) 50%/100% 100%;border:0;min-height:30px;padding:7px 12px;font:12px Arial,sans-serif}#welcome button:hover{filter:brightness(1.2)}#welcome button:disabled{filter:grayscale();cursor:default;opacity:.45}#welcome button[aria-pressed=true]{color:#ffdc79;outline-offset:-1px;outline:1px solid #9f813f}.server-board{background-image:url(/assets/intro/srv_panel.png);width:460px;height:340px;padding:20px 28px}.server-head{grid-template-columns:53% 29% 18%;margin-bottom:20px;font-size:11px;display:grid}.server-columns{grid-template-columns:50% 50%;gap:5px;min-height:180px;display:grid}#servers,#channels{flex-direction:column;gap:4px;display:flex}#welcome .server-columns button{text-align:left;background:0 0;border-bottom:1px solid #79614433}.intro-actions{flex-wrap:wrap;justify-content:center;gap:10px;display:flex}.intro-actions button{min-width:95px}.connect-board{background:url(/assets/intro/connect_panel.png) 50%/100% 100%;justify-content:space-around;align-items:center;width:300px;min-height:45px;margin-bottom:12px;padding:5px;display:flex}.login-board{text-align:center;background-image:url(/assets/intro/login_panel.png);width:300px;min-height:280px;padding:30px 26px 15px}.native-board label{gap:8px;margin:12px 0;font:12px Arial,sans-serif}.native-board input{color:#ddd;background:#100e0b;border:1px solid #665332;width:100%;height:34px;padding:7px 10px;font:14px Arial,sans-serif}#intro-status{color:#e9b08b;font-size:12px}.demo-credentials{color:#baab8a;font-size:11px}.character-board{background-image:url(/assets/intro/novara2_left_panel.png);width:250px;min-height:480px;padding:24px;position:absolute;top:18vh;left:4vw}#characters{flex-direction:column;gap:10px;margin:0 0 20px;display:flex}#characters button{width:100%;height:36px}#welcome #enter{color:#e6d8bb;background:url(/assets/intro/login_btn_red_01.png) 50%/100% 100%;min-width:95px;margin:0}#welcome #create-character{display:block}#create-character .jobs{grid-template-columns:1fr 1fr;gap:8px;margin-bottom:25px;display:grid}.delete-board{background-image:url(/assets/intro/novara2_delete_panel.png);width:350px;min-height:300px;padding:30px}@media (width<=600px),(width<=1000px) and (height<=500px){.server-board{width:94vw;padding:20px 22px}.character-board{width:185px;min-height:440px;padding:20px 14px;top:110px;left:12px}.character-board .intro-actions{gap:5px}.character-board h1{font-size:15px}.character-board p{font-size:11px}.delete-board{width:90vw}#intro-note{font-size:10px}#welcome{max-height:none;top:0}#welcome h1{font-size:16px}#create-character .jobs{grid-template-columns:1fr}body[data-phase=select] #world,body[data-phase=create] #world,body[data-phase=delete] #world{width:calc(100vw - 195px);margin-left:195px}}.appearance-options{grid-template-columns:1fr 1fr;gap:10px;display:grid}.mounts{grid-template-columns:repeat(4,1fr);gap:4px;display:grid}.mounts img{width:32px;height:32px;margin:auto;display:block}.mounts button{padding:5px 2px!important;font-size:10px!important}.character-board{width:300px;max-height:84vh;top:12vh;overflow:auto}.character-stats{white-space:nowrap}#welcome.intro-server{align-items:flex-start;padding-top:46vh}#characters{flex-shrink:0;max-height:230px;overflow:auto}#characters button{flex-shrink:0}.empire-board{background-image:url(/assets/intro/novara2_delete_panel.png);width:min(550px,94vw);padding:35px}.empires{justify-content:center;gap:20px;margin:30px 0;display:flex}body[data-phase=empire] #world{visibility:hidden}@media (width<=600px),(width<=1000px) and (height<=500px){body[data-phase=server],body[data-phase=login]{background-position:top;background-size:auto 60vh}#welcome.intro-server{padding-top:40vh}body[data-phase=select],body[data-phase=create]{min-height:calc(var(--intro-model-top,420px) + 390px);overflow-y:auto}body[data-phase=select] #welcome,body[data-phase=create] #welcome{height:auto;padding:80px 10px 0;display:block;position:relative;inset:auto;overflow:visible}.character-board{width:100%;min-height:0;max-height:none;margin:0;padding:18px;position:relative;inset:auto}.character-board h1{margin-bottom:12px}.character-board p{margin:8px 0}#characters{grid-template-columns:repeat(5,minmax(0,1fr));gap:5px;margin-bottom:10px;display:grid}#characters button{overflow-wrap:anywhere;height:44px;padding:5px;font-size:10px}#characters{grid-auto-rows:44px;max-height:95px}.empire-board{margin-top:160px}#welcome #create-character .jobs{grid-template-columns:repeat(4,1fr);gap:4px;margin-bottom:8px}#create-character .jobs button{padding:5px;font-size:10px}.character-board .intro-actions{grid-template-columns:repeat(2,1fr);display:grid}.character-board label{margin:8px 0}body[data-phase=select] #world,body[data-phase=create] #world{top:var(--intro-model-top,420px);width:100%;height:390px;margin:0;position:absolute;left:0}#intro-note{z-index:5;background:#0009;margin:0;bottom:0}}body[data-phase=empire]{background:#111}.create-tabs{display:none}.character-board #intro-status{min-height:22px;margin:8px 0 0;line-height:22px}.empire-screen{width:100%;height:100%;position:absolute;inset:0}.empire-map{width:100%;height:100%}.empire-map g{cursor:pointer}.empire-map image{pointer-events:none}.empire-highlight{opacity:0;transition:opacity .2s}.empire-map g:hover .empire-highlight,.empire-map g:focus .empire-highlight,.empire-map g[aria-pressed=true] .empire-highlight{opacity:1}.empire-map g:focus{outline:none}.empire-actions{text-align:center;text-shadow:0 2px 3px #000;position:absolute;bottom:6vh;left:50%;transform:translate(-50%)}.empire-actions p{color:#ffda80;font:20px Georgia,serif}#welcome #create-character .jobs{grid-template-columns:1fr;gap:7px;margin-bottom:14px}#welcome #create-character .jobs button{background-image:url(/assets/intro/novara2_slot_01.png);justify-content:flex-start;align-items:center;gap:5px;height:43px;padding:0 8px;display:flex}#welcome #create-character .jobs button:hover{background-image:url(/assets/intro/novara2_slot_02.png)}#welcome #create-character .jobs button[aria-pressed=true]{background-image:url(/assets/intro/novara2_slot_03.png);outline:0}.jobs img:first-child{object-fit:contain;width:43px;height:43px}.jobs img:last-child{object-fit:contain;max-width:calc(100% - 48px);height:24px}.icon-pair{background:url(/assets/intro/88x47_btn.png) 50%/100% 100%;justify-content:space-between;width:98px;padding:5px;display:flex}#welcome .picture-choice{background-image:var(--up);outline:none;width:37px;height:37px;min-height:37px;padding:0}#welcome .picture-choice:hover{background-image:var(--over)}#welcome .picture-choice[aria-pressed=true]{background-image:var(--down)}@media (width>=601px){body[data-phase=select] #world,body[data-phase=create] #world,body[data-phase=delete] #world{width:64vw;margin-left:36vw}}@media (width<=600px),(width<=1000px) and (height<=500px){#welcome #create-character .jobs{grid-template-columns:1fr 1fr;gap:6px}#welcome #create-character .jobs button{padding:0 3px}body[data-phase=select],body[data-phase=create]{background:#171411}body[data-phase=select] #world,body[data-phase=create] #world{background:var(--select-background) 91% center/auto 100% no-repeat}.empire-screen{height:calc(100% - 140px);top:90px}.empire-map{height:70%;position:absolute;top:5%}.empire-actions{width:100%;bottom:0}}#welcome #characters button{text-align:left;background-image:url(/assets/intro/novara2_slot_01.png);align-items:center;gap:8px;padding:0 7px;display:flex}#welcome #characters button:hover{background-image:url(/assets/intro/novara2_slot_02.png)}#welcome #characters button[aria-pressed=true]{filter:brightness(1.2);background-image:url(/assets/intro/novara2_slot_02.png);outline:0}#characters img{object-fit:contain;width:36px;height:36px}#characters span{text-overflow:ellipsis;overflow:hidden}@media (width<=600px),(width<=1000px) and (height<=500px){.empire-map{aspect-ratio:16/9;height:auto;top:18%}#welcome #characters button{flex-direction:column;gap:1px;height:64px;padding:2px}#characters img{width:30px;height:30px}#characters{grid-auto-rows:64px;max-height:135px}}#characters{scrollbar-color:#8f713e #171411;scrollbar-width:thin;flex-wrap:nowrap}@media (width<=600px),(width<=1000px) and (height<=500px){#characters{scroll-snap-type:x proximity;scrollbar-width:none;flex-flow:row;gap:5px;height:76px;max-height:none;display:flex;overflow:auto hidden}#characters::-webkit-scrollbar{display:none}#welcome #characters button{scroll-snap-align:start;flex:0 0 calc(20% - 4px);width:calc(20% - 4px);height:64px}body[data-phase=create]{height:100dvh;min-height:0;overflow:hidden}body[data-phase=create] #welcome{height:100dvh;padding:72px 10px 28px;position:absolute;inset:0;overflow:hidden}.create-tabs{pointer-events:auto;z-index:6;gap:8px;display:flex;position:absolute;top:20px;left:10px;right:85px}#welcome .create-tabs button{flex:1;min-height:36px}#welcome .create-tabs button[aria-selected=true]{color:#ffdd80;outline:1px solid #c4a15f}body[data-phase=create] .character-board{height:100%;max-height:100%;padding:16px;overflow-y:auto}body[data-phase=create][data-create-tab=model] .character-board{display:none!important}body[data-phase=create][data-create-tab=settings] #world{visibility:hidden}body[data-phase=create][data-create-tab=model] #world{visibility:visible;background-position:91%;width:100%;height:calc(100dvh - 100px);top:72px;left:0}}#asset-gate{z-index:1000;text-align:center;color:#d9bc80;background:radial-gradient(#302317,#100e0c 75%);flex-direction:column;justify-content:center;align-items:center;padding:24px;display:flex;position:fixed;inset:0}#asset-gate[hidden]{display:none}#asset-gate h1{letter-spacing:6px;font:40px Georgia,serif}#asset-gate h2{font:20px Georgia,serif}#asset-gate p{max-width:480px}#asset-gate progress{accent-color:#b9914b;width:min(420px,90vw);height:12px}body[data-assets=locked]{background:#100e0c!important}body[data-assets=locked]>:not(#asset-gate):not(script){visibility:hidden!important;pointer-events:none!important}body[data-assets=locked] #world{background:0 0!important}body[data-assets=locked] #welcome{display:none!important}body[data-assets=locked] :not(#asset-gate){background-image:none!important}.create-identity,.create-details,.create-mount{display:contents}.select-tabs{display:none}.intro-select .character-board{flex-direction:column;width:340px;height:76vh;min-height:320px;display:flex;overflow:hidden}.intro-select #characters{scrollbar-width:thin;scroll-snap-type:none;flex-direction:column;flex:1;gap:7px;height:auto;min-height:0;max-height:none;margin-bottom:16px;display:flex;overflow:hidden auto}#welcome #characters button{white-space:nowrap;background-position:50%;background-repeat:no-repeat;background-size:100% 100%;flex-direction:row;flex:0 0 44px;gap:6px;width:100%;height:44px;padding:0 7px;font-size:12px}#characters .row-name{flex:1;min-width:0}#characters .row-level{color:#dfbd79;font-variant-numeric:tabular-nums;flex:none}#characters img.empire-flag{flex-shrink:0;width:24px;height:28px}.intro-select .character-board #intro-status:empty{display:none}#welcome #channels button{justify-content:space-between;gap:8px;display:flex}@media (width<=600px),(width<=1000px) and (height<=500px){body[data-phase=select]{height:100dvh;min-height:0;overflow:hidden}body[data-phase=select] #welcome{height:100dvh;padding:72px 10px 20px;position:absolute;inset:0;overflow:hidden}.select-tabs{pointer-events:auto;z-index:6;gap:8px;display:flex;position:absolute;top:20px;left:10px;right:85px}#welcome .select-tabs button{flex:1;min-height:36px}#welcome .select-tabs button[aria-selected=true]{color:#ffdd80;outline:1px solid #c4a15f}.intro-select .character-board{width:100%;height:100%;min-height:0;max-height:100%;padding:18px;position:relative;inset:auto}.intro-select #characters::-webkit-scrollbar{width:6px;display:block}body[data-phase=select][data-select-tab=model] .character-board{display:none}body[data-phase=select][data-select-tab=list] #world{visibility:hidden}body[data-phase=select][data-select-tab=model] #world{visibility:visible;background-position:91%;width:100%;height:calc(100dvh - 92px);margin:0;top:72px;left:0}}@media (width<=1000px) and (height<=500px){body:not(.playing) header{top:8px;right:max(12px,env(safe-area-inset-right))}body:not(.playing) header select{padding:8px}body[data-phase=create] #welcome,body[data-phase=select] #welcome{padding:52px max(12px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left))}.create-tabs,.select-tabs{top:8px;left:max(12px,env(safe-area-inset-left));right:100px}body[data-phase=create] .character-board{min-height:0;padding:12px}body[data-phase=create][data-create-tab=model] #world,body[data-phase=select][data-select-tab=model] #world{height:calc(100dvh - 60px);margin:0;top:52px}#welcome #create-character .jobs{grid-template-columns:repeat(4,minmax(0,1fr))}#welcome.intro-server{padding-top:54px;padding-bottom:8px}.server-board{width:min(460px,94vw);height:calc(100dvh - 62px);min-height:260px;padding:16px 24px}.server-board h1{margin-bottom:12px}.server-head{margin-bottom:8px}.server-columns{min-height:148px}.connect-board{min-height:36px;margin-bottom:4px}.login-board{min-height:0;padding:16px 26px}.login-board label{margin:8px 0}.empire-screen{height:calc(100% - 52px);top:44px}.empire-map{aspect-ratio:auto;height:100%;top:0}.empire-actions{width:auto;bottom:8px;left:auto;right:12px;transform:none}}@media (width<=600px),(width<=1000px) and (height<=500px){body[data-phase=create][data-create-tab=model] #world,body[data-phase=select][data-select-tab=model] #world{background:var(--select-background) 70% center/cover no-repeat;width:100vw;height:100dvh;margin:0;inset:0}body[data-phase=create][data-create-tab=model] .create-tabs,body[data-phase=select][data-select-tab=model] .select-tabs{filter:drop-shadow(0 3px 6px #000)}}@media (width<=1000px) and (height<=500px){body[data-phase=create] #welcome{padding:50px max(16px,env(safe-area-inset-right)) 8px max(16px,env(safe-area-inset-left))}#welcome #create-character{background-color:#15110eef;background-image:none;border:1px solid #89643a;border-radius:3px;flex-direction:column;gap:3px;width:min(680px,100%);margin:0 auto;padding:8px 20px;display:flex;overflow:auto;box-shadow:inset 0 0 0 3px #20170f,inset 0 0 0 4px #594029}#welcome #create-character h1{text-align:center;flex-shrink:0;width:100%;margin:0;font-size:14px;line-height:16px}#create-character .create-identity{flex-shrink:0;grid-template-columns:minmax(0,1fr) minmax(180px,1fr);gap:24px;width:100%;display:grid}#welcome #create-character .jobs{grid-template-columns:1fr;gap:2px;margin:0;display:grid}#welcome #create-character .jobs button{gap:8px;height:26px;min-height:26px;padding:0 8px}#create-character .jobs img:first-child{width:26px;height:26px}#create-character .jobs img:last-child{max-width:calc(100% - 40px);height:19px}#create-character .appearance-options{flex-direction:column;gap:2px;display:flex}#create-character .appearance-options>div{justify-content:space-between;align-items:center;gap:8px;display:flex}#create-character .appearance-options label{margin:0;font-size:12px}#create-character .icon-pair{width:96px;padding:4px}#welcome #create-character .picture-choice{width:37px;height:37px;min-height:37px}#welcome #create-character .character-stats{text-align:center;border-top:1px solid #604727;border-bottom:1px solid #604727;flex-shrink:0;width:100%;margin:0;font-size:11px;line-height:18px}#create-character .create-details{flex-shrink:0;grid-template-columns:minmax(0,1fr) minmax(180px,1fr);gap:24px;width:100%;display:grid}#create-character .create-name{flex-direction:column;justify-content:center;gap:8px;margin:0;display:flex}#create-character .create-mount{min-width:0;display:block}#create-character .create-mount>label{margin:0 0 2px;font-size:11px;line-height:14px}#create-character .mounts{flex-direction:column;gap:1px;display:flex}#welcome #create-character .mounts button{text-align:left;background-color:#241a12;background-image:none;border:1px solid #564129;align-items:center;gap:8px;height:22px;min-height:22px;display:flex;padding:0 8px!important}#create-character .mounts img{width:21px;height:21px;margin:0}#welcome #create-character .mounts button[aria-pressed=true]{background-color:#51301b}#create-character .intro-actions{flex-shrink:0;grid-template-columns:1fr 1fr;gap:24px;width:100%;margin-top:10px;display:grid}#welcome #create-character .intro-actions button{height:28px;min-height:28px;padding:4px 12px}#create-character #intro-status:empty{display:none}#welcome #create-character #intro-status{flex-shrink:0;min-height:0;margin:0;line-height:16px}}.world-error-dialog{color:#d9bc80;text-align:center;background:#17120e;border:2px solid #916136;width:min(440px,100vw - 32px);max-height:calc(100dvh - 32px);padding:24px;box-shadow:0 0 0 3px #382416}.world-error-dialog::backdrop{background:#000b}.world-error-dialog p{margin:0 0 24px}.world-error-dialog button{min-width:120px}#asset-gate .asset-required{color:#d9bc80;cursor:pointer;align-items:center;gap:10px;max-width:620px;margin:4px 0 20px;font-size:14px;display:flex}#asset-gate .asset-required input{accent-color:#b9914b;flex-shrink:0;width:18px;height:18px;margin:0}#download-full-assets{max-width:calc(100% - 105px)}#asset-gate{justify-content:flex-start;overflow-y:auto}#asset-gate>*{flex-shrink:0}#asset-gate>.launcher-logo{margin-top:auto}#asset-gate:after{content:"";flex-shrink:0;margin-top:auto}#asset-gate .asset-storage{color:#c8c1b3;width:100%;max-width:620px;margin:24px 0 0;font-size:12px;line-height:1.45}#asset-gate .asset-storage p{max-width:none;margin:6px 0}#asset-gate .asset-storage small{color:#aaa393;text-transform:none;letter-spacing:normal;font-size:11px;display:block}#asset-gate .asset-storage details{text-align:left;margin-top:10px}#asset-gate .asset-storage summary{cursor:pointer;color:#d9bc80}.two-factor-dialog label{margin-bottom:20px;display:block}.two-factor-dialog input{box-sizing:border-box;color:#fff;text-align:center;letter-spacing:6px;background:#141d1d;border:1px solid #8a7958;width:100%;margin-top:14px;padding:12px;font-size:22px;display:block}.two-factor-dialog button{margin:4px}.login-board .save-account-choice,.two-factor-dialog .trust-device-choice{text-align:left;align-items:center;gap:10px;line-height:1.4;display:flex}.login-board .save-account-choice input,.two-factor-dialog .trust-device-choice input{letter-spacing:normal;accent-color:#ba913c;flex:0 0 18px;width:18px;height:18px;margin:0;padding:0;display:inline-block}#saved-accounts{border-top:1px solid #665332;max-height:180px;margin-top:14px;padding-top:8px;overflow:auto}#saved-accounts h2{color:#dbbc70;margin:4px 0 10px;font-size:14px}.saved-account-row{grid-template-columns:minmax(0,1fr) 36px;gap:6px;margin:6px 0;display:grid}#welcome .saved-account-row button:first-child{text-align:center;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}#welcome .saved-account-row button:last-child{min-height:36px;padding:2px;font-size:22px}@media (height<=600px){#welcome.intro-login{box-sizing:border-box;align-items:flex-start;padding:12px 0}.intro-login .login-cluster{margin:auto 0}#saved-accounts{max-height:120px}}@media (height<=600px) and (width>=600px){.intro-login .login-board:has(.saved-account-row){grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:20px;width:min(580px,100vw - 110px);display:grid}.intro-login .login-board:has(.saved-account-row)>:not(#saved-accounts){grid-column:1}.intro-login .login-board #saved-accounts:not([hidden]){border-top:0;border-left:1px solid #665332;grid-area:1/2/7;max-height:230px;margin:0;padding:0 0 0 16px}.intro-login .connect-board{margin-left:auto;margin-right:auto}}#target-board{z-index:25;top:max(14px,env(safe-area-inset-top));color:#fff;text-shadow:1px 1px #000;pointer-events:auto;border:16px solid #0000;border-image:url(/assets/target/board.png) 16 fill;width:max-content;min-width:240px;max-width:calc(100vw - 120px);padding:0 24px 0 4px;font:12px Arial,sans-serif;position:fixed;left:50%;transform:translate(-50%)}#target-board[hidden],body:not(.playing) #target-board,body:not(.playing) #mouse-modes{display:none}.target-name{text-align:center;overflow-wrap:anywhere;line-height:20px;display:block}.target-face{width:43px;height:43px;position:absolute;top:0;right:calc(100% + 12px)}.target-face[hidden]{display:none}.target-element{width:24px;height:24px;position:absolute;top:-4px;left:-38px}.target-element[hidden],.target-damage[hidden],.target-appearance[hidden]{display:none}.target-damage{text-align:center;margin-top:7px;font-size:11px}.target-appearance{margin-top:6px;font-size:11px}.target-appearance summary{cursor:pointer}.target-appearance>div{padding-top:6px;line-height:18px}.target-appearance [data-hidden=false]{color:#1ebd11}.target-appearance [data-hidden=true]{color:#db1a1a}#target-board .target-close{cursor:pointer;background:url(/assets/target/close-1.png) 50%/100% 100%;border:0;width:17px;height:17px;padding:0;position:absolute;top:-7px;right:-9px}#target-board .target-close:hover{background-image:url(/assets/target/close-2.png)}.target-health{text-align:center;padding-top:5px}.target-gauge{background:url(/assets/target/gauge_slot_center.png) 50% repeat-x;width:180px;max-width:100%;height:15px;margin:auto;overflow:hidden}.target-gauge i{background:url(/assets/target/gauge_red.png) 50% repeat-x;height:15px;transition:width .15s linear;display:block}.target-health[data-color=green] i{background-image:url(/assets/target/gauge_green.png)}.target-health[data-color=orange] i{background-image:url(/assets/target/gauge_orange.png)}.target-hp{margin-top:2px;font-size:11px;display:block}#mouse-modes{z-index:30;bottom:max(16px,env(safe-area-inset-bottom));position:fixed;right:20px}#mouse-mode-menu{background:#101010c0;border:1px solid #8e7956;padding:4px;position:absolute;bottom:38px;right:0}#mouse-mode-menu[hidden]{display:none}#mouse-modes button{background:var(--mode-idle) center/32px 32px no-repeat;cursor:pointer;border:0;width:32px;height:32px;margin:0;padding:0;display:block}#mouse-modes button:hover{background-image:var(--mode-hover)}#mouse-modes button:disabled{opacity:.35;filter:grayscale();cursor:default}#mouse-modes [data-mode=move]{--mode-idle:url(/assets/target/move-1.png);--mode-hover:url(/assets/target/move-2.png)}#mouse-modes [data-mode=camera]{--mode-idle:url(/assets/target/camera-1.png);--mode-hover:url(/assets/target/camera-2.png)}#mouse-modes [data-mode=auto]{--mode-idle:url(/assets/target/auto-1.png);--mode-hover:url(/assets/target/auto-2.png)}#mouse-modes [data-mode=queue]{--mode-idle:url(/assets/target/queue-1.png);--mode-hover:url(/assets/target/queue-2.png)}#mouse-modes button{background-size:44px 44px;width:44px;height:44px}#mouse-modes button[aria-pressed=true]{outline:none}#mouse-mode-menu{border:0;flex-direction:column;align-items:center;gap:2px;padding:0;display:flex;bottom:48px}#mouse-mode-menu .touch-target-option{color:#eee;background:#171917;border:1px solid #66716f;width:220px;padding:12px}@media (pointer:coarse){#mouse-modes,#mouse-mode-menu>button{display:block}}@media (width<=600px){#target-board{min-width:180px;max-width:calc(100vw - 86px);top:64px}.target-face{width:32px;height:32px;right:calc(100% + 4px)}}.touch-target-option[hidden]{display:none!important}#combat-skills{bottom:max(12px,env(safe-area-inset-bottom));z-index:20;gap:5px;display:flex;position:fixed;left:50%;transform:translate(-50%)}#combat-vitals{top:70px;left:calc(12px + env(safe-area-inset-left));z-index:20;pointer-events:none;width:min(185px,28vw);position:fixed}#combat-vitals div{background:#14191cdd;border:1px solid #a48a5c;border-radius:3px;height:14px;margin-bottom:3px;position:relative;overflow:hidden}#combat-vitals i{background:linear-gradient(#eb605d,#971413);height:100%;display:block}#combat-vitals [data-stat=SP] i{background:linear-gradient(#55b5f1,#194da1)}#combat-vitals span{text-align:center;color:#fff;text-shadow:1px 1px #000;font:10px/12px Arial;position:absolute;inset:0}body:not(.playing) #combat-vitals{display:none}#combat-skills button{touch-action:none;background:#161b1bea;border:2px solid #8b7753;border-radius:5px;width:44px;height:44px;padding:4px;position:relative}#combat-skills img{width:32px;height:32px;display:block}#combat-skills small{color:#fff;text-shadow:1px 1px #000;letter-spacing:0;font:10px Arial;position:absolute;bottom:-1px;right:2px}#combat-skills button:disabled{filter:grayscale();opacity:.45;cursor:default}#combat-skills [data-active=true]{box-shadow:0 0 8px #78bc73}.skill-cooldown{background:conic-gradient(#000b var(--cooldown,0%),transparent 0);color:#fff;text-shadow:1px 1px #000;place-items:center;font:700 14px Arial;display:grid;position:absolute;inset:0}#combat-attack{right:calc(14px + env(safe-area-inset-right));bottom:calc(66px + env(safe-area-inset-bottom));touch-action:none;z-index:20;background:radial-gradient(#5b201a,#201915);border:3px double #bca477;border-radius:50%;width:76px;height:76px;padding:14px;display:none;position:fixed}body.playing{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}body.playing input,body.playing textarea,body.playing [contenteditable=true]{-webkit-user-select:text;user-select:text;-webkit-touch-callout:default}#combat-attack,#combat-attack *{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent}#combat-attack svg{fill:none;stroke:#e4dfce;stroke-width:4px;stroke-linecap:round;width:100%;height:100%}#combat-attack:active{background:#76382d}#combat-notice{color:#fff;text-align:center;z-index:40;pointer-events:none;background:#191510bb;max-width:80vw;padding:8px 14px;font:14px Arial;position:fixed;top:30%;left:50%;transform:translate(-50%)}#combat-death{z-index:40;background:#191510e8;border:1px solid #9e895e;gap:12px;padding:16px;display:flex;position:fixed;top:45%;left:50%;transform:translate(-50%)}#combat-death[hidden],#combat-notice[hidden],body:not(.playing) #combat-skills,body:not(.playing) #combat-attack,body:not(.playing) #combat-notice,body:not(.playing) #combat-death{display:none}@media (pointer:coarse){#combat-attack{display:block}#combat-skills{left:auto;right:calc(98px + env(safe-area-inset-right));bottom:calc(64px + env(safe-area-inset-bottom));grid-template-columns:repeat(2,44px);display:grid;transform:none}#combat-skills small{display:none}}@media (pointer:coarse) and (width<=500px){#combat-skills{right:calc(12px + env(safe-area-inset-right));bottom:calc(153px + env(safe-area-inset-bottom));grid-template-columns:repeat(3,40px)}#combat-skills button{width:40px;height:40px;padding:2px}#combat-death{flex-direction:column}}#inventory,#inventory *,#item-tooltip{box-sizing:border-box}#quest-dialog{white-space:pre-wrap;width:480px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);line-height:1.5;overflow:auto}#quest-dialog nav{flex-wrap:wrap;gap:6px;margin-top:16px;display:flex}#quest-dialog nav button{flex:40%;padding:9px}#npc-shop{box-sizing:border-box;color:#eee;z-index:44;background:#17110ff5;border:2px ridge #9b7449;width:290px;max-height:calc(100dvh - 125px);padding:12px;font:12px Arial;position:fixed;top:110px;left:16px;overflow:auto}#npc-shop[hidden]{display:none}#npc-shop header{color:#e9c187;justify-content:space-between;font:17px Georgia;display:flex}#npc-shop nav{flex-wrap:wrap;gap:4px;margin:8px 0;display:flex}#npc-shop button{padding:5px}#npc-shop .item-slot{padding:0}.shop-grid{grid-template-columns:repeat(5,40px);grid-auto-rows:40px;gap:3px;display:grid}#npc-shop output{color:#fba089}@media (pointer:coarse){#npc-shop{width:250px;max-height:calc(100dvh - 74px);top:62px;left:8px}}@media (width<=600px){#npc-shop{z-index:43}}#ground-items{pointer-events:none;z-index:20;position:fixed;inset:0}#ground-items button{color:#fff;white-space:pre;text-shadow:1px 1px 1px #000;pointer-events:auto;background:#10101080;border:0;padding:2px 5px;font:12px/1.3 Arial;position:absolute;top:0;left:0}#ground-items button[data-lucky=true]{color:#fa0}#ground-items button[data-owner=own]{color:#ffc800}#ground-items button[data-owner=other]{color:#fe5148}#ground-items button[hidden]{display:none}#loot-pickup{z-index:35;width:40px;height:40px;padding:8px;position:fixed;top:72px;right:58px}#loot-pickup svg{fill:none;stroke:currentColor;stroke-width:1.5px}#loot-pickup[hidden]{display:none}@media (pointer:coarse){#loot-pickup{right:calc(env(safe-area-inset-right) + 14px);top:auto;bottom:120px}}#inventory-toggle{z-index:35;width:40px;height:40px;padding:7px;display:none;position:fixed;top:72px;right:12px}body.playing #inventory-toggle{display:block}#inventory-toggle svg{fill:none;stroke:currentColor;stroke-width:1.5px}#inventory{color:#eee;z-index:45;background:#15100ff5;border:2px ridge #9b7449;width:390px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 140px);padding:8px;font:12px Arial,sans-serif;position:fixed;top:120px;right:14px;overflow:auto;box-shadow:0 5px 30px #0009}#inventory[hidden],#item-tooltip[hidden]{display:none}#inventory header{color:#efd29d;justify-content:space-between;align-items:center;font:17px Georgia;display:flex}#inventory header button{padding:0 8px;font-size:22px}.inventory-content{align-items:start;gap:14px;margin-top:8px;display:flex}.inventory-equipment{flex:none;width:150px}.equipment-figure{background-repeat:no-repeat;background-size:contain;width:150px;height:182px;position:relative}.equipment-figure .item-slot{position:absolute}.equipment-extra{grid-template-columns:repeat(4,32px);gap:3px;margin-top:8px;display:grid}.equipment-extra .item-slot{width:32px;height:32px}.inventory-bag{flex:1;min-width:0}.inventory-bag select{width:100%;padding:4px;font-size:12px}.inventory-pages{gap:2px;margin:5px 0;display:flex}.inventory-pages button{flex:1;padding:4px}.inventory-pages button[aria-pressed=true]{background:#733920}.inventory-grid{grid-template-rows:repeat(9,32px);grid-template-columns:repeat(5,32px);gap:2px;display:grid}.item-slot{touch-action:manipulation;background:#201c19aa;border:1px solid #72624c;min-width:0;padding:0;position:relative;overflow:hidden}.item-slot img{object-fit:contain;pointer-events:none;max-width:100%;max-height:100%}.item-slot span{color:#fff;text-shadow:1px 1px #000,-1px -1px #000;font-size:11px;position:absolute;bottom:0;right:1px}.item-slot:hover,.item-slot[aria-pressed=true]{background:#6c4029aa}.inventory-actions{flex-wrap:wrap;gap:5px;margin-top:12px;display:flex}.inventory-actions button{padding:5px 8px;font-size:11px}.inventory-actions button:disabled{opacity:.4}#inventory output{color:#e2c08c;margin:8px;display:block}#item-tooltip{color:#eee;z-index:50;pointer-events:none;background:#080a0aef;border:1px solid #8e7a57;max-width:290px;max-height:65dvh;padding:12px;font:12px/1.4 Arial;position:fixed;top:130px;right:420px;overflow:auto}#item-tooltip strong{color:#ffce80}#item-tooltip p{white-space:pre-line;margin:7px 0}.item-bonus{color:#9add83}.item-socket{color:#b7c6ef}.game-dialog{color:#eee;background:#211912;border:2px ridge #a88852;max-width:90vw;padding:22px}.game-dialog::backdrop{background:#0008}.game-dialog label{display:block}.game-dialog input{width:100%;margin:12px 0;padding:8px;display:block}.game-dialog button{margin:6px}@media (pointer:coarse){#inventory{max-height:calc(100dvh - 72px);top:60px;right:8px}#item-tooltip{pointer-events:none;max-width:240px;max-height:40dvh;top:65px;right:12px}#inventory-toggle{top:64px}.inventory-content{gap:8px}.inventory-actions button{min-height:32px}}@media (width<=420px){#inventory{width:350px}.inventory-content{gap:6px}.inventory-equipment{width:150px}.inventory-grid{gap:1px}.inventory-bag select{max-width:165px}}@media (pointer:coarse) and (orientation:landscape){#inventory{width:530px}.inventory-equipment{gap:8px;width:300px;display:flex}.inventory-equipment details{width:142px}.inventory-content{gap:12px}}#inventory>header,#npc-shop>header{pointer-events:auto;text-shadow:none;gap:8px;margin-bottom:8px;position:static;inset:auto}.inventory-mobile-tabs{display:none}@media (pointer:coarse){.inventory-mobile-tabs{gap:6px;margin:8px 0;display:flex}.inventory-mobile-tabs button{flex:1;min-height:40px}.inventory-mobile-tabs button[aria-pressed=true]{background:#733920}#inventory{width:300px}#inventory[data-mobile-tab=bag] .inventory-equipment,#inventory[data-mobile-tab=equipment] .inventory-bag{display:none}#inventory .inventory-content{justify-content:center}#inventory .inventory-bag{flex:none}#inventory .inventory-grid{grid-template-rows:repeat(9,44px);grid-template-columns:repeat(5,44px)}#inventory .inventory-actions button{min-height:44px}#inventory .inventory-pages button{min-height:40px}#inventory .inventory-bag select{max-width:none;min-height:40px;font-size:16px}#inventory .item-slot{touch-action:pan-y}#inventory .inventory-equipment{width:150px;display:block}#inventory .inventory-equipment details{width:150px}}#loot-pickup{display:none}@media (pointer:coarse){body.playing #loot-pickup:not([hidden]){touch-action:manipulation;background:0 0;border:0;border-radius:50%;width:48px;height:48px;padding:0;display:block}#loot-pickup img{pointer-events:none;width:100%;height:100%;display:block}#loot-pickup:active img{filter:brightness(1.25)}}body.playing #item-tooltip{z-index:80}.belt-inventory{border:1px solid #826543;margin:8px 0;padding:8px}.belt-inventory summary{cursor:pointer;color:#e1c184}.belt-grid{gap:3px;margin:8px 0;display:grid}.belt-grid .item-slot{width:36px;height:36px;position:relative}.belt-grid .belt-active{border-color:#46e342;box-shadow:inset 0 0 7px #46e342}.belt-toggle{width:100%;min-height:40px}#minimap{z-index:21;width:180px;position:fixed;top:10px;right:10px}#minimap canvas{cursor:pointer;width:100%;display:block}#minimap nav{gap:3px;display:flex;position:absolute;bottom:0;right:0}#minimap button{padding:3px 8px}#minimap[hidden]{display:none}#world-map{max-width:95vw;max-height:94dvh;padding:8px;overflow:auto}#world-map>button{z-index:1;display:block;position:sticky;top:0;left:0}#world-map canvas{object-fit:contain;max-width:80vw;max-height:80dvh;display:block}body.playing #world-toolbar{right:202px}body.playing #inventory-toggle{top:64px;right:202px}body.playing #loot-pickup{top:64px;bottom:auto;right:248px}#quickslots{z-index:30;gap:4px;display:flex;position:fixed;bottom:12px;left:50%;transform:translate(-50%)}#quickslots[hidden]{display:none}.quick-slot{background:#201815e8;border:2px ridge #998057;width:42px;height:42px;padding:3px;position:relative}.quick-slot img{object-fit:contain;pointer-events:none;width:100%;height:100%}.quick-slot small{color:#fff;letter-spacing:0;text-shadow:1px 1px #000;font:9px Arial;position:absolute;top:0;left:1px}.quick-slot span{color:#fff;text-shadow:1px 1px #000;font:10px Arial;position:absolute;bottom:0;right:1px}.quick-slot .quick-cooldown:not(:empty){background:#0009;place-items:center;font-size:15px;display:grid;inset:0}.quick-page,.quick-edit{width:25px;padding:3px}.quick-edit svg{fill:none;stroke:currentColor;stroke-width:1.7px}.quick-edit[aria-pressed=true]{background:#7f492a}body.playing #combat-skills{bottom:64px}#player-exp{z-index:21;pointer-events:none;background:#17130e;border:1px solid #a48a5c;width:min(185px,28vw);height:13px;position:fixed;top:111px;left:12px}#player-exp i{background:linear-gradient(#e3c97e,#aa8626);height:100%;display:block}#player-exp span{text-align:center;color:#fff;text-shadow:1px 1px #000;font:10px Arial;position:absolute;inset:0}#player-exp[hidden],#player-panel-toggle[hidden]{display:none}#player-panel-toggle{z-index:35;width:40px;height:40px;padding:5px;position:fixed;top:64px;right:294px}#player-panel{z-index:46;color:#eee;background:#191411f5;border:2px ridge #947344;width:330px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 150px);padding:12px;font:12px Arial;position:fixed;top:138px;left:12px;overflow:auto}#player-panel[hidden]{display:none}.player-heading{color:#e9c187;justify-content:space-between;align-items:center;font:17px Georgia;display:flex}#player-panel nav{gap:5px;margin:8px 0;display:flex}#player-panel nav button{flex:1;padding:7px}#player-panel dl{grid-template-columns:1fr 1fr;gap:8px;display:grid}#player-panel dd{text-align:right;margin:0}#player-panel dd button{margin-left:8px;padding:0 5px}.player-skill{align-items:center;gap:8px;margin:8px 0;display:flex}.player-skill img{object-fit:contain;width:36px;height:36px}.player-skill div{flex:1}.player-skill button{padding:4px 9px}.quest-entry{text-align:left;width:100%;margin:6px 0;display:block}.quest-entry[data-unread=true]{color:#f5cc70}@media (pointer:coarse){#minimap{width:120px;top:8px;right:8px}body.playing #world-toolbar{right:140px}body.playing #inventory-toggle{top:57px;right:140px}body.playing #player-panel-toggle{top:57px;right:186px}body.playing #loot-pickup{right:calc(14px + env(safe-area-inset-right));top:auto;bottom:110px}#player-panel{max-height:calc(100dvh - 72px);top:60px}#quickslots{grid-template-columns:repeat(4,34px);gap:3px;display:grid;bottom:10px;left:50%}.quick-slot{width:34px;height:34px}.quick-page,.quick-edit{width:34px;height:24px}.quick-page{grid-column:2}.quick-edit{grid-column:3}body.playing #combat-skills{bottom:12px}.game-dialog select{max-width:80vw;margin:8px 0;display:block}}@media (pointer:coarse) and (orientation:portrait){#quickslots{bottom:140px;left:12px;transform:none}body.playing #combat-skills{bottom:110px}#minimap{width:108px}body.playing #world-toolbar{gap:4px;right:130px}body.playing #inventory-toggle{right:130px}body.playing #player-panel-toggle{right:176px}}#player-panel-toggle svg{fill:none;stroke:currentColor;stroke-width:1.5px}.quest-item{align-items:center;gap:10px;margin:8px 0;display:flex}.quest-item img{max-width:40px;max-height:80px}#pvp-modes{width:650px;max-height:90dvh;overflow:auto}#pvp-modes>button{text-align:left;width:100%;margin:8px 0;display:block}#pvp-modes strong,#pvp-modes span{display:block}#pvp-modes span{margin-top:6px;font-size:12px;line-height:1.4}#pvp-modes button[aria-pressed=true]{border-color:#bba76e}#vote-buff{z-index:49;width:440px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);position:fixed;top:50%;left:50%;overflow:auto;transform:translate(-50%,-50%)}#vote-buff[hidden]{display:none}#vote-buff .social-member{justify-content:space-between}#combat-skills[hidden]{display:none!important}#combat-attack{box-shadow:none;background:0 0;border:0;padding:0}#combat-attack img{object-fit:contain;pointer-events:none;width:100%;height:100%}.quick-edit svg{width:100%;height:100%;max-height:24px;display:block}.quick-edit-positions{grid-template-columns:repeat(4,1fr);gap:5px;display:grid}.quick-edit-positions button{padding:9px}.quick-edit-positions [aria-pressed=true]{background:#754625}#quickslot-editor select{width:100%;max-width:100%;margin:12px 0}#inventory>header,#npc-shop>header,#exchange>header,#social-panel>header,#vote-buff>header,.player-heading{cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none}.costume-figure{background-size:177px 197px;width:177px;height:197px;position:relative}.costume-figure>.item-slot{position:absolute}.inventory-equipment{width:177px}.equipment-figure{margin:auto}#inventory{width:420px}.social-heading{cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none}.bug-report-button{margin:12px auto 0;display:block}.bug-report-dialog{width:min(520px,100vw - 32px);max-height:calc(100dvh - 32px);overflow:auto}.bug-report-dialog label{margin:12px 0;display:block}.bug-report-dialog input,.bug-report-dialog textarea{box-sizing:border-box;width:100%;margin-top:5px;display:block}.bug-report-dialog textarea{resize:vertical;min-height:95px}.bug-report-dialog textarea[readonly]{color:#c5c5c5;min-height:75px}.bug-report-dialog form>button{margin:8px 10px 0 0}#game-chat{z-index:38;color:#fff;text-shadow:1px 1px #000;pointer-events:none;width:min(470px,42vw);font:12px Arial;position:fixed;bottom:116px;left:12px}#game-chat[hidden],#chat-toggle[hidden],#social-toggle[hidden],#party-board[hidden],#social-panel[hidden],#exchange[hidden]{display:none}#game-chat[data-open=true]{pointer-events:auto;background:#121719df;border:1px solid #796746;padding:6px}.chat-history{overflow-wrap:anywhere;max-height:180px;overflow:hidden}.chat-line{line-height:1.4}.chat-item-link{pointer-events:auto;cursor:pointer;text-decoration:underline}#game-chat[data-open=true] .chat-history{scrollbar-width:thin;height:180px;overflow:auto}#game-chat form{flex-wrap:wrap;gap:4px;margin-top:5px;display:flex}#game-chat form[hidden]{display:none}#game-chat input{flex:1;width:130px;min-width:0;padding:5px}#game-chat select{max-width:90px}#game-chat button{padding:4px 8px}#chat-toggle,#social-toggle{z-index:36;width:40px;height:40px;padding:5px;position:fixed;top:64px;right:340px}#chat-toggle{right:386px}#chat-toggle svg,#social-toggle svg{fill:none;stroke:currentColor;stroke-width:1.6px}.social-heading{color:#e9c187;justify-content:space-between;align-items:center;font:17px Georgia;display:flex}.social-heading button{padding:3px 9px}#social-panel,#exchange{z-index:48;color:#eee;background:#17130ff5;border:2px ridge #957346;width:420px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);padding:12px;font:12px Arial;position:fixed;top:50%;left:50%;overflow:auto;transform:translate(-50%,-50%)}#social-panel nav,#exchange nav{gap:6px;margin:10px 0;display:flex}#social-panel nav button,#exchange nav button{flex:1}#social-panel form,#exchange form{gap:6px;margin:10px 0;display:flex}#social-panel input,#exchange input{flex:1;min-width:0;padding:7px}#social-panel label{margin:8px 0;display:block}#social-panel input[type=checkbox]{width:auto}.social-member{border-bottom:1px solid #786641;flex-wrap:wrap;align-items:center;gap:5px;padding:6px 0;display:flex}.social-member>button:first-child{text-align:left;flex:1}.social-member>button[data-online=true]{color:#a8efa3}.social-member small{color:#c8c1a9}#party-board{z-index:25;width:175px;max-height:calc(100dvh - 340px);font:11px Arial;position:fixed;top:142px;left:12px;overflow:auto}.party-member{background:#171712c9;border:1px solid #79704e;margin-bottom:4px;padding:4px;position:relative}.party-member>button:first-child{text-align:left;text-overflow:ellipsis;white-space:nowrap;width:100%;padding:2px 15px 3px 2px;font-size:11px;overflow:hidden}.party-member>button:last-child:not(:first-child){padding:1px 3px;position:absolute;top:1px;right:1px}.party-member[data-linked=false]{opacity:.65}.party-gauge{background:#17100d;height:5px;margin:2px 0}.party-gauge i{background:#d33;height:100%;display:block}.party-gauge.sp i{background:#438bea}.party-gauge[data-poison=true] i{background:#329837}#party-board>button{padding:3px;font-size:10px}.target-actions{flex-wrap:wrap;justify-content:center;gap:4px;margin-top:6px;display:flex}.target-actions:empty{display:none}.target-actions button{padding:4px 6px;font:11px Arial}#exchange{width:470px}.exchange-columns{gap:16px;margin:12px 0;display:flex}.exchange-columns>section{border:1px solid #746245;flex:1;min-width:0;padding:4px}.exchange-columns>section[data-accepted=true]{border-color:#8bc184}.exchange-grid{grid-template-rows:repeat(5,32px);grid-template-columns:repeat(5,32px);gap:2px;margin-top:8px;display:grid}.exchange-grid .item-slot{width:32px;height:100%;min-height:32px;padding:0}.exchange-columns p{overflow-wrap:anywhere}.exchange-columns output{color:#a8efa3;min-height:15px;display:block}@media (pointer:coarse){#game-chat{width:min(350px,46vw);bottom:114px;left:145px}.chat-history{max-height:72px}#game-chat[data-open=true]{z-index:70;width:calc(100vw - 24px);bottom:8px;left:12px}#game-chat[data-open=true] .chat-history{height:min(130px,32dvh)}#social-toggle{top:57px;right:232px}#chat-toggle{top:57px;right:278px}#party-board{width:135px;max-height:calc(100dvh - 290px);top:135px}.target-actions button{padding:6px;font-size:10px}body.playing #loot-pickup{bottom:105px;right:100px}#exchange{max-height:calc(100dvh - 12px);padding:8px}.exchange-columns{margin:6px 0}}@media (pointer:coarse) and (orientation:portrait){#social-toggle{right:222px}#chat-toggle{right:268px}#game-chat{width:calc(100vw - 24px);bottom:265px;left:12px}#exchange{width:calc(100vw - 12px)}.exchange-columns{gap:5px}.exchange-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:1px}.exchange-grid .item-slot{width:100%}}body.trading #inventory{z-index:52}body.trading #item-tooltip{z-index:60}@media (pointer:coarse) and (orientation:landscape){body.playing #loot-pickup{bottom:153px;right:14px}}@media (pointer:coarse) and (orientation:portrait){body.playing #inventory-toggle,body.playing #player-panel-toggle,#social-toggle,#chat-toggle{top:140px}body.playing #inventory-toggle{left:12px;right:auto}body.playing #player-panel-toggle{left:58px;right:auto}#social-toggle{left:104px;right:auto}#chat-toggle{left:150px;right:auto}body.playing #loot-pickup{bottom:20px;right:100px}body.playing #combat-skills{bottom:160px}#party-board{max-height:160px;top:190px}}@media (pointer:coarse) and (orientation:landscape){#exchange .exchange-grid{grid-template-rows:repeat(5,28px);grid-template-columns:repeat(5,28px);margin-top:4px}#exchange .item-slot{width:28px;min-height:28px}#exchange .exchange-columns p{margin:4px 0}#exchange .exchange-columns output{min-height:12px}#exchange nav,#exchange form{margin:4px 0}#exchange nav button,#exchange form button{padding:5px}#exchange form input{padding:4px}}@media (pointer:coarse){input:not([type=checkbox]):not([type=radio]),textarea,select,[contenteditable=true]{font-size:16px!important}#game-chat:not([data-open=true]){display:none}#game-chat[data-open=true]{bottom:calc(var(--keyboard-inset,0px) + 8px);max-height:calc(var(--visible-height,100dvh) - 16px);overflow:auto}#game-chat[data-open=true] .chat-history{height:min(130px,25dvh)}#quickslots{bottom:calc(10px + env(safe-area-inset-bottom));grid-template-columns:repeat(4,44px);gap:4px}#quickslots .quick-slot,#quickslots .quick-page,#quickslots .quick-edit{width:44px;height:44px}#quickslots .quick-edit{padding:10px}#quickslots .quick-slot img{max-width:100%;max-height:100%}body[data-editing=true] #joystick,body[data-editing=true] #combat-attack,body[data-editing=true] #mount-toggle,body[data-editing=true] #loot-pickup{visibility:hidden}body[data-editing=true] dialog{max-height:calc(var(--visible-height,100dvh) - 24px);bottom:var(--keyboard-inset,0px);overflow:auto}}@media (pointer:coarse) and (orientation:portrait){#quickslots{bottom:calc(140px + env(safe-area-inset-bottom))}}#travel-dialog{width:min(420px,100vw - 24px)}#travel-dialog>button{align-items:center;gap:12px;width:100%;min-height:44px;margin:8px 0;display:flex}#travel-dialog img{object-fit:contain;width:24px;height:16px}#world-transition{z-index:90;background:radial-gradient(#302315,#0d0b09);flex-direction:column;justify-content:center;align-items:center;gap:20px;padding:24px;display:none;position:fixed;inset:0}#world-transition img{width:min(280px,65vw);height:auto}#world-transition progress{width:min(360px,75vw)}body[data-world-loading=true] #world-transition{display:flex}@media (pointer:coarse) and (orientation:portrait){body.playing #world-toolbar{gap:3px}#world-toolbar .world-icon{width:32px;height:34px;padding:5px}#world-toolbar #fps{font-size:10px}}
