/* Volley Pisz — Mikołajki 2026 · finalne szlify strony turnieju (ładowany jako ostatni) */

/* ---------- HERO: termin + odliczanie w jednym, równym rzędzie ---------- */
html body #hallView .vp26date{
  display:flex!important;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:20px 32px;
  margin-top:26px;padding-top:24px;border-top:1px solid rgba(255,255,255,.14)}
html body #hallView .vp26date>strong{
  display:flex;flex-direction:column;gap:6px;font-size:clamp(20px,2.6vw,28px);line-height:1.15;font-weight:800;letter-spacing:-.02em;color:#fff}
html body #hallView .vp26date>strong::before{
  content:'TERMIN';font-size:11px;font-weight:800;letter-spacing:.18em;color:#e9c27b}
html body #hallView #vp26count{flex:0 1 420px;min-width:min(100%,300px)}
html body #hallView .vp3tools{margin-top:20px}
html body #hallView .vp26stats{margin-top:26px}
html body #hallView .vp26stats div{font-size:12.5px;text-transform:uppercase;letter-spacing:.1em}

/* ---------- KAFELKI NAWIGACJI ---------- */
html body #hallView .hallTiles{margin-top:6px}
html body #hallView .hallTile:focus-visible,
html body #hallView .vp26actions>*:focus-visible,
html body #hallView .vp3btn:focus-visible{outline:3px solid #e9c27b;outline-offset:2px}

/* ---------- NAGŁÓWKI PANELI ---------- */
html body #hallView .hallPanel>.sectionTitle{
  display:flex;align-items:flex-end;justify-content:space-between;gap:12px 32px;flex-wrap:wrap;
  margin:34px 0 22px;padding-bottom:18px;border-bottom:1px solid #e2ddd0}
html body #hallView .hallPanel>.sectionTitle h2{font-size:clamp(30px,4.6vw,46px);letter-spacing:-.04em;line-height:1.05;margin:6px 0 0}
html body #hallView .hallPanel>.sectionTitle p{max-width:44ch;margin:0;color:#4d5f6d;font-size:16px;line-height:1.5}
html body #hallView .hallPanel>.sectionTitle .kicker{font-size:12px;letter-spacing:.16em;font-weight:800;color:#8a6420}

