/* Supplied poster background; interactive balls still use the game's renderer. */
#game-ui[hidden]{display:none}
#start-screen{
  --paper:#e9dfcf;
  position:fixed;inset:0;z-index:10;isolation:isolate;overflow:hidden;
  color:var(--ink);direction:rtl;user-select:none;-webkit-user-select:none;
  -webkit-touch-callout:none;overscroll-behavior:none;
  font-family:"Baloo Bhaijaan 2",Tahoma,sans-serif;
}
#start-balls{position:absolute;z-index:1;cursor:grab;touch-action:none}
#start-balls.dragging{cursor:grabbing}
.start-backdrop{
  position:absolute;inset:0;z-index:0;width:100%;height:100%;
  object-fit:contain;object-position:center;background:#eee6d8;
  pointer-events:none;
}
.start-actions{
  position:absolute;z-index:2;left:20px;right:20px;top:54%;
  display:flex;flex-direction:column;align-items:center;gap:12px;
  pointer-events:none;
}
#start-play{
  display:flex;align-items:center;justify-content:center;gap:15px;
  min-width:218px;min-height:68px;padding:10px 26px;
  border:3px solid var(--paper);border-radius:999px;
  background:var(--ink);color:#fffaf2;cursor:pointer;touch-action:manipulation;
  font:800 26px/1.3 "Baloo Bhaijaan 2",Tahoma,sans-serif;
  box-shadow:0 7px 0 rgba(44,45,61,.22),0 12px 30px rgba(44,45,61,.2);
  pointer-events:auto;animation:start-button-in .45s cubic-bezier(.18,.9,.25,1.3) both;
}
#start-play svg{width:25px;height:25px;flex:none}
#start-play:hover{background:#3b3d51}
#start-play:active{transform:translateY(3px);box-shadow:0 3px 0 rgba(44,45,61,.22)}
#start-play:focus-visible{outline:3px solid var(--ink);outline-offset:5px}
.start-brand{
  position:absolute;z-index:2;bottom:calc(18px + env(safe-area-inset-bottom,0px));
  left:0;right:0;margin:0;text-align:center;pointer-events:none;
  font:700 11px/1.2 "Grandstander",sans-serif;letter-spacing:.18em;direction:ltr;
}
.start-brand span{display:inline-block;padding:7px 11px;border-radius:999px;background:var(--paper)}
.start-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@keyframes start-button-in{from{opacity:0;transform:translateY(15px) scale(.86)}to{opacity:1;transform:none}}
@media(max-height:480px){
  .start-actions{top:57%}
  #start-play{min-height:58px;font-size:23px}
  .start-brand{bottom:calc(8px + env(safe-area-inset-bottom,0px))}
}
@media(prefers-reduced-motion:reduce){#start-play{animation:none}}
