/* =========================================================================
   PLAYZEK.RO - Panoul lateral competitiv (.pzs-*)
   ========================================================================= */

/* continutul vechi al meniului lateral ramane in pagina, dar ascuns */
#app-left-sidebar > :not(.pzs) { display: none !important; }
#app-left-sidebar,
#app-left-sidebar.collapsed { width: 292px; min-width: 292px; background: #0f0f17; border-right: 1px solid rgba(255,255,255,.06);
  transition: none; }  /* fara animatia de "crestere" la fiecare incarcare a paginii */
html.pzs-mini-pref #app-left-sidebar,
html.pzs-mini-pref #app-left-sidebar.collapsed { width: 76px; min-width: 76px; }

.pzs { --brand: #FB7622; --brand2: #F53144; --grad: linear-gradient(135deg, #FB7622, #F53144); --line: rgba(255,255,255,.07); --muted: #9E9EB2; --ok: #22c55e;
  display: flex; flex-direction: column; height: 100%; min-height: 0; color: #D1D1DB; font-size: 13px; }
.pzs a { color: inherit; text-decoration: none; }
.pzs-muted { color: var(--muted); font-size: 12px; margin: 0; }

.pzs-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; height: 56px; padding: 0 14px 0 18px; border-bottom: 1px solid var(--line); flex: none; }
.pzs-title { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase; color: #fff; }
.pzs-title i { color: var(--brand); }
.pzs-toggle { width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--line); background: rgba(255,255,255,.03); color: var(--muted); cursor: pointer; transition: color .15s, transform .25s; }
.pzs-toggle:hover { color: #fff; }

.pzs-scroll { flex: 1; min-height: 0; overflow-y: auto; padding: 14px 12px 20px; display: flex; flex-direction: column; gap: 14px; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.12) transparent; }

.pzs-block { display: flex; flex-direction: column; gap: 8px; }
.pzs-head { display: flex; align-items: center; gap: 8px; padding: 0 4px; }
.pzs-head h3 { flex: 1; margin: 0; font-size: 11px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted); }
.pzs-head-btn { width: 26px; height: 26px; border-radius: 7px; border: 0; display: grid; place-items: center; flex: none; cursor: pointer;
  background: rgba(251,118,34,.12); color: var(--brand); font-size: 12px; transition: background .15s, color .15s; }