/* ---------- REGULAMIN ---------- */
html body #hallView .hallRulesLead{
  display:flex;align-items:center;gap:14px 32px;flex-wrap:wrap;
  padding:22px 26px!important;border-radius:20px;margin-bottom:18px!important;
  background:linear-gradient(145deg,#06131f,#0d2b40 70%,#12384f);color:#fff;border:1px solid rgba(233,194,123,.28)}
html body #hallView .hallRulesLead>div{flex:0 0 auto}
html body #hallView .hallRulesLead small{display:block;font-size:11px;letter-spacing:.18em;font-weight:800;color:#e9c27b;margin-bottom:6px}
html body #hallView .hallRulesLead b{display:block;font-size:clamp(20px,2.4vw,26px);font-weight:800;letter-spacing:-.02em;line-height:1.15;white-space:nowrap;color:#fff}
html body #hallView .hallRulesLead p{flex:1 1 280px;margin:0;color:#c3d2df;font-size:15px;line-height:1.55}

html body #hallView .hallRulesGridDetailed{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;counter-reset:none}
html body #hallView .hallRulesGridDetailed article{
  position:relative;display:grid;grid-template-columns:44px minmax(0,1fr);column-gap:16px;align-content:start;
  padding:22px 24px!important;border-radius:20px;background:#fff;border:1px solid #e6e1d5;box-shadow:0 10px 30px -22px rgba(6,19,31,.45)}
html body #hallView .hallRulesGridDetailed article>span{
  grid-row:1 / span 2;display:grid;place-items:center;width:44px;height:44px;border-radius:12px;
  background:#f6ecd6;color:#7a5718;font-size:14px;font-weight:800;letter-spacing:.04em}
html body #hallView .hallRulesGridDetailed h3{font-size:19px!important;letter-spacing:-.02em;margin:2px 0 6px!important;color:#10283c}
html body #hallView .hallRulesGridDetailed p{margin:0;font-size:15.5px!important;line-height:1.6!important;color:#41535f}

/* ---------- PUSTE STANY (Aktualności / Galeria) ---------- */
html body #hallView .hallPanel .empty{
  grid-column:1/-1;display:flex;flex-direction:column;align-items:center;gap:8px;text-align:center;
  padding:48px 24px;border-radius:22px;background:#fff;border:1px solid #e6e1d5;
  box-shadow:0 10px 30px -22px rgba(6,19,31,.45);color:#4d5f6d}
html body #hallView .hallPanel .empty::before{
  content:'';width:56px;height:56px;border-radius:50%;margin-bottom:6px;
  background:#f6ecd6 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237a5718' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Cpath d='M12 3.5c3 2.5 4.5 5.5 4.5 8.5M12 3.5C9 6 7.5 9 7.5 12M3.8 14c3.4-.4 6.4.8 8.2 3.5M20.2 14c-3.4-.4-6.4.8-8.2 3.5'/%3E%3C/svg%3E") center/28px no-repeat}
html body #hallView .hallPanel .empty b{display:block;font-size:20px;letter-spacing:-.02em;color:#10283c;line-height:1.25}
html body #hallView .hallPanel .empty br{display:none}
html body #hallView .hallPanel .empty span{max-width:46ch;font-size:15.5px;line-height:1.55}

/* ---------- LIVE ---------- */
html body #hallView .vp26live{padding:0}
html body #hallView .vp26live>a{border-radius:12px;min-height:44px;padding:0 18px;font-weight:750}

/* ---------- TABLET / MOBILE ---------- */
@media(max-width:900px){
  html body #hallView .vp26actions{display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px}
  html body #hallView .vp26actions>:first-child{grid-column:1/-1!important}
  html body #hallView .vp26actions>:not(:first-child){grid-column:auto!important;font-size:14px;padding:12px 8px}
  html body #hallView .vp26actions>:last-child{background:rgba(255,255,255,.07)!important;color:#fff!important;border-color:rgba(255,255,255,.26)!important}
  html body #hallView .vp26date{flex-direction:column;align-items:stretch;gap:16px}
  html body #hallView #vp26count{flex:none;width:100%}
  html body #hallView .hallRulesGridDetailed{grid-template-columns:1fr}
}
@media(max-width:620px){
  html body #hallView .vp3tools{display:grid;grid-template-columns:1fr 1fr;gap:8px}
  html body #hallView .vp3tools .vp3btn{justify-content:center;padding:0 8px;font-size:13.5px}
  html body #hallView .hallPanel>.sectionTitle{margin:26px 0 16px;padding-bottom:14px}
  html body #hallView .hallPanel>.sectionTitle p{font-size:15px}
  html body #hallView .hallRulesLead{padding:18px!important}
  html body #hallView .hallRulesLead b{white-space:normal}
  html body #hallView .hallRulesGridDetailed article{grid-template-columns:38px minmax(0,1fr);column-gap:12px;padding:16px!important}
  html body #hallView .hallRulesGridDetailed article>span{width:38px;height:38px;font-size:13px}
  html body #hallView .hallRulesGridDetailed p{font-size:15px!important}
  html body #hallView .hallPanel .empty{padding:36px 18px}
}
@media(prefers-reduced-motion:reduce){html body #hallView *{animation:none!important;transition:none!important}}

/* =====================================================================
   PREMIUM DARK — wygląd „płatnej aplikacji sportowej”
   Ciemna scena, szklane karty, złote akcenty, głębia. Tylko #hallView.
   ===================================================================== */
html body #hallView{
  --d-bg:#050e18;--d-surface:rgba(255,255,255,.045);--d-surface-2:rgba(255,255,255,.075);
  --d-line:rgba(255,255,255,.10);--d-line-2:rgba(233,194,123,.35);
  --d-text:#eef4f9;--d-muted:#9fb2c2;--d-gold:#e9c27b;--d-gold-2:#c99a45;
  background:
    radial-gradient(900px 520px at 88% -6%,rgba(233,194,123,.11),transparent 62%),
    radial-gradient(760px 560px at -8% 26%,rgba(52,126,170,.20),transparent 65%),
    radial-gradient(900px 500px at 60% 105%,rgba(52,126,170,.12),transparent 65%),
    var(--d-bg)!important;
  color:var(--d-text);padding-bottom:110px}
html body #hallView .backHome,html body #hallView .hallBackHome{color:var(--d-muted)!important;font-weight:700}
html body #hallView .backHome:hover{color:#fff!important}

/* hero */
html body #hallView .vp26hero{
  border:1px solid rgba(233,194,123,.32)!important;
  box-shadow:0 50px 100px -50px rgba(0,0,0,.9),0 0 0 1px rgba(255,255,255,.03) inset,0 1px 0 rgba(255,255,255,.12) inset!important}
