/* Panda Arena (arena.html, assets/js/pages/arena.js). Prefix pza- (no other class uses it). */

/* ---------- lobby ---------- */
.pza-main { max-width: 640px; margin: 0 auto; padding: 16px; }
.pza-lobby { border-radius: 22px; overflow: hidden; background: linear-gradient(160deg, #1f5f3a 0%, #2f8a4f 55%, #8fd46b 100%); color: #fff; box-shadow: 0 10px 30px rgba(0, 0, 0, .18); }
.pza-hero-art { display: block; width: 100%; height: 110px; }
.pza-lobby-body { padding: 6px 20px 22px; }
.pza-title { margin: 0 0 4px; font-size: 1.7rem; line-height: 1.15; font-weight: 800; letter-spacing: -.01em; }
.pza-sub { margin: 0 0 14px; font-size: 1.05rem; opacity: .95; font-weight: 600; }
.pza-how { margin: 0 0 14px; padding: 0 0 0 1.25em; font-size: .95rem; line-height: 1.45; }
.pza-how li { margin: 0 0 6px; }
.pza-note { margin: 0 0 16px; font-size: .82rem; opacity: .85; }
.pza-go { display: block; width: 100%; border: 0; border-radius: 16px; padding: 16px; font-size: 1.35rem; font-weight: 800; color: #1d3b24; background: #ffd23f; box-shadow: 0 6px 0 #c99a00; cursor: pointer; }
.pza-go:active { transform: translateY(3px); box-shadow: 0 3px 0 #c99a00; }
.pza-go:disabled { opacity: .7; cursor: wait; }
.pza-err { margin: 12px 0 0; padding: 10px 12px; border-radius: 12px; background: rgba(120, 0, 0, .55); font-weight: 600; }
.pza-err[hidden] { display: none; }
.pza-keys { margin: 10px 0 0; font-size: .8rem; opacity: .8; text-align: center; }
.pza-lobby-ed { display: block; width: 100%; margin: 12px 0 0; min-height: 48px; border: 2px solid rgba(255, 255, 255, .7); border-radius: 14px; padding: 10px; font-size: 1rem; font-weight: 800; color: #fff; background: rgba(10, 30, 16, .25); cursor: pointer; }
.pza-lobby-ed:active { transform: translateY(1px); }

/* ---------- game stage (full screen over the app) ---------- */
.pza-stage { position: fixed; inset: 0; z-index: 2000; overflow: hidden; background: #3b7340; touch-action: none; -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent; -webkit-touch-callout: none; color: #fff; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
.pza-cv { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
/* HUD + controls: every .pza-lay is placed by arena.js (left/top) and can be moved from ⚙ */
.pza-lay { position: absolute; }
.pza-pill { background: rgba(10, 20, 14, .55); border-radius: 999px; padding: 6px 10px; font-weight: 800; font-size: 15px; line-height: 1; white-space: nowrap; pointer-events: none; }
.pza-timer { font-variant-numeric: tabular-nums; min-width: 52px; text-align: center; }
.pza-score { min-width: 44px; text-align: center; }
.pza-timer.pza-low { background: rgba(190, 30, 30, .75); }
.pza-btn { width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(10, 20, 14, .55); color: #fff; font-size: 20px; line-height: 48px; padding: 0; cursor: pointer; }
.pza-btn-leave { width: auto; border-radius: 999px; padding: 0 16px; font-size: 15px; font-weight: 800; }
.pza-edit-open { z-index: 6; }
.pza-feed { pointer-events: none; }
.pza-mm { display: none; pointer-events: none; }
.pza-off { visibility: hidden; }
.pza-fl { width: -moz-fit-content; width: fit-content; max-width: 100%; box-sizing: border-box; background: rgba(10, 20, 14, .55); border-radius: 10px; padding: 4px 9px; margin: 0 0 4px; font-size: 13px; font-weight: 600; line-height: 1.3; transition: opacity .6s; }
.pza-fl-me { background: rgba(255, 196, 0, .85); color: #2a1d00; }
.pza-fl-hurt { background: rgba(200, 40, 60, .8); }
.pza-fl-emo { font-style: italic; color: #e8ece9; }
.pza-fl-old { opacity: 0; }
.pza-center { position: absolute; left: 50%; top: 32%; transform: translate(-50%, -50%); text-align: center; font-weight: 800; font-size: 22px; text-shadow: 0 2px 6px rgba(0, 0, 0, .55); pointer-events: none; max-width: 86vw; }
.pza-center small { display: block; font-size: 15px; font-weight: 600; margin-top: 6px; }
.pza-center[hidden], .pza-board[hidden], .pza-joy[hidden] { display: none; }

/* touch controls */
.pza-ctl { display: none; }
.pza-touch .pza-ctl { display: block; }
.pza-fire { position: absolute; right: calc(env(safe-area-inset-right, 0px) + 20px); bottom: calc(env(safe-area-inset-bottom, 0px) + 24px); width: 104px; height: 104px; border-radius: 50%; border: 4px solid rgba(255, 255, 255, .85); background: radial-gradient(circle at 35% 30%, #ff8a8d, #e63946 70%); color: #fff; font-size: 17px; font-weight: 900; box-shadow: 0 6px 16px rgba(0, 0, 0, .35); touch-action: none; }
.pza-fire.pza-on { transform: scale(.94); background: radial-gradient(circle at 35% 30%, #ffb0b2, #ff4d5a 70%); }
.pza-dodge { position: absolute; right: calc(env(safe-area-inset-right, 0px) + 136px); bottom: calc(env(safe-area-inset-bottom, 0px) + 34px); width: 64px; height: 64px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, .8); background: radial-gradient(circle at 35% 30%, #8ab8ff, #3a6fd8 70%); color: #fff; font-size: 13px; font-weight: 900; touch-action: none; }
.pza-dodge.pza-cool { opacity: .45; }
.pza-joy { position: absolute; width: 130px; height: 130px; margin: -65px 0 0 -65px; border-radius: 50%; background: rgba(255, 255, 255, .14); border: 3px solid rgba(255, 255, 255, .45); pointer-events: none; }
.pza-knob { position: absolute; left: 50%; top: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; background: rgba(255, 255, 255, .75); }
.pza-joy-hint { position: absolute; left: calc(env(safe-area-inset-left, 0px) + 40px); bottom: calc(env(safe-area-inset-bottom, 0px) + 40px); width: 110px; height: 110px; border-radius: 50%; border: 3px dashed rgba(255, 255, 255, .4); display: none; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; opacity: .8; pointer-events: none; }
.pza-touch .pza-joy-hint { display: flex; }
.pza-touch .pza-joy-hint[hidden] { display: none; }
.pza-desk-hint { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); font-size: 12px; background: rgba(10, 20, 14, .5); padding: 4px 10px; border-radius: 999px; pointer-events: none; white-space: nowrap; }
.pza-touch .pza-desk-hint { display: none; }
/* narrow / short stage (classes set by arena.js from the stage size: media queries would read the
   phone's real size, wrong while the stage is turned) */
.pza-narrow .pza-btn-leave { width: 48px; padding: 0; border-radius: 50%; font-size: 20px; }
.pza-narrow .pza-leave-t { display: none; }

/* landscape fallback: the whole stage turned 90° clockwise (arena.js sets left / width / height) */
.pza-stage.pza-rot { inset: auto; top: 0; transform-origin: 0 0; transform: rotate(90deg); }

/* safe-area probe (read by arena.js to keep moved buttons on screen) */
.pza-safe { position: absolute; inset: 0; visibility: hidden; pointer-events: none; padding: env(safe-area-inset-top, 0px) env(safe-area-inset-right, 0px) env(safe-area-inset-bottom, 0px) env(safe-area-inset-left, 0px); }

/* ⚙ editor: every control / HUD item can be dragged and resized; extras can be hidden */
.pza-editmode .pza-lay { pointer-events: auto; cursor: grab; z-index: 3; outline: 2px dashed rgba(255, 255, 255, .95); outline-offset: 3px; touch-action: none; }
.pza-editmode .pza-edit-open { z-index: 6; }
.pza-editmode .pza-ctl { display: block; }
.pza-editmode .pza-joy-hint, .pza-editmode .pza-joy-hint[hidden] { display: flex; border-style: solid; background: rgba(255, 255, 255, .14); opacity: 1; }
.pza-editmode .pza-joy, .pza-editmode .pza-desk-hint { display: none; }
.pza-editmode .pza-mm { display: flex; align-items: flex-end; justify-content: center; padding-bottom: 2px; font-size: 12px; font-weight: 800; }
.pza-editmode .pza-feed { min-height: 120px; background: rgba(10, 20, 14, .25); border-radius: 10px; }
.pza-editmode .pza-feed:empty::before { content: 'Hit feed'; display: block; padding: 8px; font-size: 13px; font-weight: 800; opacity: .8; }
.pza-editmode .pza-fl-old { opacity: .6; }
.pza-editmode .pza-off { visibility: visible; opacity: .35; }
.pza-editmode .pza-lay.pza-ed-sel { outline: 3px dashed #ffd23f; }
.pza-ed { position: absolute; z-index: 2; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(400px, calc(100% - 24px)); background: rgba(14, 24, 18, .9); border-radius: 16px; padding: 10px 12px 12px; box-shadow: 0 8px 24px rgba(0, 0, 0, .4); max-height: calc(100% - 12px); overflow: auto; overscroll-behavior: contain; touch-action: auto; box-sizing: border-box; }
.pza-ed[hidden] { display: none; }
.pza-ed-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 16px; }
.pza-ed-hint { margin: 4px 0 6px; font-size: 13px; line-height: 1.35; opacity: .85; }
.pza-ed-size { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; margin: 0 0 8px; }
.pza-ed-sz { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; }
.pza-ed-lbl { min-width: 104px; max-width: 128px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pza-ed-range { flex: 1; min-width: 0; height: 32px; accent-color: #ffd23f; }
.pza-ed-row { display: flex; gap: 6px; }
.pza-ed-b { flex: 1; min-height: 44px; border: 0; border-radius: 12px; padding: 6px 8px; font-size: 14px; font-weight: 800; color: #fff; background: rgba(255, 255, 255, .16); cursor: pointer; white-space: nowrap; }
.pza-ed-hide { flex: none; padding: 6px 12px; }
.pza-ed-hide[hidden] { display: none; }
.pza-ed-save { background: #ffd23f; color: #1d3b24; }
.pza-ed-cancel { flex: none; width: 44px; min-height: 40px; border-radius: 50%; padding: 0; font-size: 18px; }
/* landscape phone: dock the card at the bottom middle, between the joystick and FIRE */
.pza-short .pza-ed { top: auto; bottom: calc(env(safe-area-inset-bottom, 0px) + 6px); transform: translateX(-50%); width: min(400px, max(260px, calc(100% - 400px))); padding: 8px 10px 10px; }
.pza-short .pza-ed-hint { display: none; }
.pza-short .pza-ed-size { margin-bottom: 6px; }
.pza-short .pza-ed-b { min-height: 40px; }

/* round end board */
.pza-board { position: absolute; inset: 0; z-index: 7; display: flex; align-items: center; justify-content: center; background: rgba(0, 0, 0, .35); padding: 12px; box-sizing: border-box; }
.pza-card { width: min(440px, 100%); max-height: 100%; overflow: auto; overscroll-behavior: contain; touch-action: auto; -webkit-overflow-scrolling: touch; box-sizing: border-box; background: rgba(18, 26, 22, .95); border-radius: 18px; padding: 14px 16px; box-shadow: 0 10px 30px rgba(0, 0, 0, .4); }
.pza-card h2 { margin: 0 0 8px; font-size: 1.25rem; text-align: center; }
.pza-tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.pza-tbl td { padding: 5px 6px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.pza-tbl td.pza-num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pza-tbl tr.pza-me td { background: rgba(255, 210, 63, .18); font-weight: 800; }
.pza-tbl .pza-bot { color: #b9bec4; }
.pza-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; vertical-align: middle; }
.pza-tag { font-size: 10px; font-weight: 800; background: #6b7178; color: #fff; border-radius: 4px; padding: 1px 4px; margin-left: 5px; vertical-align: middle; }
.pza-next { text-align: center; margin: 10px 0 0; font-weight: 700; opacity: .9; }
.pza-xp { text-align: center; margin: 6px 0 0; font-weight: 800; color: #ffd23f; }
.pza-xp:empty { display: none; }
.pza-close { display: block; margin: 10px auto 0; border: 0; border-radius: 999px; padding: 8px 18px; font-weight: 800; background: #ffd23f; color: #1d3b24; }

/* ---------- build 11: health, power-ups, teams, friends rooms ---------- */
.pza-na { display: none !important; }
.pza-hp { display: flex; align-items: center; gap: 6px; width: 156px; height: 30px; pointer-events: none; }
.pza-hp-bar { position: relative; flex: 1; height: 18px; border-radius: 999px; background: rgba(10, 20, 14, .65); border: 2px solid rgba(255, 255, 255, .85); overflow: hidden; }
.pza-hp-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 100%; background: #3ddc68; border-radius: 999px; transition: width .2s, background-color .2s; }
.pza-hp-num { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 900; color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, .8); font-variant-numeric: tabular-nums; }
.pza-pw { --p: 1; --c: #ffd23f; flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--c) calc(var(--p) * 360deg), rgba(255, 255, 255, .18) 0); }
.pza-pw[hidden] { display: none; }
.pza-pw-icon { width: 24px; height: 24px; border-radius: 50%; background: rgba(10, 20, 14, .85); display: grid; place-items: center; font-size: 14px; line-height: 1; }
.pza-teams { pointer-events: none; font-size: 14px; }
.pza-t-red { color: #ff8a92; } .pza-t-blue { color: #8fbcff; }
.pza-team-line { text-align: center; font-size: 1.2rem; font-weight: 900; margin: 0 0 8px; }
.pza-legend { text-align: center; font-size: 12px; opacity: .75; margin: 0 0 6px; }
.pza-tbl td.pza-main-score { font-weight: 900; }

/* lobby: Play now / Play with friends */
.pza-go-2 { margin-top: 10px; background: #fff; color: #1d3b24; box-shadow: 0 6px 0 #b9c8bd; }
.pza-go-2:active { box-shadow: 0 3px 0 #b9c8bd; }
.pza-go-room { margin-bottom: 4px; }
.pza-friends { margin: 12px 0 0; padding: 14px; border-radius: 16px; background: rgba(10, 30, 16, .35); }
.pza-friends[hidden] { display: none; }
.pza-friends h2 { margin: 0 0 4px; font-size: 1.15rem; }
.pza-f-row { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; }
.pza-f-lbl { width: 56px; font-weight: 800; font-size: .9rem; }
.pza-seg { flex: 1; display: flex; gap: 6px; }
.pza-seg-b { flex: 1; min-height: 44px; border: 2px solid rgba(255, 255, 255, .6); border-radius: 12px; background: transparent; color: #fff; font-weight: 800; font-size: .95rem; cursor: pointer; }
.pza-seg-b[aria-checked="true"] { background: #ffd23f; border-color: #ffd23f; color: #1d3b24; }
.pza-f-or { text-align: center; margin: 12px 0 8px; font-size: .85rem; opacity: .85; }
.pza-f-join { display: flex; gap: 8px; }
.pza-code-in { flex: 1; min-width: 0; min-height: 48px; border-radius: 12px; border: 2px solid rgba(255, 255, 255, .7); background: rgba(255, 255, 255, .95); color: #1d3b24; font-size: 1.3rem; font-weight: 900; letter-spacing: .2em; text-align: center; text-transform: uppercase; }
.pza-join-b { width: auto; margin: 0; padding: 0 20px; font-size: 1.05rem; }

/* friends room waiting screen (over the arena, below the top buttons) */
.pza-wait { position: absolute; z-index: 5; left: 0; right: 0; top: 60px; bottom: 0; display: flex; align-items: flex-start; justify-content: center; padding: 6px 12px 12px; box-sizing: border-box; overflow: hidden; }
.pza-wait[hidden] { display: none; }
.pza-w-card { max-height: 100%; width: min(480px, 100%); }
.pza-w-mode, .pza-w-note, .pza-w-sub { text-align: center; margin: 4px 0 8px; font-size: 13px; opacity: .85; }
/* 20 Nov: the game's own Panda art next to the title (core.js App.gameWait.icon), as in every game's waiting card */
.pza-w-head { display: flex; align-items: center; justify-content: center; gap: 10px; min-width: 0; margin: 0 0 6px; }
.pza-w-head > h2 { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.pza-w-head > .gwt-icon { width: 3.6rem; margin: 0; }
.pza-short .pza-w-head > .gwt-icon { width: 3rem; }
.pza-w-sub { text-align: left; font-weight: 800; opacity: 1; margin: 10px 0 4px; }
.pza-w-code { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 8px 0; }
.pza-w-code strong { font-size: 1.7rem; letter-spacing: .18em; background: #ffd23f; color: #1d3b24; border-radius: 10px; padding: 2px 10px; }
.pza-w-share { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.pza-w-b { min-height: 44px; border: 0; border-radius: 12px; padding: 6px 14px; font-weight: 800; font-size: 14px; color: #fff; background: rgba(255, 255, 255, .16); cursor: pointer; }
.pza-w-wa { background: #25d366; color: #073b1c; }
.pza-w-inv { background: #ffd23f; color: #1d3b24; }
.pza-inv { margin: 8px 0 0; padding: 8px; border-radius: 12px; background: rgba(255, 255, 255, .1); }
.pza-inv-note { margin: 0 0 6px; font-size: 12px; opacity: .85; text-align: center; }
.pza-inv-row { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 6px; scrollbar-width: thin; }
.pza-inv-f { flex: 0 0 76px; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.pza-inv-n { max-width: 76px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; font-weight: 700; }
.pza-inv-b { min-height: 36px; min-width: 72px; border: 0; border-radius: 999px; padding: 4px 10px; font-size: 12px; font-weight: 800; color: #1d3b24; background: #ffd23f; cursor: pointer; }
.pza-inv-b.is-done { background: rgba(255, 255, 255, .22); color: #fff; }
.pza-go-inv { background: #ffe9a8; }
.pza-howto { margin: 14px 0 0; border-radius: 14px; background: rgba(10, 30, 16, .25); padding: 0 12px; }
.pza-howto > summary { min-height: 48px; display: flex; align-items: center; font-weight: 800; cursor: pointer; }
.pza-howto[open] { padding-bottom: 6px; }
.pza-w-list { list-style: none; margin: 0; padding: 0; }
.pza-w-list li { display: flex; align-items: center; gap: 6px; min-height: 40px; padding: 2px 6px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.pza-w-list li.pza-w-me { background: rgba(255, 210, 63, .14); border-radius: 8px; }
.pza-w-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; }
.pza-w-kick { width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(255, 77, 90, .25); color: #fff; font-weight: 900; cursor: pointer; }
.pza-w-teams { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pza-w-team h3 { margin: 0 0 4px; font-size: 14px; }
.pza-w-team0 h3 { color: #ff8a92; } .pza-w-team1 h3 { color: #8fbcff; }
.pza-w-team > ul { min-height: 40px; }
.pza-w-start { margin-top: 12px; }
.pza-w-card .pza-card { box-shadow: none; padding: 0; background: transparent; width: 100%; max-height: none; }

/* ---------- build 12: lobby tabs, mode pill, banners, Paint Rush, podium ---------- */
.pza-tabs { display: flex; gap: 6px; margin: 0 0 12px; overflow-x: auto; scrollbar-width: none; }
.pza-tabs::-webkit-scrollbar { display: none; }
.pza-tab { flex: 1 0 auto; min-height: 44px; border: 0; border-radius: 999px; padding: 8px 14px; font-size: .92rem; font-weight: 800; color: inherit; background: rgba(127, 127, 127, .16); cursor: pointer; white-space: nowrap; }
.pza-tab[aria-selected="true"] { background: #14833f; color: #fff; }
.pza-lobby[hidden], .pza-panel[hidden] { display: none; }
.pza-sel { flex: 1; min-width: 0; min-height: 44px; border-radius: 12px; border: 2px solid rgba(255, 255, 255, .6); background: rgba(255, 255, 255, .95); color: #1d3b24; font-size: .95rem; font-weight: 800; padding: 0 10px; }
.pza-gtag { display: inline-block; font-size: 10px; font-weight: 900; line-height: 1; border-radius: 4px; padding: 3px 4px; margin-right: 5px; vertical-align: middle; letter-spacing: .02em; }
.pza-chal { margin-left: 6px; min-width: 32px; height: 28px; border: 0; border-radius: 8px; background: rgba(255, 210, 63, .22); font-size: 14px; line-height: 1; cursor: pointer; vertical-align: middle; }
.pza-chal:disabled { opacity: .55; cursor: default; }
.pza-w-list .pza-chal { height: 36px; min-width: 36px; margin-left: 0; }

.pza-mode { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; box-sizing: border-box; min-height: 46px; padding: 6px 12px; border-radius: 14px; text-align: center; white-space: normal; font-size: 13px; line-height: 1.15; }
.pza-mode b { font-weight: 900; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.pza-mode small { font-size: 11px; font-weight: 700; opacity: .9; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.pza-editmode .pza-mode:empty::before { content: 'Mode score'; font-weight: 800; }

.pza-banner { position: absolute; z-index: 4; left: 50%; top: 22%; transform: translate(-50%, -50%); text-align: center; pointer-events: none; max-width: 92%; }
.pza-banner[hidden] { display: none; }
.pza-banner strong { display: block; font-size: clamp(26px, 6.5vmin, 54px); font-weight: 900; letter-spacing: .02em; line-height: 1.05; color: #ffd23f; -webkit-text-stroke: 2px #2a1d00; paint-order: stroke fill; text-shadow: 0 4px 0 rgba(0, 0, 0, .35), 0 0 22px rgba(255, 210, 63, .55); }
.pza-banner small { display: inline-block; margin-top: 6px; font-size: 14px; font-weight: 800; background: rgba(10, 20, 14, .6); border-radius: 999px; padding: 4px 12px; }
.pza-bn-in { animation: pza-pop .5s cubic-bezier(.2, 1.6, .4, 1) both; }
.pza-bn-revenge strong { color: #ff5a5f; -webkit-text-stroke-color: #3a0006; text-shadow: 0 4px 0 rgba(0, 0, 0, .35), 0 0 22px rgba(255, 90, 95, .6); }
.pza-bn-rush strong { color: #ff7a1a; -webkit-text-stroke-color: #3a1500; text-shadow: 0 4px 0 rgba(0, 0, 0, .35), 0 0 22px rgba(255, 122, 26, .6); }
.pza-bn-s5 strong { color: #ff9f1c; } .pza-bn-s7 strong { color: #ff4fa3; -webkit-text-stroke-color: #3a0020; }
.pza-bn-map strong { color: #ffffff; -webkit-text-stroke-color: #12301c; text-shadow: 0 4px 0 rgba(0, 0, 0, .35); }
@keyframes pza-pop { 0% { transform: translate(-50%, -50%) scale(.3) rotate(-6deg); opacity: 0; } 60% { transform: translate(-50%, -50%) scale(1.12) rotate(2deg); opacity: 1; } 100% { transform: translate(-50%, -50%) scale(1) rotate(0); opacity: 1; } }
.pza-fl-streak { background: rgba(255, 122, 26, .85); color: #fff; font-weight: 800; }

.pza-edge { position: absolute; inset: 0; pointer-events: none; opacity: 0; box-shadow: inset 0 0 0 4px rgba(255, 122, 26, .9), inset 0 0 46px 10px rgba(255, 90, 20, .75); }
.pza-rush .pza-edge { animation: pza-edge .7s ease-in-out infinite; }
.pza-rush .pza-timer { background: rgba(255, 106, 0, .9); animation: pza-beat .5s ease-in-out infinite; }
@keyframes pza-edge { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
@keyframes pza-beat { 0%, 100% { filter: brightness(1); } 50% { filter: brightness(1.35); } }

.pza-podium { position: absolute; inset: 0; z-index: 8; display: flex; align-items: center; justify-content: center; background: rgba(0, 0, 0, .5); padding: 10px; box-sizing: border-box; cursor: pointer; }
.pza-podium[hidden] { display: none; }
.pza-pod-card { width: min(460px, 100%); max-height: 100%; overflow: auto; box-sizing: border-box; background: linear-gradient(180deg, #23402d, #16241b); border-radius: 18px; padding: 12px 14px 12px; text-align: center; box-shadow: 0 10px 30px rgba(0, 0, 0, .45); animation: pza-rise .35s ease-out both; }
.pza-pod-card h2 { margin: 0 0 6px; font-size: 1.05rem; }
.pza-pod-row { display: flex; align-items: flex-end; justify-content: center; gap: 8px; }
.pza-pod-col { flex: 1; min-width: 0; max-width: 132px; display: flex; flex-direction: column; align-items: center; }
.pza-pod-crown { font-size: 22px; line-height: 1; animation: pza-bob 1s ease-in-out infinite; }
.pza-pod-dance { animation: pza-dance .62s ease-in-out infinite; transform-origin: 50% 90%; }
.pza-pod-2 .pza-pod-dance { animation-delay: -.2s; } .pza-pod-3 .pza-pod-dance { animation-delay: -.4s; }
.pza-pod-pic { display: block; }
.pza-pod-name { max-width: 100%; font-size: 13px; font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin: 0 0 3px; }
.pza-pod-me .pza-pod-name { color: #ffd23f; }
.pza-pod-block { width: 100%; border-radius: 10px 10px 0 0; background: #b9772f; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 2px; padding-top: 5px; font-weight: 900; font-size: 13px; box-sizing: border-box; }
.pza-pod-block b { font-size: 20px; line-height: 1; }
.pza-pod-1 .pza-pod-block { height: 76px; background: linear-gradient(180deg, #ffd23f, #d99a00); color: #2a1d00; }
.pza-pod-2 .pza-pod-block { height: 56px; background: linear-gradient(180deg, #d9dee3, #9aa3ab); color: #1d2226; }
.pza-pod-3 .pza-pod-block { height: 42px; background: linear-gradient(180deg, #e0a063, #a8672c); color: #2a1500; }
.pza-pod-awards { display: flex; flex-wrap: wrap; gap: 5px; justify-content: center; margin: 8px 0 0; }
.pza-pod-aw { font-size: 12px; font-weight: 800; background: rgba(255, 255, 255, .13); border-radius: 999px; padding: 4px 10px; white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.pza-pod-skip { margin: 8px 0 0; min-height: 40px; border: 0; border-radius: 999px; padding: 6px 18px; font-weight: 800; font-size: 14px; color: #fff; background: rgba(255, 255, 255, .16); cursor: pointer; }
.pza-short .pza-pod-card { padding: 8px 12px; }
.pza-short .pza-pod-card h2 { font-size: .95rem; margin-bottom: 2px; }
.pza-short .pza-pod-block { flex-direction: row; justify-content: center; align-items: center; gap: 6px; padding-top: 0; }
.pza-short .pza-pod-1 .pza-pod-block { height: 46px; } .pza-short .pza-pod-2 .pza-pod-block { height: 36px; } .pza-short .pza-pod-3 .pza-pod-block { height: 28px; }
.pza-short .pza-pod-awards { margin-top: 5px; } .pza-short .pza-pod-skip { margin-top: 5px; min-height: 34px; }
.pza-short .pza-pod-crown { font-size: 16px; }
@keyframes pza-dance { 0%, 100% { transform: translateY(0) rotate(-7deg); } 25% { transform: translateY(-7px) rotate(0); } 50% { transform: translateY(0) rotate(7deg); } 75% { transform: translateY(-7px) rotate(0); } }
@keyframes pza-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@keyframes pza-rise { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }

.pza-nextmap { text-align: center; margin: 10px 0 0; font-size: 14px; font-weight: 700; background: rgba(255, 210, 63, .14); border-radius: 10px; padding: 6px 8px; }
.pza-mode-line { opacity: .95; font-weight: 800; }
.pza-w-next { text-align: center; margin: 2px 0 2px; font-size: 15px; font-weight: 900; color: #ffd23f; }
.pza-w-how { text-align: center; margin: 0 0 8px; font-size: 12px; opacity: .8; }
.pza-w-set { display: flex; gap: 6px; margin: 0 0 8px; }
.pza-w-set .pza-sel { border-color: transparent; }
@media (prefers-reduced-motion: reduce) {
  .pza-bn-in, .pza-pod-dance, .pza-pod-crown, .pza-pod-card, .pza-rush .pza-timer { animation: none; }
  .pza-rush .pza-edge { animation: none; opacity: .7; }
}
.pza-w-card .pza-card > h2 { display: none; }   /* the waiting card already shows the result title */
@media (max-width: 420px) { .pza-tabs { gap: 4px; } .pza-tab { flex: 1 1 auto; min-width: 0; padding: 8px 6px; font-size: .76rem; } }

/* ---------- build 13: quick chat (public arenas), voice chat (friends rooms) ---------- */
.pza-qc { position: absolute; z-index: 6; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 8px; border-radius: 14px; background: rgba(14, 24, 18, .92); box-shadow: 0 8px 24px rgba(0, 0, 0, .4); box-sizing: border-box; }
.pza-qc[hidden] { display: none; }
.pza-qc-b { min-height: 44px; border: 0; border-radius: 10px; padding: 4px 8px; font-size: 14px; font-weight: 800; color: #fff; background: rgba(255, 255, 255, .16); cursor: pointer; white-space: nowrap; }
.pza-qc-b:active { background: #ffd23f; color: #1d3b24; }
.pza-qc-open.pza-cool { opacity: .45; }
/* the mic of assets/js/table-voice.js inside a movable HUD slot (its .on / .na / .busy looks are set here: app.main.css has none) */
.pza-micw { width: 48px; height: 48px; }
.pza-micw .tv-mic { width: 100%; height: 100%; min-width: 0; box-sizing: border-box; border: 0; border-radius: 50%; padding: 0; display: grid; place-items: center; background: rgba(10, 20, 14, .55); color: #fff; cursor: pointer; }
.pza-micw .tv-mic .icon { width: 46%; height: 46%; }
.pza-micw .tv-mic.on { background: #1f9d55; box-shadow: 0 0 0 3px rgba(61, 220, 104, .5); }
.pza-micw .tv-mic.busy { opacity: .6; }
.pza-micw .tv-mic.na { opacity: .4; }
.pza-editmode .pza-micw:empty::before { content: '🎤'; display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; background: rgba(10, 20, 14, .55); }
.pza-stage .tv-hear { position: absolute; z-index: 6; left: 50%; top: 112px; transform: translateX(-50%); min-height: 44px; border: 0; border-radius: 999px; padding: 8px 16px; font-size: 14px; font-weight: 800; background: #ffd23f; color: #1d3b24; cursor: pointer; white-space: nowrap; }
.pza-stage .tv-hear[hidden] { display: none; }
.pza-w-mic { background: rgba(255, 255, 255, .16); }
.pza-w-mic.pza-w-mic-on { background: #1f9d55; }
