/* Odkrywacz v14 - kampania 10 poziomów po 3 puzzle, ręczny start każdego poziomu. */
body.pz-od-page .pz-od12-intro{
  position:absolute;inset:0;z-index:920;display:flex;align-items:center;justify-content:center;
  padding:18px;background:rgba(245,238,224,.52);backdrop-filter:blur(2px);pointer-events:auto;
}
body.pz-od-page .pz-od12-intro[hidden]{display:none!important}
body.pz-od-page .pz-od12-intro-card{
  position:relative;width:min(620px,82%);padding:22px 24px 20px;border:1px solid rgba(178,116,54,.42);
  border-radius:20px;background:linear-gradient(180deg,rgba(255,251,242,.98),rgba(247,230,197,.98));
  box-shadow:0 22px 55px rgba(74,46,20,.23),inset 0 1px 0 rgba(255,255,255,.9);color:#2b1b0f;text-align:left;
}
body.pz-od-page .pz-od12-intro-card strong{display:block;margin:0 42px 10px 0;font-size:clamp(20px,2vw,30px);line-height:1.08}
body.pz-od-page .pz-od12-intro-card p{margin:8px 0;font-size:clamp(12px,1.02vw,15px);line-height:1.48;font-weight:650}
body.pz-od-page .pz-od12-intro-card>span{display:block;margin-top:13px;font-size:14px;font-weight:900;font-style:italic}
body.pz-od-page .pz-od12-intro-close{position:absolute;right:10px;top:10px;width:34px;height:34px;border:1px solid rgba(143,91,39,.32);border-radius:50%;background:#fff8e9;color:#2b1b0f;font-size:22px;line-height:1;cursor:pointer}

html[data-theme="dark"] body.pz-od-page .pz-od12-intro{background:rgba(8,10,12,.52)}
html[data-theme="dark"] body.pz-od-page .pz-od12-intro-card{background:linear-gradient(180deg,#262019,#181512);border-color:#5b412c;color:#f4eadc;box-shadow:0 22px 55px rgba(0,0,0,.42)}
html[data-theme="dark"] body.pz-od-page .pz-od12-intro-close{background:#2d261f;border-color:#68503b;color:#fff}

body.pz-od-page .pz-od12-countdown-art{width:min(48%,290px);max-height:46%;object-fit:contain;filter:drop-shadow(0 8px 9px rgba(0,0,0,.18))}
body.pz-od-page .pz-od12-notice{position:absolute;left:50%;top:6%;z-index:930;transform:translateX(-50%);pointer-events:none}
body.pz-od-page .pz-od12-notice[hidden]{display:none!important}
body.pz-od-page .pz-od12-notice img{display:block;width:min(220px,34vw);max-height:72px;object-fit:contain;filter:drop-shadow(0 7px 9px rgba(0,0,0,.25));animation:pzOd12Notice .18s ease-out both}
@keyframes pzOd12Notice{from{opacity:0;transform:translateY(-8px) scale(.94)}to{opacity:1;transform:none}}

body.pz-od-page .pz-od-stage .pz-real-piece.is-active-target.is-target-soft.is-facedown{filter:drop-shadow(0 4px 4px rgba(0,0,0,.20)) drop-shadow(0 0 7px rgba(255,153,37,.68))}
body.pz-od-page .pz-od-stage .pz-real-piece.is-active-target.is-target-soft.is-facedown svg{animation-duration:.84s}
body.pz-od-page .pz-od-stage .pz-real-piece.is-target-memory.is-facedown{filter:drop-shadow(0 2px 3px rgba(0,0,0,.20)) drop-shadow(0 0 3px rgba(255,137,20,.20))}
body.pz-od-page .pz-od-stage .pz-real-piece.is-target-memory.is-facedown svg{animation:none!important}
body.pz-od-page .pz-od-stage.is-od12-time-low{box-shadow:inset 0 0 0 3px rgba(207,42,38,.36),0 15px 42px rgba(79,47,19,.22)}

body.pz-od-page .pz-od-complete.pz-od12-level-complete,
body.pz-od-page .pz-od-complete.pz-od12-level-card-overlay,
body.pz-od-page .pz-od-complete.pz-od12-final-complete{
  background:rgba(246,239,226,.72);backdrop-filter:blur(3px);cursor:pointer;padding:14px;
}
html[data-theme="dark"] body.pz-od-page .pz-od-complete.pz-od12-level-complete,
html[data-theme="dark"] body.pz-od-page .pz-od-complete.pz-od12-level-card-overlay,
html[data-theme="dark"] body.pz-od-page .pz-od-complete.pz-od12-final-complete{background:rgba(11,13,15,.78)}

body.pz-od-page .pz-od12-level-card{
  width:min(420px,78%);display:grid;justify-items:center;gap:8px;padding:18px 20px;border-radius:20px;
  border:1px solid rgba(183,111,40,.44);background:linear-gradient(180deg,#fffaf0,#f4dbad);box-shadow:0 18px 48px rgba(68,42,19,.26);color:#2a1a0d;
}
body.pz-od-page .pz-od12-level-card strong{font-size:clamp(18px,2.2vw,30px);line-height:1.05}
body.pz-od-page .pz-od12-level-card p{margin:0;font-size:13px;font-weight:800}
body.pz-od-page .pz-od12-level-art{display:block;width:min(180px,34vw);max-height:74px;object-fit:contain;filter:drop-shadow(0 5px 8px rgba(0,0,0,.16))}
body.pz-od-page .pz-od12-level-art--large{width:min(230px,44vw);max-height:96px}
body.pz-od-page .pz-od12-time-limit{display:flex;align-items:center;justify-content:center;gap:10px;margin-top:2px}
body.pz-od-page .pz-od12-time-limit img{width:132px;max-height:46px;object-fit:contain}
body.pz-od-page .pz-od12-time-limit b{font-family:"Courier New",monospace;font-size:25px;line-height:1;color:#2a1a0d}
html[data-theme="dark"] body.pz-od-page .pz-od12-level-card{background:linear-gradient(180deg,#282119,#181511);border-color:#62462f;color:#f7edde}
html[data-theme="dark"] body.pz-od-page .pz-od12-time-limit b{color:#f7edde}

body.pz-od-page .pz-od12-level-summary{
  width:min(500px,84%);display:grid;justify-items:center;gap:9px;padding:16px 18px 15px;border-radius:22px;
  border:1px solid rgba(183,111,40,.46);background:linear-gradient(180deg,#fffaf0,#f2d7a6);box-shadow:0 20px 54px rgba(68,42,19,.28);color:#2a1a0d;
}
body.pz-od-page .pz-od12-level-head{display:flex;align-items:center;justify-content:center;gap:10px;min-height:66px}
body.pz-od-page .pz-od12-level-state{width:min(190px,34vw);max-height:66px;object-fit:contain;filter:drop-shadow(0 5px 7px rgba(0,0,0,.15))}
body.pz-od-page .pz-od12-stars{display:flex;align-items:center;justify-content:center;gap:8px;min-height:66px}
body.pz-od-page .pz-od12-stars img{width:56px;height:56px;object-fit:contain;filter:drop-shadow(0 5px 7px rgba(0,0,0,.17))}
body.pz-od-page .pz-od12-level-stats{display:flex;align-items:stretch;justify-content:center;gap:6px;flex-wrap:wrap;width:100%}
body.pz-od-page .pz-od12-level-stats>span{min-width:88px;padding:7px 9px;border:1px solid rgba(126,87,49,.22);border-radius:10px;background:rgba(255,255,255,.52);text-align:center}
body.pz-od-page .pz-od12-level-stats small{display:block;font-size:8px;font-weight:1000;letter-spacing:.06em;color:#72563c}
body.pz-od-page .pz-od12-level-stats b{display:block;margin-top:2px;font-family:"Courier New",monospace;font-size:18px;line-height:1;font-weight:1000;color:#24170c}
body.pz-od-page .pz-od12-reward{width:min(190px,38vw);max-height:54px;object-fit:contain;filter:drop-shadow(0 5px 7px rgba(0,0,0,.16))}
body.pz-od-page .pz-od12-level-summary button{min-width:190px;min-height:40px;padding:8px 15px;border:1px solid #bc6a1d;border-radius:12px;background:linear-gradient(#ffb928,#f47a00);box-shadow:inset 0 1px 0 rgba(255,255,255,.6),0 5px 10px rgba(98,53,13,.18);color:#201408;font-size:13px;font-weight:1000;cursor:pointer}
body.pz-od-page .pz-od12-tap-note{font-size:9px;font-weight:800;color:#755b43}
html[data-theme="dark"] body.pz-od-page .pz-od12-level-summary{background:linear-gradient(180deg,#282119,#181511);border-color:#62462f;color:#f7edde}
html[data-theme="dark"] body.pz-od-page .pz-od12-level-stats>span{background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.13)}
html[data-theme="dark"] body.pz-od-page .pz-od12-level-stats small{color:#c5ad91}
html[data-theme="dark"] body.pz-od-page .pz-od12-level-stats b{color:#fff4e8}
html[data-theme="dark"] body.pz-od-page .pz-od12-tap-note{color:#c9b497}

body.pz-od-page .pz-od12-final-card{display:grid!important;justify-items:center!important;gap:8px!important;width:min(560px,88%)!important}
body.pz-od-page .pz-od12-final-head{display:flex;align-items:center;justify-content:center;gap:12px;min-height:60px}
body.pz-od-page .pz-od12-final-state{width:min(190px,32vw);max-height:64px;object-fit:contain}
body.pz-od-page .pz-od12-final-count{width:min(120px,22vw);max-height:62px;object-fit:contain}
body.pz-od-page .pz-od12-final-awards{display:flex;align-items:center;justify-content:center;gap:12px;min-height:94px}
body.pz-od-page .pz-od12-trophy-wrap{position:relative;display:grid;place-items:center}
body.pz-od-page .pz-od12-final-trophy{width:94px;height:94px;object-fit:contain;filter:drop-shadow(0 7px 9px rgba(0,0,0,.20))}
body.pz-od-page .pz-od12-final-medal{width:70px;height:70px;object-fit:contain;filter:drop-shadow(0 6px 8px rgba(0,0,0,.18))}
body.pz-od-page .pz-od12-final-crown{position:absolute;width:48px;height:48px;object-fit:contain;top:-18px;right:-20px;transform:rotate(9deg);filter:drop-shadow(0 5px 6px rgba(0,0,0,.18))}
body.pz-od-page .pz-od12-final-stars{display:flex;align-items:baseline;justify-content:center;gap:7px}
body.pz-od-page .pz-od12-final-stars b{font-size:32px!important;line-height:1!important;color:#ff6500!important}
body.pz-od-page .pz-od12-final-stars span{font-size:11px!important;letter-spacing:.06em!important;font-weight:1000!important}
body.pz-od-page .pz-od12-final-stats>span{min-width:82px}
body.pz-od-page .pz-od12-final-rewards{display:flex;align-items:center;justify-content:center;gap:8px;min-height:42px;flex-wrap:wrap}
body.pz-od-page .pz-od12-final-reward{width:min(180px,34vw);max-height:50px;object-fit:contain}

@media(max-height:660px) and (orientation:landscape){
  body.pz-od-page .pz-od12-intro-card{width:min(600px,78%);padding:14px 17px}
  body.pz-od-page .pz-od12-intro-card strong{font-size:19px;margin-bottom:6px}
  body.pz-od-page .pz-od12-intro-card p{font-size:11px;line-height:1.34;margin:5px 0}
  body.pz-od-page .pz-od12-level-summary{gap:5px;padding:10px 13px}
  body.pz-od-page .pz-od12-level-head{min-height:45px}.pz-od12-level-art{max-height:52px!important}.pz-od12-level-state{max-height:48px!important}
  body.pz-od-page .pz-od12-stars{min-height:44px}.pz-od12-stars img{width:39px;height:39px}
  body.pz-od-page .pz-od12-level-stats>span{padding:5px 7px}.pz-od12-level-stats b{font-size:15px}
  body.pz-od-page .pz-od12-reward{max-height:38px}.pz-od12-level-summary button{min-height:34px;padding:5px 12px}
  body.pz-od-page .pz-od12-final-trophy{width:72px;height:72px}.pz-od12-final-medal{width:56px;height:56px}.pz-od12-final-awards{min-height:72px}
}
@media(max-width:820px) and (orientation:portrait){
  body.pz-od-page .pz-od12-intro{padding:10px;align-items:flex-start;padding-top:15vh}
  body.pz-od-page .pz-od12-intro-card{width:min(94%,480px);padding:15px 16px}
  body.pz-od-page .pz-od12-intro-card strong{font-size:18px}.pz-od12-intro-card p{font-size:11px!important;line-height:1.4!important}
}
@media(prefers-reduced-motion:reduce){body.pz-od-page .pz-od12-notice img{animation:none}}

/* ========================================================================
   v13 - płynniejsze przejścia kart poziomów i finału
   ======================================================================== */
body.pz-od-page .pz-od-complete.pz-od12-level-complete,
body.pz-od-page .pz-od-complete.pz-od12-level-card-overlay,
body.pz-od-page .pz-od-complete.pz-od12-final-complete{
  opacity:0;
  transition:opacity .22s ease,backdrop-filter .22s ease;
}
body.pz-od-page .pz-od-complete.pz-od12-level-complete.is-visible,
body.pz-od-page .pz-od-complete.pz-od12-level-card-overlay.is-visible,
body.pz-od-page .pz-od-complete.pz-od12-final-complete.is-visible,
body.pz-od-page .pz-od-complete.pz-od12-final-complete:not([hidden]){
  opacity:1;
}
body.pz-od-page .pz-od-complete.is-leaving{
  opacity:0!important;
  pointer-events:none!important;
}

body.pz-od-page .pz-od12-level-summary,
body.pz-od-page .pz-od12-level-card{
  opacity:0;
  transform:translateY(14px) scale(.965);
  transition:opacity .28s ease,transform .34s cubic-bezier(.18,.82,.24,1.08);
  will-change:opacity,transform;
}
body.pz-od-page .pz-od12-level-complete.is-visible .pz-od12-level-summary,
body.pz-od-page .pz-od12-level-card-overlay.is-visible .pz-od12-level-card{
  opacity:1;
  transform:none;
}
body.pz-od-page .pz-od12-level-complete.is-leaving .pz-od12-level-summary,
body.pz-od-page .pz-od12-level-card-overlay.is-leaving .pz-od12-level-card{
  opacity:0;
  transform:translateY(-8px) scale(.982);
  transition-duration:.19s;
}

body.pz-od-page .pz-od12-level-head > *,
body.pz-od-page .pz-od12-stars > *,
body.pz-od-page .pz-od12-level-stats > *,
body.pz-od-page .pz-od12-reward,
body.pz-od-page .pz-od12-level-summary button,
body.pz-od-page .pz-od12-tap-note,
body.pz-od-page .pz-od12-level-card > *{
  opacity:0;
  transform:translateY(7px) scale(.94);
}
body.pz-od-page .pz-od12-level-complete.is-visible .pz-od12-level-head > *,
body.pz-od-page .pz-od12-level-complete.is-visible .pz-od12-level-stats > *,
body.pz-od-page .pz-od12-level-complete.is-visible .pz-od12-reward,
body.pz-od-page .pz-od12-level-complete.is-visible .pz-od12-level-summary button,
body.pz-od-page .pz-od12-level-complete.is-visible .pz-od12-tap-note,
body.pz-od-page .pz-od12-level-card-overlay.is-visible .pz-od12-level-card > *{
  animation:pzOd13SoftIn .34s cubic-bezier(.17,.82,.24,1.08) forwards;
}
body.pz-od-page .pz-od12-level-complete.is-visible .pz-od12-level-head > :nth-child(1){animation-delay:.05s}
body.pz-od-page .pz-od12-level-complete.is-visible .pz-od12-level-head > :nth-child(2){animation-delay:.10s}
body.pz-od-page .pz-od12-level-complete.is-visible .pz-od12-level-stats > :nth-child(1){animation-delay:.26s}
body.pz-od-page .pz-od12-level-complete.is-visible .pz-od12-level-stats > :nth-child(2){animation-delay:.30s}
body.pz-od-page .pz-od12-level-complete.is-visible .pz-od12-level-stats > :nth-child(3){animation-delay:.34s}
body.pz-od-page .pz-od12-level-complete.is-visible .pz-od12-reward{animation-delay:.39s}
body.pz-od-page .pz-od12-level-complete.is-visible .pz-od12-level-summary button{animation-delay:.44s}
body.pz-od-page .pz-od12-level-complete.is-visible .pz-od12-tap-note{animation-delay:.48s}
body.pz-od-page .pz-od12-level-card-overlay.is-visible .pz-od12-level-card > :nth-child(1){animation-delay:.04s}
body.pz-od-page .pz-od12-level-card-overlay.is-visible .pz-od12-level-card > :nth-child(2){animation-delay:.11s}
body.pz-od-page .pz-od12-level-card-overlay.is-visible .pz-od12-level-card > :nth-child(3){animation-delay:.18s}

body.pz-od-page .pz-od12-level-complete.is-visible .pz-od12-stars > *{
  animation:pzOd13StarIn .34s cubic-bezier(.16,.9,.22,1.22) forwards;
}
body.pz-od-page .pz-od12-level-complete.is-visible .pz-od12-stars > :nth-child(1){animation-delay:.14s}
body.pz-od-page .pz-od12-level-complete.is-visible .pz-od12-stars > :nth-child(2){animation-delay:.20s}
body.pz-od-page .pz-od12-level-complete.is-visible .pz-od12-stars > :nth-child(3){animation-delay:.26s}

@keyframes pzOd13SoftIn{
  from{opacity:0;transform:translateY(7px) scale(.94)}
  to{opacity:1;transform:none}
}
@keyframes pzOd13StarIn{
  0%{opacity:0;transform:translateY(8px) scale(.56) rotate(-5deg)}
  72%{opacity:1;transform:translateY(-1px) scale(1.07) rotate(1deg)}
  100%{opacity:1;transform:none}
}

/* Finał: elementy nie wskakują wszystkie naraz. */
body.pz-od-page .pz-od12-final-card{
  opacity:0;
  transform:translateY(14px) scale(.965);
  animation:pzOd13FinalCard .36s cubic-bezier(.18,.82,.24,1.08) .05s forwards;
}
body.pz-od-page .pz-od12-final-card > *{
  opacity:0;
  transform:translateY(7px) scale(.95);
  animation:pzOd13SoftIn .34s cubic-bezier(.17,.82,.24,1.08) forwards;
}
body.pz-od-page .pz-od12-final-card > :nth-child(1){animation-delay:.13s}
body.pz-od-page .pz-od12-final-card > :nth-child(2){animation-delay:.23s}
body.pz-od-page .pz-od12-final-card > :nth-child(3){animation-delay:.34s}
body.pz-od-page .pz-od12-final-card > :nth-child(4){animation-delay:.43s}
body.pz-od-page .pz-od12-final-card > :nth-child(5){animation-delay:.52s}
@keyframes pzOd13FinalCard{
  from{opacity:0;transform:translateY(14px) scale(.965)}
  to{opacity:1;transform:none}
}

@media(prefers-reduced-motion:reduce){
  body.pz-od-page .pz-od-complete.pz-od12-level-complete,
  body.pz-od-page .pz-od-complete.pz-od12-level-card-overlay,
  body.pz-od-page .pz-od-complete.pz-od12-final-complete,
  body.pz-od-page .pz-od12-level-summary,
  body.pz-od-page .pz-od12-level-card,
  body.pz-od-page .pz-od12-level-head > *,
  body.pz-od-page .pz-od12-stars > *,
  body.pz-od-page .pz-od12-level-stats > *,
  body.pz-od-page .pz-od12-reward,
  body.pz-od-page .pz-od12-level-summary button,
  body.pz-od-page .pz-od12-tap-note,
  body.pz-od-page .pz-od12-level-card > *,
  body.pz-od-page .pz-od12-final-card,
  body.pz-od-page .pz-od12-final-card > *{
    animation:none!important;transition:none!important;opacity:1!important;transform:none!important;
  }
}


/* ========================================================================
   v14 - czytelny briefing przed poziomem, bez automatycznego znikania
   ======================================================================== */
body.pz-od-page .pz-od-complete.pz-od12-level-card-overlay{
  cursor:default;
}
body.pz-od-page .pz-od12-level-card{
  width:min(470px,84%);
  gap:9px;
  padding:18px 22px 17px;
}
body.pz-od-page .pz-od14-before-label{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:23px;
  padding:3px 11px;
  border:1px solid rgba(118,79,42,.20);
  border-radius:999px;
  background:rgba(255,255,255,.48);
  color:#735336;
  font-size:9px;
  line-height:1;
  font-weight:1000;
  letter-spacing:.12em;
}
body.pz-od-page .pz-od14-objective{
  display:grid;
  justify-items:center;
  gap:2px;
  width:min(330px,92%);
  padding:7px 11px 8px;
  border:1px solid rgba(126,87,49,.18);
  border-radius:11px;
  background:rgba(255,255,255,.48);
}
body.pz-od-page .pz-od14-objective small{
  font-size:8px;
  line-height:1;
  font-weight:1000;
  letter-spacing:.11em;
  color:#836347;
}
body.pz-od-page .pz-od14-objective b{
  font-size:13px;
  line-height:1.2;
  color:#28190d;
}
body.pz-od-page .pz-od14-level-tip{
  max-width:390px;
  margin:0!important;
  color:#513a25;
  text-align:center;
  font-size:12px!important;
  line-height:1.4!important;
  font-weight:750!important;
}
body.pz-od-page .pz-od14-start-level{
  min-width:210px;
  min-height:42px;
  margin-top:2px;
  padding:8px 17px;
  border:1px solid #bc6a1d;
  border-radius:13px;
  background:linear-gradient(#ffbd2f,#f47a00);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.62),0 6px 12px rgba(98,53,13,.18);
  color:#201408;
  font-size:13px;
  font-weight:1000;
  cursor:pointer;
}
body.pz-od-page .pz-od14-start-level:focus-visible{
  outline:3px solid rgba(23,89,149,.48);
  outline-offset:3px;
}
body.pz-od-page .pz-od14-start-level:disabled{opacity:.64;cursor:default}
body.pz-od-page .pz-od14-wait-note{
  color:#7b624a;
  font-size:9px;
  font-weight:800;
}
html[data-theme="dark"] body.pz-od-page .pz-od14-before-label,
html[data-theme="dark"] body.pz-od-page .pz-od14-objective{
  border-color:rgba(255,255,255,.12);
  background:rgba(255,255,255,.06);
}
html[data-theme="dark"] body.pz-od-page .pz-od14-before-label,
html[data-theme="dark"] body.pz-od-page .pz-od14-objective small,
html[data-theme="dark"] body.pz-od-page .pz-od14-wait-note{color:#c9b497}
html[data-theme="dark"] body.pz-od-page .pz-od14-objective b{color:#fff4e8}
html[data-theme="dark"] body.pz-od-page .pz-od14-level-tip{color:#e3d1bb}

@media(max-height:660px) and (orientation:landscape){
  body.pz-od-page .pz-od12-level-card{gap:5px;padding:9px 15px 8px}
  body.pz-od-page .pz-od12-level-art--large{max-height:56px!important}
  body.pz-od-page .pz-od12-level-card strong{font-size:18px}
  body.pz-od-page .pz-od14-objective{padding:5px 9px}
  body.pz-od-page .pz-od14-level-tip{font-size:10px!important;line-height:1.25!important}
  body.pz-od-page .pz-od14-start-level{min-height:34px;padding:5px 12px}
  body.pz-od-page .pz-od14-wait-note{font-size:8px}
}

/* ========================================================================
   v15 - prosty przeplyw poziomow: briefing 1 -> wynik + nastepny poziom -> final
   ======================================================================== */
body.pz-od-page .pz-od-complete.pz-od15-transition-overlay{
  background:rgba(246,239,226,.74);backdrop-filter:blur(3px);cursor:default;padding:14px;
  opacity:0;transition:opacity .22s ease,backdrop-filter .22s ease;
}
body.pz-od-page .pz-od-complete.pz-od15-transition-overlay.is-visible{opacity:1}
body.pz-od-page .pz-od-complete.pz-od15-transition-overlay.is-leaving{opacity:0!important;pointer-events:none!important}
html[data-theme="dark"] body.pz-od-page .pz-od-complete.pz-od15-transition-overlay{background:rgba(11,13,15,.80)}

body.pz-od-page .pz-od15-transition-card{
  width:min(600px,88%);max-height:calc(100% - 20px);overflow:auto;display:grid;justify-items:center;gap:10px;
  padding:16px 20px 17px;border:1px solid rgba(183,111,40,.46);border-radius:22px;
  background:linear-gradient(180deg,#fffaf0,#f2d7a6);box-shadow:0 20px 54px rgba(68,42,19,.28);color:#2a1a0d;
  opacity:0;transform:translateY(14px) scale(.97);transition:opacity .30s ease,transform .36s cubic-bezier(.18,.82,.24,1.08);
}
body.pz-od-page .pz-od15-transition-overlay.is-visible .pz-od15-transition-card{opacity:1;transform:none}
html[data-theme="dark"] body.pz-od-page .pz-od15-transition-card{background:linear-gradient(180deg,#282119,#181511);border-color:#62462f;color:#f7edde}

body.pz-od-page .pz-od15-done-block,
body.pz-od-page .pz-od15-next-block{width:100%;display:grid;justify-items:center;gap:7px}
body.pz-od-page .pz-od15-done-label,
body.pz-od-page .pz-od15-next-label{
  display:inline-flex;align-items:center;justify-content:center;min-height:23px;padding:3px 11px;border-radius:999px;
  font-size:9px;line-height:1;font-weight:1000;letter-spacing:.11em;
}
body.pz-od-page .pz-od15-done-label{border:1px solid rgba(47,118,65,.22);background:rgba(230,247,231,.72);color:#356542}
body.pz-od-page .pz-od15-next-label{border:1px solid rgba(118,79,42,.20);background:rgba(255,255,255,.48);color:#735336}
body.pz-od-page .pz-od15-done-row{display:flex;align-items:center;justify-content:center;gap:14px;min-height:64px}
body.pz-od-page .pz-od15-done-level{display:block;width:min(150px,28vw)!important;max-height:58px!important;object-fit:contain;filter:drop-shadow(0 5px 7px rgba(0,0,0,.15))}
body.pz-od-page .pz-od15-done-row .pz-od12-stars{min-height:50px}
body.pz-od-page .pz-od15-done-row .pz-od12-stars img{width:45px!important;height:45px!important}
body.pz-od-page .pz-od15-transition-divider{width:min(440px,88%);height:1px;background:linear-gradient(90deg,transparent,rgba(108,70,35,.28),transparent);margin:1px 0 2px}
body.pz-od-page .pz-od15-next-level{width:min(170px,32vw)!important;max-height:66px!important}
body.pz-od-page .pz-od15-next-block>strong{font-size:clamp(18px,2vw,27px);line-height:1.08;text-align:center}
body.pz-od-page .pz-od15-next-block .pz-od14-level-tip{max-width:440px}
body.pz-od-page .pz-od15-next-block .pz-od14-start-level{margin-top:2px}

html[data-theme="dark"] body.pz-od-page .pz-od15-done-label{border-color:rgba(128,210,147,.20);background:rgba(72,128,84,.15);color:#b8e1c0}
html[data-theme="dark"] body.pz-od-page .pz-od15-next-label{border-color:rgba(255,255,255,.12);background:rgba(255,255,255,.06);color:#c9b497}
html[data-theme="dark"] body.pz-od-page .pz-od15-transition-divider{background:linear-gradient(90deg,transparent,rgba(255,255,255,.16),transparent)}

body.pz-od-page .pz-od15-transition-card > *{opacity:0;transform:translateY(7px)}
body.pz-od-page .pz-od15-transition-overlay.is-visible .pz-od15-transition-card > *{animation:pzOd13SoftIn .32s ease forwards}
body.pz-od-page .pz-od15-transition-overlay.is-visible .pz-od15-transition-card > :nth-child(1){animation-delay:.05s}
body.pz-od-page .pz-od15-transition-overlay.is-visible .pz-od15-transition-card > :nth-child(2){animation-delay:.16s}
body.pz-od-page .pz-od15-transition-overlay.is-visible .pz-od15-transition-card > :nth-child(3){animation-delay:.23s}

@media(max-height:720px) and (orientation:landscape){
  body.pz-od-page .pz-od15-transition-card{width:min(620px,88%);gap:5px;padding:9px 14px 10px}
  body.pz-od-page .pz-od15-done-block,body.pz-od-page .pz-od15-next-block{gap:4px}
  body.pz-od-page .pz-od15-done-row{min-height:46px;gap:10px}
  body.pz-od-page .pz-od15-done-level{max-height:43px!important}
  body.pz-od-page .pz-od15-done-row .pz-od12-stars{min-height:40px}
  body.pz-od-page .pz-od15-done-row .pz-od12-stars img{width:36px!important;height:36px!important}
  body.pz-od-page .pz-od15-next-level{max-height:45px!important}
  body.pz-od-page .pz-od15-next-block>strong{font-size:17px}
  body.pz-od-page .pz-od15-next-block .pz-od14-level-tip{font-size:10px!important;line-height:1.24!important}
  body.pz-od-page .pz-od15-transition-card .pz-od12-level-stats>span{padding:4px 7px;min-width:76px}
  body.pz-od-page .pz-od15-transition-card .pz-od12-level-stats b{font-size:14px}
  body.pz-od-page .pz-od15-transition-card .pz-od12-reward{max-height:34px!important}
}

@media(max-width:820px) and (orientation:portrait){
  body.pz-od-page .pz-od15-transition-card{width:min(94%,520px);padding:13px 14px}
  body.pz-od-page .pz-od15-done-row{gap:8px;flex-wrap:wrap}
}

@media(prefers-reduced-motion:reduce){
  body.pz-od-page .pz-od-complete.pz-od15-transition-overlay,
  body.pz-od-page .pz-od15-transition-card,
  body.pz-od-page .pz-od15-transition-card > *{animation:none!important;transition:none!important;opacity:1!important;transform:none!important}
}


/* ========================================================================
   v16 - jeden zwarty kafelek przejscia, bez scrolla; nastepny poziom dominuje
   ======================================================================== */
body.pz-od-page .pz-od-complete.pz-od16-transition-overlay{
  cursor:pointer;
  padding:12px;
  overflow:hidden;
}
body.pz-od-page .pz-od16-transition-card{
  width:min(610px,90%);
  max-height:calc(100% - 20px);
  overflow:hidden;
  gap:7px;
  padding:12px 18px 13px;
}
body.pz-od-page .pz-od16-done-block{
  gap:4px;
}
body.pz-od-page .pz-od16-done-head{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  min-height:30px;
}
body.pz-od-page .pz-od16-done-head .pz-od15-done-label{
  min-height:20px;
  padding:2px 9px;
  font-size:8px;
  letter-spacing:.09em;
}
body.pz-od-page .pz-od16-done-stars{
  display:flex;
  align-items:center;
  gap:2px;
  min-height:26px!important;
}
body.pz-od-page .pz-od16-done-stars img{
  width:24px!important;
  height:24px!important;
}
body.pz-od-page .pz-od16-done-summary{
  width:100%;
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  justify-content:center;
  gap:10px;
}
body.pz-od-page .pz-od16-done-level{
  width:92px!important;
  max-height:38px!important;
}
body.pz-od-page .pz-od16-done-stats{
  flex-wrap:nowrap;
  gap:4px;
}
body.pz-od-page .pz-od16-done-stats>span{
  min-width:64px;
  padding:4px 6px;
  border-radius:8px;
}
body.pz-od-page .pz-od16-done-stats small{
  font-size:7px;
}
body.pz-od-page .pz-od16-done-stats b{
  margin-top:1px;
  font-size:13px;
}
body.pz-od-page .pz-od16-done-reward{
  width:auto!important;
  max-width:76px!important;
  max-height:34px!important;
  margin:0!important;
}
body.pz-od-page .pz-od16-transition-card .pz-od15-transition-divider{
  width:min(500px,94%);
  margin:2px 0 1px;
}
body.pz-od-page .pz-od16-next-block{
  gap:4px;
}
body.pz-od-page .pz-od16-next-block .pz-od15-next-label{
  min-height:22px;
  padding:3px 11px;
  font-size:9px;
}
body.pz-od-page .pz-od16-next-level{
  width:min(220px,40vw)!important;
  max-height:82px!important;
  margin:0!important;
}
body.pz-od-page .pz-od16-next-block>strong{
  font-size:clamp(22px,2.4vw,31px);
  line-height:1.02;
  margin-top:0;
}
body.pz-od-page .pz-od16-objective{
  width:min(390px,88%);
  padding:5px 10px;
}
body.pz-od-page .pz-od16-level-tip{
  max-width:470px!important;
  margin:1px auto!important;
  font-size:11px!important;
  line-height:1.28!important;
}
body.pz-od-page .pz-od16-time-limit{
  margin:0!important;
  min-height:28px;
}
body.pz-od-page .pz-od16-start-level{
  min-width:210px;
  min-height:38px;
  margin-top:2px!important;
}
body.pz-od-page .pz-od16-anywhere-note{
  display:block;
  margin-top:0;
  font-size:8px;
  line-height:1.15;
  font-weight:700;
  color:#80664d;
  text-align:center;
}
body.pz-od-page .pz-od16-transition-overlay:hover .pz-od16-start-level{
  filter:brightness(1.035);
}
html[data-theme="dark"] body.pz-od-page .pz-od16-anywhere-note{color:#bba58d}

@media(max-height:760px){
  body.pz-od-page .pz-od16-transition-card{gap:5px;padding:9px 15px 10px}
  body.pz-od-page .pz-od16-done-head{min-height:25px}
  body.pz-od-page .pz-od16-done-head .pz-od15-done-label{font-size:7px;min-height:18px}
  body.pz-od-page .pz-od16-done-stars{min-height:22px!important}
  body.pz-od-page .pz-od16-done-stars img{width:20px!important;height:20px!important}
  body.pz-od-page .pz-od16-done-level{width:78px!important;max-height:31px!important}
  body.pz-od-page .pz-od16-done-stats>span{min-width:58px;padding:3px 5px}
  body.pz-od-page .pz-od16-done-stats b{font-size:12px}
  body.pz-od-page .pz-od16-done-reward{max-width:62px!important;max-height:28px!important}
  body.pz-od-page .pz-od16-next-level{max-height:66px!important}
  body.pz-od-page .pz-od16-next-block>strong{font-size:21px}
  body.pz-od-page .pz-od16-level-tip{font-size:10px!important;line-height:1.2!important}
  body.pz-od-page .pz-od16-objective{padding:4px 8px}
  body.pz-od-page .pz-od16-start-level{min-height:34px;padding:5px 12px}
  body.pz-od-page .pz-od16-anywhere-note{font-size:7px}
}

@media(max-height:620px){
  body.pz-od-page .pz-od16-transition-card{width:min(620px,92%);gap:3px;padding:7px 12px 8px}
  body.pz-od-page .pz-od16-done-head{min-height:20px;gap:8px}
  body.pz-od-page .pz-od16-done-stars img{width:17px!important;height:17px!important}
  body.pz-od-page .pz-od16-done-summary{gap:6px}
  body.pz-od-page .pz-od16-done-level{width:68px!important;max-height:27px!important}
  body.pz-od-page .pz-od16-done-stats>span{min-width:52px;padding:2px 4px}
  body.pz-od-page .pz-od16-done-stats small{font-size:6px}
  body.pz-od-page .pz-od16-done-stats b{font-size:11px}
  body.pz-od-page .pz-od16-done-reward{max-width:52px!important;max-height:23px!important}
  body.pz-od-page .pz-od16-transition-card .pz-od15-transition-divider{margin:0}
  body.pz-od-page .pz-od16-next-level{max-height:54px!important}
  body.pz-od-page .pz-od16-next-block>strong{font-size:18px}
  body.pz-od-page .pz-od16-objective{padding:3px 7px}
  body.pz-od-page .pz-od16-level-tip{font-size:9px!important;line-height:1.16!important}
  body.pz-od-page .pz-od16-start-level{min-height:31px;padding:4px 10px}
}

@media(max-width:620px){
  body.pz-od-page .pz-od16-transition-card{width:min(96%,520px)}
  body.pz-od-page .pz-od16-done-summary{grid-template-columns:auto 1fr}
  body.pz-od-page .pz-od16-done-reward{display:none}
  body.pz-od-page .pz-od16-done-stats>span{min-width:0;flex:1}
  body.pz-od-page .pz-od16-next-level{width:min(190px,50vw)!important}
}

/* 2026-09-26: większe, czytelne odliczanie 3-2-1-START. */
body.pz-od-page .pz-od12-countdown-art{width:min(72%,520px)!important;max-height:72%!important;object-fit:contain!important}
@media(max-width:920px) and (orientation:landscape), (max-height:520px) and (orientation:landscape){body.pz-od-page .pz-od12-countdown-art{width:min(76%,430px)!important;max-height:76%!important}}


/* 2026-09-26: wspólna duża grafika PAUZA */
.pz-od-pause img{
  display:block!important;
  width:min(72%,520px)!important;
  max-width:520px!important;
  height:auto!important;
  max-height:58%!important;
  object-fit:contain!important;
  margin:0 auto!important;
  filter:drop-shadow(0 12px 16px rgba(0,0,0,.20))!important;
}
.pz-od-pause span{
  font-size:clamp(13px,1.35vw,18px)!important;
  line-height:1.2!important;
}
@media(max-height:520px) and (orientation:landscape){
  .pz-od-pause img{width:min(68%,420px)!important;max-width:420px!important;max-height:62%!important}
  .pz-od-pause span{font-size:12px!important}
}