html body #hallView .vp26ball{filter:drop-shadow(0 24px 40px rgba(233,194,123,.25)) drop-shadow(0 0 60px rgba(70,150,200,.25))}
html body #hallView .vp26clock b,html body #hallView .vp26stats b{font-variant-numeric:tabular-nums}
html body #hallView .vp26clock div{box-shadow:0 1px 0 rgba(255,255,255,.14) inset,0 8px 18px -10px rgba(0,0,0,.7)}

/* kafelki nawigacji */
html body #hallView .hallTile{
  background:var(--d-surface)!important;border:1px solid var(--d-line)!important;
  box-shadow:0 1px 0 rgba(255,255,255,.06) inset,0 18px 40px -26px rgba(0,0,0,.9)!important;
  -webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}
html body #hallView .hallTile:hover{background:var(--d-surface-2)!important;border-color:var(--d-line-2)!important}
html body #hallView .hallTile small{color:var(--d-muted)!important}
html body #hallView .hallTile h3{color:#fff!important}
html body #hallView .hallTile p{color:var(--d-muted)!important}
html body #hallView .hallTile.active{
  background:linear-gradient(155deg,rgba(233,194,123,.26),rgba(233,194,123,.07) 70%)!important;
  border-color:rgba(233,194,123,.65)!important;
  box-shadow:0 1px 0 rgba(255,255,255,.18) inset,0 18px 44px -22px rgba(233,194,123,.55)!important}
html body #hallView .hallTile.active small{color:var(--d-gold)!important}
html body #hallView .hallTile.active p{color:#d9e4ee!important}
html body #hallView .hallTile.liveTile small::before{content:'';display:inline-block;width:7px;height:7px;margin-right:7px;border-radius:50%;background:#ff4d4d;box-shadow:0 0 0 0 rgba(255,77,77,.6);animation:vp3pulse 2s infinite;vertical-align:1px}

/* nagłówki paneli */
html body #hallView .hallPanel>.sectionTitle{border-bottom:1px solid var(--d-line)}
html body #hallView .hallPanel>.sectionTitle h2{color:#fff}
html body #hallView .hallPanel>.sectionTitle p{color:var(--d-muted)}
html body #hallView .hallPanel>.sectionTitle .kicker,html body #hallView .vp26eyebrow{color:var(--d-gold)}

/* sekcje – szkło */
html body #hallView .vp26section{
  background:linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,.025))!important;
  border:1px solid var(--d-line)!important;
  box-shadow:0 1px 0 rgba(255,255,255,.07) inset,0 30px 60px -40px rgba(0,0,0,.9)!important;
  -webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}
html body #hallView .vp26section h2{color:#fff!important}
html body #hallView .vp26section p{color:var(--d-muted)!important}
html body #hallView .vp26section .vp26eyebrow::before{background:var(--d-gold)}

/* drużyny */
html body #hallView .vp26teams article{
  background:var(--d-surface)!important;border:1px solid var(--d-line)!important;border-radius:16px!important;
  box-shadow:0 1px 0 rgba(255,255,255,.05) inset;transition:transform .2s,border-color .2s,background .2s}
html body #hallView .vp26teams article:hover{background:var(--d-surface-2)!important;border-color:var(--d-line-2)!important;transform:translateY(-2px)}
html body #hallView .vp26teams strong{color:#fff!important}
html body #hallView .vp26teams article>span{background:rgba(233,194,123,.16)!important;color:var(--d-gold)!important}
html body #hallView .vp26teams button{color:var(--d-gold)!important}
html body #hallView .vp26teams button svg{stroke:var(--d-gold)}
html body #hallView .vp26teams .on,html body #hallView .vp26teams article.fav{border-color:var(--d-gold)!important;background:rgba(233,194,123,.12)!important}

