.arcade-fullscreen.fixed,.arcade-screen,.reward-experience,.ptp-shop-screen,.ptp-roulette-screen,.welcome-screen{top:var(--vv-top,0px);height:var(--vvh,100dvh);bottom:auto}.ptp-shell{min-height:var(--vvh,100dvh);padding-bottom:calc(76px + env(safe-area-inset-bottom))}.ptp-shell-header{padding:max(12px,env(safe-area-inset-top)) 16px 16px}.ptp-shell-brand{grid-template-columns:44px minmax(0,1fr);margin-bottom:8px}.ptp-shell-brand img{width:44px;height:44px}.ptp-shell-main{padding:14px 16px}.bottom-nav-float .bottom-nav-items{padding-block:3px}.bottom-nav-float .bottom-nav-item{min-height:44px;padding-block:3px}.ptp-province-nav{padding-top:3px;padding-bottom:max(3px,env(safe-area-inset-bottom))}.ptp-province-nav a{gap:1px;min-height:44px}.ptp-province-nav a>svg,.ptp-province-nav .ptp-store-icon svg{width:22px;height:22px}.ptp-province-nav .ptp-store-icon{height:24px}.ptp-viewport-dialog{top:calc(var(--vv-top,0px) + var(--vvh,100dvh)/2);width:calc(100% - max(24px,env(safe-area-inset-left) + env(safe-area-inset-right)));max-height:calc(var(--vvh,100dvh) - max(24px,env(safe-area-inset-top) + env(safe-area-inset-bottom)));overscroll-behavior:contain;scroll-padding-block:16px;overflow-y:auto}.ptp-overlay-viewport{top:var(--vv-top,0px);height:var(--vvh,100dvh);bottom:auto}.ptp-overlay-panel{max-height:calc(var(--vvh,100dvh) - 24px);overscroll-behavior:contain;overflow-y:auto}.ptp-overlay-panel button{min-height:44px}.challenge-screen:has(.game-intro-shell) .challenge-heading{display:none}.challenge-screen:has(.game-intro-shell) .challenge-scroll{overflow:hidden}.challenge-screen:has(.game-intro-shell) .challenge-layout{width:100%;max-width:none;height:100%;min-height:0;padding:8px max(8px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left));flex-direction:column;gap:0;display:flex}.challenge-screen:has(.game-intro-shell) .challenge-stage{flex-direction:column;flex:1;width:100%;min-height:0;margin:0;padding:0;display:flex}.game-intro-shell{place-items:safe center center;width:100%;height:100%;min-height:0;display:grid;container:game-instructions/size}.game-intro-shell .game-intro{overscroll-behavior:contain;grid-template-columns:minmax(0,1fr);gap:10px;max-height:100cqh;margin:0;padding:40px 12px 12px;scroll-padding-block:40px;overflow-y:auto}.game-intro-shell .game-intro>*{grid-area:auto}.game-intro-shell .game-intro-rules{grid-template-columns:repeat(3,minmax(0,1fr))}.game-intro-shell .game-intro-tag{top:6px;left:12px;transform:none}.game-intro-shell .game-intro-close{width:44px;height:44px;box-shadow:none;top:2px;right:4px}.game-intro-shell .game-intro-head{grid-template-columns:90px minmax(0,1fr)}.game-intro-shell .game-intro-title{font-size:24px}.game-intro-shell .game-intro-slogan{font-size:14px}.game-intro-shell .game-intro-stat p{overflow-wrap:anywhere;font-size:12px}.game-intro-shell .game-intro-stat svg{width:26px}.game-intro-shell .game-intro-rule{font-size:13px}.game-intro-shell .game-intro-rule svg{width:32px}.game-intro-shell .game-intro-controls{border-radius:12px;grid-template-columns:auto minmax(0,1fr);min-width:0;font-size:13px}.game-intro-shell .game-intro-controls:has(.game-intro-keys){grid-template-columns:auto auto minmax(0,1fr)}.game-intro-shell .game-intro-controls p{overflow-wrap:anywhere;min-width:0}.game-intro-shell .game-intro-wheel{border-radius:12px;font-size:14px}.game-intro-actions{gap:8px;min-width:0;display:grid}.game-intro-shell .game-intro-play{white-space:normal;height:auto;min-height:48px;padding:6px 12px;font-size:20px}.game-intro-shell .game-intro-skip{min-height:44px;font-size:14px}@container game-instructions (width>=540px) and (height<=600px){.game-intro-shell .game-intro{grid-template-rows:auto auto auto auto;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-content:start;gap:6px 12px;width:min(100%,960px);padding:36px 12px 8px}.game-intro-shell .game-intro-head{grid-area:1/1;grid-template-columns:56px minmax(0,1fr)}.game-intro-shell .game-intro-stats{grid-area:2/1}.game-intro-shell .game-intro-controls{grid-area:3/1;gap:4px;padding:4px 6px;font-size:12px}.game-intro-shell .game-intro-rules{border:0;grid-area:1/2/span 2;grid-template-columns:minmax(0,1fr);gap:4px;padding:0}.game-intro-shell .game-intro-wheel{grid-area:3/2;padding:4px 6px;font-size:12px}.game-intro-shell .game-intro-actions{grid-area:4/1/auto/-1;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:16px}.game-intro-shell .game-intro-title{padding:4px 8px;font-size:20px}.game-intro-shell .game-intro-title span{display:inline}.game-intro-shell .game-intro-slogan{padding:4px;font-size:12px}.game-intro-shell .game-intro-titles{gap:4px}.game-intro-shell .game-intro-stat{gap:4px;padding:4px}.game-intro-shell .game-intro-stat p{font-size:11px}.game-intro-shell .game-intro-stat svg{width:22px}.game-intro-shell .game-intro-rule{text-align:left;grid-template-columns:26px minmax(0,1fr);place-items:center start;padding:4px 8px;font-size:13px}.game-intro-shell .game-intro-rule svg{width:26px}.game-intro-shell .game-intro-keys span{width:22px;height:24px}.game-intro-shell .game-intro-wheel-icon{width:30px;height:30px}.game-intro-shell .game-intro-play{width:100%;min-height:44px;font-size:18px}}.challenge-playing:has(.memory-board-area) .challenge-layout{max-width:none;padding:4px max(6px,env(safe-area-inset-right)) max(6px,env(safe-area-inset-bottom)) max(6px,env(safe-area-inset-left));gap:0}.challenge-playing:has(.memory-board-area) .challenge-heading{display:none}.challenge-playing:has(.memory-board-area) .challenge-scroll{overflow:hidden}.challenge-playing .challenge-card:has(.memory-board-area){gap:4px;width:100%;max-width:none;height:100%;min-height:0;max-height:none;padding:6px}.challenge-playing .challenge-card:has(.memory-board-area)>p{flex:none;margin:0}.challenge-playing .challenge-card:has(.memory-board-area)>div:not(.memory-board-area){flex:none;margin:0}.challenge-playing .memory-board-area,.memory-practice .memory-board-area{flex:1;min-width:0;min-height:0;margin:0;display:block;container-type:size}.challenge-playing .memory-board-area .memory-board,.memory-practice .memory-board-area .memory-board{--memory-cols:var(--mem-cols,3);--memory-rows:var(--mem-rows,2);--memory-gap:6px;--memory-size:min(calc((100cqw - (var(--memory-cols) - 1)*var(--memory-gap))/var(--memory-cols)),calc((100cqh - (var(--memory-rows) - 1)*var(--memory-gap))/var(--memory-rows)));gap:var(--memory-gap);grid-template-columns:repeat(var(--memory-cols),var(--memory-size));grid-template-rows:repeat(var(--memory-rows),var(--memory-size));grid-auto-rows:var(--memory-size);flex:none;place-content:center;width:100%;height:100%;margin:0;display:grid}.memory-board .memory-tile{aspect-ratio:1;overflow-wrap:anywhere;width:100%;height:100%;padding:4px;font-size:15px;line-height:1.15}.memory-board .memory-photo{object-fit:contain;width:calc(100% - 8px);height:calc(100% - 8px);inset:4px}.memory-board .memory-tile>img:not(.memory-photo){object-fit:contain;width:78%;height:78%}.memory-practice{width:100%;max-width:none;height:100%;padding:max(6px,env(safe-area-inset-top)) max(6px,env(safe-area-inset-right)) max(6px,env(safe-area-inset-bottom)) max(6px,env(safe-area-inset-left));flex-direction:column;gap:4px;display:flex}@media (orientation:landscape){.challenge-playing .memory-board-area .memory-board,.memory-practice .memory-board-area .memory-board{--memory-cols:var(--mem-cols-l,6);--memory-rows:var(--mem-rows-l,1)}}@media (width>=1024px) and (height>=601px){.challenge-playing .memory-board-area .memory-board{--memory-cols:var(--mem-cols-d,3);--memory-rows:var(--mem-rows-d,2)}}@media (orientation:landscape) and (height<=600px){.welcome-hero-inner{max-width:960px;padding:52px max(16px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left));grid-template-columns:minmax(0,.6fr) minmax(0,1fr);align-items:center;gap:20px;display:grid;overflow-y:auto}.welcome-hero-inner>div:last-child{margin:0}.welcome-hero-inner h1{font-size:28px}.welcome-hero-inner>div:last-child>p{font-size:14px}.welcome-hero-inner>div:last-child>button{min-height:44px;margin-top:12px;padding-block:8px}.jungle-pilot-control{width:56px;height:56px}.jungle-pilot-controls{padding-top:4px;padding-bottom:max(6px,env(safe-area-inset-bottom))}.reward-end-actions button,.reward-end-actions a,.arcade-play.arcade-play{min-height:44px}.ptp-shell-header{padding:max(6px,env(safe-area-inset-top)) 12px 8px;border-radius:0 0 16px 16px;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:4px 16px;display:grid}.ptp-shell-brand{grid-row:1/span 2;margin:0}.ptp-shell-header>h1{font-size:20px}.ptp-shell-header>p{grid-column:2;margin:0}.ptp-shell-main{padding:10px 12px}.challenge-topbar,.ptp-shop-header,.arcade-header{padding-top:max(2px,env(safe-area-inset-top));padding-bottom:2px}.challenge-stats{grid-template-columns:30px minmax(0,1fr);gap:6px}.challenge-stats-logo{width:30px;height:30px}.challenge-stat{padding:3px 8px}.challenge-stat-copy{flex-direction:row;align-items:center;gap:5px}.challenge-stat-label{font-size:11px}.challenge-stat-value{font-size:13px}.ptp-province-nav a{flex-direction:row;gap:5px}.ptp-province-nav{padding-block:2px}.ptp-province-nav .ptp-store-icon img{display:none}.coupons-header{min-height:0;padding:max(6px,env(safe-area-inset-top)) 12px 8px;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:12px;display:grid}.coupons-heading{margin:0}.coupons-heading h1{font-size:22px}.coupons-brand>img{width:34px;height:34px}.bubble-game .bubble-header{padding-top:max(2px,env(safe-area-inset-top));padding-bottom:2px}.bubble-game .bubble-title,.bubble-game .bubble-title strong{font-size:20px}.bubble-game .bubble-title span,.bubble-game .bubble-title strong{display:inline}.bubble-game .bubble-logo{height:30px}.bubble-game .bubble-stats{padding-bottom:3px}.bubble-game .bubble-stat{height:28px;font-size:13px}.maze-game .maze-hud{padding-top:max(2px,env(safe-area-inset-top));padding-bottom:2px}.maze-game .maze-stats{padding-block:0}.maze-game .maze-footer{padding-top:2px;padding-bottom:max(2px,env(safe-area-inset-bottom))}.maze-game .maze-footer button{width:44px;height:44px}.crossword-game .crossword-body{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:6px;display:grid}.crossword-game .crossword-controls{overscroll-behavior:contain;width:100%;min-width:0;min-height:0;padding-left:4px;padding-right:max(8px,env(safe-area-inset-right));justify-content:center;overflow-y:auto}.crossword-game .crossword-header{flex-shrink:0;padding-bottom:3px}.crossword-game .crossword-key{flex-shrink:0;height:44px}.crossword-game .crossword-board{--cw-cell:max(20px,min(36px,calc((100cqw - (var(--cw-cols) - 1)*2px)/var(--cw-cols)),calc((100cqh - (var(--cw-rows) - 1)*2px)/var(--cw-rows))))}.flow-game .flow-toolbar{gap:4px}.flow-game .flow-title,.flow-game .flow-title strong{font-size:20px}.flow-game .flow-title strong{margin-left:4px}.flow-game .flow-logo{width:40px}.flow-game .flow-stats{gap:4px}.flow-game .flow-stats>span{min-height:28px;padding-block:2px}.flow-game .flow-legend{width:94px;padding-block:4px}.flow-game .flow-legend-row{height:28px;font-size:12px}.flow-game .flow-legend-row>svg{flex-shrink:0;width:26px;height:26px}.flow-game .flow-legend-row span{white-space:nowrap}}.crossword-game .absolute.inset-0>.card-surface{max-height:calc(var(--vvh,100dvh) - 24px);overscroll-behavior:contain;overflow-y:auto}.jungle-pilot .jungle-pilot-hud{top:max(4px,env(safe-area-inset-top));left:max(6px,env(safe-area-inset-left));right:max(6px,env(safe-area-inset-right))}
