/* Loading page: the game logo, three feature cards, the max-win plaque and the PLAY dial over the painted city.
   It sits under the provider opening; PLAY lights up once the game reports ready. Positions are in design units of a
   360x640 column, or of a 640x360 box on short landscape screens; loadpage.js scales the box to the viewport (--k). */
@font-face{font-family:'LP Fell SC';src:url('../delivery-fonts/f0f85c4edd2c3dc659db.woff2') format('woff2');font-display:block}
@font-face{font-family:'LP Alegreya';src:url('../delivery-fonts/2431eca3ed8ed66e713c.woff2') format('woff2');font-weight:400 900;font-display:block}

.lp{position:fixed;inset:0;z-index:9990;overflow:hidden;background:#0b0e15;color:#f3e6c8;
  opacity:1;transition:opacity 340ms ease;touch-action:manipulation;-webkit-user-select:none;user-select:none;
  -webkit-tap-highlight-color:transparent}
.lp.lp-out{opacity:0;pointer-events:none}
.lp-bg{position:absolute;inset:0;background:#0b0e15 url('room.c435beaadd.webp') 57% 50%/cover no-repeat}
.lp-bg::after{content:"";position:absolute;inset:0;
  background:radial-gradient(ellipse 70% 62% at 50% 52%,rgba(9,12,20,.35),rgba(9,12,20,.82) 100%)}

.lp-box{position:absolute;left:50%;top:50%;width:360px;height:640px;
  transform:translate(-50%,-50%) scale(var(--k,1));transform-origin:50% 50%}
.lp.lp-land .lp-box{width:640px;height:360px}

.lp-logo{position:absolute;left:85px;top:4px;width:190px;height:auto;filter:drop-shadow(0 6px 14px rgba(0,0,0,.6))}
.lp.lp-land .lp-logo{left:70px;top:6px;width:180px}

.lp-cards{position:absolute;left:8px;top:204px;margin:0;padding:0;list-style:none;display:flex;gap:7px;--cw:110px}
.lp.lp-land .lp-cards{left:318px;top:16px;gap:6px;--cw:100px}
.lp-card{position:relative;width:var(--cw);height:calc(var(--cw) * 1.4);
  background:url('card.d8a5b0e00a.webp') center/100% 100% no-repeat;filter:drop-shadow(0 5px 10px rgba(0,0,0,.55))}
.lp-card img{position:absolute;left:12%;top:17.5%;width:76%;height:auto}
.lp-card b{position:absolute;left:8%;right:8%;top:69.5%;text-align:center;white-space:nowrap;
  font:400 calc(var(--cw) * .118)/1 'LP Fell SC',Georgia,serif;color:#f1d79a;letter-spacing:.02em;
  text-shadow:0 1px 0 rgba(0,0,0,.7)}
.lp-card i{position:absolute;left:7%;right:7%;top:80.5%;text-align:center;font-style:normal;
  font:500 calc(var(--cw) * .086)/1.15 'LP Alegreya',Georgia,serif;color:#e7dcc4}

.lp-max{position:absolute;left:25px;top:372px;width:310px;height:110px;
  background:url('plaque.726dc87046.webp') center/100% 100% no-repeat;filter:drop-shadow(0 6px 12px rgba(0,0,0,.55))}
.lp.lp-land .lp-max{left:20px;top:196px;width:280px;height:99.6px}
.lp-max small,.lp-max em{position:absolute;left:15.8%;right:15.9%;text-align:center;white-space:nowrap;font-style:normal}
.lp-max small{top:26%;font:400 14.5px/1 'LP Fell SC',Georgia,serif;color:#4a200b;letter-spacing:.16em}
.lp-max em{top:41%;font:800 33px/1 'LP Alegreya',Georgia,serif;color:#2b1608;letter-spacing:.01em}
.lp.lp-land .lp-max small{font-size:13px}
.lp.lp-land .lp-max em{font-size:30px}

.lp-play{position:absolute;left:112px;top:494px;width:136px;height:137.6px;padding:0;border:0;border-radius:50%;
  background:url('play.fa29b36718.webp') center/100% 100% no-repeat;cursor:pointer;color:#f6e7c4;
  filter:drop-shadow(0 8px 16px rgba(0,0,0,.6));transition:filter 300ms ease}
.lp.lp-land .lp-play{left:396px;top:180px;width:150px;height:151.8px}
.lp-play b{position:absolute;inset:0;display:grid;place-items:center;
  font:400 31px/1 'LP Fell SC',Georgia,serif;letter-spacing:.06em;text-shadow:0 2px 3px rgba(0,0,0,.8);
  transition:opacity 300ms ease}
.lp.lp-land .lp-play b{font-size:34px}
.lp-play:disabled{cursor:default;filter:drop-shadow(0 8px 16px rgba(0,0,0,.6)) saturate(.55) brightness(.72)}
.lp-play:disabled b{opacity:.42}
/* load progress: a thin gold arc just inside the brass bezel */
.lp-ring{position:absolute;inset:17.5%;border-radius:50%;pointer-events:none;
  background:conic-gradient(#e8c278 calc(var(--p,0) * 1%),rgba(232,194,120,.14) 0);
  -webkit-mask:radial-gradient(farthest-side,transparent calc(100% - 4px),#000 calc(100% - 3px));
  mask:radial-gradient(farthest-side,transparent calc(100% - 4px),#000 calc(100% - 3px));transition:opacity 300ms ease}
.lp.lp-ready .lp-ring{opacity:0}
/* ready: the dial's own brass ring is lit and dimmed (the painted ring cut from the dial, lit),
   the button box never moves */
.lp-play::after{content:"";position:absolute;inset:0;pointer-events:none;background:url('/games/atlas-preview-73b5d763d1/assets/fix186/play-ring.47c37cb689.webp') center/100% 100% no-repeat;opacity:0}
.lp.lp-ready .lp-play::after{animation:lp-rim 2.4s ease-in-out infinite}
.lp-play:focus-visible{outline:2px solid #f6c86b;outline-offset:4px}
@keyframes lp-rim{0%,100%{opacity:0}50%{opacity:.6}}

@media (prefers-reduced-motion:reduce){.lp.lp-ready .lp-play::after{animation:none;opacity:.35}.lp{transition:none}}

/* the game boots unseen under the page; once PLAY is pressed the entry card it presses stays invisible */
body.lp-on #game{visibility:hidden!important}
body.lp-used #game .a2-entry-overlay,body.lp-used #game .a2-entry-card{visibility:hidden!important}

/* with the loading page present the provider opening matches the studio splash: navy field, no captions */
body.lp-on .oc-startup{background:radial-gradient(ellipse at 50% 46%,#232c3e 0,#161b27 46%,#0b0e15 86%)}
body.lp-on .oc-startup-status,body.lp-on .oc-startup-skip{display:none}
