/* ===== Thanh dưới chế độ PC (js/pcbar.js): Material / phẳng =====
   #bb giữ nguyên hộp cũ (cao 92px, đè lên sân 34px) để các phép tính của layout() không đổi;
   dải nền thật chỉ ở phần dưới, 2 ô giữa cao hơn nhô lên vùng đè. Màu nhấn: Amber (#ffc107). */

html.nu{--pc-slot:32px;--pc-big-w:54px;--pc-big-h:50px;--pc-rot:22px;--pc-gap:4px;--pc-strip:42px;   /* ≈ 70% kích thước cũ (44 / 76×70 / 30 / 56) */
  --pc-acc:#ffc107;--pc-acc-lt:#ffd54f;--pc-surface:rgba(20,26,24,.88);--pc-raised:#26302c;--pc-line:rgba(255,255,255,.10);--pc-text:#eef3f0;--pc-dim:#9fb0a7}

/* bỏ khung tranh JX của thanh dưới */
html.nu #bbc,html.nu #bb .bbtag,html.nu #bbunder{display:none!important}
/* thanh nổi trên sân (không chiếm chỗ): sân đấu kéo tới mép dưới cửa sổ. Chiều cao 92px giữ nguyên cho layout(). */
html.nu #bb{background:none!important;margin-top:-92px!important}

/* ---- dải chính: [thuốc] [2 ô giữa] [kỹ năng], căn giữa ---- */
html.nu #pad{display:flex!important;position:absolute;left:50%;right:auto;top:auto;bottom:8px;width:max-content;height:auto;transform:translateX(-50%);z-index:2;
  flex-wrap:nowrap;justify-content:center;align-items:flex-end;gap:var(--pc-gap);padding:5px 8px;pointer-events:none}   /* style.css: #pad{width:170px;flex-wrap:wrap;right:8px} */
html.nu #pad::before{content:"";position:absolute;left:0;right:0;bottom:0;height:var(--pc-strip);border-radius:11px;background:var(--pc-surface);box-shadow:0 2px 8px rgba(0,0,0,.45),inset 0 0 0 1px var(--pc-line);z-index:-1}
html.nu #pad>*{pointer-events:auto}
html.nu #bHp{order:1} html.nu #bMp{order:2} html.nu #bTp{order:3}
html.nu #pad .pctrain{order:4;margin-left:8px}
html.nu #pad .pccollect{order:5;margin-right:2px}   /* sát nút xoay chiêu: 2 + gap 4 = 6px, bằng khoảng nút xoay → ô 1 */
html.nu #pad .sk[data-i="0"]{order:6} html.nu #pad .sk[data-i="1"]{order:7} html.nu #pad .sk[data-i="2"]{order:8}
html.nu #pad .sk[data-i="3"]{order:9}   /* PC: 4 ô kỹ năng */

/* ô --pc-slot phẳng (thuốc, truyền tống, kỹ năng); composeBar() vẫn ghi left/top nội tuyến -> bỏ qua */
html.nu #bb #pad .pbtn{position:relative!important;left:auto!important;top:auto!important;flex:none;width:var(--pc-slot)!important;height:var(--pc-slot)!important;margin:0!important;
  border:0!important;border-image:none!important;border-radius:8px!important;background-color:rgba(255,255,255,.06)!important;
  box-shadow:inset 0 0 0 1px var(--pc-line)!important;overflow:hidden;cursor:pointer;transition:box-shadow .15s,background-color .15s}
