body.nht-pc98 .hud-top{zoom:var(--pc-ui98);box-sizing:border-box!important;width:calc(100vw / var(--pc-ui98))!important;right:auto!important;padding:calc(8px / var(--pc-ui98))!important;align-items:flex-start!important}
body.nht-pc98 .hud-right{display:grid!important;grid-template-columns:auto auto!important;grid-template-rows:auto auto!important;column-gap:8px!important;row-gap:6px!important;align-items:start!important;flex-direction:row!important}
body.nht-pc98 .hud-right .mm-ring{grid-column:2!important;grid-row:1 / span 2!important;order:0!important}
body.nht-pc98 .hud-right .purse{position:static!important;grid-column:1!important;grid-row:1!important;justify-self:end!important;flex-direction:row!important;flex-wrap:nowrap!important;margin:0!important}
body.nht-pc98 #trmenu{grid-column:1!important;grid-row:2!important;flex-direction:row!important;flex-wrap:nowrap!important;justify-self:end!important;position:static!important;margin-right:38px!important;max-width:none!important;gap:5px!important}
body.nht-pc98 #snd-row{position:static!important}
body.nht-pc98 .menu.topmenu,body.nht-pc98 .menu.botmenu,body.nht-pc98 .combat,body.nht-pc98 #party-hud,body.nht-pc98 #nht-beta-test2{zoom:var(--pc-ui98)}
body.nht-pc98 .menu.topmenu{left:calc(50vw / var(--pc-ui98))!important;top:calc(8px / var(--pc-ui98))!important;max-width:none!important;flex-wrap:nowrap!important}
body.nht-pc98 .menu.botmenu{left:calc(50vw / var(--pc-ui98))!important;bottom:calc(8px / var(--pc-ui98))!important;max-width:none!important;flex-wrap:nowrap!important}
body.nht-pc98 .combat:not(#potcol){position:fixed!important;right:calc(8px / var(--pc-ui98))!important;bottom:calc(8px / var(--pc-ui98))!important;left:auto!important;top:auto!important}
body.nht-pc98 #potcol{position:fixed!important;right:calc(8px / var(--pc-ui98))!important;left:auto!important;top:var(--pc-pot98-top,calc(50vh / var(--pc-ui98)))!important;bottom:auto!important;transform:translateY(-50%)!important}
body.nht-pc98 #qt-box{zoom:1!important;position:fixed!important;left:auto!important;right:8px!important;transform:scale(var(--pc-ui98))!important;transform-origin:top right!important;max-height:calc(clamp(74px,20vh,200px) / var(--pc-ui98))!important;overflow-y:auto!important;overscroll-behavior:contain}
body.nht-pc98 #party-hud{left:var(--pc-party98-left)!important;top:var(--pc-party98-top)!important;max-height:calc(25vh / var(--pc-ui98));overflow:auto}
body.nht-pc98 #nht-beta-test2{left:var(--pc-beta98-left)!important;top:var(--pc-beta98-top)!important}
body.nht-pc98 #zalo-btn{zoom:1!important;width:calc(30px * var(--pc-ui98))!important;height:calc(30px * var(--pc-ui98))!important;right:auto!important}
body.nht-pc98 #zalo-btn::before{font-size:calc(16px * var(--pc-ui98))!important}
body.nht-pc98 #chat{zoom:1!important;position:fixed!important;left:8px!important;right:auto!important;top:auto!important;bottom:64px!important;width:clamp(250px,26vw,350px)!important;max-width:calc(100vw - 250px)!important;font-size:12px!important;line-height:1.35!important}
body.nht-pc98 #chat-tabs span{font-size:11px!important;padding:3px 0!important}
body.nht-pc98 #chat-log{height:clamp(80px,16vh,160px)!important;max-height:clamp(80px,16vh,160px)!important;overflow-y:auto!important;overscroll-behavior:contain;line-height:1.35!important;font-size:12px!important}
body.nht-pc98 #chat .chat-row{display:flex!important;gap:4px!important;align-items:center!important}
body.nht-pc98 #chat-in,body.nht-pc98 #chat-ch{font-size:12px!important;min-height:25px!important}
body.nht-pc98 #chat-in{width:auto!important;min-width:0!important;flex:1!important}
body.nht-pc98 #feed{font-size:11px!important;left:8px!important;bottom:calc(64px + var(--pc-chat98-height) + 8px)!important;width:clamp(250px,26vw,350px)!important;pointer-events:none}
#nht-chat-head98{display:none}
body.nht-pc98 #nht-chat-head98{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:26px;background:#21190edc;border:1px solid #8c733f;border-radius:5px;padding:1px 4px 1px 7px;color:#e9d3a1;font:700 11px/1.2 sans-serif;margin-bottom:3px}
body.nht-pc98 #nht-chat-head98 button{display:grid;place-items:center;min-width:25px;min-height:24px;padding:0;border:0;border-radius:3px;background:#46351d;color:#f2d693;font:700 18px/1 sans-serif;cursor:pointer;touch-action:manipulation}
body.nht-pc98 #chat.nht-chat-collapsed98{width:126px!important;max-width:126px!important;height:28px!important;overflow:hidden!important}
body.nht-pc98 #chat.nht-chat-collapsed98>:not(#nht-chat-head98){display:none!important}
body.nht-pc98 #chat.nht-chat-collapsed98 #nht-chat-head98{margin:0;min-height:28px}
body.nht-pc98 .overlay .sheet{max-height:calc(100dvh - 48px)!important}
@media(max-height:620px){body.nht-pc98 #chat{bottom:52px!important}body.nht-pc98 #chat-log{height:80px!important;max-height:80px!important}body.nht-pc98 #feed{bottom:calc(52px + var(--pc-chat98-height) + 6px)!important}body.nht-pc98 #qt-box{right:calc(16px + 64px * var(--pc-ui98))!important}}

body.nht-pc98 #ov-inv>.sheet{width:min(880px,calc(100vw - 48px));max-width:880px!important;height:min(760px,calc(100dvh - 48px));max-height:calc(100dvh - 48px)!important}
body.nht-pc98 #ov-inv .sheet-h{flex-shrink:0;padding:9px 13px}
body.nht-pc98 #ov-inv .sheet-h h3{font-size:17px}
body.nht-pc98 #ov-inv .sheet-b{flex:1;min-height:0;padding:12px;overflow:hidden}
body.nht-pc98 #ov-inv .inv2{height:100%;min-height:0;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px}
body.nht-pc98 #ov-inv .inv-l{min-width:0;min-height:0;overflow:auto;scrollbar-width:thin;padding-right:4px}
body.nht-pc98 #ov-inv .inv-r{display:flex;flex-direction:column;min-width:0;min-height:0;overflow:hidden}
body.nht-pc98 #ov-inv .eqbox{grid-template-columns:48px minmax(0,1fr) 48px;gap:7px;margin-bottom:6px}
body.nht-pc98 #ov-inv .eqcol{gap:4px}
body.nht-pc98 #ov-inv .eqs{width:48px;height:48px;flex:none}
body.nht-pc98 #ov-inv .eqbox .preview{height:256px}
body.nht-pc98 #ov-inv #eq-horse{margin:6px 0!important;gap:7px!important}
body.nht-pc98 #ov-inv #eq-horse>:not(.eqs){font-size:11px!important;line-height:1.25}
body.nht-pc98 #ov-inv .sec-h{margin:7px 0 5px;font-size:12px}
body.nht-pc98 #ov-inv #pts-box>.note{font-size:11px;line-height:1.3;margin:4px 0 6px}
body.nht-pc98 #ov-inv .ptrow{padding:6px 7px;gap:6px;margin-bottom:4px}
body.nht-pc98 #ov-inv .ptrow .nm{font-size:12px}
body.nht-pc98 #ov-inv .ptrow .st{font-size:10px!important;line-height:1.25}
body.nht-pc98 #ov-inv .ptrow .mini{min-width:28px;padding:4px 6px;font-size:11px}
body.nht-pc98 #ov-inv .inv-r>div:first-child{flex-shrink:0;gap:5px!important;margin-bottom:7px!important}
body.nht-pc98 #ov-inv .inv-r>div:first-child .muted{font-size:11px!important}
body.nht-pc98 #ov-inv .inv-r>div:first-child .mini{padding:4px 6px;font-size:10px}
body.nht-pc98 #ov-inv #inv-grid{width:100%;max-width:332px;align-self:center;grid-template-columns:repeat(6,minmax(0,1fr));gap:4px;align-content:start;min-height:0;overflow:auto;flex:1;scrollbar-width:thin}
body.nht-pc98 #ov-inv #inv-grid .bc{min-width:0;min-height:0}
body.nht-pc98 #ov-inv .inv-r>p{font-size:10px!important;line-height:1.25;margin:7px 0 0!important;flex-shrink:0}
