/* PvP (screens/pvp.js e ui/pvp-match-view.js): janela "Vitrine" e o painel da partida ao vivo. */
/* ---------- janela: abas em cima, Pokémon à esquerda, vitrine no meio, divisão e botão à direita */
.modal.win.pvp-win { width: min(1200px, 100%); height: min(820px, 100%); }
.pvp-win .win-body { padding: 0; display: flex; flex-direction: column; flex: 1; min-height: 0; overflow: hidden; }
.pvp-win .actions { display: none; }
.pv { display: flex; flex-direction: column; flex: 1; min-height: 0; background: #111821; color: #eef1f4; --pv-line: #2f3d4b; --pv-card: #161e29; --pv-acc: #8cc4ff; }
.pv .muted { color: #9aa6b4; }
.pv .good { color: #6fdc8c; } .pv .warn { color: #ffb347; }
.pv-loading { padding: 16px 18px; }
.pv-top { display: flex; align-items: stretch; gap: 2px; padding: 0 16px; background: #0d131b; border-bottom: 1px solid var(--pv-line); }
.pv-nav { display: flex; gap: 2px; overflow-x: auto; }
.pv-tab { all: unset; cursor: pointer; padding: 12px 18px; font: 14px 'Idlepoke Pixel', system-ui, sans-serif; letter-spacing: .04em; text-transform: uppercase; color: #9aa6b4; border-bottom: 3px solid transparent; white-space: nowrap; }
.pv-tab:hover, .pv-tab:focus-visible { color: #eef1f4; }
.pv-tab.on { color: #eef1f4; border-bottom-color: var(--pv-acc); background: linear-gradient(0deg, rgba(140,196,255,.12), transparent); }
.pv-season { margin-left: auto; align-self: center; font-size: 12px; color: #9aa6b4; white-space: nowrap; padding-left: 10px; }
.pv-season b { color: var(--pv-acc); }
.pv-stage { display: grid; grid-template-columns: 88px 1fr 330px; flex: 1; min-height: 0; }
.pv-stage[data-tab="top"], .pv-stage[data-tab="history"] { grid-template-columns: 88px 1fr 0; }
.pv-stage[data-tab="top"] .pv-side, .pv-stage[data-tab="history"] .pv-side { display: none; }
/* coluna dos Pokémon */
.pv-rail { background: #0d131b; border-right: 1px solid var(--pv-line); padding: 10px 8px; display: flex; flex-direction: column; gap: 8px; align-items: center; overflow-y: auto; }
.pv-mon { all: unset; cursor: pointer; position: relative; flex: none; width: 66px; height: 66px; border-radius: 12px; background: var(--pv-card); border: 2px solid var(--pv-line); display: grid; place-items: center; box-sizing: border-box; }
.pv-mon:hover, .pv-mon:focus-visible { border-color: #5b7290; }
.pv-mon.on { border-color: var(--pv-acc); box-shadow: 0 0 12px rgba(140,196,255,.4); }
.pv-mon.no img { filter: grayscale(.6) brightness(.8); }
.pv-mon:disabled { cursor: not-allowed; opacity: .4; }
.pv-dot { position: absolute; right: 3px; top: 3px; width: 10px; height: 10px; border-radius: 50%; background: #6fdc8c; box-shadow: 0 0 0 2px #0d131b; }
.pv-mon.no .pv-dot { background: #ffb347; }
.pv-sep { width: 50px; border: 0; border-top: 1px dashed var(--pv-line); margin: 2px 0; }
.pv-legend { font-size: 10px; color: #9aa6b4; text-align: center; margin: 4px 0 0; line-height: 1.5; }
.pv-legend .ok { color: #6fdc8c; } .pv-legend .no { color: #ffb347; }
/* vitrine */
.pv-center { display: flex; flex-direction: column; min-height: 0; min-width: 0; overflow: hidden; }
.pv-show { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; padding: 18px 22px; overflow: hidden;
  background: radial-gradient(ellipse at 50% 62%, color-mix(in srgb, var(--glow) 32%, transparent), transparent 55%), url('/data/game/arena-banners/arena-embedded-tower.jpg') center / cover; }
.pv-show::before { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,14,20,.96) 0%, rgba(10,14,20,.35) 45%, rgba(10,14,20,.7) 100%); }
.pv-show > * { position: relative; }
.pv-name { position: absolute; top: 16px; left: 22px; display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.pv-name h2 { margin: 0; font: 38px 'Idlepoke Pixel', system-ui, sans-serif; text-shadow: 0 2px 6px #000; }
.pv-chips { position: absolute; top: 18px; right: 20px; display: flex; flex-direction: column; gap: 4px; align-items: flex-end; }
.pv .tag { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: rgba(14,20,28,.85); border: 1px solid var(--pv-line); white-space: nowrap; color: #eef1f4; }
.pv .tag.shiny { color: #ffd040; border-color: rgba(255,208,64,.5); }
.pv-art { width: 224px; height: 224px; filter: drop-shadow(0 10px 12px rgba(0,0,0,.8)); flex: 0 1 auto; min-height: 96px; object-fit: contain; }
.pv-plat { width: 280px; height: 46px; border-radius: 50%; margin-top: -40px; background: radial-gradient(ellipse, color-mix(in srgb, var(--glow) 50%, transparent), color-mix(in srgb, var(--glow) 8%, transparent) 60%, transparent 70%); }
.pv-stats { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; width: 100%; margin-top: 10px; }
.pv-stat { background: rgba(14,20,28,.85); border: 1px solid var(--pv-line); border-radius: 8px; padding: 5px 8px; font-size: 10px; color: #9aa6b4; }
.pv-stat b { display: block; font-size: 15px; color: #eef1f4; }
.pv-stat.basic { border-color: rgba(255,255,255,.35); }
.pv-bar { height: 4px; margin-top: 3px; border-radius: 3px; background: #0a0d12; overflow: hidden; }
.pv-bar i { display: block; height: 100%; background: #8cc4ff; }
.s-hp .pv-bar i { background: #6fdc8c; } .s-atk .pv-bar i { background: #ff6a5a; } .s-def .pv-bar i { background: #c5b78c; }
.s-spa .pv-bar i { background: #5aa8ff; } .s-spd .pv-bar i { background: #b4c6ff; } .s-spe .pv-bar i { background: #ffd040; }
.s-atk b { color: #ff6a5a; } .s-spa b { color: #5aa8ff; }
.pv-slots { display: flex; gap: 8px; margin-top: 10px; width: 100%; justify-content: center; }
.pv-slot { position: relative; flex: 1 1 0; max-width: 132px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 3px; background: rgba(14,20,28,.92); border: 1px solid var(--pv-line); border-radius: 10px; padding: 7px 8px; box-sizing: border-box; }
.pv-slot b { font-size: 12px; line-height: 1.2; } .pv-sub { font-size: 10px; color: #9aa6b4; }
.pv-slot.mob { border-color: var(--pv-acc); }
.pv-slot.vazio { border-style: dashed; min-height: 64px; justify-content: center; }
.pv-key { position: absolute; top: 6px; right: 6px; display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 4px; border-radius: 5px; background: #e8ecf1; color: #1a1f26; font: 11px 'Idlepoke Pixel', monospace; box-shadow: inset 0 -3px #9aa6b4; box-sizing: border-box; }
.pv-slot-empty { all: unset; cursor: pointer; display: flex; flex-direction: column; gap: 2px; align-items: center; padding: 12px 24px; border-radius: 10px; border: 2px dashed #ffb347; background: rgba(40,28,10,.85); text-align: center; }
.pv-slot-empty strong { color: #ffb347; } .pv-slot-empty span { font-size: 12px; color: #d7dfe8; }
.pv-empty { margin: auto; max-width: 420px; text-align: center; padding: 20px; }
/* coluna da direita */
.pv-side { border-left: 1px solid var(--pv-line); display: flex; flex-direction: column; background: #0f151d; padding: 14px; gap: 10px; overflow-y: auto; min-height: 0; }
.pv-seg { display: grid; grid-auto-columns: 1fr; grid-auto-flow: column; border: 1px solid var(--pv-line); border-radius: 10px; overflow: hidden; }
.pv-seg button { all: unset; cursor: pointer; text-align: center; padding: 8px 4px; font: 14px 'Idlepoke Pixel', system-ui, sans-serif; color: #9aa6b4; background: var(--pv-card); }
.pv-seg button + button { border-left: 1px solid var(--pv-line); }
.pv-seg button:hover:not(:disabled), .pv-seg button:focus-visible { color: #eef1f4; }
.pv-seg button.on { background: #2a4a78; color: #fff; }
.pv-seg button:disabled { cursor: not-allowed; }
.pv-fmt { text-align: center; margin: -6px 0 0; }
.pv-rank { text-align: center; }
.pv-rank .pv-emblem { filter: drop-shadow(0 0 14px rgba(255,255,255,.15)); }
.pv-div { font: 22px 'Idlepoke Pixel', system-ui, sans-serif; }
.pv-mmr { font-size: 13px; color: #9aa6b4; } .pv-mmr b { color: #eef1f4; font-size: 18px; }
.pv-bar.big { height: 6px; margin: 8px 0 3px; }
.pv-rank p { margin: 2px 0; }
.d-poke { color: #ff7a6c; } .d-great { color: #6cb0ff; } .d-ultra { color: #f8cc30; } .d-master { color: #c896ff; } .d-champion { color: #ffd040; }
.pv-bar i.d-poke { background: #f04838; } .pv-bar i.d-great { background: #3a8ce8; } .pv-bar i.d-ultra { background: #f8cc30; }
.pv-bar i.d-master { background: #a050e0; } .pv-bar i.d-champion { background: #ffd040; }
/* tiers e promoções (28/11/2026) */
.pv-title { font-size: 12px; font-weight: bold; letter-spacing: .02em; }
.pv-ttl { display: block; font-size: 10px; color: #ffd040; opacity: .9; }
.pv-promo { background: linear-gradient(180deg, rgba(255, 208, 64, .16), rgba(255, 208, 64, .04)); border: 1px solid #d08e10; border-radius: 10px; padding: 6px 8px; margin: 6px 0; display: flex; flex-direction: column; gap: 4px; }
.pv-promo h4 { margin: 0; color: #ffd040; }
.pv-promo-row { display: flex; align-items: center; gap: 8px; }
.pv-qbtn.promo { background: #d08e10; border-color: #7a4c06; color: #fff; }
.pv-tiers { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
.pv-tier { background: var(--pv-card); border: 1px solid var(--pv-line); border-radius: 10px; padding: 8px; }
.pv-tier-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-bottom: 6px; }
.pv-tier-ranks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.pv-tier-ranks .pv-rung { background: transparent; }
.pv-mini { background: var(--pv-card); border: 1px solid var(--pv-line); border-radius: 10px; padding: 8px 10px; }
.pv-mini h4, .pv-ctls h4 { margin: 0 0 6px; font-size: 12px; color: #9aa6b4; text-transform: uppercase; letter-spacing: .05em; }
.pv-tr { display: flex; gap: 8px; align-items: center; padding: 2px 0; font-size: 12px; }
.pv-tr .pv-emblem { width: 24px; height: 24px; }
.pv-tr.me { background: rgba(255,179,71,.12); border-radius: 6px; margin: 2px -4px; padding: 2px 4px; }
.pv-pos { width: 26px; color: #9aa6b4; font-weight: 800; }
.pv-tn { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pv-link { all: unset; cursor: pointer; display: block; margin-top: 6px; font-size: 12px; font-weight: 700; color: var(--pv-acc); }
.pv-link:hover, .pv-link:focus-visible { text-decoration: underline; }
.pv-foot { margin-top: auto; display: flex; flex-direction: column; gap: 6px; }
.pv-go { all: unset; cursor: pointer; display: block; text-align: center; font: 28px 'Idlepoke Pixel', system-ui, sans-serif; letter-spacing: .06em; text-transform: uppercase; padding: 14px 0; border-radius: 10px;
  color: #071430; background: linear-gradient(180deg, #a8d4ff, #3a7ce8); box-shadow: 0 0 0 2px #d8ecff inset, 0 0 24px rgba(58,124,232,.5); }
.pv-go:hover:not(:disabled), .pv-go:focus-visible { filter: brightness(1.08); }
.pv-go:disabled { cursor: not-allowed; background: #2a2f38; color: #9aa6b4; box-shadow: none; }
.pv-go.queued { color: #2a0d08; background: linear-gradient(180deg, #ffb09a, #ff5a44); box-shadow: 0 0 0 2px #ffd6cc inset, 0 0 18px rgba(255,90,68,.45); animation: pv-pulse 1.4s ease-in-out infinite; }
.pv-go.train { color: #241a05; background: linear-gradient(180deg, #ffe3a0, #ffb347); box-shadow: 0 0 0 2px #fff0c8 inset, 0 0 18px rgba(255,179,71,.4); }
.pv-go.train:disabled { background: #2a2f38; color: #9aa6b4; box-shadow: none; }
@keyframes pv-pulse { 50% { box-shadow: 0 0 0 2px #ffd6cc inset, 0 0 30px rgba(255,90,68,.75); } }
@media (prefers-reduced-motion: reduce) { .pv-go.queued { animation: none; } }
.pv-hint { margin: 0; text-align: center; font-size: 11px; color: #9aa6b4; }
.pv-hint.live { color: #ffb347; }
.pv-h { margin: 0 0 6px; font: 16px 'Idlepoke Pixel', system-ui, sans-serif; }
.pv-h .small { font: 12px system-ui, sans-serif; }
.pv-opt { display: grid; grid-template-columns: 82px 1fr; gap: 8px; align-items: center; font-size: 12px; font-weight: 700; color: #b9c2cc; }
.pv-opt .pv-seg button { font: 700 12px system-ui, sans-serif; padding: 7px 4px; }
.pv-ctls { background: var(--pv-card); border: 1px solid var(--pv-line); border-radius: 10px; padding: 8px 10px; display: grid; gap: 5px; }
.pv-ctl { display: grid; grid-template-columns: 96px 1fr; gap: 8px; align-items: center; font-size: 11px; color: #b9c2cc; }
.pv-keys { display: flex; gap: 3px; flex-wrap: wrap; }
.pv kbd { display: inline-grid; place-items: center; min-width: 18px; height: 20px; padding: 0 4px; border-radius: 4px; background: #e8ecf1; color: #1a1f26; font: 10px 'Idlepoke Pixel', monospace; box-shadow: inset 0 -3px #9aa6b4; box-sizing: border-box; }
/* habilidades */
.pv-pick { flex: 1; overflow-y: auto; padding: 14px 18px; }
.pv-skills { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 8px; margin-bottom: 16px; }
.pv-skill { all: unset; cursor: pointer; position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 3px; padding: 8px 10px; border-radius: 10px; background: var(--pv-card); border: 1px solid var(--pv-line); border-left: 4px solid var(--tc, #8cc4ff); box-sizing: border-box; }
.pv-skill:hover, .pv-skill:focus-visible { background: #1c2633; }
.pv-skill.on { background: #1d2e45; border-color: var(--pv-acc); border-left-color: var(--tc, #8cc4ff); box-shadow: 0 0 0 1px var(--pv-acc) inset; }
.pv-skill b { font-size: 13px; }
.pv-tags { font-size: 10px; color: #7f8b99; }
.pv-chosen { display: grid; gap: 6px; }
.pv-chosen .pv-slot { max-width: none; }
/* ranking e histórico */
.pv-board { flex: 1; overflow-y: auto; padding: 14px 18px; }
.pv-board-head { display: flex; gap: 10px; align-items: center; margin-bottom: 6px; }
.pv-board-head .pv-seg { width: 220px; }
.pv-you { display: flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 8px; background: rgba(255,179,71,.12); }
.pv-podium { display: flex; justify-content: center; align-items: flex-end; gap: 14px; margin: 14px 0; }
.pv-pod { display: flex; flex-direction: column; align-items: center; gap: 2px; width: 150px; padding: 10px 8px; border-radius: 12px; background: var(--pv-card); border: 1px solid var(--pv-line); }
.pv-pod.p1 { padding-bottom: 26px; border-color: #ffd040; box-shadow: 0 0 18px rgba(255,208,64,.18); }
.pv-pod.p2 { border-color: #d4dbe4; } .pv-pod.p3 { border-color: #e09a5a; }
.pv-pod.me { background: #221d14; }
.pv-pod-pos { font: 20px 'Idlepoke Pixel', system-ui, sans-serif; }
.pv-pod strong { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pv-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.pv-table th { text-align: left; font-size: 11px; color: #9aa6b4; text-transform: uppercase; letter-spacing: .05em; padding: 6px 8px; border-bottom: 1px solid var(--pv-line); }
.pv-table td { padding: 4px 8px; border-bottom: 1px solid #1c2531; }
.pv-table tr.me td { background: rgba(255,179,71,.12); }
.pv-cell { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.pv-num { font-weight: 800; font-variant-numeric: tabular-nums; }
.pv-empty-line { padding: 18px; text-align: center; color: #9aa6b4; background: var(--pv-card); border: 1px dashed var(--pv-line); border-radius: 10px; }
.pv-ladder { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; margin-top: 16px; }
.pv-rung { display: flex; flex-direction: column; align-items: center; gap: 1px; background: var(--pv-card); border: 1px solid var(--pv-line); border-radius: 10px; padding: 8px 4px; font-size: 12px; }
.pv-hrow { display: flex; align-items: center; gap: 10px; padding: 8px 12px; margin-bottom: 6px; border-radius: 10px; background: var(--pv-card); border: 1px solid var(--pv-line); border-left: 4px solid #9aa6b4; flex-wrap: wrap; }
.pv-hrow.r-win { border-left-color: #6fdc8c; } .pv-hrow.r-loss { border-left-color: #ff7a86; }
.pv-hrow.r-win .pv-hres b { color: #6fdc8c; } .pv-hrow.r-loss .pv-hres b { color: #ff7a86; }
.pv-hres { display: flex; flex-direction: column; width: 84px; } .pv-hres b { font: 15px 'Idlepoke Pixel', system-ui, sans-serif; }
.pv-hmons { display: flex; gap: 4px; flex-wrap: wrap; }
.pv-hmon { display: flex; flex-direction: column; align-items: center; width: 54px; font-size: 10px; color: #b9c2cc; }
.pv-hmon small { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pv-hmon.left { opacity: .45; }
.pv-vs { font: 12px 'Idlepoke Pixel', system-ui, sans-serif; color: #9aa6b4; }
.pv-hdelta { display: flex; align-items: center; gap: 6px; } .pv-hdelta b { font-size: 16px; min-width: 36px; text-align: right; }
.pv .grow { flex: 1; }
@media (max-width: 900px) {
  .pv-stage, .pv-stage[data-tab="top"], .pv-stage[data-tab="history"] { display: flex; flex-direction: column; overflow-y: auto; }
  .pv-stage > * { flex: none; }
  .pv-rail { flex-direction: row; border-right: 0; border-bottom: 1px solid var(--pv-line); overflow-x: auto; overflow-y: hidden; padding: 8px; }
  .pv-sep { width: 0; height: 50px; border-top: 0; border-left: 1px dashed var(--pv-line); }
  .pv-legend { display: none; }
  .pv-center { overflow: visible; }
  .pv-show { padding: 96px 12px 14px; }
  .pv-name { top: 12px; left: 12px; } .pv-name h2 { font-size: 26px; }
  .pv-chips { top: 12px; right: 12px; } .pv-chips .tag:nth-child(n+3) { display: none; }
  .pv-art { width: 150px; height: 150px; }
  .pv-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pv-slots { flex-wrap: wrap; } .pv-slot { flex: 1 1 30%; }
  .pv-side { border-left: 0; border-top: 1px solid var(--pv-line); overflow: visible; }
  .pv-rank .pv-emblem { width: 96px; height: 96px; }
  .pv-go { font-size: 22px; padding: 12px 0; }
  .pv-pick, .pv-board { overflow: visible; padding: 12px; }
  .pv-tier-ranks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pv-board-head { flex-wrap: wrap; }
  .pv-season { display: none; }
}
}
/* ---------- partida */
.pvp-view { cursor: crosshair; user-select: none; }
.pvp-view .pvp-fog, .pvp-view .pvp-aim-layer { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.pvp-view .pvp-aim-layer { z-index: 3; }
.pvp-view .pvp-hud { position: absolute; inset: 0; z-index: 4; pointer-events: none; font-family: 'Idlepoke Pixel', system-ui, sans-serif; color: #eef1f4; }
.pvp-view .pvp-panel { pointer-events: auto; background: rgba(28,31,37,.86); border: 2px solid #16181d; border-radius: 8px; box-shadow: inset 0 0 0 2px #3c4149; }
.pvp-view .pvp-top { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); display: flex; gap: 12px; align-items: center; padding: 4px 10px; }
.pvp-view .pvp-timer { font-size: 18px; min-width: 52px; text-align: center; }
.pvp-view .pvp-count { position: absolute; top: 36%; left: 50%; transform: translate(-50%, -50%); font-size: 64px; text-shadow: 0 3px 0 #101418; }
.pvp-view .pvp-count[hidden], .pvp-view .pvp-msg[hidden], .pvp-view .pvp-down[hidden] { display: none; }
/* placar por pontos (28/11/2026): cada derrubada vale 1 */
.pvp-view .pvp-score { display: flex; align-items: center; gap: 6px; font-size: 11px; color: #9aa3ad; }
.pvp-view .pvp-score b { font-size: 20px; min-width: 26px; text-align: center; padding: 1px 6px; border-radius: 5px; color: #fff; text-shadow: 0 1px 0 #101418; }
.pvp-view .pvp-score b.mine { background: #2d64a8; box-shadow: inset 0 0 0 1px #5aa8ff; }
.pvp-view .pvp-score b.theirs { background: #9a2f27; box-shadow: inset 0 0 0 1px #ff7a6a; }
.pvp-view .pvp-score i { font-style: normal; color: #eef1f4; }
.pvp-view .pvp-unit .kd { font-size: 10px; color: #c9d1da; text-align: center; }
.pvp-view .pvp-unit .st { font-size: 10px; color: #ffd23c; text-align: right; white-space: nowrap; }
.pvp-view .pvp-down { position: absolute; top: 34%; left: 50%; transform: translate(-50%, -50%); display: grid; gap: 4px; justify-items: center; padding: 10px 22px; border-radius: 8px; background: rgba(16,20,26,.86); box-shadow: inset 0 0 0 2px #3c4149; text-shadow: 0 2px 0 #101418; }
.pvp-view .pvp-down b { font-size: 22px; color: #ff9d90; }
.pvp-view .pvp-down span { font-size: 16px; }
.pvp-view .pvp-msg { position: absolute; bottom: 132px; left: 50%; transform: translateX(-50%); padding: 3px 12px; border-radius: 6px; background: rgba(28,31,37,.9); color: #ffb3a8; }
.pvp-view .pvp-msg[data-kind="ok"] { color: #b9f0b9; }
.pvp-view .pvp-side { position: absolute; top: 56px; display: grid; gap: 3px; width: 210px; font-size: 11px; }
.pvp-view .pvp-allies { left: 8px; }
.pvp-view .pvp-foes { right: 8px; }
.pvp-view .pvp-side .ttl { font-weight: 700; text-shadow: 0 1px 0 #101418; }
.pvp-view .pvp-unit { display: grid; grid-template-columns: 1fr 50px 26px 44px; gap: 4px; align-items: center; padding: 2px 6px; border-radius: 5px; background: rgba(28,31,37,.78); }
.pvp-view .pvp-unit .nm { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pvp-view .pvp-unit .bar { height: 5px; background: #101418; border-radius: 3px; overflow: hidden; }
.pvp-view .pvp-unit .bar span { display: block; height: 100%; background: #5fd35f; }
.pvp-view .pvp-foes .pvp-unit .bar span { background: #e5533d; }
.pvp-view .pvp-unit.down { opacity: .45; }
.pvp-view .pvp-unit.fog .nm { color: #9aa3ad; }
.pvp-view .pvp-bottom { position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%); display: grid; gap: 5px; padding: 6px 8px; width: min(680px, calc(100% - 16px)); }
.pvp-view .pvp-hp { position: relative; height: 12px; background: #101418; border-radius: 4px; overflow: hidden; }
.pvp-view .pvp-hp span { position: absolute; inset: 0 auto 0 0; background: #5fd35f; }
.pvp-view .pvp-hp b { position: relative; display: block; text-align: center; font-size: 10px; line-height: 12px; text-shadow: 0 1px 0 #101418; }
.pvp-view .pvp-energy { display: grid; grid-template-columns: repeat(10, 1fr); gap: 3px; }
.pvp-view .pvp-energy .pip { height: 8px; border-radius: 2px; background: #2a2e35; box-shadow: inset 0 0 0 1px #16181d; }
.pvp-view .pvp-energy .pip.on { background: #f2c14e; }
.pvp-view .pvp-slots { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 4px; }
.pvp-view .pvp-slot { position: relative; display: grid; gap: 1px; padding: 4px 5px; border-radius: 6px; background: #2a2e35; box-shadow: inset 0 0 0 1px #16181d; opacity: .55; overflow: hidden; }
.pvp-view .pvp-slot.ready { opacity: 1; background: #343a44; }
.pvp-view .pvp-slot.aiming { box-shadow: inset 0 0 0 2px #ffd23c; }
.pvp-view .pvp-slot.off { text-decoration: line-through; }
.pvp-view .pvp-slot .k { font-size: 10px; color: #ffd23c; }
.pvp-view .pvp-slot .n { font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pvp-view .pvp-slot .a { font-size: 9px; color: #9aa3ad; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pvp-view .pvp-slot .cost { position: absolute; top: 3px; right: 5px; font-size: 10px; color: #f2c14e; }
.pvp-view .pvp-slot .pw { position: absolute; top: 3px; right: 16px; font-size: 9px; color: #ff8a6a; }
.pvp-view .pvp-slot.basic .pw { right: 5px; }
.pvp-view .pvp-slot .pw.st { color: #9aa3ad; }
.pvp-view .pvp-slot .cd { position: absolute; left: 0; right: 0; bottom: 0; height: 0; background: rgba(0,0,0,.5); pointer-events: none; }
.pvp-view .pvp-slot.basic[data-stat="spa"] .a { color: #5aa8ff; }
.pvp-view .pvp-slot.basic[data-stat="atk"] .a { color: #ff5a4a; }
@media (max-width: 640px) { .pvp-view .pvp-side { width: 132px; } .pvp-view .pvp-unit { grid-template-columns: 1fr 30px 38px; } .pvp-view .pvp-unit .kd, .pvp-view .pvp-score span { display: none; } .pvp-view .pvp-slots { grid-template-columns: repeat(3, minmax(0, 1fr)); } .pvp-view .pvp-msg { bottom: 170px; } }
.pvp-end-rank { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.pvp-end-promo { color: #ffd040; }
/* golpes trancados (TM ainda não usada ou missão) e missões */
.pv-skill-top { display: flex; gap: 6px; align-items: center; }
.pv-way { font-size: 10px; font-weight: 800; padding: 1px 6px; border-radius: 4px; background: #263244; color: #b9c2cc; text-transform: uppercase; letter-spacing: .04em; }
.pv-way.w-tm { background: #3a2f12; color: #ffd040; } .pv-way.w-quest { background: #2c2040; color: #c896ff; } .pv-way.w-type { background: #1d3328; color: #8ee8b0; }
.pv-skill.locked { cursor: default; background: #12181f; border-color: #26303c; }
.pv-skill.locked > b, .pv-skill.locked > .pv-sub, .pv-skill.locked > .pv-tags, .pv-skill.locked .type { opacity: .6; }
.pv-skill.locked:hover { background: #12181f; }
.pv-lock { display: flex; flex-direction: column; gap: 4px; width: 100%; margin-top: 4px; padding: 5px 7px; border-radius: 7px; background: rgba(255,255,255,.04); border: 1px dashed #3a4656; font-size: 11px; color: #d7dfe8; box-sizing: border-box; }
.pv-lock.quest { border-color: #6a4a9a; } .pv-lock.quest.on { border-style: solid; background: rgba(200,150,255,.08); }
.pv-lock .pv-bar i { background: #c896ff; }
.pv-qrow { display: flex; align-items: center; justify-content: space-between; }
.pv-qbtn { all: unset; cursor: pointer; align-self: flex-start; padding: 4px 10px; border-radius: 6px; font-size: 11px; font-weight: 800; color: #1c1030; background: linear-gradient(180deg, #e2ccff, #a77cff); }
.pv-qbtn.off { color: #eef1f4; background: #3a2f45; }
.pv-qbtn:disabled { cursor: not-allowed; background: #2a2f38; color: #9aa6b4; }
.pv-qline { display: flex; gap: 8px; align-items: center; padding: 4px 0; font-size: 12px; border-top: 1px solid #222c38; }
.pv-qline:first-of-type { border-top: 0; }
/* ---------- sandbox: opções no meio da partida (28/11/2026) */
.pvp-view .pvp-side[hidden], .pvp-view .pvp-sb[hidden] { display: none; }
.pvp-view .pvp-sb { position: absolute; top: 56px; right: 8px; width: 330px; max-height: calc(100% - 200px); display: grid; grid-template-rows: auto 1fr; overflow: hidden; font-size: 11px; }
.pvp-view .pvp-sb .sb-head { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-bottom: 1px solid #3c4149; }
.pvp-view .pvp-sb .sb-head b { font-size: 13px; }
.pvp-view .pvp-sb .sb-head .small { color: #9aa3ad; flex: 1; }
.pvp-view .pvp-sb .sb-x { background: none; border: 0; color: #eef1f4; font-size: 18px; cursor: pointer; padding: 0 4px; }
.pvp-view .pvp-sb .sb-body { overflow: auto; padding: 4px 8px 8px; display: grid; gap: 8px; }
.pvp-view .pvp-sb .sb-sec { display: grid; gap: 5px; }
.pvp-view .pvp-sb h4 { margin: 4px 0 0; font-size: 11px; color: #8cc4ff; text-transform: uppercase; letter-spacing: .04em; }
.pvp-view .pvp-sb .sb-row { display: grid; grid-template-columns: 64px 1fr; align-items: center; gap: 6px; }
.pvp-view .pvp-sb .sb-seg { display: flex; background: #16181d; border-radius: 6px; padding: 2px; gap: 2px; }
.pvp-view .pvp-sb .sb-b { flex: 1; border: 0; border-radius: 4px; padding: 4px 6px; background: transparent; color: #c9d1da; font: inherit; cursor: pointer; }
.pvp-view .pvp-sb .sb-b.on { background: #3b6fb6; color: #fff; }
.pvp-view .pvp-sb .sb-acts { display: flex; gap: 6px; }
.pvp-view .pvp-sb .sb-unit { display: grid; grid-template-columns: 1fr auto; gap: 4px 6px; align-items: center; }
.pvp-view .pvp-sb .sb-unit .nm { grid-column: 1 / -1; color: #c9d1da; }
.pvp-view .pvp-sb input, .pvp-view .pvp-sb select { width: 100%; min-width: 0; padding: 4px 6px; border-radius: 5px; border: 1px solid #3c4149; background: #101418; color: #eef1f4; font: inherit; }
.pvp-view .pvp-sb .sb-moves { display: grid; gap: 4px; }
.pvp-view .pvp-sb .sb-moves label { display: grid; grid-template-columns: 30px 1fr; align-items: center; gap: 4px; }
.pvp-view .pvp-sb .sb-moves label span { color: #ffd23c; text-align: center; }
.pvp-view .pvp-sb p.small { margin: 0; color: #9aa3ad; }
@media (max-width: 640px) { .pvp-view .pvp-sb { left: 8px; right: 8px; width: auto; max-height: calc(100% - 230px); } }

/* balão de detalhes da habilidade, com prévia animada (28/11/2026): game/src/ui/skill-tip.js */
.skill-tip { position: fixed; z-index: 9000; width: 340px; max-width: calc(100vw - 16px); background: #141a24; border: 1px solid var(--tc, #8cc4ff);
  border-radius: 10px; box-shadow: 0 10px 28px rgba(0, 0, 0, .55); overflow: hidden; color: #e8eef8; font-size: 12px; pointer-events: auto; }
.skill-tip[hidden] { display: none; }
.skill-tip-stage { position: relative; height: 190px; overflow: hidden; background: #101418; border-bottom: 2px solid var(--tc, #8cc4ff); display: flex; align-items: center; justify-content: center; }
.skill-tip-view { position: absolute; left: 0; right: 0; top: 50%; height: 240px; transform: translateY(-50%); } /* a cena tem no mínimo 120 px × zoom 2 */
.skill-tip-view canvas { image-rendering: pixelated; display: block; }
.skill-tip-text { padding: 8px 10px 10px; display: flex; flex-direction: column; gap: 6px; }
.skill-tip-head { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.skill-tip-sub { margin: 0; color: #a8b4c8; }
.skill-tip-rows { display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; margin: 0; }
.skill-tip-rows dt { color: #8a96aa; }
.skill-tip-rows dd { margin: 0; }
.skill-tip-fx { margin: 0; padding-left: 16px; display: flex; flex-direction: column; gap: 3px; }
.skill-tip-fx li::marker { color: var(--tc, #8cc4ff); }

/* ---- celular: joystick na esquerda, botões na direita (pvp-touch.js, pedido de 28/11/2026) ---- */
.pvp-view.touch .pvp-slots { display: none; }
.pvp-view.touch .pvp-bottom { width: min(300px, 34%); bottom: 6px; padding: 5px 6px; }
.pvp-view .pvp-touch { position: absolute; inset: 0; pointer-events: none; touch-action: none; user-select: none; -webkit-user-select: none; }
.pvp-view .pt-zone { position: absolute; left: 0; top: 48px; bottom: 0; width: 45%; pointer-events: auto; touch-action: none; }
.pvp-view .pt-stick { position: absolute; width: 112px; height: 112px; margin: -56px 0 0 -56px; border-radius: 50%; background: rgba(16, 20, 24, .35); box-shadow: inset 0 0 0 2px rgba(238, 241, 244, .35); }
.pvp-view .pt-knob { position: absolute; left: 50%; top: 50%; width: 48px; height: 48px; margin: -24px 0 0 -24px; border-radius: 50%; background: rgba(238, 241, 244, .55); box-shadow: 0 2px 0 rgba(0,0,0,.35); }
.pvp-view .pt-right { position: absolute; right: 10px; bottom: 10px; width: 236px; height: 236px; pointer-events: none; }
.pvp-view .pt-btn { position: absolute; display: grid; place-items: center; align-content: center; gap: 1px; padding: 0; border: 0; border-radius: 50%; color: #eef1f4; font: inherit; pointer-events: auto; touch-action: none;
  background: #2a2e35; box-shadow: inset 0 0 0 2px #16181d, 0 3px 0 rgba(0,0,0,.4); opacity: .6; overflow: hidden; -webkit-tap-highlight-color: transparent; }
.pvp-view .pt-btn.ready { opacity: 1; background: #343a44; }
.pvp-view .pt-btn.down, .pvp-view .pt-btn.aiming { box-shadow: inset 0 0 0 3px #ffd23c, 0 1px 0 rgba(0,0,0,.4); transform: translateY(2px); }
.pvp-view .pt-btn.off { text-decoration: line-through; }
.pvp-view .pt-btn b { font-size: 9px; line-height: 1.1; max-width: 90%; text-align: center; font-weight: normal; }
.pvp-view .pt-btn .k { font-size: 11px; color: #ffd23c; }
.pvp-view .pt-btn .cost { font-size: 9px; color: #f2c14e; }
.pvp-view .pt-btn .cd { position: absolute; left: 0; right: 0; bottom: 0; height: 0; background: rgba(0,0,0,.5); pointer-events: none; }
.pvp-view .pt-basic { right: 6px; bottom: 6px; width: 92px; height: 92px; background: #5a2f2a; }
.pvp-view .pt-basic.ready { background: #8a3a2e; }
.pvp-view .pt-basic b { font-size: 12px; }
/* habilidades em arco em volta do básico (centro do básico = 184,184 dentro de .pt-right; raio 112) */
.pvp-view .pt-skill { width: 56px; height: 56px; }
.pvp-view .pt-skill.s1 { left: 44px; top: 156px; }
.pvp-view .pt-skill.s2 { left: 59px; top: 100px; }
.pvp-view .pt-skill.s3 { left: 100px; top: 59px; }
.pvp-view .pt-skill.s4 { left: 156px; top: 44px; }
.pvp-view .pt-mob { left: 6px; top: 6px; width: 60px; height: 60px; background: #2b3a4f; }
.pvp-view .pt-mob.ready { background: #35577e; }
.pvp-view .pt-cancel { position: absolute; right: 24px; bottom: 262px; padding: 10px 14px; border-radius: 10px; background: rgba(16, 20, 24, .7); box-shadow: inset 0 0 0 2px #e5533d; color: #ffb4a8; font-size: 11px; pointer-events: none; }
.pvp-view .pt-cancel.hot { background: #e5533d; color: #fff; }
.pvp-view .pt-rotate { display: none; position: absolute; inset: 0; place-content: center; gap: 6px; text-align: center; background: rgba(6, 9, 14, .9); pointer-events: auto; }
.pvp-view .pt-rotate b { font-size: 16px; }
.pvp-view .pt-rotate span { font-size: 11px; color: #9aa3ad; }
@media (orientation: portrait) { .pvp-view.touch .pt-rotate { display: grid; } }
@media (max-height: 380px) { .pvp-view .pt-right { transform: scale(.85); transform-origin: bottom right; } .pvp-view .pt-cancel { bottom: 226px; } }

/* Equipe para a partida (pedido 28/11): 1x1 leva 3, 2x2 e 6x6 levam 2; o 1º começa. */
.pv-ord { position: absolute; left: 3px; bottom: 3px; min-width: 16px; height: 16px; border-radius: 8px; background: var(--pv-acc); color: #0d131b; font: 800 11px/16px system-ui, sans-serif; text-align: center; box-shadow: 0 0 0 2px #0d131b; }
.pv-team { background: var(--pv-card); border: 1px solid var(--pv-line); border-radius: 10px; padding: 6px 8px; margin: 6px 0; display: flex; flex-direction: column; gap: 5px; }
.pv-team h4 { margin: 0; font-size: 12px; color: #b9c2cc; }
.pv-team p { margin: 0; }
.pv-tslots { display: flex; gap: 6px; }
.pv-tslot { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 4px 2px; border-radius: 8px; border: 1px solid var(--pv-line); background: rgba(0,0,0,.18); }
.pv-tslot.on { border-color: var(--pv-acc); }
.pv-tslot.empty { border-style: dashed; justify-content: center; min-height: 86px; }
.pv-tord { font: 800 10px system-ui, sans-serif; color: #8cc4ff; text-transform: uppercase; }
.pv-tmon { all: unset; cursor: pointer; display: grid; place-items: center; width: 46px; height: 46px; }
.pv-tname { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pv-tact { display: flex; gap: 3px; min-height: 18px; }
.pv-tbtn { all: unset; cursor: pointer; width: 20px; height: 18px; border-radius: 4px; background: #24303d; color: #cfe1f5; font-size: 10px; text-align: center; line-height: 18px; }
.pv-tbtn:hover { background: #33465c; }
.pv-tbtn:disabled { opacity: .4; cursor: default; }

/* Banco da equipe na partida (pedido 28/11): Q e E trocam; brilha quando dá (energia cheia ou desmaiado). */
.pvp-view .pvp-bench { display: flex; gap: 4px; justify-content: center; }
.pvp-view .pvp-mem { all: unset; cursor: pointer; position: relative; display: grid; grid-template-columns: 32px auto; grid-template-rows: auto 4px; column-gap: 4px; align-items: center; padding: 2px 8px 3px 4px; border-radius: 6px; background: rgba(16,20,26,.8); box-shadow: inset 0 0 0 1px #3c4149; opacity: .6; font: 700 11px system-ui, sans-serif; color: #dfe6ee; }
.pvp-view .pvp-mem img, .pvp-view .pvp-mem .missing-sprite { grid-row: 1 / 3; }
.pvp-view .pvp-mem .k { position: absolute; left: -4px; top: -5px; min-width: 14px; height: 14px; border-radius: 3px; background: #24303d; color: #cfe1f5; font-size: 10px; line-height: 14px; text-align: center; }
.pvp-view .pvp-mem .n { max-width: 92px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pvp-view .pvp-mem .hp { height: 4px; border-radius: 2px; background: #2a2f36; overflow: hidden; }
.pvp-view .pvp-mem .hp i { display: block; height: 100%; background: #5fd35f; }
.pvp-view .pvp-mem.ready { opacity: 1; box-shadow: inset 0 0 0 2px #8cc4ff, 0 0 10px rgba(140,196,255,.35); }
.pvp-view .pvp-mem.next { box-shadow: inset 0 0 0 2px #ffd040, 0 0 10px rgba(255,208,64,.4); }
.pvp-view.touch .pvp-bottom { z-index: 3; }
.pvp-view.touch .pvp-mem { padding: 4px 10px 5px 6px; }
.pvp-view.touch .pvp-mem .k { display: none; }

/* Aba Times (pedido 28/11): um time salvo por fila. */
.pv-team-head { display: flex; align-items: center; gap: 8px; }
.pv-team-head h3, .pv-team-head h4 { margin: 0; }
.pv-tmini { display: flex; gap: 6px; }
.pv-tchip { position: relative; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 8px; background: rgba(0,0,0,.2); border: 1px solid var(--pv-line); }
.pv-tchip small { position: absolute; right: -4px; bottom: -4px; font: 800 9px/14px system-ui, sans-serif; min-width: 14px; border-radius: 7px; background: var(--pv-acc); color: #0d131b; text-align: center; }
.pv-teams { display: flex; flex-direction: column; gap: 10px; padding: 14px 16px; overflow: auto; height: 100%; box-sizing: border-box; }
.pv-teams > p { margin: 0; }
.pv-tcards { display: flex; flex-direction: column; gap: 10px; }
.pv-tcard { background: var(--pv-card); border: 1px solid var(--pv-line); border-radius: 12px; padding: 10px 12px; display: flex; flex-direction: column; gap: 8px; }
.pv-tcard h3 { font-size: 15px; }
.pv-tcard .pv-tslots { max-width: 420px; }
.pv-tcard .pv-qbtn { align-self: flex-start; }
.pv-tcard > p { margin: 0; }
.pv-tpic { display: grid; place-items: center; padding: 6px 0; }
.pv-trow { display: flex; align-items: center; gap: 6px; }
.pv-qbtn:disabled { opacity: .45; cursor: default; }

/* ------------------------------------------------------------ fila fora da janela (pedido 28/11): contador, aceitar, preparação */
.pq-chip { position: fixed; top: 96px; left: 50%; transform: translateX(-50%); z-index: 900; display: flex; align-items: center; gap: 8px; padding: 6px 8px 6px 12px; border-radius: 999px;
  background: rgba(15, 21, 29, .94); box-shadow: inset 0 0 0 2px #3b6ea8, 0 4px 12px rgba(0,0,0,.4); color: #eef1f4; font: 800 13px system-ui, sans-serif; cursor: pointer; user-select: none; }
.pq-dot { width: 9px; height: 9px; border-radius: 50%; background: #6fdc8c; animation: pq-pulse 1.2s ease-in-out infinite; }
@keyframes pq-pulse { 50% { opacity: .3; } }
.pq-x { all: unset; cursor: pointer; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: #2a3442; font-size: 11px; }
.pq-x:hover { background: #a3392c; }
.pq-shade { position: fixed; inset: 0; z-index: 9500; display: grid; place-items: center; background: rgba(5, 8, 12, .55); }
.pq-found { width: min(360px, calc(100vw - 32px)); padding: 18px 20px; border-radius: 14px; background: #0f151d; box-shadow: inset 0 0 0 2px #3b6ea8, 0 10px 40px rgba(0,0,0,.6); color: #eef1f4; text-align: center; display: grid; gap: 10px; }
.pq-found h3 { margin: 0; font: 22px 'Idlepoke Pixel', system-ui, sans-serif; color: #8cc4ff; }
.pq-found p { margin: 0; }
.pq-fmt { color: #b9c2cc; font-weight: 700; }
.pq-bar { height: 8px; border-radius: 4px; background: #222c38; overflow: hidden; }
.pq-bar i { display: block; height: 100%; background: linear-gradient(90deg, #ffb347, #6fdc8c); transition: width .25s linear; }
.pq-row { display: flex; justify-content: space-between; font-size: 12px; color: #b9c2cc; }
.pq-btns { display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; }
.pq-btns button, .pq-ready { all: unset; cursor: pointer; text-align: center; padding: 12px 8px; border-radius: 10px; font: 800 15px system-ui, sans-serif; }
.pq-btns .pq-yes { background: linear-gradient(180deg, #5fb0ff, #2f6fd0); color: #fff; box-shadow: 0 3px 0 #1d4380; }
.pq-btns .pq-no { background: #2a3442; color: #dfe6ee; box-shadow: 0 3px 0 #161c25; }
.pq-wait { color: #6fdc8c; font-weight: 700; }
.pq-prep { position: fixed; inset: 0; z-index: 9500; display: grid; place-items: center; padding: 16px; box-sizing: border-box;
  background: radial-gradient(ellipse at center, rgba(28, 44, 66, .96), rgba(6, 9, 14, .98)); color: #eef1f4; overflow: auto; }
.pq-card { width: min(980px, 100%); display: grid; gap: 14px; }
.pq-head { display: flex; align-items: center; gap: 16px; }
.pq-head > div:first-child { flex: 1; }
.pq-head h3 { margin: 0; font: 26px 'Idlepoke Pixel', system-ui, sans-serif; color: #8cc4ff; }
.pq-head p { margin: 4px 0 0; color: #b9c2cc; font-size: 13px; }
.pq-clock { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font: 28px 'Idlepoke Pixel', system-ui, sans-serif; background: #0f151d; box-shadow: inset 0 0 0 3px #ffb347; }
.pq-sides { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: start; }
.pq-vs { align-self: center; font: 32px 'Idlepoke Pixel', system-ui, sans-serif; color: #ffb347; }
.pq-side { display: grid; gap: 8px; }
.pq-side h4 { margin: 0; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; }
.pq-side.ally h4 { color: #8cc4ff; } .pq-side.foe h4 { color: #ff8a7a; }
.pq-player { padding: 8px 10px; border-radius: 12px; background: #0f151d; box-shadow: inset 0 0 0 1px #2a3442; display: grid; gap: 6px; }
.pq-side.foe .pq-player { box-shadow: inset 0 0 0 1px #5a2c2c; }
.pq-player.me { box-shadow: inset 0 0 0 2px #5fb0ff; }
.pq-pname { display: flex; justify-content: space-between; align-items: center; gap: 6px; font-size: 13px; }
.pq-ok { font-size: 11px; font-weight: 800; color: #8a95a3; }
.pq-player.ready .pq-ok { color: #6fdc8c; }
.pq-mons { display: flex; gap: 6px; flex-wrap: wrap; }
.pq-mon { position: relative; width: 92px; display: grid; justify-items: center; gap: 2px; padding: 4px 2px 6px; border-radius: 10px; background: rgba(255,255,255,.04); }
.pq-mon.first { background: rgba(95, 176, 255, .14); }
.pq-ord { font: 800 10px system-ui, sans-serif; color: #8cc4ff; text-transform: uppercase; }
.pq-nm { font-size: 11px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pq-up { all: unset; cursor: pointer; font: 800 10px system-ui, sans-serif; padding: 3px 6px; border-radius: 5px; background: #2a4a72; color: #dfeeff; }
.pq-up:hover { background: #3b6ea8; }
.pq-foot { display: grid; justify-items: center; gap: 6px; }
.pq-foot p { margin: 0; font-size: 12px; color: #8a95a3; }
.pq-ready { min-width: 240px; background: linear-gradient(180deg, #7ee08f, #3a9f50); color: #0d1a10; box-shadow: 0 3px 0 #245f31; }
.pq-ready.on { background: #2a3442; color: #6fdc8c; box-shadow: 0 3px 0 #161c25; }
@media (max-width: 700px) { .pq-sides { grid-template-columns: 1fr; } .pq-vs { justify-self: center; font-size: 22px; } .pq-mon { width: 76px; } .pq-chip { top: 70px; } }
.pq-ord.foe { color: #ff8a7a; }
