/* ĐỐI KHÁNG (PvP) — neo-brutalist, dùng biến --nb-* nên tự đổi sáng/tối. Nạp sau cùng. */
html:root:root body #pvp .pvp-box{margin:0 0 18px}
html:root:root body #pvp .pvp-card{position:relative;overflow:hidden;background:var(--nb-surface,#fff)!important;color:var(--nb-text,#000)!important;border:2px solid var(--nb-line,#000)!important;border-radius:var(--nb-r-lg,14px)!important;box-shadow:5px 5px 0 0 var(--nb-line,#000)!important}
html:root:root body #pvp .pvp-head{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;padding:9px 12px 9px 14px;background:#171e19;border-bottom:2px solid var(--nb-line,#000)}
html:root:root body #pvp .pvp-kicker{font-size:11.5px;font-weight:900;letter-spacing:.08em;color:var(--nb-yellow,#ffe17c)!important}
html:root:root body #pvp .pvp-fee{padding:3px 10px;font-size:11.5px;font-weight:900;color:#000!important;background:var(--nb-yellow,#ffe17c);border:2px solid #000;border-radius:999px}
html:root:root body #pvp .pvp-body{display:grid;gap:12px;padding:16px 14px}
html:root:root body #pvp .pvp-center{text-align:center;justify-items:center}
html:root:root body #pvp .pvp-body h3{margin:0!important;font-family:var(--nb-head,inherit)!important;font-size:20px!important;line-height:1.2!important;font-weight:900!important;color:var(--nb-text,#000)!important}
html:root:root body #pvp .pvp-sub,html:root:root body #pvp .pvp-note,html:root:root body #pvp .pvp-warn,html:root:root body #pvp .pvp-status{margin:0!important;font-size:13px!important;line-height:1.5!important;color:var(--nb-muted,#4b5563)!important}
html:root:root body #pvp .pvp-sub b{color:var(--nb-text,#000)!important}
html:root:root body #pvp .pvp-note{font-size:12px!important}
html:root:root body #pvp .pvp-warn{font-weight:800;color:#b42318!important}
html:root:root body #pvp .pvp-status{text-align:center;font-weight:800;color:var(--nb-text,#000)!important}
html:root:root body #pvp .pvp-msg{padding:8px 10px;font-size:13px;font-weight:800;color:#000!important;background:#ffe17c;border:2px solid #000;border-radius:10px}

/* luật chơi */
html:root:root body #pvp .pvp-rules{display:grid;gap:8px}
html:root:root body #pvp .pvp-rule{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
html:root:root body #pvp .pvp-rule i{font-style:normal;font-size:12px;font-weight:800;color:var(--nb-muted,#4b5563)!important}
html:root:root body #pvp .pvp-chip{display:inline-flex;align-items:center;gap:5px;padding:4px 10px;font-size:13px;font-weight:900;color:#000!important;border:2px solid #000;border-radius:999px}
html:root:root body #pvp .pvp-c-king{background:#ffe17c!important}
html:root:root body #pvp .pvp-c-noble{background:#b7c6c2!important}
html:root:root body #pvp .pvp-c-slave{background:#ffc98a!important}

/* nút */
html:root:root body #pvp .pvp-btn{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:48px;padding:10px 14px;font-size:15px;font-weight:900;cursor:pointer;background:#171e19!important;color:#fff!important;border:2px solid var(--nb-line,#000)!important;border-radius:12px!important;box-shadow:4px 4px 0 0 var(--nb-yellow,#ffe17c)!important;transition:transform .12s,box-shadow .12s}
html:root:root body #pvp .pvp-btn:not(:disabled):hover{transform:translate(2px,2px);box-shadow:2px 2px 0 0 var(--nb-yellow,#ffe17c)!important}
html:root:root body #pvp .pvp-btn.ghost{background:var(--nb-surface,#fff)!important;color:var(--nb-text,#000)!important;box-shadow:3px 3px 0 0 var(--nb-line,#000)!important}
html:root:root body #pvp .pvp-btn:disabled{cursor:not-allowed;opacity:.55;box-shadow:none!important;transform:none!important}
html:root:root[data-theme="dark"] body #pvp .pvp-btn:not(.ghost){background:var(--nb-yellow,#ffe17c)!important;color:#000!important;box-shadow:4px 4px 0 0 var(--nb-line,#b7c6c2)!important}
html:root:root body #pvp .pvp-row{display:grid;grid-template-columns:1fr auto;gap:10px}
html:root:root body #pvp .pvp-row .pvp-btn.ghost{width:auto;padding-inline:18px}