.pzs-head-btn:hover { background: var(--grad); color: #fff; }
.pzs-more { font-size: 11.5px; font-weight: 700; color: var(--muted) !important; }
.pzs-more:hover { color: var(--brand) !important; }
.pzs-block-play .pzs-head { display: none; }

/* joaca acum */
.pzs-play { position: relative; overflow: hidden; padding: 14px; border-radius: 14px; border: 1px solid rgba(251,118,34,.3);
  background: radial-gradient(120% 120% at 100% 0%, rgba(245,49,68,.28), transparent 55%), linear-gradient(160deg, #22151a, #15141d); }
.pzs-play-btn { width: 100%; height: 46px; border: 0; border-radius: 10px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--grad); color: #fff; font: 800 13.5px/1 inherit; font-family: inherit; letter-spacing: .8px; text-transform: uppercase;
  box-shadow: 0 10px 24px rgba(245,49,68,.35); transition: transform .12s, filter .15s; }
.pzs-play-btn:hover { filter: brightness(1.08); }
.pzs-play-btn:active { transform: translateY(1px); }
.pzs-play-status { display: flex; align-items: center; gap: 8px; margin: 10px 0 0; font-size: 12px; color: #D1D1DB; justify-content: center; }
.pzs-dot { width: 7px; height: 7px; border-radius: 50%; background: #656578; flex: none; }
.pzs-dot.on { background: var(--ok); box-shadow: 0 0 0 3px rgba(34,197,94,.18); }

/* liste */
.pzs-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.pzs-list a, .pzs-team { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; background: rgba(255,255,255,.025); border: 1px solid transparent; transition: background .15s, border-color .15s; }
.pzs-list a:hover, .pzs-team:hover { background: rgba(251,118,34,.08); border-color: rgba(251,118,34,.25); }
.pzs-list img, .pzs-team img { width: 30px; height: 30px; border-radius: 8px; object-fit: cover; flex: none; background: #1a1a26; }
.pzs-team img { width: 38px; height: 38px; }
.pzs-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.pzs-main strong { color: #fff; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pzs-main small { color: var(--muted); font-size: 11.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pzs-side { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; flex: none; }
.pzs-side b { color: #fff; font-size: 12.5px; font-variant-numeric: tabular-nums; }
.pzs-side small { color: var(--muted); font-size: 11px; }
.pzs-rank .pzs-side { flex-direction: row; align-items: center; gap: 6px; }
.pzs-pos { width: 20px; text-align: center; font-size: 12px; font-weight: 800; color: var(--muted); flex: none; }
.pzs-pos[data-pos="1"] { color: #EDAC26; }
.pzs-pos[data-pos="2"] { color: #cbd5e1; }
.pzs-pos[data-pos="3"] { color: #cd7f32; }
.pzs-tour-icon { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; flex: none; background: rgba(237,172,38,.12); color: #EDAC26; }
.pzs-lvl { --l: #9ca3af; width: 20px; height: 20px; border-radius: 50%; display: inline-grid; place-items: center; font-size: 10px; font-weight: 800; color: #fff; background: var(--l); }
.pzs-lvl[data-lvl="1"], .pzs-lvl[data-lvl="2"], .pzs-lvl[data-lvl="3"] { --l: #16a34a; }
.pzs-lvl[data-lvl="4"], .pzs-lvl[data-lvl="5"], .pzs-lvl[data-lvl="6"], .pzs-lvl[data-lvl="7"] { --l: #d97706; }
.pzs-lvl[data-lvl="8"], .pzs-lvl[data-lvl="9"] { --l: #ea580c; }
.pzs-lvl[data-lvl="10"] { --l: #dc2626; }

.pzs-empty { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 10px; border-radius: 10px; border: 1px dashed rgba(255,255,255,.1); color: var(--muted); font-size: 12px; text-align: center; }
.pzs-empty > i { font-size: 18px; color: #656578; }
.pzs-btn { display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 12px; border-radius: 8px; border: 1px solid rgba(251,118,34,.4); background: rgba(251,118,34,.1);
  color: #fff !important; font: 700 12px/1 inherit; font-family: inherit; cursor: pointer; }
.pzs-btn:hover { background: var(--grad); border-color: transparent; }

.pzs button:focus-visible, .pzs a:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

/* ---- varianta ingusta (doar iconite) ---- */
html.pzs-mini-pref #app-left-sidebar .pzs-title,
html.pzs-mini-pref #app-left-sidebar .pzs-head h3,
html.pzs-mini-pref #app-left-sidebar .pzs-more,
html.pzs-mini-pref #app-left-sidebar .pzs-body { display: none; }
html.pzs-mini-pref #app-left-sidebar .pzs-top { justify-content: center; padding: 0; }
html.pzs-mini-pref #app-left-sidebar .pzs-toggle { transform: rotate(180deg); }
html.pzs-mini-pref #app-left-sidebar .pzs-scroll { align-items: center; padding: 14px 0; gap: 10px; }
html.pzs-mini-pref #app-left-sidebar .pzs-head { padding: 0; }
html.pzs-mini-pref #app-left-sidebar .pzs-block-play .pzs-head { display: flex; }
html.pzs-mini-pref #app-left-sidebar .pzs-head-btn { width: 44px; height: 44px; border-radius: 12px; font-size: 16px; }
html.pzs-mini-pref #app-left-sidebar .pzs-block-play .pzs-head-btn { background: var(--grad); color: #fff; box-shadow: 0 8px 20px rgba(245,49,68,.35); }

/* pe telefon panoul nu se afiseaza (navigarea e in meniul de sus) */
@media (max-width: 900px) {
  #app-left-sidebar:not(.mobile-open) { display: none; }
}
