/* ======================= GIAO DIEN KIEU VO LAM 2.0 (man hinh ngang rong >= 900px) =======================
   San dau toan man hinh; cac the (Nhan vat, Vo cong, Hanh trang...) thanh cua so noi; menu bieu tuong goc duoi phai,
   cot hoat dong ben phai, nut tron + ban do nho goc phai tren, nhat ky trong suot goc duoi trai. */
body.u20 #app{display:block!important;width:100vw!important;height:100vh!important;max-width:none!important;transform:none!important;margin:0!important}
body.u20 #top,body.u20 #tabs,body.u20 #mainSk,body.u20 #compactBtn{display:none!important}
body.u20 #battle{position:fixed!important;inset:0!important;flex:none!important;height:auto!important;width:auto!important}
/* thanh trang thai tren cung */
body.u20 #hud{left:188px!important;right:auto!important;width:min(560px,calc(100vw - 430px))!important;max-width:560px!important;transform:none!important;top:0!important;padding:3px 8px!important;
  background:linear-gradient(#3b3424,#1c170e)!important;border:1px solid #7d6a3c!important;border-top:0!important;box-shadow:0 2px 6px #000a!important;display:flex!important;gap:4px!important;align-items:center}
body.u20 #hud .bar{flex:1 1 0;margin:0!important;min-width:0;max-width:170px}
#gmMarq{position:fixed!important;left:0!important;right:0!important;top:48px;z-index:90!important;height:22px;width:min(640px,62vw)!important;margin:0 auto!important;overflow:hidden;pointer-events:none;display:block;background:none!important;border:none!important;box-shadow:none!important}
#gmMarq[hidden]{display:none!important}
#gmMarq span{display:inline-block;padding-left:100%;white-space:nowrap;color:#ffe9a0;font-weight:700;font-size:14px;line-height:22px;letter-spacing:.5px;text-shadow:0 1px 2px #000,0 0 8px #000,0 0 2px #000;animation:gmMarq 12s linear 1}
@keyframes gmMarq{from{transform:translateX(0)}to{transform:translateX(-100%)}}
body.u20 #topCtl{top:auto!important;bottom:64px!important;right:8px!important;left:auto!important}
/* cua so noi = khung the cu */
body.u20 #panel{position:fixed!important;left:50%;top:64px;transform:translateX(-50%);width:min(560px,46vw);max-height:calc(100vh - 160px);z-index:30;display:none!important;
  border:2px solid #8c7440!important;box-shadow:0 0 18px #000!important;background:rgba(18,18,16,.95)!important;overflow:auto!important}
body.u20.u20win #panel{display:block!important;min-height:280px}
body.u20.u20win #panel .tab:not(.hidden){display:block!important;min-height:240px;visibility:visible!important}
body.u20 #panel::before{display:none!important}
#u20wh{position:sticky;top:0;z-index:2;display:flex;align-items:center;height:26px;background:linear-gradient(#4a3f26,#231c0e);border-bottom:1px solid #8c7440;color:#ffe9b0;font-weight:600;justify-content:center}
#u20wh button{position:absolute;right:4px;top:2px;width:22px;height:20px;border:1px solid #8c7440;background:#2a1f10;color:#ffd98a;cursor:pointer;line-height:16px}
#u20wh{cursor:move;user-select:none}
/* goc phai tren: nut tron + tien */
#u20r{position:fixed;top:4px;z-index:8;display:flex;gap:6px}
.u20rb{width:46px;height:46px;border-radius:50%;background:radial-gradient(#6b5530,#2a1f0e);border:2px solid #b9974f;color:#ffe9b0;font:600 9.5px/11px var(--font,Tahoma);text-align:center;cursor:pointer;box-shadow:0 2px 4px #000;padding:0}
.u20rb:hover{filter:brightness(1.25)}
#u20gold{position:fixed;right:6px;z-index:8;display:flex;gap:10px;color:#ffd970;font-weight:700;font-size:12px;text-shadow:0 1px 2px #000,0 0 3px #000}
#u20gold img{width:15px;height:15px;vertical-align:-3px;margin-right:2px}
/* cot hoat dong ben phai */
#u20side{position:fixed;right:6px;z-index:8;display:flex;flex-direction:column;gap:5px}
.u20sq{position:relative;width:32px;height:32px;border:1px solid #9a8250;background:linear-gradient(#3b5e7a,#16283a);font-size:15px;cursor:pointer;padding:0;box-shadow:0 1px 3px #000}
.u20sq:hover::after{content:attr(data-n);position:absolute;right:38px;top:6px;white-space:nowrap;background:#000d;border:1px solid #6d5a30;color:#ffe9b0;font-size:11px;padding:1px 6px}
.u20sq.dot::before{content:'';position:absolute;right:-3px;top:-3px;width:8px;height:8px;border-radius:50%;background:#e33}
/* menu bieu tuong goc duoi phai */
#u20menu{position:fixed;right:6px;bottom:6px;z-index:8;display:flex;gap:3px;padding:3px;background:linear-gradient(#3b3424,#1c170e);border:1px solid #9a8250;border-radius:4px}
.u20mi{position:relative;width:34px;height:34px;border:1px solid #6d5a30;background:radial-gradient(#3e5f50,#13251c) center/24px no-repeat;cursor:pointer;padding:0;font-size:16px;color:#fff}
.u20mi small{position:absolute;bottom:-1px;left:0;right:0;font-size:8px;text-align:center;color:#ffe9b0;background:#000a;line-height:10px}
.u20mi.on{border-color:#e0c060;box-shadow:0 0 6px #e0c06088}
.u20mi .dot{position:absolute;right:-3px;top:-3px;width:8px;height:8px;border-radius:50%;background:#e33;display:none}
.u20mi .dot.on{display:block}
/* nhat ky trong suot goc duoi trai */
#u20log{position:fixed;left:0;bottom:50px;width:min(42vw,470px);z-index:7;pointer-events:auto}
#u20lines{max-height:170px;overflow:hidden;padding:4px 8px;font-size:11.5px;line-height:15px;background:linear-gradient(90deg,#000b,#0000);text-shadow:0 1px 1px #000}
#u20lines div{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#u20ct{display:flex}
#u20ct button{background:linear-gradient(#2f4a3a,#132219);border:1px solid #6f9c8b;padding:0 5px;font-size:10px;white-space:nowrap;color:#ffe9b0;cursor:pointer;height:16px}
#u20ct button.on{background:linear-gradient(#6b5320,#3a2c0e);border-color:#e0c060}
body.u20 #chatBox{bottom:6px!important}
body.u20 #modeSw{bottom:auto!important;top:auto!important;left:auto!important;right:8px!important;bottom:100px!important}
/* thanh mau trum */
#u20boss{position:fixed;left:50%;transform:translateX(-50%);top:30px;width:min(34vw,440px);z-index:7;text-align:center;display:none;pointer-events:none}
#u20boss .t{color:#ffd970;font-weight:700;font-size:12px;text-shadow:0 1px 2px #000}
#u20boss .b{height:12px;border:2px solid #8c7440;border-radius:7px;background:#200;margin-top:2px;position:relative;overflow:hidden}
#u20boss .b i{position:absolute;left:0;top:0;bottom:0;background:linear-gradient(#e44,#911)}
#u20boss .b span{position:absolute;inset:0;font-size:10px;line-height:12px;color:#fff;text-shadow:0 0 2px #000}
/* Tro thu kiem hiep */
.u20tt label{display:block;padding:3px 0}
.u20tt h4{margin:8px 0 2px;color:#e8d49a;border-bottom:1px solid #554}
/* chat the gioi trong giao dien 2.0: nut 💬 goc duoi trai, dong chat hien o tab "Thế giới" cua khung nhat ky; mo 💬 = cua so chat */
body.u20 #u20log{bottom:2px}
body.u20 #u20ct{margin-left:36px;flex-wrap:wrap}
body.u20 #chatBox:not(.open){left:2px!important;bottom:2px!important;width:auto!important}
body.u20 #chatBox:not(.open) #chatLines{display:none}
body.u20.nochat #u20ct{margin-left:0}
#u20in{display:none;position:relative;gap:2px;padding:3px 6px 5px;pointer-events:auto;align-items:stretch;width:100%;box-sizing:border-box;margin:0;flex-direction:column}
#u20in.on{display:flex}
#u20emo[hidden]{display:none!important}
#u20in .cinrow{display:flex;gap:4px;width:100%;align-items:center}
#u20in .cib{flex:none;width:24px;height:24px;padding:0;border:1px solid #5a4b2c;border-radius:3px;background:linear-gradient(#2e2719,#15120b);color:#ffe9a8;font:bold 16px/22px sans-serif;cursor:pointer}
#u20in .cib:hover{border-color:#c4a45a}
#u20in .cib.on,#chatBox .cib.on,#ptyMic.on{border-color:#e05050!important;background:linear-gradient(#5a1818,#2a0c0c)!important;color:#ffd0d0}
#pvWho{position:fixed;left:8px;bottom:86px;z-index:80;display:none;max-width:min(52vw,280px);padding:3px 8px;border:1px solid #8a3a3a;border-radius:4px;background:#1a0c0ce8;color:#ffd0b0;font-size:12px;pointer-events:none;text-shadow:0 1px 2px #000}
#pvWho.on{display:block}
#chatLines .cvo,#u20lines .cvo{color:#7fe0ff;text-decoration:underline;cursor:pointer;background:none;border:0;padding:0;font:inherit;pointer-events:auto!important}
body.u20 #u20lines [data-pn],body.u20 #u20lines .chit,body.u20 #u20lines .cxy,body.u20 #u20lines .cvo{pointer-events:auto!important;cursor:pointer}
#u20in input{flex:1;min-width:0;height:24px;background:#0b0c0a;border:1px solid #6d5a30;color:#f2ecd0;padding:0 6px;font:inherit;border-radius:3px}
#u20in button{height:24px;padding:0 8px;flex:none;cursor:pointer}
body.u20 #chatBox{z-index:12!important}
body.u20 #chatBtn{pointer-events:auto!important}
body.u20 #chatBox.open{left:2px!important;bottom:24px!important;top:auto!important;height:min(60vh,420px);width:min(34vw,420px)!important}
body.u20 #modal .mbox{width:min(440px,92vw)!important;max-width:min(440px,92vw)!important}
body.u20 #modal.u2ktc .mbox,body.u2m #modal.u2ktc .mbox{width:min(820px,96vw)!important;max-width:min(820px,96vw)!important}
body.u20 #modal.u2mkt .mbox,body.u2m #modal.u2mkt .mbox{width:min(640px,96vw)!important;max-width:min(640px,96vw)!important;position:relative;overflow:hidden}
/* ======================= v160: HINH ANH + CUA SO VO LAM 2.0 ======================= */
:root{--w2bg:rgba(24,26,22,.95);--w2ln:#7d7a62;--w2ln2:#3a392e;--w2tx:#e9e1c2;--w2gd:#ffd970;--w2cell:#0b0c0a}
/* thanh menu: bieu tuong goc 2.0 (20x20, 3 khung: thuong / re chuot / dang mo) */
#u20menu{gap:2px;padding:4px 8px;background:linear-gradient(#4a4a3c,#1d1d16);border:1px solid #9a926c;border-radius:14px 14px 3px 3px;box-shadow:0 0 0 1px #000,0 -2px 8px #000a;align-items:flex-end;z-index:45!important;pointer-events:auto!important}
.u20mi{width:30px;height:30px;border:0;border-radius:0;background:transparent no-repeat 0 0/90px 30px;image-rendering:auto}
.u20mi:hover{background-position:-30px 0}.u20mi.on{background-position:-60px 0;box-shadow:none}
.u20mi small{display:none}
#u20mini{position:absolute;right:6px;top:-30px;display:flex;gap:3px;padding:2px 4px;background:linear-gradient(#3e3e32,#1d1d16);border:1px solid #8b845f;border-bottom:0;border-radius:8px 8px 0 0}
.u20mi.sm{width:26px;height:26px;background-size:78px 26px}.u20mi.sm:hover{background-position:-26px 0}.u20mi.sm.on{background-position:-52px 0}
/* khung cua so 2.0 */
body.u20 #panel{background:var(--w2bg)!important;border:1px solid var(--w2ln)!important;outline:1px solid #000;box-shadow:inset 0 0 0 1px var(--w2ln2),0 4px 22px #000!important;border-radius:4px;padding:0 0 8px!important;color:var(--w2tx)}
body.u20 #panel .tab{padding:6px 10px 0}
#u20wh{height:30px!important;background:linear-gradient(#55564a,#2a2b24 55%,#1d1e19)!important;border-bottom:1px solid #8c876a!important;color:var(--w2tx)!important;font-size:14px;letter-spacing:.5px;text-shadow:0 1px 2px #000}
#u20wh::before,#u20wh::after{content:'';position:absolute;top:14px;width:22%;height:1px;background:linear-gradient(90deg,transparent,#a59c78)}#u20wh::before{left:12px}#u20wh::after{right:40px;transform:scaleX(-1)}
#u20wh button,body.u20 #modal .mx{width:24px!important;height:24px!important;border-radius:50%!important;border:2px solid #c9c6b6!important;background:radial-gradient(circle at 40% 35%,#6a6a66,#1d1d1b)!important;color:#fff!important;font-size:12px;line-height:18px;padding:0;top:3px!important;right:5px!important;box-shadow:0 0 3px #000}
body.u20[data-u2t=char] #panel{width:600px}body.u20[data-u2t=inv] #panel{width:262px}body.u20[data-u2t=skill] #panel{width:min(740px,60vw)}
body.u20[data-u2t=forge] #panel{width:560px}body.u20[data-u2t=quest] #panel{width:620px}body.u20[data-u2t=tt] #panel{width:520px}body.u20[data-u2t=more] #panel{width:520px}
body.u20.u20win[data-u2t=inv] #panel{left:auto!important;right:200px;transform:none!important}
/* nut, the, o kieu 2.0 */
body.u20 #panel .btn,body.u20 #modal .btn{background:linear-gradient(#5d684d,#2e3825)!important;border:1px solid #a6ad80!important;color:#f3edc8!important;border-radius:3px!important;box-shadow:inset 0 1px 0 #ffffff22,0 1px 2px #000;text-shadow:0 1px 1px #000}
body.u20 #panel .btn:hover:not(:disabled),body.u20 #modal .btn:hover:not(:disabled){filter:brightness(1.2)}
body.u20 #panel .btn.on,body.u20 #modal .btn.on{background:linear-gradient(#8a7434,#4a3c14)!important;border-color:#e8c860!important}
body.u20 #panel .btn.red,body.u20 #modal .btn.red{background:linear-gradient(#7a3a2e,#3e1a12)!important;border-color:#c48a70!important}
.u2tabs,body.u20 .dtabs{display:flex;gap:2px;border-bottom:1px solid var(--w2ln);margin:0 0 6px;padding:0}
.u2tabs button,body.u20 .dtabs button{flex:0 0 auto;background:linear-gradient(#3b3d33,#202119)!important;border:1px solid #6d6b55!important;border-bottom:0!important;border-radius:4px 4px 0 0!important;color:#cfc8a8!important;padding:3px 12px!important;font-size:12px;cursor:pointer}
.u2tabs button.on,body.u20 .dtabs button.on{background:linear-gradient(#6a6a52,#38382a)!important;color:var(--w2gd)!important}
.u2h{display:flex;align-items:center;gap:4px;color:#e8d49a;font-weight:600;margin:8px 0 3px;padding:2px 6px;background:linear-gradient(90deg,#3a3a2c,transparent);border-left:2px solid #b9974f}
.u2h .sp,.u2foot .sp,.u2bh .sp{flex:1}
.u2box{border:1px solid #4e4c3c;background:#00000055;padding:5px 7px;margin-bottom:4px}
.u2btns{display:flex;gap:4px;flex-wrap:wrap;justify-content:center;margin:6px 0 0}
.gold{color:var(--w2gd)}
body.u20 #panel .it{background:var(--w2cell);border:1px solid #4e4c3c;border-radius:0;box-shadow:inset 0 0 6px #000}
body.u20 #panel .it.r1{border-color:#6aa8ff}body.u20 #panel .it.r2{border-color:#ffd24a}body.u20 #panel .it.r3{border-color:#c77bff}
/* Nhan vat */
.u2char{display:grid;grid-template-columns:262px 1fr;gap:10px}
.u2nm{text-align:center;color:#ffd875;font-family:var(--font-title);font-weight:700;font-size:15px;padding:4px;background:linear-gradient(90deg,transparent,#3a3220,transparent);margin-bottom:4px;text-shadow:0 1px 2px #000, 0 0 8px rgba(255,215,100,0.4)}
.u2doll{position:relative;width:252px;height:300px;margin:0 auto;background:url(ui/jx1/pbg.png) center center/contain no-repeat, radial-gradient(ellipse at 50% 45%,#24221b,#0c0b09 75%);border:1.5px solid #786438;border-radius:4px;box-shadow:0 0 0 1px #000, inset 0 0 20px #000, 0 4px 14px rgba(0,0,0,0.8)}
#u2doll{position:absolute;inset:0;filter:grayscale(1) brightness(.55) contrast(1.15);opacity:.65;pointer-events:none}
.u2s{position:absolute;display:grid;place-items:center;border:1px solid #5c4e30!important;border-radius:3px!important;background:#0b0c0acc;box-shadow:inset 0 0 0 1px #000, 0 2px 5px rgba(0,0,0,0.7)!important;font-size:10px;color:#8f8266;font-weight:600;aspect-ratio:auto!important}
.u2s .it{width:100%!important;height:100%!important;aspect-ratio:auto!important;border:0!important;background:transparent!important}
.u2s span{text-align:center;line-height:11px}
.u2a{display:grid;grid-template-columns:1fr 50px 24px 24px;gap:4px;align-items:center;padding:2px 0}.u2a b{text-align:right;color:#ffd875;font-variant-numeric:tabular-nums}
.u2a button{height:22px;padding:0;border:1px solid #ffd875;background:linear-gradient(180deg,#7a632e,#3a2d12);color:#fff;font-weight:700;border-radius:2px;box-shadow:0 1px 3px #000}.u2a button:disabled{opacity:.35}
.u2row{display:flex;justify-content:space-between;align-items:center;margin-top:4px}
.u2st{display:grid;grid-template-columns:1fr auto;gap:3px 10px;font-size:12px;padding:2px 0}
.u2st span:nth-child(odd){color:#cfc6a8}
.u2st span:nth-child(even){color:#ffd875;font-weight:600;text-align:right;font-variant-numeric:tabular-nums}
.u2note{font-size:11px;margin-top:4px}
/* Vo cong */
.u2kg{display:flex;gap:3px;overflow-x:auto;padding-bottom:4px}
.u2kc{display:flex;flex-direction:column;gap:3px;min-width:52px}
.u2kh{text-align:center;font-size:11px;color:#ffd875;font-weight:700;background:linear-gradient(180deg,#3a3020 0%,#18140b 100%);border:1px solid #786438;border-radius:2px;padding:3px 0;text-shadow:0 1px 2px #000}
.u2k{position:relative;width:52px;height:52px;border:1.5px solid #4e4432;border-radius:4px;background:radial-gradient(circle at 40% 40%,#1a1914,#080806);box-shadow:inset 0 0 0 1px #000,0 2px 4px rgba(0,0,0,0.6);display:grid;place-items:center;cursor:pointer;transition:border-color .15s}
.u2k.empty{cursor:default;background:#080807}
.u2k img{width:36px;height:36px;filter:grayscale(1) brightness(.55);image-rendering:auto}.u2k.on img{filter:none}.u2k.lock{opacity:.45}
.u2k.main{border-color:#f5d061;box-shadow:inset 0 0 0 1px #000,0 0 10px rgba(245,208,97,0.6)}
.u2k i{position:absolute;left:3px;bottom:0;font:700 11px var(--font);color:#ffe68a;text-shadow:-1px -1px 0 #000,1px -1px 0 #000,-1px 1px 0 #000,1px 1px 0 #000}
.u2k .plus{position:absolute;right:1px;bottom:1px;width:16px;height:16px;padding:0;line-height:13px;font-size:13px;font-weight:800;border:1px solid #fca5a5;background:linear-gradient(180deg,#b91c1c,#7f1d1d);color:#fff;border-radius:2px;cursor:pointer;box-shadow:0 1px 3px #000}
.u2k .u2dt{position:absolute;right:0;top:0;border:0;background:none;font-size:11px;padding:0;cursor:pointer}
.u2foot{display:flex;align-items:center;gap:5px;margin-top:6px;border-top:1px solid #4e4c3c;padding-top:6px}
.u2pts{margin-left:8px}.u2pts b{color:#f55;font-size:14px}
.u2tip{margin:4px 0 0}.plusd{background:#c22;color:#fff;padding:0 3px}
/* Hanh trang */
.u2bag .invgrid{display:grid!important;grid-template-columns:repeat(6,36px)!important;gap:1px!important;justify-content:center;background:#4e4c3c;border:1px solid #4e4c3c;width:max-content;margin:0 auto}
.u2bag .it{width:36px!important;height:36px!important}.u2bag .it.empty{display:block}
.u2bh{display:flex;align-items:center;gap:6px;margin-bottom:4px;font-size:12px}
.u2money{display:grid;grid-template-columns:auto 1fr;gap:3px 6px;margin-top:6px;font-size:12px;align-items:center}
.u2money b{background:#0b0c0a;border:1px solid #4e4c3c;padding:1px 6px;color:var(--w2gd);text-align:right}
/* Lo ren */
.u2forge{display:grid;grid-template-columns:236px 1fr;gap:10px}
.u2circ{position:relative;width:236px;height:236px;background:radial-gradient(circle,#6b5420 0,#3a2c0c 45%,#120e05 72%);border:1px solid #5c5a45}
.u2circ svg{position:absolute;inset:0;width:100%;height:100%;filter:drop-shadow(0 0 3px #f5c84a)}
.u2rc{position:absolute;left:88px;top:88px;width:60px;height:60px;display:grid;place-items:center;text-align:center;font-size:10px}.u2rc img{width:30px;height:30px}.u2rc b{color:var(--w2gd)}
.u2ri{position:absolute;width:38px;height:38px}.u2ri .it{width:38px!important;height:38px!important}
.u2ftxt{background:#00000066;border:1px solid #4e4c3c;padding:4px 8px;font-size:12px}
/* Nhiem vu */
.u2quest{display:grid;grid-template-columns:150px 1fr;gap:6px;min-height:300px}
.u2tree{background:#0b0c0a;border:1px solid #4e4c3c;padding:4px;display:flex;flex-direction:column;align-items:stretch}
.u2tg{color:#e8e0c0;font-size:12px;margin-top:4px}
.u2tree button{text-align:left;background:none;border:0;color:#d0c8a0;padding:2px 2px 2px 16px;font-size:12px;cursor:pointer}
.u2tree button:hover{color:#fff}.u2tree button.on{background:#6b6440;color:#ffe;outline:1px solid #a59c78}
.u2qd{background:#0b0c0a88;border:1px solid #4e4c3c;padding:6px;overflow:auto}
.u2qb{justify-content:center}
#u20trk{position:fixed;right:46px;z-index:7;width:210px;background:#000a;border:1px solid #6d6a52;font-size:11.5px;line-height:15px;color:#e8e0c0}
#u20trk .u2trh{text-align:center;background:linear-gradient(#3e3e32,#1d1d16);padding:2px;color:#fff;font-size:12px}
#u20trk>div[data-q],#u20trk>div:not(.u2trh){padding:3px 6px;cursor:pointer}#u20trk b{color:#ffd24a}
/* Tro thu */
.u2tt label{display:block;padding:3px 0 3px 4px;font-size:12.5px}
.u2tt .lootf{background:none!important;border:0!important;padding:0!important}
/* Hop thoai 2.0 + Ky Tran Cac */
body.u20 #modal{background:#0006}
body.u20 #modal .mbox{background:var(--w2bg)!important;border:1px solid var(--w2ln)!important;outline:1px solid #000;box-shadow:inset 0 0 0 1px var(--w2ln2),0 4px 22px #000!important;border-radius:4px!important;padding:0 12px 10px!important;color:var(--w2tx)}
body.u20 #modal #mBody>h3:first-child{margin:0 -12px 8px;height:30px;line-height:30px;text-align:center;background:linear-gradient(#55564a,#2a2b24 55%,#1d1e19);border-bottom:1px solid #8c876a;font-size:14px;color:var(--w2tx)}
body.u20 #modal #mBody>h3:first-child small{font-size:11px;color:#bdb59a}
body.u20 #modal.u2ktc .mbox,body.u2m #modal.u2ktc .mbox{width:min(820px,96vw)!important;max-width:min(820px,96vw)!important}
.u2shop{display:grid;grid-template-columns:108px 1fr;gap:10px;align-items:start}
.u2cat{background:#0b0c0a;border:1px solid #4e4c3c;display:flex;flex-direction:column;padding:4px;gap:2px}
.u2cat button{background:none;border:0;color:#e0d8b8;padding:6px;cursor:pointer;font-size:12.5px}.u2cat button.on{background:linear-gradient(#6a6a52,#38382a);color:var(--w2gd)}
.u2sh{font-size:12px;margin-bottom:6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.u2sh img{height:14px;vertical-align:-2px;image-rendering:pixelated}
.u2cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.u2card{display:flex;flex-direction:column;min-height:148px;border:1px solid #786438;background:linear-gradient(180deg,#24221a,#100f0c);box-shadow:inset 0 0 0 1px #000, 0 2px 6px rgba(0,0,0,0.6);border-radius:4px;overflow:hidden}
.u2card.bad{opacity:.5}
.u2ct{text-align:center;font-size:12px;font-weight:700;background:linear-gradient(180deg,#3d3420,#1c180e);border-bottom:1px solid #786438;padding:4px 6px;color:#ffd875;text-shadow:0 1px 2px #000;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.u2cb{display:flex;gap:8px;align-items:flex-start;padding:8px 8px 4px;font-size:12px;min-height:58px;flex:1}.u2cb>div{min-width:0;flex:1}.u2cb img{width:36px;height:36px;flex:none;image-rendering:pixelated;border:1px solid #5a4b2c;background:#050505;border-radius:3px}
.u2cf{display:flex;gap:3px;padding:0 6px 6px;margin-top:auto}
.u2buy{flex:1;height:26px;border:1px solid #ffd875;background:linear-gradient(180deg,#856a36,#4a3a18);color:#fff;font-weight:700;border-radius:3px;cursor:pointer;text-shadow:0 1px 2px #000;box-shadow:0 1px 3px rgba(0,0,0,0.6)}
.u2buy.x{flex:0 0 auto;padding:0 6px;font-weight:400;font-size:11px}.u2buy.on{background:linear-gradient(#5d684d,#2e3825)}.u2buy:disabled{opacity:.45;cursor:default}
.u2buf{margin-top:6px}
body.u20 #t-log .log{display:none}
body.u20 .tab::before,body.u20 #panel::before,body.u20 .mbox::before{display:none!important;content:none!important}
.u2bag .invgrid{grid-template-columns:repeat(6,33px)!important}.u2bag .it{width:33px!important;height:33px!important}
body.u20[data-u2t=inv] #panel{width:250px}
#t-forge .u2tabs button{padding:3px 8px!important}
#u2doll{opacity:.42;filter:grayscale(1) brightness(1.25) contrast(.9)}
.u2st{grid-template-columns:auto 1fr auto 1fr}
body.u20 #modal #mBody>h3:first-child{background:linear-gradient(#55564a,#2a2b24 55%,#1d1e19)!important;border:0!important;border-bottom:1px solid #8c876a!important;box-shadow:none!important;color:var(--w2tx)!important;text-shadow:0 1px 2px #000!important;display:block!important;padding:0 36px!important;margin:0 -12px 8px!important;letter-spacing:.5px}
body.u20 #modal #mBody>h3:first-child small{color:#bdb59a!important;text-shadow:none!important;margin-left:6px}
body.u20 .tab h3,body.u20 .mbox h3:not(:first-child){background:linear-gradient(90deg,#3a3a2c,transparent)!important;border:0!important;border-left:2px solid #b9974f!important;box-shadow:none!important;color:#e8d49a!important;text-shadow:none!important;padding:2px 6px!important;margin:8px 0 4px!important}
body.u20 .tab h3 small,body.u20 .mbox h3:not(:first-child) small{color:#bdb59a!important;text-shadow:none!important}
body.u20 .mbox::after{display:none!important}
.u2sh span,.u2sh b{display:inline!important}
.u2cb small{display:block;line-height:1.35;overflow:visible;-webkit-line-clamp:unset}
.u2s{background:#0b0c0a55!important}
/* dieu khien chien dau gom canh thanh ky nang */
body.u20 #topCtl{top:auto!important;bottom:58px!important;left:50%!important;right:auto!important;transform:translateX(214px)!important}
body.u20 #modeSw{position:fixed!important;top:auto!important;bottom:58px!important;left:50%!important;right:auto!important;transform:translateX(calc(-100% - 214px))!important;z-index:40!important;overflow:visible!important;pointer-events:auto!important}
body.u20 #rideBtn{display:none!important}
.u2tm{max-height:58vh;overflow:auto;padding-right:4px}
/* thanh ban do duoi ban do nho */
#u20zone{position:fixed;z-index:9}
#u20zb{width:100%;height:22px;background:linear-gradient(#4a4a3c,#1d1d16);border:1px solid #9a926c;color:#ffe9a8;font-size:12px;cursor:pointer;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:0 6px}
#u20zb:hover{filter:brightness(1.2)}
#u20ops{position:fixed;right:8px;bottom:52px;z-index:9;display:flex;gap:4px;align-items:flex-end}
#u20tkGo{width:auto;height:24px;margin:0;padding:0 10px;background:linear-gradient(#6b4a18,#2a1808);border:1px solid #e0c060;color:#ffe9a8;font-size:12px;font-weight:700;cursor:pointer;letter-spacing:.3px;white-space:nowrap}
body.u20 #tkBar{top:38px;left:8px;right:auto;width:auto;max-width:none;background:transparent;border:0;box-shadow:none;padding:0;z-index:8}
body.u20 #tkTimer{top:36px}
body.u20 #tkScore{top:64px;left:8px}
#u20tkGo:hover{filter:brightness(1.2)}
#u20zl{position:absolute;right:0;top:24px;width:300px;max-height:62vh;overflow:auto;background:var(--w2bg);border:1px solid var(--w2ln);outline:1px solid #000;box-shadow:0 4px 18px #000;padding:6px;color:var(--w2tx)}
#u20pty{width:auto;height:24px;margin:0;padding:0 10px;background:linear-gradient(#3a4a28,#1a2410);border:1px solid #a0c060;color:#e8ffb0;font-size:12px;font-weight:700;cursor:pointer;white-space:nowrap}
#u20pty:hover,#u20pty.on{filter:brightness(1.2)}
#u20pl{position:absolute;right:0;bottom:28px;top:auto;width:280px;max-height:min(52vh,420px);overflow:auto;background:var(--w2bg);border:1px solid var(--w2ln);outline:1px solid #000;box-shadow:0 4px 18px #000;padding:6px;color:var(--w2tx);font-size:12px;z-index:12}
#u20pl.hidden{display:none}
.ptyh{margin:6px 0 3px;color:#e0c060;font-weight:700}
.ptyrow{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:4px;margin:2px 0;padding:3px 4px;background:#0b0c0a;border:1px solid #3e3c30}
.ptyv{flex:1 0 100%;display:flex;gap:4px}
.ptyv button{flex:1;min-height:22px}
#chatRec,#u20rec,.cibv{width:auto!important;min-width:52px;padding:0 8px!important;font-size:11px!important;font-weight:700}
.ptywho{display:flex;flex-direction:column;gap:2px;min-width:0;flex:1}
.ptyhp{display:block;height:5px;background:#3a2010;border:1px solid #5a4030;width:100%;max-width:150px}
.ptyhp b{display:block;height:100%;background:linear-gradient(#6adf5a,#2e8a3a);width:0}
.ptyrow button{background:#2a3420;border:1px solid #8a9a60;color:#efe1bd;font-size:11px;padding:1px 5px;cursor:pointer}
.ptyrow button.on{border-color:#e0c060;background:linear-gradient(#5a4a20,#2a1c08);color:#ffe9a8}
.ptyact{width:100%;margin-top:4px;height:22px;background:linear-gradient(#4a4a3c,#1d1d16);border:1px solid #9a926c;color:#ffe9a8;cursor:pointer}
.ptyact.on{border-color:#e0c060;background:linear-gradient(#5a4a20,#2a1c08)}
.ptydim{margin-top:6px;color:#bdb59a;font-size:11px;line-height:1.35}
#skBuffs{pointer-events:auto}
#skBuffs .sti{position:relative;pointer-events:auto;cursor:help}
#skBuffs .sti:hover::after{content:attr(data-tip);position:absolute;left:0;bottom:calc(100% + 4px);z-index:50;min-width:160px;max-width:260px;padding:6px 8px;background:#1a140acc;color:#efe1bd;border:1px solid #8a6a32;font-size:11px;line-height:1.35;white-space:pre-wrap;pointer-events:none;text-shadow:0 1px 1px #000}
#u20zl.hidden{display:none}
.u2zh{display:flex;justify-content:space-between;align-items:center;font-size:12px;margin-bottom:4px}.u2zh b{color:var(--w2gd)}
.u2zs{font-size:11px;margin-bottom:4px;color:#bdb59a}
#u20zl .zrow{width:100%;display:flex;justify-content:space-between;gap:6px;background:#0b0c0a;border:1px solid #3e3c30;color:#e0d8b8;padding:4px 6px;margin-bottom:2px;font-size:12px;cursor:pointer;text-align:left}
#u20zl .zrow.cur{border-color:#e0c060;background:#3a3420}#u20zl .zrow.lock{opacity:.4}#u20zl .zrow span{color:#bdb59a;white-space:nowrap}
#u20zl .zalt{display:flex;flex-wrap:wrap;gap:3px;margin:0 0 4px 8px}
#u20trk{right:6px!important}#u20side:empty{display:none!important}

/* ---- sinh tu luat may tinh cho dien thoai doc ---- */
body.u2m #modal .mx{width:24px!important;height:24px!important;border-radius:50%!important;border:2px solid #c9c6b6!important;background:radial-gradient(circle at 40% 35%,#6a6a66,#1d1d1b)!important;color:#fff!important;font-size:12px;line-height:18px;padding:0;top:3px!important;right:5px!important;box-shadow:0 0 3px #000}
body.u2m #panel .btn,body.u2m #modal .btn{background:linear-gradient(#5d684d,#2e3825)!important;border:1px solid #a6ad80!important;color:#f3edc8!important;border-radius:3px!important;box-shadow:inset 0 1px 0 #ffffff22,0 1px 2px #000;text-shadow:0 1px 1px #000}
body.u2m #panel .btn:hover:not(:disabled),body.u2m #modal .btn:hover:not(:disabled){filter:brightness(1.2)}
body.u2m #panel .btn.on,body.u2m #modal .btn.on{background:linear-gradient(#8a7434,#4a3c14)!important;border-color:#e8c860!important}
body.u2m #panel .btn.red,body.u2m #modal .btn.red{background:linear-gradient(#7a3a2e,#3e1a12)!important;border-color:#c48a70!important}
body.u2m .dtabs{display:flex;gap:2px;border-bottom:1px solid var(--w2ln);margin:0 0 6px;padding:0}
body.u2m .dtabs button{flex:0 0 auto;background:linear-gradient(#3b3d33,#202119)!important;border:1px solid #6d6b55!important;border-bottom:0!important;border-radius:4px 4px 0 0!important;color:#cfc8a8!important;padding:3px 12px!important;font-size:12px;cursor:pointer}
body.u2m .dtabs button.on{background:linear-gradient(#6a6a52,#38382a)!important;color:var(--w2gd)!important}
body.u2m #panel .it{background:var(--w2cell);border:1px solid #4e4c3c;border-radius:0;box-shadow:inset 0 0 6px #000}
body.u2m #panel .it.r1{border-color:#6aa8ff}
body.u2m #panel .it.r2{border-color:#ffd24a}
body.u2m #panel .it.r3{border-color:#c77bff}
body.u2m #modal .mbox{background:var(--w2bg)!important;border:1px solid var(--w2ln)!important;outline:1px solid #000;box-shadow:inset 0 0 0 1px var(--w2ln2),0 4px 22px #000!important;border-radius:4px!important;padding:0 12px 10px!important;color:var(--w2tx)}
body.u2m #modal #mBody>h3:first-child{margin:0 -12px 8px;height:30px;line-height:30px;text-align:center;background:linear-gradient(#55564a,#2a2b24 55%,#1d1e19);border-bottom:1px solid #8c876a;font-size:14px;color:var(--w2tx)}
body.u2m #modal #mBody>h3:first-child small{font-size:11px;color:#bdb59a}
body.u2m .tab::before,body.u2m .mbox::before{display:none!important;content:none!important}
body.u2m #modal #mBody>h3:first-child{background:linear-gradient(#55564a,#2a2b24 55%,#1d1e19)!important;border:0!important;border-bottom:1px solid #8c876a!important;box-shadow:none!important;color:var(--w2tx)!important;text-shadow:0 1px 2px #000!important;display:block!important;padding:0 36px!important;margin:0 -12px 8px!important;letter-spacing:.5px}
body.u2m #modal #mBody>h3:first-child small{color:#bdb59a!important;text-shadow:none!important;margin-left:6px}
body.u2m .tab h3,body.u2m .mbox h3:not(:first-child){background:linear-gradient(90deg,#3a3a2c,transparent)!important;border:0!important;border-left:2px solid #b9974f!important;box-shadow:none!important;color:#e8d49a!important;text-shadow:none!important;padding:2px 6px!important;margin:8px 0 4px!important}
body.u2m .tab h3 small,body.u2m .mbox h3:not(:first-child) small{color:#bdb59a!important;text-shadow:none!important}
/* ======================= DIEN THOAI CAM DOC (body.u2m): phong cach 2.0 trong bo cuc tren / duoi ======================= */
body.u2m #panel{background:var(--w2bg)!important;color:var(--w2tx)}
body.u2m .tab::before,body.u2m #panel::before{display:none!important;content:none!important}
body.u2m #tabs{background:linear-gradient(#4a4a3c,#1d1d16)!important;border-top:1px solid #9a926c!important}
body.u2m #tabs button::before{background-size:auto 100%!important;background-position:0 0!important;image-rendering:auto!important;width:30px!important;height:30px!important;margin-left:-15px!important}
body.u2m #tabs button.on::before{background-position:100% 0!important}
body.u2m #tabs button[data-t=log]::before{background-image:url(img/u2/map.png)!important}
body.u2m #tabs button[data-t=char]::before{background-image:url(img/u2/char.png)!important}
body.u2m #tabs button[data-t=skill]::before{background-image:url(img/u2/skill.png)!important}
body.u2m #tabs button[data-t=inv]::before{background-image:url(img/u2/inv.png)!important}
body.u2m #tabs button[data-t=forge]::before{background-image:url(img/u2/forge.png)!important}
body.u2m #tabs button[data-t=quest]::before{background-image:url(img/u2/quest.png)!important}
body.u2m #tabs button[data-t=more]::before{background-image:url(img/u2/more.png)!important}
body.u2m #tabs button.tride::before{background-image:url(img/u2/ride.png)!important}
body.u2m #tabs button.tride.on::before{background-position:100% 0!important}
body.u2m #tabs button.tride.off{opacity:.45}
body.u2m #tabs{grid-template-columns:repeat(8,1fr)!important}
body.u2m #tabs button{font-size:9.5px!important;letter-spacing:-.3px;white-space:nowrap;overflow:hidden;padding:33px 0 4px!important}
#tabs .tride{display:none}body.u2m #tabs .tride{display:block}
body.u2m #tabs button.on{color:var(--w2gd)!important}
/* noi dung the: xep doc cho man hinh hep */
@media (max-width:640px){
 .u2char,.u2forge{grid-template-columns:1fr}
 .u2dollw,.u2circ{margin:0 auto}
 .u2quest{grid-template-columns:1fr;min-height:0}
 .u2tree{flex-direction:row;flex-wrap:wrap;gap:2px}.u2tree .u2tg{width:100%;margin-top:2px}.u2tree button{padding:3px 8px;border:1px solid #3e3c30}
 .u2shop{grid-template-columns:1fr}.u2cat{flex-direction:row}.u2cat button{flex:1}
 .u2cards{grid-template-columns:repeat(2,1fr)}
 body.u2m #modal.u2ktc .mbox{width:auto!important;max-width:96vw!important}
 .u2tabs{flex-wrap:wrap}
}
/* ======================= DIEN THOAI CAM NGANG (body.u20.u2s): ban thu gon ======================= */
body.u2s #hud{left:4px!important;right:auto!important;width:min(52vw,460px)!important;padding:1px 6px!important}
body.u2s .u20rb{width:38px;height:38px;font-size:8.5px;line-height:9.5px}
body.u2s #u20gold{font-size:11px}
body.u2s #u20menu{padding:3px 5px}
body.u2s .u20mi{width:34px;height:34px;background-size:102px 34px}.u2s .u20mi:hover{background-position:-34px 0}.u2s .u20mi.on{background-position:-68px 0}
body.u2s #u20log{width:min(34vw,300px);bottom:2px}
body.u2s #u20lines{max-height:64px;font-size:10.5px;line-height:13px}
body.u2s #u20ct button{font-size:9px;height:15px;padding:0 3px}
body.u2s #modeSw{top:26px!important;bottom:auto!important;left:4px!important;right:auto!important;transform:none!important}
body.u2s #mswMenu{top:31px;bottom:auto}
body.u2s #topCtl{top:26px!important;bottom:auto!important;left:196px!important;transform:none!important}
body.u2s #panel{top:2px!important;max-height:calc(100vh - 4px)!important;width:min(720px,96vw)!important}
body.u2s[data-u2t=inv] #panel{width:250px!important;right:4px!important}
body.u2s #u20wh{height:26px!important}
body.u2s #u20trk{width:170px;font-size:10.5px;line-height:13px}
body.u2s #u20boss{top:24px}
body.u2s #modal .mbox{max-height:96vh!important}
body.u2s .u2char{grid-template-columns:262px 1fr}
body:not(.u20) #u20wh{display:none!important}
body.u2s #u20ct{flex-wrap:nowrap;overflow:hidden}body.u2s .u2a span{text-align:left}
body.u2s .u2bag .invgrid{grid-template-columns:repeat(10,31px)!important}body.u2s .u2bag .it{width:31px!important;height:31px!important}body.u2s[data-u2t=inv] #panel{width:346px!important}
/* ======================= v165: CHO BAM DE (chat, nut nho, bi che) ======================= */
/* chat luon nam tren khung thong bao; dong thong bao khong chan cham */
body.u20 #chatBox{z-index:9!important}
body.u20 #u20lines{pointer-events:none}
body.u20 #panel{z-index:40!important}
body.u20 #panel{max-height:calc(100vh - 84px)}
@media (pointer:coarse){
  /* dien thoai cam ngang */
  body.u2s #chatBtn{width:40px!important;height:34px!important}
  body.u2s #u20ct{margin-left:44px}
  body.u2s #u20ct button{height:24px!important;font-size:10px!important;padding:0 5px!important}
  body.u2s #u20log{width:min(30vw,270px)}
  body.u2s #topCtl .chip,body.u2s #mswBtn{min-height:32px}
  body.u2s #u20zb{height:30px}
  body.u2s #u20zl .zrow{min-height:34px}
  body.u2s #panel{max-height:calc(100vh - 50px)!important}
  body.u2s #u20wh{height:34px!important}
  body.u2s #u20wh button,body.u2s #modal .mx{width:32px!important;height:32px!important;font-size:15px}
  body.u2s #panel .btn,body.u2s #modal .btn,body.u2s .u2tabs button,body.u2s .dtabs button{min-height:32px}
  body.u2s .u2a button{height:30px}
  body.u2s .u2tree button{min-height:30px}
  body.u2s .u20rb{width:44px;height:44px}
  /* dien thoai cam doc (giao dien thu nho 80%: so do css lon hon) */
  body.u2m #ktcBtn{min-height:36px}
  body.u2m #actBtn,body.u2m #giftBtn,body.u2m #compactBtn{width:40px!important;height:40px!important;line-height:38px!important}
  body.u2m .pbtn{width:44px!important;height:44px!important}
  body.u2m #chatBtn{width:44px!important;height:38px!important}
  body.u2m #topCtl .chip,body.u2m #mswBtn{min-height:34px}
  body.u2m .chip2{min-height:30px}
  body.u2m #u20zb{height:32px}
  body.u2m #u20zl .zrow{min-height:38px}
  body.u2m #u20zl{max-height:50vh}
  body.u2m #panel .btn,body.u2m #modal .btn{min-height:36px}
  body.u2m .u2tabs button,body.u2m .dtabs button{min-height:34px}
  body.u2m .u2tree button{min-height:36px}
  body.u2m .u2a{grid-template-columns:1fr 56px 40px 40px}.u2m .u2a button{height:34px}
  body.u2m .u2bag .invgrid{grid-template-columns:repeat(6,44px)!important}body.u2m .u2bag .it{width:44px!important;height:44px!important}
  body.u2m .u2k{width:60px;height:60px}.u2m .u2kc{min-width:60px}.u2m .u2k .plus{width:22px;height:22px;font-size:16px;line-height:18px}
  body.u2m .u2cat button{min-height:38px}
  body.u2m .u2buy{height:36px}
  body.u2m #modal .mx{width:40px!important;height:40px!important}
  body.u2m #u20ct button{min-height:30px}
}
body.u20 #u20log{pointer-events:none}body.u20 #u20ct button{pointer-events:auto}
@media (pointer:coarse){
  body.u2s #u20ct{flex-wrap:nowrap!important;overflow-x:auto;scrollbar-width:none;pointer-events:auto}
  body.u2s #u20ct button{font-size:9.5px!important;padding:0 4px!important;flex:none}
  body.u2s #u20log{width:min(31vw,280px)}
  /* hanh trang cam ngang: luoi ben trai, ngan luong + nut ben phai */
  body.u2s[data-u2t=inv] #panel{width:min(560px,70vw)!important}
  body.u2s .u2bag{display:grid;grid-template-columns:auto 1fr;grid-template-areas:"h h" "g m" "g b" "g b2";gap:4px 8px;align-items:start}
  body.u2s .u2bh{grid-area:h}body.u2s .u2bag .invgrid{grid-area:g;margin:0}body.u2s .u2money{grid-area:m;margin:0;grid-template-columns:1fr}
  body.u2s #u2invB{grid-area:b;margin:0}body.u2s #u2invB2{grid-area:b2;margin:0}
  body.u2s #u2invB .btn,body.u2s #u2invB2 .btn{flex:1 1 45%}
}
@media (pointer:coarse){body.u2s #u20log{width:min(27vw,240px)}}
body.u20:has(#chatBox.open) #u20log{display:none}
/* nut an / hien khung thong bao (canh nut chat) */
#u20lt{width:34px!important;height:30px!important;padding:0!important;font-size:15px!important;background:linear-gradient(#1d4a38,#0a1d15)!important;border:1px solid #000!important;box-shadow:inset 0 0 0 1px #3f7a62;margin-right:2px;align-self:flex-end}
#u20lt.on{box-shadow:inset 0 0 0 1px #e0c060}
body.u20 #u20ct{align-items:flex-end}
body.u20logoff #u20lines,body.u20logoff #u20ct button[data-lt]{display:none!important}
#u20trk .u2trh{cursor:pointer;position:relative}#u20trk .u2trh b{position:absolute;right:6px}
@media (pointer:coarse){body.u2s #u20lt{width:40px!important;height:34px!important}#u20trk .u2trh{padding:6px 2px}}
#u20menu .u20mi.off{filter:grayscale(.8) brightness(.7)}
/* thu tu lop: popup mo sau nam tren; thong bao nhanh luon tren cung */
body.u20 #chatBox{position:fixed!important}
body.u20 #modal{position:fixed!important;z-index:60}
#toast{z-index:9999!important}
body.u20 #toast{position:fixed!important}
/* cot phai: Nhiem vu Theo Dau + Hop thu; Hang canh Luc chien; Cho canh Ky Tran Cac */
#u20rc{position:fixed;right:6px;z-index:12!important;width:210px;display:flex;flex-direction:column;align-items:stretch;gap:4px;pointer-events:auto!important}
#u20rc #u20trk{position:static!important;width:auto!important;right:auto!important;top:auto!important}
#u20mail{align-self:flex-end;height:24px;padding:0 10px;background:linear-gradient(#4a4a3c,#1d1d16);border:1px solid #9a926c;color:#ffe9a8;font-size:12px;cursor:pointer;border-radius:3px;position:relative}
#u20mail:hover{filter:brightness(1.2)}#u20mail.on{box-shadow:0 0 6px #e0c060;color:#fff}
#u20mailN{position:absolute;top:-7px;right:-6px;min-width:16px;padding:0 3px;background:#c0392b;color:#fff;border-radius:8px;font-size:10px;line-height:16px;font-weight:400}#u20mailN:empty{display:none}
#u20rank{display:none;flex:none;align-items:center;height:18px;padding:0 6px;margin-left:2px;background:linear-gradient(#6b5320,#3a2c0e);border:1px solid #e0c060;color:#ffe9a8;font-size:11px;cursor:pointer;border-radius:3px;white-space:nowrap;pointer-events:auto!important;z-index:6}
body.u20 #u20rank{display:inline-flex!important}
body.u20 #u20rank:hover{filter:brightness(1.2)}
body.u2s #u20rc{width:170px}
@media (pointer:coarse){body.u2s #u20mail{height:32px}body.u2s #u20rank{height:24px}}
#u20mail{width:32px!important;height:32px!important;padding:0!important;border:0!important;border-radius:50%!important;background:url(img/u2/mail.png) 0 0/64px 32px no-repeat!important;box-shadow:0 1px 3px #000}
#u20mail.on{background-position:-32px 0!important;box-shadow:0 0 8px #e0c060}
#u20mail:hover{filter:brightness(1.25)}
@media (pointer:coarse){body.u2s #u20mail{width:36px!important;height:36px!important;background-size:72px 36px!important}body.u2s #u20mail.on{background-position:-36px 0!important}}
#u20gold{display:none!important}
#u20rank{pointer-events:auto!important}
body.u20 #tkBar{top:34px;left:8px;width:min(560px,48vw);right:auto}
body.u20 #tkScore{top:76px;right:230px;width:min(320px,30vw);max-height:min(58vh,460px)}

/* v320 nut Ma Truong (duoi Hop thu) */
#u20stb{align-self:flex-end;position:relative;width:32px;height:32px;padding:0;border:0;border-radius:50%;background:url(img/u2/stable.png) 0 0/64px 32px no-repeat;box-shadow:0 1px 3px #000;cursor:pointer}
#u20stb.on{background-position:-32px 0;box-shadow:0 0 8px #e0c060}
#u20stb:hover{filter:brightness(1.25)}
#u20stbN{position:absolute;top:-7px;right:-6px;min-width:16px;padding:0 3px;background:#c0392b;color:#fff;border-radius:8px;font-size:10px;line-height:16px;font-weight:400}#u20stbN:empty{display:none}
@media (pointer:coarse){body.u2s #u20stb{width:36px;height:36px;background-size:72px 36px}body.u2s #u20stb.on{background-position:-36px 0}}

/* v345: nut chon ban do khong de len cua so / hop thoai (dien thoai) */
body:has(#modal:not(.hidden)) #u20zone,body:has(#modal:not(.hidden)) #u20ops{display:none!important}
body.u2m.u20win #u20zone,body.u2m.u20win #u20ops{display:none!important}
/* v382: vat pham dung duoc trong Hanh trang */
.u2bagit{display:flex;flex-wrap:wrap;gap:4px;margin:4px 0}
.u2bagit .bi{display:flex;align-items:center;gap:4px;padding:2px 4px;border:1px solid #4a473e;background:#0c0b08;font-size:11px}
.u2bagit .bi img{width:20px;height:20px;image-rendering:pixelated}
.u2bagit .bi b{color:#ffd98a;font-weight:normal}

/* Đồ sát: chip đỏ khi đang bật */
#pkBtn.on{
  background:linear-gradient(180deg,#6a2424 0%,#2c1010 100%)!important;
  border-color:#e24a3a!important;
  color:#ff8a8a!important;
  box-shadow:0 0 8px #e24a3a66!important;
}
body.u20 #modal.lbtOn .mbox{width:min(430px,94vw)!important;max-width:min(430px,94vw)!important}
body.u20 .lbtCard{background:linear-gradient(180deg,#24221a,#100f0c)!important;border:1px solid #786438!important;color:var(--w2tx)!important}
body.u20 .lbtCard b{color:#ffd875!important}
body.u20 .lbtCard small{color:#bdb59a!important;display:block!important;white-space:normal!important;word-break:normal!important}

/* khung chat goc trai: co dinh 150px tin, co vien, cuon duoc — khong phu map */
body.u20 #u20log{left:2px;bottom:2px;width:min(32vw,380px);display:flex;flex-direction:column;pointer-events:auto;padding:0 0 3px;
  background:linear-gradient(180deg,rgba(22,22,18,.82),rgba(10,10,8,.88));border:1px solid #8a7c52;outline:1px solid #000;border-radius:5px;
  box-shadow:inset 0 0 0 1px #2e2c22,0 4px 12px #0009}
body.u20 #u20log::before{content:"";display:block;height:2px;margin:0 8px;background:linear-gradient(90deg,transparent,#c9a85a 30%,#f0d58a 50%,#c9a85a 70%,transparent);opacity:.75}
body.u20 #u20lines{flex:none;height:150px!important;max-height:150px!important;min-height:150px!important;overflow-x:hidden;overflow-y:scroll!important;pointer-events:auto!important;margin:3px 4px;padding:3px 8px 3px 6px;
  background:rgba(0,0,0,.35);border:1px solid #3a382c;border-radius:3px;text-shadow:0 1px 1px #000;overscroll-behavior:contain;
  scrollbar-width:auto;scrollbar-color:#c9a85a #1a1810}
body.u20 #u20lines::-webkit-scrollbar{width:8px;display:block}
body.u20 #u20lines::-webkit-scrollbar-track{background:#1a1810;border-radius:4px}
body.u20 #u20lines::-webkit-scrollbar-thumb{background:linear-gradient(#c9a85a,#7a6430);border:1px solid #000;border-radius:4px}
body.u20 #u20lines div,#u20lines .cl{white-space:normal!important;overflow:visible!important;text-overflow:clip;word-break:break-word;line-height:1.4;padding:1px 0;border-left:0}
body.u20 #u20lines div:hover{background:#ffffff08}
body.u20.u20logbig #u20log{width:min(36vw,440px)}
body.u20.u20logbig #u20lines{height:240px!important;max-height:240px!important;min-height:240px!important}
body.u20 #u20ct{margin:0 4px 0 36px;gap:2px;flex-wrap:wrap;align-items:center;pointer-events:auto}
body.u20 #u20ct button[data-lt],#u20lx{height:18px!important;padding:0 6px!important;font-size:10px!important;border-radius:2px!important;
  background:linear-gradient(#2f4a3a,#132219)!important;border:1px solid #6f9c8b!important;color:#ffe9b0!important;cursor:pointer}
body.u20 #u20ct button[data-lt]:hover,#u20lx:hover{filter:brightness(1.25)}
body.u20 #u20ct button[data-lt].on{background:linear-gradient(#6b5320,#3a2c0e)!important;border-color:#e0c060!important;color:#ffe9a8!important}
#u20lx{margin-left:auto;padding:0 6px!important}
body.u20 #u20in{padding:2px 4px 3px;pointer-events:auto}
body.u20logoff #u20log{background:none;border-color:transparent;outline:0;box-shadow:none}
body.u20logoff #u20log::before,body.u20logoff #u20lx{display:none!important}
body.u2s #u20lines{height:96px!important;max-height:96px!important;min-height:96px!important}
body.u2s.u20logbig #u20lines{height:160px!important;max-height:160px!important;min-height:160px!important}
.hkann{color:#ffe08a}
.hkann a,.hkann [data-hkgo]{color:#7dffb0;text-decoration:underline;cursor:pointer;pointer-events:auto}
.hkann a:hover,.hkann [data-hkgo]:hover{color:#fff}

/* v470: to doi sat mep trai, can giua theo chieu doc */
#ptyHud{position:fixed;left:4px;top:50%;transform:translateY(-50%);z-index:8;display:flex;flex-direction:column;gap:3px;width:150px;pointer-events:auto}
#ptyHud.hidden{display:none}
body #ptyHud .ph{cursor:move;user-select:none;touch-action:none}
#ptyHud .phr{display:flex;align-items:center;gap:4px}
#ptyHud .phb{display:grid;place-items:center;width:19px;height:19px;padding:0;margin:0;border:1px solid #b9a567;border-radius:4px;background:linear-gradient(#3b3524,#17150f);color:#fff0ad;font:bold 16px/1 Arial,sans-serif;cursor:pointer;box-shadow:inset 0 1px #fff2}
#ptyHud .phb:hover{border-color:#f2d374;background:linear-gradient(#574b2c,#211b10);color:#fff}
#ptyHud .phb::before{content:"−"}
#ptyHud.min .phb::before{content:"+"}
#ptyHud.min .pm{display:none}
#ptyHud.min .ph{border-radius:4px}
#ptyHud.drag{opacity:.9}
#ptyHud .ph{display:flex;align-items:center;justify-content:space-between;height:20px;padding:0 6px;background:linear-gradient(#4a4a3c,#1d1d16);border:1px solid #9a926c;border-radius:4px 4px 0 0;color:#ffe9a8;font-size:11px;font-weight:700;cursor:pointer}
#ptyHud .pm{position:relative;padding:3px 6px 4px;background:linear-gradient(180deg,rgba(28,29,23,.9),rgba(10,11,9,.92));border:1px solid #6d6a52;outline:1px solid #000;border-radius:3px;cursor:pointer}
#ptyHud .pm:hover{border-color:#e0c060}
#ptyHud .pm.me{border-color:#a0c060}
#ptyHud .pm.far{opacity:.6}
#ptyHud .pn{display:flex;justify-content:space-between;gap:4px;font-size:11px;color:#efe1bd;white-space:nowrap;overflow:hidden}
#ptyHud .pn b{overflow:hidden;text-overflow:ellipsis;font-weight:600}
#ptyHud .pn small{color:#bdb59a;flex:none}
#ptyHud .pb{display:block;height:5px;margin-top:2px;background:#3a2010;border:1px solid #000}
#ptyHud .pb i{display:block;height:100%;width:0;background:linear-gradient(#ff7a6a,#b0281c)}
#ptyHud .pl{position:absolute;left:-3px;top:-5px;color:#ffd24a;font-size:11px;text-shadow:0 0 2px #000}
body.u20 #u20pl{position:fixed!important;left:158px;right:auto!important;top:96px!important;bottom:auto!important;transform:none;max-height:min(46vh,400px)}
#u20pl .u2zh{cursor:move;user-select:none;touch-action:none}
#u20pl .ptyhr{display:flex;align-items:center;gap:6px}
#u20pl .ptyx{width:20px;height:20px;padding:0;border:1px solid var(--w2ln);border-radius:3px;background:#2a2a20;color:#ffe9a8;font-size:12px;line-height:18px;cursor:pointer}
#u20pl.drag{opacity:.92;box-shadow:0 6px 26px #000}
body.u20:not(:has(#ptyHud:not(.hidden))) #u20pl{left:4px}
body.u2s #ptyHud{width:124px}
body.u2s #u20pl{left:132px}

/* Tổ đội: nhận diện nhân vật, chuyển sinh, cấp và môn phái */
#ptyHud{width:220px;gap:4px}
#ptyHud .ph{height:25px;padding:0 9px;border-color:#b89a53;background:linear-gradient(180deg,#51452b,#211b12 72%);box-shadow:inset 0 1px #fff2,0 2px 7px #0009;font-size:12px}
#ptyHud .pm{display:flex;align-items:center;gap:7px;min-height:42px;padding:5px 7px;border-color:#6f6241;background:linear-gradient(100deg,rgba(47,41,27,.96),rgba(14,13,10,.95));box-shadow:inset 0 1px #fff1,0 2px 6px #0008}
#ptyHud .pm.me{border-color:#b5d568;background:linear-gradient(100deg,rgba(48,61,27,.97),rgba(14,18,10,.95))}
.pfi{display:inline-block;flex:0 0 23px;width:23px;height:26px;background-image:url('img/u2/pt/fac.png');background-repeat:no-repeat;filter:drop-shadow(0 1px 2px #000)}
#ptyHud .pinfo{min-width:0;flex:1}
#ptyHud .pn{align-items:center;font-size:12px}
#ptyHud .pn b{color:#fff0bc;text-shadow:0 1px 2px #000}
#ptyHud .pn small{padding:1px 4px;border:1px solid #6f6040;border-radius:6px;background:#17130d;color:#e7cb7f;font-size:9px}
#ptyHud .pfac{margin-top:1px;color:#bcb59e;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#ptyHud .pb{height:6px;margin-top:3px;border-color:#4b291d;border-radius:3px;overflow:hidden}
#ptyHud .pb i{background:linear-gradient(#79ed6b,#2f9d3b);box-shadow:inset 0 1px #d9ffd077}
#ptyHud .pl{left:-4px;top:-7px;font-size:14px}
#u20pl{width:340px;border-color:#91723d;background:linear-gradient(145deg,#211b12f7,#0d0c09f7);box-shadow:0 8px 28px #000c}
#u20pl .ptymember{display:grid;grid-template-columns:27px minmax(120px,1fr) auto;align-items:center;padding:6px;border-color:#554a31;background:linear-gradient(100deg,#262117,#11100c)}
#u20pl .ptymember .ptywho{display:flex;flex-direction:column;gap:2px}
#u20pl .ptymember .ptywho b{color:#ffedb0;font-size:12px}
#u20pl .ptymember .ptywho small{color:#bdb59a;font-size:10px}
#u20pl .ptymember .ptyhp{grid-column:auto;max-width:none}
#u20pl .ptymember>span:nth-of-type(3){display:flex;flex-wrap:wrap;justify-content:flex-end;gap:3px}
#u20pl .ptymember .ptyv{grid-column:1/-1}
body.u2s #ptyHud{width:190px}
body.u2s #u20pl{left:198px}
/* Khi thu gọn chỉ giữ một nút + nhỏ; ẩn toàn bộ thanh tiêu đề tổ đội. */
#ptyHud.min{width:26px!important;min-width:26px!important;gap:0!important}
#ptyHud.min .ph{box-sizing:border-box;width:26px!important;height:26px!important;padding:0!important;border:0!important;border-radius:50%!important;background:transparent!important;box-shadow:none!important;cursor:default!important}
#ptyHud.min .ph>span:first-child{display:none!important}
#ptyHud.min .phr{display:flex!important;width:26px;height:26px;gap:0!important;font-size:0!important;line-height:0!important}
#ptyHud.min .phb{width:26px!important;height:26px!important;margin:0!important;border-radius:50%!important;border-color:#c9a64f!important;background:linear-gradient(#51452b,#211b12)!important;box-shadow:0 2px 7px #000b,inset 0 1px #fff3!important;font-size:18px!important;line-height:24px!important}
#ptyHud.min .phb:hover{background:linear-gradient(#6a5934,#2c2213)!important}
#chatBox.open #chatLines{min-height:0;overflow-y:auto!important;overscroll-behavior:contain;pointer-events:auto;scrollbar-width:thin;scrollbar-color:#a0844a #1a1712}
#chatBox.open #chatLines>*{flex-shrink:0}
#chatBox.open #chatLines::-webkit-scrollbar{width:6px}
#chatBox.open #chatLines::-webkit-scrollbar-thumb{background:#a0844a;border-radius:3px}
#chatBox.open #chatLines::-webkit-scrollbar-track{background:#1a1712}
#chatOn{display:inline-flex;align-items:center;gap:5px;margin-left:auto;white-space:nowrap}
#chatOn .onl{display:inline-flex;align-items:center;gap:4px;padding:1px 7px;border:1px solid #3d7a3a;border-radius:9px;background:rgba(20,48,20,.85);color:#bff0b0;font-size:11px;line-height:15px}
#chatOn .onl i{width:7px;height:7px;border-radius:50%;background:#4ee04a;box-shadow:0 0 5px #4ee04a;animation:onlP 1.6s ease-in-out infinite}
#chatOn .onl b{color:#fff;font-weight:700;font-size:12px}
#chatOn .onh{padding:1px 6px;border:1px solid #6a5a32;border-radius:9px;background:rgba(40,32,16,.85);color:#e8d69a;font-size:10.5px;line-height:15px}
@keyframes onlP{50%{opacity:.45}}
body.ngate-on #u20log,body:has(#csel) #u20log,body.u20:has(#chatBox.open) #u20log{display:none!important}
#u20rc{z-index:8!important}
#chatBox:not(.open) #chatLines,#chatBox:not(.open) #chatHead,#chatBox:not(.open) #chatInfo,#chatBox:not(.open) #chatIn{display:none!important}
#chatBox.open{top:auto!important;width:min(92vw,400px)!important;height:min(44vh,340px)!important;display:flex;flex-direction:column;overflow:hidden;background:linear-gradient(180deg,rgba(24,21,15,.96),rgba(12,11,8,.96))!important;border:1px solid #8a7240!important;box-shadow:0 0 0 1px #000,inset 0 0 0 1px #3a2f18,0 6px 22px rgba(0,0,0,.85)!important;border-radius:5px}
body.u20 #chatBox.open{width:min(34vw,430px)!important;height:min(46vh,400px)!important;bottom:4px!important}
#chatBox.open #chatHead{flex:none;padding:3px 4px 3px 5px}
#chatBox.open #chatTabs{flex:1;min-width:0;flex-wrap:nowrap;gap:2px;overflow-x:auto;scrollbar-width:none}
#chatBox.open #chatTabs::-webkit-scrollbar{display:none}
#chatBox.open #chatTabs button{flex:none;padding:2px 6px;font-size:10.5px;border-radius:3px;white-space:nowrap}
#chatBox.open #chatTabs button[data-ct="sys"]{margin-left:5px}
#chatBox.open #chatInfo{display:flex;flex:none;align-items:center;gap:6px;width:100%;box-sizing:border-box;padding:3px 8px;background:#0e0d0a;border-bottom:1px solid #3a3222}
#chatBox.open #chatInfo #chatOn{margin-left:0;flex:1;min-width:0}
#chatBox.open #chatLines{flex:1 1 0;min-height:0}
#chatBox.open #chatIn{flex:none;position:relative}
#chatBox.open.clog #chatIn{display:none!important}
#chatLines .cl,#u20lines .cl{color:#f4eedc;line-height:1.45;padding:1px 2px}
#chatLines .cl i,#u20lines .cl i{font-style:normal;color:#9a9480;font-size:10px;margin-right:6px}
#chatLines .cl b,#u20lines .cl b{color:#ffd76a;font-weight:700;margin-right:4px}
#chatLines .cl .cf,#u20lines .cl .cf{display:inline-block;margin:0 6px 0 2px;padding:0 5px;border:1px solid #4a5a4a;border-radius:8px;background:#16201a;color:#9fe0c0;font-size:9.5px;line-height:13px;vertical-align:1px;font-weight:400}
#chatLines .cl .cch,#u20lines .cl .cch{display:inline-block;margin:0 5px 0 0;padding:0 4px;border-radius:3px;background:#5a4a14;color:#ffe9a0;font-size:9.5px;line-height:13px;vertical-align:1px}
#chatLines .cl .cto,#u20lines .cl .cto{color:#e8a0ff;margin-right:4px;font-size:10.5px}
#chatLines .cl .cm,#u20lines .cl .cm{color:inherit}
#chatLines .cl .cm::before,#u20lines .cl .cm::before{content:": ";color:#8a8470}
#chatLines .cl.me b,#u20lines .cl.me b{color:#7fe0ff}
#chatLines .cl.near,#u20lines .cl.near{color:#fff1b0}
#chatLines .cl.cpm,#u20lines .cl.cpm{color:#f6c8ff}
#chatLines .cl.cpm b,#u20lines .cl.cpm b{color:#e8a0ff}
#chatLines .cl.sys,#u20lines .cl.sys{color:#b9b3a3}
#chatLines .cl.lg,#u20lines .cl.lg{font-style:normal;color:#dfe7f1;padding-left:6px;border-left:2px solid #6fa8dc}
#chatLines .cl.lg-fight,#u20lines .cl.lg-fight{border-left-color:#e06666}
#chatLines .cl.lg-loot,#u20lines .cl.lg-loot{border-left-color:#93c47d}
#chatLines .cl.lg-quest,#u20lines .cl.lg-quest{border-left-color:#c9a0e0}
#chatBox.open #chatLines .cl:hover{background:#ffffff08}
#chatBox.open #chatLines a,#chatBox.open #chatLines [data-hkgo]{pointer-events:auto;cursor:pointer}
#chatBox .cinrow{display:flex;align-items:center;gap:3px}
#chatBox .cib{flex:none;width:28px;height:26px;padding:0;border:1px solid #5a4b2c;border-radius:4px;background:linear-gradient(#2e2719,#15120b);font-size:15px;line-height:1;cursor:pointer}
#chatBox .cib:hover{border-color:#c4a45a}
#chatLines .cxy,#u20lines .cxy{color:#7dffb0;font-weight:700;text-decoration:underline;cursor:pointer}
#chatLines .cl.cpt b,#u20lines .cl.cpt b{color:#8fd6ff}
#chatBox.cpty #chatLines .cl:not(.cpt):not(.sys){display:none!important}
#chatBox.near #chatLines .cl:not(.near):not(.sys){display:none!important}
#chatBox:not(.near):not(.cpty) #chatLines .cl.near,#chatBox:not(.cpty) #chatLines .cl.cpt{display:none!important}
#chatColB i{display:block;width:14px;height:14px;margin:auto;border-radius:50%;background:var(--cc,#f4eedc);box-shadow:0 0 0 2px #000,0 0 6px var(--cc,#f4eedc)}
#chatColP{position:absolute;left:6px;right:6px;bottom:100%;margin-bottom:2px;display:flex;flex-wrap:wrap;gap:6px;padding:8px;background:#15130e;border:1px solid #8a7240;border-radius:5px;box-shadow:0 -4px 14px #000a;z-index:3}
#chatColP[hidden],#chatEmo[hidden]{display:none!important}
#chatColP button{width:24px;height:24px;border-radius:50%;border:2px solid #000;background:var(--cc);cursor:pointer;box-shadow:0 0 0 1px #5a4b2c}
#chatColP button.on{box-shadow:0 0 0 2px #fff,0 0 8px var(--cc)}
#chatBox #chatEmo,#u20in #u20emo{position:absolute;left:4px;right:4px;bottom:100%;margin-bottom:2px;display:flex;flex-direction:column;flex-wrap:nowrap;height:200px;max-height:200px;padding:0;background:#15130e;border:1px solid #8a7240;border-radius:5px;box-shadow:0 -4px 14px #000a;z-index:3;overflow:hidden}
#chatEmo .cemt,#u20emo .cemt{flex:none;width:auto;display:flex;gap:2px;padding:4px;border-bottom:1px solid #3a3222;background:#0e0d0a}
#chatEmo .cemt button,#u20emo .cemt button{flex:1;height:24px;border:1px solid #3a3222;border-radius:3px;background:#1d1a12;font-size:14px;cursor:pointer}
#chatEmo .cemt button.on,#u20emo .cemt button.on{border-color:#c4a45a;background:#3a2f18}
#chatEmo .cemg,#u20emo .cemg{flex:1;min-height:0;width:auto;align-content:start;display:grid;grid-template-columns:repeat(auto-fill,minmax(30px,1fr));gap:2px;padding:5px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#a0844a #1a1712}
#chatEmo .cemo,#u20emo .cemo{height:30px;border:0;border-radius:4px;background:none;font-size:19px;cursor:pointer;line-height:1}
#chatEmo .cemo:hover,#u20emo .cemo:hover{background:#3a2f18;transform:scale(1.15)}
#chatBox.open #chatSub{flex:none;align-items:center;gap:7px;padding:5px 8px;background:linear-gradient(90deg,#2a1a33,#15110c);border-bottom:1px solid #5a3a6a}
#chatBack{background:#1d1a12;border:1px solid #5a4b2c;border-radius:3px;color:#e8d69a;font:inherit;font-size:10.5px;padding:2px 7px;cursor:pointer}
#chatSub #chatPeer{color:#f0b8ff;font-size:12.5px}
.cpav{flex:none;display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#8a5aa8,#3a1f4a);border:1px solid #c49ad8;color:#fff;font-weight:700;font-size:13px;text-shadow:0 1px 2px #000}
#chatSub .cpav{width:22px;height:22px;font-size:11px}
#chatBox.open.cpmv:not(.pmd) #chatPmList{flex:1 1 0;min-height:0;overflow-y:auto;padding:4px;gap:3px;scrollbar-width:thin;scrollbar-color:#a0844a #1a1712}
.cpmr{display:flex!important;align-items:center;gap:8px;width:100%;box-sizing:border-box;text-align:left;background:#17140e!important;border:1px solid #2e2819!important;border-radius:5px;padding:6px 8px!important;cursor:pointer;color:#f2ecd0}
.cpmr:hover{background:#231d13!important;border-color:#8a7240!important}
.cpmr.new{background:#22152a!important;border-color:#7a4a9a!important}
.cpmr .cpav{flex:none}
.cpmr .cpmb{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.cpmr .cpmt,.cpmr .cpml{flex:none}
.cpmr .cpmt .cf{display:inline-block;flex:none}
.cpmt{display:flex;align-items:center;gap:5px;min-width:0}
.cpmt b{color:#f0c8ff!important;font-size:12px;margin:0!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cpmt .cf{padding:0 5px;border:1px solid #4a5a4a;border-radius:8px;background:#16201a;color:#9fe0c0;font-size:9.5px;line-height:13px}
.cpmt i{margin-left:auto;font-style:normal;color:#8a8470;font-size:10px;flex:none}
.cpml{display:flex;align-items:center;gap:6px;color:#a9a39a;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cpml em{margin-left:auto;flex:none;min-width:16px;padding:0 5px;border-radius:8px;background:#9b3dc7;color:#fff;font-style:normal;font-weight:700;font-size:10px;line-height:16px;text-align:center}
.cpme{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;height:100%;min-height:120px;color:#8a8470;text-align:center;font-size:22px}
.cpme b{color:#e8d69a;font-size:12.5px}
.cpme small{font-size:11px;max-width:260px}
#u20zone{display:flex;gap:2px}
#u20zb{flex:1;min-width:0;width:auto}
#u20xyb{flex:none;width:26px;height:22px;padding:0;background:linear-gradient(#4a4a3c,#1d1d16);border:1px solid #9a926c;color:#ffe9a8;font-size:13px;cursor:pointer}
#u20xyb:hover{filter:brightness(1.25)}
body.u2s #u20xyb{height:30px;width:30px}
body.u2m #u20xyb{height:32px;width:32px}

/* tracker always visible on desktop overlay */
body.u20 #u20rc,body.u20 #u20trk{display:flex!important;visibility:visible!important;opacity:1!important;z-index:18!important}
body.u20 #u20trk{background:#000c;border:1px solid #8c7440;min-height:36px}
body.u20.u20win #u20rc{visibility:visible!important;pointer-events:auto!important}