/* chờ */
html:root:root body #pvp .pvp-dots{display:flex;gap:8px;height:22px;align-items:flex-end}
html:root:root body #pvp .pvp-dots i{width:14px;height:14px;background:#171e19;border:2px solid var(--nb-line,#000);border-radius:50%;animation:pvpb .9s ease-in-out infinite}
html:root:root[data-theme="dark"] body #pvp .pvp-dots i{background:var(--nb-yellow,#ffe17c)}
html:root:root body #pvp .pvp-dots i:nth-child(2){animation-delay:.15s}
html:root:root body #pvp .pvp-dots i:nth-child(3){animation-delay:.3s}
@keyframes pvpb{0%,100%{transform:translateY(0)}50%{transform:translateY(-8px)}}

/* trong ván */
html:root:root body #pvp .pvp-vs{display:flex;align-items:center;justify-content:center;gap:12px;font-weight:900;font-size:16px}
html:root:root body #pvp .pvp-vs span{padding:5px 12px;border:2px solid var(--nb-line,#000);border-radius:999px;color:var(--nb-text,#000)!important}
html:root:root body #pvp .pvp-meta{display:flex;justify-content:space-between;gap:8px;font-size:12px;font-weight:800}
html:root:root body #pvp .pvp-meta span{color:var(--nb-muted,#4b5563)!important}
html:root:root body #pvp .pvp-time{display:grid;gap:5px}
html:root:root body #pvp .pvp-time span{font-size:12px;font-weight:800;text-align:center;color:var(--nb-text,#000)!important}
html:root:root body #pvp .pvp-bar{height:16px;border:2px solid var(--nb-line,#000);border-radius:999px;overflow:hidden;background:var(--nb-surface,#fff)}
html:root:root body #pvp .pvp-bar i{display:block;height:100%;width:100%;background:#171e19;transition:width .25s linear}
html:root:root[data-theme="dark"] body #pvp .pvp-bar i{background:var(--nb-yellow,#ffe17c)}
html:root:root body #pvp .pvp-bar i.low{background:#e5484d!important}
html:root:root body #pvp .pvp-draw{padding:8px 10px;font-size:13px;font-weight:800;text-align:center;color:#000!important;background:#ffe17c;border:2px solid #000;border-radius:10px}
html:root:root body #pvp .pvp-picks{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
html:root:root body #pvp .pvp-pick{position:relative;display:grid;gap:3px;justify-items:center;align-content:center;min-height:128px;padding:10px 6px;cursor:pointer;color:#000!important;border:2px solid #000!important;border-radius:14px!important;box-shadow:4px 4px 0 0 #000!important;transition:transform .12s,box-shadow .12s,opacity .12s}
html:root:root body #pvp .pvp-pick:not(:disabled):hover{transform:translate(2px,2px);box-shadow:2px 2px 0 0 #000!important}
html:root:root body #pvp .pvp-pick .pvp-ic{font-size:36px;line-height:1}
html:root:root body #pvp .pvp-pick b{font-size:15px;font-weight:900;color:#000!important}
html:root:root body #pvp .pvp-pick small{font-size:10.5px;font-weight:800;color:#000!important;opacity:.75}
html:root:root body #pvp .pvp-pick em{position:absolute;top:-10px;left:50%;transform:translateX(-50%);padding:1px 8px;font-size:9.5px;font-weight:900;font-style:normal;white-space:nowrap;color:#fff!important;background:#171e19;border:2px solid #000;border-radius:999px}
html:root:root body #pvp .pvp-pick[aria-disabled=true]{pointer-events:none}
html:root:root body #pvp .pvp-pick.sel{opacity:1!important;transform:translate(2px,2px);box-shadow:0 0 0 3px var(--nb-surface,#fff),0 0 0 6px #000!important}
html:root:root body #pvp .pvp-pick.dim{opacity:.4!important;box-shadow:none!important}

