*{box-sizing:border-box}:root{color-scheme:dark;--gold:#ffdda0;--paper:#fff4d3;--navy:#101938;--wine:#a52133;--line:#c99b59}body{margin:0;background:#0c1433;color:var(--paper);font:500 16px/1.45 "Trebuchet MS",system-ui,sans-serif}button,a,input{font:inherit}button{cursor:pointer;color:inherit;touch-action:manipulation}button:disabled{cursor:default;opacity:.58}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #ffce66;outline-offset:3px}[hidden]{display:none!important}.sr{position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden}#arena{position:relative;isolation:isolate;min-height:520px;height:100svh;overflow:hidden}.scenery,.skyShade{position:absolute;inset:0;z-index:-2}.scenery{background:#10183a url(/assets/terrace.webp) center/cover no-repeat}.skyShade{z-index:-1;background:linear-gradient(0deg,#080c20ad,transparent 19%,transparent 78%,#080b2155)}
header,footer{position:absolute;left:0;right:0;display:flex;justify-content:space-between;align-items:center;gap:12px;z-index:3}header{top:0;padding:10px 4vw;background:linear-gradient(#0c112eee,transparent);min-height:58px}header button,footer button{border:0;background:transparent}header nav{display:flex;gap:clamp(12px,3vw,48px)}header nav button{font-size:15px;font-weight:700;color:#fff7df}
.brand{display:flex;align-items:center;gap:9px;text-align:left;padding:0}.brand strong{font:bold italic 31px Georgia,serif;color:#ffdc85;letter-spacing:-2px}.brand i{height:24px;width:1px;background:#dfb77799}.brand span{font-size:10px;letter-spacing:1px;font-weight:800;line-height:1.1}.identity,.secondary,.hintBar,.rackNav{border:1px solid #e2b877aa;background:linear-gradient(150deg,#282849f2,#121c3be8);box-shadow:inset 0 1px #fff6df19,0 4px 14px #050b1938}.identity{border-radius:22px;padding:6px 14px}.identity span{color:var(--gold)}#hero{position:absolute;top:11%;left:50%;width:min(68%,650px);height:25%;transform:translateX(-50%);text-align:center}h1,h2,h3,p{margin:0}#hero h1,#hero img{display:block;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 6px 5px #070b2899)}.customTitle{color:var(--gold);font:bold clamp(36px,7vw,95px)/1.05 Georgia}
#storefront,#picker{position:absolute;top:38%;bottom:9%;left:50%;transform:translateX(-50%);width:min(94%,1120px);display:flex;flex-direction:column;align-items:center;justify-content:end;gap:clamp(4px,1.15vh,12px)}
.homeShelf,.rack{flex:1;min-height:0;width:100%;display:flex;align-items:end;justify-content:center}.homeShelf,#choices{gap:clamp(15px,4vw,68px)}.rocketTile{border:0;background:transparent;position:relative;display:flex;align-items:end;justify-content:center;min-width:0;height:100%;padding:0 3px 5px;flex:0 0 auto;transition:transform .25s,opacity .25s}.rocketArt{position:relative;height:100%;aspect-ratio:204/678;display:block;filter:drop-shadow(0 6px 4px #070b25aa)}.rocketArt img{width:100%;height:100%;display:block}.rocketArt b{position:absolute;top:48.8%;left:50%;transform:translate(-50%,-50%);font:1000 clamp(19px,min(4.8vw,6.3vh),60px)/1 Georgia,serif;color:#392323;text-shadow:0 1px #fff9df;letter-spacing:-.06em;padding-right:.05em}.rocketTile:hover,.rocketTile:focus-visible{transform:translateY(-5px)}.rocketTile[aria-pressed=true] .rocketArt{filter:drop-shadow(0 0 2px #fffbba) drop-shadow(0 0 7px #ffc548) drop-shadow(0 0 12px #ff9c2f)}#choices:has([aria-pressed=true]) .rocketTile[aria-pressed=false]{opacity:.55}
.hintBar{border-radius:10px;color:#ffe7ae;padding:5px 17px;font-size:clamp(13px,1.2vw,17px);font-weight:bold;text-align:center}.hintBar:before{content:'✦';margin-right:8px;color:#f9ca6c}.actions{display:flex;align-items:center;justify-content:center;gap:10px}.primary,.secondary,.quiet{border-radius:24px;padding:10px 23px;font-weight:800;min-height:41px}.primary{background:linear-gradient(#e45446,#b62131 76%);border:2px solid #ffd58c;box-shadow:inset 0 1px #fff6ce80,0 3px #761d32,0 6px 13px #16112388;color:#fff5d9}.primary:hover,.secondary:hover,.rackNav:hover{filter:brightness(1.12)}.primary:active{transform:translateY(2px)}
#picker{top:36%}#chooseTitle{font:700 clamp(17px,2.8vh,26px) Georgia;text-shadow:0 2px 6px #070d22}.rack{gap:10px;align-items:stretch;min-height:0}.rackNav{align-self:center;flex:none;height:40px;width:40px;border-radius:50%;font:700 27px/1 Georgia}.rackNav:disabled{visibility:hidden}#choices{width:auto;max-width:calc(100% - 106px);display:flex;justify-content:safe center;align-items:end;height:100%;overflow-x:auto;overflow-y:hidden;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#bc915d #0a193340;padding:6px 9px 4px}.rack #choices .rocketTile{height:100%;min-width:36px}.preparing .rocketTile{animation:reveal .5s ease-out both}@keyframes reveal{from{transform:translateY(16px);opacity:.25}}
footer{bottom:0;border-top:1px solid #e9be744f;min-height:42px;padding:6px 3vw;background:#09102cdd;backdrop-filter:blur(4px);color:#ddcfbf;font-size:12px}.sessionInfo,.footTools{display:flex;align-items:center;gap:clamp(6px,1.25vw,22px)}.sessionInfo b,footer button{color:#f6dfae}.sessionInfo i{display:inline-block;border-radius:50%;width:6px;height:6px;background:#ffd17d;vertical-align:middle}.footTools button{padding:4px;font-size:12px}.footTools #sound{border:1px solid #efc78970;border-radius:50%;width:30px;height:30px}
#launchScene{position:absolute;inset:8% 0 7%;overflow:visible}#launchUnit{position:absolute;height:49%;bottom:16%;left:50%;aspect-ratio:204/678;transform:translateX(-50%);transform-origin:center center}#launchUnit .rocketArt b{font-size:clamp(26px,7vh,68px)}.fuse{position:absolute;top:77%;left:71%;width:54%;height:7%;border:solid #e9bf78;border-width:0 0 4px 4px;border-radius:0 0 0 100%;transform:rotate(9deg);filter:drop-shadow(0 2px #5c3826)}#spark{position:absolute;left:118%;top:80%;font:800 clamp(18px,4vh,38px)/1 Georgia;color:#fffad3;text-shadow:0 0 6px #ffd34d,0 0 14px #ff861b;opacity:.85}.exhaust{display:none;position:absolute;left:33%;width:34%;height:62%;top:82%;background:linear-gradient(#fff9c7,#ffc240 26%,#ff742a80 70%,transparent);clip-path:polygon(10% 0,90% 0,65% 52%,49% 100%,30% 48%);filter:drop-shadow(0 0 7px #ff9b31)}#launchScene.liftoff .exhaust{display:block}#launchScene.liftoff :is(.fuse,#spark){visibility:hidden}#launchControls{position:absolute;bottom:0;left:0;right:0;display:flex;flex-direction:column;align-items:center;gap:9px}#fireworks{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}body:is([data-screen=flight],[data-screen=burst],[data-screen=result]) #hero{display:none}body:is([data-screen=flight],[data-screen=burst]) header{visibility:hidden}body[data-screen=burst] .footTools{visibility:hidden}
dialog{color-scheme:light;color:#462d33;width:min(420px,92vw);max-height:88svh;overflow:auto;padding:29px;border:2px solid #c5934d;border-radius:18px;background:radial-gradient(ellipse at top,#fffdf0,#ffedc7);box-shadow:inset 0 0 0 4px #fff6e0,0 20px 75px #05091eb0}dialog::backdrop{background:#050b265e;backdrop-filter:blur(2px)}.close{position:absolute;right:8px;top:6px;background:none;border:0;color:#693c34;font-size:26px}.kicker{font-size:11px;letter-spacing:1.6px;font-weight:800;color:#966026}.dialogTitle{font:800 32px/1.12 Georgia;margin:6px 0 13px;color:#79243a}dialog p{margin:7px 0}dialog label{display:block;font-weight:bold;font-size:14px;margin-top:9px}dialog input{color:#322230;width:100%;background:#fff9ed;border:1px solid #c9aa80;border-radius:7px;padding:9px 12px}.form .primary,.reward .primary{width:100%;margin-top:7px}.textBtn{margin:7px auto 0;display:block;border:0;background:none;color:#6c4938;text-decoration:underline;font-size:14px;cursor:pointer}.quiet{background:#fff6dc;color:#6e3635;border:1px solid #be9663}.helpList{padding-left:22px}.helpList li{margin:7px 0}.publicCatalog{list-style:none;padding:0}.publicCatalog li{display:flex;align-items:center;gap:12px;border-bottom:1px solid #dfcfab;padding:5px}.publicCatalog img{width:47px;height:43px;object-fit:contain}.reward{text-align:center;overflow:visible}.ribbon{color:#fff2c4;text-transform:uppercase;display:inline-block;position:relative;top:-15px;padding:7px 24px;margin-top:-40px;border:2px solid #e5aa59;border-radius:40% 40% 12% 12% / 25% 25% 12% 12%;box-shadow:0 3px #7c2d32;background:linear-gradient(#df503e,#ab2336);text-shadow:0 2px #8f2930;font:900 clamp(29px,5vw,47px)/1 Georgia;transform:rotate(-3deg)}.rewardLead{font-weight:bold;margin:-4px 0 4px}.prizeDisplay{height:clamp(100px,21vh,170px);background:radial-gradient(ellipse,#ffda8a99,transparent 70%)}.prizeArt{height:100%;width:92%;object-fit:contain;filter:drop-shadow(0 3px 4px #a8783936)}.prizeTitle{font:800 27px Georgia;color:#75253b}.receipt,.error{font-size:14px}.error{color:#ad283e}.error:empty{display:none}.receiptCode,.serviceList a,.serviceList span{display:block;text-align:center;border:1px solid #d4b381;border-radius:8px;padding:8px;background:#fff8e5;color:#633c31}.serviceList{display:grid;gap:6px;margin:10px 0}.serviceList a{background:#285d51;color:white;text-decoration:none}.modalActions{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin-top:11px}.receiptLogo{width:min(60%,190px);display:block;margin:auto}#toast{position:absolute;z-index:8;left:50%;bottom:12%;transform:translateX(-50%);background:#231b31;color:white;padding:8px 13px;border:1px solid #d2aa68;border-radius:8px}
@media(max-aspect-ratio:1/1){.scenery{background-position:52% center}#hero{top:17%;width:90%;height:20%}#storefront,#picker{top:43%;bottom:15%}.homeShelf,#choices{gap:clamp(6px,2vw,15px)}.homeShelf{max-height:33svh}.homeShelf .rocketTile{height:min(100%,69vw)}#choices .rocketTile{max-height:min(100%,64vw)}.rack{gap:2px}#choices{max-width:calc(100% - 52px);padding-inline:3px}.rackNav{width:23px;height:32px;font-size:21px}.rocketArt b{font-size:clamp(16px,5.6vw,34px)}header{gap:5px;padding:8px 3vw}header nav{gap:3px}header nav button{font-size:12px;padding:5px}.brand strong{font-size:24px}.brand i,.brand span{display:none}.identity{font-size:12px;padding:5px 8px}.actions{flex-wrap:wrap;gap:6px}.primary,.secondary{font-size:14px;padding:8px 16px}.sessionInfo,.footTools{justify-content:center;flex-wrap:wrap;gap:3px 12px}footer{flex-direction:column;gap:2px;font-size:11px;padding:3px}.footTools time,.footIdentity{display:none}#launchUnit{height:44%;bottom:22%}.hintBar{padding:4px 10px}#launchControls{bottom:9%}.footTools #sound{width:24px;height:24px}.footTools button{font-size:11px}}
@media(max-height:540px){#arena{min-height:320px}header{min-height:30px;padding-block:4px}footer{min-height:22px;padding-block:0}#hero{top:11%;height:22%}#storefront,#picker{top:32%;bottom:9%;gap:3px}.primary,.secondary{min-height:28px;padding:4px 11px;font-size:13px}.hintBar{font-size:12px;padding:2px 9px}#chooseTitle{font-size:15px}.footTools #sound{height:22px;width:22px}.reward{padding:16px}.prizeDisplay{height:73px}.ribbon{font-size:27px;top:-3px}.receipt{margin:2px}#launchUnit{height:50%}}
body.embeddedPreview :is(header,footer,#mainStart){display:none}body.embeddedPreview #arena{min-height:0}body.embeddedPreview #hero{top:3%;height:26%;width:90%}body.embeddedPreview #storefront,body.embeddedPreview #picker{top:32%;bottom:4%}body.embeddedPreview .homeShelf{max-height:38svh}body.embeddedPreview .hintBar{font-size:12px}body.embeddedPreview .rocketArt b{font-size:clamp(10px,4vw,20px)}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation-duration:.01s!important}}
.rocketTile:before{content:'';position:absolute;z-index:-1;bottom:1px;left:20%;right:20%;height:6px;border-radius:50%;background:radial-gradient(ellipse,#361d23 25%,#ab7543 47%,#633925 70%);box-shadow:0 3px 0 #4b2d29,0 5px 5px #12102f98}.rocketTile{isolation:isolate}
@media(max-aspect-ratio:1/1){.scenery{background-image:url('/assets/terrace-mobile.webp');background-position:center}}
/* The guide and the four rockets share a baseline on the festival terrace. */
.welcomeStage {
  position: relative;
  flex: 1;
  min-height: 0;
  width: 100%;
  display: flex;
  align-items: stretch;
}
.festivalGuide {
  position: absolute;
  left: 0;
  bottom: -4%;
  width: 29%;
  height: 134%;
  object-fit: contain;
  object-position: center bottom;
  pointer-events: none;
  transform-origin: 48% 100%;
  animation: guideWelcome .65s ease-out both;
}
.welcomeStage .homeShelf {
  flex: none;
  margin-left: 29%;
  width: 67%;
  gap: clamp(7px, 3vw, 54px);
}
@keyframes guideWelcome {
  from { opacity: 0; transform: translateX(-8px); }
  to { opacity: 1; transform: translateX(0); }
}
@media (max-aspect-ratio: 1/1) {
  .festivalGuide { width: 46%; height: 125%; left: -4%; bottom: -3%; }
  .welcomeStage .homeShelf {
    align-self: flex-end;
    width: 69%;
    margin-left: 31%;
    gap: 1vw;
    height: min(100%, 46vw);
  }
  .welcomeStage .rocketTile { height: 100%; flex: 1 1 0; padding-inline: 0; }
  .welcomeStage .rocketArt { max-width: 100%; }
  .welcomeStage .rocketArt b { font-size: clamp(14px, 4vw, 26px); }
}
@media (prefers-reduced-motion: reduce) {
  .festivalGuide { animation: none; }
}
