:root{color-scheme:dark;background:#000}*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:clip}body{display:grid;place-items:center}#home-stage{position:relative;width:min(100vw,calc(100svh * 1344 / 752));aspect-ratio:1344/752;overflow:clip;isolation:isolate;transition:opacity .18s}img{user-select:none;pointer-events:none}.layer,#home-clouds{position:absolute;display:block}#home-clouds{inset:0;width:100%;height:100%;pointer-events:none}.home-choice{position:absolute;border:0;padding:0;background:none;cursor:pointer}.home-choice img{position:absolute;display:block}.over{opacity:0}.home-choice:is(:hover,:focus-visible) .over{opacity:1}.home-choice:is(:hover,:focus-visible) .off{opacity:0}.home-choice:focus{outline:0}.home-choice[aria-disabled=true]{cursor:not-allowed}.leaving #home-stage{opacity:1}.sr-only{position:absolute;width:1px;height:1px;overflow:clip;clip-path:inset(50%);white-space:nowrap}@media(prefers-reduced-motion:reduce){#home-stage{transition:none}}

.home-logo-video{position:absolute;display:block;left:11.458333%;top:-9.807181%;width:78.571429%;height:78.989362%;object-fit:contain;pointer-events:none;opacity:0}.logo-animated .logo{visibility:hidden}.logo-animated .home-logo-video{opacity:1}

.home-logo-video{filter:url(#logo-palette-video)}.logo{filter:url(#logo-palette-still)}

.home-logo-final{position:absolute;left:11.458333%;top:-9.807181%;width:78.571429%;height:78.989362%;object-fit:contain;pointer-events:none;opacity:0;filter:url(#logo-palette-video)}.logo-finished .logo{visibility:hidden}.logo-finished .home-logo-final{opacity:1}


#home-stage[data-pad-choice] .home-choice{outline:none}
#home-stage[data-pad-choice] .home-choice .off{opacity:1}
#home-stage[data-pad-choice] .home-choice .over{opacity:0}
#home-stage[data-pad-choice] .home-choice:focus .off{opacity:0}
#home-stage[data-pad-choice] .home-choice:focus .over{opacity:1}

@font-face {
  font-family: 'Studio Bebas';
  src: url('assets/fonts/BebasNeue-Regular.ttf') format('truetype');
  font-display: swap;
}
#studio-opening {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: grid;
  place-items: center;
  background: #000;
  color: #fff;
}
.studio-frame {
  position: relative;
  width: var(--game-frame-width);
  height: var(--game-frame-height);
  display: grid;
  place-items: center;
  container-type: inline-size;
}
#studio-mark {
  position: absolute;
  left: 21.302083%;
  top: 42.87037%;
  width: 57.395833%;
  transform: scale(.575);
}
#studio-credit { transform: scale(.5); }
#studio-mark:not([src]) { visibility: hidden; }
#studio-credit {
  margin: 0;
  text-align: center;
  font: 400 clamp(13px, 1.6cqw, 32px)/1.4 system-ui, sans-serif;
}
#studio-credit strong {
  display: block;
  margin-top: .12em;
  font: 400 clamp(34px, 5.3cqw, 108px)/1.1 'Studio Bebas', sans-serif;
}

#studio-mark { opacity: 0; }
#studio-mark.studio-reveal { animation: studio-logo-in 1.1s ease-out .45s both; }
@keyframes studio-logo-in { from { opacity: 0; } to { opacity: 1; } }