/* format rozgrywek / lokalizacje */
html body #hallView .vp26groups article{border:1px solid var(--d-line)!important}
html body #hallView .vp26groups a{color:var(--d-gold)}
html body #hallView .btnDark,html body #hallView .vp26section .btn{
  background:linear-gradient(180deg,#f3d391,#e2b45f)!important;color:#0a1b2a!important;border:0!important;font-weight:800;
  border-radius:14px;box-shadow:0 14px 30px -14px rgba(226,180,95,.8)}

/* partnerzy – białe płytki z logo zostają */
html body #hallView .vp26partners small{color:var(--d-gold)!important}
html body #hallView .vp26logos figure{background:#fff!important;border-radius:16px;box-shadow:0 12px 26px -16px rgba(0,0,0,.8)}
html body #hallView .vp26logos figcaption{color:#41535f!important}

/* regulamin */
html body #hallView .hallRulesGridDetailed article{
  background:linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,.025));border:1px solid var(--d-line);
  box-shadow:0 1px 0 rgba(255,255,255,.06) inset,0 24px 50px -36px rgba(0,0,0,.9)}
html body #hallView .hallRulesGridDetailed article>span{background:rgba(233,194,123,.16);color:var(--d-gold)}
html body #hallView .hallRulesGridDetailed h3{color:#fff}
html body #hallView .hallRulesGridDetailed p{color:#b4c3d0}

/* puste stany, newsy, galeria */
html body #hallView .hallPanel .empty{
  background:linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,.025));border:1px solid var(--d-line);
  box-shadow:0 1px 0 rgba(255,255,255,.06) inset,0 30px 60px -40px rgba(0,0,0,.9);color:var(--d-muted)}
html body #hallView .hallPanel .empty::before{background-color:rgba(233,194,123,.16)}
html body #hallView .hallPanel .empty b{color:#fff}
html body #hallView .hallPanel .card{background:var(--d-surface);border:1px solid var(--d-line);color:var(--d-text)}
html body #hallView .hallPanel .card h3{color:#fff}
html body #hallView .hallPanel .card p,html body #hallView .hallPanel .card .meta{color:var(--d-muted)}

/* LIVE */
html body #hallView .vp26live{border-radius:22px;overflow:hidden;border:1px solid var(--d-line);background:#071524;box-shadow:0 30px 60px -40px rgba(0,0,0,.9)}
html body #hallView .vp26live>a{background:rgba(255,255,255,.08);border:1px solid var(--d-line);color:#fff}

/* mobilny pasek dolny + stopka */
html body .vp3bar{-webkit-backdrop-filter:blur(18px) saturate(1.4);backdrop-filter:blur(18px) saturate(1.4)}
@media(max-width:620px){html body #hallView{padding-bottom:130px}}

/* tło: wyłącz beżowe gradienty starszych warstw */
html body #hallView .hallLanding,html body #hallView .hallLanding>.wrap{background:transparent!important}
html body.vp3-hall{background:#050e18!important}

/* partnerzy: równe, oddychające kafelki z logo */
html body #hallView .vp26partners{display:flex!important;flex-wrap:wrap;gap:28px 56px;justify-content:center}
html body #hallView .vp26partners>div{flex:0 1 auto;text-align:center}
html body #hallView .vp26partners small{text-align:center}
html body #hallView .vp26logos{display:flex;gap:14px;justify-content:center;flex-wrap:wrap!important;margin-top:12px}
html body #hallView .vp26logos figure{display:flex;flex-direction:column;align-items:center;justify-content:space-between;gap:10px;
  width:116px;margin:0;padding:12px 10px 10px!important;box-sizing:border-box}
html body #hallView .vp26logos figure img{width:84px!important;height:84px!important;object-fit:contain;border-radius:10px}
html body #hallView .vp26logos figcaption{font-size:12px;font-weight:700;line-height:1.25;text-align:center;margin:0}
