/* Les Colombes – orientation facultative par puzzle. N'affecte pas les puzzles PC. */
.pz-orientation-overlay[hidden],.pz-orientation-choices[hidden],#pz-orientation-cancel[hidden],#puzzle-landscape-option[hidden]{display:none!important}
.pz-orientation-overlay{position:fixed;inset:0;z-index:20000;background:rgba(42,33,64,.67);display:flex;align-items:center;justify-content:center;padding:18px;overflow-y:auto}
.pz-orientation-dialog{width:min(100%,470px);padding:24px 21px;border-radius:22px;border:1px solid #e8dbf4;background:#fffafe;box-shadow:0 25px 60px #2618374d;text-align:center;color:#514066}
.pz-orientation-dialog h2{font:800 clamp(19px,4vw,25px)/1.2 Nunito,system-ui,sans-serif;margin:0 0 10px}
.pz-orientation-dialog p{font-size:13px;color:#78658e;line-height:1.55;margin:5px 0 15px}
.pz-orientation-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
.pz-orientation-choice{min-height:151px;background:#faf6ff;border:2px solid #e2d4f1;border-radius:17px;padding:13px 10px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:8px;color:#654a90;cursor:pointer;touch-action:manipulation}
.pz-orientation-choice:hover,.pz-orientation-choice:focus-visible{background:#f0e5fc;border-color:#9673c8;outline:none}
.pz-orientation-choice strong{font-size:15px}.pz-orientation-choice small{font-size:11px;color:#766187}
.pz-orientation-shape{border:3px solid #9272c8;border-radius:7px;display:flex;align-items:center;justify-content:center;background:#e6d9f9;padding:5px}
.pz-orientation-shape.portrait{height:62px;width:47px}.pz-orientation-shape.landscape{height:48px;width:72px}
.pz-orientation-shape i{width:100%;height:100%;display:block;border:2px solid #fff9;border-radius:3px;background:repeating-linear-gradient(45deg,#cbb6ec,#cbb6ec 6px,#e6d9f9 6px,#e6d9f9 12px)}
.pz-orientation-change{display:block;width:max-content;max-width:100%;margin:1px auto 9px;border:1px solid #decdeb;background:#faf5fe;border-radius:30px;color:#674c92;padding:7px 14px;font-weight:800;font-size:12px;cursor:pointer}
#game-frame.pz-landscape:not(:fullscreen):not(:-webkit-full-screen):not(.pz-fullscreen-active){aspect-ratio:3/2!important;}
#game-frame.pz-landscape .game-surface #board{aspect-ratio:3/2!important}
#game-frame.pz-landscape .game-surface{aspect-ratio:3/2!important;height:auto!important;width:100%!important}
#game-frame.pz-landscape:fullscreen .game-surface,#game-frame.pz-landscape:-webkit-full-screen .game-surface,#game-frame.pz-landscape.pz-fullscreen-active .game-surface{width:min(100vw,150dvh)!important;max-width:100vw!important;height:auto!important;aspect-ratio:3/2!important}
#preview-area.pz-landscape-preview img{aspect-ratio:3/2;object-fit:cover}
@media (max-width:420px){.pz-orientation-dialog{padding:18px 13px}.pz-orientation-choice{min-height:138px}}
