@font-face{font-family:Nyangsin Sans;src:url(../ui/fonts/NyangsinSans-Medium.otf);font-weight:400 500}@font-face{font-family:Nyangsin Sans;src:url(../ui/fonts/NyangsinSans-Bold.otf);font-weight:700}#hud-ui{position:fixed;left:0;top:0;transform-origin:0 0;transform:scale(var(--ui-scale, 1));width:calc(100vw / var(--ui-scale, 1));height:calc(100vh / var(--ui-scale, 1));height:calc(100dvh / var(--ui-scale, 1));pointer-events:none;color:#5a3e28;font:500 14px Nyangsin Sans,system-ui,sans-serif;user-select:none;-webkit-user-select:none}#hud-ui.hidden{display:none}body .hj-PaperLook:before{border:1.5px solid rgb(226,209,176);border-image:none;inset:var(--pad);border-radius:18px;background:#f7efdf;box-shadow:0 5px 12px #452b144d,0 0 5px #452b1414}#hud-ui *{box-sizing:border-box}.abs{position:absolute}.row{display:flex;flex-direction:row;align-items:center}.col{display:flex;flex-direction:column}.grow{flex:1 1 auto}.title{font-size:19px;font-weight:700;color:#4a3020;white-space:nowrap}.sub{font-size:13px;color:#8b7158;margin-top:2px;white-space:nowrap}.small{font-size:12px;color:#8b7158}.value{font-size:13px;color:#b9792a;text-align:right;white-space:nowrap}.click{pointer-events:auto;cursor:pointer}.ibtn{display:flex;align-items:center;justify-content:center;transition:translate .12s}.ibtn:hover{translate:0 -2px}.ibtn:active{translate:0 1px}.icon{width:24px;height:24px;background:center / contain no-repeat;flex:0 0 auto}.rowbtn{display:flex;align-items:center;transition:translate .12s}.rowbtn:hover{translate:0 -1px}.rowbtn .icon{width:20px;height:20px;margin-right:10px}.rowbtn .lbl{font-size:13px;flex:1 1 auto}.volrow{pointer-events:auto}.volrow:hover{translate:none}.volrow .lbl{flex:0 0 72px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.vol-track{position:relative;flex:1 1 auto;height:22px;margin:0 8px;cursor:pointer;touch-action:none}.vol-track:before{content:"";position:absolute;left:0;right:0;top:9px;height:4px;border-radius:2px;background:#e2d3ba}.vol-fill{position:absolute;left:0;top:9px;height:4px;border-radius:2px;background:#d6a04c}.vol-knob{position:absolute;top:4px;width:14px;height:14px;margin-left:-7px;border-radius:50%;background:#fffaee;box-shadow:0 0 0 2px #d6a04c,0 1px 2px #3c28144d}.volrow .value{flex:0 0 38px;text-align:right;font-size:12px}.chip{display:flex;align-items:center;justify-content:center}.chip .icon{width:16px;height:16px}.chat-log{height:88px;margin:6px 0 8px;display:flex;flex-direction:column;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:none;pointer-events:auto}.chat-log::-webkit-scrollbar{display:none}.chat-thumb{position:absolute;right:7px;width:3px;border-radius:2px;background:#8b715880;pointer-events:none}.chat-line{font-size:13.5px;margin-top:3px;line-height:1.25;flex-shrink:0}.chat-line:first-child{margin-top:auto}.chat-line b{color:#4a3020}.chat-tr{font-size:10px;color:#5a3e288c}.chat-input{flex:1 1 auto;display:flex;align-items:center}.chat-input input{width:100%;border:0;outline:0;background:transparent;color:#5a3e28;font:500 13.5px Nyangsin Sans,system-ui,sans-serif;pointer-events:auto}.chat-input input::placeholder{color:#8b7158}.tag{position:absolute;transform:translate(-50%,-100%);font-size:12px;text-align:center;white-space:nowrap;color:#5a3e28}.tag.me{color:#3d2610}.tip{position:absolute;font-size:13px;color:#fbf3e3;white-space:nowrap}.tip.use b{background:#c9a26a;color:#3a2414;border-radius:4px;padding:0 6px;margin-right:8px;font-weight:700}.toast{font-size:15px;text-align:center;line-height:1.35}.menu-title{font-size:12px;color:#8b7158;margin:0 0 8px 2px}#hud-fade{position:fixed;inset:0;background:#140d08;opacity:0;pointer-events:none;transition:opacity .35s}@media(pointer:coarse){#hud-ui .ibtn{min-width:calc(40px / var(--ui-scale, 1));min-height:calc(40px / var(--ui-scale, 1))}}body .hj-ButtonLook:before{border-image:none;border:1.5px solid rgb(226,209,176);inset:5px;border-radius:23.9px;background:#fffbf3;box-shadow:inset 0 -4.5px #e2d1b0,0 2px 5px #452b1424}body .hj-PlainLook:before{border-image:none;border:1.5px solid rgb(226,209,176);inset:3px;border-radius:11.9px;background:#fffbf3;box-shadow:inset 0 -4px #e2d1b0,0 2px 5px #452b1417}body .hj-PlainHoverLook:before{border-image:none;border:1.5px solid rgb(217,194,154);inset:3px;border-radius:11.9px;background:#fff3dc;box-shadow:inset 0 -4px #d9c29a,0 2px 5px #452b1417}body .hj-PrimaryLook:before{border-image:none;border:0px solid rgb(224,165,59);inset:3px;border-radius:11.9px;background:#e0a53b;box-shadow:inset 0 -4px #b67f22,0 2px 5px #452b1429}body .hj-PrimaryHoverLook:before{border-image:none;border:0px solid rgb(237,181,79);inset:3px;border-radius:11.9px;background:#edb54f;box-shadow:inset 0 -4px #b67f22,0 2px 5px #452b1429}body .hj-SecondaryLook:before{border-image:none;border:0px solid rgb(62,142,134);inset:3px;border-radius:11.9px;background:#3e8e86;box-shadow:inset 0 -4px #2b6a63,0 2px 5px #452b1429}body .hj-HereLook:before{border-image:none;border:0px solid rgb(224,165,59);inset:3px;border-radius:11.9px;background:#e0a53b;box-shadow:inset 0 -2.5px #b67f22,0 2px 5px #452b1417}body .hj-SelectLook:before{border-image:none;border:2px solid rgb(224,165,59);inset:3px;border-radius:11.9px;background:#fff1d2;box-shadow:inset 0 -4.5px #d9a441,0 2px 5px #452b1417}body .hj-ValueLook:before{border-image:none;border:1px solid rgb(234,220,194);inset:1px;border-radius:10.2px;background:#fbf4e6;box-shadow:none}body .hj-FieldLook:before{border-image:none;border:1.5px solid rgb(226,209,176);inset:1px;border-radius:11.9px;background:#fffbf3;box-shadow:none}body .hj-ChipLook:before{border-image:none;border:0px solid rgb(239,227,203);inset:1px;border-radius:8.5px;background:#efe3cb;box-shadow:none}body .hj-CardLook:before{border-image:none;border:1px solid rgb(234,220,194);inset:1px;border-radius:13.7px;background:#fbf4e6;box-shadow:none}body .hj-TipLook:before{border-image:none;border:0px solid rgb(74,48,32);inset:6px;border-radius:10.2px;background:#4a3020;box-shadow:0 2px 5px #452b1433}body .hj-TagLook:before{border-image:none;border:1.5px solid rgb(226,209,176);inset:4px;border-radius:11.9px;background:#f7efdf;box-shadow:0 2px 5px #452b1433}body .hj-TagMeLook:before{border-image:none;border:1.5px solid rgb(182,127,34);inset:4px;border-radius:11.9px;background:#e0a53b;box-shadow:0 2px 5px #452b1433}body .hj-TagMutedLook:before{border-image:none;border:0px solid rgb(197,187,171);inset:4px;border-radius:11.9px;background:#c5bbab;box-shadow:0 2px 5px #452b1421}body .hj-BubbleLook:before{border-image:none;border:1.5px solid rgb(226,209,176);inset:8px;border-radius:13.7px;background:#fffbf3;box-shadow:0 2px 5px #452b143b}#gt-icons{position:fixed;inset:0;pointer-events:none;z-index:var(--z-hud)}body.popup-open #gt-icons,body.shot #gt-icons{display:none}.gt-badge{position:absolute;left:0;top:0;display:flex;flex-direction:column;align-items:center;pointer-events:auto;cursor:pointer;font:700 12px Nyangsin Sans,system-ui,sans-serif;color:#6b4a2f;will-change:transform}.gt-badge .gt-ico{width:44px;height:44px;filter:drop-shadow(0 2px 3px rgba(69,43,20,.3));transition:scale .15s}.gt-badge:hover .gt-ico{scale:1.08}.gt-badge .gt-heart{transform-origin:38.6px 17px;animation:gt-beat 1.6s ease-in-out infinite}.gt-caption{margin-top:1px;padding:1px 8px;border-radius:9px;background:#fffaf0eb;box-shadow:0 1px 3px #452b1440}.gt-caption:empty{display:none}.gt-badge.me{cursor:default}.gt-badge.me .gt-ico{opacity:.85}.gt-badge.playing{cursor:default;pointer-events:none}.gt-badge.playing .gt-ico{width:30px;height:30px;opacity:.75}.gt-badge.playing .gt-heart{animation:none}@keyframes gt-beat{0%,to{transform:scale(1)}15%{transform:scale(1.18)}30%{transform:scale(1)}}@media(pointer:coarse){.gt-badge .gt-ico{width:48px;height:48px}}.gt-status{text-align:center;min-height:20px;margin-bottom:8px}.gt-note{text-align:center;min-height:16px;margin-top:6px}.gt-buttons{gap:10px;justify-content:center}.gt-buttons>.pp-btn{flex:1 1 auto;padding:0 14px}.gt-buttons>.pp-btn span{white-space:nowrap}.gt-board{position:relative;align-self:center}.ch-board{display:grid;grid-template-columns:repeat(8,42px);grid-template-rows:repeat(8,42px);border-radius:10px;overflow:hidden;border:3px solid rgb(139,101,66);box-shadow:0 2px 6px #452b1440;user-select:none;-webkit-user-select:none;touch-action:manipulation}.ch-sq{position:relative;display:flex;align-items:center;justify-content:center}.ch-sq.light{background:#f6e9ce}.ch-sq.dark{background:#c9a072}.ch-sq.last{box-shadow:inset 0 0 0 40px #f0c45c61}.ch-sq.picked{box-shadow:inset 0 0 0 40px #80ba928c}.ch-sq.check{background-image:radial-gradient(circle,rgba(236,120,104,.85) 0,rgba(236,120,104,.35) 55%,transparent 72%)}.ch-sq.mine,.ch-sq.dot,.ch-sq.hit{cursor:pointer}.ch-sq.dot:after{content:"";width:12px;height:12px;border-radius:50%;background:#5a3e284d}.ch-sq.hit:after{content:"";position:absolute;inset:3px;border-radius:50%;border:3px solid rgba(90,62,40,.32)}.ch-piece{width:38px;height:38px;pointer-events:none;filter:drop-shadow(0 1px 1px rgba(69,43,20,.25))}.ch-rank,.ch-file{position:absolute;font:700 9px Nyangsin Sans,system-ui,sans-serif;font-style:normal;color:#5a3e288c;pointer-events:none}.ch-rank{left:2px;top:1px}.ch-file{right:3px;bottom:0}.ch-promo{display:none;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);align-items:center;gap:6px;padding:10px 12px;border-radius:14px;background:#fffbf3;border:1px solid rgb(234,220,194);box-shadow:0 5px 14px #452b144d;font-size:13px}.ch-pick{width:46px;height:46px;border-radius:10px;background:#f6e9ce;display:flex;align-items:center;justify-content:center;cursor:pointer}.ch-pick:hover{background:#f0dcb4}.gm-holder{position:relative;align-self:center}.gm-board{--gm: min(21px, calc((100vw - 76px) / 15));position:relative;display:grid;grid-template-columns:repeat(15,var(--gm));grid-template-rows:repeat(15,var(--gm));padding:7px;border-radius:10px;border:3px solid rgb(139,101,66);background:linear-gradient(135deg,#ecc88c,#deb576);box-shadow:0 2px 6px #452b1440;user-select:none;-webkit-user-select:none;touch-action:manipulation}.gm-board:before{content:"";position:absolute;left:calc(7px + var(--gm) / 2);top:calc(7px + var(--gm) / 2);width:calc(var(--gm) * 14 + 1px);height:calc(var(--gm) * 14 + 1px);pointer-events:none;background-image:linear-gradient(to right,rgba(90,58,34,.62) 1px,transparent 1px),linear-gradient(to bottom,rgba(90,58,34,.62) 1px,transparent 1px);background-size:var(--gm) var(--gm)}.gm-pt{position:relative;z-index:1}.gm-pt.star:before{content:"";position:absolute;left:50%;top:50%;width:5px;height:5px;margin:-2px 0 0 -2px;border-radius:50%;background:#5a3a22bf}.gm-pt:after{content:"";position:absolute;inset:1px;border-radius:50%;opacity:0;transition:opacity .12s}.gm-pt.black:after,.gm-pt.white:after{opacity:1;box-shadow:0 1px 2px #28190c73}.gm-pt.black:after{background:radial-gradient(circle at 35% 30%,#6e625c,#261f1c 62%)}.gm-pt.white:after{background:radial-gradient(circle at 35% 30%,#fffdf6,#e2d8c6 70%)}.gm-pt.last{z-index:2}.gm-pt.last:before{content:"";position:absolute;z-index:3;left:50%;top:50%;width:6px;height:6px;margin:-3px 0 0 -3px;border-radius:50%;background:#e27054}.gm-pt.win:after{box-shadow:0 0 0 2px #f0c45c,0 0 8px #f0c45ce6}.gm-board.my-turn .gm-pt.open{cursor:pointer}@media(hover:hover){.gm-board.my-turn .gm-pt.open:hover:after{opacity:.45;background:radial-gradient(circle at 35% 30%,#6e625c,#261f1c 62%)}.gm-board.my-turn.me-white .gm-pt.open:hover:after{background:radial-gradient(circle at 35% 30%,#fffdf6,#e2d8c6 70%)}}