/* kết quả */
html:root:root body #pvp .pvp-res{display:grid;gap:4px;justify-items:center;padding:14px 10px;text-align:center;color:#000!important;border:2px solid #000;border-radius:12px;box-shadow:4px 4px 0 0 #000}
html:root:root body #pvp .pvp-res strong{font-family:var(--nb-head,inherit);font-size:24px;font-weight:900;color:#000!important}
html:root:root body #pvp .pvp-res span{font-size:15px;font-weight:900;color:#000!important}
html:root:root body #pvp .pvp-res.win{background:#9be7a1}
html:root:root body #pvp .pvp-res.lose{background:#ff9aa2}
html:root:root body #pvp .pvp-res.draw{background:#ffe17c}
html:root:root body #pvp .pvp-reveal{display:flex;align-items:center;justify-content:center;gap:12px}
html:root:root body #pvp .pvp-reveal>div{display:grid;gap:5px;justify-items:center}
html:root:root body #pvp .pvp-reveal small{font-size:11px;font-weight:800;color:var(--nb-muted,#4b5563)!important}
html:root:root body #pvp .pvp-reveal b{font-size:14px;font-weight:900;color:var(--nb-text,#000)!important}
html:root:root body #pvp .pvp-hist{display:flex;flex-wrap:wrap;gap:6px;justify-content:center}
html:root:root body #pvp .pvp-hist span{padding:3px 9px;font-size:12px;font-weight:800;color:var(--nb-text,#000)!important;border:2px solid var(--nb-line,#000);border-radius:999px}
html:root:root body #pvp .pvp-hist .draw{border-style:dashed}