html.nu #bb #pad .pbtn:hover{background-color:rgba(255,255,255,.12)!important}
html.nu #bb #pad .pbtn:focus-visible{outline:2px solid var(--pc-acc-lt);outline-offset:2px}
html.nu #bb #pad .pbtn.sk i{inset:3px;border-radius:5px;background-size:cover}
html.nu #bb #pad .pbtn b,html.nu #bb #pad .pbtn.pot span{right:3px;bottom:1px;font:600 8.5px/10px var(--font);color:rgba(255,255,255,.92);text-shadow:0 1px 2px rgba(0,0,0,.9)}
html.nu #bb #pad .pbtn.pot.auto::after{display:none}   /* PC: thuốc luôn tự dùng -> bỏ chữ A */
/* biểu tượng theo loại thuốc đang chọn / Thổ Địa Phù: pcbar.js đặt --pc-ic trên từng nút */
html.nu #bb #pad .pbtn.hp,html.nu #bb #pad .pbtn.mp{background-image:var(--pc-ic)!important;background-size:24px 24px!important;background-position:center!important}
html.nu #bb #pad .pbtn.tp i{inset:3px;background-image:var(--pc-ic)!important;background-size:contain}
html.nu #bb #pad .pbtn.tp span{display:none}
html.nu #bb #pad .pbtn.hp[aria-expanded=true],html.nu #bb #pad .pbtn.mp[aria-expanded=true]{box-shadow:inset 0 0 0 2px var(--pc-acc)!important}
html.nu #bb #pad .pbtn.empty b{color:rgba(255,255,255,.35)}
html.nu #bb #pad .pbtn .cd{border-radius:8px}
/* chiêu chính: viền nhạt; chiêu vừa đánh (theo xoay chiêu): viền + nền Amber, nháy nhẹ mỗi đòn */
html.nu #bb #pad .pbtn.cur{box-shadow:inset 0 0 0 2px rgba(255,213,79,.45)!important}
html.nu #bb #pad .pbtn.use{background-color:rgba(255,193,7,.18)!important;box-shadow:inset 0 0 0 2px var(--pc-acc),0 0 0 3px rgba(255,193,7,.25)!important}
html.nu #bb #pad .pbtn.hit{animation:pcHit .22s cubic-bezier(.4,0,.2,1)}
@keyframes pcHit{0%{transform:scale(1.1)}100%{transform:scale(1)}}

/* ---- 2 ô giữa (lớn hơn, nhô lên trên dải) ---- */
.pcspot{display:none}
html.nu .pcspot{display:block;position:relative;flex:none}
.pcbig{width:var(--pc-big-w);height:var(--pc-big-h);border:0;border-radius:11px;background:var(--pc-raised);color:var(--pc-text);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;padding:5px 0 0;
  box-shadow:0 2px 6px rgba(0,0,0,.5),inset 0 0 0 1px var(--pc-line);cursor:pointer;font:500 9.5px/1.15 var(--font);letter-spacing:.2px;transition:background-color .15s,color .15s}
