/* PlayHub rework stage fill (8号, original, no deploy). 4号 shell: fills the empty sides of the player on landscape/desktop with the game's own cover.
   Needs per game: :root{--rw-cover:url(/img/art/<slug>/cover-16x9.webp)}. Selectors checked on https://8ba83d41.playhub9988.pages.dev game pages (#playerBox > #playerStage > #cwrap > canvas). */
#playerStage{background:linear-gradient(rgba(20,10,30,.45),rgba(20,10,30,.55)),var(--rw-cover,none) center/cover no-repeat,var(--rw-b,#27106C) !important;position:relative}
#playerStage::after{content:"";position:absolute;inset:0;pointer-events:none;backdrop-filter:blur(14px) saturate(1.2);-webkit-backdrop-filter:blur(14px) saturate(1.2);z-index:0}
#playerStage>#cwrap,#playerStage .canvas-wrap{position:relative;z-index:1;border-radius:18px;overflow:hidden;box-shadow:0 0 0 4px var(--rw-ink,#3A2414),0 0 60px 8px rgba(0,0,0,.45)}
@media (max-width:700px) and (orientation:portrait){#playerStage{background:var(--rw-b,#27106C) !important}#playerStage::after{display:none}#playerStage>#cwrap,#playerStage .canvas-wrap{border-radius:0;box-shadow:none}}
/* landscape phones (e.g. 640x360): header 62px + HUD 32px ate 26% of the height -> one 44px row + 22px HUD, game gets ~+15% */
@media (orientation:landscape) and (max-height:480px){.player-header{min-height:0 !important;height:44px !important;padding-top:0 !important;padding-bottom:0 !important}.player-header button{min-height:44px !important;min-width:44px !important;padding:0 10px !important}.player-header .title,.player-header h1,.player-header .ph-title{font-size:15px !important}.player-box .hud,#playerBox .hud{height:22px !important;min-height:0 !important;line-height:22px !important;font-size:12px !important}}
