/* Paint the complete web-app canvas, including iPhone status/home areas.
   Safe-area padding still belongs to controls; card and table metrics stay intact. */
html[data-web-scene]{
  background-color:#10091b;
  background-image:linear-gradient(90deg,#10091b85 0%,#160d2340 48%,#140b1e12 100%),url('./table/lounge.webp');
  background-position:center;
  background-size:cover;
  background-repeat:no-repeat;
  background-attachment:fixed;
}
html[data-web-scene="game"]{
  background-image:linear-gradient(180deg,#170f2380,#120b1dc2 65%,#100a18d9),url('./game-art/background.webp');
  background-position:center top;
}
html[data-web-scene] body{background:transparent;min-height:100vh;min-height:100dvh}
html[data-web-scene] .view{min-height:100vh;min-height:100dvh}
html[data-web-scene] #menu-screen{min-height:100vh;min-height:100dvh}
html[data-web-scene] #game-screen{background:transparent;min-height:100vh;min-height:100dvh}
@media(orientation:portrait){
  html[data-web-scene="game"]{background-image:linear-gradient(180deg,#170f2338,#120b1d66 65%,#100a1880),url('./game-art/background-portrait.webp')}
  html[data-web-scene="menu"]{background-position:65% center}
}