.pcbig svg{width:19px;height:19px;fill:currentColor}
.pcbig:hover{background:#2f3b36;color:var(--pc-acc-lt)}
.pcbig:focus-visible,.pcrot:focus-visible{outline:2px solid var(--pc-acc-lt);outline-offset:2px}
/* vòng xoay chiêu: nằm trên mép trên của nút Tự luyện; quay khi bật, xám và đứng yên khi tắt */
.pcrot{position:absolute;left:50%;top:calc(var(--pc-rot) / -2);width:var(--pc-rot);height:var(--pc-rot);margin-left:calc(var(--pc-rot) / -2);padding:0;border-radius:50%;display:grid;place-items:center;cursor:pointer;
  background:var(--pc-raised);border:1.5px solid #4a5450;color:#6b7570;box-shadow:0 2px 4px rgba(0,0,0,.5);transition:border-color .2s,color .2s}
.pcrot svg{width:14px;height:14px;fill:currentColor}
.pcrot.on{border-color:#4caf50;color:#81c784}
.pcrot.on svg{animation:pcSpin 2.4s linear infinite}
.pcpick.on svg{animation:pcBob 1.4s ease-in-out infinite}
.pcpush.on svg{animation:pcNudge 1.2s ease-in-out infinite}   /* vượt ải: mũi tên đôi nhích tới */
@keyframes pcNudge{0%,100%{transform:translateX(-1.5px)}50%{transform:translateX(1.5px)}}
/* vòng xoay chiêu ngay trước 4 ô kỹ năng: nằm trong dải, không nổi lên */
html.nu #pad .pcrot-in{position:relative;left:auto;top:auto;margin:0 2px 5px 0;order:5;flex:none;align-self:flex-end}
.pcrot-in{display:none}
html.nu .pcrot-in{display:grid}   /* tự nhặt: mũi tên nhấp nhô thay vì quay */
@keyframes pcBob{0%,100%{transform:translateY(-1.5px)}50%{transform:translateY(1.5px)}}
.pcrot:hover{border-color:var(--pc-acc)}
@keyframes pcSpin{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){.pcrot.on svg{animation-duration:8s}}

/* ---- 3 menu chính (Nhân vật, Võ công, Hành trang): mỗi nút một ô riêng (pcbar.js placeTrays) ----
   .pccol: cột dọc ở mép phải ngay trên thanh dưới · .pcrow: thiếu chỗ dọc -> hàng ngang góc dưới phải */
html.nu #tabs{display:flex!important;position:absolute;right:var(--pc-tr-r,10px);bottom:var(--pc-tr-b,8px);z-index:2;gap:6px;padding:0!important;border:0!important;background:none!important;box-shadow:none}   /* style.css: #tabs có border-top vàng + nền thanh tab cũ */
html.nu #tabs.pccol{flex-direction:column}
html.nu #tabs .tray{position:relative!important;left:auto!important;top:auto!important;width:44px!important;height:44px!important;padding:0!important;
  display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:2px;border-radius:14px;
  background-color:rgba(20,26,24,.5)!important;box-shadow:0 1px 4px rgba(0,0,0,.3),inset 0 0 0 1px rgba(255,255,255,.12)!important;   /* nền trong để thấy sân */
  font-size:0;color:#dfe7e2!important;text-shadow:0 1px 2px rgba(0,0,0,.6);cursor:pointer;transition:background-color .15s,color .15s}
html.nu #tabs .tray:hover{background-color:#2f3b36!important;color:var(--pc-acc-lt)!important}
html.nu #tabs .tray.on{background-color:rgba(255,193,7,.18)!important;color:var(--pc-acc-lt)!important;box-shadow:0 2px 8px rgba(0,0,0,.45),inset 0 0 0 1.5px var(--pc-acc)!important}
html.nu #tabs .tray:focus-visible{outline:2px solid var(--pc-acc-lt);outline-offset:2px}
html.nu #tabs .tray::before{display:none}
html.nu #tabs .tray>i{display:none!important}
html.nu #tabs .jxh{display:none!important}
html.nu #tabs .tray .dot{top:4px;right:5px;width:8px;height:8px;border-radius:50%;border:1.5px solid #1b2220;background:#ef5350}
.pctray-ic,.pctray-l{display:none}
html.nu .pctray-ic{display:block;width:20px;height:20px;fill:#ffd54f;color:#ffd54f}   /* biểu tượng vàng như nút Hoạt động / Nhật ký; chữ giữ màu sáng */
html.nu .pctray-l{display:block;font:500 9px/1 var(--font);letter-spacing:.1px;white-space:nowrap}

/* ================= Nội dung riêng của hộp thoại Tự luyện / Tự nhặt =================
   Khung, nút, ô chọn, công tắc… lấy từ UI kit (ui/ui-kit.css). Ở đây chỉ bố cục riêng của từng tính năng. */



.k-layer .pcslots li+li{border-top:1px solid var(--k-line)}









.k-layer .pcrule>span{color:var(--k-dim)}
.pcico{flex:none;width:40px;height:40px;border-radius:12px;background:#151b19 center/30px 30px no-repeat;box-shadow:inset 0 0 0 1px rgba(255,255,255,.07)}
.k-layer .pcheal{display:flex;align-items:center;gap:12px;padding:8px 0}
.k-layer .pcheal+.pcheal{border-top:1px solid var(--k-line)}
.k-layer .pcheal .t,.k-layer .pcpot .t{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}
.k-layer .pcheal .t b,.k-layer .pcpot .t b{font:500 14px/1.3 var(--font);color:var(--k-text)}
.k-layer .pcheal .t small{font-size:12px;line-height:1.4;color:var(--k-dim)}
.k-layer .pcpot .t b em{font-style:normal;font-weight:400;color:var(--k-dim)}
.k-layer .pcmini{flex:0 0 104px}
.k-layer .pcpots{margin-top:12px}
.k-layer .pcpot{display:flex;align-items:center;gap:12px;padding:12px;border-radius:16px;background:var(--k-input);box-shadow:inset 0 0 0 1px var(--k-line)}

/* ---- bảng chọn thuốc (bấm ô HP / MP): cùng ngôn ngữ với menu của UI kit ---- */
.pcpop{position:absolute;z-index:45;width:312px;max-width:calc(100% - 16px);border-radius:20px;background:#2a3430;color:#eef3f0;color-scheme:dark;
  box-shadow:0 14px 36px rgba(0,0,0,.55),inset 0 0 0 1px rgba(255,255,255,.07);font-family:var(--font);overflow:hidden;animation:pcPop .18s cubic-bezier(.2,.8,.2,1)}
@keyframes pcPop{from{opacity:0;transform:translateY(8px) scale(.98)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.pcpop{animation:none}}
.pcpop[hidden]{display:none}
.pcpop header{padding:14px 18px 6px}
.pcpop header b{display:block;font:600 14px var(--font)}
.pcpop header small{font-size:12px;color:#9fb0a7}
.pcpop-list{display:flex;flex-direction:column;gap:2px;padding:4px 8px 8px;max-height:300px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#46514c transparent}
.pcpop-row{display:flex;align-items:center;gap:12px;width:100%;padding:6px 14px 6px 6px;border:0;border-radius:999px;background:none;color:inherit;text-align:left;cursor:pointer;transition:background-color .15s}
.pcpop-row:hover{background:rgba(255,255,255,.06)}
.pcpop-row[aria-checked=true]{background:rgba(255,193,7,.14)}
.pcpop-row .pcico{width:38px;height:38px;border-radius:50%;background-size:28px 28px}
.pcpop-row .t{flex:1;min-width:0;display:flex;flex-direction:column;gap:1px}
.pcpop-row .t b{font:500 13px/1.3 var(--font)}
.pcpop-row .t small{font-size:11.5px;color:#9fb0a7}
.pcpop-row em{font-style:normal;font-size:12px;color:#9fb0a7}
.pcpop-row[aria-checked=true] .t b{color:#ffd54f}
.pcpop-row:focus-visible{outline:2px solid #ffd54f;outline-offset:-2px}
.pcpop footer{display:flex;gap:8px;padding:10px 12px 12px;border-top:1px solid rgba(255,255,255,.07)}
.pcpop footer .k-btn{flex:1;padding:0 12px;font-size:12.5px}

/* Tự cày / Nhặt ở cột phải: đã có ở thanh dưới (vòng Tự nhặt; Vượt ải / Xoay chiêu trong Tự luyện) -> ẩn ở PC, vẫn giữ trong DOM vì các nút mới bấm hộ */
html.nu #jxAuto,html.nu #jxPick{display:none!important}

/* Bảng chọn chiêu cho ô kỹ năng (#pcSkPop, pcbar.js): lưới biểu tượng gọn, tên ở chú thích */
#pcSkPop{width:auto;min-width:0;border-radius:14px;background:var(--pc-surface,rgba(20,26,24,.88));box-shadow:0 2px 8px rgba(0,0,0,.45),inset 0 0 0 1px var(--pc-line,rgba(255,255,255,.1))}
.pcsk-row{display:flex;align-items:center;gap:10px;padding:10px 10px 12px 12px;max-width:calc(100vw - 32px);overflow-x:auto;scrollbar-width:thin}
.pcsk-un{flex:none;width:30px;height:30px;margin-left:4px}
.pcsk-un svg{width:18px;height:18px}
.pcsk-it{position:relative;flex:none;width:44px;height:44px;padding:0;border:0;border-radius:12px;display:grid;place-items:center;cursor:pointer;
  background:#151b19;box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.16);transition:box-shadow .15s,background-color .15s}
.pcsk-it img{width:34px;height:34px;border-radius:8px;pointer-events:none}
.pcsk-it:hover{box-shadow:inset 0 0 0 1.5px #ffd54f}
.pcsk-it.on{background:rgba(255,193,7,.16);box-shadow:inset 0 0 0 2px #ffc107}
.pcsk-it:focus-visible{outline:2px solid #ffd54f;outline-offset:2px}
.pcsk-it.off{cursor:not-allowed}
.pcsk-it.off img{filter:grayscale(1);opacity:.4}
.pcsk-it.off:hover{box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.16)}
/* huy hiệu loại võ công góc dưới phải (js/skicons.js); giữ màu cả khi chiêu bị xám */
.pcsk-b{position:absolute;right:-6px;bottom:-6px;width:21px;height:21px;filter:drop-shadow(0 1px 1px rgba(0,0,0,.6))}
/* bậc chiêu (cấp học) trong bảng chọn (2026-10-26): góc trên trái, đối xứng huy hiệu loại ở góc dưới phải */
.pcsk-lv{position:absolute;left:-5px;top:-6px;min-width:17px;height:15px;padding:0 3px;border-radius:999px;background:rgba(10,14,13,.86);box-shadow:0 0 0 1px rgba(255,213,79,.45);font:700 10px/15px var(--font,sans-serif);font-style:normal;color:#ffd54f;text-align:center;font-variant-numeric:tabular-nums;pointer-events:none}
.pcsk-lv.up{color:#8fe34a;box-shadow:0 0 0 1px rgba(143,227,74,.5)}
.pcsk-it.off .pcsk-lv{opacity:.55}
.pcpop-empty{padding:0 4px;font-size:12.5px;line-height:1.45;color:#9fb0a7;white-space:nowrap}
/* Chiêu sai loại vũ khí: giữ trong ô nhưng mờ, có dấu đỏ (không được ra chiêu) */
#pad .pbtn.sk.nowp i{filter:grayscale(1);opacity:.45}
#pad .pbtn.sk.nowp::after{content:"";position:absolute;right:2px;top:2px;width:8px;height:8px;border-radius:50%;background:#ef5350;box-shadow:0 0 0 1.5px rgba(20,26,24,.9)}

/* Tự luyện › Vòng sáng: nhãn loại cạnh tên (không viền) */


/* Tự luyện: biểu tượng võ công trong thẻ Vòng sáng / Trạng thái / Hồi phục nhỏ hơn */
.pcheal .pcico{width:34px;height:34px;border-radius:9px;background-size:28px 28px}

/* Tự luyện › Vòng sáng / Buff thời hạn: hàng gọn một dòng, căn giữa theo chiều dọc */
.pcsk2{display:flex;align-items:center;gap:10px;min-height:40px;padding:4px 0}
.pcsk2+.pcsk2{border-top:1px solid var(--k-line)}
.pcsk2 .pcico{width:30px;height:30px;border-radius:8px;background-size:26px 26px}
.pcsk2 .t{flex:1;min-width:0;display:flex;align-items:baseline;gap:8px}
.pcsk2 .t b{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:500 13.5px/1.2 var(--font);color:var(--k-text)}
.pcsk2 .t em{flex:none;font:500 11.5px var(--font);font-style:normal;color:#9fb0a7}
.pcsk2.off .t b{color:#9fb0a7}
.pcsk2.off .pcico{filter:grayscale(1);opacity:.5}
.pcsk2-m{flex:none;display:flex;gap:10px}
.pcsk2-m i{display:inline-flex;align-items:center;gap:3px;font:500 11.5px var(--font);font-style:normal;color:#cfd8d3;font-variant-numeric:tabular-nums}
.pcsk2-m svg{width:13px;height:13px;fill:#9fb0a7}
.pcsk2-m i.mp svg{fill:#64b5f6}

/* Hồi phục › Thuốc: hai ô gọn, chỉ biểu tượng thuốc + ô chọn */
.k-layer .pcpot{gap:8px;padding:6px 6px 6px 8px;border-radius:999px}
.k-layer .pcpot .pcico{width:32px;height:32px;border-radius:50%;background-size:24px 24px}
.k-layer .pcpots{margin-top:10px}

/* PC: bản đồ nhỏ + dải ải (render.js đặt .pcstg và top ngay dưới bản đồ; --p = tiến độ ải) */
html.nu #jxMini{display:none!important}
html.nu .stg.pcstg{height:34px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:2px;padding:0 10px;box-sizing:border-box;cursor:pointer;pointer-events:auto;
  border:0!important;border-image:none!important;border-radius:999px;overflow:hidden;
  background:rgba(20,26,24,.88);box-shadow:0 2px 8px rgba(0,0,0,.45),inset 0 0 0 1px rgba(255,255,255,.12);transition:box-shadow .15s}
html.nu .stg.pcstg:hover{box-shadow:0 2px 8px rgba(0,0,0,.45),inset 0 0 0 1px rgba(255,213,79,.55)}
html.nu .stg.pcstg .bit{display:none}
html.nu .stg.pcstg::before{content:"";position:absolute;left:0;top:0;bottom:0;width:var(--p,0%);border-radius:999px 0 0 999px;background:rgba(255,193,7,.22);box-shadow:inset -1.5px 0 0 rgba(255,213,79,.7);transition:width .4s}
html.nu .stg.pcstg .t,html.nu .stg.pcstg .n{position:relative;left:auto;right:auto;top:auto;z-index:1;font:600 11px/1 var(--font);text-shadow:0 1px 2px rgba(0,0,0,.7);white-space:nowrap}
html.nu .stg.pcstg .t{max-width:100%;overflow:hidden;text-overflow:ellipsis;text-align:center;color:#eef3f0}
html.nu .stg.pcstg .n{font-size:10px;font-weight:500;color:#ffd54f;font-variant-numeric:tabular-nums}

/* PC: bỏ nút "Nhật ký" (bảng Giang hồ): Tháp / Tống Kim / Tài Xỉu → Hoạt động; Việc cần làm → Nhật ký › Sổ tay;
   ải + bản đồ luyện công → bấm bản đồ nhỏ; Lò rèn / Kho → menu ⋯; Dã Tẩu / Bang hội / Gia tộc → Quà; Bách khoa → Hệ thống */
html.nu #jxR .rbtn[data-jt="log"]{display:none!important}

/* Tự nhặt › Xử lý */
.pcsub{margin:10px 0 6px;font-size:11.5px;color:#9fb0a7}
.pcskips{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}
.pcskip{display:inline-flex;align-items:center;gap:4px;height:30px;padding:0 4px 0 12px;border-radius:999px;background:rgba(255,255,255,.05);box-shadow:inset 0 0 0 1px rgba(255,255,255,.16);font-size:12px}
.pcskip .k-iconbtn{width:24px;height:24px}
.pcskip .k-iconbtn svg{width:14px;height:14px}

/* Phôi đồ Tím: nhãn "mọi …" khi nhóm không chọn, dòng tóm tắt */
.pcany{font-style:normal;color:#81c784}
.pcsum{margin:12px 0 0;padding:8px 12px;border-radius:12px;background:rgba(255,255,255,.04);font-size:12px;color:#9fb0a7}
.pcsum b{color:#eef3f0;font-weight:500}

/* Menu "⋯" (PC): bỏ Bộ lọc, Tốc độ, Dọn đồ, Xoay, Lò rèn, Kho — đã có ở Túi (Bộ lọc nhặt, Lò rèn, thẻ Kho), vòng Xoay chiêu trên thanh kỹ năng, phím X.
   Giữ nút trong DOM vì phím tắt / mã khác bấm theo id. */
html.nu #jxOverflow :is(#jxGear,#jxSpd,#jxTidy,#jxRot,#jxForge,#jxStash){display:none!important}

/* ===== Khung hẹp (Mobile dọc, nu-narrow < 460px): thanh dưới nhỏ hơn cho vừa ~400px; ô tray bỏ viền khung cũ (touchbar) ===== */
html.nu.nu-narrow{--pc-slot:30px;--pc-big-w:46px;--pc-big-h:46px;--pc-gap:3px;--pc-rot:20px}
html.nu #bb.touchbar #pad .pbtn,html.nu #bb.touchbar #tabs .tray{border:0!important;border-image:none!important}
html.nu #bb.touchbar #tabs .tray{width:44px!important;height:44px!important}
html.nu #bb.touchbar{height:92px!important}   /* thanh nổi -92px: cao đúng 92px, không hở dải đen dưới đáy (touchbar Mobile là 108px) */

html.nu.nu-xs{--pc-slot:28px;--pc-big-w:42px;--pc-big-h:44px;--pc-gap:2px;--pc-rot:18px}   /* điện thoại rất hẹp (< 380px) */
html.nu.nu-narrow .pcbig span,html.nu.nu-narrow .pcbig b{font-size:10px}
html.nu.nu-xs .pcbig span,html.nu.nu-xs .pcbig b{font-size:9px;white-space:nowrap;letter-spacing:-.1px}
/* màn hẹp: hai ô chọn bình thuốc xếp dọc (cạnh nhau thì tràn khung) */
.k-layer.k-narrow .pcpots{grid-template-columns:1fr}

/* Thổ Địa Phù bị khóa trong hoạt động (control.js tpBlocked) */
#bTp.tp-off{filter:grayscale(1);opacity:.45}

/* Nút thu gọn cột tray (pcbar.js, 2026-10-21) */
.pctray-tg{display:none}
.pctray-tg[hidden]{display:none!important}
html.nu .pctray-tg{display:flex;position:absolute;z-index:4;align-items:center;justify-content:center;width:44px;height:22px;padding:0;border:0;border-radius:999px;background:rgba(20,26,24,.5);box-shadow:0 1px 4px rgba(0,0,0,.3),inset 0 0 0 1px rgba(255,255,255,.12);color:#dfe7e2;cursor:pointer;transition:background-color .15s,color .15s}
html.nu .pctray-tg:hover{background:#2f3b36;color:var(--pc-acc-lt,#ffe082)}
html.nu .pctray-tg svg{width:18px;height:18px;fill:currentColor}
html.nu .pctray-tg .tg-dot{display:none;position:absolute;top:-2px;right:2px;width:8px;height:8px;border-radius:50%;background:var(--k-noti,#ef5350);box-shadow:var(--k-noti-ring,0 0 0 1.5px #1b2220)}
html.nu .pctray-tg .tg-dot.on{display:block}
html.nu #tabs .tray{transition:opacity .16s,transform .16s,background-color .15s,color .15s}
html.nu #tabs.trmin .tray{visibility:hidden;opacity:0;transform:translateY(-6px);pointer-events:none}

/* Bản đồ nhỏ đang hiện (render.js pcStgPlace → .pcmini): tên vùng nằm trên bản đồ, dải ải cao một nửa, chỉ "Ải · Đợt" (2026-10-21) */
html.nu .stg.pcstg.pcmini{height:17px;gap:0;padding:0 8px}
html.nu .stg.pcstg.pcmini .t{display:none}
html.nu .stg.pcstg.pcmini .n{font-size:10px;line-height:1}

/* bảng chọn thuốc gọn: một hàng biểu tượng như bảng chọn chiêu (2026-10-21) */


.pp-c{position:relative;width:40px;height:40px;border:0;border-radius:10px;background:rgba(255,255,255,.05);box-shadow:inset 0 0 0 1px var(--pc-line,rgba(255,255,255,.12));cursor:pointer;display:grid;place-items:center;padding:0}
.pp-c .pcico{width:28px;height:28px;background-size:contain;background-repeat:no-repeat;background-position:center}
.pp-c[aria-checked="true"]{box-shadow:inset 0 0 0 2px #ffd54f;background:rgba(255,213,79,.12)}
.pp-c em{position:absolute;right:2px;bottom:1px;font:700 10px/1 var(--font,sans-serif);font-style:normal;color:#fff;text-shadow:0 1px 2px #000,0 0 2px #000}
.pp-c .pp-a{position:absolute;left:2px;top:2px;width:13px;height:13px;border-radius:50%;background:#ffd54f;color:#1b1b1b;font:800 9px/13px var(--font,sans-serif);font-style:normal;text-align:center}




/* bảng chọn thuốc: lượng hồi (lá / giọt) + giá (chồng xu) dưới biểu tượng (2026-10-21) */
.pp-c{width:46px;height:auto;padding:4px 0 3px;display:flex;flex-direction:column;align-items:center;gap:1px}




.pp-v{display:flex;align-items:center;gap:2px;font:600 10px/12px var(--font,sans-serif);color:#cfd8d4;white-space:nowrap}
.pp-v svg{width:10px;height:10px;flex:none}
.pp-v.life svg{fill:#81c784}.pp-v.mana svg{fill:#4fc3f7}.pp-v.g svg{fill:#ffd54f}
.pp-v.g{color:#e7c66a}

/* bảng chọn thuốc: danh sách như bản đầu, gọn, chữ thay bằng biểu tượng (2026-10-21) */
#pcPotPop.pp-list2{width:auto;padding:4px 0 0;border-radius:16px}
.pp-list2 .pcpop-list{padding:2px 4px 4px;gap:1px}
.pp-r{gap:8px;padding:3px 10px 3px 3px}
.pp-r .pcico{position:relative;width:32px;height:32px;background-size:24px 24px;flex:none}
.pp-r .pcico .pp-a{position:absolute;left:-2px;top:-2px}
.pp-r .t b{font:500 12.5px/1.25 var(--font);white-space:nowrap}
.pp-r .t small{display:flex;gap:8px}
.pp-r .pp-v{font-size:10.5px;color:#9fb0a7}
.pp-r .pp-v.g{color:#e7c66a}
.pp-r .pp-v:not(.life):not(.mana):not(.g) svg{fill:#9fb0a7}
.pp-r em{display:flex;align-items:center;gap:3px;margin-left:6px;font:600 12px var(--font);color:#cfd8d4}
.pp-r em svg{width:12px;height:12px;fill:#8d9b95}


.pp-r .pcico .pp-a{width:13px;height:13px;border-radius:50%;background:#ffd54f;color:#1b1b1b;font:800 9px/13px var(--font,sans-serif);font-style:normal;text-align:center}
#pcPotPop.pp-list2{padding:3px 0}
.pp-list2 .pcpop-list{padding:0 3px}
.pp-r{gap:6px;padding:2px 8px 2px 2px}
.pp-r .pcico{width:28px;height:28px;background-size:21px 21px}
.pp-r .t b{font-size:11px;line-height:1.2}
.pp-r .t small{gap:6px}
.pp-r .pp-v{font-size:9.5px}
.pp-r .pp-v svg{width:9px;height:9px}
.pp-r em{font-size:10.5px;margin-left:4px}
.pp-r em svg{width:10px;height:10px}

/* Tiết kiệm pin: không xoay / nhún biểu tượng xoay chiêu, tự nhặt, vượt ải (2026-10-22) */
body.saver .pcrot.on svg,body.saver .pcpick.on svg,body.saver .pcpush.on svg{animation:none}
/* Hồi phục › Võ công hồi máu (2026-10-23): một dòng gọn .pcsk2 — biểu tượng · tên · ngưỡng sinh lực · công tắc */
.pcheal-th{flex:none;display:flex;align-items:center;gap:4px}
.pcheal-th .k-select{width:70px!important;min-width:0!important;flex:none;padding:0 4px 0 12px!important;gap:2px}

/* Cột phải gọn (2026-10-31): thẻ bản đồ = tên vùng trong mép trên (render.js miniName) + dải ải trong mép dưới (.pcmini, nền mờ dần);
   ẩn bản đồ = dải thẻ hai dòng có biểu tượng bản đồ bên phải; tiến độ đợt là vạch vàng mảnh ở đáy (không đổi bề rộng có hiệu ứng: không ép dàn trang) */
html.nu .stg.pcstg{height:38px;border-radius:12px;align-items:flex-start;padding:0 36px 0 10px}
html.nu .stg.pcstg .t{text-align:left}
html.nu .stg.pcstg::before{top:auto;bottom:0;height:2px;border-radius:0;background:#ffc107;box-shadow:none;transition:none}
html.nu .stg.pcstg::after{content:"";position:absolute;right:8px;top:50%;width:22px;height:22px;margin-top:-11px;border-radius:50%;background:rgba(255,255,255,.08) url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23ffd54f%22%20stroke-width%3D%221.8%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%206l6-2%206%202%206-2v14l-6%202-6-2-6%202z%22%2F%3E%3Cpath%20d%3D%22M9%204v14M15%206v14%22%2F%3E%3C%2Fsvg%3E") center/14px no-repeat;box-shadow:0 0 0 1px rgba(255,255,255,.18);pointer-events:none}
html.nu .stg.pcstg.pcmini{height:18px;border-radius:0 0 12px 12px;padding:0 8px;background:linear-gradient(rgba(10,14,12,0),rgba(10,14,12,.82));box-shadow:none}
html.nu .stg.pcstg.pcmini:hover{box-shadow:none;background:linear-gradient(rgba(10,14,12,0),rgba(10,14,12,.92))}
html.nu .stg.pcstg.pcmini::after{display:none}
html.nu .stg.pcstg.pcmini .n{font-weight:600}
html.nu .pctray-tg{height:28px}
html.nu body.jxtown .stg.pcstg::after{display:none}   /* trong thành không có bản đồ nhỏ */
html.nu body.jxtown .stg.pcstg{padding-right:10px}
html.nu.nu-narrow .stg.pcstg::after{display:none}   /* màn hẹp: bỏ biểu tượng bản đồ, nhường chỗ cho tên vùng (chạm dải vẫn hiện bản đồ) */
html.nu.nu-narrow .stg.pcstg{padding-right:10px}
html.nu .stg.pcstg .t,html.nu .stg.pcstg .n{max-width:100%;overflow:hidden;text-overflow:ellipsis}
/* hàng dưới thẻ bản đồ gọn trong bề rộng bản đồ (2026-10-31): nút thu gọn 34 px, Nhiệm vụ co theo chỗ còn lại */
html.nu .pctray-tg{width:34px}
html.nu #pcQuest{overflow:hidden}
html.nu #pcQuest>span{min-width:0;overflow:hidden;text-overflow:ellipsis}
html.nu #pcQuest.q-tight>span{max-width:0;opacity:0;margin:0}
html.nu #pcQuest.q-tight{gap:4px;padding-inline:9px}

/* Tự luyện › ưu tiên chiêu (2026-11-01): hình chiêu trong ô chọn */
.tsk{width:22px;height:22px;border-radius:6px;vertical-align:middle;display:block}
