:root{color-scheme:dark;font:var(--game-font-weight, 300) 14px var(--game-font, Kanit, system-ui, sans-serif)}b,strong,h2{font-weight:400}html,body{margin:0;height:100%;overflow:hidden;background:#111;color:#eee}html.touch-ui :is([role=dialog],[role=alertdialog],.confirm-dialog) :is(footer,.buttons,.m-actions,.m-pop-foot) .btn,html.touch-ui :is([role=dialog],[role=alertdialog],.confirm-dialog) .btn:is(.act,[data-dialog-confirm]){min-width:min(64px,100%)!important;min-height:22px!important;height:auto!important;padding:0 5px!important;font-size:11px!important;line-height:14px!important}#game,#game canvas{position:fixed;inset:0;display:block}#ui{position:fixed;inset:0;pointer-events:none}#ui>*{pointer-events:auto}.panel{--pad-t: 10px;--pad-x: 12px;background:#000b;border-radius:8px;padding:var(--pad-t) var(--pad-x)}.center{position:fixed;inset:0;display:flex;align-items:center;justify-content:center;background:#000a}.center form,.center .box{display:flex;flex-direction:column;gap:10px;min-width:260px}input,button{font:inherit;padding:8px 10px;border-radius:6px;border:1px solid var(--win-line-2);background:#222;color:#eee}button{background:#b03a2e;border-color:#b03a2e;cursor:url(/ui/cursors/default.cur),pointer}button.secondary{background:#2c2c2c;border-color:var(--win-line-2)}.error{color:#ff8a80;min-height:1.2em}.hidden{display:none!important}h2{margin:0}#hud{position:fixed;inset:0;pointer-events:none}.bar{position:relative;height:16px;background:#333;border-radius:4px;overflow:hidden;margin-top:4px}.bar>i{position:absolute;inset:0 auto 0 0;width:100%;background:#c0392b;transition:width .15s}.bar.xp>i{background:#2980b9}.bar>span{position:absolute;inset:0;text-align:center;font-size:11px;line-height:16px;text-shadow:0 0 3px #000}#status-btn,#inventory-btn,#skills-btn{padding:4px 10px;font-size:12px;pointer-events:auto;cursor:url(/ui/cursors/default.cur),pointer;border-radius:6px;color:#eee;border:1px solid #fff3}:root{--slot-size: min(46px, calc((100vh - 240px)*.1) );--tab-width: 0px}html,body{touch-action:none;overscroll-behavior:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}input{-webkit-user-select:text;user-select:text;touch-action:manipulation}button{touch-action:manipulation}#game canvas{touch-action:none}.gwin{position:absolute;z-index:5;top:192px;padding:0;box-sizing:border-box;pointer-events:auto;background:#1a1a1a no-repeat 0 0;image-rendering:pixelated;font-size:11px;color:#f0f0f0;font-family:var(--game-font, Kanit, system-ui, sans-serif);font-weight:var(--game-font-weight, 300)}.gwin.plain{border:1px solid #fff3}.gwin .l{position:absolute;white-space:nowrap;line-height:14px;font-size:10.5px;color:#e6e6e6;text-shadow:0 0 2px #000;pointer-events:none}.gwin .l.gold{color:#f6dc6a}.gwin .l.info{white-space:normal;overflow:hidden;color:#cfcfcf}.gwin .f{position:absolute;text-align:center;white-space:nowrap;overflow:hidden;text-shadow:0 0 2px #000;font-variant-numeric:tabular-nums}.gwin .f.left{text-align:left;padding-left:4px;box-sizing:border-box}.gwin .cell{position:absolute;box-sizing:border-box;padding:0;border:0;background:transparent;color:inherit}.gwin.plain .cell{border:1px solid var(--win-line-2);background:#202020}.gwin button.cell{cursor:url(/ui/cursors/default.cur),pointer}.gwin button.cell:hover{filter:brightness(1.25)}.gwin .cell.picked{box-shadow:inset 0 0 0 2px #f6dc6a}.cell.drop-hover,#skillbar .slot.drop-hover{box-shadow:inset 0 0 0 2px #f6dc6a,inset 0 0 12px #f6dc6a8c!important;background-color:#f6dc6a2e}.gwin .cell .icon{position:absolute;left:3px;top:3px;width:38px;height:38px;background-repeat:no-repeat;pointer-events:none}.gwin .cell .count{position:absolute;right:3px;bottom:1px;font-size:10px;color:#fff;text-shadow:0 0 2px #000}.center.stage{background:#000;justify-content:flex-end;padding-right:5vw}.center.stage #char-preview{position:absolute;inset:0;width:100%;height:100%;display:block;cursor:grab;touch-action:none}.center.stage #char-preview:active{cursor:grabbing}.danger{color:#ff8a80}.button-row{display:flex;gap:8px}.button-row button{flex:1}.center.stage #char-create-screen,.center.stage #char-screen{position:relative;max-height:84vh;overflow-y:auto;background:#1b1a18e6}.gwin .cell .item-pic{position:absolute;left:2px;top:2px;width:40px;height:40px;background:center / contain no-repeat;pointer-events:none}.gwin .cell .worn-name{position:absolute;left:1px;right:1px;bottom:1px;font-size:9px;line-height:10px;text-align:center;color:#e6e6e6;text-shadow:0 0 2px #000;pointer-events:none;overflow:hidden}#drop-dialog,#sell-dialog,#buy-dialog,#forget-dialog,#split-dialog{position:absolute;z-index:300;left:50%;top:32%;transform:translate(-50%);width:min(340px,calc(100vw - 32px));--pad-t: 14px;--pad-x: 16px;padding:var(--pad-t) var(--pad-x);text-align:center;pointer-events:auto;font-size:14px}#drop-dialog p,#sell-dialog p,#split-dialog p{margin:0 0 12px;line-height:1.5}#drop-dialog b,#sell-dialog b,#split-dialog b{color:#f6dc6a;font-weight:400}#drop-dialog .buttons,#sell-dialog .buttons,#split-dialog .buttons{display:flex;justify-content:center;gap:12px}@media(max-width:760px),(max-height:560px){.gwin,#inventory-window,#skills-window,#shop-window,#storage-window,#status-window.own{top:8px;right:calc(var(--slot-size) + var(--tab-width) + 24px);transform:scale(var(--ui-scale, .82));transform-origin:top right}}@media(max-height:560px){:root{--slot-size: min(34px, calc((100vh - 64px)*.1) )}}body{cursor:url(/ui/cursors/default.cur),auto}body[data-cursor=attack] #game canvas{cursor:url(/ui/cursors/attack.cur),crosshair}body[data-cursor=dealer] #game canvas{cursor:url(/ui/cursors/dealer.cur),pointer}body[data-cursor=cantmove] #game canvas{cursor:url(/ui/cursors/cantmove.cur),not-allowed}button,.slot,#skillbar button,.gwin .cell{cursor:url(/ui/cursors/default.cur),pointer}input{cursor:text}:root{--win-bg: #202020;--win-bg-2: #2a2a28;--win-line: #3e5470;--win-line-2: #26364a;--win-hi: #6f93b8;--win-dark: #141414;--titlebar: url(/ui/window/titlebar.png) left bottom / auto calc(100% * 14 / 13) repeat-x}.panel{background:var(--win-bg-2);border:1px solid var(--win-line);border-radius:2px;box-shadow:0 0 0 1px #000a}button,input{border-radius:2px}#status-btn,#inventory-btn,#skills-btn{background:var(--win-bg-2);border:1px solid var(--win-line);border-radius:2px;color:#e8e4d4}#status-btn:hover,#inventory-btn:hover,#skills-btn:hover{background:#3a3a35}#drag-ghost{position:fixed;left:0;top:0;z-index:100;width:40px;height:40px;pointer-events:none;background-repeat:no-repeat;opacity:.85;image-rendering:pixelated}body.dragging-item,body.dragging-item *{cursor:grabbing!important;user-select:none}#shop-grid .cell.filled,#bag-grid .cell.filled,#storage-grid .cell.filled{touch-action:none;cursor:grab}:root{--title-h: 24px;--title-font: 13px;--frame: 1px}:root{--gold: #f6dc6a;--navy: #26324f;--navy-2: #3b4a74;--edge-hi: var(--win-hi)}.wtitle{position:relative;box-sizing:border-box;margin:calc(-1 * var(--pad-t, 10px) - var(--frame, 1px)) calc(-1 * var(--pad-x, 12px) - var(--frame, 1px)) 4px;padding:0;height:var(--title-h);line-height:calc(var(--title-h) - 1px);text-align:center;font-size:var(--title-font);font-weight:400;color:var(--gold);text-shadow:0 0 2px #000;background:var(--titlebar),var(--navy);image-rendering:pixelated;border-bottom:1px solid #000a;white-space:nowrap;overflow:hidden}[role=dialog]>.wtitle,[role=alertdialog]>.wtitle{cursor:move;touch-action:none;user-select:none}.panel.box{padding-top:10px}.center{background:#000c}input{background:var(--win-dark);border:1px solid var(--win-line);color:#eee}input:focus{outline:none;border-color:var(--win-hi);box-shadow:0 0 0 1px #000a,inset 0 0 0 1px #6f93b855}input::placeholder{color:#8d8a7a}button{background:linear-gradient(var(--navy-2),var(--navy));border:1px solid var(--edge-hi);color:#f3ecd0;border-radius:2px;text-shadow:0 0 2px #000}button:hover:not(:disabled){filter:brightness(1.2)}button:disabled{opacity:.5;cursor:url(/ui/cursors/default.cur),default}button.secondary{background:var(--win-bg-2);border-color:var(--win-line);color:#e8e4d4}input[type=range],input[type=range]:focus{--knob: 16px;appearance:none;-webkit-appearance:none;height:var(--knob);margin:0;padding:0;border:0;border-radius:0;box-shadow:none;outline:none;background:linear-gradient(#76767c,#76767c) center / 100% 1px no-repeat;cursor:url(/ui/cursors/default.cur),pointer}html.touch-ui input[type=range]{--knob: 20px}input[type=range]::-webkit-slider-runnable-track{height:var(--knob);background:none;border:0}input[type=range]::-moz-range-track{height:1px;background:#76767c;border:0}input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;width:var(--knob);height:var(--knob);border:0;border-radius:0;background:url(/ui/controls/slider.png) no-repeat calc(var(--knob) / -16 * 91) 0 / calc(var(--knob) / 16 * 107) var(--knob);image-rendering:pixelated}input[type=range]::-moz-range-thumb{width:var(--knob);height:var(--knob);border:0;border-radius:0;background:url(/ui/controls/slider.png) no-repeat calc(var(--knob) / -16 * 91) 0 / calc(var(--knob) / 16 * 107) var(--knob);image-rendering:pixelated}input[type=range]:disabled{opacity:.45;cursor:default}.error{color:#ff9a8a}.bar{background:var(--win-dark);border:1px solid #000;border-radius:0;box-shadow:inset 0 0 0 1px var(--win-line-2)}.bar>i{background:linear-gradient(#c8161c 50%,#ff7a7a 50%)}#drop-dialog,#sell-dialog,#split-dialog{padding-top:10px}@supports not selector(::-webkit-scrollbar){*{scrollbar-color:#6b6450 #141414}}::-webkit-scrollbar{width:13px;height:13px}::-webkit-scrollbar-track{background:#141414;box-shadow:inset 1px 0 #000,inset -1px 0 0 var(--win-line-2)}::-webkit-scrollbar-thumb{min-height:24px;border:5px solid transparent;border-image:url(/ui/controls/scrollbar-thumb.png) 5 fill stretch;image-rendering:pixelated}::-webkit-scrollbar-corner{background:#141414}::-webkit-scrollbar-button:single-button:vertical{display:block;width:13px;height:13px;background:no-repeat center / 13px 13px;image-rendering:pixelated}::-webkit-scrollbar-button:single-button:vertical:decrement{background-image:url(/ui/controls/dropdown-over-1.png)}::-webkit-scrollbar-button:single-button:vertical:decrement:active{background-image:url(/ui/controls/dropdown-press-1.png)}::-webkit-scrollbar-button:single-button:vertical:increment{background-image:url(/ui/controls/dropdown-over-0.png)}::-webkit-scrollbar-button:single-button:vertical:increment:active{background-image:url(/ui/controls/dropdown-press-0.png)}input[type=checkbox],input[type=radio],input[type=checkbox]:focus,input[type=radio]:focus{box-shadow:none;outline:none}input[type=checkbox],input[type=radio]{appearance:none;-webkit-appearance:none;flex:none;margin:0;padding:0;border:0;vertical-align:middle;background:no-repeat center / 100% 100%;image-rendering:pixelated;cursor:url(/ui/cursors/default.cur),pointer}input[type=checkbox]{width:16px;height:16px;background-image:url(/ui/controls/checkbox-0.png)}input[type=checkbox]:checked{background-image:url(/ui/controls/checkbox-1.png)}input[type=radio]{width:15px;height:15px;background-image:url(/ui/controls/radio-1.png)}input[type=radio]:checked{background-image:url(/ui/controls/radio-0.png)}input[type=checkbox]:disabled,input[type=radio]:disabled{opacity:.5;cursor:default}select{appearance:none;-webkit-appearance:none;padding:0 20px 0 8px;min-height:24px;color:#fff;background:url(/ui/controls/dropdown-over-0.png) no-repeat right 4px center / 13px 13px,var(--win-dark);border:1px solid #000;box-shadow:inset 0 0 0 1px var(--win-line-2);image-rendering:pixelated;cursor:url(/ui/cursors/default.cur),pointer}select:active,select:focus{background-image:url(/ui/controls/dropdown-press-0.png)}select option{color:#fff;background:#1a1a18}#status-btn:hover,#inventory-btn:hover,#skills-btn:hover{filter:none}@keyframes cooldown{0%{height:100%}to{height:0}}.gwin .cell img.icon{object-fit:contain;image-rendering:auto}#sell-dialog,#split-dialog{padding-top:10px}#drop-dialog .qty,#sell-dialog .qty,#split-dialog .qty{display:flex;justify-content:center;align-items:center;gap:6px;margin:0 0 8px}#drop-dialog .qty,#sell-dialog .qty b,#split-dialog .qty b{min-width:36px;text-align:center}.confirm-backdrop{pointer-events:auto;position:fixed;inset:0;z-index:400;display:flex;align-items:center;justify-content:center;background:#0008}.confirm-dialog{--pad-t: 10px;--pad-x: 16px;position:relative;width:min(360px,calc(100vw - 32px));padding:var(--pad-t) var(--pad-x) 14px;text-align:center;font-size:14px}.confirm-dialog .confirm-message{margin:10px 0 14px;line-height:1.55;color:#fff}#leave-game-dialog .confirm-message,#leave-game-extra,#equipment-bond-yes{color:#fff}.confirm-dialog b{color:#f6dc6a;font-weight:400}.confirm-dialog .buttons{display:flex;justify-content:center;gap:12px}.confirm-dialog button:focus-visible{outline:2px solid #f6dc6a;outline-offset:1px}.confirm-dialog.danger #char-delete-yes,.confirm-dialog.danger button:first-child{color:#ff9c92}#inventory-window.own,#skills-window.own,#shop-window.own{background:var(--win-bg);border:1px solid var(--win-line);box-shadow:0 0 0 1px #000a;image-rendering:auto}:root{--btn-0: url(/ui/buttons/text-0.png);--btn-1: url(/ui/buttons/text-1.png);--btn-2: url(/ui/buttons/text-2.png)}:is(.center,.confirm-dialog,#hud-buttons,#bigmap-tabs,#bigmap-go-row,.look-row,#char-delete) button:not(.char-item):not(.close):not(.plus):not(.arrow):not(.cell):not(.slot):not(.up):not(.act):not(.btn){box-sizing:border-box;min-width:0;min-height:20px;height:auto;padding:0 4px;line-height:14px;font-size:12px;color:#f3ecd0;text-shadow:0 1px 1px #000;background:none;border-style:solid;border-color:transparent;border-width:3px 7px;border-radius:0;border-image:var(--btn-0) 6 8 fill / 6px 8px / 0 stretch;filter:none;image-rendering:pixelated}:is(.center,.confirm-dialog,#hud-buttons,#bigmap-tabs,#bigmap-go-row,.look-row,#char-delete) button:not(.char-item):not(.close):not(.plus):not(.arrow):not(.cell):not(.slot):not(.up):not(.btn):hover:not(:disabled){border-image-source:var(--btn-1);filter:none;background:none}:is(.center,.confirm-dialog,#hud-buttons,#bigmap-tabs,#bigmap-go-row,.look-row,#char-delete) button:not(.char-item):not(.close):not(.plus):not(.arrow):not(.cell):not(.slot):not(.up):not(.btn):is(:active,.on,[aria-pressed=true]):not(:disabled){border-image-source:var(--btn-2);background:none}:is(.center,.confirm-dialog,#hud-buttons,#bigmap-tabs,#bigmap-go-row,.look-row,#char-delete) button:disabled{opacity:.55}.center :is(.box,form)>button:not(.char-item):not(.close),.center .button-row button{min-height:26px;font-size:13px}@media(pointer:coarse){:is(.center,.confirm-dialog,#hud-buttons,#bigmap-tabs,#bigmap-go-row) button:not(.char-item):not(.close):not(.plus):not(.arrow):not(.cell):not(.slot){min-height:32px}}#skillbar .slot.on,#skill-grid .cell.on{overflow:hidden}#skillbar .slot.on:after,#skill-grid .cell.on:after{content:"";position:absolute;inset:0;z-index:2;pointer-events:none;background:linear-gradient(115deg,transparent 36%,rgba(255,255,255,.28) 46%,rgba(255,255,255,.5) 50%,rgba(255,255,255,.28) 54%,transparent 64%) 0 0 / 300% 100% no-repeat;animation:shade-pass 3.2s ease-in-out infinite}@keyframes shade-pass{0%{background-position:100% 0}to{background-position:0 0}}@media(prefers-reduced-motion:reduce){#skillbar .slot.on:after,#skill-grid .cell.on:after{animation:none;background-position:50% 0}}@keyframes rotate-phone{0%,20%{transform:rotate(0)}60%,to{transform:rotate(-90deg)}}@media(max-height:460px){.center.stage{padding-right:2vw}.center.stage #char-create-screen{width:min(340px,46vw);max-height:86vh;overflow-y:auto;padding-bottom:6px;gap:5px}.center.stage #char-screen{max-height:86vh;overflow-y:auto}}body.dragging-item #tooltip{display:none}.btn{box-sizing:border-box;min-width:0;min-height:20px;height:auto;padding:0 4px;font:inherit;font-size:12px;line-height:14px;color:#f3ecd0;text-shadow:0 1px 1px #000;background:none;border-style:solid;border-color:transparent;border-width:3px 7px;border-radius:0;border-image:var(--btn-0) 6 8 fill / 6px 8px / 0 stretch;image-rendering:pixelated;cursor:url(/ui/cursors/default.cur),pointer}.btn.btn-sm{min-height:22px;padding:0 5px;font-size:11px}.btn.btn-md{min-height:25px;padding:0 8px;font-size:12px}.btn.btn-lg{min-height:28px;padding:0 12px;font-size:13px}.btn.btn-icon{display:inline-grid;place-items:center;padding:0;border-width:0;line-height:1}button.icon-sign{display:inline-grid;place-items:center;padding:0;line-height:1}.btn:hover:not(:disabled){border-image-source:var(--btn-1)}.btn:is(:active,.on,[aria-pressed=true]):not(:disabled){border-image-source:var(--btn-2)}.btn.on{color:var(--gold)}.btn:disabled{opacity:.55;cursor:url(/ui/cursors/default.cur),default}.btn.wide{flex:1 1 0;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.btn.act{min-width:88px}html.touch-ui .btn.act.act{min-width:96px}html.touch-ui .confirm-dialog .btn.act.act{flex:1;min-width:0;min-height:24px;height:24px;padding:0 6px;font-size:12px;line-height:1}@media(pointer:coarse){.btn.btn-sm{min-height:28px}.btn.btn-md{min-height:32px}.btn.btn-lg{min-height:36px;font-size:14px}}.center .button-row.big button{min-height:40px;font-size:15px;padding:0 12px;white-space:nowrap}#drop-dialog,#sell-dialog,#split-dialog{width:max-content;min-width:200px;max-width:calc(100vw - 32px);box-sizing:border-box}#drop-dialog p:last-of-type,#sell-dialog p:last-of-type,#split-dialog p:last-of-type{margin-bottom:10px}#drop-dialog .qty input,#sell-dialog .qty input,#split-dialog .qty input{width:48px;height:24px;box-sizing:border-box;padding:0 4px;text-align:center;font:inherit;color:#f6dc6a;background:var(--win-dark);border:1px solid var(--win-line);border-radius:0}#skillbar .slot.blocked .icon,#skill-grid .cell.blocked .icon{opacity:.4;filter:grayscale(.6)}.dlg-pic{position:relative;display:block;width:48px;height:48px;margin:0 auto 8px;background:var(--win-dark) url(/ui/inventory/equip/bag-cell.png) center / 100% 100% no-repeat}.dlg-pic .icon{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;image-rendering:auto}.mstatus .st-title,#status-window.own .st-title,#inspect-window.own .st-title{position:absolute;left:22px;right:26px;top:2px;text-align:center;line-height:14px;font-size:10.5px;color:#f6dc6a;text-shadow:0 0 2px #000;pointer-events:none}.mstatus .st-body,#status-window.own .st-body,#inspect-window.own .st-body{padding:26px 10px 10px}.mstatus h3,#status-window.own h3,#inspect-window.own h3{margin:10px 0 5px;padding-bottom:2px;font-size:11px;font-weight:400;color:#f6dc6a;border-bottom:1px solid var(--win-line-2)}.mstatus .st-who,#status-window.own .st-who,#inspect-window.own .st-who{display:flex;justify-content:space-between;align-items:baseline;gap:8px;padding:3px 6px;background:var(--win-dark);border:1px solid var(--win-line-2)}.mstatus .st-lv,#status-window.own .st-lv,#inspect-window.own .st-lv{flex:none;color:#b9b4a0}.mstatus .st-lv b,#status-window.own .st-lv b,#inspect-window.own .st-lv b{margin-left:2px;font-weight:400;font-size:14px;color:#f6dc6a}.mstatus .st-exp,#status-window.own .st-exp,#inspect-window.own .st-exp{margin-top:5px}.mstatus .st-track,#status-window.own .st-track,#inspect-window.own .st-track{height:6px;background:var(--win-dark);border:1px solid var(--win-line-2)}.mstatus .st-track>i,#status-window.own .st-track>i,#inspect-window.own .st-track>i{display:block;height:100%;background:linear-gradient(#78c850,#2f7a2a)}.mstatus .st-exp>span,#status-window.own .st-exp>span,#inspect-window.own .st-exp>span{display:block;margin-top:2px;font-size:10px;line-height:12px;color:#b9b4a0;font-variant-numeric:tabular-nums}.mstatus .st-stats,#status-window.own .st-stats,#inspect-window.own .st-stats{display:grid;grid-template-columns:1fr 1fr;gap:4px 8px}.mstatus .st-stat,#status-window.own .st-stat,#inspect-window.own .st-stat{display:flex;align-items:center;gap:6px;padding:2px 4px 2px 6px;background:var(--win-dark);border:1px solid var(--win-line-2)}.mstatus .st-stat>span,#status-window.own .st-stat>span,#inspect-window.own .st-stat>span{flex:1;color:#b9b4a0}.mstatus .st-stat>b,#status-window.own .st-stat>b,#inspect-window.own .st-stat>b{min-width:2ch;text-align:right;font-weight:400;color:#f0ecd8;font-variant-numeric:tabular-nums}.mstatus .st-plus,#status-window.own .st-plus,#inspect-window.own .st-plus{width:18px;height:18px;padding:0;line-height:16px;font-size:14px;color:#f6dc6a;background:var(--win-bg-2);border:1px solid var(--win-line);border-radius:0;cursor:url(/ui/cursors/default.cur),pointer}.mstatus .st-plus:hover:not(:disabled),#status-window.own .st-plus:hover:not(:disabled),#inspect-window.own .st-plus:hover:not(:disabled){background:#3a3a35}.mstatus .st-plus:disabled,#status-window.own .st-plus:disabled,#inspect-window.own .st-plus:disabled{opacity:.3;cursor:url(/ui/cursors/default.cur),default}.mstatus .st-row,#status-window.own .st-row,#inspect-window.own .st-row{display:flex;justify-content:space-between;gap:8px;padding:1px 0;line-height:16px;font-variant-numeric:tabular-nums}.mstatus .st-row>span,#status-window.own .st-row>span,#inspect-window.own .st-row>span{color:#b9b4a0}.mstatus .st-row>b,#status-window.own .st-row>b,#inspect-window.own .st-row>b{font-weight:400;color:#f0ecd8}.mstatus .st-points,#status-window.own .st-points,#inspect-window.own .st-points{margin-top:5px}.mstatus .st-points.has-points>b,#status-window.own .st-points.has-points>b,#inspect-window.own .st-points.has-points>b{color:#f6dc6a}.mstatus .st-grid,#status-window.own .st-grid,#inspect-window.own .st-grid{display:grid;grid-template-columns:1fr 1fr;column-gap:12px}.mstatus .st-elements,#status-window.own .st-elements,#inspect-window.own .st-elements{display:grid;gap:2px}.mstatus .st-el,#status-window.own .st-el,#inspect-window.own .st-el{display:grid;grid-template-columns:1fr 64px 64px;gap:4px;padding:2px 6px;background:var(--win-dark);border:1px solid var(--win-line-2);line-height:16px;font-variant-numeric:tabular-nums}.mstatus .st-el.head,#status-window.own .st-el.head,#inspect-window.own .st-el.head{background:none;border-color:transparent;padding-top:0;padding-bottom:0;color:#8d8a7a;font-size:10px}.mstatus .st-el>:not(.name),#status-window.own .st-el>:not(.name),#inspect-window.own .st-el>:not(.name){text-align:right;font-weight:400;color:#6e6a5c}.mstatus .st-el>b.on,#status-window.own .st-el>b.on,#inspect-window.own .st-el>b.on{color:#8ee08e}.mstatus .st-el.head>span,#status-window.own .st-el.head>span,#inspect-window.own .st-el.head>span{text-align:right}.mstatus .st-el,#status-window.own .st-el,#inspect-window.own .st-el{grid-template-columns:1fr 80px 80px}.mstatus .st-amount,#status-window.own .st-amount,#inspect-window.own .st-amount{display:flex;align-items:center;gap:6px;margin-top:8px}.mstatus .st-amount label,#status-window.own .st-amount label,#inspect-window.own .st-amount label{flex:1;color:#b9b4a0}.mstatus .st-amount input,#status-window.own .st-amount input,#inspect-window.own .st-amount input{width:64px;height:22px;box-sizing:border-box;padding:0 6px;text-align:right;font:inherit;color:#f0ecd8;background:var(--win-dark);border:1px solid var(--win-line-2);border-radius:0}.mstatus .st-amount input:focus,#status-window.own .st-amount input:focus,#inspect-window.own .st-amount input:focus{outline:1px solid #f6dc6a}.mstatus .st-row,#status-window.own .st-row,#inspect-window.own .st-row{padding-left:0;padding-right:0}.mstatus .st-amount,#status-window.own .st-points,#inspect-window.own .st-points,#status-window.own .st-amount,#inspect-window.own .st-amount{margin-left:0;margin-right:0;padding-left:0;padding-right:0}.mstatus .st-el small,#status-window.own .st-el small,#inspect-window.own .st-el small{margin-left:4px;font-size:10px;color:#7fc8ff}.mstatus .st-el,#status-window.own .st-el,#inspect-window.own .st-el{grid-template-columns:1fr 112px 64px}@media(max-width:760px),(max-height:560px){#shop-window,#storage-window,#trade-window,#skills-window,#status-window.own{right:calc(var(--slot-size) + var(--tab-width) + 24px + 251px * var(--ui-scale, .82) + 8px);left:auto}}:root{--m-w: min(440px, 72vw)}html.touch-ui #shop-window,html.touch-ui #storage-window,html.touch-ui #trade-window{right:calc(var(--slot-size) + var(--tab-width) + 12px + var(--m-w) + 8px);left:auto;top:8px}html.touch-ui #shop-window,html.touch-ui #storage-window,html.touch-ui #trade-window{left:8px;right:auto;top:8px}html.touch-ui :is(#drop-dialog,#sell-dialog,#buy-dialog,#forget-dialog,#split-dialog,#storage-dialog){--pad-t: 8px;--pad-x: 12px;width:min(300px,calc(100vw - 32px));padding:var(--pad-t) var(--pad-x);font-size:13px;top:12%}html.touch-ui :is(#drop-dialog,#sell-dialog,#buy-dialog,#forget-dialog,#split-dialog) p{margin-bottom:8px;line-height:1.35}html.touch-ui :is(#drop-dialog,#sell-dialog,#buy-dialog,#forget-dialog,#split-dialog) .btn:not(.act){min-height:26px;height:26px;padding:0 8px;font-size:12px;line-height:1}html.touch-ui :is(#drop-dialog,#sell-dialog,#buy-dialog,#forget-dialog,#split-dialog) .qty input{height:26px;font-size:13px}html.touch-ui :is(#drop-dialog,#sell-dialog,#buy-dialog,#forget-dialog,#split-dialog) .dlg-pic{width:40px;height:40px;margin-bottom:4px}html.touch-ui .confirm-dialog{--pad-x: 12px;max-width:min(300px,calc(100vw - 32px));padding:var(--pad-t) var(--pad-x) 8px;font-size:12px}html.touch-ui .confirm-dialog .confirm-message{margin:6px 0 8px;line-height:1.4}html.touch-ui .confirm-dialog .buttons{gap:8px}.m-full,.m-backdrop,#hud-buttons.m-buttons,html.touch-ui .confirm-dialog{zoom:var(--m-zoom, .85)}@keyframes wheel-pop{0%{transform:scale(.6);opacity:0}}.cell>.plus{position:absolute;left:5px;top:4px;z-index:2;font-size:10px;font-weight:600;line-height:1;color:#f6dc6a;text-shadow:0 0 2px #000,0 0 2px #000;pointer-events:none}.cell>.plus.p4,.cell>.plus.p5,.cell>.plus.p6{color:#7fdbff}.cell>.plus.p7,.cell>.plus.p8,.cell>.plus.p9{color:#c58cff}.cell>.plus.p10,.cell>.plus.p11,.cell>.plus.p12,.cell>.plus.p13,.cell>.plus.p14,.cell>.plus.p15{color:#ff9c40}.cell>.mark{position:absolute;bottom:2px;z-index:2;width:14px;height:14px;pointer-events:none}.cell>.mark.reinforce{right:2px}.cell>.mark.bless{left:2px}.cell>.count{z-index:3}#shout-dialog input{width:100%;box-sizing:border-box;padding:6px 8px;font:inherit;color:#fff;background:var(--win-dark);border:1px solid #000;box-shadow:inset 0 0 0 1px var(--win-line-2)}#shout-dialog .shout-count{margin:4px 0 10px;font-size:11px;color:#9a9a8a;text-align:right}#rename-dialog input{width:100%;box-sizing:border-box;margin-bottom:10px;padding:6px 8px;font:inherit;color:#fff;background:var(--win-dark);border:1px solid #000;box-shadow:inset 0 0 0 1px var(--win-line-2)}.fashion-row{display:flex;justify-content:space-between;gap:2px;margin-bottom:6px}.fashion-row .fashion-cell{display:flex;flex-direction:column;align-items:center;gap:1px}.fashion-row .cell{position:relative;width:32px;height:32px;border:0;background:var(--win-dark) var(--pic, url(/ui/inventory/fashion/bag-cell.png)) center / 100% 100% no-repeat}.fashion-row .cell .item-pic,.fashion-row .cell>.icon{position:absolute;left:2px;top:2px;width:28px;height:28px;object-fit:contain}.fashion-row .fashion-label{font-size:9.5px;color:#9a9a8a;line-height:1}.mstatus .st-plus:not(.wide),#status-window.own .st-plus:not(.wide),#inspect-window.own .st-plus:not(.wide){width:20px;height:15px;padding:0;border:0;border-radius:0;font-size:0;color:transparent;background:url(/ui/buttons/plus-0.png) no-repeat center / 100% 100%;image-rendering:pixelated}.mstatus .st-plus:not(.wide):hover:not(:disabled),.mstatus .st-plus:not(.wide):active,#status-window.own .st-plus:not(.wide):hover:not(:disabled),#inspect-window.own .st-plus:not(.wide):hover:not(:disabled),#status-window.own .st-plus:not(.wide):active,#inspect-window.own .st-plus:not(.wide):active{background:url(/ui/buttons/plus-1.png) no-repeat center / 100% 100%}#character-roster{position:absolute;right:3vw;top:50%;transform:translateY(-50%);z-index:2;display:flex;flex-direction:column;width:270px;max-height:calc(100dvh - 48px);box-sizing:border-box;--pad-t:0px;--pad-x:0px;padding:var(--pad-t) var(--pad-x) 0;background:var(--win-bg);color:#e8e4d4;font-family:var(--game-font,Kanit,sans-serif);text-align:left}#character-roster .cs-header{flex:none}#character-roster .wtitle{margin-bottom:0}#character-roster .cs-list{display:flex;flex-direction:column;gap:5px;min-height:0;overflow-y:auto;scrollbar-width:thin;margin:10px;padding:0;border:0;background:transparent}#character-roster .cs-card{flex:none;display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;min-height:42px;padding:7px 10px;border:solid transparent;border-width:3px 7px;border-image:var(--btn-0) 6 8 fill / 6px 8px / 0 stretch;border-radius:0;background:none;color:#e8e4d4;text-align:left;font-size:14px;text-shadow:0 1px 2px #000;image-rendering:pixelated}#character-roster .cs-card:hover{border-image-source:var(--btn-1)}#character-roster .cs-card.picked{border-image-source:var(--btn-2);color:var(--gold);box-shadow:inset 0 0 0 1px #f6dc6a66}.cs-card-name{flex:1;min-width:0;overflow-wrap:anywhere}.cs-level{flex:none;font-size:12px;font-variant-numeric:tabular-nums}.cs-empty{margin:8px;font-size:12px;text-align:center;color:#a7a497}#character-roster .cs-footer{flex:none;padding:8px 10px 10px;border-top:1px solid var(--win-line-2)}.cs-current{display:flex;justify-content:space-between;gap:8px;margin-bottom:8px;font-size:11px;color:#a7a497}.cs-current strong{min-width:0;overflow-wrap:anywhere;font-weight:300;color:var(--gold)}#character-roster .cs-enter{display:block;width:100%;min-height:30px;font-size:13px}.cs-actions{display:flex;flex-wrap:wrap;gap:5px;margin-top:7px}#character-roster .cs-actions .btn{flex:1 1 40%;min-width:0;min-height:26px;font-size:11px}#character-roster .cs-actions .btn:last-child{flex-basis:100%}#character-roster .cs-delete{color:#ff9c92}#character-roster button:focus-visible{outline:1px solid var(--gold);outline-offset:2px}.cs-error{margin:0 0 8px;color:#ff8a80;font-size:12px}#character-roster.cs-mobile{right:max(8px,env(safe-area-inset-right));width:min(34vw,270px);max-height:calc(100dvh - 16px)}@media(max-height:500px){#character-roster{max-height:calc(100dvh - 16px)}#character-roster .cs-list{margin:7px;gap:4px}#character-roster .cs-card{min-height:36px;padding:5px 8px;font-size:13px}#character-roster .cs-footer{padding:6px 7px}.cs-current{margin-bottom:5px}}@media(max-width:600px)and (orientation:portrait){#character-roster,#character-roster.cs-mobile{left:12px;right:12px;top:auto;bottom:max(12px,env(safe-area-inset-bottom));width:auto;max-height:52dvh;transform:none}}#channel-dialog{width:min(420px,calc(100vw - 32px));text-align:left}.channel-list{display:flex;flex-direction:column;gap:4px;max-height:min(52vh,360px);overflow-y:auto;margin-bottom:12px}.channel-row{display:flex;align-items:center;gap:10px;padding:7px 10px;background:#00000047;border:1px solid var(--win-hi);border-radius:2px;cursor:url(/ui/cursors/default.cur),pointer;user-select:none}.channel-row.here .channel-name{color:#ffea00}.channel-row.picked{background:#6a7aa059}.channel-name{flex:1}.channel-crowd.free{color:#9be59b}.channel-crowd.normal{color:#ffe08a}.channel-crowd.crowded,.channel-crowd.full{color:#ff9c92}.channel-count{flex:none;min-width:52px;text-align:right;opacity:.75;font-size:12px}#channel-dialog .buttons button:disabled{opacity:.45;cursor:url(/ui/cursors/cantmove.cur),not-allowed}.channel-row{flex-wrap:wrap}.channel-boss{flex-basis:100%;font-size:12px;color:#9a9a9a}.channel-boss.up{color:#ff6a4a;font-weight:600}.channel-benefits{flex-basis:100%;display:flex;flex-wrap:wrap;gap:4px 12px;font-size:12px;color:#b8dcab}.channel-benefits .pk-on{color:#ffb38a}.channel-benefits .pk-off{color:#b9bec7}.stage-bar{position:absolute;left:0;right:0;height:12vh;max-height:96px;pointer-events:none;background:no-repeat center / 100% 100%}.stage-bar.top{top:0;background-image:url(/ui/login/bar-top.png)}.stage-bar.bottom{bottom:0;background-image:url(/ui/login/bar-bottom.png)}.char-item{text-align:left}.name-state{min-height:18px;font-size:12px}#char-create-screen #char-error{min-height:0}#char-create-screen #char-error:empty{display:none}.name-state.free{color:#7bd88f}.name-state.taken,.name-state.invalid{color:#ff8a80}.name-state.checking{color:#aaa}.char-item.picked{border-color:#f6dc6a;background:#3a3626;color:#f6dc6a}#char-create-row{display:flex;gap:14px;align-items:flex-start}#char-create-side{display:flex;flex-direction:column;gap:10px;min-width:280px}#char-preview{width:240px;height:304px;border-radius:6px;background:radial-gradient(ellipse at 50% 35%,#3a4a5e,#161a22 75%);cursor:grab;touch-action:none;flex:none}#char-preview:active{cursor:grabbing}@media(max-width:640px){#char-create-row{flex-direction:column;align-items:center}}#look-picker{gap:6px}.look-row{display:flex;align-items:center;gap:8px;font-size:13px}.look-name{width:56px;color:#f6dc6a}.look-row button{padding:2px 8px}.look-icon{width:40px;height:40px;background:center / contain no-repeat;image-rendering:pixelated;flex:none}.look-value{flex:1;text-align:center}.look-row input[type=range]{flex:1}.look-scale{width:36px;text-align:right;font-variant-numeric:tabular-nums}@media(max-height:460px){.stage-bar{height:8vh}#look-picker{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:8px;row-gap:2px;min-width:0}#char-create-screen{min-width:0}#look-picker .look-row:nth-child(-n+6){grid-column:1 / -1}.look-name{width:44px;font-size:12px}.look-row{font-size:12px;gap:5px}.look-row button{min-height:18px}.look-icon{width:22px;height:22px}#look-picker .look-row:nth-child(n+7) .look-name{width:auto}#look-picker .look-row:nth-child(n+7) input[type=range]{min-width:0}#look-picker .look-row:nth-child(n+7) .look-scale{width:28px;font-size:11px}#char-create-screen input#char-name{padding:5px 8px}#char-create-screen .name-state{min-height:14px;font-size:11px}}#pinpad{display:flex;flex-direction:column;align-items:center;gap:6px}#pinpad #auth-pin{width:100%;text-align:center;letter-spacing:6px}#pinpad .pin-keys{display:grid;grid-template-columns:repeat(3,64px);gap:6px}#pinpad .pin-key{min-width:0;height:40px;padding:0;font-size:18px;cursor:url(/ui/cursors/default.cur),pointer}#pinpad .pin-key.small{font-size:13px}#auth-form{--auth-w: 200px;--pad-x: 28px;align-items:center;min-width:0;padding-left:var(--pad-x);padding-right:var(--pad-x)}#auth-form input{box-sizing:border-box;width:var(--auth-w);padding:5px 8px;font-size:13px}#auth-form>button{box-sizing:border-box;width:var(--auth-w)}#auth-form #pinpad{width:var(--auth-w)}#auth-form #pinpad #auth-pin{letter-spacing:4px}#auth-form #pinpad .pin-keys{grid-template-columns:repeat(3,1fr);width:100%}#auth-form #pinpad .pin-key{height:34px;font-size:16px}#auth-form #pinpad .pin-key.small{font-size:12px}#auth-form#auth-form>button{height:46px;min-height:46px;font-size:17px;line-height:20px}#auth-form>.wtitle{align-self:stretch}#login-backdrop{position:absolute;inset:0;width:100%;height:100%;display:block}.login-stage{background:#000}.login-stage>form,#m-login>form{position:relative;z-index:1}#char-stage{position:absolute;inset:0;overflow:hidden}#char-stage canvas{position:absolute;inset:0;width:100%;height:100%;display:block;touch-action:none;cursor:url(/ui/cursors/default.cur),pointer}#char-stage .cs-name{position:absolute;left:0;top:0;padding:1px 6px;font-size:13px;color:#f0ecd8;white-space:nowrap;text-shadow:0 0 3px #000,0 0 3px #000;pointer-events:none}#char-stage .cs-name.on{color:#f6dc6a}.center.stage:has(#char-stage){padding-right:2vw}.center.stage:has(#char-stage) #char-screen{min-width:0;width:220px;box-sizing:border-box}.center.stage:has(#char-stage) #char-screen .box{min-width:0}#rotate-gate{position:fixed;inset:0;z-index:1000;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;padding:24px;text-align:center;background:#07080a;color:#f3ecd0;touch-action:none}#rotate-gate .rotate-phone{width:54px;height:92px;border:3px solid var(--gold);border-radius:9px;position:relative;animation:rotate-phone 2.4s ease-in-out infinite}#rotate-gate .rotate-phone:after{content:"";position:absolute;left:50%;bottom:5px;width:16px;height:3px;margin-left:-8px;border-radius:2px;background:var(--gold)}#rotate-gate .rotate-text{font-size:18px;color:var(--gold)}#rotate-gate .rotate-sub{font-size:13px;color:#aaa}:root{--close0: url(/ui/buttons/close-0.png);--close1: url(/ui/buttons/close-1.png);--close2: url(/ui/buttons/close-2.png)}button.close{position:absolute;top:calc((var(--title-h) - 20px) / 2 - var(--frame, 1px));right:2px;z-index:2;box-sizing:border-box;width:20px;height:20px;min-width:0;min-height:0;margin:0;padding:0;border:0;border-radius:0;box-shadow:none;background:var(--close0) center / 20px 20px no-repeat;image-rendering:pixelated;font-size:0;cursor:url(/ui/cursors/default.cur),pointer}button.close:hover:not(:disabled){background-image:var(--close1)}button.close:active:not(:disabled){background-image:var(--close2)}@media(pointer:coarse){button.close:after{content:"";position:absolute;inset:-6px}}.panel.gw-flush{padding-top:calc(var(--title-h) - var(--frame, 1px) + var(--gw-gap, 4px))}.panel.gw-flush>.wtitle{position:absolute;top:calc(-1 * var(--frame, 1px));left:calc(-1 * var(--frame, 1px));right:calc(-1 * var(--frame, 1px));width:auto;z-index:1;margin:0}.gwin.own>.wtitle{position:absolute;top:calc(-1 * var(--frame, 1px));left:calc(-1 * var(--frame, 1px));right:calc(-1 * var(--frame, 1px));z-index:1;box-sizing:border-box;height:var(--title-h);line-height:calc(var(--title-h) - 1px);margin:0;padding:0 24px;font-size:var(--title-font)}.money{display:inline-flex;align-items:center;gap:4px;min-width:0;color:var(--gold);font-variant-numeric:tabular-nums;white-space:nowrap}.money img{flex:none;width:14px;height:14px;object-fit:contain}.money-icon{flex:none;width:14px;height:14px;object-fit:contain;vertical-align:middle}.money b{min-width:0;overflow:hidden;text-overflow:ellipsis;font-weight:400}#city-dungeon{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:310px;height:470px;box-sizing:border-box;max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);display:flex;flex-direction:column;padding-inline:16px;padding-bottom:12px;--gw-gap:14px;pointer-events:auto;background:#282a26f0}#city-dungeon p{margin:8px 0}.dungeon-entry-scroll{flex:1;min-height:0;overflow:auto;overflow-wrap:anywhere;display:flex;flex-direction:column;gap:22px}.dungeon-entry-story{line-height:1.6}#city-dungeon .dungeon-entry-heading{color:#6adf8a;margin-bottom:18px}.dungeon-entry-conditions{margin:auto 0 12px;padding-left:22px;color:var(--gold);line-height:1.6}.dungeon-entry-conditions>div{display:flex;flex-wrap:wrap;column-gap:4px}.dungeon-entry-conditions dd{margin:0}.dungeon-entry-closed{color:#ffb0a8}#city-dungeon .dungeon-entry-actions{justify-content:center;gap:28px;flex-shrink:0;margin-top:12px}@media(max-height:560px){#city-dungeon{height:440px;--gw-gap:6px;padding-bottom:8px}.dungeon-entry-scroll{gap:12px}.dungeon-entry-conditions{padding-left:8px}}.dungeon-description{white-space:pre-line}.dungeon-actions{display:flex;flex-wrap:wrap;gap:6px}#dungeon-mission-hud{position:absolute;top:12px;right:12px;width:380px;max-width:calc(100vw - 24px);display:grid;grid-template-columns:minmax(0,1.55fr) minmax(0,1fr);gap:3px;pointer-events:auto}#dungeon-mission-hud>.panel{position:relative;inset:auto;transform:none;width:auto;min-width:0;margin:0;box-sizing:border-box;padding-inline:8px;padding-bottom:8px}.dungeon-objective-scroll{max-height:160px;overflow:auto;overflow-wrap:anywhere}#dungeon-mission-hud p{margin:6px 0}.dungeon-name{color:var(--gold)}.dungeon-progress{text-align:center}.dungeon-time-label{margin-top:6px}.dungeon-time{font-size:34px;line-height:1.4;font-weight:600;font-variant-numeric:tabular-nums;white-space:nowrap;color:#fff}.dungeon-remaining{margin-bottom:8px}.dungeon-progress .dungeon-actions{justify-content:center}.dungeon-progress .dungeon-actions button{max-width:100%;white-space:normal;overflow-wrap:anywhere}@media(max-width:760px),(max-height:560px){#dungeon-mission-hud{top:8px;right:8px;width:320px;max-width:calc(100vw - 16px)}.dungeon-objective-scroll{max-height:115px}.dungeon-time{font-size:28px}}@media(max-width:480px){#dungeon-mission-hud{top:110px;width:280px}}html.touch-ui #dungeon-mission-hud.dungeon-mobile{top:8px;right:8px;width:120px;max-width:calc(100vw - 16px);display:block}html.touch-ui .dungeon-mobile>.panel{padding-inline:4px;padding-bottom:4px}html.touch-ui .dungeon-mobile .dungeon-time{font-size:25px;line-height:1.15;margin:2px 0}html.touch-ui .dungeon-mobile .dungeon-remaining{font-size:11px;margin-bottom:4px}html.touch-ui .dungeon-mobile .dungeon-actions{display:grid;grid-template-columns:1fr 1fr;gap:3px}html.touch-ui .dungeon-mobile .dungeon-actions .btn{min-width:0;padding-inline:2px;white-space:nowrap}html.touch-ui.m-open #dungeon-mission-hud{display:none}#tower-hud{position:absolute;top:12px;right:12px;width:352px;height:187px;pointer-events:none;font-size:12px;color:#fff;text-shadow:1px 1px 0 #0a0a0a;image-rendering:pixelated}#tower-hud>div,#tower-hud>div>*{position:absolute;box-sizing:border-box}#tower-hud button{padding:0;border:0;font:inherit;color:inherit;text-shadow:inherit;background-color:transparent;pointer-events:auto;cursor:url(/ui/cursors/default.cur),pointer}#tower-hud .th-auto{left:0;top:0;width:204px;height:107px;background:url(/ui/tower/info-auto.png) no-repeat 0 0 / 100% 100%;pointer-events:auto}#tower-hud .th-check{left:25px;top:17px;width:18px;height:18px;z-index:1;background:url(/ui/tower/check-0.png) no-repeat 0 0 / 100% 100%}#tower-hud .th-check.on{background-image:url(/ui/tower/check-1.png)}#tower-hud .th-auto-title{left:2px;top:14px;width:198px;text-align:center;color:#fafa00}#tower-hud .th-radio{left:15px;width:16px;height:16px;z-index:1;background:url(/ui/tower/radio-0.png) no-repeat 0 0 / 100% 100%}#tower-hud .th-radio.on{background-image:url(/ui/tower/radio-1.png)}#tower-hud .th-radio-1{top:54px}#tower-hud .th-radio-2{top:74px}#tower-hud .th-label{left:2px;width:198px;text-align:center;color:#b4b4b4}#tower-hud .th-label.on{color:#fff}#tower-hud .th-label-1{top:50px}#tower-hud .th-label-2{top:70px}#tower-hud .th-panel{left:204px;top:0;width:148px;height:187px;background:url(/ui/tower/info-panel.png) no-repeat 0 0 / 100% 100%;pointer-events:auto}#tower-hud .th-panel>div{left:1px;width:146px;text-align:center}#tower-hud .th-summary{top:3px;display:flex;align-items:center;justify-content:space-between;gap:4px;padding:0 5px;white-space:nowrap;font-size:11px}#tower-hud .th-time-label{top:25px}#tower-hud .th-time{top:41px;font-size:20px;color:#f6dc6a;font-variant-numeric:tabular-nums}#tower-hud .th-wave{top:68px;font-size:11px;color:#00ffc8;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#tower-hud .th-remaining{flex:none;color:#fff}#tower-hud .th-name{top:100px;height:25px;line-height:25px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#tower-hud .th-stage{min-width:0;overflow:hidden;text-overflow:ellipsis;color:#f6dc6a}#tower-hud .th-exit{left:47px;top:157px;width:56px;height:19px;line-height:19px;text-align:center;background:url(/ui/tower/exit-0.png) no-repeat 0 0 / 100% 100%}#tower-hud .th-exit:hover{background-image:url(/ui/tower/exit-1.png)}#tower-hud .th-exit:active{background-image:url(/ui/tower/exit-2.png)}#tower-hud.mobile-tower-hud{position:absolute;top:8px;right:8px;width:120px;height:auto;display:flex;flex-direction:column;align-items:stretch;gap:3px;padding:3px 5px 6px;box-sizing:border-box;pointer-events:auto;overflow:hidden;background:url(/ui/tower/info-panel.png) no-repeat 0 0 / 100% 100%;image-rendering:pixelated;font-size:10px;line-height:13px;color:#fff;text-shadow:1px 1px 0 #0a0a0a;text-align:center}#tower-hud.mobile-tower-hud>*{position:static;flex:none;min-width:0;max-width:100%;box-sizing:border-box}.mobile-tower-hud .mth-summary{display:flex;align-items:center;justify-content:space-between;gap:4px;margin-bottom:4px;white-space:nowrap}.mobile-tower-hud .mth-time{font-size:18px;line-height:21px;color:#f6dc6a;font-variant-numeric:tabular-nums}.mobile-tower-hud .mth-wave{color:#00ffc8;overflow-wrap:anywhere}.mobile-tower-hud .mth-remaining{flex:none}.mobile-tower-hud .mth-name{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mobile-tower-hud .mth-stage{min-width:0;overflow:hidden;text-overflow:ellipsis;color:#f6dc6a}#tower-hud.mobile-tower-hud button{min-height:22px;height:22px;padding:0 3px;border:0;font:inherit;color:inherit;text-shadow:inherit}#tower-hud.mobile-tower-hud .mth-auto{width:100%;background:url(/ui/tower/wide-button-0.png) no-repeat 0 0 / 100% 100%;color:#b4b4b4}#tower-hud.mobile-tower-hud .mth-auto.on{color:#fafa00}#tower-hud.mobile-tower-hud .mth-exit{align-self:center;width:56px;background:url(/ui/tower/exit-0.png) no-repeat 0 0 / 100% 100%}#tower-hud.mobile-tower-hud .mth-exit:active{background-image:url(/ui/tower/exit-2.png)}html.m-open #tower-hud.mobile-tower-hud{display:none}.item-grade-frame{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:block;width:40px;height:40px;max-width:calc(100% - 2px);max-height:calc(100% - 2px);margin:0;padding:0;border:0;border-radius:0;box-shadow:none;z-index:1;pointer-events:none;image-rendering:pixelated}.item-tip-picture>.item-grade-frame,.m-item-tip-picture>.item-grade-frame{max-width:none;max-height:none}.cell>.pet-cradle-mark{position:absolute;bottom:1px;left:2px;z-index:4;padding:0 2px;color:#ffe99c;background:#153442e8;font:400 9px/12px var(--game-font,Kanit,system-ui,sans-serif);white-space:nowrap;pointer-events:none}.cell>.mall-lock-mark{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);z-index:4;display:block;padding:0;border:0;border-radius:0;color:#ffffc8;background:transparent;font:400 11px/1.1 var(--game-font, Kanit, system-ui, sans-serif);text-align:center;text-shadow:-1px -1px 0 #0a0a0a,1px -1px 0 #0a0a0a,-1px 1px 0 #0a0a0a,1px 1px 0 #0a0a0a,0 2px 2px #000;white-space:nowrap;user-select:none;pointer-events:none}.cell.no-gem-reset{opacity:.35;filter:grayscale(.6)}.cell.gem-reset-eligible{opacity:1;filter:none}.box-reward-preview{margin:0 9px 9px;padding-top:8px;border-top:1px solid #53634f}.box-reward-preview h4{margin:0 0 5px;font:inherit;color:#f6dc6a}.box-reward-preview p{margin:0 0 6px}.box-reward-hint{color:#a9ae9b;font-size:11px}.box-reward-list{display:grid;gap:3px}.box-reward-row{display:flex;align-items:center;gap:5px;min-width:0}.box-reward-picture{display:flex;align-items:center;justify-content:center;flex:none;width:22px;height:22px}.box-reward-picture .icon,.box-reward-picture>img{width:22px;height:22px;object-fit:contain}.box-reward-name{flex:1;min-width:0;overflow-wrap:anywhere}.box-reward-name small{display:block;color:#80c582;font-size:10px}.box-reward-count{flex:none;color:#f6dc6a;font-variant-numeric:tabular-nums}.m-item-tip .box-reward-preview{margin-inline:8px}.item-bond-progress{padding:0 9px 9px;font-size:12px;line-height:1.5}.item-bond-level{display:flex;align-items:center;gap:4px;margin-bottom:4px;color:#e3dca8}.item-bond-icon{display:block;flex:none;width:12px;height:12px;image-rendering:pixelated}.item-bond-bar{height:18px;position:relative;overflow:hidden;background:linear-gradient(#152a36,#263e4c);border:1px solid #475863;box-shadow:inset 0 0 3px #0009;text-align:center}.item-bond-bar>i{display:block;position:absolute;inset:0 auto 0 0;background:linear-gradient(#f8bd4b,#d98b20 48%,#9a560e)}.item-bond-bar>span{position:relative;display:block;color:#f6f4e9;font-size:11px;line-height:18px;text-shadow:0 1px 2px #000}.item-bond-progress>small{display:block;color:#efb983;margin-top:3px;font-size:10px}.item-bond-progress>.item-bond-trade-notice{margin:0 0 4px;color:#ff6969;font-size:11px;line-height:1.4}.item-tip-bond .item-tip-row,.m-item-tip-bond .m-item-tip-row{color:#88ccef}.m-item-tip .item-bond-progress{padding:0 10px 10px;font-size:13px}.m-item-tip .item-bond-bar{height:20px}.m-item-tip .item-bond-bar>span{line-height:20px;font-size:12px}#tooltip.item-tooltip{width:min(320px,calc(100vw - 8px));max-height:calc(100vh - 8px);overflow-y:auto;padding:0;border:1px solid #526b7c;border-radius:0;background:#101510ed;box-sizing:border-box;box-shadow:0 0 0 1px #000b}#tooltip.item-tooltip.touch-item-tooltip{zoom:var(--m-zoom,.85);width:min(320px,calc((100vw - 8px) / var(--m-zoom,.85)));max-height:calc((100vh - 8px) / var(--m-zoom,.85))}.item-tip{font-size:12px;line-height:1.4;color:#dedec5}.item-tip-title{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.item-tip-title>span:first-child{flex:1;min-width:0}.item-tip-title-right{flex:0 1 112px;color:#ff5858;font-size:11px;text-align:right;overflow-wrap:anywhere}.item-tip-title{padding:4px 8px;background:linear-gradient(#304959ee,#183143ee);border-bottom:1px solid #07111b;font-size:13px;font-weight:400;overflow-wrap:anywhere;text-shadow:0 1px 2px #000}.item-tip-summary{display:flex;align-items:flex-start;gap:8px;padding:10px 9px 8px}.item-tip-picture{display:block;position:relative;flex:none;width:44px;height:44px;padding:1px;border:1px solid #716957;background:#050a08;box-sizing:border-box}.item-tip-picture>.icon{display:block;width:100%;height:100%;object-fit:contain}.item-tip-kind{display:flex;flex-direction:column;gap:4px;flex:1;min-width:0;color:#dedcad;overflow-wrap:anywhere}.item-tip-kind>small{font-size:11px;color:#babda2}.item-tip-flags{display:flex;flex-direction:column;gap:2px;flex:none;max-width:60px;color:#ff5858;font-size:11px;text-align:right}.item-tip-body{padding:0 9px 9px}.item-tip-section+.item-tip-section{margin-top:8px}.item-tip-section>h4{margin:0 0 2px;color:#e7bd78;font-size:12px;font-weight:400}.item-tip-row{display:flex;justify-content:space-between;gap:8px;overflow-wrap:anywhere}.item-tip-row>span:first-child{min-width:0}.item-tip-value{flex:none;text-align:right}.item-tip-gap{height:5px}.item-tip-bold{font-weight:400}.item-tip-tone-bonus,.item-tip-tone-mp{color:#88ccef}.item-tip-tone-good{color:#73e36e}.item-tip-tone-bad{color:#f66}.item-tip-tone-rare,.item-tip-tone-price{color:#e8bf7d}.item-tip-tone-dim,.item-tip-tone-kind{color:#babda2}.item-tip-rare .item-tip-row,.item-tip-reinforce .item-tip-row{color:#88ccef}.item-tip-description{color:#d0d3aa}.item-tip-description .item-tip-row{color:inherit}.m-pop.m-item-pop{padding:0;border-radius:0;background:#101510f2;border-color:#526b7c}.m-item-tip{color:#dedec5;font-size:12px;line-height:1.4}.m-item-tip-title{padding:5px 8px;background:linear-gradient(#304959ee,#183143ee);border-bottom:1px solid #07111b;font-size:13px;overflow-wrap:anywhere;text-shadow:0 1px 2px #000}.m-item-tip-summary{display:flex;align-items:flex-start;gap:8px;padding:8px}.m-item-tip-picture{display:block;position:relative;flex:none;width:44px;height:44px;box-sizing:border-box;padding:1px;border:1px solid #716957;background:#050a08}.m-item-tip-picture>.icon{display:block;width:100%;height:100%;object-fit:contain}.m-item-tip-kind{display:flex;flex-direction:column;gap:4px;flex:1;min-width:0;color:#dedcad;overflow-wrap:anywhere}.m-item-tip-kind>small{color:#babda2;font-size:11px}.m-item-tip-flags{display:flex;flex-direction:column;flex:none;gap:2px;max-width:56px;text-align:right;color:#ff5858;font-size:11px}.m-item-tip-body{padding:0 8px 8px}.m-item-tip-section+.m-item-tip-section{margin-top:8px}.m-item-tip-section>h4{margin:0 0 2px;color:#e7bd78;font-size:12px;font-weight:400}.m-item-tip-row{display:flex;justify-content:space-between;gap:8px;overflow-wrap:anywhere}.m-item-tip-row>span:first-child{min-width:0}.m-item-tip-value{flex:none;text-align:right}.m-item-tip-gap{height:5px}.m-item-tip-bold{font-weight:400}.m-item-tip-tone-bonus,.m-item-tip-tone-mp{color:#88ccef}.m-item-tip-tone-good{color:#73e36e}.m-item-tip-tone-bad{color:#f66}.m-item-tip-tone-rare,.m-item-tip-tone-price{color:#e8bf7d}.m-item-tip-tone-dim,.m-item-tip-tone-kind{color:#babda2}.m-item-tip-rare .m-item-tip-row,.m-item-tip-reinforce .m-item-tip-row{color:#88ccef}.m-item-tip-description .m-item-tip-row{color:#d0d3aa}.m-item-pop>.m-actions,.m-item-pop>.m-slots{margin:0 8px 8px}.m-item-pop>.m-pop-foot{margin:0 8px 8px}.m-item-tip-title{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.m-item-tip-title>span:first-child{flex:1;min-width:0}.m-item-tip-title-right{flex:0 1 112px;color:#ff5858;font-size:11px;text-align:right;overflow-wrap:anywhere}#tooltip{position:fixed;z-index:9999;width:244px;padding:7px 10px 8px;pointer-events:none;font-size:12px;line-height:17px;background:#181818f2}#tooltip .tip-head{display:flex;gap:8px;align-items:center}#tooltip .tip-icon{flex:none;width:40px;height:40px;border:1px solid var(--win-line-2);background-color:#101010;background-repeat:no-repeat}#tooltip .tip-gap{height:6px}#tooltip .tip-name{color:#f0ecd8;font-size:13px}#tooltip .tip-kind{color:#8d8a7a;font-size:11px}#tooltip .tip-good{color:#8ee08e}#tooltip .tip-bad{color:#ff7d73}#tooltip .tip-bonus{color:#7fc8ff}#tooltip .tip-rare{color:#ffb340}#tooltip .tip-text{color:#d9d4c0}#tooltip .tip-dim{color:#9a9684;font-size:11px}#tooltip .tip-price{color:#f6dc6a}#tooltip.wide{width:314px}#tooltip .tip-title{margin:-2px 0 6px;padding-bottom:4px;font-size:14px;color:#f6dc6a;border-bottom:1px solid var(--win-line-2)}#tooltip .tip-rows{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}#tooltip .tip-row{display:flex;justify-content:space-between;gap:8px}#tooltip .tip-right{flex:none;text-align:right}#tooltip .tip-mp{color:#6ad8ff}#tooltip .tip-bold{font-weight:400;color:#fff;font-size:13px}#tooltip .tip-head{margin-bottom:4px}#tooltip.fit{width:max-content;max-width:244px;padding:4px 8px;white-space:nowrap}#tooltip.above{position:fixed}.gem-reset-layer{position:fixed;inset:0;z-index:400;display:flex;align-items:center;justify-content:center;pointer-events:none}#gem-reset-dialog{pointer-events:auto;width:300px;max-width:calc(100vw - 24px);--pad-t:0px;--pad-x:12px;padding:var(--pad-t) var(--pad-x) 12px}#gem-reset-dialog .gem-reset-target{display:flex;justify-content:center;margin:16px 0 8px}#gem-reset-dialog .cell{position:relative;flex:none;width:44px;height:44px;min-width:44px;min-height:44px;box-sizing:border-box;padding:0;border:0;border-radius:0;background:var(--win-dark) url(/ui/inventory/equip/bag-cell.png) center / 100% 100% no-repeat}#gem-reset-dialog .cell>.icon{position:absolute;left:3px;top:3px;width:38px;height:38px;object-fit:contain;pointer-events:none}#gem-reset-dialog p{text-align:center;line-height:1.5;margin:8px 0}#gem-reset-dialog footer{display:flex;justify-content:center;gap:12px;margin-top:12px}.m-equipment-picker-backdrop{position:fixed;inset:0;z-index:350;display:flex;align-items:center;justify-content:center;pointer-events:auto;background:#0007}.panel.m-equipment-picker{position:relative;display:flex;flex-direction:column;box-sizing:border-box;width:360px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);padding:0;color:#fff;font-size:12px}.m-equipment-picker>.m-pane-title{position:relative;flex:none;margin:0;padding:0 24px;min-height:20px;height:20px;line-height:20px}.m-equipment-picker .close{z-index:2}.m-equipment-picker-list{min-height:0;padding:6px;overflow:auto;max-height:calc(100dvh - 70px)}.m-equipment-picker-list>div{display:flex;align-items:center;gap:6px;padding:3px 0}.m-equipment-picker-list .m-cell{flex:none;width:40px;height:40px}.m-equipment-picker-list .btn{flex:1;min-width:0;height:auto;min-height:36px;padding:2px 6px;text-align:left;white-space:normal}.m-equipment-picker-list small{display:block;font-size:10px;color:#c0d3e5}.m-equipment-picker>footer{display:flex;flex:none;justify-content:flex-end;gap:6px;padding:0 6px 6px}.m-equipment-picker>footer .btn{min-height:28px;padding:0 8px;font-size:12px}#mobile-gem-reset{display:flex;flex:1;flex-direction:column;min-width:0;min-height:0;gap:5px;color:#eee;font-size:12px}#mobile-gem-reset .m-ref-panels{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.12fr);flex:1;min-height:0;gap:6px}#mobile-gem-reset .m-pane-title{min-height:24px;font-size:12px}#mobile-gem-reset .m-ref-target-body,#mobile-gem-reset .m-ref-material-body{min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:6px}#mobile-gem-reset .m-ref-target-body{display:flex;flex-direction:column;gap:5px}#mobile-gem-reset .m-ref-name{color:var(--gold);text-align:center;font-weight:400;line-height:1.3;overflow-wrap:anywhere}#mobile-gem-reset .m-ref-flow{display:flex;align-items:center;justify-content:center;gap:18px}#mobile-gem-reset .m-ref-flow>div{display:flex;flex-direction:column;align-items:center;gap:3px}#mobile-gem-reset .m-ref-flow small{color:#c4c4b6;font-size:10px}#mobile-gem-reset .m-ref-flow>span{color:var(--gold);font-size:24px}#mobile-gem-reset .m-ref-flow .m-cell{flex:none;width:48px;height:48px}#mobile-gem-reset .m-ref-target-actions{display:flex;justify-content:center;gap:5px}#mobile-gem-reset .m-ref-target-actions .btn{min-height:26px;height:26px;padding:0 8px;font-size:11px}#mobile-gem-reset .m-ref-stats{padding:5px 6px;border:1px solid var(--win-line-2);background:var(--win-dark)}#mobile-gem-reset .m-ref-stats h3{margin:0 0 3px;color:var(--gold);font-size:11px;font-weight:400}#mobile-gem-reset .m-ref-stats>div{display:flex;flex-direction:column;gap:2px;color:#bed9ec;font-size:12px}#mobile-gem-reset .m-ref-stats .empty{color:#aaa997;font-size:10px}#mobile-gem-reset .m-ref-preview h3{color:#8de49c}#mobile-gem-reset .m-ref-price,#mobile-gem-reset .m-ref-balance{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;font-size:11px}#mobile-gem-reset .m-ref-balance{color:#b9b4a0}#mobile-gem-reset .m-ref-support{display:flex;align-items:center;gap:6px;padding-top:4px;border-top:1px solid var(--win-line-2)}#mobile-gem-reset .m-ref-support .m-cell{flex:none;width:36px;height:36px}#mobile-gem-reset .m-ref-support .btn{flex:1;min-width:0;min-height:34px;height:auto;padding:3px 6px;font-size:11px;text-align:left;white-space:normal}#mobile-gem-reset .m-ref-support small{display:block;font-size:10px;color:#b9c8cb}#mobile-gem-reset .m-ref-description{margin:0 0 6px;font-size:11px;color:#c6c4b5}#mobile-gem-reset .m-ref-material-card{display:grid;grid-template-columns:36px minmax(0,1fr);align-items:center;gap:4px 6px;margin-bottom:5px;padding:5px;border:1px solid var(--win-line-2);background:var(--win-dark)}#mobile-gem-reset .m-ref-material-card.selected{border-color:#b7a469}#mobile-gem-reset .m-reset-choice{min-width:0;height:auto;min-height:36px;padding:3px 6px;white-space:normal;overflow-wrap:anywhere;text-align:left;font-size:11px}#mobile-gem-reset .m-reset-choice small{display:block;font-size:10px;color:#b9b4a0}#mobile-gem-reset .m-ref-material-card>.m-cell{width:36px;height:36px;grid-column:1;grid-row:1 / 3;align-self:center}#mobile-gem-reset .m-ref-material-card.unavailable>.m-cell{opacity:.4;filter:grayscale(1)}#mobile-gem-reset .m-ref-material-info{display:flex;flex-direction:column;gap:2px;min-width:0}#mobile-gem-reset .m-ref-material-info strong{font-weight:400;font-size:11px;overflow-wrap:anywhere}#mobile-gem-reset .m-ref-material-info small{color:#b9b4a0;font-size:10px}#mobile-gem-reset .m-ref-material-info .m-ref-material-max{color:#b8d8e7}#mobile-gem-reset .m-ref-quantity{display:grid;grid-column:2;grid-template-columns:28px minmax(40px,1fr) 28px 44px;gap:4px}#mobile-gem-reset .m-ref-quantity .btn{min-width:0;min-height:28px;height:28px;padding:0;font-size:15px}#mobile-gem-reset .m-ref-quantity .m-ref-count,#mobile-gem-reset .m-ref-quantity .m-ref-max{font-size:11px}#mobile-gem-reset .m-ref-count{color:var(--gold);font-variant-numeric:tabular-nums}#mobile-gem-reset .m-ref-empty{color:#b9b4a0;font-size:11px}#mobile-gem-reset .m-ref-footer{display:flex;align-items:center;flex:none;gap:8px;min-height:44px;padding:5px 6px;border:1px solid var(--win-line);background:var(--win-bg)}#mobile-gem-reset .m-ref-feedback{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px;font-size:11px;line-height:1.35}#mobile-gem-reset .m-ref-feedback small{color:#b9b4a0;font-size:10px}#mobile-gem-reset .warning,#mobile-gem-reset .warning .money{color:#ffac87}#mobile-gem-reset .m-ref-actions{display:flex;flex:none;gap:5px}#mobile-gem-reset .m-ref-actions .btn{min-width:76px;min-height:34px;height:34px;padding:0 8px;font-size:12px}#mobile-gem-reset .m-ref-actions .btn.act{min-width:104px;color:var(--gold)}@media(max-height:360px){#mobile-gem-reset .m-ref-flow .m-cell{width:40px;height:40px}#mobile-gem-reset .m-ref-target-body{gap:3px}#mobile-gem-reset .m-ref-footer{min-height:38px}}#mobile-gem-reset-dialog{z-index:400;overflow:hidden}#mobile-gem-reset-dialog .m-main{min-width:0;overflow:hidden}#mobile-gem-reset .m-ref-target-body,#mobile-gem-reset .m-ref-material-body{min-width:0;overflow-x:hidden;overflow-wrap:anywhere}#mobile-gem-reset .m-ref-panels>.m-pane{min-width:0}#mobile-gem-reset .m-ref-footer{flex-wrap:wrap}#mobile-gem-reset .m-ref-actions{margin-left:auto}.m-equipment-picker-backdrop.m-gem-reset-picker{z-index:450}.m-gem-reset-picker .m-equipment-picker{overflow:hidden}.m-gem-reset-picker .m-equipment-picker-list{overflow-x:hidden;overflow-y:auto;min-width:0}.m-gem-reset-picker .m-equipment-picker-list>div{min-width:0}.m-gem-reset-picker .m-equipment-picker-list .btn{overflow-wrap:anywhere}:is(#market-buy-quantity,#storage-dialog,#drop-dialog,#sell-dialog,#split-dialog,#use-many-dialog,#buy-dialog,#bond-quantity-dialog,#reinforce-quantity-dialog,#dissolve-quantity-dialog).quantity-dialog.panel{position:absolute;z-index:300;left:50%;top:32%;transform:translate(-50%);width:252px;min-width:0;max-width:min(280px,calc(100vw - 32px));box-sizing:border-box;overflow-x:hidden;--pad-t:10px;--pad-x:16px;padding:var(--pad-t) var(--pad-x) 14px;text-align:center;pointer-events:auto;font-size:12px}.quantity-dialog>p{margin:0 0 10px;line-height:1.5;overflow-wrap:anywhere}.quantity-dialog>.wtitle{margin:calc(-1 * var(--pad-t)) calc(-1 * var(--pad-x)) 8px}.quantity-dialog b{color:var(--gold);font-weight:400}.quantity-dialog .quantity-form{width:100%;min-width:0;max-width:100%;margin:0 auto}:is(#market-buy-quantity,#storage-dialog,#drop-dialog,#sell-dialog,#split-dialog,#use-many-dialog,#buy-dialog,#bond-quantity-dialog,#reinforce-quantity-dialog,#dissolve-quantity-dialog).quantity-dialog .qty{display:grid;grid-template-columns:minmax(0,28px) minmax(0,1fr) minmax(0,28px) minmax(0,60px);gap:6px;width:100%;margin:0 0 8px;align-items:center}:is(#market-buy-quantity,#storage-dialog,#drop-dialog,#sell-dialog,#split-dialog,#use-many-dialog,#buy-dialog,#bond-quantity-dialog,#reinforce-quantity-dialog,#dissolve-quantity-dialog).quantity-dialog .qty input{width:100%;min-width:0;height:22px;box-sizing:border-box;padding:0 4px;text-align:center;font:inherit;color:var(--gold);background:var(--win-dark);border:1px solid var(--win-line);border-radius:0}:is(#market-buy-quantity,#storage-dialog,#drop-dialog,#sell-dialog,#split-dialog,#use-many-dialog,#buy-dialog,#bond-quantity-dialog,#reinforce-quantity-dialog,#dissolve-quantity-dialog).quantity-dialog.panel .quantity-form .btn.btn-sm{width:100%;min-width:0;min-height:22px;height:auto;padding:0 4px;font-size:11px;line-height:14px;overflow-wrap:anywhere}:is(#market-buy-quantity,#storage-dialog,#drop-dialog,#sell-dialog,#split-dialog,#use-many-dialog,#buy-dialog,#bond-quantity-dialog,#reinforce-quantity-dialog,#dissolve-quantity-dialog).quantity-dialog .buttons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;width:100%;margin:0}.quantity-dialog .quantity-form>p{margin:0 0 8px;line-height:1.5;overflow-wrap:anywhere}@media(max-height:560px){:is(#market-buy-quantity,#storage-dialog,#drop-dialog,#sell-dialog,#split-dialog,#use-many-dialog,#buy-dialog,#bond-quantity-dialog,#reinforce-quantity-dialog,#dissolve-quantity-dialog).quantity-dialog.panel{top:8px;max-height:calc(100dvh - 16px);overflow-y:auto}}html.touch-ui :is(#market-buy-quantity,#storage-dialog,#drop-dialog,#sell-dialog,#split-dialog,#use-many-dialog,#buy-dialog,#bond-quantity-dialog,#reinforce-quantity-dialog,#dissolve-quantity-dialog).quantity-dialog.panel{top:12%}.quantity-dialog .money{max-width:100%;vertical-align:middle;font-size:inherit}#fps-meter{position:fixed;left:50%;top:4px;transform:translate(-50%);z-index:50;pointer-events:none;padding:1px 8px;font-size:11px;line-height:16px;color:#e8e4d0;background:#000a;border:1px solid #0008;border-radius:3px;font-variant-numeric:tabular-nums;white-space:nowrap;text-shadow:0 0 2px #000}#fps-meter b{font-weight:600}#fps-meter span{margin-left:4px;opacity:.7}#fps-meter.good b{color:#7ee07e}#fps-meter.ok b{color:#ffd166}#fps-meter.bad b{color:#ff6b6b}#fps-meter .fps-detail{margin-top:1px;font-size:10px;line-height:14px;opacity:.85}#system-menu{width:min(280px,calc(100vw - 32px))}#system-menu .menu-items{display:flex;flex-direction:column;gap:8px;margin:10px 0 4px}#system-menu:not(.system-settings) .menu-items .btn{min-height:30px;font-size:14px}#system-menu .setting{display:flex;flex-direction:column;gap:6px;text-align:left;font-size:13px}#system-menu .setting b{color:#f6dc6a;font-weight:400;margin-left:6px}#system-menu .setting input{width:100%}#system-menu{box-sizing:border-box;overflow:hidden}#system-menu .menu-items{align-items:stretch}#system-menu .setting{box-sizing:border-box;width:100%}#system-menu .setting input[type=range]{box-sizing:border-box;display:block;width:100%;max-width:100%;margin:0}#system-menu{--pad-t: 10px;--pad-x: 12px;padding:var(--pad-t) var(--pad-x) 16px}#system-menu .menu-items{padding:0 8px}#system-menu .setting-check{flex-direction:row;align-items:flex-start;gap:8px;cursor:url(/ui/cursors/default.cur),pointer}#system-menu .setting-check input{width:16px;height:16px;margin:2px 0 0;flex:none}#system-menu .setting-check small{display:block;color:#a9b3bd;font-size:11px;margin-top:2px}#system-menu .setting select{width:100%;box-sizing:border-box;font:inherit}#system-menu .settings-tabs{display:flex;gap:4px;border-bottom:1px solid var(--win-line-2);margin-bottom:4px}#system-menu .settings-tabs .btn{flex:none}#system-menu.system-settings .btn.btn-sm{height:22px;min-height:22px;max-height:22px;line-height:14px}#system-menu .settings-content{display:flex;flex-direction:column;gap:8px}#system-menu.system-settings{height:480px;max-height:calc(100dvh - 24px);display:flex;flex-direction:column}#system-menu.system-settings>.wtitle{flex-shrink:0}#system-menu.system-settings .menu-items{flex:1;min-height:0}#system-menu.system-settings .settings-tabs{flex-shrink:0}#system-menu.system-settings .settings-content{flex:1;min-height:0;overflow-y:auto}#system-menu.system-settings #settings-back{flex-shrink:0;align-self:center}html.touch-ui #system-menu.system-settings{zoom:1;width:min(680px,calc(100vw - 24px - env(safe-area-inset-left,0px) - env(safe-area-inset-right,0px)));max-width:none;height:360px;max-height:calc(100dvh - 24px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px));display:flex;flex-direction:column;padding-bottom:8px}html.touch-ui #system-menu.system-settings>.wtitle{flex-shrink:0}html.touch-ui #system-menu.system-settings .menu-items{min-height:0;margin:6px 0 0;padding:0;gap:6px}html.touch-ui #system-menu.system-settings .settings-tabs{flex-shrink:0;margin:0;padding-bottom:4px}html.touch-ui #system-menu.system-settings .settings-content{min-height:0;overflow-y:auto;overscroll-behavior:contain;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 18px;align-content:start;padding:4px 6px 6px 0}html.touch-ui #system-menu.system-settings .setting{min-width:0;font-size:12px;gap:4px;overflow-wrap:anywhere}html.touch-ui #system-menu.system-settings .setting small{display:block;color:#a9b3bd;font-size:11px;line-height:1.4}html.touch-ui #system-menu.system-settings .setting select{min-width:0;max-width:100%}html.touch-ui #system-menu.system-settings #settings-back{flex-shrink:0;align-self:center}@media(max-width:420px){html.touch-ui #system-menu.system-settings .settings-content{grid-template-columns:minmax(0,1fr)}}#forget-dialog{z-index:300;--pad-t:10px;--pad-x:16px;padding:var(--pad-t) var(--pad-x) 14px;width:max-content;min-width:200px;max-width:calc(100vw - 32px);box-sizing:border-box}#forget-dialog p{margin:0 0 10px;line-height:1.5}#forget-dialog b{color:#f6dc6a;font-weight:400}#forget-dialog .buttons{display:flex;justify-content:center;gap:12px}#context-menu{position:fixed;z-index:450;pointer-events:auto;box-sizing:border-box;max-width:calc(100vw - 8px);max-height:calc(100dvh - 8px);overflow:auto;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;font-size:12px}#context-menu .wtitle{margin:0;padding:0 4px;overflow:hidden;text-overflow:ellipsis}#context-menu .btn{display:block;width:100%;height:20px;min-height:20px;padding:0 5px;border-width:3px 7px;text-align:center;line-height:14px;font-family:inherit;font-size:12px;color:#f0f0f0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#context-menu .btn:hover:not(:disabled),#context-menu .btn:focus-visible{color:var(--gold, #f6dc6a)}#context-menu .btn:focus-visible{outline:1px solid var(--gold, #f6dc6a);outline-offset:-2px}#context-menu .btn.danger{color:#ffb5aa}#context-menu .btn:disabled{opacity:.45}@media(pointer:coarse){#context-menu .btn{height:30px;min-height:30px;line-height:24px}}.fashion-row .fashion-cell{position:relative}.btn.fashion-visibility,.btn.fashion-visibility:hover,.btn.fashion-visibility:active{position:absolute;top:1px;right:1px;z-index:6;display:block;width:16px;height:16px;min-width:0;min-height:0;padding:0;border:0;border-image:none;border-radius:0;background:none;box-shadow:none;line-height:1}.btn.fashion-visibility>img{display:block;position:static;width:100%;height:100%;object-fit:contain;image-rendering:pixelated;pointer-events:none}.btn.fashion-visibility:focus-visible{outline:1px solid var(--gold);outline-offset:1px}.fashion-side-toggle{position:absolute;top:50%;transform:translateY(-50%);width:17px;height:52px;min-width:0;min-height:0;padding:0;border:0;border-radius:0;background:url(/ui/inventory/fashion-toggle-0.png) no-repeat 0 0;image-rendering:pixelated;pointer-events:auto;z-index:2;cursor:url(/ui/cursors/default.cur),pointer}.fashion-side-toggle:hover{background-image:url(/ui/inventory/fashion-toggle-1.png)}.fashion-side-toggle:active{background-image:url(/ui/inventory/fashion-toggle-2.png)}.fashion-side-toggle:focus-visible{outline:1px solid var(--gold);outline-offset:1px}.confirm-dialog:has(.ex-ask){--pad-t: 6px;--pad-x: 10px;width:min(250px,calc(100vw - 32px));padding:var(--pad-t) var(--pad-x) 10px;font-size:12px}.confirm-dialog:has(.ex-ask) .confirm-message{margin:6px 0 8px;line-height:1.3}.confirm-dialog:has(.ex-ask) .buttons{gap:8px}.confirm-dialog:has(.ex-ask) .buttons .btn,.confirm-dialog:has(.ex-ask) .buttons button{min-height:24px;height:24px;padding:0 10px;font-size:12px}.ex-ask{display:flex;flex-direction:column;align-items:center;gap:6px}.ex-ways{display:flex;gap:4px}.ex-ways .btn{min-width:0;min-height:24px;height:24px;padding:0 8px;font-size:12px}.ex-ways .ex-way{display:inline-flex;align-items:center;justify-content:center;gap:4px}.ex-ways .ex-way .money-icon{width:16px;height:16px}.ex-sum{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:4px}.ex-sum{font-size:11px;opacity:.9}.ex-qty{display:flex;align-items:center;justify-content:center;gap:3px}.ex-qty input{width:110px;height:24px;box-sizing:border-box;padding:0 4px;text-align:center;font:inherit;color:#f0ecd8;background:var(--win-dark);border:1px solid #000;box-shadow:inset 0 0 0 1px var(--win-line-2)}.ex-qty .btn{min-width:0;min-height:24px;height:24px;padding:0 7px;font-size:12px}.wallet-bar{display:flex;flex-direction:column;gap:3px;box-sizing:border-box}.m-foot .m-foot-sort{margin-left:auto}.wallet-bar .wb-row{display:grid;grid-template-columns:1fr 1fr;gap:6px;align-items:center}.wallet-bar .wb-row .money{padding:0 6px;height:20px;justify-content:flex-start;background:var(--win-dark);border:1px solid var(--win-line-2);box-sizing:border-box}.wallet-bar .wb-row .money-ingot{border:0;background:transparent}.wallet-bar .wb-row .money b{flex:1;text-align:right}.wallet-bar .wb-row.wb-btns{display:flex;justify-content:space-between}.wallet-bar .wb-btns .btn{white-space:nowrap}.m-wallet{flex:none;padding:4px 8px;border-top:1px solid var(--win-line);background:#141414;font-size:13px}#rune-window{--rune-cell:44px;--rune-icon:38px;position:absolute;z-index:15;top:8%;left:50%;transform:translate(-50%);--gw-gap:0px;box-sizing:border-box;width:780px;max-width:calc(100vw - 20px);padding-inline:0;padding-bottom:0;color:#f0f0f0;background:var(--win-bg);border:1px solid var(--win-line);border-radius:0;box-shadow:0 0 0 1px #000a;font-size:11px;pointer-events:auto}html.touch-ui #rune-window{z-index:201!important}#rune-window>.wtitle{margin:0;padding:0 24px;cursor:move;touch-action:none}#rune-window>.close:after{inset:-4px}.rune-content{box-sizing:border-box;display:grid;grid-template-columns:repeat(2,calc(var(--rune-cell) * 5 + 8px)) minmax(0,1fr);grid-template-areas:"bag equipment details";gap:8px;padding:6px 8px;max-height:calc(100dvh - 120px);overflow:auto;overscroll-behavior:contain}.rune-inventory{grid-area:bag;display:flex;flex-direction:column;min-width:0}.rune-equipment{grid-area:equipment;display:flex;flex-direction:column;min-width:0}.rune-content h3{margin:0;font-size:11px;line-height:18px;font-weight:300;color:#c9c5b6}.rune-content .rune-column-title{display:flex;justify-content:space-between;align-items:center;height:21px;margin-bottom:3px;padding:0 3px}.rune-column-title small{font-size:10px;color:#a7a497}.rune-bag-grid,.rune-equipped-grid{display:grid;grid-template-columns:repeat(5,var(--rune-cell));gap:2px}.rune-equipment>section+section{margin-top:8px}.rune-equipment>section>h3{display:table;margin-bottom:3px;padding:0 8px;background:var(--win-dark);border:1px solid var(--win-line-2);color:#f0ecd8}#rune-window .cell{position:relative;box-sizing:border-box;width:var(--rune-cell);height:var(--rune-cell);min-width:0;min-height:0;padding:0;border:0;border-radius:0;color:inherit;background:var(--win-dark) url(/ui/inventory/equip/bag-cell.png) center/100% 100% no-repeat;cursor:url(/ui/cursors/default.cur),pointer}#rune-window .cell .icon{position:absolute;left:3px;top:3px;width:var(--rune-icon);height:var(--rune-icon);pointer-events:none}#rune-window .cell .count{position:absolute;bottom:1px;right:3px;color:#fff;font-size:10px;text-shadow:0 0 2px #000;pointer-events:none}#rune-window .cell.selected{box-shadow:inset 0 0 0 2px #f6dc6a}#rune-window .cell.locked{opacity:.35}#rune-window .cell:disabled{cursor:default}.rune-grade{position:absolute;top:2px;left:3px;font-size:10px;line-height:12px;color:#f6edb0;text-shadow:0 1px 2px #000;pointer-events:none}.rune-pages{display:flex;align-items:center;gap:3px;margin-top:auto;padding-top:6px}.rune-pages .btn{min-width:23px;height:22px;min-height:0;padding:0 4px;font-size:11px}.rune-pages .btn:last-child{margin-left:auto;padding:0 7px}.rune-presets{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;margin-top:auto;padding-top:7px}.rune-presets>div{display:flex;flex-direction:column;gap:3px;text-align:center}.rune-presets b{height:19px;line-height:19px;color:#f6dc6a;font-size:16px;font-weight:400}.rune-presets .btn{width:100%;min-width:0;height:22px;min-height:22px;padding:0 3px;font-size:11px;white-space:nowrap}.rune-presets .btn span{color:#f6dc6a;font-size:16px;line-height:12px;vertical-align:middle}.rune-details{grid-area:details;display:flex;flex-direction:column;min-width:0;min-height:0;padding:8px;background:var(--win-dark);border:1px solid var(--win-line-2)}.rune-detail-content{flex:1;min-height:0;overflow:auto}.rune-totals{padding:8px 2px 12px}.rune-totals p{margin:0 0 12px;color:#78c2e8;font-size:12px;line-height:1.5}.rune-hint{color:#a7a497;font-size:11px;line-height:1.5;margin:6px 0}.rune-selected{display:flex;flex-direction:column;gap:5px;margin:8px 0;padding:8px;background:var(--win-bg);border:1px solid var(--win-line-2)}.rune-selected strong{color:#f6dc6a;font-weight:400}.rune-selected span{color:#9edbb3}.rune-tabs{display:flex;gap:3px;margin-top:8px}.rune-tabs .btn{flex:1;min-width:0;padding:2px 3px;font-size:11px}.rune-forge p{margin:8px 0}.rune-forge label{display:flex;flex-direction:column;gap:5px}.rune-forge select{box-sizing:border-box;width:100%;min-width:0;font:inherit}.rune-forge>button{width:100%;margin-top:8px}.rune-footer{box-sizing:border-box;min-height:22px;padding:3px 8px;border-top:1px solid var(--win-line-2);background:var(--win-dark);color:#b9b4a0;font-size:10px;line-height:15px}#rune-window .short{color:#ff9d96}@media(max-width:820px){#rune-window{top:8px}.rune-content{max-height:calc(100dvh - 66px)}}@media(max-width:680px){#rune-window{--rune-cell:36px;--rune-icon:30px}}@media(max-height:560px){#rune-window{--rune-cell:clamp(26px, calc((100dvh - 150px)/8) ,32px);--rune-icon:calc(var(--rune-cell) - 6px);top:8px;width:600px;max-width:calc(100vw - 16px)}.rune-content{gap:6px;padding:5px 6px;max-height:calc(100dvh - 64px)}.rune-content .rune-column-title{font-size:10px;height:18px}.rune-column-title small{font-size:9px}.rune-equipment>section+section{margin-top:5px}.rune-equipment>section>h3{line-height:14px;margin-bottom:2px}.rune-presets{padding-top:4px;gap:3px}.rune-presets b{height:16px;line-height:16px;font-size:14px}.rune-presets .btn{height:20px;min-height:20px;font-size:10px}.rune-presets .btn span{display:none}.rune-pages .btn{flex-shrink:0;width:21px;min-width:0;padding:0;border-width:3px 5px;white-space:nowrap}.rune-pages .btn:last-child{flex:1;width:auto;padding:0 3px}.rune-details{padding:6px}}html.touch-ui #rune-window.rune-mobile{--rune-cell:44px;--rune-icon:38px;position:fixed;inset:0;margin:auto;transform:none;width:calc(min(620px,76vw) / var(--m-zoom, .85));max-width:none;height:calc(min(300px,74vh) / var(--m-zoom, .85));zoom:var(--m-zoom, .85);display:flex;flex-direction:column;font-size:13px}#rune-window.rune-mobile{--title-h:26px}#rune-window.rune-mobile>.wtitle{flex-shrink:0;font-size:15px;cursor:default}#rune-window.rune-mobile>.close{top:0;width:24px;height:26px}#rune-window.rune-mobile>.close:after{inset:0}.rune-mobile-nav{display:flex;gap:4px;padding:4px 8px}.rune-mobile-nav .btn{flex:1}#rune-window.rune-mobile .btn{min-height:0;height:22px;min-width:0;font-size:11px;line-height:1;padding:0 5px;white-space:nowrap}#rune-window.rune-mobile .rune-content{flex:1;min-height:0;max-height:none;overflow:hidden;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-areas:"collection details";gap:8px;padding:4px 8px 8px}.rune-mobile .rune-inventory,.rune-mobile .rune-equipment{grid-area:collection;min-height:0;overflow:auto;overscroll-behavior:contain;touch-action:pan-y}.rune-mobile-bag .rune-equipment,.rune-mobile-equipment .rune-inventory,.rune-mobile-totals .rune-equipment,.rune-mobile-totals .rune-inventory,.rune-mobile-totals .rune-details{display:none}.rune-mobile .rune-mobile-totals{grid-column:1 / -1;overflow:auto}.rune-mobile .rune-bag-grid,.rune-mobile .rune-equipped-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:5px}#rune-window.rune-mobile .cell{width:100%;height:48px;touch-action:pan-y}#rune-window.rune-mobile .cell .icon{left:50%;top:50%;max-width:calc(100% - 6px);object-fit:contain;transform:translate(-50%,-50%)}.rune-mobile .rune-pages{position:sticky;bottom:0;background:var(--win-bg);padding:6px 0;margin-top:6px;gap:5px}#rune-window.rune-mobile .rune-pages .btn{width:auto;flex:0 0 auto}#rune-window.rune-mobile .rune-pages .btn:last-child{margin-left:auto}.rune-mobile .rune-details{padding:8px}.rune-mobile .rune-detail-content{overflow:auto;overscroll-behavior:contain}.rune-mobile .rune-tabs{order:-1;margin:0 0 8px}.rune-mobile .rune-hint,.rune-mobile .rune-totals p{font-size:13px}#rune-window.rune-mobile .rune-column-title{height:auto;min-height:26px;font-size:13px}.rune-mobile .rune-column-title small{font-size:11px}.rune-mobile .rune-presets{margin-top:8px}.rune-mobile .rune-forge select{min-height:30px;font-size:16px}.rune-mobile .rune-footer{flex-shrink:0;font-size:11px}.rune-mobile .rune-selected{overflow-wrap:anywhere}@media(orientation:portrait){html.touch-ui #rune-window.rune-mobile{width:calc(min(620px,92vw) / var(--m-zoom, .85));height:calc(min(700px,90vh) / var(--m-zoom, .85))}#rune-window.rune-mobile .rune-content{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) minmax(0,.9fr);grid-template-areas:"collection" "details"}#rune-window.rune-mobile.rune-mobile-totals .rune-content{grid-template-rows:1fr}.rune-mobile .rune-mobile-totals{grid-row:1 / -1}}.enhance-body .eh-main{display:flex;gap:6px;margin-top:6px}.enhance-body .eh-left{flex:1;min-width:0;padding:6px 8px 8px;background:radial-gradient(ellipse at 50% 25%,#2a3346,#141820 70%);border:1px solid #000;box-shadow:inset 0 0 0 1px var(--win-line-2)}.enhance-body .eh-title{text-align:center;color:#ff5a4a;font-size:13px;font-weight:500;text-shadow:0 1px 2px #000;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.enhance-body .eh-lbl{color:#f6dc6a;font-size:12px;text-shadow:0 1px 1px #000}.enhance-body .eh-flow{position:relative;flex:none;width:230px;height:150px;margin:8px auto 4px}.enhance-body .eh-flow .eh-lines{position:absolute;left:0;top:0;width:230px;height:150px;pointer-events:none}.enhance-body .eh-flow .eh-lbl{position:absolute;left:0;width:48px}.enhance-body .eh-flow .eh-lbl.at-src{top:14px}.enhance-body .eh-flow .eh-lbl.at-dst{top:116px}.enhance-body .eh-flow .cell{position:absolute;left:52px}.enhance-body .eh-flow .cell.src{top:2px}.enhance-body .eh-flow .cell.dst{top:104px}.enhance-body .eh-flow .eh-from{position:absolute;left:112px;top:0}.enhance-body .eh-flow .eh-ring{position:absolute;left:156px;top:47px}.enhance-body .cell{flex:none;position:relative;width:44px;height:44px;padding:0;border:0;background:var(--win-dark) url(/ui/inventory/equip/bag-cell.png) center / 100% 100% no-repeat}.enhance-body .cell .item-pic{position:absolute;left:2px;top:2px;width:40px;height:40px;background:center / contain no-repeat}.enhance-body .cell.src{box-shadow:0 0 0 2px #39d353,0 0 8px #39d35388}.enhance-body .cell.dst{box-shadow:0 0 0 2px #38c6e8,0 0 8px #38c6e888}.enhance-body .eh-from{color:#6adf8a;font-size:16px;font-weight:600;text-shadow:0 1px 2px #000}.enhance-body .eh-ring{width:56px;height:56px;box-sizing:border-box;display:grid;place-items:center;border-radius:50%;border:3px solid;border-color:#39d353 #39d353 #38c6e8 #38c6e8;transform:rotate(-45deg);background:#10202a;box-shadow:0 -4px 10px -4px #39d35388,0 4px 10px -4px #38c6e888}.enhance-body .eh-ring b{transform:rotate(45deg);color:#fff;font-size:18px;font-weight:600;text-shadow:0 0 4px #38c6e8}.enhance-body .eh-row{display:flex;align-items:center;gap:8px}.enhance-body .eh-flow-m{display:flex;align-items:center;justify-content:center;gap:10px;margin:10px 0 6px}.enhance-body .eh-flow-m .cell{width:56px;height:56px}.enhance-body .eh-flow-m .cell .item-pic{width:52px;height:52px}.enhance-body .eh-arrow-m{display:flex;flex-direction:column;align-items:center;gap:2px}.enhance-body .eh-arrow-m svg{width:64px;height:14px}.enhance-body .eh-arrow-m .from{color:#6adf8a;font-weight:600}.enhance-body .eh-arrow-m .to{color:#fff;font-size:18px;font-weight:600;text-shadow:0 0 4px #38c6e8}.enhance-body .eh-chance{display:flex;align-items:baseline;justify-content:space-between;margin-top:6px;border-top:1px solid #ffffff14;padding-top:6px}.enhance-body .eh-chance .pct{color:#fff;font-size:30px;font-weight:600;line-height:1;font-variant-numeric:tabular-nums;text-shadow:0 2px 2px #000}.enhance-body .eh-chance .pct small{font-size:16px}.enhance-body .eh-bar{position:relative;height:8px;margin:6px 0;background:#000;border:1px solid var(--win-line-2)}.enhance-body .eh-bar i{position:absolute;inset:0 auto 0 0;background:linear-gradient(#5fe36f,#1fa23a);transition:width .2s}.enhance-body .eh-gold{display:flex;align-items:center;justify-content:flex-end;gap:8px;padding:2px 6px;color:#fff;background:#0006;border:1px solid var(--win-line-2);font-variant-numeric:tabular-nums}.enhance-body .eh-gold .coin{color:#cfc8a8;margin-right:auto}.enhance-body .eh-gold.short,.enhance-body .eh-need.short b{color:#ff8a80}.enhance-body .eh-need{display:flex;align-items:center;gap:6px;margin-top:4px;padding:2px 6px;background:#0006;border:1px solid var(--win-line-2)}.enhance-body .eh-need .npic,.enhance-body .eh-protect .ppic{flex:none;position:relative;width:24px;height:24px}.enhance-body .eh-need .npic .item-pic,.enhance-body .eh-protect .ppic .item-pic,.enhance-body .booster .bpic .item-pic{position:absolute;inset:0;width:100%;height:100%;background:center / contain no-repeat}.enhance-body .eh-need .nm{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#cfc8a8}.enhance-body .eh-need b{font-weight:400;color:var(--gold);font-variant-numeric:tabular-nums}.enhance-body .eh-protect{display:flex;align-items:center;gap:6px;width:100%;margin-top:6px;padding:3px 6px;font:inherit;color:#38c6e8;text-align:left;background:#0006;border:1px dashed #38c6e888;border-radius:0;cursor:url(/ui/cursors/default.cur),pointer}.enhance-body .eh-protect.on{border-style:solid;border-color:#38c6e8;color:#bfefff}.enhance-body .eh-protect:disabled{cursor:url(/ui/cursors/default.cur),default;opacity:.6}.enhance-body .eh-protect .nm{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.enhance-body .eh-boosters{flex:none;width:78px;display:flex;flex-direction:column;gap:6px}.enhance-body .booster{display:grid;grid-template-columns:40px 1fr;grid-template-rows:auto auto auto;gap:2px 4px;padding:4px;background:#0006;border:1px solid var(--win-line-2)}.enhance-body .booster.on{border-color:#f6dc6a}.enhance-body .booster.none{opacity:.45}.enhance-body .booster .bpic{position:relative;width:40px;height:40px;grid-row:1 / 3;background:var(--win-dark);border:1px solid #000}.enhance-body .booster .bct{position:absolute;left:0;right:0;bottom:1px;text-align:center;font-size:11px;color:#fff;text-shadow:0 0 2px #000,0 0 2px #000}.enhance-body .booster .bbtn{display:flex;flex-direction:column;gap:2px;grid-row:1 / 3}.enhance-body .booster .pm{width:22px;height:19px;min-height:0;padding:0;font-size:14px;line-height:1}.enhance-body .booster .max{grid-column:1 / 3;height:16px;min-height:0;padding:0;font-size:10px;font-weight:600;line-height:1}.enhance-body .booster button:disabled{opacity:.4;cursor:url(/ui/cursors/default.cur),default}.enhance-body .booster .bhave{grid-column:1 / 3;text-align:center;font-size:10px;color:#9a9a8a}.enhance-body .eh-hint{padding:8px 4px;text-align:center;color:#cfc8a8;opacity:.85;line-height:1.4}.enhance-body .eh-mend{margin-top:6px}.enhance-body .eh-mend .eh-note{flex:1;min-width:0;line-height:1.35}.enhance-body .bad{color:#ff8a80;font-size:11px;margin-bottom:4px}.enhance-body .eh-risk{margin-top:6px;text-align:center;font-size:11px;color:#cfc8a8}.enhance-body .result{margin-top:6px;padding:4px;text-align:center;font-size:15px;font-weight:600;text-shadow:0 0 3px #000;animation:enhance-pop .3s ease-out}.enhance-body .result.up{color:#6adf8a}.enhance-body .result.stay{color:#cfc8a8}.enhance-body .result.down{color:#ffd166}@keyframes enhance-pop{0%{transform:scale(.7);opacity:0}}@media(prefers-reduced-motion:reduce){.enhance-body .result{animation:none}.enhance-body .eh-bar i{transition:none}}.enhance-body .foot{display:flex;gap:8px;margin-top:8px}.m-enhance .enhance-body .eh-main{flex-direction:column}.m-full .m-enhance .enhance-body .foot .btn{min-height:28px;height:28px;font-size:13px}.cell.no-enhance{opacity:.35;filter:grayscale(.6)}.enhance-body .eh-rare{margin-top:6px;padding:8px;border:1px solid #000;background:radial-gradient(ellipse at 50% 30%,#2e2440,#141218 70%);box-shadow:inset 0 0 0 1px #4a3a64}.enhance-body .eh-rare-row{display:flex;align-items:center;justify-content:center;gap:14px;margin:10px 0 6px}.enhance-body .eh-rare-slot{display:flex;flex-direction:column;align-items:center;gap:4px}.enhance-body .eh-plus{color:#f6dc6a;font-size:22px;font-weight:600;text-shadow:0 1px 2px #000}.enhance-body .eh-rare .eh-title{color:#c9a0ff}.enhance-body .eh-rare .cell.src{box-shadow:0 0 0 2px #a070ff,0 0 8px #a070ff88}.m-enhance .enhance-body .eh-left{background:#161a22}.m-enhance .enhance-body .eh-boosters{width:auto;flex-direction:column;gap:4px}.m-enhance .enhance-body .booster{display:flex;align-items:center;gap:8px;padding:4px 6px}.m-enhance .enhance-body .booster .bpic{width:36px;height:36px;flex:none}.m-enhance .enhance-body .booster .bhave{flex:1;text-align:left;font-size:12px;color:#cfc8a8;order:1}.m-enhance .enhance-body .booster .bbtn{flex-direction:row;gap:4px;order:2}.m-enhance .enhance-body .booster .bbtn .pm:first-child{order:2}.m-enhance .enhance-body .booster .pm{width:30px;height:28px;font-size:16px}.m-enhance .enhance-body .booster .max{order:3;height:28px;padding:0 10px;font-size:11px}.m-enhance .enhance-body .eh-chance .pct{font-size:26px}.enhance-body .eh-ring{position:relative}.enhance-body.forging .eh-ring:after{content:"";position:absolute;inset:-9px;border-radius:50%;border:2px dashed #f6dc6a;animation:eh-halo .9s linear infinite}.enhance-body.forging .eh-ring{animation:eh-beat .5s ease-in-out infinite alternate}.enhance-body.forging .eh-ring b{animation:eh-num .5s ease-in-out infinite alternate}.enhance-body.forging .cell.src{animation:eh-glow .5s ease-in-out infinite alternate}.enhance-body.forging .eh-lines path[fill=none]{stroke-dasharray:8 6;animation:eh-run .5s linear infinite}.enhance-body.forging .eh-arrow-m svg{animation:eh-nudge .4s ease-in-out infinite alternate}.enhance-body.forging .eh-arrow-m .to{animation:eh-num .5s ease-in-out infinite alternate}.enhance-body.forging .eh-boosters,.enhance-body.forging .eh-protect{pointer-events:none;opacity:.7}.enhance-body .eh-forge{position:relative;height:18px;margin-top:6px;background:#000;border:1px solid #8a6d2a;overflow:hidden}.enhance-body .eh-forge i{position:absolute;inset:0 auto 0 0;width:0;background:linear-gradient(90deg,#8a6d2a,#f6dc6a,#fff4b0);animation:eh-fill var(--forge-ms, 2.5s) linear forwards}.enhance-body .eh-forge span{position:relative;display:block;text-align:center;line-height:16px;font-size:11px;color:#fff;text-shadow:0 0 2px #000,0 0 2px #000}@keyframes eh-halo{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes eh-beat{0%{transform:rotate(-45deg) scale(1);box-shadow:0 0 8px #f6dc6a55}to{transform:rotate(-45deg) scale(1.08);box-shadow:0 0 18px #f6dc6aaa}}@keyframes eh-num{0%{transform:rotate(45deg) scale(1)}to{transform:rotate(45deg) scale(1.15);color:#fff4b0}}@keyframes eh-glow{0%{box-shadow:0 0 0 2px #39d353,0 0 6px #39d35366}to{box-shadow:0 0 0 2px #b6ffb0,0 0 16px #39d353}}@keyframes eh-run{to{stroke-dashoffset:-14}}@keyframes eh-nudge{0%{transform:translate(-3px)}to{transform:translate(3px)}}@keyframes eh-fill{to{width:100%}}.enhance-body.forging .eh-arrow-m .to{animation-name:eh-num-m}@keyframes eh-num-m{0%{transform:scale(1)}to{transform:scale(1.2);color:#fff4b0}}@media(prefers-reduced-motion:reduce){.enhance-body.forging .eh-ring,.enhance-body.forging .eh-ring b,.enhance-body.forging .eh-ring:after,.enhance-body.forging .cell.src,.enhance-body.forging .eh-lines path,.enhance-body.forging .eh-arrow-m svg,.enhance-body.forging .eh-arrow-m .to{animation:none}}.enhance-body .booster.stone .stag{grid-row:1 / 3;align-self:center;font-size:10px;line-height:1.2;color:#38c6e8}.enhance-body .booster.stone.on{border-color:#38c6e8}.m-enhance .enhance-body .booster.stone .stag{order:1;font-size:12px}.item-work-window.own{pointer-events:auto;position:absolute;z-index:6;left:50%;top:76px;transform:translate(-50%);width:360px;max-width:calc(100vw - 16px);box-sizing:border-box;padding:calc(var(--title-h) + 2px) 8px 8px;background:var(--win-bg);border:1px solid var(--win-line);font-size:12px}.item-work-window>.close{z-index:1}.item-work-window>.enhance-body{max-height:calc(100dvh - 122px);overflow-y:auto}.step-enhance{font-size:12px}#enhance-window .step-enhance{max-height:calc(100vh - 164px);overflow-y:auto}.step-ref-board{display:grid;grid-template-columns:minmax(0,1fr) 78px;height:390px;margin-top:6px;border:1px solid var(--win-line);background:#0b141c}.step-ref-left{display:grid;grid-template-rows:26px 176px 68px 28px minmax(0,1fr);min-width:0;border-right:1px solid var(--win-line)}.step-ref-title{display:flex;align-items:center;justify-content:center;min-width:0;padding:0 5px;background:linear-gradient(#293c4e,#142331);color:#3cd9d2;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-shadow:0 1px 2px #000}.step-flow-pane{position:relative;background:radial-gradient(ellipse at 50% 50%,#122330,#050b12 80%);border-top:1px solid #02080d}.step-flow-pane .eh-flow{margin-top:6px;margin-bottom:0}.step-enhance .step-ref-status{position:absolute;bottom:2px;left:4px;right:4px;text-align:center;font-size:10px;line-height:12px;color:#b9b4a0}.step-ref-chance{position:relative;padding:3px 8px 13px;background:linear-gradient(#203c50,#142b40);border-top:1px solid var(--win-line)}.step-ref-chance>span{position:absolute;left:8px;top:4px;color:#59eb6d;font-size:12px}.step-ref-chance>b{display:flex;align-items:baseline;justify-content:flex-end;height:43px;margin-top:2px;color:#fff;font-size:40px;font-weight:400;line-height:1;font-variant-numeric:tabular-nums;text-shadow:0 1px 3px #000}.step-ref-chance>b>small{font-size:23px}.step-enhance .step-ref-chance .eh-bar{position:absolute;left:8px;right:8px;bottom:5px;height:8px;margin:0;border-color:#0a1721}.step-ref-money{display:flex;align-items:center;justify-content:flex-end;padding:0 9px;background:#263d50;border-top:1px solid #53687b;border-bottom:1px solid #09121b}.step-ref-money .money{color:#fff;font-size:13px}.step-ref-money .money img{width:18px;height:18px}.step-ref-money.short .money{color:#ff8a80}.step-ref-protection{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;background:linear-gradient(#1d3447,#102334)}.step-ref-protection>span{color:#eddb78;font-size:12px}.step-enhance .step-protect-slot.btn{width:46px;height:46px;min-width:0;min-height:0;padding:0;border:0;background:none;border-image:none;box-shadow:none}.step-enhance .step-protect-slot:disabled{opacity:1}.step-enhance .step-protect-slot .cell{display:block;width:44px;height:44px}.step-ref-stones{display:grid;grid-template-rows:repeat(4,minmax(0,1fr));align-items:center;justify-items:center;background:linear-gradient(90deg,#233747,#314557)}.step-enhance .step-ref-stones .step-tier{width:68px;box-sizing:border-box;grid-template-columns:44px minmax(0,1fr);grid-template-rows:20px 20px 16px;padding:0;gap:2px 3px;border:0;background:none}.step-enhance .step-tier .bpic{width:44px;height:44px;box-sizing:border-box;background:#101c25;border:1px solid #030a10;box-shadow:0 0 0 1px #61718255}.step-enhance .step-tier .bpic .icon{display:block;width:100%;height:100%;object-fit:contain}.step-enhance .step-tier .bbtn{gap:2px}.step-enhance .step-tier .pm{width:100%;height:20px;min-width:0;font-size:15px}.step-enhance .step-tier .max{grid-column:1;width:44px;color:#6ae7ff}.step-enhance .step-tier.on .bpic{box-shadow:0 0 0 1px var(--gold)}.step-enhance .step-tier.none .bpic .icon{filter:grayscale(1)}.step-ref-risk{min-height:28px;margin-top:8px;text-align:left;font-size:11px;color:#deded9}.step-ref-red{display:flex;align-items:center;gap:6px;min-height:34px;color:#eee;font-size:11px;line-height:1.35;cursor:pointer}.step-ref-red>input{flex:none;margin:0}.step-ref-red small{font-size:inherit}.step-enhance .foot .btn{min-height:30px;height:30px;font-size:14px}.bond-target-backdrop{position:fixed;inset:0;z-index:250;display:flex;align-items:center;justify-content:center;pointer-events:auto;background:#0007}.panel.bond-target-picker{position:relative;box-sizing:border-box;width:320px;max-width:calc(100vw - 24px);--pad-t:0px;--pad-x:0px;padding:var(--pad-t) var(--pad-x) 0;color:#eee}.bond-target-picker>.wtitle{margin-bottom:0;padding:0 24px}.bond-target-picker>.close{z-index:2}.bond-target-list{overflow:auto;max-height:min(360px,calc(100dvh - 64px));padding:6px}.bond-target-list>button{display:flex;gap:8px;align-items:center;width:100%;padding:4px;border:0;border-bottom:1px solid var(--win-line);background:transparent;color:inherit;font:inherit;text-align:left;cursor:pointer}.bond-target-list .cell{position:relative;flex:none;width:44px;height:44px;background:url(/ui/inventory/equip/bag-cell.png) center/100% 100% no-repeat}.bond-target-list .item-pic{position:absolute;inset:2px;width:40px;height:40px;background:center/contain no-repeat}.bond-target-list small{display:block;font-size:10px;color:#b6c9dc}#equipment-bond-window{position:fixed;left:calc(50% - 126px);top:60px;box-sizing:border-box;--gw-gap:0px;width:252px;height:389px;padding-inline:0;padding-bottom:0;z-index:150;pointer-events:auto;color:#dfdbc8;background:var(--win-bg);border-radius:0;font-size:11px}#equipment-bond-window>.wtitle{margin:0;padding:0 24px;cursor:move;touch-action:none}.bond-content{position:absolute;inset:20px 0 38px}.bond-item-name{position:absolute;top:5px;left:12px;right:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:center;color:#e7d393}.bond-target{position:absolute;top:30px;left:103px}#equipment-bond-window .cell,.bond-picker .cell{flex-shrink:0;position:relative;display:block;box-sizing:border-box;width:44px;height:44px;padding:0;border:0;background:url(/ui/inventory/equip/bag-cell.png) center/100% 100% no-repeat;cursor:pointer}#equipment-bond-window .cell .icon,.bond-picker .cell .icon{position:absolute;left:3px;top:3px;width:38px;height:38px;pointer-events:none}#equipment-bond-window .cell .count,.bond-picker .cell .count{position:absolute;bottom:1px;right:3px;color:#fff;text-shadow:0 1px 2px #000;pointer-events:none}.bond-level{position:absolute;top:88px;left:12px;right:12px;line-height:16px;display:flex;justify-content:space-between;align-items:center;gap:4px}.bond-progress{position:absolute;top:106px;left:12px;width:224px;height:21px;box-sizing:border-box;overflow:hidden;background:#17242d;border:1px solid #4b5e62;text-align:center}.bond-progress i{position:absolute;inset:0 auto 0 0}.bond-progress .bond-current-fill{background:linear-gradient(#fbbd4d,#a4600d)}.bond-progress .bond-preview-fill{background:linear-gradient(#7dba75,#42733c)}.bond-progress span{position:relative;line-height:19px;text-shadow:0 1px 2px #000}.bond-material-grid{position:absolute;left:10px;top:140px;display:grid;grid-template-columns:repeat(5,44px);gap:1px}.bond-material-grid .cell.drop-hover{box-shadow:inset 0 0 0 2px #efcf64}.bond-preview{position:absolute;top:233px;left:12px;right:12px;text-align:center;color:#e6d79b;line-height:16px}.bond-preview small{display:block;font-size:10px}.bond-warning{color:#ffac87}.bond-slot-label{display:block;color:#f4df72;font-size:10.5px;line-height:14px;text-align:center;white-space:nowrap}.bond-limit{position:absolute;left:99px;top:43px;width:44px;text-align:center}.bond-unlock-message{padding-bottom:2px;color:#dfdbc8;font-size:10.5px;line-height:14px;overflow-wrap:anywhere;white-space:pre-wrap}.bond-unlock-message>span,.bond-unlock-message>small{display:block;font:inherit}.bond-unlock-message.bond-warning{color:#ffac87}.bond-retry{display:inline-block;border:0;background:none;padding:0;color:#e4cb87;text-decoration:underline;font:inherit;cursor:pointer}.bond-retry:disabled{opacity:.5}#equipment-bond-window footer{position:absolute;bottom:9px;left:54px;display:flex;align-items:center;gap:28px}#equipment-bond-window footer .btn{box-sizing:border-box;width:56px;min-width:0;height:20px;min-height:20px;padding:0;font-size:10.5px}.bond-retry{position:absolute;bottom:36px;left:0;right:0;margin:auto}.bond-picker-backdrop{position:fixed;inset:0;z-index:250;display:flex;align-items:center;justify-content:center;pointer-events:auto;background:#0007}.bond-picker{position:relative;box-sizing:border-box;width:310px;max-width:calc(100vw - 16px);--gw-gap:10px;max-height:calc(100dvh - 16px);padding-inline:10px;padding-bottom:10px;color:#dfdbc8;font-size:11px;display:flex;flex-direction:column;gap:8px}.bond-picker>.wtitle{padding:0 25px}.bond-picker>.close{background:none;color:#ddd}.bond-candidates{overflow:auto;min-height:0;max-height:260px}.bond-candidate{display:flex;align-items:center;gap:8px;width:100%;padding:4px 0;border:0;border-bottom:1px solid #3c4b50;background:transparent;color:inherit;text-align:left;font:inherit;cursor:pointer}.bond-candidate:disabled{opacity:.4}.bond-candidate small{display:block;color:#a9c5d4}.bond-material-edit{padding-bottom:6px;border-bottom:1px solid #445258}.bond-material-edit>span{display:block;color:#e6d79b;margin-bottom:5px}.bond-material-edit label{display:inline-flex;align-items:center;gap:6px;margin-right:10px}.bond-material-edit input{width:50px;font:inherit}.bond-picker>.btn{flex-shrink:0;align-self:center}@media(max-height:460px){#equipment-bond-window{top:4px;height:min(389px,calc(100dvh - 8px))}.bond-content{bottom:38px}}@media(max-height:370px){#equipment-bond-window{transform:scale(.8);transform-origin:top center;height:389px}}#equipment-bond-window.bond-mode-break{display:flex;flex-direction:column;height:auto;min-height:210px;transform:none}#equipment-bond-window.bond-mode-break>.wtitle{flex-shrink:0}#equipment-bond-window.bond-mode-break .bond-content{position:relative;inset:auto;flex:1;padding:106px 7px 8px}#equipment-bond-window.bond-mode-break .bond-target{top:8px;left:8px;width:44px}#equipment-bond-window.bond-mode-break footer{position:static;order:2;flex-shrink:0;align-self:center;margin:0 0 5px;gap:26px}#equipment-bond-window.bond-mode-break .bond-retry{position:static;order:1;align-self:center;margin:0 0 6px}#inventory-window{width:251px;height:472px;right:calc(var(--slot-size) + var(--tab-width) + 28px + 263px)}#bag-scroll{position:absolute;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;touch-action:pan-y;scrollbar-width:none}#bag-scroll::-webkit-scrollbar{display:none}#bag-bar{position:absolute;background:#141414;box-shadow:inset 1px 0 #000,inset -1px 0 0 var(--win-line-2)}#bag-bar>i{position:absolute;left:0;right:0;box-sizing:border-box;border:5px solid transparent;border-image:url(/ui/controls/scrollbar-thumb.png) 5 fill stretch;image-rendering:pixelated;pointer-events:none}#bag-bar>button{position:absolute;left:0;width:13px;height:13px;min-width:0;min-height:0;padding:0;border:0;border-radius:0;background:no-repeat center / 13px 13px;image-rendering:pixelated;cursor:url(/ui/cursors/default.cur),pointer}#bag-bar>.up{top:0;background-image:url(/ui/controls/dropdown-over-1.png)}#bag-bar>.up:active{background-image:url(/ui/controls/dropdown-press-1.png)}#bag-bar>.down{bottom:0;background-image:url(/ui/controls/dropdown-over-0.png)}#bag-bar>.down:active{background-image:url(/ui/controls/dropdown-press-0.png)}#bag-grid{display:grid;grid-template-columns:repeat(5,46px);grid-auto-rows:46px;width:230px}#bag-grid .cell{position:relative;width:44px;height:44px}#bag-grid .cell{border:0;background:var(--win-dark) url(/ui/inventory/equip/bag-cell.png) center / 100% 100% no-repeat}#inventory-window.own{image-rendering:auto}#inventory-window.own .cell.equip{border:0;background:transparent center / 100% 100% no-repeat;box-shadow:inset 0 0 0 1px var(--win-line-2)}#inventory-window.own #equip-hat:not(.worn){background-image:url(/ui/inventory/equip/hat.png)}#inventory-window.own #equip-weapon:not(.worn){background-image:url(/ui/inventory/equip/weapon.png)}#inventory-window.own #equip-clothes:not(.worn){background-image:url(/ui/inventory/equip/armor.png)}#inventory-window.own #equip-boots:not(.worn){background-image:url(/ui/inventory/equip/boots.png)}#inventory-window.own #equip-ring:not(.worn){background-image:url(/ui/inventory/equip/ring.png)}#inventory-window.own #equip-bracelet:not(.worn){background-image:url(/ui/inventory/equip/armguard.png)}#inventory-window.own #equip-cape:not(.worn){background-image:url(/ui/inventory/equip/cape.png)}#inventory-window.own #equip-necklace:not(.worn){background-image:url(/ui/inventory/equip/necklace.png)}#inventory-window.own #equip-ring2:not(.worn){background-image:url(/ui/inventory/equip/ring2.png)}#inventory-window.own #equip-belt:not(.worn){background-image:url(/ui/inventory/equip/belt.png)}#inventory-window.own .cell.equip.worn{background-image:url(/ui/inventory/equip/blank.png)}#inventory-window.own #equip-earring:not(.worn){background-image:url(/ui/inventory/equip/earring1.png)}#inventory-window.own #equip-earring2:not(.worn){background-image:url(/ui/inventory/equip/earring2.png)}#inventory-window.own #equip-wristlet:not(.worn){background-image:url(/ui/inventory/equip/bracelet.png)}#inventory-window.own .cell.equip .item-pic{left:2px;top:2px}#inventory-window.own .l:not(.gold){color:#b9b4a0}#mall-toggle{position:absolute;left:calc(100% + 2px);top:50%;transform:translateY(-50%);width:17px;height:52px;min-width:0;min-height:0;padding:0;border:0;border-radius:0;background:url(/ui/inventory/mall-open-0.png) no-repeat 0 0;image-rendering:pixelated;pointer-events:auto;z-index:1;cursor:url(/ui/cursors/default.cur),pointer}#mall-toggle:hover{background-image:url(/ui/inventory/mall-open-1.png)}#mall-toggle:active{background-image:url(/ui/inventory/mall-open-2.png)}#mall-toggle.open{left:calc(100% + 248px);background-image:url(/ui/inventory/mall-close-0.png)}#mall-toggle.open:hover{background-image:url(/ui/inventory/mall-close-1.png)}#mall-toggle.open:active{background-image:url(/ui/inventory/mall-close-2.png)}#mall-pocket{position:absolute;left:calc(100% + 2px);top:-1px;width:246px;height:auto;display:flex;flex-direction:column;box-sizing:border-box;--pad-t: 0px;--pad-x: 8px;padding:var(--pad-t) var(--pad-x) 8px;pointer-events:auto;background:var(--win-bg);border:1px solid var(--win-line);box-shadow:0 0 0 1px #000a}#mall-grid{flex:none;display:grid;grid-template-columns:repeat(5,46px);grid-auto-rows:46px;align-content:start;width:230px;overflow-y:auto}#mall-grid .cell{position:relative;width:44px;height:44px;border:0;background:var(--win-dark) url(/ui/inventory/equip/bag-cell.png) center / 100% 100% no-repeat}#inventory-window.own #mall-grid .cell.active-mall-pet{background-image:url(/ui/item/cell-selected.png);background-size:100% 100%}#inventory-window{--fashion-pocket-width: 166px;--fashion-pocket-height: 218px}#fashion-toggle{right:calc(100% + 2px)}#fashion-toggle.open{right:calc(100% + 2px + var(--fashion-pocket-width));top:calc(var(--fashion-pocket-height) / 2 - 1px)}#fashion-pocket{position:absolute;right:calc(100% + 2px);top:-1px;width:var(--fashion-pocket-width);height:var(--fashion-pocket-height);box-sizing:border-box;--pad-t:0px;--pad-x:0px;padding:var(--pad-t) var(--pad-x) 0;pointer-events:auto;background:var(--win-bg);border:1px solid var(--win-line);box-shadow:0 0 0 1px #000a}#fashion-pocket>.wtitle{margin-bottom:0;padding:0 4px}#inventory-window .inventory-shortcuts{position:absolute;left:8px;right:8px;top:207px;display:flex;justify-content:space-between;gap:4px}#inventory-window .inventory-shortcuts .btn{min-height:20px;padding:0 8px;font-size:11px}.cell.market-item-disabled{opacity:.4;filter:grayscale(.7);cursor:not-allowed}#storage-choice-dialog{position:relative}#storage-choice-dialog>.wtitle{padding:0 24px;cursor:default}#storage-choice-dialog>.close:after{inset:-5px}#mobile-equipment-bond.m-full{z-index:220;flex-direction:column;gap:5px;min-width:0;min-height:0;font-size:12px;color:#eee}#mobile-equipment-bond .m-bond-panels{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.12fr);flex:1;min-height:0;gap:6px}#mobile-equipment-bond .m-pane-title{min-height:24px;padding:0 22px;font-size:12px}#mobile-equipment-bond .m-bond-target-body,#mobile-equipment-bond .m-bond-material-body{min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:6px}#mobile-equipment-bond .m-bond-target-body{display:flex;flex-direction:column;gap:5px}#mobile-equipment-bond .m-bond-name{font-weight:400;color:var(--gold);text-align:center;overflow-wrap:anywhere}#mobile-equipment-bond .m-bond-location,#mobile-equipment-bond .m-bond-exp{text-align:center;color:#b9b4a0;font-size:10px}#mobile-equipment-bond .m-bond-equipment{display:flex;align-items:center;justify-content:center;gap:8px}#mobile-equipment-bond .m-bond-equipment .m-cell{flex:none;width:48px;height:48px}#mobile-equipment-bond .m-bond-equipment .btn{min-height:28px;height:28px;padding:0 8px;font-size:11px}#mobile-equipment-bond .m-bond-level{display:flex;justify-content:space-between;align-items:center;gap:6px;font-size:11px}#mobile-equipment-bond .m-bond-level b{color:var(--gold);font-weight:400}#mobile-equipment-bond .m-bond-progress{position:relative;flex:none;height:19px;overflow:hidden;background:#322b20;border:1px solid var(--win-line);text-align:center}#mobile-equipment-bond .m-bond-progress i{position:absolute;inset:0 auto 0 0;background:linear-gradient(#fbbd4d,#a4600d)}#mobile-equipment-bond .m-bond-progress span{position:relative;line-height:19px;font-size:11px;text-shadow:0 1px 2px #000}#mobile-equipment-bond .m-bond-preview{display:flex;flex-direction:column;gap:4px;padding:6px;border:1px solid var(--win-line-2);background:var(--win-dark);color:#bed9ec}#mobile-equipment-bond .m-bond-preview h3{margin:0;color:#8de49c;font-weight:400;font-size:11px}#mobile-equipment-bond .m-bond-preview strong{font-weight:400;color:var(--gold)}#mobile-equipment-bond .m-bond-preview .after{height:8px;background:#1e2d22}#mobile-equipment-bond .m-bond-preview .after i{background:linear-gradient(#7dba75,#42733c)}#mobile-equipment-bond .m-bond-preview small{font-size:10px}#mobile-equipment-bond .m-bond-material-summary{display:flex;align-items:center;justify-content:space-between;gap:6px;margin-bottom:5px;color:#b9b4a0;font-size:11px}#mobile-equipment-bond .m-bond-material-summary .btn{min-height:24px;height:24px;padding:0 6px;font-size:10px}#mobile-equipment-bond .m-bond-material-card{display:grid;grid-template-columns:36px minmax(0,1fr);align-items:center;gap:4px 6px;margin-bottom:5px;padding:5px;border:1px solid var(--win-line-2);background:var(--win-dark)}#mobile-equipment-bond .m-bond-material-card.selected{border-color:var(--gold)}#mobile-equipment-bond .m-bond-material-card>.m-cell{width:36px;height:36px;grid-row:1 / 3}#mobile-equipment-bond .m-bond-material-info{display:flex;flex-direction:column;min-width:0;gap:2px}#mobile-equipment-bond .m-bond-material-info strong{font-weight:400;font-size:11px;overflow-wrap:anywhere}#mobile-equipment-bond .m-bond-material-info small{color:#b9c8cb;font-size:10px}#mobile-equipment-bond .m-bond-quantity{display:grid;grid-column:2;grid-template-columns:28px minmax(40px,1fr) 28px 44px;gap:4px}#mobile-equipment-bond .m-bond-quantity .btn{min-width:0;min-height:28px;height:28px;padding:0;font-size:15px}#mobile-equipment-bond .m-bond-quantity .m-bond-count,#mobile-equipment-bond .m-bond-quantity .m-bond-max{font-size:11px}#mobile-equipment-bond .m-bond-count{color:var(--gold);font-variant-numeric:tabular-nums}#mobile-equipment-bond .m-bond-empty{font-size:11px;color:#b9b4a0}#mobile-equipment-bond .m-bond-unlock{display:flex;flex-direction:column;align-items:center;gap:8px;padding:8px 4px;font-size:12px}#mobile-equipment-bond .m-bond-unlock .m-cell{width:48px;height:48px}#mobile-equipment-bond .m-bond-unlock strong{color:var(--gold);font-weight:400;text-align:center}#mobile-equipment-bond .m-bond-unlock>div{display:flex;justify-content:space-between;gap:12px;width:100%}#mobile-equipment-bond .m-bond-unlock b{font-weight:400}#mobile-equipment-bond .m-bond-unlock p{margin:0;color:#b9c8cb;font-size:11px;overflow-wrap:anywhere}#mobile-equipment-bond .m-bond-footer{display:flex;flex:none;align-items:center;gap:8px;padding:5px 6px;min-height:44px;box-sizing:border-box;border:1px solid var(--win-line);background:var(--win-bg)}#mobile-equipment-bond .m-bond-feedback{flex:1;min-width:0;font-size:11px;line-height:1.35;overflow-wrap:anywhere;white-space:pre-wrap}#mobile-equipment-bond .m-bond-actions{display:flex;flex:none;gap:5px}#mobile-equipment-bond .m-bond-actions .btn{min-width:76px;min-height:34px;height:34px;padding:0 8px;font-size:12px}#mobile-equipment-bond .m-bond-actions .btn.act{min-width:104px;color:var(--gold)}#mobile-equipment-bond .warning{color:#ffac87}#mobile-equipment-bond .m-bond-close{top:-4px;z-index:3}.m-bond-quantity-backdrop{position:fixed;inset:0;z-index:350;display:flex;align-items:center;justify-content:center;background:#0008;pointer-events:auto}html.touch-ui .m-bond-quantity-backdrop #bond-quantity-dialog.quantity-dialog.panel{position:relative;left:auto;top:auto;transform:none;zoom:var(--m-zoom,.85);max-height:calc((100dvh - 24px) / var(--m-zoom,.85));overflow-y:auto}html.m-bond-open :is(#hud-stats,#hud-menu-bars,#hud-buttons,#minimap-box,#skillbar-wrap,#chat,#target,#buff-bar,#practice-hud,#hud-pos){display:none!important}@media(max-height:360px){#mobile-equipment-bond .m-bond-equipment .m-cell{width:40px;height:40px}#mobile-equipment-bond .m-bond-target-body{gap:3px}}#pet-bar{position:absolute;right:12px;top:206px;width:166px;--pad-t:0px;--pad-x:3px;padding:var(--pad-t) var(--pad-x) 3px;box-sizing:border-box;pointer-events:auto;z-index:5;background:var(--win-bg);border-radius:0}#pet-bar>.wtitle{margin-bottom:3px;padding:0 5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pet-bar-slots{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:3px}.pet-bar-slot{position:relative;display:grid;grid-template-rows:auto 7px;gap:2px;box-sizing:border-box;width:100%;height:auto;min-width:0;padding:0;border:0;border-radius:0;background:none;cursor:pointer;touch-action:none}.pet-bar-portrait{display:block;box-sizing:border-box;width:100%;aspect-ratio:1;min-width:0;overflow:hidden;padding:2px;border:1px solid #84958a;box-shadow:inset 0 0 0 1px #202a26;background:var(--win-dark) url(/ui/inventory/equip/bag-cell.png) center/100% 100%}.pet-bar-slot.selected .pet-bar-portrait{border-color:#e2d994;box-shadow:inset 0 0 0 1px #9b9155}.pet-bar-slot:focus-visible{outline:2px solid var(--gold);outline-offset:1px}.pet-bar-slot.empty{cursor:default}.pet-bar-slot.empty .pet-bar-portrait{opacity:.5}.pet-bar-slot img{display:block;width:100%;height:100%;object-fit:contain;image-rendering:pixelated}.pet-bar-fullness{display:block;box-sizing:border-box;width:100%;height:7px;overflow:hidden;background:linear-gradient(#4b4523,#292718);border:1px solid #777956;box-shadow:0 0 0 1px #080b0b}.pet-bar-fullness i{display:block;height:100%;background:linear-gradient(to bottom,#fff7b2,#e4d66b 40%,#b3a43d 55%,#d4c356)}.pet-bar-actions{display:flex;gap:3px;margin-top:4px}.pet-bar-actions .btn{flex:1;min-width:0;padding:0 2px;font-size:11px;height:21px}.pet-bar-actions .btn:first-child{flex:1.45}.pet-bar-actions .btn:nth-child(2){flex:.8}.pet-bar-actions .pet-cradle-action{flex:0 0 21px;width:21px;min-width:21px;max-width:21px;min-height:21px;height:21px;max-height:21px;padding:0!important;display:grid;place-items:center;overflow:visible;box-sizing:border-box;line-height:0;background:transparent;border:0;box-shadow:none}.pet-bar-actions .pet-cradle-action:hover,.pet-bar-actions .pet-cradle-action:active{background:transparent;box-shadow:none;filter:brightness(1.12)}.pet-bar-actions .pet-cradle-action img{display:block;width:21px;height:21px;max-width:100%;max-height:100%;object-fit:contain;image-rendering:pixelated}#mobile-pet-hud{position:absolute;left:var(--stack-left,166px);top:var(--stack-top,8px);width:148px;z-index:5;background:var(--win-bg);border:1px solid var(--win-line);box-sizing:border-box;pointer-events:auto}#mobile-pet-hud>header{height:18px;line-height:18px;padding:0 4px;background:var(--titlebar),var(--navy);color:var(--gold);font-size:10px}.mph-slots{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:3px;padding:3px}.mph-slots>button,.mph-empty{position:relative;box-sizing:border-box;width:100%;min-width:0;height:39px;margin:0;padding:2px 2px 6px;border:1px solid var(--win-line);background:var(--win-dark);touch-action:none}.mph-slots>button.selected{border-color:var(--gold)}.mph-slots img{width:100%;height:100%;object-fit:contain}.mph-slots button>span{position:absolute;bottom:2px;left:2px;right:2px;height:3px;background:#000}.mph-slots i{display:block;height:100%;background:linear-gradient(#bdd983,#5d8c45)}.mph-actions{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(0,.8fr) 21px;gap:3px;padding:0 3px 3px}.mph-actions .btn{min-width:0;min-height:22px;height:22px;padding:0 1px;font-size:10px;white-space:nowrap}.mph-actions .mph-cradle-action{width:21px;min-width:21px;max-width:21px;min-height:22px;height:22px;max-height:22px;display:grid;place-items:center;overflow:visible;box-sizing:border-box;line-height:0;padding:0!important;background:transparent;border:0;box-shadow:none}.mph-actions .mph-cradle-action:hover,.mph-actions .mph-cradle-action:active{background:transparent;box-shadow:none;filter:brightness(1.12)}.mph-cradle-action img{display:block;width:21px;height:21px;max-width:100%;max-height:100%;object-fit:contain;image-rendering:pixelated}html.m-open #mobile-pet-hud{display:none}#farm-report{position:relative;width:min(400px,calc(100vw - 32px));max-height:calc(100dvh - 32px);display:flex;flex-direction:column;--pad-t:10px;--pad-x:14px;padding:var(--pad-t) var(--pad-x) 12px;box-sizing:border-box;font-size:13px}#farm-report .fr-sum{margin-top:8px;padding:6px 8px;background:#0006;border:1px solid var(--win-line-2)}#farm-report .fr-line{display:flex;justify-content:space-between;gap:8px;padding:2px 0}#farm-report .fr-line span{color:#cfc8a8}#farm-report .fr-line b{color:#fff;font-weight:500;font-variant-numeric:tabular-nums}#farm-report .fr-line b.gold{color:var(--gold)}#farm-report .fr-died{margin-top:4px;color:#ff8a80}#farm-report .fr-when{margin-top:4px;font-size:11px;color:#9a9a8a;text-align:right}#farm-report .fr-h{margin:10px 0 4px;color:#f6dc6a}#farm-report .fr-note{margin:0 0 4px;color:#9a9a8a;font-size:12px}#farm-report .fr-items{flex:1;min-height:60px;overflow-y:auto;display:flex;flex-direction:column;gap:4px}#farm-report .fr-empty{color:#9a9a8a;text-align:center;padding:12px 0}#farm-report .fr-item{display:flex;align-items:center;gap:8px;padding:2px 4px;background:#0004;border:1px solid var(--win-line-2)}#farm-report .fr-item .cell{flex:none;position:relative;width:40px;height:40px;background:var(--win-dark) url(/ui/inventory/equip/bag-cell.png) center / 100% 100% no-repeat}#farm-report .fr-item .cell .item-pic,#farm-report .fr-item .cell img{position:absolute;left:2px;top:2px;width:36px;height:36px}#farm-report .fr-name{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#farm-report .buttons{display:flex;justify-content:center;gap:12px;margin-top:10px}:is(#town-dialog,#memory-dialog){width:340px;max-width:calc(100vw - 16px)}:is(#town-dialog,#memory-dialog) .towns{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-content:start;gap:10px 8px;min-height:120px;max-height:min(50vh,340px);overflow-y:auto;margin:0 0 14px}:is(#town-dialog,#memory-dialog) .destination-entry{position:relative;min-width:0}:is(#town-dialog,#memory-dialog) .town{display:flex;flex-direction:column;align-items:stretch;gap:4px;padding:0;font:inherit;color:#f0ecd8;background:none;border:0;border-radius:0;box-shadow:none;cursor:url(/ui/cursors/default.cur),pointer}:is(#town-dialog,#memory-dialog) .town:focus-visible{outline:none}:is(#town-dialog,#memory-dialog) .destination-picture{display:block;width:100%;aspect-ratio:1;object-fit:cover;box-sizing:border-box;border:1px solid var(--win-line-2);background:var(--win-dark);image-rendering:auto}:is(#town-dialog,#memory-dialog) .destination-picture-empty{display:grid;place-items:center;color:#aaa;font-size:10px}:is(#town-dialog,#memory-dialog) .town:hover .destination-picture,:is(#town-dialog,#memory-dialog) .town:focus-visible .destination-picture{border-color:var(--gold);box-shadow:0 0 0 1px var(--gold)}:is(#town-dialog,#memory-dialog) .destination-name{text-align:center;font-size:11px;line-height:1.3;overflow-wrap:anywhere}:is(#town-dialog,#memory-dialog) .town:hover .destination-name{color:var(--gold)}:is(#town-dialog,#memory-dialog) .destination-forget{position:absolute;top:3px;right:3px;min-width:28px;padding:0 4px}:is(#town-dialog,#memory-dialog) .destination-empty{grid-column:1 / -1;display:grid;place-items:center;min-height:120px;color:#aaa;font-size:11px}@media(max-width:480px){:is(#town-dialog,#memory-dialog) .towns{grid-template-columns:repeat(2,minmax(0,1fr))}}#memory-name-dialog{width:300px;max-width:calc(100vw - 16px)}#memory-name-dialog label{display:block;text-align:left}#memory-name-dialog input{display:block;width:100%;box-sizing:border-box;margin-bottom:12px;padding:6px 8px;font:inherit;color:#fff;background:var(--win-dark);border:1px solid var(--win-line)}#memory-name-dialog .memory-name-error{color:#ffb0a8;font-size:11px}.m-travel-dialog{width:340px;max-width:calc(100vw - 16px)}.m-travel-dialog .m-travel-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-content:start;gap:10px 8px;min-height:120px;max-height:min(50vh,260px);overflow-y:auto;margin-bottom:12px}.m-travel-dialog .m-travel-entry{position:relative;min-width:0}.m-travel-dialog .m-travel-card{display:flex;flex-direction:column;gap:4px;color:#f0ecd8;touch-action:manipulation}.m-travel-dialog .destination-picture{display:block;width:100%;aspect-ratio:1;box-sizing:border-box;border:1px solid var(--win-line-2);background:var(--win-dark);object-fit:cover}.m-travel-dialog .destination-picture-empty{display:grid;place-items:center;color:#aaa;font-size:10px}.m-travel-dialog .m-travel-name{text-align:center;font-size:12px;line-height:1.3;overflow-wrap:anywhere}.m-travel-dialog .m-travel-card:active{color:var(--gold)}.m-travel-dialog .m-travel-forget{position:absolute;top:3px;right:3px;min-width:28px;padding:0 4px}.m-travel-dialog .m-travel-empty{grid-column:1 / -1;display:grid;place-items:center;min-height:120px;color:#aaa;font-size:12px}.m-memory-name{width:300px;max-width:calc(100vw - 16px)}.m-memory-name label{display:block;text-align:left}.m-memory-name input{display:block;width:100%;box-sizing:border-box;margin-bottom:10px;padding:6px 8px;font:inherit;color:#fff;border:1px solid var(--win-line);background:var(--win-dark)}.m-memory-name .m-memory-name-error{color:#ffb0a8;font-size:12px}.pet-shop-preview{display:flex;flex-direction:column;min-height:0;width:100%}.pet-shop-preview .pet-preview{position:relative;flex:none;min-width:0;width:100%;height:150px;overflow:hidden;touch-action:none;cursor:grab;background:radial-gradient(ellipse,#26364a66,transparent 70%)}.pet-shop-preview .pet-preview:active{cursor:grabbing}.pet-shop-preview .pet-preview canvas{position:absolute;inset:0;display:block;width:100%;height:100%}.pet-shop-details{min-height:0;overflow-y:auto;padding:6px;font-size:11px;line-height:1.6}.pet-shop-line{overflow-wrap:anywhere}.pet-shop-line.tip-name{color:var(--gold)}.pet-shop-line.tip-bonus{color:#7fc8ff}.pet-shop-line.tip-dim,.pet-shop-line.tip-kind{color:#b9b4a0}#mallshop-window .ms-pet-try{width:210px;min-height:0}#mobile-mallshop .mms-try>.pet-shop-preview{flex:1}#mobile-mallshop .pet-shop-preview .pet-preview{flex:1;min-height:100px;height:100%}#mobile-mallshop .pet-shop-preview .pet-preview canvas{width:100%;height:100%}.arrow{padding:0;border:0;border-radius:0;font-size:0;background:transparent no-repeat center / 100% 100%;image-rendering:pixelated;cursor:url(/ui/cursors/default.cur),pointer;-webkit-tap-highlight-color:transparent}.arrow.prev{background-image:url(/ui/buttons/arrow-left-0.png)}.arrow.next{background-image:url(/ui/buttons/arrow-right-0.png)}.arrow.prev:hover:not(:disabled),.arrow.prev:active:not(:disabled){background-image:url(/ui/buttons/arrow-left-1.png)}.arrow.next:hover:not(:disabled),.arrow.next:active:not(:disabled){background-image:url(/ui/buttons/arrow-right-1.png)}.arrow:disabled{opacity:.35;cursor:url(/ui/cursors/default.cur),default}.mall-currency-tabs{display:flex;flex-wrap:wrap;flex:none;gap:4px}.mall-currency-tabs .btn{display:inline-flex;align-items:center;gap:8px;white-space:nowrap}#mallshop-window{pointer-events:auto;position:absolute;z-index:30;left:50%;top:70px;transform:translate(-50%);width:640px;max-width:calc(100vw - 16px);max-height:calc(100dvh - 90px);display:flex;flex-direction:column;gap:6px;box-sizing:border-box;padding:0 8px 8px;font-size:12px}#mallshop-window .ms-head{position:relative;margin:calc(-1 * var(--frame, 1px)) calc(-8px - var(--frame, 1px)) 0;cursor:move;user-select:none}#mallshop-window .ms-body{flex:1;min-height:0;display:flex;gap:6px}#mallshop-window .ms-tabs{flex:none;width:112px;display:flex;flex-direction:column;gap:4px;padding:6px;background:var(--win-dark);border:1px solid #000;box-shadow:inset 0 0 0 1px var(--win-line-2)}#mallshop-window .ms-tabs .btn{height:28px}#mallshop-window .ms-grid{flex:1;min-width:0;overflow-y:auto;display:grid;grid-template-columns:1fr 1fr;grid-auto-rows:74px;gap:2px;align-content:start;padding:2px;background:var(--win-dark);border:1px solid #000;box-shadow:inset 0 0 0 1px var(--win-line-2)}#mallshop-window .ms-empty{grid-column:1 / -1;padding:24px 0;text-align:center;color:#9a9a8a}#mallshop-window .ms-item{display:grid;grid-template-columns:44px 1fr auto;grid-template-rows:1fr auto;column-gap:8px;row-gap:4px;align-items:center;padding:6px 8px 6px 6px;color:#f0ecd8;background:linear-gradient(#26324f66,#0000 70%),#1c1c1a;border:1px solid var(--win-line-2)}#mallshop-window .ms-item:hover{border-color:var(--win-line)}#mallshop-window .ms-item .cell{grid-row:1 / 3;align-self:center;position:relative;width:44px;height:44px;border:0;background:var(--win-dark) url(/ui/inventory/equip/bag-cell.png) center / 100% 100% no-repeat}#mallshop-window .ms-item .cell>.icon{position:absolute;left:2px;top:2px;width:40px;height:40px;object-fit:contain}#mallshop-window .ms-name{grid-column:2 / 4;align-self:start;color:#ff7a6a;line-height:1.3;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}#mallshop-window .ms-name small{color:#cfc8a8}#mallshop-window .ms-price{display:flex;align-items:center;gap:5px;color:var(--gold);font-variant-numeric:tabular-nums}#mallshop-window .ms-buy{min-width:64px;height:22px}#mallshop-window .ms-coin{display:inline-block;width:14px;height:10px;border-radius:50% 50% 40% 40%;background:radial-gradient(circle at 35% 30%,#fff6c0,var(--gold) 45%,#a07a18);box-shadow:0 1px #0008}#mallshop-window .ms-foot{display:flex;align-items:center;gap:8px;padding-left:118px}#mallshop-window .ms-pager{flex:1;display:flex;flex-wrap:wrap;gap:4px}#mallshop-window .ms-pager .btn{min-width:26px;height:24px;padding:0 6px}#mallshop-window:has(.ms-try){width:820px}#mallshop-window .ms-try{flex:none;width:172px;display:flex;flex-direction:column}#mallshop-window .ms-try canvas{background:none;flex:1;min-height:0;width:100%;display:block;touch-action:none;cursor:grab}#mallshop-window .ms-try-tip{padding:4px 6px 6px;text-align:center;color:#cfc8a8;line-height:1.3}#mallshop-window .ms-item.tried{border-color:#f6dc6a;box-shadow:inset 0 0 0 1px #f6dc6a55}.ms-ask .ms-cost{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:4px}.ms-ask{display:flex;flex-direction:column;align-items:center;gap:8px}.ms-ask b{color:var(--gold);font-weight:400}.ms-qty{display:flex;align-items:center;gap:6px}.ms-qty input{width:52px;min-width:0;height:26px;box-sizing:border-box;padding:0 4px;text-align:center;font:inherit;color:var(--gold);background:var(--win-dark);border:1px solid var(--win-line);border-radius:0}#mallshop-window:not(.touch){max-height:none}#mallshop-window:not(.touch) .ms-body{flex:none;height:384px}#mallshop-window:not(.touch) .ms-grid{overflow-y:hidden}#mallshop-window:not(.touch) .ms-tabs{align-self:flex-start}#mallshop-window:not(.touch) .ms-tabs{width:128px;gap:6px;padding:8px}#mallshop-window:not(.touch) .ms-tabs .btn{height:34px;font-size:13px}#mallshop-window:not(.touch) .ms-foot{padding-left:134px}#mallshop-window .ms-pager{flex-wrap:nowrap;align-items:center;gap:3px}#mallshop-window .ms-pager .btn{min-width:28px;height:26px;padding:0 6px;font-variant-numeric:tabular-nums}#mallshop-window .ms-pager .btn.on{color:var(--gold)}#mallshop-window .ms-pager .ms-step{flex:none;width:22px;height:19px;min-width:0;min-height:0}#mallshop-window .ms-pager .ms-gap{min-width:16px;text-align:center;color:#9a9a8a}#mallshop-window .ms-content{flex:1;min-width:0;min-height:0;display:flex;flex-direction:column;gap:4px}#mallshop-window .ms-content .ms-grid{flex:1;min-height:0}#mallshop-window .ms-subtabs{display:flex;flex-wrap:wrap;gap:2px}#mallshop-window .ms-subtabs .btn{flex:1 0 auto;height:26px;white-space:nowrap}#mallshop-window:not(.touch) .ms-content .ms-grid{overflow-y:auto}#mallshop-window:not(.touch) .ms-tabs{align-self:stretch;justify-content:flex-start}#mallshop-window:not(.touch) .ms-tabs .btn{flex:none;height:32px;font-size:13px}#mallshop-window .ms-head .wtitle{margin:0}#mallshop-window .ms-head .close{top:calc((var(--title-h) - 20px) / 2)}#mallshop-window .ms-grid{grid-auto-rows:minmax(74px,auto)}#mallshop-window .ms-item:has(.ms-quota) .ms-name{display:block;overflow:visible}#mallshop-window .ms-quota{display:block;font-size:10px;line-height:1.4;margin-top:2px}#hud-menu-bars{position:absolute;right:12px;bottom:12px;z-index:19;display:flex;flex-direction:column;align-items:flex-end;gap:6px;pointer-events:none}#hud-menu-bars #hud-buttons.m-buttons{position:relative;inset:auto;margin:0;transform:none;zoom:1;align-items:flex-start}#hud-menu-bars #hud-buttons.m-buttons .m-bar-items{display:grid;grid-template-columns:repeat(7,42px);width:max-content;max-width:none;gap:4px;overflow:visible;transition:none}#hud-menu-bars #hud-buttons.m-buttons.desk .m-bar-items{display:flex;flex-wrap:nowrap}#hud-menu-bars .hud-menu-reveal{--menu-motion:.22s;position:relative;flex:none;overflow:hidden;margin-right:0;visibility:hidden;transition:width var(--menu-motion) cubic-bezier(.2,.7,.25,1),height var(--menu-motion) cubic-bezier(.2,.7,.25,1),margin var(--menu-motion) ease,visibility 0s linear var(--menu-motion)}#hud-menu-bars .hud-menu-reveal.is-open{margin-right:4px;visibility:visible;transition-delay:0s}#hud-menu-bars .hud-menu-reveal-content{position:absolute;top:0;right:0;width:max-content;opacity:0;transform:translate(8px);transition:opacity .16s ease,transform var(--menu-motion) ease}#hud-menu-bars .hud-menu-reveal.is-open>.hud-menu-reveal-content{opacity:1;transform:none}#menu_short{display:flex;align-items:flex-start;gap:0;pointer-events:none}#menu_short .menu-short-items{display:grid;grid-template-columns:repeat(var(--short-menu-columns,7),42px);gap:4px}#menu_short button.menu-short-action,#menu_short button.menu-short-toggle{flex:none;position:relative;box-sizing:border-box;width:42px;min-width:0;height:42px;min-height:0;padding:0;border:0;border-radius:0;background:none;box-shadow:none;cursor:pointer;pointer-events:auto}#menu_short .menu-short-action>img,#menu_short .menu-short-toggle>img{display:block;width:100%;height:100%;object-fit:contain;pointer-events:none}#menu_short .menu-short-action:disabled{opacity:.4;cursor:default}#menu_short .menu-short-action:hover:not(:disabled),#menu_short .menu-short-toggle:hover{filter:brightness(1.2)}#menu_short .menu-short-action:active:not(:disabled),#menu_short .menu-short-toggle:active{transform:translateY(1px)}#menu_short .menu-short-toggle[aria-expanded=true]{filter:brightness(1.2) drop-shadow(0 0 3px #f6dc6a)}#menu_short .btn.menu-short-fold{order:-1;display:flex;align-items:center;justify-content:center;flex:none;box-sizing:border-box;width:26px;min-width:0;height:42px;min-height:0;margin-right:4px;padding:0;pointer-events:auto}#menu_short .menu-short-fold img{width:16px;height:16px;image-rendering:pixelated;pointer-events:none}html.touch-ui #hud-menu-bars{--menu-map-width:168px;right:calc((var(--menu-map-width) + 16px) / var(--m-zoom,.85));top:calc(8px / var(--m-zoom,.85));bottom:auto;zoom:var(--m-zoom,.85)}html.touch-ui #hud-menu-bars #hud-buttons.m-buttons .m-bar-items{grid-template-columns:repeat(var(--hud-menu-columns,7),42px);width:max-content;gap:2px}html.touch-ui #hud-menu-bars #hud-buttons.m-buttons button.m-iconbtn{width:42px!important}html.touch-ui #hud-menu-bars #hud-buttons.m-buttons button.m-iconbtn img{width:42px;height:42px}html.touch-ui #hud-menu-bars #hud-buttons.m-buttons .m-iconbtn.alarm:after{width:42px;height:42px}html.touch-ui #hud-menu-bars #hud-buttons.m-buttons .m-iconlabel{font-size:10px;line-height:12px}html.touch-ui #hud-menu-bars #hud-buttons.m-buttons .btn.m-foldbtn{width:22px!important;height:42px!important}html.touch-ui #menu_short .menu-short-items{grid-template-columns:repeat(var(--short-menu-columns,7),42px);gap:2px}html.touch-ui #menu_short button.menu-short-action,html.touch-ui #menu_short button.menu-short-toggle{width:42px;height:56px;display:flex;flex-direction:column;align-items:center}html.touch-ui #menu_short .menu-short-action>img,html.touch-ui #menu_short .menu-short-toggle>img{flex:none;width:42px;height:42px;image-rendering:pixelated}html.touch-ui #menu_short .btn.menu-short-fold{width:22px;height:42px;min-height:0}@media(max-width:760px),(max-height:560px){html.touch-ui #hud-menu-bars{--menu-map-width:120px}}@media(max-width:500px){html.touch-ui #menu_short{display:grid;grid-template-columns:22px 42px;column-gap:4px}html.touch-ui #menu_short .menu-short-toggle{grid-column:2;grid-row:1}html.touch-ui #menu_short .menu-short-fold{grid-column:1;grid-row:1;margin-right:0}html.touch-ui #menu_short .menu-short-reveal{grid-column:1/-1;grid-row:2;justify-self:end;margin-right:0}html.touch-ui #menu_short .menu-short-reveal.is-open{margin-top:4px}html.touch-ui #menu_short .menu-short-items{grid-template-columns:repeat(2,42px)}}@media(prefers-reduced-motion:reduce){#hud-menu-bars .hud-menu-reveal,#hud-menu-bars .hud-menu-reveal-content{transition:none}}.hud-menu-content{display:contents}html.touch-ui #hud-menu-bars .hud-menu-content{display:grid;align-items:start;justify-items:end}html.touch-ui #hud-menu-bars .hud-menu-content>.hud-menu-reveal,html.touch-ui #hud-menu-bars .hud-menu-content>#menu_short{grid-area:1 / 1}html.touch-ui #hud-menu-bars #menu_short.embedded{display:block}html.touch-ui #hud-menu-bars #menu_short.embedded .menu-short-reveal.is-open{margin-top:0}html.touch-ui #hud-menu-bars #menu_short.embedded .menu-short-items{grid-template-columns:repeat(var(--short-menu-columns,6),42px)}.ms-status{padding:10px;font-size:14px;color:#f0ecd8}.ms-status h3{margin:14px 0 7px;padding-bottom:4px;font-size:14px;font-weight:400;color:var(--gold);border-bottom:1px solid var(--win-line-2)}.ms-status small,.ms-status p{color:#b9b4a0}.ms-status p{margin:6px 0;font-size:12px;line-height:1.5}.ms-who,.ms-value{display:flex;justify-content:space-between;align-items:baseline;gap:8px;min-width:0}.ms-who{padding:8px;background:var(--win-dark);border:1px solid var(--win-line-2)}.ms-who b{overflow-wrap:anywhere}.ms-value{padding:5px 0}.ms-value span{color:#b9b4a0}.ms-status b{font-weight:400;font-variant-numeric:tabular-nums}.ms-status em{margin-left:4px;color:#7fe07f;font-style:normal}.ms-exp{position:relative;height:22px;margin:6px 0;background:linear-gradient(#84e86f45 0 45%,#155b264d 46% 100%),#142c17;border:1px solid var(--win-line-2);text-align:center;font-size:12px}.ms-exp i{position:absolute;inset:0 auto 0 0;background:linear-gradient(#79dc70 0 45%,#278439 46% 100%)}.ms-exp span{position:relative;color:#fff;text-shadow:0 1px 2px #000}.ms-layout{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,270px),1fr));gap:0 18px}.ms-layout section{min-width:0}.ms-column{min-width:0}.ms-fame{display:flex;flex-wrap:wrap;justify-content:space-between;gap:6px 14px;padding:4px 0;font-size:12px;color:#b9b4a0}.ms-fame b{margin-left:4px;color:#91acff}.ms-allocation{display:flex;align-items:center;flex-wrap:wrap;gap:4px 8px}.ms-combat-group{margin:8px 0}.ms-read-row,.ms-readable>summary{display:flex;align-items:baseline;justify-content:space-between;gap:8px;padding:5px 6px;min-width:0;font-size:12px;line-height:1.5}.ms-read-row>span,.ms-readable>summary>span{flex:1;min-width:0;overflow-wrap:anywhere;color:#c4c7c0}.ms-read-row>b,.ms-readable>summary>b{flex:none;max-width:60%;overflow-wrap:anywhere;text-align:right;color:#e9b94e}.ms-read-list>:nth-child(odd){background:var(--win-dark)}.ms-readable>summary{cursor:pointer}.ms-status .ms-readable>p{padding:0 6px 6px;margin:0}.ms-pvp-column h3{color:#ffb0a8}.ms-extra-section{grid-column:1 / -1}.ms-extra>summary{padding:8px 0;color:var(--gold);font-size:14px;cursor:pointer}.ms-stat{display:grid;grid-template-columns:minmax(0,1fr) auto 24px;gap:8px;align-items:start;padding:7px;margin:5px 0;background:var(--win-dark);border:1px solid var(--win-line-2)}.ms-stat b{padding-top:5px}.ms-stat summary{padding:6px 0}.ms-status .ms-stat .btn{box-sizing:border-box;width:24px;height:24px;min-width:0;min-height:24px;margin-top:4px;padding:0;font-size:12px}.ms-amount{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:6px 0}.ms-amount input{box-sizing:border-box;width:64px;height:24px;min-height:24px;padding:0 6px;text-align:right;color:inherit;background:var(--win-dark);border:1px solid var(--win-line);font:inherit;font-size:12px}.ms-status .ms-amount .btn{min-height:24px;height:24px;padding:0 8px;font-size:12px}.ms-values{display:grid;grid-template-columns:minmax(0,1fr)}.ms-elements>div{display:grid;grid-template-columns:minmax(0,1fr) 90px 70px;gap:6px;padding:5px;background:var(--win-dark);border-bottom:1px solid var(--win-line-2)}.ms-elements>div>:not(:first-child){text-align:right}.ms-mod{margin:3px 0;padding:0 6px;background:var(--win-dark);border:1px solid var(--win-line-2)}.ms-mod summary{display:flex;justify-content:space-between;align-items:baseline;gap:8px;padding:8px 0;cursor:pointer}.ms-mod summary>span{color:#b9b4a0}.ms-mod summary>b{white-space:nowrap}.rebirth-status{margin-block:6px}.m-full .rebirth-status>.btn-sm{min-height:22px;height:22px;padding:0 5px;font-size:11px;line-height:14px}.rebirth-status-details{margin-top:6px;padding:8px;background:var(--win-dark);color:#fff;line-height:1.7}.rebirth-status-details b{color:var(--gold,#e7c963)}.rebirth-status-details small{display:block;opacity:.8}.m-deal{flex:none;display:flex;flex-direction:column;gap:6px;padding:6px 8px;border-top:1px solid var(--win-line);background:#141414;font-size:14px}.m-deal .m-gold{color:#f6dc6a}.m-deal-row{display:flex;gap:6px;align-items:center}.m-deal-row input{flex:1;min-width:0;height:40px;padding:0 8px;box-sizing:border-box;border:1px solid var(--win-line-2);border-radius:0;background:var(--win-dark);color:#fff;font-size:16px}.m-trade-side{margin-bottom:10px}.m-trade-side .m-bag{min-height:64px;background:#0003}.m-ok{color:#6adf8a;font-weight:400;margin-left:6px}.m-full .m-compact .m-groups .btn{min-width:0;padding:0 4px}.m-full .m-compact .btn{min-height:24px;height:24px;padding:0 6px;font-size:12px;line-height:1}.m-full .m-compact .m-groups{padding:4px 8px 0;gap:4px}.m-compact .m-scroll{padding:6px 8px}.m-compact .m-deal{gap:4px;padding:4px 8px}.m-full .m-compact .m-deal-row input{height:26px;font-size:13px}.m-compact .m-foot{padding:4px 8px}.m-full .m-compact .m-foot .btn{min-height:24px;height:24px}.m-deal-end{margin-left:auto}.m-compact .m-bag{grid-template-columns:repeat(auto-fill,minmax(48px,1fr));gap:4px}.m-compact{position:relative}.m-storage-pages,.m-shop-pages{display:flex;flex:none;flex-wrap:wrap;justify-content:center;gap:4px;padding:6px 8px 0}html.touch-ui .m-full .m-pane :is(.m-storage-pages,.m-shop-pages) .btn{display:grid;place-items:center;flex:none;width:28px;height:26px;min-height:26px;padding:0;border-width:0;line-height:1;text-align:center}.m-full .m-compact .m-side-tabs{position:absolute;right:100%;top:34px;margin-right:10px;display:flex;flex-direction:column;gap:4px;z-index:2}.m-full .m-compact .m-side-tabs .btn{width:28px;min-width:0;height:30px;min-height:0;padding:0}.m-main .m-compact .m-pane-title{padding:0 14px;gap:18px;justify-content:space-between}.m-main .m-shop>.m-pane-title{justify-content:center;gap:12px;padding:0 8px}.m-main .m-shop>.m-pane-title>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.m-full .m-slim .m-foot{padding:4px 8px}.m-full .m-slim .m-foot .btn{min-height:24px;height:24px;padding:0 8px;font-size:12px;line-height:1}.m-full .m-compact .m-bar,.m-full .m-compact .m-foot,.m-full .m-slim .m-foot{box-sizing:border-box;height:40px;padding-top:0;padding-bottom:0;align-items:center;justify-content:center}.m-full .m-compact .m-bar .m-deal-row{width:100%}.m-trade-sides{display:flex;gap:6px}.m-trade-side{flex:1;min-width:0;margin-bottom:0;padding:4px;background:#0003;border:1px solid var(--win-line-2)}.m-trade-side.ok{border-color:#4fae66;box-shadow:inset 0 0 0 1px #4fae6655}.m-trade-name{display:flex;align-items:center;gap:4px;margin-bottom:4px;font-size:12px;color:#cfc8a8}.m-trade-name .nm{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.m-trade-side.mine .m-trade-name .nm{color:#7fdbff}.m-trade-badge{flex:none;padding:0 4px;font-size:10px;font-weight:400;line-height:15px;color:#aaa;background:#222;border:1px solid var(--win-line-2)}.m-trade-badge.ok{color:#0d1a0f;background:#6adf8a;border-color:#4fae66}.m-compact .m-trade-grid{grid-template-columns:repeat(3,1fr);min-height:0;background:none}.m-trade-grid .m-cell:not(.filled){opacity:.45;pointer-events:none}.m-trade-gold{display:flex;justify-content:space-between;margin-top:4px;padding:2px 6px;font-size:12px;background:var(--win-dark);border:1px solid var(--win-line-2);color:#9a9a8a}.m-trade-gold b{color:#f6dc6a;font-weight:400;font-variant-numeric:tabular-nums}.m-trade-hint{margin-top:6px;font-size:11px;color:#9a9a8a;text-align:center}.m-trade-side.locked{border-color:#8a6d2a}.m-trade-badge.lock{color:#1a1406;background:#f6dc6a;border-color:#8a6d2a}.m-deal-row input:disabled{opacity:.5}.m-storage-balances{display:grid;gap:6px;min-width:0;margin-bottom:8px;padding:8px;border:1px solid var(--win-line-2);background:var(--win-dark)}.m-storage-balance{display:grid;gap:2px;min-width:0}.m-storage-balance>span:first-child,.m-storage-capacity>span{color:#b9b4a0;font-size:11px}.m-storage-balances .money{max-width:100%;white-space:normal;font-size:13px}.m-storage-balances .money b{overflow:visible;overflow-wrap:anywhere;text-overflow:clip}.m-storage-capacity{display:grid;gap:2px;padding-bottom:6px;border-bottom:1px solid var(--win-line-2)}.m-storage-capacity b{min-width:0;font-size:11px;font-weight:300;color:#b9b4a0;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.m-storage-money{width:min(320px,calc(100vw - 32px));box-sizing:border-box}.m-storage-money .m-deal-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.m-storage-money .m-deal-row>*{min-width:0}.m-storage-money .m-deal-row input{grid-column:1 / -1;width:100%;box-sizing:border-box}.m-storage-money .m-storage-balances{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 10px;margin-bottom:0;padding:6px}.m-storage-money .m-storage-capacity{grid-column:1 / -1;display:flex;flex-wrap:wrap;justify-content:space-between;gap:2px 6px;border:0;padding:0}.m-full .m-storage .m-storage-wallet{height:auto;flex:none;display:flex;flex-direction:column;align-items:stretch;gap:4px;padding:5px 8px}.m-storage-wallet-current{display:flex;min-width:0}.m-storage-wallet-current .money{flex:1 1 50%;width:50%;min-width:0;justify-content:flex-start;font-size:11px;gap:3px}.m-storage-wallet-current .money img{width:14px;height:14px}.m-storage-wallet-current .money b{overflow:visible;overflow-wrap:anywhere;white-space:normal;text-overflow:clip}#dissolve-window.own{left:calc(50% - 126px);top:64px;width:252px;height:474px;max-height:calc(100dvh - 80px);background:var(--win-bg-2);border:1px solid var(--win-line);box-shadow:0 0 0 1px #000a;font-size:11px}#dissolve-window .wtitle{margin:0;padding:0 23px}#dissolve-window>.ds-body{position:absolute;inset:calc(var(--title-h) + 8px) 12px 6px}.ds-body{display:flex;flex-direction:column;gap:0;min-width:0;min-height:0;overflow:hidden}.ds-scroll{flex:1;min-height:0;min-width:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain}.ds-body .ds-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:1px}.ds-body .ds-grid .cell{position:relative;left:auto;top:auto;width:100%;height:auto;aspect-ratio:1;min-width:0;padding:0;border:0;border-radius:0;background:url(/ui/inventory/equip/bag-cell.png) center/100% 100% no-repeat}.ds-body .ds-grid .cell .item-pic{position:absolute;inset:2px;width:calc(100% - 4px);height:calc(100% - 4px)}.ds-body .ds-inputs .cell{cursor:pointer}.ds-divider{position:relative;flex:none;height:22px;display:grid;place-items:center;margin:0 -8px;color:#aaa78e;font-size:9px;border-bottom:2px solid var(--win-line)}.ds-divider:after{content:"";position:absolute;bottom:-9px;left:calc(50% - 6px);width:12px;height:12px;background:var(--win-bg-2);border-right:2px solid var(--win-line);border-bottom:2px solid var(--win-line);transform:rotate(45deg)}.ds-body .ds-materials{margin-top:18px}.ds-body .ds-actions{display:flex;flex:none;align-items:center;gap:6px;margin-top:10px}.ds-body .ds-actions>.btn{flex:1;min-width:0;height:23px;padding:0;font-size:11px}.ds-body .ds-pages{display:flex;gap:2px;max-width:82px;overflow-x:auto;flex:none}.ds-body .ds-pages .btn,.m-full .m-dissolve .ds-actions .ds-pages .btn{display:inline-grid;place-items:center;flex:none;min-width:22px;width:22px;min-height:22px;height:22px;padding:0;border-width:0;font-size:11px;line-height:1;text-align:center}.ds-body .ds-error{margin-top:5px;padding:4px;color:#ffb0a8;font-size:10px;overflow-wrap:anywhere}.ds-body .ds-error .btn{margin-left:4px}#dissolve-window .ds-scroll{display:grid;grid-template-rows:minmax(0,1fr) 24px minmax(0,1fr) auto;overflow:hidden}#dissolve-window .ds-grid{min-height:0;grid-template-rows:repeat(4,minmax(0,1fr));justify-items:center}#dissolve-window .ds-grid .cell{width:auto;max-width:100%;height:100%;min-height:0;aspect-ratio:1}#dissolve-window .ds-materials{margin-top:18px}#dissolve-window .ds-divider{height:auto;margin:0;box-sizing:border-box}#dissolve-window .ds-error{max-height:60px;overflow-y:auto}#dissolve-window .ds-pages{overflow-y:hidden}.cell.no-dissolve{opacity:.35;filter:grayscale(.6)}.m-dissolve-batch{display:flex;min-width:0;overflow:hidden;padding:6px}.m-dissolve-batch .ds-body{width:100%;max-width:252px;margin:0 auto}#mobile-panel.m-dissolve-open{width:var(--m-panel-width);height:var(--m-panel-height);min-height:0}#mobile-panel.m-dissolve-open>.m-main{height:100%;min-height:0}#mobile-panel.m-dissolve-open .m-dissolve{height:100%;box-sizing:border-box;overflow:hidden}#mobile-panel.m-dissolve-open .m-dissolve-batch{min-height:0}#dissolve-quantity-dialog{position:fixed!important;left:50%!important;top:20%!important;z-index:999!important}.m-mix .mmx-body{padding:8px}.mmx-top{display:grid;grid-template-columns:44px minmax(0,1fr);gap:10px;min-height:136px}.mmx-flow{display:flex;flex-direction:column;align-items:center;justify-content:space-between;padding:5px 0}.mmx-flow .m-cell{flex:none;width:44px;height:44px;background:url(/ui/pets/item-cell.png) center / 100% 100% no-repeat;border:0;border-radius:0}.mmx-arrow{color:#69b9d6;font-size:16px;line-height:22px}.mmx-info{min-width:0;max-height:160px;overflow-y:auto;padding:5px 6px;background:#1d2227;border:1px solid var(--win-line-2);font-size:12px;line-height:1.4;overflow-wrap:anywhere}.mmx-info h3{margin:0 0 5px;font-size:12px;color:var(--gold);font-weight:400}.mmx-info p{margin:4px 0}.mmx-hint,.mmx-risk{color:#b9b4a0}.mmx-risk{font-size:11px}.mmx-chance,.mmx-cost{display:flex;align-items:center;justify-content:space-between;gap:4px;margin-bottom:4px}.mmx-chance b{color:#6adf8a;font-weight:400;font-variant-numeric:tabular-nums}.mmx-material{display:grid;grid-template-columns:22px minmax(0,1fr) auto;gap:3px;align-items:center;margin-bottom:3px}.mmx-material>.icon{width:22px;height:22px;object-fit:contain;background:center / contain no-repeat}.mmx-material b{font-weight:400;font-variant-numeric:tabular-nums}.mmx-info .short,.mmx-info .short .money{color:#ffb0a8}.m-mix .mmx-protect{width:100%;padding:1px 0;height:auto;white-space:normal;font-size:11px}.mmx-protect .icon{display:inline-block;width:20px;height:20px;vertical-align:middle;object-fit:contain;background:center / contain no-repeat}.mmx-results{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:2px;margin-top:8px}.m-mix .mmx-results .m-cell{width:100%;background:url(/ui/inventory/equip/bag-cell.png) center / 100% 100% no-repeat;border:0;border-radius:0}.m-mix .mmx-results .m-cell.on{box-shadow:inset 0 0 0 1px var(--gold)}.mmx-actions{flex:none;display:flex;justify-content:flex-end;gap:6px;padding:4px 8px 6px;border-top:1px solid var(--win-line-2)}.m-mix .mmx-actions .btn{min-width:62px;height:24px}.mmx-progress{position:relative;overflow:hidden;height:18px;background:var(--win-dark)}.mmx-progress i{position:absolute;inset:0 auto 0 0;background:#8a6d2a;animation:mmx-fill var(--mix-ms) linear forwards}.mmx-progress span{position:relative;display:block;text-align:center;color:var(--gold)}.mmx-result{color:#ffb0a8}.mmx-result.ok{color:#6adf8a}@keyframes mmx-fill{0%{width:0}to{width:100%}}.mmx-top{grid-template-columns:minmax(0,1fr) 42px 44px;gap:5px;min-height:0}.mmx-ingredients{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:57px;gap:3px;max-height:118px;overflow:auto}.mmx-ingredient{min-width:0;text-align:center}.m-mix .mmx-ingredient .m-cell{width:100%;height:44px;min-height:0;background:url(/ui/inventory/equip/bag-cell.png) center/100% 100% no-repeat;border:0;border-radius:0}.mmx-ingredient>span{display:block;font-size:10px;line-height:13px}.mmx-ingredient.short{color:#ffb0a8}.mmx-top>.mmx-arrow{display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:11px;color:#fff}.mmx-arrow>span{color:#72ccfa;font-size:20px}.mmx-flow{justify-content:center;padding:0}.mmx-info{grid-column:1 / -1;max-height:76px}.mmx-info .mmx-chance,.mmx-info .mmx-material{display:none}.m-mix{min-width:0;min-height:0;overflow:hidden}.m-mix .mmx-body{min-width:0;overflow-x:hidden;box-sizing:border-box;padding:6px;scrollbar-width:thin}.m-mix .mmx-top{min-width:0;grid-template-columns:minmax(0,3fr) minmax(28px,.8fr) minmax(0,1fr);gap:3px}.m-mix .mmx-ingredients{min-width:0;grid-auto-rows:auto;max-height:136px;overflow-x:hidden;scrollbar-width:thin;align-content:start}.m-mix .mmx-ingredient .m-cell{height:auto;aspect-ratio:1}.m-mix .mmx-ingredient>span{overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.m-mix .mmx-flow{min-width:0}.m-mix .mmx-flow .m-cell{width:100%;max-width:44px;height:auto;aspect-ratio:1;box-sizing:border-box}.m-mix .mmx-top>.mmx-arrow{min-width:0;font-size:10px}.m-mix .mmx-info{box-sizing:border-box;scrollbar-width:thin}.m-mix .mmx-actions{min-width:0;flex-wrap:wrap;padding:4px 6px;gap:4px}.m-mix .mmx-actions .btn{min-width:0;flex:1;max-width:76px;padding-inline:4px}.mmx-batch{flex:0 0 100%;min-width:0;display:flex;align-items:center;justify-content:space-between;gap:4px;font-size:11px}.mmx-batch label{display:flex;align-items:center;gap:4px}.mmx-batch input{box-sizing:border-box;width:48px;min-width:0;height:22px;padding:0 3px;font-size:12px}.m-mix .mmx-actions .btn{box-sizing:border-box;flex:0 0 62px;width:62px;min-width:62px;max-width:62px;height:24px;min-height:24px;padding:0 4px;font-size:11px}.m-item-work>.m-pane-title{position:relative;padding:0 24px}.m-item-work>.m-pane-title>.close{top:50%;transform:translateY(-50%)}#mobile-enhance{display:flex;flex:1;flex-direction:column;min-width:0;min-height:0;gap:5px;font-size:12px}#mobile-enhance .m-step-panels{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.12fr);flex:1;min-height:0;gap:6px}#mobile-enhance .m-pane-title{min-height:24px;font-size:12px}#mobile-enhance .m-step-equipment-body,#mobile-enhance .m-step-material-body{min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:6px}#mobile-enhance .m-step-equipment-body{display:flex;flex-direction:column;gap:5px}#mobile-enhance .m-step-name{color:var(--gold);text-align:center;font-weight:400;line-height:1.3;overflow-wrap:anywhere}#mobile-enhance .m-step-location{color:#b9c8cb;text-align:center;font-size:10px}#mobile-enhance .m-step-flow{display:flex;align-items:center;justify-content:center;gap:18px}#mobile-enhance .m-step-flow>div{display:flex;flex-direction:column;align-items:center;gap:3px}#mobile-enhance .m-step-flow small{color:#c4c4b6;font-size:10px}#mobile-enhance .m-step-flow .m-cell{flex:none;width:48px;height:48px}#mobile-enhance .m-step-arrow{color:var(--gold);font-size:24px}#mobile-enhance .m-step-equipment-actions{display:flex;justify-content:center;gap:5px}#mobile-enhance .m-step-equipment-actions .btn{min-height:26px;height:26px;padding:0 8px;font-size:11px}#mobile-enhance .m-step-chance{display:flex;justify-content:space-between;align-items:baseline;flex-wrap:wrap;gap:4px}#mobile-enhance .m-step-chance>span{font-size:11px}#mobile-enhance .m-step-chance>b{color:#80e995;font-size:22px;font-weight:400;font-variant-numeric:tabular-nums;line-height:1.1}#mobile-enhance .m-step-meter{flex:none;height:6px;border:1px solid #070e12;background:#111b22}#mobile-enhance .m-step-meter>i{display:block;height:100%;background:linear-gradient(#7cdd8d,#328d47)}#mobile-enhance .m-step-price,#mobile-enhance .m-step-balance{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;font-size:11px}#mobile-enhance .m-step-price.short .money{color:#ff9f91}#mobile-enhance .m-step-balance{color:#b9b4a0}#mobile-enhance .m-step-protection{display:flex;align-items:center;gap:6px;padding-top:4px;border-top:1px solid var(--win-line-2)}#mobile-enhance .m-step-protection .m-cell{flex:none;width:36px;height:36px}#mobile-enhance .m-step-protection .btn{flex:1;min-width:0;min-height:34px;height:auto;padding:3px 6px;font-size:11px;text-align:left;white-space:normal}#mobile-enhance .m-step-protection small{display:block;font-size:10px;color:#b9c8cb}#mobile-enhance .m-step-sealed{margin:0;color:#ffcf8b;font-size:10px}#mobile-enhance .m-step-red{display:flex;gap:6px;align-items:flex-start;padding:0 0 6px;font-size:12px}#mobile-enhance .m-step-red input{flex:none;width:18px;height:18px;margin:0;accent-color:#d2b86c}#mobile-enhance .m-step-red small{display:block;color:#d5bb9e;font-size:10px;line-height:1.35;margin-top:2px}#mobile-enhance .m-step-stones{display:grid;gap:5px}#mobile-enhance .m-step-stone{display:grid;grid-template-columns:36px minmax(0,1fr) 144px;align-items:center;gap:6px;padding:5px;border:1px solid var(--win-line-2);background:var(--win-dark)}#mobile-enhance .m-step-stone.on{border-color:#b7a469}#mobile-enhance .m-step-stone-visual{position:relative;width:36px;height:36px;grid-column:1;align-self:center}#mobile-enhance .m-step-stone-visual>.m-cell{display:block;width:100%;height:100%}#mobile-enhance .m-step-stone-visual>.icon{position:absolute;inset:2px;width:calc(100% - 4px);height:calc(100% - 4px);object-fit:contain;pointer-events:none}#mobile-enhance .m-step-stone.none>.m-step-stone-visual{opacity:.4;filter:grayscale(1)}#mobile-enhance .m-step-stone-info{display:flex;flex-direction:column;gap:2px;min-width:0}#mobile-enhance .m-step-stone-info strong{font-weight:400;font-size:11px;overflow-wrap:anywhere}#mobile-enhance .m-step-stone-info small{color:#b9b4a0;font-size:10px}#mobile-enhance .m-step-quantity{display:grid;grid-template-columns:28px minmax(26px,1fr) 28px 44px;gap:4px;align-items:center}#mobile-enhance .m-step-quantity .btn{min-width:0;min-height:28px;height:28px;padding:0;font-size:15px}#mobile-enhance .m-step-quantity .m-step-max{font-size:10px}#mobile-enhance .m-step-quantity b{text-align:center;color:var(--gold);font-size:12px;font-weight:400;font-variant-numeric:tabular-nums}#mobile-enhance .m-step-footer{display:flex;align-items:center;gap:8px;flex:none;min-height:44px;padding:5px 6px;border:1px solid var(--win-line);background:var(--win-bg)}#mobile-enhance .m-step-feedback{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px;font-size:11px;line-height:1.35}#mobile-enhance .m-step-feedback strong{font-size:12px;font-weight:400}#mobile-enhance .success{color:#8de49c}#mobile-enhance .warning{color:#ffba99}#mobile-enhance .m-step-actions{display:flex;gap:5px;flex:none}#mobile-enhance .m-step-actions .btn{min-width:76px;min-height:34px;height:34px;padding:0 8px;font-size:12px}#mobile-enhance .m-step-actions .btn.act{min-width:104px;color:var(--gold)}@media(max-height:360px){#mobile-enhance .m-step-flow .m-cell{width:40px;height:40px}#mobile-enhance .m-step-equipment-body{gap:3px}#mobile-enhance .m-step-footer{min-height:38px}}@media(max-width:640px){#mobile-enhance .m-step-stone{grid-template-columns:36px minmax(0,1fr);gap:4px 6px}#mobile-enhance .m-step-stone-visual{grid-row:1 / 3}#mobile-enhance .m-step-quantity{grid-column:2}}.m-ref-picker-empty{opacity:.45}.m-ref-quantity-backdrop{position:fixed;inset:0;z-index:350;display:flex;align-items:center;justify-content:center;background:#0008;pointer-events:auto}html.touch-ui .m-ref-quantity-backdrop #reinforce-quantity-dialog.quantity-dialog.panel{position:relative;left:auto;top:auto;transform:none;zoom:var(--m-zoom,.85);max-height:calc((100dvh - 24px) / var(--m-zoom,.85));overflow-y:auto}#mobile-reinforce{display:flex;flex:1;flex-direction:column;min-width:0;min-height:0;gap:5px;color:#eee;font-size:12px}#mobile-reinforce .m-ref-panels{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.12fr);flex:1;min-height:0;gap:6px}#mobile-reinforce .m-pane-title{min-height:24px;font-size:12px}#mobile-reinforce .m-ref-target-body,#mobile-reinforce .m-ref-material-body{min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:6px}#mobile-reinforce .m-ref-target-body{display:flex;flex-direction:column;gap:5px}#mobile-reinforce .m-ref-name{color:var(--gold);text-align:center;font-weight:400;line-height:1.3;overflow-wrap:anywhere}#mobile-reinforce .m-ref-flow{display:flex;align-items:center;justify-content:center;gap:18px}#mobile-reinforce .m-ref-flow>div{display:flex;flex-direction:column;align-items:center;gap:3px}#mobile-reinforce .m-ref-flow small{color:#c4c4b6;font-size:10px}#mobile-reinforce .m-ref-flow>span{color:var(--gold);font-size:24px}#mobile-reinforce .m-ref-flow .m-cell{flex:none;width:48px;height:48px}#mobile-reinforce .m-ref-target-actions{display:flex;justify-content:center;gap:5px}#mobile-reinforce .m-ref-target-actions .btn{min-height:26px;height:26px;padding:0 8px;font-size:11px}#mobile-reinforce .m-ref-stats{padding:5px 6px;border:1px solid var(--win-line-2);background:var(--win-dark)}#mobile-reinforce .m-ref-stats h3{margin:0 0 3px;color:var(--gold);font-size:11px;font-weight:400}#mobile-reinforce .m-ref-stats>div{display:flex;flex-direction:column;gap:2px;color:#bed9ec;font-size:12px}#mobile-reinforce .m-ref-stats .empty{color:#aaa997;font-size:10px}#mobile-reinforce .m-ref-preview h3{color:#8de49c}#mobile-reinforce .m-ref-price,#mobile-reinforce .m-ref-balance{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;font-size:11px}#mobile-reinforce .m-ref-balance{color:#b9b4a0}#mobile-reinforce .m-ref-support{display:flex;align-items:center;gap:6px;padding-top:4px;border-top:1px solid var(--win-line-2)}#mobile-reinforce .m-ref-support .m-cell{flex:none;width:36px;height:36px}#mobile-reinforce .m-ref-support .btn{flex:1;min-width:0;min-height:34px;height:auto;padding:3px 6px;font-size:11px;text-align:left;white-space:normal}#mobile-reinforce .m-ref-support small{display:block;font-size:10px;color:#b9c8cb}#mobile-reinforce .m-ref-description{margin:0 0 6px;font-size:11px;color:#c6c4b5}#mobile-reinforce .m-ref-material-card{display:grid;grid-template-columns:36px minmax(0,1fr);align-items:center;gap:4px 6px;margin-bottom:5px;padding:5px;border:1px solid var(--win-line-2);background:var(--win-dark)}#mobile-reinforce .m-ref-material-card.selected{border-color:#b7a469}#mobile-reinforce .m-ref-material-card>.m-cell{width:36px;height:36px;grid-column:1;grid-row:1 / 3;align-self:center}#mobile-reinforce .m-ref-material-card.unavailable>.m-cell{opacity:.4;filter:grayscale(1)}#mobile-reinforce .m-ref-material-info{display:flex;flex-direction:column;gap:2px;min-width:0}#mobile-reinforce .m-ref-material-info strong{font-weight:400;font-size:11px;overflow-wrap:anywhere}#mobile-reinforce .m-ref-material-info small{color:#b9b4a0;font-size:10px}#mobile-reinforce .m-ref-material-info .m-ref-material-max{color:#b8d8e7}#mobile-reinforce .m-ref-quantity{display:grid;grid-column:2;grid-template-columns:28px minmax(40px,1fr) 28px 44px;gap:4px}#mobile-reinforce .m-ref-quantity .btn{min-width:0;min-height:28px;height:28px;padding:0;font-size:15px}#mobile-reinforce .m-ref-quantity .m-ref-count,#mobile-reinforce .m-ref-quantity .m-ref-max{font-size:11px}#mobile-reinforce .m-ref-count{color:var(--gold);font-variant-numeric:tabular-nums}#mobile-reinforce .m-ref-empty{color:#b9b4a0;font-size:11px}#mobile-reinforce .m-ref-footer{display:flex;align-items:center;flex:none;gap:8px;min-height:44px;padding:5px 6px;border:1px solid var(--win-line);background:var(--win-bg)}#mobile-reinforce .m-ref-feedback{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px;font-size:11px;line-height:1.35}#mobile-reinforce .m-ref-feedback small{color:#b9b4a0;font-size:10px}#mobile-reinforce .warning,#mobile-reinforce .warning .money{color:#ffac87}#mobile-reinforce .m-ref-actions{display:flex;flex:none;gap:5px}#mobile-reinforce .m-ref-actions .btn{min-width:76px;min-height:34px;height:34px;padding:0 8px;font-size:12px}#mobile-reinforce .m-ref-actions .btn.act{min-width:104px;color:var(--gold)}@media(max-height:360px){#mobile-reinforce .m-ref-flow .m-cell{width:40px;height:40px}#mobile-reinforce .m-ref-target-body{gap:3px}#mobile-reinforce .m-ref-footer{min-height:38px}}.m-blessing-content{padding:8px;background:var(--win-bg-2);border:1px solid var(--win-line);text-align:center}.m-blessing-content>strong{display:block;color:var(--gold);font-weight:400}.m-blessing .m-step-flow{gap:16px}.m-blessing-content p{overflow-wrap:anywhere;line-height:1.4}.m-blessing-content .m-blessing-blocked{color:#ff8a80}.m-blessing-content .blessing-options{text-align:left;padding:6px;background:var(--win-bg);max-height:180px;overflow-y:auto}.m-blessing-content .blessing-options strong{display:block;color:#55cf78;font-weight:400}.m-blessing-content .blessing-group-heading{margin-top:8px}#mobile-panel .m-equipment-heading{flex:none;width:100%;max-width:272px;margin:0 auto;padding:3px 0;color:var(--gold);font-size:12px;font-weight:400;border-bottom:1px solid var(--win-line-2)}#mobile-panel .m-inventory-fashion{flex:none;width:100%;max-width:272px;margin:4px auto 0}#mobile-panel .m-inventory-fashion .fashion-row{display:grid;grid-template-columns:repeat(auto-fit,44px);justify-content:space-between;gap:10px 6px;margin:8px 0}#mobile-panel .m-inventory-fashion .fashion-cell{min-width:0;gap:4px}#mobile-panel .m-inventory-fashion .cell{width:44px;height:44px;flex:none}#mobile-panel .m-inventory-fashion .cell :is(.item-pic,.icon){inset:2px;width:40px;height:40px;object-fit:contain}#mobile-panel .m-inventory-fashion .fashion-label{text-align:center;line-height:1.2}html.touch-ui #mobile-panel .m-inventory-fashion .btn.fashion-visibility{width:16px;height:16px;min-width:0;min-height:0;padding:0;border:0;border-image:none}#monster-drops{pointer-events:auto;position:absolute;z-index:6;left:50%;top:126px;transform:translate(-50%);width:300px;box-sizing:border-box;font-size:12px}#monster-drops .warn{margin:4px 0;padding:4px 6px;color:#ffc766;background:#3a2a0a;border:1px solid #6b5420}#monster-drops .drops-list{display:flex;flex-direction:column;gap:3px;max-height:min(50vh,340px);overflow-y:auto;margin-top:6px}#monster-drops .drop-row{display:flex;align-items:center;gap:8px;min-height:38px;padding:2px 6px;background:var(--win-dark);border:1px solid #000;box-shadow:inset 0 0 0 1px var(--win-line-2)}#monster-drops .drop-row:hover{background:#1d1d1a}#monster-drops .pic{flex:none;position:relative;width:34px;height:34px;display:grid;place-items:center}#monster-drops .pic .icon{width:32px;height:32px;object-fit:contain;image-rendering:pixelated}#monster-drops .pic.coin{object-fit:contain;padding:3px;box-sizing:border-box;image-rendering:pixelated}#monster-drops .nm{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#monster-drops .pct{flex:none;color:var(--gold);font-weight:400;font-variant-numeric:tabular-nums}#monster-drops .empty{padding:10px;text-align:center;opacity:.8}#monster-drops .foot{margin-top:6px;text-align:center;font-size:11px;opacity:.75}.m-monster .m-sum{flex:1}.m-facts{display:flex;flex-direction:column;gap:4px;margin-bottom:8px}.m-fact{display:flex;justify-content:space-between;gap:10px;padding:4px 8px;background:var(--win-dark);border:1px solid var(--win-line-2);font-size:14px}.m-fact span{color:#b9b4a0}.m-fact b{font-weight:400;color:#f6dc6a;text-align:right}.m-monster .drops-list{display:flex;flex-direction:column;gap:4px}.m-monster .drop-row{display:flex;align-items:center;gap:8px;padding:4px 8px;background:var(--win-dark);border:1px solid var(--win-line-2);font-size:14px}.m-monster .drop-row .pic{position:relative;flex:none;width:34px;height:34px}.m-monster .drop-row .nm{flex:1;min-width:0}.m-monster .drop-row .pct{flex:none;font-weight:400;color:#f6dc6a}.m-monster .drop-row .pic.coin{object-fit:contain;padding:3px;box-sizing:border-box;image-rendering:pixelated}.m-main .m-skills .m-pane-title{padding:0 44px 0 26px;gap:18px;justify-content:space-between}.m-full .m-skills .m-groups{padding:4px 8px 0;gap:4px}.m-full .m-skills .m-groups .btn{min-width:0;min-height:26px;height:26px;padding:0 6px;font-size:12px;line-height:1}.m-full .m-skills .m-art-pages{display:flex;flex:none;justify-content:flex-start;gap:4px;padding:4px 8px 6px}.m-full .m-skills .m-art-pages .btn{width:28px;min-width:28px;min-height:24px;height:24px;padding:0;font-size:12px;line-height:1}.m-skills .m-combat-grid{display:grid;grid-template-columns:repeat(5,minmax(0,44px));gap:5px;padding:8px;justify-content:center}.m-skills .m-combat-cell{position:relative;display:grid;place-items:center;width:100%;aspect-ratio:1;min-width:0;padding:0;border:0;background:var(--win-dark) url(/ui/inventory/equip/bag-cell.png) center / 100% 100% no-repeat}.m-skills .m-combat-cell .m-icon{width:38px;height:38px;max-width:100%;max-height:100%}.m-skills .m-combat-cell.on{box-shadow:inset 0 0 0 2px var(--gold)}.m-skills .m-combat-cell.unlearned .m-icon{opacity:.4;filter:grayscale(.6)}.m-skills .m-combat-level{position:absolute;bottom:1px;left:3px;color:#fff;font-size:11px;line-height:1;text-shadow:0 1px 2px black;pointer-events:none}.m-panel{position:fixed;top:0;bottom:0;right:calc(var(--slot-size) + var(--tab-width) + 12px);width:var(--m-w);z-index:60;display:flex;flex-direction:column;box-sizing:border-box;background:var(--win-bg);border:1px solid var(--win-line);border-top:0;border-bottom:0;box-shadow:0 0 0 1px #000a,-6px 0 18px #0008;font-size:15px;line-height:1.35;color:#f0ecd8;pointer-events:auto;font-family:var(--game-font, Kanit, system-ui, sans-serif)}.m-tabs{flex:none;display:flex;background:var(--titlebar),#26324f;border-bottom:1px solid #000a}.m-tab{flex:1;min-height:48px;padding:0 6px;font:inherit;font-size:15px;color:#e8e4d4;background:transparent;border:0;border-right:1px solid #0006;cursor:url(/ui/cursors/default.cur),pointer;text-shadow:0 1px 2px #000}.m-tab.on{background:#0005;color:#f6dc6a;box-shadow:inset 0 -3px #f6dc6a}.m-badge{margin-left:6px;padding:0 6px;border-radius:9px;background:#f1c40f;color:#222;font-size:12px;font-weight:400}.m-scroll{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:8px 10px;-webkit-overflow-scrolling:touch}.m-title{display:flex;align-items:center;gap:8px;margin:6px 0;padding-bottom:3px;color:#f6dc6a;border-bottom:1px solid var(--win-line-2);font-size:14px}.m-title .m-gold{margin-left:auto;color:#e8e4d4}.m-small{min-height:34px;padding:0 12px;font:inherit;font-size:13px;color:#e8e4d4;background:var(--win-bg-2);border:1px solid var(--win-line);border-radius:2px;cursor:url(/ui/cursors/default.cur),pointer}.m-equip,.m-bag{display:grid;grid-template-columns:repeat(5,1fr);gap:6px;margin-bottom:8px}.m-cell{position:relative;aspect-ratio:1;min-width:0;padding:0;background:var(--win-dark);border:1px solid var(--win-line-2);border-radius:2px;color:#8d8a7a;cursor:url(/ui/cursors/default.cur),pointer;touch-action:manipulation}.m-cell.filled{border-color:var(--win-line)}.m-cell.on{border-color:#f6dc6a;box-shadow:inset 0 0 0 2px #f6dc6a,0 0 8px #f6dc6a66;background:#f6dc6a22}.m-cell .item-pic,.m-cell .icon{position:absolute;inset:6%;width:auto;height:auto;background:center / contain no-repeat;pointer-events:none}.m-slotname{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-size:11px;text-align:center;opacity:.7;pointer-events:none}.m-count{position:absolute;right:3px;bottom:1px;font-size:12px;color:#fff;text-shadow:0 0 3px #000,0 0 3px #000;pointer-events:none}.m-detail{flex:none;max-height:56%;overflow-y:auto;overscroll-behavior:contain;padding:8px 10px 10px;border-top:1px solid var(--win-line);background:#1a1a1a}.m-lines{margin-bottom:8px;font-size:14px}.m-line{display:flex;justify-content:space-between;gap:8px}.m-line.bold{color:#fff;font-size:16px}.m-gap{height:6px}.m-hint{padding:6px 0;color:#b9b4a0;font-size:14px}.m-hint.warn{color:#f6dc6a;display:flex;justify-content:space-between;align-items:center;gap:8px}.m-actions{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:8px}.m-btn{min-height:48px;padding:0 10px;font:inherit;font-size:15px;color:#f0ecd8;background:var(--win-bg-2);border:1px solid var(--win-line);border-radius:2px;cursor:url(/ui/cursors/default.cur),pointer;touch-action:manipulation}.m-btn:active:not(:disabled){background:#3a3a35}.m-btn:disabled{opacity:.4}.m-btn.danger{color:#ff8a80}.m-slots .m-slotrow{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;margin:6px 0 8px}.m-subtabs{flex:none;display:flex;align-items:center;gap:6px;padding:8px 10px 0}.m-subtabs .btn{flex:1;min-height:44px;font-size:15px}.m-points{margin-left:auto;color:#f6dc6a;white-space:nowrap}.m-row{display:flex;align-items:center;gap:10px;width:100%;min-height:60px;margin-bottom:6px;padding:6px 8px;font:inherit;text-align:left;color:#f0ecd8;background:var(--win-dark);border:1px solid var(--win-line-2);border-radius:2px;cursor:url(/ui/cursors/default.cur),pointer;touch-action:manipulation}.m-row.on{border-color:#f6dc6a;background:#f6dc6a22}.m-row.unlearned,.m-row.blocked{opacity:.6}.m-row.off{opacity:.45}.m-icon{flex:none;width:44px;height:44px;background-repeat:no-repeat}.m-name{flex:1;min-width:0;font-size:16px}.m-name small{display:block;color:#b9b4a0;font-size:12px}.m-meta{flex:none;color:#b9b4a0;font-size:13px}.m-menubtn{font-weight:400}.mstatus .st-body{padding:0}.mstatus{font-size:15px}.mstatus h3{font-size:14px;margin:14px 0 8px}.mstatus .st-stat{padding:8px 8px 8px 10px}.mstatus .st-plus{width:40px;height:40px;font-size:20px;line-height:38px}.mstatus .st-plus:not(.wide){width:39px;height:30px}.mstatus .st-amount input{width:90px;height:40px;font-size:16px}.mstatus .st-row{line-height:26px;font-size:15px}.mstatus .st-el{line-height:28px;font-size:15px}.m-lines .tip-name,.m-lines .tip-good{color:#8ee08e}.m-lines .tip-bad{color:#ff7d73}.m-lines .tip-bonus{color:#7fc8ff}.m-lines .tip-rare{color:#ffb340}.m-lines .tip-dim{color:#9a9684}.m-lines .tip-price{color:#f6dc6a}.m-lines .tip-mp{color:#6ad8ff}.m-lines .tip-kind{color:#8d8a7a}.m-lines .tip-text{color:#d9d4c0}.m-lines .tip-name{color:#f0ecd8}#m-menu-bag,#m-menu-status,#m-menu-skills{pointer-events:auto;cursor:url(/ui/cursors/default.cur),pointer;color:#e8e4d4}.m-menubtn.on{color:#f6dc6a;box-shadow:inset 0 0 0 2px #f6dc6a}.m-equip,.m-bag{grid-template-columns:repeat(5,minmax(0,64px));justify-content:space-between;gap:6px}.m-equip .m-cell{aspect-ratio:auto;height:54px}.m-bag .m-cell{aspect-ratio:auto;height:64px}.m-detail{max-height:46%}.m-lines{font-size:13px;margin-bottom:6px}.m-line.bold{font-size:15px}.m-btn{min-height:44px}.m-subtabs .btn{min-height:38px;font-size:14px}.m-detail{max-height:42%}.m-full{position:fixed;inset:6px;z-index:200;display:flex;gap:6px;font-size:15px;line-height:1.35;color:#f0ecd8;font-family:var(--game-font, Kanit, system-ui, sans-serif);pointer-events:auto}.m-main{flex:1;min-width:0;display:flex;gap:6px}.m-pane{display:flex;flex-direction:column;min-width:0;min-height:0;background:#1c1c1cf2;border:1px solid var(--win-line);box-shadow:0 0 0 1px #000a}.m-left{flex:0 0 var(--m-left-pane-width, 40%)}.m-right{flex:1}.m-inventory-bag,.m-inventory-pane{position:relative}#m-fashion-toggle{right:calc(100% + 2px)}.m-fashion-pane .fashion-row{padding:0}.m-fashion-face{grid-area:1 / 3}.m-fashion-hands{grid-area:3 / 3}.m-fashion-pane .m-worn-body>:is(.m-fashion-face,.eq-belt,.m-fashion-hands){transform:translate(8px)}.m-fashion-spacer{aspect-ratio:1;min-height:32px;pointer-events:none}.m-fashion-pane .fashion-cell{width:100%;min-width:0;aspect-ratio:1}.m-fashion-pane .fashion-row .cell{width:100%;height:100%;min-height:32px}.m-fashion-pane .fashion-row .cell .icon{left:2px;top:2px;width:calc(100% - 4px);height:calc(100% - 4px);object-fit:contain}.m-fashion-pane .btn.fashion-visibility{min-width:0;min-height:0;width:16px;height:16px;padding:0;border:0;border-image:none}.m-fashion-pane .fashion-label{display:none}.m-wide{flex:1}.m-pane-title{flex:none;display:flex;align-items:center;justify-content:center;gap:12px;min-height:26px;background:var(--titlebar),#26324f;border-bottom:1px solid #000a;color:#f6dc6a;font-size:15px;text-shadow:0 1px 2px #000}.m-full .m-pane>.m-pane-title,.m-full>header{margin:-4px -1px 0}.m-side{flex:none;width:92px;display:flex;flex-direction:column;gap:6px}.m-side .m-tab{flex:none;min-height:54px;padding:0 6px;font:inherit;font-size:15px;color:#e8e4d4;background:var(--titlebar),#26324f;border:1px solid var(--win-line);border-radius:0 14px 14px 0;box-shadow:0 0 0 1px #000a;cursor:url(/ui/cursors/default.cur),pointer;text-shadow:0 1px 2px #000}.m-side .m-tab.on{color:#f6dc6a;box-shadow:0 0 0 1px #000a,inset 0 0 0 2px #f6dc6a;transform:translate(-4px)}.m-char{flex:1;min-height:0;display:grid;grid-template-columns:58px 1fr 58px;gap:6px;padding:8px;overflow-y:auto;align-content:start}.m-col{display:flex;flex-direction:column;gap:6px}.m-col .m-cell{width:58px;height:58px;aspect-ratio:auto}.m-sum{min-width:0;text-align:center;padding-top:6px}.m-sum-name{font-size:17px;color:#fff;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.m-sum-lv{color:#f6dc6a;font-size:18px;margin-bottom:8px}.m-sum dl{display:grid;grid-template-columns:1fr auto;gap:3px 6px;margin:0;font-size:12px;text-align:left}.m-sum dt{color:#b9b4a0}.m-sum dd{margin:0;text-align:right;font-variant-numeric:tabular-nums}.m-sum dd.hot{color:#f6dc6a}.m-right .m-scroll{padding:8px}.m-bag{grid-template-columns:repeat(auto-fill,minmax(58px,1fr));justify-content:stretch}.m-bag .m-cell{aspect-ratio:1;height:auto}.m-foot{flex:none;display:flex;align-items:center;gap:10px;padding:6px 8px;border-top:1px solid var(--win-line);background:#141414;font-size:14px}.m-foot .m-gold{margin-left:auto;color:#f6dc6a}.m-foot .m-btn{min-height:40px;padding:0 16px}.m-groups{flex:none;display:flex;gap:6px;padding:8px 8px 0}.m-chip{flex:1;min-height:40px;font:inherit;font-size:14px;color:#e8e4d4;background:var(--win-bg-2);border:1px solid var(--win-line);border-radius:18px;cursor:url(/ui/cursors/default.cur),pointer}.m-chip.on{color:#f6dc6a;border-color:#f6dc6a;background:#f6dc6a22}.m-pane-title .m-points{color:#e8e4d4;font-size:13px}.m-backdrop{position:fixed;inset:0;z-index:210;display:flex;align-items:center;justify-content:center;background:#0008}.m-pop{width:min(460px,calc(100vw - 32px));max-height:calc(100vh - 24px);overflow-y:auto;padding:12px 14px;background:#1c1c1c;border:1px solid var(--win-line);box-shadow:0 0 0 1px #000a,0 8px 28px #000a}.m-pop .m-lines{font-size:14px}.m-pop-close{width:100%;margin-top:8px;background:transparent}.mstatus .st-body{display:grid;grid-template-columns:1fr 1fr;gap:0 18px;align-items:start}.m-side{padding:6px 0 6px 6px;background:#121212;border-radius:10px 0 0 10px}.m-xbtn{position:absolute;top:0;right:0;z-index:3;width:48px;height:36px;padding:0;font:inherit;font-size:18px;color:#fff;background:#7a1f1f;border:1px solid var(--win-line);cursor:url(/ui/cursors/default.cur),pointer}.m-main .m-pane-title{padding-right:0}.m-sum{padding:0;display:flex}.m-preview{flex:1;width:100%;min-height:240px;height:100%;border-radius:6px;background:radial-gradient(ellipse at 50% 40%,#3a4a5e,#161a22 75%);cursor:grab;touch-action:none}.m-char{align-items:stretch}.m-full .btn{min-height:44px;font-size:15px;padding:0 12px}.m-full .btn.danger{color:#ff8a80}.m-actions{grid-template-columns:repeat(auto-fit,minmax(120px,1fr))}.m-slots .m-slotrow .btn{min-width:0;padding:0}.m-foot .btn{min-height:40px}.m-cell .icon{position:absolute;inset:auto;transform:translate(-50%,-50%);width:auto;height:auto;max-width:84%;max-height:84%;object-fit:contain}.m-char{grid-template-columns:50px 1fr 50px;padding:6px;overflow:hidden}.m-col{justify-content:space-between}.m-col .m-cell{width:50px;height:50px}.m-col{justify-content:center;gap:5px}.m-col .m-cell{width:48px;height:48px}.m-char{grid-template-columns:48px 1fr 48px;align-items:center}.m-char .m-sum{align-self:stretch}.m-cell .count{position:absolute;right:3px;bottom:1px;font-size:12px;color:#fff;text-shadow:0 0 3px #000,0 0 3px #000;pointer-events:none}.m-cell{border:0;background:var(--win-dark) url(/ui/inventory/equip/bag-cell.png) center / 100% 100% no-repeat}.m-cell.on{box-shadow:inset 0 0 0 2px #f6dc6a,0 0 8px #f6dc6a66}.m-cell.eq{background-color:transparent;box-shadow:inset 0 0 0 1px var(--win-line-2)}.m-cell.eq.on{box-shadow:inset 0 0 0 2px #f6dc6a,0 0 8px #f6dc6a66}.m-cell.eq.worn{background-image:url(/ui/inventory/equip/blank.png)}.m-mall .m-cell.active-mall-pet{background-image:url(/ui/item/cell-selected.png);background-size:100% 100%}.m-cell.eq-hat:not(.worn){background-image:url(/ui/inventory/equip/hat.png)}.m-cell.eq-weapon:not(.worn){background-image:url(/ui/inventory/equip/weapon.png)}.m-cell.eq-clothes:not(.worn){background-image:url(/ui/inventory/equip/armor.png)}.m-cell.eq-boots:not(.worn){background-image:url(/ui/inventory/equip/boots.png)}.m-cell.eq-ring:not(.worn){background-image:url(/ui/inventory/equip/ring.png)}.m-cell.eq-bracelet:not(.worn){background-image:url(/ui/inventory/equip/armguard.png)}.m-cell.eq-earring:not(.worn){background-image:url(/ui/inventory/equip/earring1.png)}.m-cell.eq-earring2:not(.worn){background-image:url(/ui/inventory/equip/earring2.png)}.m-cell.eq-wristlet:not(.worn){background-image:url(/ui/inventory/equip/bracelet.png)}.m-cell.eq-cape:not(.worn){background-image:url(/ui/inventory/equip/cape.png)}.m-cell.eq-necklace:not(.worn){background-image:url(/ui/inventory/equip/necklace.png)}.m-cell.eq-ring2:not(.worn){background-image:url(/ui/inventory/equip/ring2.png)}.m-cell.eq-belt:not(.worn){background-image:url(/ui/inventory/equip/belt.png)}.m-pop{width:min(340px,calc(100vw - 32px));padding:8px 10px}.m-pop .m-lines{font-size:13px;margin-bottom:6px}.m-pop .m-line.bold{font-size:14px}.m-pop .m-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:6px}.m-pop .m-actions .btn{flex:0 1 auto;max-width:100%;overflow-wrap:anywhere}.m-pop .btn{min-height:36px;font-size:14px;padding:0 8px}.m-pop-close{margin-top:6px}.m-slots .m-hint{padding:2px 0;font-size:13px}#m-settings{pointer-events:auto;cursor:url(/ui/cursors/default.cur),pointer;color:#e8e4d4}.m-full{--m-panel-width: calc(min(620px, 76vw) / var(--m-zoom, .85));--m-panel-height: calc(min(300px, 74vh) / var(--m-zoom, .85));--m-left-pane-width: 40%;inset:0;margin:auto;width:var(--m-panel-width);height:var(--m-panel-height)}.m-char{min-height:0}.m-sum{position:relative;min-height:0;overflow:hidden;align-self:stretch}.m-sum .m-preview{position:absolute;inset:0;width:100%;height:100%;min-height:0}.m-char.m-inventory-character{display:flex;flex-direction:column;align-items:stretch;overflow-y:auto;gap:8px}.m-worn-layout{display:grid;grid-template-columns:3fr 2fr;align-items:center;gap:8px;width:100%;max-width:272px;margin:0 auto;flex:none}.m-worn-body{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px}.m-worn-body .eq-hat{grid-area:1 / 2}.m-worn-body .eq-weapon{grid-area:2 / 1}.m-worn-body .eq-clothes{grid-area:2 / 2}.m-worn-body .eq-belt{grid-area:2 / 3}.m-worn-body .eq-boots{grid-area:3 / 2}.m-worn-accessories{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}.m-worn-layout .m-cell{width:100%;aspect-ratio:1;min-height:32px}@media(orientation:portrait){.m-full:has(>.m-main>.m-inventory-pane){width:calc(min(620px,92vw) / var(--m-zoom, .85));height:calc(min(700px,90vh) / var(--m-zoom, .85))}.m-main:has(>.m-inventory-pane){flex-direction:column}.m-inventory-pane{flex:0 0 auto;height:352px;max-height:52%}.m-inventory-bag{min-height:0}}html.m-open :is(#hud-stats,#hud-menu-bars,#hud-buttons,#minimap-box,#skillbar-wrap,#chat,#target,#buff-bar,#practice-hud,#hud-pos){display:none!important}#m-close{top:-4px;z-index:3}#mobile-panel:has(.m-inventory-bag)>#m-close{top:2px}#mobile-panel:has(.m-character-status)>#m-close{top:2px}.m-pop-foot{display:flex;gap:8px;margin-top:8px}.m-pop-foot .m-pop-close{margin-top:0;width:auto;flex:0 1 auto}.m-item-pop>.m-pop-foot{justify-content:center;flex-wrap:wrap}.m-popup-dialog{position:relative;display:flex;flex-direction:column;overflow:hidden;min-height:0}.m-popup-scroll{min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain}.m-popup-footer{flex:none;max-height:40vh;overflow-y:auto;overflow-x:hidden;padding-top:8px;border-top:1px solid var(--win-line);background:inherit}.m-item-pop .m-popup-footer{padding:8px}.m-popup-dialog .m-item-tip-title{position:sticky;top:0;z-index:20;background:linear-gradient(#304959,#183143)}.m-popup-dialog>.close{top:2px;right:14px;z-index:21}.m-popup-dialog>.close:after{inset:0}.m-popup-dialog:not(.m-item-pop){padding-top:28px}.m-popup-dialog .m-item-tip-title{padding-right:44px}html.touch-ui .m-pop.m-item-pop[role=dialog] :is(.m-actions,.m-pop-foot) .btn{min-width:min(88px,100%)!important;min-height:32px!important;height:auto!important;padding:0 8px!important;font-size:12px!important;line-height:18px!important}.m-full .m-foot .btn{min-height:26px;height:26px;padding:0 12px;font-size:13px;line-height:1}.m-full .m-inventory-bag .btn,#mobile-tower.m-full .btn.btn-sm,.m-full .m-dissolve .ds-actions .btn{min-height:22px;height:22px;padding:0 5px;font-size:11px;line-height:14px}#hud-buttons.m-buttons{position:absolute;left:50%;top:auto;bottom:6px;transform:translate(-50%);width:auto;flex-wrap:nowrap;align-items:center;gap:0;z-index:19}#hud-buttons.m-buttons .m-bar-items{display:flex;align-items:center;gap:4px;overflow:hidden;max-width:760px;transition:max-width .25s ease,opacity .2s}#hud-buttons.m-buttons button.m-iconbtn{position:relative;flex:none;box-sizing:border-box!important;width:46px!important;height:36px!important;min-width:0!important;min-height:0!important;padding:0!important;border:0!important;border-radius:0!important;background:none!important;border-image:none!important;box-shadow:none!important;cursor:url(/ui/cursors/default.cur),pointer;pointer-events:auto;filter:brightness(.9)}.m-iconbtn img{display:block;width:100%;height:100%;image-rendering:pixelated;pointer-events:none}html.touch-ui #bot-btn{position:relative}html.touch-ui #bot-btn .m-bot-running-dot{position:absolute;top:2px;right:2px;width:8px;height:8px;border:1px solid #10271a;border-radius:50%;background:#65ed8e;box-shadow:0 0 4px #65ed8e;pointer-events:none}#hud-buttons.m-buttons button.m-iconbtn:active{filter:brightness(1.4);transform:translateY(1px)}#hud-buttons.m-buttons button.m-iconbtn.on{filter:brightness(1.3) drop-shadow(0 0 3px #f6dc6a)}.m-iconbtn .m-badge{position:absolute;right:-4px;top:-6px;margin:0;padding:0 5px;font-size:11px;line-height:15px}html:not(.touch-ui) #hud-buttons.m-buttons{zoom:1}html:not(.touch-ui) #hud-buttons.m-buttons{left:auto;right:12px;bottom:12px;transform:none}html:not(.touch-ui) #hud-buttons.m-buttons button.m-iconbtn{width:42px!important;height:42px!important;filter:none}html:not(.touch-ui) #hud-buttons.m-buttons button.m-iconbtn:hover{filter:brightness(1.2)}html:not(.touch-ui) #hud-buttons.m-buttons button.m-iconbtn.on{filter:brightness(1.2) drop-shadow(0 0 3px #f6dc6a)}html:not(.touch-ui) .m-iconbtn img{position:absolute;inset:0;width:100%;height:100%;transform:none;image-rendering:auto}#hud-buttons.m-buttons .btn.m-foldbtn{flex:none;pointer-events:auto;width:26px!important;min-width:0;height:36px!important;margin-left:4px;padding:0;display:flex;align-items:center;justify-content:center}#hud-buttons.m-buttons .m-foldbtn img{width:16px;height:16px;image-rendering:pixelated;pointer-events:none}html:not(.touch-ui) #hud-buttons.m-buttons .btn.m-foldbtn{order:-1;margin:0 4px 0 0;height:42px!important}#hud-buttons.m-buttons button.m-iconbtn.soon{opacity:.45;cursor:url(/ui/cursors/default.cur),default;filter:grayscale(.4)}#hud-buttons.m-buttons button.m-iconbtn.soon:active{transform:none;filter:grayscale(.4)}html.touch-ui #hud-buttons.m-buttons{left:auto;right:calc((168px + 16px) / var(--m-zoom, .85));top:calc(8px / var(--m-zoom, .85));bottom:auto;transform:none;align-items:flex-start}@media(max-width:760px),(max-height:560px){html.touch-ui #hud-buttons.m-buttons{right:calc((120px + 16px) / var(--m-zoom, .85))}}html.touch-ui #hud-buttons.m-buttons .m-bar-items{display:flex;flex-wrap:wrap;justify-content:flex-end;width:286px;gap:2px 2px;max-width:none;overflow:visible}html.touch-ui #hud-buttons.m-buttons .m-bar-items .btn{min-width:0;padding:0}html.touch-ui #hud-buttons.m-buttons .m-bar-items button:not(.m-iconbtn){width:46px;height:46px;min-height:0;padding:0;font-size:11px;line-height:1.1}html.touch-ui #hud-buttons.m-buttons .btn.m-foldbtn{margin:0 4px 0 0;order:-1;height:46px!important}html.touch-ui #hud-buttons.m-buttons button.m-iconbtn{height:auto!important;min-height:0;padding-bottom:2px!important;display:flex;flex-direction:column;align-items:center}html.touch-ui #hud-buttons.m-buttons button.m-iconbtn img{position:static;flex:none;width:46px;height:46px;object-fit:contain}.m-iconlabel{display:block;max-width:100%;margin-top:4px;font-size:11px;line-height:14px;color:#f0ecd8;text-shadow:0 1px 2px #000;white-space:nowrap;overflow:hidden;text-overflow:clip;pointer-events:none}html.touch-ui .m-iconlabel{margin-top:0}.m-iconbtn.alarm:after{content:"";position:absolute;left:0;top:0;width:100%;aspect-ratio:1;pointer-events:none;background:url(/ui/menu/tick-1.png) center / contain no-repeat;animation:bar-alarm .45s steps(1) infinite}html.touch-ui .m-iconbtn.alarm:after{width:46px;height:46px;left:50%;transform:translate(-50%)}@keyframes bar-alarm{0%{background-image:url(/ui/menu/tick-1.png)}33.33%{background-image:url(/ui/menu/tick-2.png)}66.66%{background-image:url(/ui/menu/tick-3.png)}}.m-pocket-tabs{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:flex-end;gap:4px;margin-bottom:6px}.m-pocket-tabs .btn{height:26px;min-height:0;padding:0 12px;font-size:12px;line-height:1}.m-bag{grid-template-columns:repeat(auto-fill,46px);justify-content:space-between;gap:6px 4px}.m-bag .m-cell{width:46px;height:46px;aspect-ratio:auto}.m-bag .m-cell .icon{width:40px;height:40px;max-width:none;max-height:none;object-fit:contain}.m-bag .m-cell .item-pic{inset:3px}.m-pocket-tabs .m-inventory-shortcuts{display:flex;gap:4px;margin-right:auto}.m-inventory-pocket-tabs{flex-wrap:nowrap}.m-inventory-pocket-tabs .btn{flex-shrink:0;min-width:0;padding:0 6px;font-size:11px;white-space:nowrap}#hud-buttons.m-buttons button.m-iconbtn.pk-on{filter:brightness(1.2) drop-shadow(0 0 4px #ff3b30)}html.touch-ui :is(.m-full,#rune-window.rune-mobile,.mobile-market,#mobile-pet-merge,#system-menu.system-settings){--m-panel-width:calc(100dvw / var(--m-zoom, .85));--m-panel-height:calc(100dvh / var(--m-zoom, .85));--m-safe-top:calc(env(safe-area-inset-top, 0px) / var(--m-zoom, .85));--m-safe-right:calc(env(safe-area-inset-right, 0px) / var(--m-zoom, .85));--m-safe-bottom:calc(env(safe-area-inset-bottom, 0px) / var(--m-zoom, .85));--m-safe-left:calc(env(safe-area-inset-left, 0px) / var(--m-zoom, .85));position:fixed!important;inset:0 auto auto 0!important;width:var(--m-panel-width)!important;height:var(--m-panel-height)!important;max-width:none!important;max-height:none!important;min-width:0;min-height:0;margin:0!important;transform:none!important;zoom:var(--m-zoom, .85)!important;box-sizing:border-box;padding:max(4px,var(--m-safe-top)) max(4px,var(--m-safe-right)) max(4px,var(--m-safe-bottom)) max(4px,var(--m-safe-left))!important;background:#10171d!important;box-shadow:none;overflow:hidden!important}html.touch-ui .m-full .m-main{min-height:0;min-width:0}html.touch-ui .m-full .m-pane{min-height:0;min-width:0;box-shadow:none}html.touch-ui .m-full .m-pane>.m-pane-title,html.touch-ui .mobile-market>.m-pane-title{position:relative;margin:0}html.touch-ui .m-full>:is(header,.wtitle){margin:0;flex-shrink:0}html.touch-ui :is(.m-full,#rune-window.rune-mobile,#mobile-pet-merge,#system-menu.system-settings)>button.close{top:calc(max(4px,var(--m-safe-top)) + 2px)!important;right:calc(max(4px,var(--m-safe-right)) + 2px)!important}html.touch-ui .m-full .m-pane-title{padding-right:30px}html.touch-ui .m-full>.m-main>.m-pane:last-child>.m-pane-title{padding-right:30px}html.touch-ui .m-full .m-scroll{min-width:0;overscroll-behavior:contain}html.touch-ui .m-full .m-pane .btn.btn-sm{min-height:22px;height:22px;padding:0 5px;font-size:11px;line-height:14px}html.touch-ui .m-full .m-pane .btn.btn-md,html.touch-ui .m-full .m-pane .btn.btn-lg{min-height:26px;padding:0 8px;font-size:12px}html.touch-ui .m-full .m-main:has(.m-side-tabs){padding-left:36px}html.touch-ui .m-full .m-side-tabs{margin-right:4px}html.touch-ui .m-full .m-pane .m-side-tabs .btn{display:grid;place-items:center;padding:0;border-width:0;line-height:1;text-align:center}html.touch-ui #m-fashion-toggle{right:auto;left:1px}html.touch-ui .m-inventory-pane:has(#m-fashion-toggle)>.m-char{padding-left:24px}html.touch-ui #mobile-pets .mp-content{flex:1}html.touch-ui #mobile-pets .mp-grid,html.touch-ui #mobile-guild .mg-warehouse .m-bag{grid-template-columns:repeat(auto-fill,46px);justify-content:space-between}html.touch-ui #mobile-pets .mp-header>.mp-close{top:0}html.touch-ui #mobile-pets .mp-cradle-slot{flex:0 1 52px}html.touch-ui #rune-window.rune-mobile :is(.rune-bag-grid,.rune-equipped-grid){grid-template-columns:repeat(5,minmax(0,44px));justify-content:space-between}html.touch-ui #mobile-pet-merge>.wtitle,html.touch-ui #system-menu.system-settings>.wtitle{margin:0}html.touch-ui:has(:is(.m-full,#rune-window.rune-mobile,.mobile-market,#mobile-pet-merge,#system-menu.system-settings)) :is(#hud-stats,#hud-menu-bars,#hud-buttons,#minimap-box,#skillbar-wrap,#chat,#target,#buff-bar,#practice-hud,#hud-pos,#stick-zone,#m-target,#mobile-pet-hud,#m-boss-hp-bar){display:none!important}#stage-dialog .confirm-message small{display:block;margin-top:4px;color:#b9b4a0}#stage-dialog .stage-low{color:#ff8a8a}#stage-dialog .stage-cards{display:flex;gap:10px;justify-content:center;margin:10px 0}#stage-dialog .stage-card{display:grid;gap:2px;min-width:120px;padding:10px 12px}#stage-dialog .stage-card b{font-size:15px;color:#f6dc6a}#stage-dialog .stage-card small{font-size:11px;color:#b9b4a0}#stone-dialog{max-width:640px}#stone-dialog .stone-cols{display:flex;gap:10px;margin:8px 0}#stone-dialog .stone-list{flex:1;min-width:0;max-height:300px;overflow-y:auto;display:grid;gap:4px;align-content:start}#stone-dialog .stone-row{display:flex;align-items:center;gap:8px;text-align:left;padding:4px 6px}#stone-dialog .stone-row.on{box-shadow:inset 0 0 0 2px #f6dc6a}#stone-dialog .stone-row .cell{position:relative;width:32px;height:32px;flex:none}#stone-dialog .stone-row .cell img,#stone-dialog .stone-row .cell .item-pic{width:30px;height:30px;left:1px;top:1px}#stone-dialog .stone-icon{width:28px;height:28px;flex:none}#stone-dialog .nm{display:grid;min-width:0}#stone-dialog .nm small{color:#b9b4a0;font-size:11px}#stone-dialog .stone-empty,#stone-dialog .stone-now{color:#b9b4a0;font-size:12px}.stone-fx{display:flex;flex-wrap:wrap;gap:0 6px;font-size:11px}.stone-fx .up{color:#7fe07f}.stone-fx .down{color:#ff8a8a}#countdown{position:absolute;left:50%;top:32%;transform:translate(-50%,-50%);z-index:20;pointer-events:none;display:flex;flex-direction:column;align-items:center;gap:2px;text-shadow:0 0 4px #000,0 2px 2px #000}#countdown .cd-num{font-size:64px;font-weight:800;line-height:1;color:var(--gold);animation:cd-pop 1s ease-out}#countdown .cd-label{font-size:15px;color:#f0ecd8}#countdown .cd-hint{font-size:11px;color:#cfc8a8}@keyframes cd-pop{0%{transform:scale(1.8);opacity:0}20%{transform:scale(1);opacity:1}85%{opacity:1}to{opacity:.6}}@media(prefers-reduced-motion:reduce){#countdown .cd-num{animation:none}}#warp-dialog{width:min(440px,calc(100vw - 32px));text-align:left}.warp-list{display:flex;flex-direction:column;gap:3px;max-height:min(56vh,400px);overflow-y:auto;margin-bottom:12px}.warp-row{display:flex;align-items:center;gap:10px;padding:5px 10px;background:#00000047;border:1px solid var(--win-hi);border-radius:2px;cursor:url(/ui/cursors/default.cur),pointer;user-select:none}.warp-row.picked{background:#6a7aa059}.warp-id{flex:none;min-width:34px;opacity:.7;font-size:12px;text-align:right}.warp-name{flex:1}.warp-ch{flex:none;opacity:.7;font-size:12px}#warp-dialog .buttons button:disabled{opacity:.45;cursor:url(/ui/cursors/cantmove.cur),not-allowed}.warp-boss{flex:none;font-size:12px;color:#ff6a4a;font-weight:600}.revive-backdrop{pointer-events:auto}.revive-buttons{flex-direction:column;gap:8px}.revive-buttons button{display:flex;flex-direction:column;align-items:center;gap:2px;min-width:220px}.revive-buttons small{color:#c9c2a4;font-size:11px}html.touch-ui #stick-zone{position:fixed;left:0;bottom:0;width:min(180px,34vw);height:min(180px,34dvh);touch-action:none;pointer-events:auto;z-index:15}html.touch-ui #stick{position:fixed;width:120px;height:120px;pointer-events:none}html.touch-ui #stick i{position:absolute;left:36px;top:36px;width:48px;height:48px;border-radius:50%;background:#00000070}html.m-open #stick-zone{display:none}#party-panel{pointer-events:auto;position:absolute;left:12px;top:var(--stack-top, 232px);z-index:4;width:132px;font-size:11px;color:#e1e1e1;text-shadow:1px 1px 0 #000}#party-panel button{min-width:0;min-height:0;margin:0;padding:0;border:0;border-radius:0;box-shadow:none;font:inherit;color:inherit;text-shadow:inherit;cursor:url(/ui/cursors/default.cur),pointer}#party-panel button:disabled{cursor:url(/ui/cursors/default.cur),default}#party-panel .pp-title{position:relative;width:131px;height:14px;line-height:14px;text-align:center;color:var(--gold);background:var(--titlebar),var(--navy);image-rendering:pixelated}#party-panel .pp-bar{display:block;width:131px;height:19px;line-height:19px;text-align:center;background:url(/ui/party/bar.png);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#party-panel .pp-bar:not(:disabled):active{background-image:url(/ui/party/bar-pressed.png)}#party-panel .pp-bar:not(:disabled):hover{color:#ff0}#party-panel .pp-icons{display:grid;grid-template-columns:repeat(3,33px);justify-content:space-between;row-gap:2px;width:131px;box-sizing:border-box;padding:8px 8px 7px 10px;background:url(/ui/party/background.png)}#party-panel .pp-icon{width:33px;height:33px;background:no-repeat center}#party-panel .pp-icon:not(:disabled):hover{filter:brightness(1.25)}#party-panel .pp-icon:not(:disabled):active{transform:translate(1px,1px)}#party-panel .pp-icon:disabled{filter:grayscale(1) brightness(.45)}#party-panel .pm{position:relative;display:block;width:132px;height:48px;text-align:left;background:url(/ui/party/member.png)}#party-panel .pm:disabled{opacity:1}#party-panel .pm.away{opacity:.55}#party-panel .pm.sel{outline:1px solid #ffd54a;outline-offset:-1px}#party-panel .pm .lv{position:absolute;left:9px;top:1px;color:#fff;font-variant-numeric:tabular-nums}#party-panel .pm .nm{position:absolute;left:9px;top:14px;width:115px;color:#9dcc3a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#party-panel .pm.me .nm{color:#fff}#party-panel .pm .crown{margin-right:2px;color:#ffd54a}#party-panel .pbar{position:absolute;left:6px;width:120px;background:#1a0d0d}#party-panel .pbar.hp{top:33px;height:7px}#party-panel .pbar.mp{top:40px;height:3px;background:#0b1424}#party-panel .pbar>i{position:absolute;inset:0 auto 0 0;transition:width .2s}#party-panel .pbar.hp>i{background:linear-gradient(#ff6a5a,#c4161c 60%,#7a0d0d)}#party-panel .pbar.mp>i{background:linear-gradient(#7ab8ff,#1f5fd0)}.pp-name{width:100%;box-sizing:border-box;height:24px;margin-top:6px}html.touch-ui #party-panel.strip{display:flex;flex-direction:column;gap:2px;left:8px;top:var(--stack-top, 96px);width:112px;max-height:max(calc(55dvh - var(--stack-top, 96px)),30px);overflow:hidden;padding:3px 4px 4px;box-sizing:border-box;text-align:left;font-size:10px;background:#0c1722c8;border:1px solid var(--win-line);box-shadow:0 0 0 1px #000a}html.touch-ui #party-panel.strip:active{border-color:#9fd2ff}#party-panel .ps-row{flex:none;display:grid;grid-template-columns:1fr auto;column-gap:4px;line-height:10px}#party-panel .ps-row.away{opacity:.5}#party-panel .ps-row .nm{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#9dcc3a}#party-panel .ps-row .crown{margin-right:2px;color:#ffd54a}#party-panel .ps-row .lv{color:#cfd8e0;font-variant-numeric:tabular-nums}#party-panel .ps-bars{grid-column:1 / -1;position:relative;height:4px;margin-top:1px;background:#000}#party-panel .ps-bars i{position:absolute;left:0;transition:width .2s}#party-panel .ps-bars i.hp{top:0;height:2px;background:#d6302a}#party-panel .ps-bars i.mp{bottom:0;height:2px;background:#3d8bff}#party-panel .ps-empty{color:#ffe08a;text-align:center;line-height:16px}html:not(.touch-ui) #party-panel{--pp-z: calc(var(--stack-w, 132) / 132);zoom:var(--pp-z);left:calc(var(--stack-left, 12px) / var(--pp-z));top:calc(var(--stack-top, 232px) / var(--pp-z))}html.touch-ui #party-panel.strip{left:var(--stack-left, 8px);width:calc(var(--stack-w, 112) * 1px)}html.m-open #party-panel,html.m-open #party-panel.strip{display:none}#mobile-party .m-foot{display:flex;gap:8px;padding:6px 8px;border-top:1px solid var(--win-line);background:#141414}.mp-list{display:flex;flex-direction:column;gap:4px;padding:6px}.mp-row{display:flex;flex-direction:column;gap:5px;width:100%;min-height:52px;padding:7px 10px;box-sizing:border-box;font:inherit;text-align:left;color:#cfc8a8;background:var(--win-dark);border:1px solid var(--win-line-2);border-radius:0;cursor:url(/ui/cursors/default.cur),pointer}.mp-row.on{border-color:#f6dc6a;box-shadow:inset 0 0 0 1px #f6dc6a55}.mp-row.away{opacity:.55}.mp-head{display:flex;align-items:center;gap:6px}.mp-head .crown{flex:none;color:#ffd54a}.mp-head .nm{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#9dcc3a}.mp-head .nm.me{color:#fff}.mp-head .lv{flex:none;font-size:13px;font-variant-numeric:tabular-nums;opacity:.85}.mp-bars{position:relative;display:block;height:9px;background:#000;border:1px solid #000}.mp-bars i{position:absolute;left:0;transition:width .2s}.mp-bars i.hp{top:0;height:6px;background:linear-gradient(#ff6a5a,#c4161c)}.mp-bars i.mp{bottom:0;height:3px;background:#3d8bff}.mp-info .m-scroll{padding:10px 12px}.mp-line{display:flex;justify-content:space-between;padding:8px 0;border-bottom:1px solid var(--win-line-2);font-size:16px}.mp-line span{color:#8a8a7a}.mp-line b{font-weight:400}.mp-line b.online{color:#7ee07e}.mp-label{margin:4px 0 6px;color:#8a8a7a;font-size:14px}.mp-opts{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin-bottom:12px}.mp-opts .btn{min-height:44px;font-size:14px}.mp-add{display:flex;gap:6px}.mp-invitee{flex:1;min-width:0;height:44px;box-sizing:border-box;padding:0 10px;display:flex;align-items:center;font-size:16px;color:#f0ecd8;background:var(--win-dark);border:1px solid var(--win-line-2);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mp-hint{margin-top:12px;color:#8a8a7a;font-size:13px}#skillbar-wrap{--skillbar-top: 294px;--skillbar-slot-max: 46px;position:absolute;right:12px;top:var(--skillbar-top);display:flex;flex-direction:column;align-items:stretch;gap:2px;width:calc(var(--slot-size) + 10px);pointer-events:none}html:not(.touch-ui) #skillbar-wrap{--slot-size: min(var(--skillbar-slot-max), calc((100vh - var(--skillbar-top) - 42px) / 10))}#skillbar{display:grid;justify-content:center;box-sizing:border-box;grid-template-columns:var(--slot-size);grid-auto-rows:var(--slot-size);padding:4px;border-radius:6px;background:#000a;pointer-events:auto;touch-action:manipulation}#skillbar .slot{position:relative;width:var(--slot-size);height:var(--slot-size);padding:0;border:1px solid var(--win-line-2);border-radius:0;background:#202020;color:#ddd;cursor:url(/ui/cursors/default.cur),pointer;-webkit-tap-highlight-color:transparent}#skillbar.skin .slot{border:0;background:var(--slot) center / 100% 100% no-repeat}#skillbar .slot .key{position:absolute;left:4px;top:2px;font-size:11px;color:#f1c40f;text-shadow:0 0 2px #000}#skillbar .slot .name{position:absolute;left:0;right:0;bottom:5px;font-size:11px;text-align:center;text-shadow:0 0 3px #000}#skillbar .slot.filled .name{color:#fff}#skillbar .slot:active{filter:brightness(1.6)}#skillpager{display:flex;align-items:center;justify-content:space-between;height:26px;padding:0 4px;border-radius:6px;background:#000b;border:1px solid var(--win-line);color:#f6dc6a;font-weight:400;font-size:14px;pointer-events:auto}#skillpager .arrow{width:24px;height:20px}@media(max-width:760px),(max-height:560px){#skillbar-wrap{right:8px;--skillbar-top: 222px}}@media(max-height:560px){#skillbar-wrap{--skillbar-top: 76px;--skillbar-slot-max: 34px}}@media(max-height:460px){#skillbar .slot .name{font-size:9px;bottom:2px}#skillbar .slot .key{font-size:9px}#skillpager{height:22px}}#skillbar .slot .icon{position:absolute;inset:0;background-repeat:no-repeat;image-rendering:auto;pointer-events:none}#skillbar .slot.filled .name{background:#000a;border-radius:2px;left:3px;right:3px;bottom:3px}#skillbar{background:var(--win-bg);border:1px solid var(--win-line);border-radius:2px}#skillpager{background:var(--titlebar),#26324f;border:1px solid var(--win-line);border-radius:2px;image-rendering:pixelated}#skillbar .slot{background-color:var(--win-dark);border-color:var(--win-line-2);border-radius:0}@media(max-width:760px),(max-height:560px){#skillpager{height:18px;padding:0 2px;font-size:11px}#skillpager .arrow{position:relative;width:18px;height:14px;background-size:12px 12px;font-size:9px}#skillpager .arrow:after{content:"";position:absolute;inset:-6px -4px}}#skillbar .slot .cd{position:absolute;left:0;right:0;bottom:0;height:100%;background:#000a;pointer-events:none;transform-origin:bottom;animation:cooldown linear forwards}#skillbar .slot[draggable],#skillbar .slot.filled{touch-action:none}#skillbar .slot,#skillbar.skin .slot{border:0;background:var(--win-dark) url(/ui/inventory/equip/bag-cell.png) center / 100% 100% no-repeat}#skillbar .slot img.icon{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;pointer-events:none;image-rendering:auto}#skillbar .slot .count{position:absolute;right:3px;bottom:1px;font-size:11px;color:#fff;text-shadow:0 0 2px #000,0 0 3px #000;pointer-events:none}#skillbar .slot.spent img.icon{opacity:.35;filter:grayscale(1)}#skillpager{height:20px}#skillpager .arrow{width:16px;height:14px;background-size:12px 12px}#skillpager #skillpage-num{font-size:12px}#skillbar-wrap #skillbar{padding:4px}html.touch-ui #skillbar-wrap{position:fixed;top:auto;right:6px;bottom:6px;width:192px;height:192px;display:block;gap:0;pointer-events:none;z-index:20;background:none}html.touch-ui #skillbar{position:absolute;inset:0;display:block;padding:0;background:none;border:0;box-shadow:none;width:auto;height:auto;pointer-events:none}html.touch-ui #skillbar .slot{position:absolute;width:42px;height:42px;margin:0;padding:0;border:0;border-radius:50%;overflow:hidden;pointer-events:auto;background:#14161c url(none) center;box-shadow:0 0 0 2px var(--win-line),0 3px 8px #000b;opacity:.55}html.touch-ui #skillbar .slot.filled{opacity:1;box-shadow:0 0 0 2px var(--win-hi),0 3px 8px #000b}html.touch-ui #skillbar .slot .key,html.touch-ui #skillbar .slot .name{display:none}html.touch-ui #skillbar .slot .icon,html.touch-ui #skillbar .slot img.icon{inset:3px;width:calc(100% - 6px);height:calc(100% - 6px);border-radius:50%;background-size:contain;object-fit:cover}html.touch-ui #skillbar .slot:active{filter:brightness(1.5);transform:scale(.94)}html.touch-ui button#skillpager.btn{position:absolute;left:auto;right:22px;bottom:22px;width:32px;min-width:0;min-height:32px;height:32px;display:flex;align-items:center;justify-content:center;padding:0;box-sizing:border-box;pointer-events:auto;border:3px 7px solid transparent;border-image:var(--btn-0) 6 8 fill / 6px 8px / 0 stretch;border-radius:0;background:none;color:#f6dc6a;font:inherit;font-size:13px;line-height:1;text-shadow:0 1px 1px #000;box-shadow:none;z-index:4}html.touch-ui button#skillpager:active{transform:scale(.92)}html.touch-ui #attack-btn{position:absolute;left:68px;top:68px;width:56px;height:56px;opacity:.7;padding:0;border:0;border-radius:0;pointer-events:auto;cursor:url(/ui/cursors/default.cur),pointer;background:none;z-index:3}html.touch-ui #attack-btn img{width:100%;height:100%;object-fit:contain;pointer-events:none;filter:drop-shadow(0 2px 3px #000c);-webkit-user-drag:none}html.touch-ui #attack-btn{transition:transform .1s,opacity .1s}html.touch-ui #attack-btn:active{transform:scale(.9);opacity:1}html.touch-ui #rotate-btn{position:absolute;left:140px;top:66px;width:40px;height:60px;display:flex;flex-direction:column;padding:3px;box-sizing:border-box;border-radius:20px;pointer-events:auto;background:#000b;box-shadow:0 0 0 2px var(--win-line),0 3px 8px #000b;z-index:3}html.touch-ui #rotate-btn .tab{flex:1;display:flex;align-items:center;justify-content:center;padding:0;border:0;border-radius:17px;background:none;cursor:url(/ui/cursors/default.cur),pointer;transition:background .18s}html.touch-ui #rotate-btn .tab i{width:12px;height:12px;border-radius:50%;background:#6b6450;transition:background .18s,box-shadow .18s,transform .18s}html.touch-ui #rotate-btn .tab[aria-selected=true]{background:#f6dc6a22}html.touch-ui #rotate-btn .tab[aria-selected=true] i{background:#f6dc6a;box-shadow:0 0 8px #f6dc6a;transform:scale(1.2)}html.touch-ui #rotate-btn .tab:active i{transform:scale(.85)}html.touch-ui #skillbar .slot{width:50px;height:50px;transition:transform .12s,filter .12s,opacity .2s;animation:wheel-pop .22s ease-out backwards}html.touch-ui #skillbar .slot.filled{box-shadow:0 0 0 2px var(--win-hi),0 0 0 4px #00000080,0 3px 8px #000b}html.touch-ui #skillbar .slot.on{box-shadow:0 0 0 2px #7fe08a,0 0 10px 2px #7fe08a99,0 3px 8px #000b}html.touch-ui #skillbar .slot.blocked{filter:grayscale(.5)}@media(prefers-reduced-motion:reduce){html.touch-ui #skillbar .slot{animation:none;transition:none}}html.touch-ui #target-btn{position:absolute;left:75px;top:137px;width:42px;height:42px;padding:0;border:0;border-radius:50%;pointer-events:auto;cursor:url(/ui/cursors/default.cur),pointer;color:#f0ecd8;font-size:22px;background:#000b;box-shadow:0 0 0 2px var(--win-line),0 3px 8px #000b;z-index:3}html.touch-ui #target-btn:active{transform:scale(.92)}html.touch-ui #skillbar #slot-0{left:23px;top:119px}html.touch-ui #skillbar #slot-1{left:3px;top:71px}html.touch-ui #skillbar #slot-2{left:23px;top:23px}html.touch-ui #skillbar #slot-3{left:71px;top:3px}html.touch-ui #skillbar #slot-4{left:119px;top:23px}html.touch-ui #skillbar-wrap{width:230px;height:230px;right:-11px;bottom:-11px;transform:scale(.8);transform-origin:bottom right}html.touch-ui #attack-btn{left:87px;top:87px}html.touch-ui #skillbar #slot-0{left:28px;top:152px}html.touch-ui #skillbar #slot-1{left:2px;top:90px}html.touch-ui #skillbar #slot-2{left:28px;top:28px}html.touch-ui #skillbar #slot-3{left:90px;top:2px}html.touch-ui #skillbar #slot-4{left:152px;top:28px}html.touch-ui #rotate-btn{left:177px;top:112px;width:34px;height:34px;padding:0;border:0;border-radius:50%;display:flex;align-items:center;justify-content:center;cursor:url(/ui/cursors/default.cur),pointer;pointer-events:auto;color:#f0ecd8;background:#000b;box-shadow:0 0 0 2px var(--win-line),0 3px 8px #000b}html.touch-ui #rotate-btn .rot{font-size:19px;line-height:1;transform:rotate(var(--turn, 0deg));transition:transform .3s ease}html.touch-ui #rotate-btn:active{transform:scale(.92)}html.touch-ui #target-btn{left:112px;top:177px;width:34px;height:34px;font-size:18px}html.touch-ui #rotate-btn,html.touch-ui #target-btn{display:flex;align-items:center;justify-content:center;padding:0;border:0;border-radius:0;background:none;box-shadow:none}html.touch-ui #rotate-btn{width:32px;height:36px}html.touch-ui #target-btn{width:32px;height:32px}html.touch-ui #rotate-btn .rot{width:32px;height:36px;font-size:0;color:transparent;background:url(/ui/buttons/rotate-0.png) no-repeat center / 100% 100%;image-rendering:pixelated}html.touch-ui #rotate-btn:active .rot{background-image:url(/ui/buttons/rotate-1.png)}html.touch-ui #target-btn>span{width:32px;height:32px;font-size:0;color:transparent;background:url(/ui/buttons/target-1.png) no-repeat center / 100% 100%;image-rendering:pixelated}html.touch-ui #skillbar .slot .count{display:none}html.touch-ui #skillbar .slot{border-radius:0;background:url(/ui/hud/skill-slot.png) no-repeat center / 100% 100%;border:0;box-sizing:border-box;box-shadow:0 2px 6px #000b}html.touch-ui #skillbar .slot:after{content:"";position:absolute;inset:0;border:4px solid transparent;border-image:url(/ui/hud/skill-slot.png) 4 stretch;pointer-events:none;z-index:1}html.touch-ui #skillbar .slot.filled{box-shadow:0 0 0 1px var(--win-hi),0 2px 6px #000b}html.touch-ui #skillbar .slot.on{box-shadow:0 0 0 1px #7fe08a,0 0 8px 2px #7fe08a99,0 2px 6px #000b}html.touch-ui #skillbar .slot .icon,html.touch-ui #skillbar .slot img.icon{inset:2px;width:calc(100% - 4px);height:calc(100% - 4px);border-radius:0}html.touch-ui #skillbar .slot span.icon{background-size:100% 100%!important;background-position:center!important}#buff-bar{position:absolute;left:var(--stack-left, 12px);top:var(--stack-top, 202px);display:grid;grid-template-columns:repeat(var(--buff-cols, 8),minmax(0,1fr));justify-content:stretch;align-content:start;gap:3px;pointer-events:none;box-sizing:border-box}#buff-bar .buff{position:relative;width:24px;height:24px;border:1px solid var(--win-line);background-color:var(--win-dark);background-repeat:no-repeat}#buff-bar .buff b{position:absolute;left:0;right:0;bottom:-1px;font-size:9px;text-align:center;color:#fff;text-shadow:0 0 2px #000;font-weight:400}#buff-bar .buff{background-size:100% 100%!important;background-position:center!important}html:not(.touch-ui) #buff-bar .buff{width:25px;height:25px}html:not(.touch-ui) #buff-bar .buff b{font-size:10px}html.touch-ui #buff-bar{left:var(--stack-left, 8px);gap:2px}html.touch-ui #buff-bar .buff{width:20px;height:20px}html.touch-ui #buff-bar .buff b{font-size:8px}#buff-bar .buff{pointer-events:auto}#buff-bar .buff.more{box-sizing:content-box;min-width:0;min-height:0;padding:0;margin:0;border-radius:0;pointer-events:auto;font:inherit;font-size:11px;color:#ffe08a;background:#0c1722e0;border-color:var(--win-line);cursor:url(/ui/cursors/default.cur),pointer}html.touch-ui #buff-bar .buff.more{font-size:10px}#buff-bar .buff.more:hover{color:#ff0}#buff-bar .buff.mall{position:relative;overflow:hidden}#buff-bar .buff.mall img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}#buff-bar .buff.mall b{position:relative}#buff-bar .buff.mall.vip{border-color:#e8c25a;box-shadow:0 0 4px #e8c25a}#buff-bar .buff.mall .vip-tag{position:absolute;left:0;top:0;padding:0 1px;font:700 8px/1 sans-serif;font-style:normal;color:#2a1d00;background:#e8c25a;z-index:1}#buff-bar button.charm{box-sizing:content-box;min-width:0;min-height:0;padding:0;margin:0;border-radius:0;cursor:pointer}#buff-bar button.charm:focus-visible{outline:2px solid var(--win-hi);outline-offset:1px}#mail-window{pointer-events:auto;position:absolute;z-index:6;left:50%;top:90px;transform:translate(-50%);width:340px;max-width:calc(100vw - 32px);box-sizing:border-box;font-size:12px}#mail-window .mw-tabs{display:flex;gap:4px;margin-top:6px}#mail-window input,#mail-window textarea{width:100%;box-sizing:border-box;padding:4px 6px;font:inherit;color:#f0ecd8;background:var(--win-dark);border:1px solid #000;box-shadow:inset 0 0 0 1px var(--win-line-2)}#mail-window textarea{resize:vertical;min-height:90px;margin-top:6px}#mail-window .mw-write{margin-top:8px}#mail-window .mw-foot{display:flex;align-items:center;justify-content:flex-end;gap:6px;margin-top:6px}#mail-window .mw-foot .count{margin-right:auto;opacity:.7;font-variant-numeric:tabular-nums}#mail-window .mw-list{display:flex;flex-direction:column;gap:3px;max-height:min(30vh,220px);overflow-y:auto;margin-top:8px}#mail-window .mw-row{display:flex;align-items:center;gap:6px;width:100%;min-height:26px;padding:2px 6px;font:inherit;text-align:left;color:inherit;background:var(--win-dark);border:1px solid #000;box-shadow:inset 0 0 0 1px var(--win-line-2);cursor:url(/ui/cursors/default.cur),pointer;opacity:.75}#mail-window .mw-row.unread{opacity:1;font-weight:700}#mail-window .mw-row.on{box-shadow:inset 0 0 0 1px var(--gold)}#mail-window .mw-row .from{flex:none;max-width:90px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#9dcc3a}#mail-window .mw-row .snip{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#mail-window .mw-row .at{flex:none;font-size:10px;opacity:.7}#mail-window .mw-open{margin-top:8px;padding:6px;background:var(--win-dark);border:1px solid #000;box-shadow:inset 0 0 0 1px var(--win-line-2)}#mail-window .mw-head{opacity:.85}#mail-window .mw-body{margin-top:4px;max-height:160px;overflow-y:auto;white-space:pre-wrap;word-break:break-word;line-height:1.45}#mail-window .danger{color:#ffb0a8}#mail-window .empty{padding:10px;text-align:center;opacity:.8}#duel-banner{position:absolute;left:50%;top:72px;transform:translate(-50%);z-index:8;pointer-events:none;text-align:center;color:#fff;text-shadow:0 2px 0 #000,0 0 6px #000;white-space:nowrap}#duel-banner .sub{font-size:13px;color:#e8e4d4}#duel-banner .big{font-size:48px;line-height:1.1;font-weight:600;color:var(--gold)}#duel-banner .time{font-size:20px;font-weight:500;color:#fff;font-variant-numeric:tabular-nums}#duel-banner.end.win .big{color:#f6dc6a}#duel-banner.end.lose .big{color:#ff8a80}#duel-banner.end.draw .big{color:#cfc8a8}#duel-banner.end .big{animation:duel-pop .35s ease-out}@keyframes duel-pop{0%{transform:scale(.6);opacity:0}}@media(prefers-reduced-motion:reduce){#duel-banner.end .big{animation:none}}html.touch-ui #duel-banner{top:56px}html.touch-ui #duel-banner .big{font-size:36px}#status-window{position:absolute;z-index:5;left:12px;top:212px;width:260px;max-height:calc(100vh - 390px);overflow-y:auto;pointer-events:auto;font-size:13px}#status-title{display:flex;justify-content:space-between;align-items:center;font-weight:400;margin-bottom:4px;cursor:move;touch-action:none;user-select:none}#status-who{opacity:.85;margin-bottom:6px}.status-line{display:flex;justify-content:space-between;margin:3px 0;font-variant-numeric:tabular-nums}.status-line.dim{opacity:.6}#status-stats{margin:8px 0 4px;border-top:1px solid #fff2;padding-top:6px}.status-stat{display:flex;align-items:center;gap:6px;margin:4px 0}.status-stat .han{width:2.2em;color:#f1c40f}.status-stat .label{flex:1}.status-stat b{min-width:2.2em;text-align:right;font-variant-numeric:tabular-nums}.status-stat button{width:24px;height:24px;padding:0;line-height:1;border-radius:4px}.status-stat button:disabled{opacity:.35;cursor:url(/ui/cursors/default.cur),default}#status-points.has-points{color:#f1c40f}#status-derived{margin-top:6px;border-top:1px solid #fff2;padding-top:6px}#status-window.own{width:400px;height:auto;max-height:none;overflow:visible;left:auto;right:calc(var(--slot-size) + var(--tab-width) + 28px);top:192px;background:var(--win-bg);border:1px solid var(--win-line);box-shadow:0 0 0 1px #000a;image-rendering:auto;padding:0}#status-window.own #status-who{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;color:#f0ecd8}#status-window.own #status-close{left:auto;right:2px}@media(max-width:760px),(max-height:560px){#status-window.own{top:8px;right:calc(var(--slot-size) + var(--tab-width) + 24px);transform:scale(var(--ui-scale, .82));transform-origin:top right}}.st-stat .st-bonus,.st-row .st-bonus{margin-left:3px;font-style:normal;font-weight:700;color:#7fe07f}.st-charms .st-bonus-text{color:#7fe07f}#status-window.own .st-row>b,.mstatus .st-row>b{white-space:nowrap}.st-help-wrap{position:relative;display:inline-block;margin-left:4px}.st-help{width:16px;height:16px;min-width:0;min-height:0;border:1px solid var(--win-line);border-radius:50%;background:#0006;color:#e8d9a0;font-size:11px;cursor:help}.st-help.on,.st-help:hover{background:#e8d9a0;color:#1b1a14}.st-help-pop{position:absolute;z-index:20;left:0;top:20px;width:210px;padding:6px 8px;display:flex;flex-direction:column;gap:2px;background:#15140ff2;border:1px solid var(--win-line, var(--win-line));box-shadow:0 2px 8px #000a;color:#f0ecd8;font-size:12px;line-height:16px;text-align:left;pointer-events:none}.st-help-pop small{color:#b9b4a0}.st-help-pop .st-help-head{margin-top:4px;color:#e8d9a0}.st-help-pop div{display:flex;justify-content:space-between;gap:8px}.st-help-pop .st-bonus{font-style:normal;font-weight:700;color:#7fe07f}.st-stat:nth-child(2n) .st-help-pop{left:auto;right:-40px}.st-row b.st-bad{color:#ff6b5b}#status-window.own{max-height:calc(100dvh - 32px)}#status-window.own .st-body{max-height:calc(100dvh - 226px);overflow-y:auto}#status-window.own .st-mods,#inspect-window.own .st-mods{grid-template-columns:minmax(0,1fr)}#status-window.own{width:660px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 88px);top:64px;background:#19232b;transform:none}#status-window.own .st-reference{padding:24px 5px 6px;max-height:calc(100dvh - 112px);overflow:auto;font-size:12px}#status-window.own .st-reference-columns{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:5px}#status-window.own .st-reference-column{min-width:0;padding:0 4px}#status-window.own .st-reference-general{background:#192a39}#status-window.own .st-reference-pvp{border-left:1px solid #555c52;background:#272b25}#status-window.own .st-pvp-combat{margin-top:10px}#status-window.own .st-ref-exp{position:relative;display:flex;align-items:center;justify-content:space-between;gap:6px;height:20px;padding:0 3px;margin-bottom:2px;line-height:18px;background:#17231c;border:1px solid #465b46}#status-window.own .st-ref-exp i{position:absolute;inset:0 auto 0 0;background:#496f43}#status-window.own .st-ref-exp span,#status-window.own .st-ref-exp b{position:relative;color:#fff;font-size:11px;font-weight:400}#status-window.own .st-ref-exp #status-who{margin:0;min-width:0}#status-window.own .st-ref-exp b{white-space:nowrap}#status-window.own .st-ref-fame{display:flex;justify-content:space-between;gap:8px;min-height:22px;padding:2px 3px}#status-window.own .st-ref-fame b{color:#91acff;font-weight:400;margin-left:6px}#status-window.own .st-ref-attributes{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:2px 10px;padding:3px;border-top:1px solid #344b5e;border-bottom:1px solid #344b5e}#status-window.own .st-ref-attribute{display:flex;align-items:center;gap:4px;min-height:22px;min-width:0}#status-window.own .st-ref-attribute>span{flex:1;white-space:nowrap}#status-window.own .st-ref-attribute>b{color:#91acff;font-weight:400;white-space:nowrap}#status-window.own .st-ref-attribute .st-bonus{margin-left:2px;color:#7fe07f;font-style:normal;font-size:11px}#status-window.own .st-ref-plus.btn{min-width:15px;width:15px;height:16px;min-height:16px;font-size:13px;color:#ffdd86}#status-window.own .st-ref-allocation{display:flex;align-items:center;justify-content:flex-end;gap:4px;padding:4px 2px;min-height:29px}#status-window.own .st-ref-allocation>span{flex:1;color:#efbd54;padding-left:4px;font-variant-numeric:tabular-nums}#status-window.own .st-ref-allocation label{color:#b4bec7;font-size:11px}#status-window.own .st-ref-allocation input{width:42px;height:19px;padding:0 3px;border:1px solid var(--win-line);background:#0e1820;color:#efbd54;text-align:right;font:inherit}#status-window.own .st-ref-allocation .btn{min-height:20px;height:20px;padding:0 5px;font-size:11px}#status-window.own .st-ref-vitals{margin-top:4px;margin-bottom:8px}#status-window.own .st-reference .st-ref-heading{margin:0 0 6px;min-height:19px;padding:0 2px;border:0;color:#f23c31;font-size:12px;font-weight:400;line-height:19px}#status-window.own .st-general-combat .st-ref-heading{color:#d5dee5}#status-window.own .st-pvp-overview .st-ref-heading{margin-top:1px}#status-window.own .st-ref-row{display:flex;align-items:baseline;justify-content:space-between;gap:8px;min-height:17px;line-height:17px;padding:0 3px;font-size:11.5px;font-variant-numeric:tabular-nums}#status-window.own .st-ref-row:nth-child(odd){background:#080d12a6}#status-window.own .st-ref-row>span{min-width:0;color:#e2e5e1;overflow-wrap:anywhere}#status-window.own .st-ref-row>b{flex:none;color:#e9b94e;text-align:right;font-weight:400;white-space:nowrap}#status-window.own .st-ref-group{margin-top:9px}#status-window.own .st-ref-note{margin:12px 3px 8px;max-width:260px;color:#b6baad;font-size:11px;line-height:1.6}#status-window.own .st-ref-attribute .st-help{width:13px;height:13px;font-size:10px}#status-window.own .st-ref-attribute:nth-child(2n) .st-help-pop{left:auto;right:-55px}@media(max-height:700px){#status-window.own{top:12px;max-height:calc(100dvh - 24px)}#status-window.own .st-reference{max-height:calc(100dvh - 48px)}}#minimap-box{position:absolute;right:12px;top:32px;width:168px;height:168px;pointer-events:auto}#minimap{width:168px;height:168px;display:block;border:2px solid rgba(255,255,255,.55);border-radius:4px;box-sizing:border-box}#minimap-box button{position:absolute;left:6px;width:22px;height:22px;padding:0;border:1px solid rgba(255,255,255,.6);border-radius:4px;background:#141814cc;color:#fff;font-size:16px;line-height:18px;cursor:url(/ui/cursors/default.cur),pointer}#minimap-in{top:6px}#minimap-out{top:32px}#minimap-big{top:58px}@media(max-width:760px),(max-height:560px){#minimap-box,#minimap{width:120px;height:120px}#minimap-box{right:8px;top:28px}}@media(max-height:560px){#minimap-box{right:calc(var(--slot-size) + var(--tab-width) + 26px)}}#minimap{border:1px solid var(--win-line);border-radius:2px;box-shadow:0 0 0 1px #000a}#minimap-box button{background:var(--win-bg-2);border:1px solid var(--win-line);border-radius:2px;color:#e8e4d4}html.touch-ui #minimap-box{right:8px;top:28px}#minimap-title{position:absolute;left:0;right:0;bottom:100%;height:20px;line-height:20px;padding:0 6px;text-align:center;font-size:12px;color:var(--gold);text-shadow:0 0 2px #000;background:var(--titlebar),var(--navy);border:1px solid var(--win-line);border-bottom:1px solid #000a;box-shadow:0 0 0 1px #000a;image-rendering:pixelated;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;pointer-events:none;box-sizing:border-box}#minimap-box #minimap-in,#minimap-box #minimap-out{left:6px;width:20px;height:15px;padding:0;border:0;border-radius:0;font-size:0;color:transparent;background:url(/ui/buttons/plus-0.png) no-repeat center / 100% 100%;image-rendering:pixelated}#minimap-box #minimap-out{top:26px;background-image:url(/ui/buttons/minus-0.png)}#minimap-box #minimap-in:hover,#minimap-box #minimap-in:active{background-image:url(/ui/buttons/plus-1.png)}#minimap-box #minimap-out:hover,#minimap-box #minimap-out:active{background-image:url(/ui/buttons/minus-1.png)}#minimap-box #minimap-tower{top:calc(100% + 4px);left:0;right:auto;width:37px;height:38px;padding:0;border:0;border-radius:0;font-size:0;color:transparent;background:url(/ui/minimap/tower-0.png) no-repeat center / 100% 100%;image-rendering:pixelated}#minimap-box #minimap-tower:hover{background-image:url(/ui/minimap/tower-1.png)}#minimap-box #minimap-tower:active,#minimap-box #minimap-tower.on{background-image:url(/ui/minimap/tower-2.png)}html.touch-ui #minimap-box #minimap-tower{width:34px;height:35px}#minimap-box #minimap-bosses{top:calc(100% + 4px);left:41px;right:auto;width:37px;height:38px;padding:0;border:0;border-radius:0;background:transparent}#minimap-box #minimap-bosses img{display:block;width:80%;height:80%;margin:10%;max-width:none;max-height:none;object-fit:contain;image-rendering:pixelated}#minimap-box #minimap-bosses:hover,#minimap-box #minimap-bosses.on{filter:brightness(1.2)}#minimap-box #minimap-bosses.boss-up{filter:drop-shadow(0 0 3px #ffbd4a)}#minimap-box #minimap-bosses:focus-visible{outline:1px solid var(--gold);outline-offset:2px}html.touch-ui #minimap-box #minimap-bosses{left:38px;width:34px;height:35px}#minimap-shortcuts{position:absolute;top:calc(100% + 4px);left:0;right:0;display:flex;flex-wrap:wrap;gap:4px;align-items:center}#minimap-box #minimap-shortcuts>button{position:relative;top:auto;left:auto;right:auto;flex:0 0 37px;width:37px;height:38px}#minimap-box #minimap-shortcuts>.minimap-extra{padding:0;border:0;border-radius:0;background-color:transparent;background-repeat:no-repeat;background-position:center;background-size:contain;image-rendering:pixelated}#minimap-box #minimap-event{background-image:url(/ui/minimap/event-default.png)}#minimap-box #minimap-event:hover{background-image:url(/ui/minimap/event-hover.png)}#minimap-box #minimap-event:active{background-image:url(/ui/minimap/event-click.png)}#minimap-box #minimap-rank{background-image:url(/ui/minimap/rank-dafault.png)}#minimap-box #minimap-rank:hover{background-image:url(/ui/minimap/rank-hover.png)}#minimap-box #minimap-rank:active{background-image:url(/ui/minimap/rank-click.png)}#minimap-box #minimap-collection{background-image:url(/ui/minimap/collection-default.png)}#minimap-box #minimap-collection:hover{background-image:url(/ui/minimap/collection-hover.png)}#minimap-box #minimap-collection:active{background-image:url(/ui/minimap/collection-click.png)}#minimap-box #minimap-shortcuts>button:focus-visible{outline:1px solid var(--gold);outline-offset:2px}html.touch-ui #minimap-box #minimap-shortcuts>button{position:static;flex:0 0 28px;width:28px;height:32px}html.touch-ui #minimap-shortcuts{top:calc(100% + 16px);bottom:auto;left:auto;right:0;width:148px;flex-wrap:nowrap;gap:2px}#minimap-box #minimap-shortcuts>#minimap-event{position:relative}#minimap-event .event-reward-counter{position:absolute;top:100%;left:50%;transform:translate(-50%);color:var(--gold);font:9px var(--game-font);line-height:12px;white-space:nowrap;text-shadow:1px 1px 2px #000,-1px -1px 2px #000;pointer-events:none}html.touch-ui #minimap-box,html.touch-ui #minimap{width:clamp(64px,calc(100dvh - 254px),120px);height:clamp(64px,calc(100dvh - 254px),120px)}html.touch-ui #minimap-box #minimap-tower{background-size:contain}#hud-stats{position:absolute;left:12px;top:12px;width:250px;padding:0;border-radius:4px;background:#101c28d8;border:1px solid var(--win-line);box-shadow:0 0 0 1px #000a;overflow:hidden}#hud-head{display:flex;align-items:center;height:28px;padding:0 10px;background:linear-gradient(#3b5572,#1e3248);border-bottom:1px solid #0008}#hud-level{flex:none;min-width:2.2ch;font-size:20px;font-weight:400;color:#fff;text-shadow:0 1px 2px #000;font-variant-numeric:tabular-nums}#hud-charname{flex:1;text-align:center;font-size:13px;color:#e8eef6;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding-right:2ch}#hud-body{padding:6px 8px 5px}.gbar{position:relative;height:13px;margin-top:4px;background:#000;border:1px solid #000}.gbar:first-child{margin-top:0}.gbar>i{position:absolute;inset:0 auto 0 0;width:100%;transition:width .15s;background:linear-gradient(#c8161c 50%,#ff7a7a 50%)}.gbar.sh>i{background:linear-gradient(#d9a419 50%,#ffe77a 50%)}.gbar.mp>i{background:linear-gradient(#1357ab 50%,#6bb6f2 50%)}.gbar>span{position:absolute;inset:0;padding-left:5px;font-size:11px;line-height:13px;color:#fff;text-shadow:0 0 2px #000,0 0 2px #000;font-variant-numeric:tabular-nums;white-space:nowrap}.exp{margin-top:5px}.exp>span{display:block;font-size:10px;line-height:12px;color:#cfd8e3;font-variant-numeric:tabular-nums}.exp-track{height:5px;margin-top:2px;background:#000b;border:1px solid #000;background-image:repeating-linear-gradient(90deg,transparent 0 17px,#ffffff22 17px 18px)}.exp-track>i{display:block;height:100%;background:linear-gradient(#78c850,#2f7a2a)}#hud-pos{margin-top:3px;font-size:10px;color:#9fb0c4;font-variant-numeric:tabular-nums}@media(max-width:760px),(max-height:560px){#hud-stats{left:8px;top:8px;width:200px}#hud-level{font-size:17px}.gbar{height:12px}.gbar>span{line-height:12px;font-size:10px}}#hud-stats{background:var(--win-bg);border:1px solid var(--win-line);border-radius:2px;box-shadow:0 0 0 1px #000a}#hud-head{height:24px;background:var(--titlebar),#26324f;image-rendering:pixelated;border-bottom:1px solid #000a}#hud-level{color:#f6dc6a;font-size:17px}#hud-charname{color:#f0f0f0;font-size:12px;text-shadow:0 0 2px #000}.gbar{background:var(--win-dark);border:1px solid #000;box-shadow:inset 0 0 0 1px var(--win-line-2)}.exp-track{background-color:var(--win-dark);border-color:var(--win-line-2)}#hud-pos,.exp>span{color:#b9b4a0}#hud-head{padding-left:20px;padding-right:22px}#hud-stats{width:210px}#hud-body{padding:4px 6px}.gbar{height:10px;margin-top:3px}.gbar>span{font-size:9px;line-height:10px;padding-left:4px}.exp>span{font-size:9px;line-height:10px}.exp-track{height:4px}#hud-pos{font-size:9px}@media(max-width:760px),(max-height:560px){#hud-stats{width:170px}.gbar{height:8px;margin-top:2px}.gbar>span{font-size:8px;line-height:8px}}#hud-stats{left:8px;top:8px;width:150px}#hud-head{height:20px;padding-left:14px;padding-right:14px}#hud-level{font-size:13px;min-width:1.6ch}#hud-charname{font-size:10px;padding-right:0}#hud-body{padding:3px 5px}.gbar{height:13px;margin-top:2px}.gbar>span{font-size:10px;line-height:13px;padding-left:4px;text-shadow:0 0 2px #000,0 0 2px #000,0 0 3px #000}.exp{margin-top:3px}.exp>span{font-size:7px;line-height:8px}.exp-track{height:3px;margin-top:1px}#hud-pos{margin-top:1px;font-size:7px}#xp-text,#hud-pos{display:none}.mussang-gauge{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px 5px;align-items:center;margin-top:4px;color:#e6d6bd;font-size:9px;font-variant-numeric:tabular-nums}.mussang-track{grid-column:1 / -1;height:5px;overflow:hidden;background:#17120f;border:1px solid #090706;box-shadow:inset 0 0 0 1px #514032}.mussang-track>i{display:block;height:100%;background:linear-gradient(#ffdc79,#bd4b19);transition:width .18s ease-out}.mussang-gauge.ready .mussang-track>i,.mussang-gauge.active .mussang-track>i{background:linear-gradient(#fff0a0,#ff721f);box-shadow:0 0 5px #ff8b32}.mussang-gauge>span{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.mussang-gauge button{min-height:20px;padding:1px 7px;border:1px solid #795634;border-radius:2px;background:linear-gradient(#58412c,#30251d);color:#f7e5bd;font:inherit;cursor:pointer}.mussang-gauge button:disabled{opacity:.65;cursor:default}#hud-body{display:flex;flex-direction:column;gap:1px}.gbar,.gbar:first-child{height:11px;margin:0;padding:0;border:1px solid #070b10;border-radius:0;box-shadow:inset 0 0 0 1px #ffffff35;background:#111820}.gbar{background:linear-gradient(#ff6e6e45 0 45%,#7d0e144d 46% 100%),#341014}.gbar.sh{background:linear-gradient(#ffee7345 0 45%,#7e5b074d 46% 100%),#30270d}.gbar.mp{background:linear-gradient(#87d8ff45 0 45%,#0e497a4d 46% 100%),#102438}.gbar.exp{background:linear-gradient(#84e86f45 0 45%,#155b264d 46% 100%),#142c17}.gbar.mussang-progress{background:linear-gradient(#ffe17245 0 45%,#8959094d 46% 100%),#30230c}.gbar:after{display:none}.gbar>span{z-index:2}.mussang-gauge:after{display:none}.gbar>i{background:linear-gradient(#ed6565 0 45%,#bd2529 46% 100%)}.gbar.sh>i{background:linear-gradient(#fff07a 0 45%,#d0a911 46% 100%)}.gbar.mp>i{background:linear-gradient(#84d9ff 0 45%,#2589cf 46% 100%)}.gbar.exp>i{background:linear-gradient(#79dc70 0 45%,#278439 46% 100%)}.gbar>span{padding-left:4px;padding-right:3px;font-size:9px;line-height:12px;text-shadow:0 1px 2px #000,0 0 3px #000}.gbar.exp>span{display:none}.exp-row{display:flex;align-items:center;gap:5px;min-width:0}.exp-row>.gbar.exp{flex:1;min-width:0;padding:0;border-radius:0}.exp-checkpoints{flex:none;display:flex;align-items:center;gap:3px;height:12px}.exp-checkpoints>img{display:block;flex:none;width:5px;height:10px;image-rendering:pixelated;transition:opacity .15s ease}#xp-text{display:block}.mussang-gauge{flex:none;display:flex;align-items:stretch;height:17px;overflow:visible;padding:0;border:0;border-radius:0;box-shadow:none;background:transparent}.mussang-progress,.mussang-progress.gbar{position:relative;box-sizing:border-box;flex:1;min-width:0;height:17px;min-height:17px;margin-right:-1px;padding:0;border-radius:0;overflow:hidden}.mussang-progress>i{background:linear-gradient(#ffe976 0 45%,#bd8512 46% 100%);transition:width .15s}.mussang-gauge.ready .mussang-progress>i,.mussang-gauge.active .mussang-progress>i{background:linear-gradient(#fff3a1 0 45%,#f6a51e 46% 100%);box-shadow:0 0 5px #ffc342}.mussang-progress>span{display:none}.mussang-gauge button{position:relative;box-sizing:border-box;flex:0 0 30px;width:30px;height:17px;min-height:0;margin:0;padding:0;display:grid;place-items:center;border:0;border-radius:0;background:transparent;color:#fff3bf;cursor:pointer}.mussang-gauge button img{display:block;width:32px;height:18px;margin:0;padding:0;object-fit:contain;image-rendering:pixelated}.mussang-gauge button:disabled{opacity:.6;cursor:default}#hud-pos,.exp>span{color:#e4f1de}@media(max-width:760px),(max-height:560px){.gbar,.gbar:first-child{height:10px}.gbar>span,.mussang-gauge>span{line-height:11px}.mussang-gauge{height:17px}.mussang-progress,.mussang-progress.gbar{height:17px;min-height:17px}.mussang-gauge button{flex-basis:30px;width:30px}}#hud-head{height:20px}#hud-body{padding-top:3px;padding-bottom:3px;gap:1px}.gbar:not(.mussang-progress):not(.mussang-gauge),.gbar:first-child:not(.mussang-progress):not(.mussang-gauge){height:11px}@media(max-width:760px),(max-height:560px){.gbar:not(.mussang-progress):not(.mussang-gauge),.gbar:first-child:not(.mussang-progress):not(.mussang-gauge){height:10px}}#hud-stats{width:150px}#target{position:absolute;left:50%;top:12px;transform:translate(-50%);min-width:260px;text-align:center}#target-name{font-weight:400;margin-bottom:4px}#target-name .weak{color:#8fd18f}#target-name .even{color:#fff}#target-name .strong{color:#ffc766}#target-name .deadly{color:#ff6b6b}#target-meta{margin-top:6px;font-size:12px;opacity:.85;font-variant-numeric:tabular-nums}@media(max-width:760px),(max-height:560px){#target{top:8px;min-width:190px;font-size:12px}}#target{background:var(--win-bg)}#target{--pad-t: 10px;padding-top:var(--pad-t)}#target-name.wtitle{margin-bottom:8px}#target{width:140px;min-width:0;--pad-t:3px;--pad-x:6px;padding:var(--pad-t) var(--pad-x) 4px;font-size:10px;box-sizing:border-box}html.touch-ui #target{left:166px;top:8px;transform:none;width:148px}#target-name,#target-name.wtitle{margin-bottom:3px}#target .bar{height:14px}#target-hp{font-size:10px;line-height:14px;text-shadow:0 0 2px #000,0 0 2px #000,0 0 3px #000}#target-meta{margin-top:2px;font-size:9px}#target-name.wtitle{margin-bottom:3px}#target-meta{display:none}#target{pointer-events:auto;cursor:url(/ui/cursors/default.cur),pointer}#target{display:flex;align-items:center;gap:8px;text-align:left}#target.hidden{display:none}#target .tg-main{flex:1;min-width:0;text-align:center}#target .tg-barrow{display:flex;align-items:stretch;gap:4px}#target .tg-barrow .bar{flex:1;min-width:0}#target-menu,#target-drops.tg-btn{margin:0;pointer-events:auto;flex:none;align-self:stretch;height:auto;min-height:0;padding:0;border:0;background:none;cursor:pointer;display:flex}#target-menu img,#target-drops.tg-btn img{height:100%;width:auto;aspect-ratio:1;image-rendering:pixelated}#target-menu:hover img,#target-drops.tg-btn:hover img{filter:brightness(1.3)}#target .tg-bars{flex:1;min-width:0;height:16px;display:grid;grid-template-rows:minmax(0,1fr);gap:0;border:1px solid #000;box-sizing:border-box;overflow:hidden}#target .tg-bars.with-shield{grid-template-rows:minmax(0,7fr) minmax(0,3fr);row-gap:1px;background:#000}#target .tg-bars .bar{flex:none;min-height:0;height:auto;margin:0;border:0;box-shadow:none}#target .tg-bars .bar>span{display:flex;align-items:center;justify-content:center;line-height:1}#target .tg-shield{background:#30270d}#target .tg-shield>i{background:linear-gradient(#fff07a 0 45%,#d0a911 46% 100%)}#target .tg-barrow>.tg-btn{align-self:center;height:16px}#m-target{position:absolute;left:166px;top:8px;width:148px;box-sizing:border-box;background:var(--win-bg);border:1px solid var(--win-line);box-shadow:0 0 0 1px #000a;color:#fff;pointer-events:auto}#m-target .mt-name{height:20px;padding:0 5px;background:var(--titlebar),#26324f;font-size:10px;line-height:20px;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#m-target .mt-name.weak{color:#9be29b}#m-target .mt-name.strong{color:#ffc766}#m-target .mt-name.deadly{color:#ff8a8a}#m-target .mt-body{display:flex;align-items:center;gap:4px;padding:4px}#m-target .mt-bars{flex:1;min-width:0;height:16px;display:grid;grid-template-rows:minmax(0,1fr);gap:0;border:1px solid #070b10;box-sizing:border-box;overflow:hidden}#m-target .mt-bars.with-shield{grid-template-rows:minmax(0,7fr) minmax(0,3fr);row-gap:1px;background:#000}#m-target .mt-bar{position:relative;min-height:0;overflow:hidden;background:#341014;font-variant-numeric:tabular-nums}#m-target .mt-bar>i{position:absolute;inset:0 auto 0 0;background:linear-gradient(#ed6565 0 45%,#bd2529 46% 100%);transition:width .15s}#m-target .mt-bar>span{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-size:10px;line-height:1;text-shadow:0 0 3px #000}#m-target .mt-shield{background:#30270d;color:#fff6cc}#m-target .mt-shield>i{background:linear-gradient(#fff07a 0 45%,#d0a911 46% 100%)}#m-target .mt-menu{position:relative;flex:none;width:24px;height:16px;min-width:0;min-height:0;padding:0;border:0;border-image:none;background:none}#m-target .mt-menu:before{content:"";position:absolute;inset:-9px -3px}#m-target .mt-menu img{width:100%;height:100%;object-fit:contain;image-rendering:pixelated}html.m-open #m-target{display:none}html.touch-ui .m-chat-notices{flex:none;min-width:0;pointer-events:auto;color:#e8e4d4;background:#1a1430b0;border:1px solid var(--win-line-2);text-shadow:1px 1px 0 #000}html.touch-ui .mcn-header{display:flex;align-items:center;justify-content:space-between;gap:6px;min-height:16px;padding:1px 6px}html.touch-ui .mcn-header h3{margin:0;color:var(--gold);font-size:11px;font-weight:400;line-height:16px}html.touch-ui .mcn-header .mcn-open{flex:none;min-height:18px;height:18px;padding:0 2px;font-size:10px;line-height:12px}html.touch-ui .mcn-log{height:30px;padding:1px 6px 3px;overflow-y:auto;overscroll-behavior:contain;overflow-wrap:anywhere;font-size:11px;line-height:15px}html.touch-ui .mcn-log .world{color:#d9cef7}html.touch-ui .mcn-log .notice{color:var(--gold)}html.touch-ui .mcn-empty{margin:0;color:#b9b4a0}html.touch-ui #m-chat-notices{margin-bottom:3px}html.touch-ui #chat-sheet-notices{margin:6px 8px}html.touch-ui #chat-sheet-notices .mcn-log{height:54px;font-size:12px;line-height:18px}#chat{position:absolute;left:12px;bottom:12px;width:min(380px,calc(100vw - 24px))}#chat-log{height:130px;overflow-y:auto;padding:4px 6px;pointer-events:auto;font-size:12px;line-height:1.45;color:#fff;text-shadow:1px 1px 0 #000,0 0 2px #000;background:linear-gradient(to right,#0006,#0002 70%,#0000);border:0;border-radius:0}#chat-input{display:block;width:100%;height:22px;box-sizing:border-box;padding:0 6px;pointer-events:auto;font:inherit;font-size:12px;color:#fff;background:#000a;border:1px solid var(--win-line-2);border-radius:0}#chat-input:focus{outline:none;border-color:var(--gold)}#chat-input::placeholder{color:#8a8a7a}#chat-log .party,html.touch-ui #chat-sheet-log .party{color:#b9f145}#chat-log .guild,html.touch-ui #chat-sheet-log .guild{color:#7e9cb4}#chat-log .shout,html.touch-ui #chat-sheet-log .shout{color:#f7b618}#chat-log .whisper,html.touch-ui #chat-sheet-log .whisper{color:#ebc3ce}#chat-log .world,html.touch-ui #chat-sheet-log .world{color:#d9cef7}#chat-log .sys,html.touch-ui #chat-sheet-log .sys{color:#52ffcc}#chat-log .you,html.touch-ui #chat-sheet-log .you{color:#abc3ff}.chat-tabs{display:flex;gap:2px;pointer-events:auto}#chat-notice{margin-bottom:4px;padding:3px 6px;pointer-events:auto;font-size:12px;line-height:1.45;text-shadow:1px 1px 0 #000,0 0 2px #000;background:#1a1430b0;border:1px solid #7b6fb088}#chat-notice .world{color:#d9cef7}#chat-notice .notice{color:var(--gold);font-weight:500}@media(max-width:760px),(max-height:560px){#chat-log{height:74px;font-size:12px}}@media(max-width:900px){#chat{left:8px;bottom:8px;width:min(300px,calc(100vw - var(--slot-size) - var(--tab-width) - 40px))}#chat-log{height:74px;font-size:12px}}html.touch-ui #chat{left:50%;bottom:0;width:min(240px,40vw);transform:translate(-50%)}html.touch-ui #chat-log{height:52px;padding:2px 6px;font-size:11px;cursor:url(/ui/cursors/default.cur),pointer;background:linear-gradient(to top,#0006,#0000)}html.touch-ui #chat-input{display:none}html.touch-ui #m-chat-fold.btn{position:absolute;right:-24px;bottom:0;width:22px;height:22px;min-height:22px;padding:0;display:grid;place-items:center;font-size:12px;line-height:1;pointer-events:auto;touch-action:manipulation}html.touch-ui #chat.m-chat-folded #m-chat-notices{display:none}html.touch-ui #chat.m-chat-folded #chat-log{height:22px;box-sizing:border-box;overflow:hidden;line-height:18px}html.touch-ui #chat.m-chat-folded #chat-log>div{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}html.touch-ui #chat-sheet{position:fixed;inset:0;z-index:60;pointer-events:none}html.touch-ui #chat-sheet.open{pointer-events:auto}html.touch-ui #chat-sheet-back{position:absolute;inset:0;background:#0008;opacity:0;transition:opacity .2s}html.touch-ui #chat-sheet.open #chat-sheet-back{opacity:1}html.touch-ui #chat-sheet-panel{--chat-sheet-input-height:24px;position:absolute;left:0;top:0;bottom:0;width:min(320px,70vw);display:flex;flex-direction:column;box-sizing:border-box;background:#000c;box-shadow:4px 0 16px #000b;transform:translate(-102%);transition:transform .22s ease-out}html.touch-ui #chat-sheet.open #chat-sheet-panel{transform:none}html.touch-ui #chat-sheet-tabs{padding:0 8px}html.touch-ui #chat-sheet-tabs{gap:2px}html.touch-ui #chat-sheet-tabs .btn{flex:1 1 0;min-width:0;min-height:20px;height:20px;padding:0 2px;border-width:3px 4px;font-size:10px;line-height:1;white-space:nowrap}html.touch-ui #chat-sheet-log{flex:1;min-height:0;overflow-y:auto;padding:6px 10px;font-size:13px;line-height:1.45;color:#fff;text-shadow:1px 1px 0 #000}html.touch-ui #chat-sheet-row{display:flex;align-items:center;gap:6px;padding:8px}html.touch-ui #chat-sheet-row input{flex:1;min-width:0;height:var(--chat-sheet-input-height);padding:0 8px;box-sizing:border-box;border:1px solid var(--win-line-2);border-radius:0;background:#000a;color:#fff;font-size:13px}html.touch-ui #chat-sheet-row .btn{flex:none;height:var(--chat-sheet-input-height);min-height:0;padding:0 8px;font-size:11px;line-height:1}@media(prefers-reduced-motion:reduce){html.touch-ui #chat-sheet-panel,html.touch-ui #chat-sheet-back{transition:none}}#chat.chat-win{width:min(420px,calc(100vw - 24px));display:flex;flex-direction:column;pointer-events:auto;background:#0e1018d1;border:1px solid var(--win-line-2);box-shadow:0 0 0 1px #000a,0 4px 14px #0008}.chat-win #chat-notice{height:58px;margin:0;overflow-y:auto;padding:3px 8px;font-size:12px;line-height:1.45;background:#1c1a28b3;border:0;border-bottom:1px solid var(--win-line-2)}.chat-win .chat-tabs{gap:2px;padding:3px 4px;border-bottom:1px solid var(--win-line-2)}.chat-win .chat-tabs .btn{height:22px}.chat-win #chat-log{height:150px;padding:4px 8px;background:none}#chat-row{display:flex;align-items:stretch}.chat-win #chat-row{border-top:1px solid var(--win-line-2)}.chat-win #chat-input{flex:1;min-width:0;height:24px;border:0;background:#0009}.chat-win #chat-input:focus{box-shadow:inset 0 0 0 1px var(--gold)}#chat-channel{position:relative;flex:none}#chat-channel .ch-now{height:24px;padding:0 8px;white-space:nowrap}#chat-channel .ch-list{position:absolute;left:0;bottom:100%;display:flex;flex-direction:column;gap:2px;min-width:90px;padding:3px;background:var(--win-bg, #10141f);border:1px solid var(--win-line, var(--win-line-2));box-shadow:0 -4px 12px #0008;z-index:2}#chat-channel .ch-list .btn{height:22px}#chat-channel.ch-party .ch-now,#chat-channel .ch-list .ch-party{color:#b9f145}#chat-channel.ch-whisper .ch-now,#chat-channel .ch-list .ch-whisper{color:#ebc3ce}#chat-channel.ch-shout .ch-now,#chat-channel .ch-list .ch-shout{color:#f7b618}@media(max-width:900px){#chat.chat-win{width:min(340px,calc(100vw - var(--slot-size) - var(--tab-width) - 40px))}.chat-win #chat-notice{height:40px}.chat-win #chat-log{height:90px}}#chat.chat-win{background:#222;border:1px solid var(--win-line)}.chat-win .chat-tabs.ct-pics{gap:4px;padding:4px 4px 0;min-width:0;background:#0e1118;border-bottom:1px solid #000}.chat-win .ct-tab{flex:1 1 0;height:20px;min-width:0;min-height:0;padding:0;border:0;border-radius:0;font:inherit;font-size:12px;line-height:20px;color:#a9b8cc;text-shadow:1px 1px 0 #000;background:url(/ui/chat/tab-0.png) no-repeat 0 0 / 100% 100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;image-rendering:pixelated;cursor:url(/ui/cursors/default.cur),pointer}.chat-win .ct-tab:hover{background-image:url(/ui/chat/tab-1.png);color:#fff}.chat-win .ct-tab[aria-selected=true]{background-image:url(/ui/chat/tab-2.png);color:var(--gold)}.chat-win #chat-log{direction:rtl;padding:4px 8px 0}.chat-win #chat-log>div{direction:ltr;text-align:left;unicode-bidi:plaintext}.chat-win #chat-size{flex:none;display:flex;flex-direction:column;gap:2px;height:24px;padding:1px 0 0}.chat-win #chat-size button{width:13px;height:10px;min-width:0;min-height:0;padding:0;border:0;border-radius:0;background:url(/ui/buttons/plus-0.png) no-repeat 0 0;image-rendering:pixelated;cursor:url(/ui/cursors/default.cur),pointer}.chat-win #chat-size #chat-smaller{background-image:url(/ui/buttons/minus-0.png)}.chat-win #chat-size #chat-taller:hover:not(:disabled),.chat-win #chat-size #chat-taller:active{background-image:url(/ui/buttons/plus-1.png)}.chat-win #chat-size #chat-smaller:hover:not(:disabled),.chat-win #chat-size #chat-smaller:active{background-image:url(/ui/buttons/minus-1.png)}.chat-win #chat-size button:disabled{opacity:.4;cursor:url(/ui/cursors/default.cur),default}#chat-channel .ch-now,#chat-channel .ch-list button{color:#dfe6f0}.chat-win #chat-row{align-items:center;gap:0;border-top:0;background:#0e1118;padding:2px 0}.chat-win #chat-channel .ch-now{width:73px;height:20px;min-width:0;min-height:0;padding:0 16px 0 7px;border:0;border-radius:0;text-align:left;font:inherit;font-size:12px;line-height:20px;text-shadow:1px 1px 0 #000;background:url(/ui/chat/input-0.png) no-repeat 0 0;image-rendering:pixelated;overflow:hidden;white-space:nowrap;cursor:url(/ui/cursors/default.cur),pointer}.chat-win #chat-channel .ch-now:hover{background-image:url(/ui/chat/input-1.png)}.chat-win #chat-channel .ch-now[aria-expanded=true],.chat-win #chat-channel .ch-now:active{background-image:url(/ui/chat/input-2.png)}.chat-win #chat-channel .ch-list{gap:1px;min-width:0;padding:2px;background:#0e1118;border:1px solid var(--win-line)}.chat-win #chat-channel .ch-list button{width:85px;height:20px;min-width:0;min-height:0;padding:0 0 0 8px;border:0;border-radius:0;text-align:left;font:inherit;font-size:12px;line-height:20px;text-shadow:1px 1px 0 #000;background:url(/ui/chat/channel-0.png) no-repeat 0 0;image-rendering:pixelated;cursor:url(/ui/cursors/default.cur),pointer}.chat-win #chat-channel .ch-list button:hover{background-image:url(/ui/chat/channel-1.png)}.chat-win #chat-channel .ch-list button[aria-selected=true],.chat-win #chat-channel .ch-list button:active{background-image:url(/ui/chat/channel-2.png)}.chat-win #chat-input,.chat-win #chat-input:focus{flex:1;height:21px;margin-left:2px;padding:0 8px;border:0;border-radius:0;box-shadow:none;background:url(/ui/chat/edit-box.png) no-repeat 0 0 / 100% 100%;image-rendering:pixelated}.chat-emoji{position:relative;flex:none;display:flex;align-items:center}.chat-emoji .emo-btn{width:20px;height:20px;min-width:0;min-height:0;margin:0 2px;padding:0;border:0;border-radius:0;background:url(/ui/chat/emoji-0.png) no-repeat 0 0;image-rendering:pixelated;cursor:url(/ui/cursors/default.cur),pointer}.chat-emoji .emo-btn:hover{background-image:url(/ui/chat/emoji-1.png)}.chat-emoji .emo-btn[aria-expanded=true],.chat-emoji .emo-btn:active{background-image:url(/ui/chat/emoji-2.png)}.chat-emoji .emo-grid{position:absolute;right:0;bottom:calc(100% + 4px);z-index:10;display:grid;grid-template-columns:repeat(8,28px);gap:2px;padding:4px;background:#0e1118;border:1px solid var(--win-line);box-shadow:0 0 0 1px #000a,0 -4px 12px #0008}.chat-emoji .emo{width:28px;height:28px;min-width:0;min-height:0;padding:0;border:0;border-radius:2px;font-size:18px;line-height:28px;background:none;cursor:url(/ui/cursors/default.cur),pointer}.chat-emoji .emo:hover{background:#ffffff14}html.touch-ui #chat-sheet-row .chat-emoji .emo-btn{width:20px;height:20px;max-height:var(--chat-sheet-input-height);margin:0;background-size:100% 100%}html.touch-ui #chat-sheet-row .chat-emoji .emo-grid{grid-template-columns:repeat(8,36px)}html.touch-ui #chat-sheet-row .chat-emoji .emo{width:36px;height:36px;font-size:24px;line-height:36px}#hud-buttons{position:absolute;left:12px;top:168px;display:flex;gap:6px;pointer-events:none}@media(max-width:760px),(max-height:560px){#hud-buttons{left:8px;top:150px}}@media(max-height:460px){#hud-buttons{top:142px}}#hud-buttons button:not(.btn){background:var(--win-bg-2);border:1px solid var(--win-line);color:#e8e4d4;text-shadow:none}#hud-buttons{top:136px}@media(max-width:760px),(max-height:560px){#hud-buttons{top:124px}}@media(max-height:460px){#hud-buttons{top:118px}}#loading{position:fixed;inset:0;z-index:100;background:#0b0805;display:flex;align-items:center;justify-content:center;transition:opacity .35s}#loading.hidden{display:none}#loading.fading{opacity:0;pointer-events:none}#loading-art{position:absolute;top:0;bottom:0;left:50%;transform:translate(-50%);width:min(100vw,1600px);background:center / cover no-repeat;opacity:0;transition:opacity .4s}#loading-art.ready{opacity:1}#loading-title{position:absolute;left:50%;transform:translate(-50%);top:20.5%;width:40vw;text-align:center;font-size:clamp(14px,3.2vh,30px);color:#9fb8e8;font-weight:400;text-shadow:0 0 4px #000;pointer-events:none}#loading-panel{position:absolute;left:50%;bottom:1.2%;transform:translate(-50%);width:min(520px,80vw);text-align:center;text-shadow:0 0 4px #000,0 0 8px #000}#loading-bar{height:12px;border:2px solid #7a5a2a;border-radius:8px;background:#000000a6;overflow:hidden}#loading-fill{display:block;height:100%;width:0;background:linear-gradient(#f2c35b,#b9801f);transition:width .2s}#loading-detail{margin-top:3px;font-size:12px;color:#f1e6cf}#m-chars{position:fixed;inset:0}#m-chars #char-preview{position:absolute;inset:0;width:100%;height:100%;border-radius:0}.mc-pane{position:absolute;top:8px;right:8px;bottom:8px;width:min(38vw,280px);display:flex;flex-direction:column;gap:4px;padding:6px;box-sizing:border-box;background:#0c0c0adb;border:1px solid var(--win-line)}.mc-title{text-align:center;font-size:14px;color:#f6dc6a;padding-bottom:4px;border-bottom:1px solid var(--win-line-2)}.mc-list{flex:1;min-height:0;overflow-y:auto;display:flex;flex-direction:column;gap:4px}.mc-row{display:flex;align-items:center;gap:8px;width:100%;min-height:44px;padding:4px 10px;box-sizing:border-box;font:inherit;font-size:15px;text-align:left;color:#cfc8a8;background:var(--win-dark, #1a1a18);border:1px solid var(--win-line-2);border-radius:0;flex:none}.mc-row.on{border-color:#f6dc6a;color:#f6dc6a;box-shadow:inset 0 0 0 1px #f6dc6a55}.mc-row .nm{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mc-row .lv{flex:none;font-size:14px;opacity:.85;font-variant-numeric:tabular-nums}.mc-empty{padding:20px 8px;text-align:center;color:#9a9a8a;line-height:1.4}.mc-error{color:#ff8a80;font-size:13px}.mc-pane .btn{min-height:0;height:24px;padding:0 6px;font-size:12px;line-height:1}.mc-pane .mc-enter{height:28px;font-size:13px}.mc-foot{display:flex;gap:6px}.mc-foot .btn{flex:1;min-width:0}.mc-look{display:flex;align-items:center;gap:4px;min-height:24px;flex:none;font-size:12px}.mc-look .k{width:48px;flex:none;color:#f6dc6a}.mc-pane .mc-look .arr{width:24px;height:20px;padding:0;font-size:10px}.mc-look .ic{width:22px;height:22px;flex:none;background:center / contain no-repeat}.mc-look .v{flex:1;min-width:0;text-align:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mc-look input[type=range]{flex:1;min-width:0}.mc-look .sc{width:34px;text-align:right;font-size:12px;font-variant-numeric:tabular-nums}.mc-name{height:28px;box-sizing:border-box;padding:0 10px;font:inherit;font-size:13px;color:#f0ecd8;background:var(--win-dark, #1a1a18);border:1px solid var(--win-line-2);border-radius:0}.mc-state{min-height:16px;font-size:12px;color:#aaa}.mc-state.free{color:#7bd88f}.mc-state.taken,.mc-state.invalid{color:#ff8a80}#m-login{position:fixed;inset:0;display:flex;align-items:center;justify-content:center;background:#000;pointer-events:auto}.ml-pane{display:flex;flex-direction:column;gap:6px;width:min(94vw,560px);max-height:96vh;overflow-y:auto;padding:8px 10px;box-sizing:border-box;background:#14120ef0;border:1px solid var(--win-line)}.ml-title{text-align:center;font-size:15px;color:#f6dc6a;padding-bottom:4px;border-bottom:1px solid var(--win-line-2)}.ml-body{display:flex;gap:12px;align-items:flex-start}.ml-fields{flex:1;min-width:0;display:flex;flex-direction:column;gap:6px}.ml-fields input{height:36px;box-sizing:border-box;padding:0 10px;font:inherit;font-size:16px;color:#f0ecd8;background:var(--win-dark, #1a1a18);border:1px solid var(--win-line-2);border-radius:0}.ml-fields .btn{height:32px;min-height:0;font-size:13px;line-height:1}.ml-fields .btn.ml-main{height:38px;font-size:15px}.ml-error{min-height:16px;font-size:12px;color:#ff8a80}#m-login #pinpad{flex:none;width:168px;gap:5px}#m-login #pinpad #auth-pin{box-sizing:border-box;width:100%;height:36px;padding:0 6px;font-size:16px;letter-spacing:4px;text-align:center;border-radius:0}#m-login #pinpad .pin-keys{grid-template-columns:repeat(3,1fr);width:100%;gap:4px}#m-login #pinpad .pin-key{height:38px;font-size:18px;padding:0}#m-login #pinpad .pin-key.small{font-size:13px}@font-face{font-family:Kanit;font-style:normal;font-display:swap;font-weight:300;src:url(/assets/kanit-latin-300-normal-Dvhd4GiE.woff2) format("woff2"),url(/assets/kanit-latin-300-normal-BWYbi1UB.woff) format("woff")}@font-face{font-family:Kanit;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/kanit-latin-400-normal-BUlsQXH3.woff2) format("woff2"),url(/assets/kanit-latin-400-normal-HVZWrfev.woff) format("woff")}@font-face{font-family:Kanit;font-style:normal;font-display:swap;font-weight:300;src:url(/assets/kanit-thai-300-normal-C7lzstOG.woff2) format("woff2"),url(/assets/kanit-thai-300-normal-CheLIY2i.woff) format("woff")}@font-face{font-family:Kanit;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/kanit-thai-400-normal-D80Pglro.woff2) format("woff2"),url(/assets/kanit-thai-400-normal-D2nliXKa.woff) format("woff")}