@media(max-width:360px){html:root:root body #pvp .pvp-pick{min-height:112px}html:root:root body #pvp .pvp-pick .pvp-ic{font-size:30px}html:root:root body #pvp .pvp-pick b{font-size:13px}}
@media(prefers-reduced-motion:reduce){html:root:root body #pvp .pvp-dots i,html:root:root body #pvp .pvp-btn,html:root:root body #pvp .pvp-pick,html:root:root body #pvp .pvp-bar i{animation:none!important;transition:none!important}}

/* ===== Mục riêng ĐỐI KHÁNG: tab chế độ, đấu máy, bảng xếp hạng ===== */
html:root:root body #pvp .pvp-lb{margin:0 0 6px}
html:root:root body #pvp .pvp-tabs{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:0 0 14px}
html:root:root body #pvp .pvp-body .pvp-tabs{margin:0}
html:root:root body #pvp .pvp-tab{display:grid;gap:2px;justify-items:center;min-height:50px;padding:8px 6px;font-size:14px;font-weight:900;cursor:pointer;color:var(--nb-text,#000)!important;background:var(--nb-surface,#fff)!important;border:2px solid var(--nb-line,#000)!important;border-radius:12px!important;box-shadow:3px 3px 0 0 var(--nb-line,#000)!important;transition:transform .12s,box-shadow .12s}
html:root:root body #pvp .pvp-tab small{font-size:11px;font-weight:800;opacity:.75}
html:root:root body #pvp .pvp-tab:hover{transform:translate(1px,1px);box-shadow:2px 2px 0 0 var(--nb-line,#000)!important}
html:root:root body #pvp .pvp-tab.on{background:var(--nb-yellow,#ffe17c)!important;color:#000!important;transform:translate(2px,2px);box-shadow:none!important}
html:root:root body #pvp .pvp-ph-bot .pvp-fee{background:#9be7a1}
html:root:root body #pvp .pvp-score{display:flex;justify-content:center;gap:8px;flex-wrap:wrap}
html:root:root body #pvp .pvp-score span{padding:4px 11px;font-size:12px;font-weight:800;color:var(--nb-text,#000)!important;border:2px solid var(--nb-line,#000);border-radius:999px}
html:root:root body #pvp .pvp-score b{font-weight:900}
html:root:root body #pvp .pvp-lbcard{margin-top:18px}
html:root:root body #pvp .pvp-lblist{display:grid;gap:8px}
html:root:root body #pvp .pvp-lbrow{display:flex;align-items:center;gap:10px;padding:8px 10px;background:var(--nb-surface,#fff);border:2px solid var(--nb-line,#000);border-radius:12px}
html:root:root body #pvp .pvp-lbrow.r1{background:#ffe17c}
html:root:root body #pvp .pvp-lbrow.r2{background:#b7c6c2}
html:root:root body #pvp .pvp-lbrow.r3{background:#ffc98a}
html:root:root body #pvp .pvp-lbrow.r1 *,html:root:root body #pvp .pvp-lbrow.r2 *,html:root:root body #pvp .pvp-lbrow.r3 *{color:#000!important}
html:root:root body #pvp .pvp-lbrank{min-width:34px;font-size:16px;font-weight:900;text-align:center;color:var(--nb-text,#000)!important}
html:root:root body #pvp .pvp-lbav{display:grid;place-items:center;flex:0 0 36px;width:36px;height:36px;overflow:hidden;font-size:20px;background:#fff;border:2px solid #000;border-radius:50%}
html:root:root body #pvp .pvp-lbav img{width:100%;height:100%;object-fit:cover}
html:root:root body #pvp .pvp-lbinfo{display:grid;flex:1;min-width:0}
html:root:root body #pvp .pvp-lbinfo b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:900;color:var(--nb-text,#000)!important}
html:root:root body #pvp .pvp-lbinfo small,html:root:root body #pvp .pvp-lbval small{font-size:11px;font-weight:800;color:var(--nb-muted,#4b5563)!important}
html:root:root body #pvp .pvp-lbval{display:grid;justify-items:end}
html:root:root body #pvp .pvp-lbval b{font-size:17px;font-weight:900;color:var(--nb-text,#000)!important}
html:root:root body #pvp .pvp-lbempty{padding:18px 10px;font-size:13px;font-weight:800;text-align:center;color:var(--nb-muted,#4b5563)!important;border:2px dashed var(--nb-line,#000);border-radius:12px}
html:root:root body #pvp .pvp-lbme{display:grid;gap:2px;padding:10px 12px;border:2px solid var(--nb-line,#000);border-radius:12px;box-shadow:3px 3px 0 0 var(--nb-line,#000)}
html:root:root body #pvp .pvp-lbme span{font-size:11px;font-weight:900;letter-spacing:.06em;color:var(--nb-muted,#4b5563)!important}
html:root:root body #pvp .pvp-lbme b{font-size:16px;font-weight:900;color:var(--nb-text,#000)!important}
html:root:root body #pvp .pvp-lbme small{font-size:12px;font-weight:800;color:var(--nb-muted,#4b5563)!important}

/* ===== TRANG ĐẤU toàn màn hình (#pvpArena nằm ngoài #pvp) ===== */
html.pa-lock,html.pa-lock body{overflow:hidden!important}
html:root:root body #pvpArena{position:fixed;inset:0;z-index:99990;overflow-y:auto;-webkit-overflow-scrolling:touch;color:#fff;font-family:var(--nb-body,inherit);
  background:radial-gradient(circle at 50% -10%,#2c3a31 0,#171e19 55%,#0f1411 100%)}
html:root:root body #pvpArena[hidden]{display:none!important}
html:root:root body #pvpArena *{box-sizing:border-box}
html:root:root body #pvpArena .pa-wrap{display:flex;flex-direction:column;gap:14px;max-width:520px;min-height:100%;margin:0 auto;padding:calc(env(safe-area-inset-top,0px) + 10px) 14px calc(env(safe-area-inset-bottom,0px) + 22px)}
html:root:root body #pvpArena .pa-top{display:flex;align-items:center;gap:8px;padding:8px 10px 8px 14px;background:#ffe17c;color:#000;border:3px solid #000;border-radius:14px;box-shadow:4px 4px 0 0 #000}
html:root:root body #pvpArena .pa-title{flex:1;font-size:13px;font-weight:900;letter-spacing:.08em;color:#000}
html:root:root body #pvpArena .pa-chip{padding:3px 10px;font-size:12px;font-weight:900;color:#fff;background:#171e19;border-radius:999px}
html:root:root body #pvpArena .pa-x{width:34px;height:34px;font-size:16px;font-weight:900;line-height:1;cursor:pointer;color:#000!important;background:#fff!important;border:2px solid #000!important;border-radius:10px!important;box-shadow:2px 2px 0 0 #000!important}
html:root:root body #pvpArena .pa-body{display:flex;flex-direction:column;gap:14px}

/* hai đấu thủ */
html:root:root body #pvpArena .pa-stage{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:6px}
html:root:root body #pvpArena .pa-fighter{display:grid;justify-items:center;gap:6px;padding:14px 6px 10px;min-width:0;background:rgba(255,255,255,.06);border:3px solid #b7c6c2;border-radius:18px;transition:border-color .2s,background .2s,transform .2s}
html:root:root body #pvpArena .pa-fighter.me{border-color:#ffe17c}
html:root:root body #pvpArena .pa-fighter.ready{background:rgba(155,231,161,.18);border-color:#9be7a1}
html:root:root body #pvpArena .pa-fighter.winner{background:rgba(255,225,124,.25);border-color:#ffe17c;transform:scale(1.04)}
html:root:root body #pvpArena .pa-fighter.searching .pa-av{animation:paPulse 1s ease-in-out infinite}
html:root:root body #pvpArena .pa-av{position:relative;display:grid;place-items:center;overflow:hidden;width:44px;height:44px;font-size:24px;background:#fff;border:3px solid #000;border-radius:50%}
html:root:root body #pvpArena .pa-av.big{width:72px;height:72px;font-size:38px;box-shadow:0 0 0 3px #ffe17c}
html:root:root body #pvpArena .pa-fighter.opp .pa-av.big{box-shadow:0 0 0 3px #b7c6c2}
html:root:root body #pvpArena .pa-av img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
html:root:root body #pvpArena .pa-name{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:900;color:#fff!important}
html:root:root body #pvpArena .pa-badge{padding:2px 9px;font-size:11px;font-weight:800;color:#000;background:#b7c6c2;border-radius:999px;white-space:nowrap}
html:root:root body #pvpArena .pa-fighter.me .pa-badge{background:#ffe17c}
html:root:root body #pvpArena .pa-mid{display:grid;justify-items:center;gap:4px}
html:root:root body #pvpArena .pa-mid small{font-size:11px;font-weight:800;color:#b7c6c2}
html:root:root body #pvpArena .pa-vs{display:grid;place-items:center;width:46px;height:46px;font-size:17px;font-weight:900;color:#000;background:#ffe17c;border:3px solid #000;border-radius:50%;box-shadow:3px 3px 0 0 #000;transform:rotate(-8deg)}
@keyframes paPulse{0%,100%{transform:scale(1)}50%{transform:scale(1.08)}}

/* bàn đấu 2 lá */
html:root:root body #pvpArena .pa-board{display:grid;gap:10px;padding:12px 8px;background:rgba(0,0,0,.28);border:3px dashed rgba(183,198,194,.55);border-radius:18px}
html:root:root body #pvpArena .pa-lane{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:6px}
html:root:root body #pvpArena .pa-side{display:grid;justify-items:center}
html:root:root body #pvpArena .pa-lanelabel{padding:3px 8px;font-size:10.5px;font-weight:900;letter-spacing:.08em;color:#171e19;background:#b7c6c2;border-radius:999px}
html:root:root body #pvpArena .pa-slot{padding:0;background:none!important;border:0!important;box-shadow:none!important;cursor:pointer}
html:root:root body #pvpArena .pa-card{position:relative;display:grid;gap:2px;justify-items:center;align-content:center;width:min(30vw,104px);height:min(37vw,124px);color:#000;border:3px solid #000;border-radius:14px;box-shadow:4px 4px 0 0 #000;animation:paFlip .45s ease both}
html:root:root body #pvpArena .pa-card .pa-ic{font-size:clamp(30px,9vw,42px);line-height:1}
html:root:root body #pvpArena .pa-card b{font-size:14px;font-weight:900;color:#000!important}
html:root:root body #pvpArena .pa-card em{position:absolute;bottom:-11px;padding:1px 9px;font-size:10px;font-weight:900;font-style:normal;color:#000;background:#fff;border:2px solid #000;border-radius:999px}
html:root:root body #pvpArena .pa-card.pa-c-king,html:root:root body #pvpArena .pa-pick.pa-c-king{background:#ffe17c}
html:root:root body #pvpArena .pa-card.pa-c-noble,html:root:root body #pvpArena .pa-pick.pa-c-noble{background:#b7c6c2}
html:root:root body #pvpArena .pa-card.pa-c-slave,html:root:root body #pvpArena .pa-pick.pa-c-slave{background:#ffc98a}
html:root:root body #pvpArena .pa-card.res-win{background-image:linear-gradient(0deg,rgba(155,231,161,.55),rgba(155,231,161,.55));box-shadow:0 0 0 4px #9be7a1,4px 4px 0 4px #000}
html:root:root body #pvpArena .pa-card.res-lose{opacity:.55;filter:grayscale(.5)}
html:root:root body #pvpArena .pa-card.res-draw{border-style:dashed}
html:root:root body #pvpArena .pa-card.back{background:repeating-linear-gradient(45deg,#2c3a31 0 8px,#171e19 8px 16px);border-color:#b7c6c2;box-shadow:4px 4px 0 0 #000;animation:none}
html:root:root body #pvpArena .pa-card.back .pa-ic{color:#ffe17c}
html:root:root body #pvpArena .pa-card.empty{background:transparent;border:3px dashed rgba(255,255,255,.4);box-shadow:none;animation:none}
html:root:root body #pvpArena .pa-card.empty i{font-style:normal;font-size:14px;font-weight:900;color:#b7c6c2}
html:root:root body #pvpArena .pa-card.empty small{font-size:10px;font-weight:800;color:#8fa19c}
@keyframes paFlip{0%{transform:rotateY(90deg) scale(.8);opacity:0}100%{transform:none;opacity:1}}

/* tay bài */
html:root:root body #pvpArena .pa-hint{margin:0;font-size:12.5px;font-weight:800;text-align:center;color:#b7c6c2}
html:root:root body #pvpArena .pa-hand{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}
html:root:root body #pvpArena .pa-pick{grid-column:span 2}
html:root:root body #pvpArena .pa-pick:nth-child(n+4){grid-column:span 3}
html:root:root body #pvpArena .pa-pick{display:grid;gap:3px;justify-items:center;align-content:center;min-height:112px;padding:10px 4px;cursor:pointer;color:#000!important;border:3px solid #000!important;border-radius:16px!important;box-shadow:4px 4px 0 0 #000!important;transition:transform .12s,box-shadow .12s,opacity .12s}
html:root:root body #pvpArena .pa-pick .pa-ic{font-size:34px;line-height:1}
html:root:root body #pvpArena .pa-pick b{font-size:14px;font-weight:900;color:#000!important}
html:root:root body #pvpArena .pa-pick small{font-size:10.5px;font-weight:800;color:#000!important;opacity:.75}
html:root:root body #pvpArena .pa-pick:not([aria-disabled=true]):active{transform:translate(3px,3px);box-shadow:1px 1px 0 0 #000!important}
html:root:root body #pvpArena .pa-pick[aria-disabled=true]{opacity:.4;pointer-events:none;box-shadow:none!important}

/* nút */
html:root:root body #pvpArena .pa-btn{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:50px;padding:10px 14px;font-size:15px;font-weight:900;cursor:pointer;color:#000!important;background:#fff!important;border:3px solid #000!important;border-radius:14px!important;box-shadow:4px 4px 0 0 #ffe17c!important;transition:transform .12s,box-shadow .12s}
html:root:root body #pvpArena .pa-btn.go{background:#ffe17c!important;box-shadow:4px 4px 0 0 #000!important}
html:root:root body #pvpArena .pa-btn:not(:disabled):active{transform:translate(3px,3px);box-shadow:1px 1px 0 0 #000!important}
html:root:root body #pvpArena .pa-btn:disabled{cursor:not-allowed;opacity:.5;box-shadow:none!important}
html:root:root body #pvpArena .pa-actions{display:grid;gap:10px}

/* kết quả + phụ */
html:root:root body #pvpArena .pa-result{display:grid;gap:4px;justify-items:center;padding:14px 10px;text-align:center;color:#000;border:3px solid #000;border-radius:16px;box-shadow:4px 4px 0 0 #000;animation:paFlip .45s ease both}
html:root:root body #pvpArena .pa-result strong{font-size:26px;font-weight:900;color:#000!important}
html:root:root body #pvpArena .pa-result span{font-size:15px;font-weight:900;color:#000!important}
html:root:root body #pvpArena .pa-result.win{background:#9be7a1}
html:root:root body #pvpArena .pa-result.lose{background:#ff9aa2}
html:root:root body #pvpArena .pa-result.draw{background:#ffe17c}
html:root:root body #pvpArena .pa-drawnote{padding:8px 10px;font-size:13px;font-weight:800;text-align:center;color:#000;background:#ffe17c;border:2px solid #000;border-radius:10px}
html:root:root body #pvpArena .pa-time{display:grid;gap:5px}
html:root:root body #pvpArena .pa-time span{font-size:12px;font-weight:800;text-align:center;color:#fff}
html:root:root body #pvpArena .pvp-bar{height:16px;border:2px solid #000;border-radius:999px;overflow:hidden;background:#fff}
html:root:root body #pvpArena .pvp-bar i{display:block;height:100%;width:100%;background:#2c3a31;transition:width .25s linear}
html:root:root body #pvpArena .pvp-bar i.low{background:#e5484d}
html:root:root body #pvpArena .pvp-status{margin:0;font-size:13px;font-weight:800;text-align:center;color:#fff}
html:root:root body #pvpArena .pvp-msg{padding:8px 10px;font-size:13px;font-weight:800;color:#000;background:#ffe17c;border:2px solid #000;border-radius:10px}
html:root:root body #pvpArena .pvp-note{margin:0;font-size:12px;line-height:1.5;text-align:center;color:#b7c6c2}
html:root:root body #pvpArena .pvp-warn{margin:0;font-size:13px;font-weight:800;text-align:center;color:#ff9aa2}
html:root:root body #pvpArena .pvp-hist{display:flex;flex-wrap:wrap;gap:6px;justify-content:center}
html:root:root body #pvpArena .pvp-hist span{padding:3px 9px;font-size:12px;font-weight:800;color:#fff;border:2px solid #b7c6c2;border-radius:999px}
html:root:root body #pvpArena .pvp-hist .draw{border-style:dashed}
html:root:root body #pvpArena .pa-score{display:flex;justify-content:center;gap:8px;flex-wrap:wrap}
html:root:root body #pvpArena .pa-score span{padding:4px 11px;font-size:12px;font-weight:800;color:#fff;border:2px solid #b7c6c2;border-radius:999px}
html:root:root body #pvpArena .pa-wait{display:grid;gap:8px;justify-items:center;padding:6px 0;text-align:center}
html:root:root body #pvpArena .pa-wait p{margin:0;font-size:14px;font-weight:800;color:#fff}
html:root:root body #pvpArena .pa-wait small{font-size:12px;color:#b7c6c2}
html:root:root body #pvpArena .pvp-dots{display:flex;gap:8px;height:22px;align-items:flex-end}
html:root:root body #pvpArena .pvp-dots i{width:14px;height:14px;background:#ffe17c;border:2px solid #000;border-radius:50%;animation:pvpb .9s ease-in-out infinite}
html:root:root body #pvpArena .pvp-dots i:nth-child(2){animation-delay:.15s}
html:root:root body #pvpArena .pvp-dots i:nth-child(3){animation-delay:.3s}
@media(max-width:360px){html:root:root body #pvpArena .pa-av.big{width:58px;height:58px;font-size:30px}html:root:root body #pvpArena .pa-pick{min-height:96px}}
@media(prefers-reduced-motion:reduce){html:root:root body #pvpArena *{animation:none!important;transition:none!important}}

/* avatar nhỏ trong BXH */
html:root:root body #pvp .pa-av{position:relative;display:grid;place-items:center;overflow:hidden;flex:0 0 36px;width:36px;height:36px;font-size:20px;background:#fff;border:2px solid #000;border-radius:50%}
html:root:root body #pvp .pa-av img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}

html:root:root body .pvp-c-commoner{background:#b8e0ff!important}
html:root:root body #pvpArena .pa-card.pa-c-commoner,html:root:root body #pvpArena .pa-pick.pa-c-commoner{background:#b8e0ff}
html:root:root body #pvpArena .pa-pick{position:relative}
html:root:root body #pvpArena .pa-pick small{text-align:center;line-height:1.25}
html:root:root body #pvpArena .pa-pick em{position:absolute;top:-10px;left:50%;transform:translateX(-50%);padding:1px 8px;font-size:9.5px;font-weight:900;font-style:normal;white-space:nowrap;color:#fff;background:#171e19;border:2px solid #ffe17c;border-radius:999px}
html:root:root body #pvpArena .pa-pick.sel{transform:translate(2px,2px);box-shadow:0 0 0 3px #171e19,0 0 0 6px #ffe17c!important}
