/* Landscape gameplay: no clipped question, options or action controls. */
html.p2l-landscape-game,html.p2l-landscape-game body{width:100%;min-height:100%;overflow-x:hidden!important}
#p2lng .p14-compact{width:100%!important;max-width:100%!important;min-height:100dvh!important;height:auto!important;overflow:visible!important}
@media (orientation:landscape) and (max-height:650px){
html.p2l-landscape-game,html.p2l-landscape-game body{height:auto!important;overflow-y:auto!important}
#p2lng .ng-top{display:none!important}
#p2lng .ng-main,#p2lng .ng-main>section{width:100%!important;max-width:none!important;margin:0!important;padding:0!important;border:0!important}
#p2lng .p14-compact{min-height:100dvh!important;max-height:none!important;overflow-y:visible!important;padding:0 0 max(10px,env(safe-area-inset-bottom))!important}
#p2lng .p14-compact .p13-hud{min-height:38px!important;height:auto!important;padding:5px 12px!important;position:sticky!important;top:0!important;z-index:12!important}
#p2lng .p14-compact .p13-panel{max-width:1100px!important;margin:4px auto!important;padding:9px 14px!important;overflow:visible!important;height:auto!important;max-height:none!important}
#p2lng .p14-compact .p13-panel h1{font-size:clamp(20px,3.3vw,29px)!important;margin:3px 0 6px!important;line-height:1.14!important}
#p2lng .p14-compact .p13-instruction{font-size:clamp(15px,2.3vw,19px)!important;margin:4px 0 7px!important;line-height:1.25!important}
#p2lng .p14-compact .p13-tilegrid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:7px!important;margin:6px 0!important}
#p2lng .p14-compact .p13-tilegrid.p13-choicegrid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
#p2lng .p14-compact .p13-tile,#p2lng .p14-compact .p13-choice{min-height:43px!important;padding:6px 9px!important;font-size:clamp(15px,2.2vw,19px)!important}
#p2lng .p14-compact .p13-target{padding:7px!important;margin:6px 0!important}
#p2lng .p14-compact .p13-slots{min-height:43px!important}
#p2lng .p14-compact .p13-actions{display:flex!important;gap:8px!important;margin:7px 0!important}
#p2lng .p14-compact .p13-actions button{min-height:43px!important;padding:7px 12px!important;font-size:16px!important}
#p2lng .p14-compact .p13-bottom{padding:5px 12px!important;gap:6px!important}
#p2lng .p14-compact .p13-bottom button{min-height:36px!important}
}
#p2l-rotate-gate{display:none;position:fixed;inset:0;z-index:2147483000;background:linear-gradient(140deg,#142264,#3c247b);color:white;padding:max(18px,env(safe-area-inset-top)) 20px max(18px,env(safe-area-inset-bottom));box-sizing:border-box;align-items:center;justify-content:center;text-align:center;overflow-y:auto;font-family:ui-rounded,system-ui,sans-serif}
#p2l-rotate-gate .p2l-rotate-content{max-width:420px;margin:auto}
#p2l-rotate-gate .p2l-rotate-icon{font-size:56px;line-height:1.1}
#p2l-rotate-gate h2{font-size:clamp(23px,7vw,32px);font-weight:1000;line-height:1.15;margin:12px 0}
#p2l-rotate-gate p{font-size:16px;font-weight:750;line-height:1.4}
#p2l-rotate-gate button{border:0;border-radius:16px;background:#ffd24d;color:#24204e;padding:14px 22px;min-height:50px;font-size:17px;font-weight:1000;cursor:pointer}
#p2l-rotate-gate .p2l-rotate-note{font-size:12px;opacity:.85}
@media (pointer:coarse) and (orientation:portrait) and (max-width:900px){html.p2l-landscape-game #p2l-rotate-gate{display:flex}}
