
/* Mobile panels v7
   New asymmetrical 4-button housings:
   - top panel starts exactly at the left edge and only its far-right decorative tail can leave the viewport,
   - bottom panel starts exactly at the right edge and only its far-left decorative tail can leave the viewport,
   - button and LCD text is always live HTML from the current game,
   - the artwork itself contains no labels,
   - physical button, LED, sound and options states are overlaid from separate assets.
*/

@media (max-width:820px) and (orientation:portrait){
  html,
  html.pz-game-mobile-active,
  body.pz-game-page.pz-classic-layout-v2.pz-retro-ui-v1.pz-retro-ui-v2.pz-retro-ui-v3.pz-retro-ui-v4.pz-retro-ui-v5.pz-retro-ui-v6,
  html.pz-game-mobile-active body.pz-game-page.pz-classic-layout-v2.pz-retro-ui-v1.pz-retro-ui-v2.pz-retro-ui-v3.pz-retro-ui-v4.pz-retro-ui-v5.pz-retro-ui-v6.pz-game-active{
    height:auto!important;
    min-height:100%!important;
    overflow-x:hidden!important;
    overflow-y:auto!important;
    overscroll-behavior-y:auto!important;
  }

  body.pz-game-page.pz-classic-layout-v2.pz-retro-ui-v1.pz-retro-ui-v2.pz-retro-ui-v3.pz-retro-ui-v4.pz-retro-ui-v5.pz-retro-ui-v6{
    --pz-mobile-panel-extra:clamp(14px,4.2vw,20px);
    --pz-mobile-overlap:10px;
    min-height:100dvh!important;
  }

  /* Normalny top strony zostaje nad gra. */
  body.pz-game-page.pz-classic-layout-v2.pz-retro-ui-v1.pz-retro-ui-v2.pz-retro-ui-v3.pz-retro-ui-v4.pz-retro-ui-v5.pz-retro-ui-v6 > [data-shell-top]{
    display:block!important;
    position:relative!important;
    z-index:950!important;
  }

  body.pz-game-page.pz-classic-layout-v2.pz-retro-ui-v1.pz-retro-ui-v2.pz-retro-ui-v3.pz-retro-ui-v4.pz-retro-ui-v5.pz-retro-ui-v6 .pz-top,
  body.pz-game-page.pz-classic-layout-v2.pz-retro-ui-v1.pz-retro-ui-v2.pz-retro-ui-v3.pz-retro-ui-v4.pz-retro-ui-v5.pz-retro-ui-v6 .pz-game-head,
  body.pz-game-page.pz-classic-layout-v2.pz-retro-ui-v1.pz-retro-ui-v2.pz-retro-ui-v3.pz-retro-ui-v4.pz-retro-ui-v5.pz-retro-ui-v6 .pz-retro-mobile-more,
  body.pz-game-page.pz-classic-layout-v2.pz-retro-ui-v1.pz-retro-ui-v2.pz-retro-ui-v3.pz-retro-ui-v4.pz-retro-ui-v5.pz-retro-ui-v6 .pz-retro-download{
    display:none!important;
  }

  body.pz-game-page.pz-classic-layout-v2.pz-retro-ui-v1.pz-retro-ui-v2.pz-retro-ui-v3.pz-retro-ui-v4.pz-retro-ui-v5.pz-retro-ui-v6 .pz-game-shell{
    box-sizing:border-box!important;
    width:100%!important;
    max-width:none!important;
    height:calc(100dvh - var(--pz-mobile-shell-top-h,64px))!important;
    min-height:calc(100dvh - var(--pz-mobile-shell-top-h,64px))!important;
    margin:0!important;
    padding:0!important;
    display:block!important;
    overflow:hidden!important;
  }

  body.pz-game-page.pz-classic-layout-v2.pz-retro-ui-v1.pz-retro-ui-v2.pz-retro-ui-v3.pz-retro-ui-v4.pz-retro-ui-v5.pz-retro-ui-v6 :is(.pz-uk-layout,.pz-od-layout,.pz-mem-layout,.pz-demontaz-layout,.pz-sp-layout){
    box-sizing:border-box!important;
    width:100%!important;
    max-width:none!important;
    height:100%!important;
    min-height:0!important;
    margin:0!important;
    padding:4px 0 0!important;
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    grid-template-rows:auto minmax(0,1fr) auto!important;
    gap:0!important;
    align-items:stretch!important;
    justify-items:stretch!important;
    overflow:visible!important;
    position:relative!important;
  }

  body.pz-game-page.pz-classic-layout-v2.pz-retro-ui-v1.pz-retro-ui-v2.pz-retro-ui-v3.pz-retro-ui-v4.pz-retro-ui-v5.pz-retro-ui-v6 .pz-game-top-controls,
  body.pz-game-page.pz-classic-layout-v2.pz-retro-ui-v1.pz-retro-ui-v2.pz-retro-ui-v3.pz-retro-ui-v4.pz-retro-ui-v5.pz-retro-ui-v6 .pz-game-after-board{
    box-sizing:border-box!important;
    width:100%!important;
    height:auto!important;
    min-height:0!important;
    margin:0!important;
    padding:0!important;
    align-self:start!important;
    justify-self:stretch!important;
    overflow:visible!important;
    position:relative!important;
    z-index:30!important;
  }

  /* Mata wchodzi wizualnie po 10 px pod oba panele. */
  body.pz-game-page.pz-classic-layout-v2.pz-retro-ui-v1.pz-retro-ui-v2.pz-retro-ui-v3.pz-retro-ui-v4.pz-retro-ui-v5.pz-retro-ui-v6 .pz-retro-top{
    order:1!important;
    margin-bottom:calc(-1 * var(--pz-mobile-overlap))!important;
  }
  body.pz-game-page.pz-classic-layout-v2.pz-retro-ui-v1.pz-retro-ui-v2.pz-retro-ui-v3.pz-retro-ui-v4.pz-retro-ui-v5.pz-retro-ui-v6 .pz-retro-after{
    order:3!important;
    margin-top:calc(-1 * var(--pz-mobile-overlap))!important;
  }

  body.pz-game-page.pz-classic-layout-v2.pz-retro-ui-v1.pz-retro-ui-v2.pz-retro-ui-v3.pz-retro-ui-v4.pz-retro-ui-v5.pz-retro-ui-v6 :is(.pz-uk-board-wrap,.pz-od-board-wrap,.pz-mem-board-wrap,.pz-demontaz-board-wrap,.pz-sp-board-wrap){
    order:2!important;
    box-sizing:border-box!important;
    width:calc(100% - 10px)!important;
    height:100%!important;
    min-width:0!important;
    min-height:0!important;
    max-width:calc(100% - 10px)!important;
    max-height:100%!important;
    margin:0 auto!important;
    padding:0!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:flex-start!important;
    overflow:hidden!important;
    position:relative!important;
    z-index:5!important;
  }

  body.pz-game-page.pz-classic-layout-v2.pz-retro-ui-v1.pz-retro-ui-v2.pz-retro-ui-v3.pz-retro-ui-v4.pz-retro-ui-v5.pz-retro-ui-v6 :is(.pz-uk-stage,.pz-od-stage,.pz-mem-stage,.pz-demontaz-stage,.pz-sp-stage){
    flex:0 0 auto!important;
    min-width:0!important;
    min-height:0!important;
    max-width:100%!important;
    max-height:100%!important;
    margin:0 auto!important;
    border-radius:11px!important;
    overflow:hidden!important;
  }

  body.pz-game-page.pz-classic-layout-v2.pz-retro-ui-v1.pz-retro-ui-v2.pz-retro-ui-v3.pz-retro-ui-v4.pz-retro-ui-v5.pz-retro-ui-v6 .pz-game-after-board > :not(.pz-retro-panel--bottom):not(.pz-retro-flyout):not(.pz-retro-settings-popover){
    display:none!important;
  }

  /* Nowe asymetryczne obudowy. */
  body.pz-game-page.pz-classic-layout-v2.pz-retro-ui-v1.pz-retro-ui-v2.pz-retro-ui-v3.pz-retro-ui-v4.pz-retro-ui-v5.pz-retro-ui-v6 .pz-retro-panel--top,
  body.pz-game-page.pz-classic-layout-v2.pz-retro-ui-v1.pz-retro-ui-v2.pz-retro-ui-v3.pz-retro-ui-v4.pz-retro-ui-v5.pz-retro-ui-v6 .pz-retro-panel--bottom{
    box-sizing:border-box!important;
    display:block!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    background-position:center center!important;
    background-repeat:no-repeat!important;
    background-size:100% 100%!important;
    isolation:isolate!important;
  }

  body.pz-game-page.pz-classic-layout-v2.pz-retro-ui-v1.pz-retro-ui-v2.pz-retro-ui-v3.pz-retro-ui-v4.pz-retro-ui-v5.pz-retro-ui-v6 .pz-retro-panel--top{
    width:calc(100% - 9px + var(--pz-mobile-panel-extra))!important;
    aspect-ratio:2035 / 666!important;
    margin-left:calc(-1 * var(--pz-mobile-panel-extra) + 6px)!important;
    margin-right:3px!important;
    background-image:url("retro-ui/mobile-v2/panels/panel-mobile-top.webp")!important;
    filter:drop-shadow(0 4px 7px rgba(45,27,12,.18))!important;
  }

  body.pz-game-page.pz-classic-layout-v2.pz-retro-ui-v1.pz-retro-ui-v2.pz-retro-ui-v3.pz-retro-ui-v4.pz-retro-ui-v5.pz-retro-ui-v6 .pz-retro-panel--bottom{
    width:calc(100% - 9px + var(--pz-mobile-panel-extra))!important;
    aspect-ratio:2036 / 670!important;
    margin-left:3px!important;
    margin-right:calc(-1 * var(--pz-mobile-panel-extra) + 6px)!important;
    background-image:url("retro-ui/mobile-v2/panels/panel-mobile-bottom.webp")!important;
    filter:drop-shadow(0 4px 7px rgba(45,27,12,.16))!important;
  }

  /* TOP - 4 duze fizyczne przyciski. */
  body.pz-game-page.pz-classic-layout-v2.pz-retro-ui-v1.pz-retro-ui-v2.pz-retro-ui-v3.pz-retro-ui-v4.pz-retro-ui-v5.pz-retro-ui-v6 .pz-retro-slot--start{
    left:4.7666%!important;top:11.2613%!important;width:14.1032%!important;height:39.3393%!important;
    --pz-btn-up:url("retro-ui/mobile-v2/states/top/button_1_yellow-up.webp");
    --pz-btn-down:url("retro-ui/mobile-v2/states/top/button_1_yellow-down.webp");
  }
  body.pz-game-page.pz-classic-layout-v2.pz-retro-ui-v1.pz-retro-ui-v2.pz-retro-ui-v3.pz-retro-ui-v4.pz-retro-ui-v5.pz-retro-ui-v6 .pz-retro-slot--quick1{
    left:24.4717%!important;top:10.6607%!important;width:14.1523%!important;height:39.7898%!important;
    --pz-btn-up:url("retro-ui/mobile-v2/states/top/button_2_green-up.webp");
    --pz-btn-down:url("retro-ui/mobile-v2/states/top/button_2_green-down.webp");
  }
  body.pz-game-page.pz-classic-layout-v2.pz-retro-ui-v1.pz-retro-ui-v2.pz-retro-ui-v3.pz-retro-ui-v4.pz-retro-ui-v5.pz-retro-ui-v6 .pz-retro-slot--quick2{
    left:44.0786%!important;top:10.6607%!important;width:14.3489%!important;height:42.3423%!important;
    --pz-btn-up:url("retro-ui/mobile-v2/states/top/button_3_orange-up.webp");
    --pz-btn-down:url("retro-ui/mobile-v2/states/top/button_3_orange-down.webp");
  }
  body.pz-game-page.pz-classic-layout-v2.pz-retro-ui-v1.pz-retro-ui-v2.pz-retro-ui-v3.pz-retro-ui-v4.pz-retro-ui-v5.pz-retro-ui-v6 .pz-retro-slot--quick3{
    left:63.8329%!important;top:10.9610%!important;width:14.3980%!important;height:42.1922%!important;
    --pz-btn-up:url("retro-ui/mobile-v2/states/top/button_4_red-up.webp");
    --pz-btn-down:url("retro-ui/mobile-v2/states/top/button_4_red-down.webp");
  }

  /* BOTTOM - 4 duze fizyczne przyciski. */
  body.pz-game-page.pz-classic-layout-v2.pz-retro-ui-v1.pz-retro-ui-v2.pz-retro-ui-v3.pz-retro-ui-v4.pz-retro-ui-v5.pz-retro-ui-v6 .pz-retro-slot--bottom1{
    left:20.8251%!important;top:46.4179%!important;width:14.2927%!important;height:42.0896%!important;
    --pz-btn-up:url("retro-ui/mobile-v2/states/bottom/button_1_red-up.webp");
    --pz-btn-down:url("retro-ui/mobile-v2/states/bottom/button_1_red-down.webp");
  }
  body.pz-game-page.pz-classic-layout-v2.pz-retro-ui-v1.pz-retro-ui-v2.pz-retro-ui-v3.pz-retro-ui-v4.pz-retro-ui-v5.pz-retro-ui-v6 .pz-retro-slot--bottom2{
    left:40.8153%!important;top:46.2687%!important;width:14.3418%!important;height:42.3881%!important;
    --pz-btn-up:url("retro-ui/mobile-v2/states/bottom/button_2_orange-up.webp");
    --pz-btn-down:url("retro-ui/mobile-v2/states/bottom/button_2_orange-down.webp");
  }
  body.pz-game-page.pz-classic-layout-v2.pz-retro-ui-v1.pz-retro-ui-v2.pz-retro-ui-v3.pz-retro-ui-v4.pz-retro-ui-v5.pz-retro-ui-v6 .pz-retro-slot--bottom3{
    left:60.9037%!important;top:48.8060%!important;width:14.2927%!important;height:39.8507%!important;
    --pz-btn-up:url("retro-ui/mobile-v2/states/bottom/button_3_green-up.webp");
    --pz-btn-down:url("retro-ui/mobile-v2/states/bottom/button_3_green-down.webp");
  }
  body.pz-game-page.pz-classic-layout-v2.pz-retro-ui-v1.pz-retro-ui-v2.pz-retro-ui-v3.pz-retro-ui-v4.pz-retro-ui-v5.pz-retro-ui-v6 .pz-retro-slot--readmore{
    left:81.3851%!important;top:47.9104%!important;width:14.1945%!important;height:40.5970%!important;
    --pz-btn-up:url("retro-ui/mobile-v2/states/bottom/button_4_yellow-up.webp");
    --pz-btn-down:url("retro-ui/mobile-v2/states/bottom/button_4_yellow-down.webp");
  }

  /* Obraz stanu fizycznego przycisku lezy pod tekstem gry. */
  body.pz-game-page.pz-classic-layout-v2.pz-retro-ui-v1.pz-retro-ui-v2.pz-retro-ui-v3.pz-retro-ui-v4.pz-retro-ui-v5.pz-retro-ui-v6 :is(.pz-retro-slot--start,.pz-retro-slot--quick1,.pz-retro-slot--quick2,.pz-retro-slot--quick3,.pz-retro-slot--bottom1,.pz-retro-slot--bottom2,.pz-retro-slot--bottom3,.pz-retro-slot--readmore){
    display:grid!important;
    place-items:center!important;
    overflow:visible!important;
  }
  body.pz-game-page.pz-classic-layout-v2.pz-retro-ui-v1.pz-retro-ui-v2.pz-retro-ui-v3.pz-retro-ui-v4.pz-retro-ui-v5.pz-retro-ui-v6 :is(.pz-retro-slot--start,.pz-retro-slot--quick1,.pz-retro-slot--quick2,.pz-retro-slot--quick3,.pz-retro-slot--bottom1,.pz-retro-slot--bottom2,.pz-retro-slot--bottom3,.pz-retro-slot--readmore)::before,
  body.pz-game-page.pz-classic-layout-v2.pz-retro-ui-v1.pz-retro-ui-v2.pz-retro-ui-v3.pz-retro-ui-v4.pz-retro-ui-v5.pz-retro-ui-v6:not(.pz-uk-page) :is(.pz-retro-slot--start,.pz-retro-slot--quick1,.pz-retro-slot--quick2,.pz-retro-slot--quick3,.pz-retro-slot--bottom1,.pz-retro-slot--bottom2,.pz-retro-slot--bottom3,.pz-retro-slot--readmore)::after{
    content:"";
    position:absolute;
    inset:0;
    z-index:1;
    pointer-events:none;
    background-position:center;
    background-repeat:no-repeat;
    background-size:100% 100%;
    transition:opacity .045s linear,transform .045s linear;
  }
  body.pz-game-page.pz-classic-layout-v2.pz-retro-ui-v1.pz-retro-ui-v2.pz-retro-ui-v3.pz-retro-ui-v4.pz-retro-ui-v5.pz-retro-ui-v6:not(.pz-uk-page) :is(.pz-retro-slot--start,.pz-retro-slot--quick1,.pz-retro-slot--quick2,.pz-retro-slot--quick3,.pz-retro-slot--bottom1,.pz-retro-slot--bottom2,.pz-retro-slot--bottom3,.pz-retro-slot--readmore)::before{
    background-image:var(--pz-btn-up);
    opacity:1;
  }
  body.pz-game-page.pz-classic-layout-v2.pz-retro-ui-v1.pz-retro-ui-v2.pz-retro-ui-v3.pz-retro-ui-v4.pz-retro-ui-v5.pz-retro-ui-v6 :is(.pz-retro-slot--start,.pz-retro-slot--quick1,.pz-retro-slot--quick2,.pz-retro-slot--quick3,.pz-retro-slot--bottom1,.pz-retro-slot--bottom2,.pz-retro-slot--bottom3,.pz-retro-slot--readmore)::after{
    background-image:var(--pz-btn-down);
    opacity:0;
  }
  body.pz-game-page.pz-classic-layout-v2.pz-retro-ui-v1.pz-retro-ui-v2.pz-retro-ui-v3.pz-retro-ui-v4.pz-retro-ui-v5.pz-retro-ui-v6:not(.pz-uk-page) :is(.pz-retro-slot--start,.pz-retro-slot--quick1,.pz-retro-slot--quick2,.pz-retro-slot--quick3,.pz-retro-slot--bottom1,.pz-retro-slot--bottom2,.pz-retro-slot--bottom3,.pz-retro-slot--readmore).is-pressed::before{opacity:0;}
  body.pz-game-page.pz-classic-layout-v2.pz-retro-ui-v1.pz-retro-ui-v2.pz-retro-ui-v3.pz-retro-ui-v4.pz-retro-ui-v5.pz-retro-ui-v6:not(.pz-uk-page) :is(.pz-retro-slot--start,.pz-retro-slot--quick1,.pz-retro-slot--quick2,.pz-retro-slot--quick3,.pz-retro-slot--bottom1,.pz-retro-slot--bottom2,.pz-retro-slot--bottom3,.pz-retro-slot--readmore).is-pressed::after{opacity:1;transform:translateY(1px) scale(.99);}

  /* v20 Układanie: panel bazowy ma już niewciśnięte guziki. Nie pobieramy 16 overlayów podczas bootu. */
  body.pz-uk-page.pz-game-page.pz-classic-layout-v2.pz-retro-ui-v1.pz-retro-ui-v2.pz-retro-ui-v3.pz-retro-ui-v4.pz-retro-ui-v5.pz-retro-ui-v6 :is(.pz-retro-slot--start,.pz-retro-slot--quick1,.pz-retro-slot--quick2,.pz-retro-slot--quick3,.pz-retro-slot--bottom1,.pz-retro-slot--bottom2,.pz-retro-slot--bottom3,.pz-retro-slot--readmore)::before,
  body.pz-uk-page.pz-game-page.pz-classic-layout-v2.pz-retro-ui-v1.pz-retro-ui-v2.pz-retro-ui-v3.pz-retro-ui-v4.pz-retro-ui-v5.pz-retro-ui-v6 :is(.pz-retro-slot--start,.pz-retro-slot--quick1,.pz-retro-slot--quick2,.pz-retro-slot--quick3,.pz-retro-slot--bottom1,.pz-retro-slot--bottom2,.pz-retro-slot--bottom3,.pz-retro-slot--readmore)::after{background-image:none;opacity:0;}
  html.pz-mobile-state-assets-ready body.pz-uk-page.pz-game-page.pz-classic-layout-v2.pz-retro-ui-v1.pz-retro-ui-v2.pz-retro-ui-v3.pz-retro-ui-v4.pz-retro-ui-v5.pz-retro-ui-v6 :is(.pz-retro-slot--start,.pz-retro-slot--quick1,.pz-retro-slot--quick2,.pz-retro-slot--quick3,.pz-retro-slot--bottom1,.pz-retro-slot--bottom2,.pz-retro-slot--bottom3,.pz-retro-slot--readmore).is-pressed::after{background-image:var(--pz-btn-down);opacity:1;transform:translateY(1px) scale(.99);}

  /* Tekst przyciskow pochodzi tylko z logiki danej gry. */
  body.pz-game-page.pz-classic-layout-v2.pz-retro-ui-v1.pz-retro-ui-v2.pz-retro-ui-v3.pz-retro-ui-v4.pz-retro-ui-v5.pz-retro-ui-v6 :is(.pz-retro-slot--start,.pz-retro-slot--quick1,.pz-retro-slot--quick2,.pz-retro-slot--quick3,.pz-retro-slot--bottom1,.pz-retro-slot--bottom2,.pz-retro-slot--bottom3,.pz-retro-slot--readmore) .pz-retro-button,
  body.pz-game-page.pz-classic-layout-v2.pz-retro-ui-v1.pz-retro-ui-v2.pz-retro-ui-v3.pz-retro-ui-v4.pz-retro-ui-v5.pz-retro-ui-v6 .pz-retro-slot--readmore .pz-retro-button--readmore{
    z-index:3!important;
    width:100%!important;
    height:100%!important;
    min-width:0!important;
    min-height:0!important;
    margin:0!important;
    padding:0 8%!important;
    border:0!important;
    border-radius:50%!important;
    background:none!important;
    background-image:none!important;
    box-shadow:none!important;
    display:grid!important;
    place-items:center!important;
    white-space:normal!important;
    text-align:center!important;
    font-family:Manrope,system-ui,sans-serif!important;
    font-size:clamp(7px,2.15vw,10.5px)!important;
    line-height:.96!important;
    font-weight:900!important;
    letter-spacing:-.02em!important;
    transform:none!important;
    text-decoration:none!important;
    -webkit-tap-highlight-color:transparent!important;
  }
  body.pz-game-page.pz-classic-layout-v2.pz-retro-ui-v1.pz-retro-ui-v2.pz-retro-ui-v3.pz-retro-ui-v4.pz-retro-ui-v5.pz-retro-ui-v6 .pz-retro-slot--start .pz-retro-button{font-size:clamp(8px,2.4vw,11px)!important;color:#21170e!important;text-shadow:0 1px 0 rgba(255,255,255,.38)!important;}
  body.pz-game-page.pz-classic-layout-v2.pz-retro-ui-v1.pz-retro-ui-v2.pz-retro-ui-v3.pz-retro-ui-v4.pz-retro-ui-v5.pz-retro-ui-v6 .pz-retro-slot--quick1 .pz-retro-button{color:#fff4dc!important;text-shadow:0 1px 1px rgba(0,0,0,.42)!important;}
  body.pz-game-page.pz-classic-layout-v2.pz-retro-ui-v1.pz-retro-ui-v2.pz-retro-ui-v3.pz-retro-ui-v4.pz-retro-ui-v5.pz-retro-ui-v6 .pz-retro-slot--quick2 .pz-retro-button{color:#24170e!important;text-shadow:0 1px 0 rgba(255,255,255,.28)!important;}
  body.pz-game-page.pz-classic-layout-v2.pz-retro-ui-v1.pz-retro-ui-v2.pz-retro-ui-v3.pz-retro-ui-v4.pz-retro-ui-v5.pz-retro-ui-v6 .pz-retro-slot--quick3 .pz-retro-button{color:#fff1d3!important;text-shadow:0 1px 1px rgba(0,0,0,.42)!important;}
  body.pz-game-page.pz-classic-layout-v2.pz-retro-ui-v1.pz-retro-ui-v2.pz-retro-ui-v3.pz-retro-ui-v4.pz-retro-ui-v5.pz-retro-ui-v6 .pz-retro-slot--bottom1 .pz-retro-button{color:#fff1d3!important;text-shadow:0 1px 1px rgba(0,0,0,.42)!important;}
  body.pz-game-page.pz-classic-layout-v2.pz-retro-ui-v1.pz-retro-ui-v2.pz-retro-ui-v3.pz-retro-ui-v4.pz-retro-ui-v5.pz-retro-ui-v6 .pz-retro-slot--bottom2 .pz-retro-button{color:#25170d!important;text-shadow:0 1px 0 rgba(255,255,255,.28)!important;}
  body.pz-game-page.pz-classic-layout-v2.pz-retro-ui-v1.pz-retro-ui-v2.pz-retro-ui-v3.pz-retro-ui-v4.pz-retro-ui-v5.pz-retro-ui-v6 .pz-retro-slot--bottom3 .pz-retro-button{color:#fff1d7!important;text-shadow:0 1px 1px rgba(0,0,0,.42)!important;}
  body.pz-game-page.pz-classic-layout-v2.pz-retro-ui-v1.pz-retro-ui-v2.pz-retro-ui-v3.pz-retro-ui-v4.pz-retro-ui-v5.pz-retro-ui-v6 .pz-retro-slot--readmore .pz-retro-button--readmore{font-size:clamp(5.8px,1.7vw,8.2px)!important;color:#24170d!important;text-shadow:0 1px 0 rgba(255,255,255,.32)!important;}

  /* LCD top - dokladne szyby nowego panelu. */
  body.pz-game-page.pz-classic-layout-v2.pz-retro-ui-v1.pz-retro-ui-v2.pz-retro-ui-v3.pz-retro-ui-v4.pz-retro-ui-v5.pz-retro-ui-v6 .pz-retro-lcd-slot{
    top:67.8679%!important;
    height:19.5195%!important;
    width:15.7740%!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-width:0!important;
    pointer-events:none!important;
  }
  body.pz-game-page.pz-classic-layout-v2.pz-retro-ui-v1.pz-retro-ui-v2.pz-retro-ui-v3.pz-retro-ui-v4.pz-retro-ui-v5.pz-retro-ui-v6 .pz-retro-lcd-slot--1{left:3.1941%!important;}
  body.pz-game-page.pz-classic-layout-v2.pz-retro-ui-v1.pz-retro-ui-v2.pz-retro-ui-v3.pz-retro-ui-v4.pz-retro-ui-v5.pz-retro-ui-v6 .pz-retro-lcd-slot--2{left:23.0467%!important;width:15.8231%!important;}
  body.pz-game-page.pz-classic-layout-v2.pz-retro-ui-v1.pz-retro-ui-v2.pz-retro-ui-v3.pz-retro-ui-v4.pz-retro-ui-v5.pz-retro-ui-v6 .pz-retro-lcd-slot--3{left:42.9484%!important;width:15.5774%!important;}
  body.pz-game-page.pz-classic-layout-v2.pz-retro-ui-v1.pz-retro-ui-v2.pz-retro-ui-v3.pz-retro-ui-v4.pz-retro-ui-v5.pz-retro-ui-v6 .pz-retro-lcd-slot--4{left:62.6044%!important;width:15.5283%!important;height:19.6697%!important;}

  /* LCD bottom. */
  body.pz-game-page.pz-classic-layout-v2.pz-retro-ui-v1.pz-retro-ui-v2.pz-retro-ui-v3.pz-retro-ui-v4.pz-retro-ui-v5.pz-retro-ui-v6 .pz-retro-bottom-lcd{
    top:12.5373%!important;
    height:18.8060%!important;
    width:15.2259%!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-width:0!important;
    pointer-events:none!important;
  }
  body.pz-game-page.pz-classic-layout-v2.pz-retro-ui-v1.pz-retro-ui-v2.pz-retro-ui-v3.pz-retro-ui-v4.pz-retro-ui-v5.pz-retro-ui-v6 .pz-retro-bottom-lcd--1{left:21.0216%!important;}
  body.pz-game-page.pz-classic-layout-v2.pz-retro-ui-v1.pz-retro-ui-v2.pz-retro-ui-v3.pz-retro-ui-v4.pz-retro-ui-v5.pz-retro-ui-v6 .pz-retro-bottom-lcd--2{left:40.3733%!important;width:15.5206%!important;}
  body.pz-game-page.pz-classic-layout-v2.pz-retro-ui-v1.pz-retro-ui-v2.pz-retro-ui-v3.pz-retro-ui-v4.pz-retro-ui-v5.pz-retro-ui-v6 .pz-retro-bottom-lcd--3{left:59.9214%!important;width:16.2574%!important;}
  body.pz-game-page.pz-classic-layout-v2.pz-retro-ui-v1.pz-retro-ui-v2.pz-retro-ui-v3.pz-retro-ui-v4.pz-retro-ui-v5.pz-retro-ui-v6 .pz-retro-bottom-lcd--4{left:80.3536%!important;width:16.4047%!important;}

  body.pz-game-page.pz-classic-layout-v2.pz-retro-ui-v1.pz-retro-ui-v2.pz-retro-ui-v3.pz-retro-ui-v4.pz-retro-ui-v5.pz-retro-ui-v6 .pz-retro-lcd-slot .pz-retro-stat,
  body.pz-game-page.pz-classic-layout-v2.pz-retro-ui-v1.pz-retro-ui-v2.pz-retro-ui-v3.pz-retro-ui-v4.pz-retro-ui-v5.pz-retro-ui-v6 .pz-retro-bottom-lcd .pz-retro-stat-mirror{
    box-sizing:border-box!important;
    width:100%!important;
    height:100%!important;
    min-width:0!important;
    margin:0!important;
    padding:1% 2.5%!important;
    border:0!important;
    background:transparent!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    text-align:center!important;
    overflow:hidden!important;
  }
  body.pz-game-page.pz-classic-layout-v2.pz-retro-ui-v1.pz-retro-ui-v2.pz-retro-ui-v3.pz-retro-ui-v4.pz-retro-ui-v5.pz-retro-ui-v6 .pz-retro-lcd-slot .pz-retro-stat span,
  body.pz-game-page.pz-classic-layout-v2.pz-retro-ui-v1.pz-retro-ui-v2.pz-retro-ui-v3.pz-retro-ui-v4.pz-retro-ui-v5.pz-retro-ui-v6 .pz-retro-bottom-lcd .pz-retro-stat-mirror__label{
    display:block!important;
    width:100%!important;
    margin:0!important;
    color:#363b32!important;
    font-size:clamp(4px,1vw,5.4px)!important;
    line-height:.94!important;
    font-weight:900!important;
    letter-spacing:.025em!important;
    text-transform:uppercase!important;
    white-space:normal!important;
    overflow:hidden!important;
    text-overflow:clip!important;
    text-align:center!important;
  }
  body.pz-game-page.pz-classic-layout-v2.pz-retro-ui-v1.pz-retro-ui-v2.pz-retro-ui-v3.pz-retro-ui-v4.pz-retro-ui-v5.pz-retro-ui-v6 .pz-retro-lcd-slot .pz-retro-stat b,
  body.pz-game-page.pz-classic-layout-v2.pz-retro-ui-v1.pz-retro-ui-v2.pz-retro-ui-v3.pz-retro-ui-v4.pz-retro-ui-v5.pz-retro-ui-v6 .pz-retro-bottom-lcd .pz-retro-stat-mirror__value{
    display:block!important;
    width:100%!important;
    margin:1px 0 0!important;
    color:#10130f!important;
    font-family:"Courier New",ui-monospace,monospace!important;
    font-size:clamp(6.8px,1.78vw,9.1px)!important;
    line-height:.95!important;
    font-weight:900!important;
    letter-spacing:0!important;
    font-variant-numeric:tabular-nums!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:clip!important;
    text-align:center!important;
  }

  /* Stare assety sterowania sa ukryte. Nowe sa dokladnie nakladane na grafike. */
  body.pz-game-page.pz-classic-layout-v2.pz-retro-ui-v1.pz-retro-ui-v2.pz-retro-ui-v3.pz-retro-ui-v4.pz-retro-ui-v5.pz-retro-ui-v6 .pz-retro-lamp,
  body.pz-game-page.pz-classic-layout-v2.pz-retro-ui-v1.pz-retro-ui-v2.pz-retro-ui-v3.pz-retro-ui-v4.pz-retro-ui-v5.pz-retro-ui-v6 .pz-retro-switch,
  body.pz-game-page.pz-classic-layout-v2.pz-retro-ui-v1.pz-retro-ui-v2.pz-retro-ui-v3.pz-retro-ui-v4.pz-retro-ui-v5.pz-retro-ui-v6 .pz-retro-knob,
  body.pz-game-page.pz-classic-layout-v2.pz-retro-ui-v1.pz-retro-ui-v2.pz-retro-ui-v3.pz-retro-ui-v4.pz-retro-ui-v5.pz-retro-ui-v6 .pz-retro-bottom-knob,
  body.pz-game-page.pz-classic-layout-v2.pz-retro-ui-v1.pz-retro-ui-v2.pz-retro-ui-v3.pz-retro-ui-v4.pz-retro-ui-v5.pz-retro-ui-v6 .pz-retro-caption{
    display:none!important;
  }

  .pz-mobile-physical{
    position:absolute;
    z-index:7;
    display:block;
    pointer-events:none;
    object-fit:fill;
    transform-origin:50% 50%;
    user-select:none;
    -webkit-user-select:none;
  }
  .pz-mobile-led{opacity:0;transition:opacity .12s ease,filter .12s ease;}
  .pz-mobile-led.is-on{opacity:1;filter:drop-shadow(0 0 4px rgba(255,40,10,.88)) drop-shadow(0 0 7px rgba(255,52,10,.45));}
  .pz-mobile-knob{transition:transform .13s cubic-bezier(.2,.75,.2,1);}
  .pz-mobile-knob.is-turned{transform:rotate(45deg);}

  .pz-mobile-led--top{left:85.9459%;top:15.9159%;width:3.2924%;height:10.0601%;}
  .pz-mobile-knob--top{left:83.9803%;top:33.6336%;width:7.1253%;height:21.4715%;}
  .pz-mobile-switch--top{left:84.4717%;top:65.9159%;width:6.4373%;height:11.5616%;}

  .pz-mobile-led--bottom{left:10.2161%;top:72.8358%;width:3.2908%;height:10.2985%;}
  .pz-mobile-knob--bottom{left:8.3497%;top:44.4776%;width:7.0727%;height:21.0448%;}
  .pz-mobile-switch--bottom{left:8.7917%;top:22.3881%;width:6.4342%;height:11.4925%;}

  /* Fizyczne pola klikniecia dla dzwieku i opcji. */
  body.pz-game-page.pz-classic-layout-v2.pz-retro-ui-v1.pz-retro-ui-v2.pz-retro-ui-v3.pz-retro-ui-v4.pz-retro-ui-v5.pz-retro-ui-v6 .pz-retro-hit--sound{
    left:83.65%!important;top:63.8%!important;width:8.1%!important;height:15.9%!important;
  }
  body.pz-game-page.pz-classic-layout-v2.pz-retro-ui-v1.pz-retro-ui-v2.pz-retro-ui-v3.pz-retro-ui-v4.pz-retro-ui-v5.pz-retro-ui-v6 .pz-retro-hit--options{
    left:82.9%!important;top:31.7%!important;width:9.4%!important;height:25.0%!important;
  }
  body.pz-game-page.pz-classic-layout-v2.pz-retro-ui-v1.pz-retro-ui-v2.pz-retro-ui-v3.pz-retro-ui-v4.pz-retro-ui-v5.pz-retro-ui-v6 .pz-retro-hit--bottom-options{
    left:7.3%!important;top:42.5%!important;width:9.3%!important;height:25.0%!important;
  }
  .pz-mobile-bottom-sound-hit{
    position:absolute!important;
    z-index:10!important;
    left:7.9%!important;
    top:20.4%!important;
    width:8.0%!important;
    height:15.3%!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    border-radius:12px!important;
    background:transparent!important;
    color:transparent!important;
    -webkit-tap-highlight-color:transparent!important;
  }

  /* Flyouty zostaja przy panelach i nie zmieniaja ich geometrii. */
  body.pz-game-page.pz-classic-layout-v2.pz-retro-ui-v1.pz-retro-ui-v2.pz-retro-ui-v3.pz-retro-ui-v4.pz-retro-ui-v5.pz-retro-ui-v6 .pz-retro-settings-popover,
  body.pz-game-page.pz-classic-layout-v2.pz-retro-ui-v1.pz-retro-ui-v2.pz-retro-ui-v3.pz-retro-ui-v4.pz-retro-ui-v5.pz-retro-ui-v6 .pz-retro-flyout{
    left:5px!important;
    right:5px!important;
    width:auto!important;
    max-width:none!important;
    margin:0!important;
    border-radius:12px!important;
    z-index:80!important;
  }
  body.pz-game-page.pz-classic-layout-v2.pz-retro-ui-v1.pz-retro-ui-v2.pz-retro-ui-v3.pz-retro-ui-v4.pz-retro-ui-v5.pz-retro-ui-v6 .pz-retro-flyout.is-top-origin,
  body.pz-game-page.pz-classic-layout-v2.pz-retro-ui-v1.pz-retro-ui-v2.pz-retro-ui-v3.pz-retro-ui-v4.pz-retro-ui-v5.pz-retro-ui-v6 .pz-retro-settings-popover.is-top-origin{
    top:calc(100% - 5px)!important;
    bottom:auto!important;
  }
  body.pz-game-page.pz-classic-layout-v2.pz-retro-ui-v1.pz-retro-ui-v2.pz-retro-ui-v3.pz-retro-ui-v4.pz-retro-ui-v5.pz-retro-ui-v6 .pz-retro-flyout.is-bottom-origin,
  body.pz-game-page.pz-classic-layout-v2.pz-retro-ui-v1.pz-retro-ui-v2.pz-retro-ui-v3.pz-retro-ui-v4.pz-retro-ui-v5.pz-retro-ui-v6 .pz-retro-settings-popover.is-bottom-origin{
    top:auto!important;
    bottom:calc(100% - 5px)!important;
  }

  /* Standardowa autopromocja, sekcja podobnych gier i globalny footer wracaja na mobile.
     Stary pomaranczowy panel reklamowy v6 nie jest juz uzywany. */
  body.pz-game-page.pz-classic-layout-v2.pz-retro-ui-v1.pz-retro-ui-v2.pz-retro-ui-v3.pz-retro-ui-v4.pz-retro-ui-v5.pz-retro-ui-v6 > .pz-after-game,
  body.pz-game-page.pz-classic-layout-v2.pz-retro-ui-v1.pz-retro-ui-v2.pz-retro-ui-v3.pz-retro-ui-v4.pz-retro-ui-v5.pz-retro-ui-v6 > [data-puzzle-related-games],
  body.pz-game-page.pz-classic-layout-v2.pz-retro-ui-v1.pz-retro-ui-v2.pz-retro-ui-v3.pz-retro-ui-v4.pz-retro-ui-v5.pz-retro-ui-v6 > [data-shell-footer]{
    display:block!important;
  }

  body.pz-game-page.pz-classic-layout-v2.pz-retro-ui-v1.pz-retro-ui-v2.pz-retro-ui-v3.pz-retro-ui-v4.pz-retro-ui-v5.pz-retro-ui-v6 .allegro-promo{
    display:block!important;
  }

  .pz-mobile-sticker-promo{display:none!important;}
}

@media (min-width:821px), (orientation:landscape){
  .pz-mobile-physical,
  .pz-mobile-bottom-sound-hit,
  .pz-mobile-sticker-promo{display:none!important;}
}
