/* The opener occupies the visual viewport. Editing screens keep their own normal scrolling. */
body.welcome-open{overflow:hidden}#welcome{height:100vh;height:100dvh;width:100%;background:radial-gradient(ellipse at 50% 43%,#21172e,#121018 72%)}#welcome .welcome-inner{max-width:none;width:100%;height:100%;padding:0;margin:0}.welcome-screen{width:100%;height:100%;min-height:0}.cinema-screen{display:flex;flex-direction:column;padding:env(safe-area-inset-top) max(12px,env(safe-area-inset-right)) max(24px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left))}.cinema-stage{flex:1;min-height:0;width:100%;position:relative}.cinema-stage .opener-art{position:absolute;inset:0;display:block;width:100%;height:100%;max-width:none;border:0;margin:0;overflow:hidden}.cinema-actions{display:flex;flex-direction:column;align-items:center;gap:15px;flex-shrink:0;padding:0 12px 2vh;text-align:center}.cinema-invitation{font-size:clamp(13px,1.2vw,17px);color:#c9b6df;line-height:1.6}.cinema-actions>small{font-size:12px;color:#a899b8}.welcome-start{display:flex;gap:22px;align-items:center;justify-content:center;position:relative;isolation:isolate;min-height:60px;padding:17px 34px;border:1px solid #d3b6ff!important;border-radius:999px!important;font-size:18px!important;font-weight:700;background:linear-gradient(115deg,#8850e7,#aa6bed)!important;box-shadow:0 8px 32px #8947e85c;animation:welcome-breathe 2.8s ease-in-out infinite;max-width:100%}.welcome-start:after{content:'';position:absolute;inset:-6px;border:1px solid #bb8dff66;border-radius:inherit;pointer-events:none;animation:welcome-ring 2.8s ease-out infinite}.welcome-start:hover{animation-play-state:paused;background:#ac79f4!important}.welcome-start:focus-visible{outline:3px solid white;outline-offset:8px}.start-arrow{font-size:23px;animation:welcome-arrow 2.8s ease-in-out infinite}@keyframes welcome-breathe{0%,100%{box-shadow:0 8px 30px #8947e85c}50%{box-shadow:0 10px 42px #ab71f88c}}@keyframes welcome-ring{0%,15%{transform:scale(1);opacity:.65}85%,100%{transform:scale(1.075,1.25);opacity:0}}@keyframes welcome-arrow{0%,100%{transform:translateX(0)}50%{transform:translateX(4px)}}
.level-screen{display:flex;align-items:center;justify-content:center;padding:max(18px,env(safe-area-inset-top)) max(24px,env(safe-area-inset-right)) max(18px,env(safe-area-inset-bottom)) max(24px,env(safe-area-inset-left));overflow:auto;scrollbar-width:none}.level-screen::-webkit-scrollbar{display:none}.level-shell{width:min(960px,100%);margin:auto;display:flex;flex-direction:column;gap:22px;min-width:0}.welcome-route{display:flex;justify-content:space-between;align-items:center;color:#a290b6;font-size:12px}.welcome-route button{min-height:36px;padding:8px 0}.level-shell .welcome-copy{margin:0;text-align:center}.level-shell .welcome-copy h2{font-size:clamp(24px,3vw,34px);margin:9px 0 10px;line-height:1.25}.level-shell .welcome-copy p{margin:0;font-size:14px;line-height:1.5}.level-shell .level-options{gap:14px}.level-shell .level-options label{padding:24px;min-height:154px;justify-content:center;gap:10px}.level-shell .level-options strong{font-size:20px}.level-shell .level-options small{font-size:13px}.welcome-brief{display:flex;align-items:center;justify-content:space-between;gap:16px;border:1px solid #3c3048;border-radius:14px;background:#211a2a;padding:15px 20px;font-size:13px;color:#b9a9cb;line-height:1.65}.welcome-brief p{margin:0}.welcome-brief strong{color:#dbc5f4;font-weight:600}.welcome-brief button{white-space:nowrap;font-size:12px;min-height:40px}.level-shell .welcome-actions{margin:0;gap:12px}.level-shell .welcome-actions button{min-height:48px}.level-private{font-size:11px;color:#9989a8;text-align:center;margin:0}#welcomeTipsDialog{width:min(520px,92vw);max-height:85vh;overflow:auto}#welcomeTipsDialog .welcome-notices{border:0;padding:0;margin:20px 0 0;background:transparent}#closeWelcomeTips{min-height:44px}#levelHeading:focus{outline:none}
@media(max-width:600px){.cinema-screen{padding-bottom:max(25px,env(safe-area-inset-bottom))}.cinema-actions{gap:14px;padding-bottom:3vh}.welcome-start{font-size:16px!important;padding:16px 26px;min-height:56px}.cinema-invitation{font-size:12px}.cinema-actions>small{font-size:11px}.level-screen{padding:14px 16px}.level-shell{gap:15px}.welcome-route{font-size:11px}.level-shell .welcome-copy .eyebrow{font-size:10px}.level-shell .welcome-copy h2{font-size:24px;margin:6px 0 9px}.level-shell .welcome-copy p{font-size:12px}.level-shell .level-options{gap:9px;grid-template-columns:1fr}.level-shell .level-options label{padding:14px 40px 14px 46px;min-height:78px;gap:4px}.level-shell .level-options .level-number{left:15px;top:17px}.level-shell .level-options strong{font-size:16px}.level-shell .level-options small{font-size:12px}.level-shell .level-options input{right:16px;top:18px}.level-shell .level-name{display:none}.welcome-brief{font-size:11px;padding:10px 12px;gap:8px}.welcome-brief button{font-size:11px;min-height:36px;padding:0}.level-shell .welcome-actions{gap:8px}.level-shell .welcome-actions button{min-height:44px;padding:11px 15px;font-size:13px}.level-private{font-size:10px}}
@media(max-height:650px) and (orientation:portrait){.level-screen{padding:10px 14px}.level-shell{gap:10px}.welcome-route{font-size:10px}.welcome-route button{min-height:28px;padding:4px 0}.level-shell .welcome-copy .eyebrow{display:none}.level-shell .welcome-copy h2{font-size:22px;margin:0 0 6px}.level-shell .level-options label{min-height:65px;padding-top:10px;padding-bottom:10px}.level-shell .level-options{gap:7px}.level-shell .level-options strong{font-size:15px}.level-shell .level-options small{font-size:11px}.level-private{display:none}.welcome-brief{padding:8px 10px}.level-shell .welcome-actions{gap:6px}.level-shell .welcome-actions button{min-height:40px;padding:9px 12px}.cinema-actions{gap:10px;padding-bottom:0}.cinema-screen{padding-bottom:20px}}
@media(max-height:520px) and (orientation:landscape){.cinema-screen{padding-bottom:12px}.cinema-actions{gap:8px;padding:0}.cinema-invitation,.cinema-actions>small{display:none}.welcome-start{min-height:44px;padding:10px 25px;font-size:15px!important}.level-screen{padding:8px 20px}.level-shell{gap:9px;max-width:900px}.welcome-route{font-size:10px}.welcome-route button{min-height:25px;padding:2px 0}.level-shell .welcome-copy .eyebrow{display:none}.level-shell .welcome-copy h2{font-size:22px;margin:0 0 4px}.level-shell .welcome-copy p{font-size:11px}.level-shell .level-options{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.level-shell .level-options label{min-height:88px;padding:12px;gap:5px}.level-shell .level-options .level-number,.level-shell .level-options .level-name{display:none}.level-shell .level-options strong{font-size:14px;padding-right:14px}.level-shell .level-options small{font-size:11px;line-height:1.4}.level-shell .level-options input{top:9px;right:9px;width:14px;height:14px}.welcome-brief{padding:7px 12px;font-size:11px}.welcome-brief br{display:none}.welcome-brief strong{margin-right:10px}.welcome-brief button{min-height:28px}.level-shell .welcome-actions{flex-direction:row;gap:10px}.level-shell .welcome-actions button{width:auto;min-height:38px;font-size:12px;padding:8px 18px}.level-private{display:none}}
@media(prefers-reduced-motion:reduce){.welcome-start,.welcome-start:after,.start-arrow{animation:none!important}.welcome-start:after{display:none}}

@media(max-height:520px) and (orientation:portrait){.level-shell{gap:6px}.level-shell .level-options label{min-height:61px}.level-shell .level-options strong{line-height:1.2}.level-shell .level-options small{line-height:1.4}.welcome-brief{line-height:1.5;padding:7px 10px}}

/* Notice acknowledgment sits between the notice card and the start actions. */
.level-shell{gap:16px}.welcome-brief{display:block;padding:12px 16px;border-color:#a37ae4;background:linear-gradient(115deg,#30213f,#211929)}.welcome-tip-heading{margin-bottom:9px}.welcome-brief .notice-beacon{display:flex;align-items:center;gap:9px;width:100%;min-height:38px;padding:5px 8px;border:1px solid #c69bfc;border-radius:9px;background:#492b68;color:#fff;font-size:14px;font-weight:700;text-align:left;animation:notice-glow 2.5s ease-in-out infinite;white-space:normal}.notice-beacon>span{display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#ead7ff;color:#5c3182;font-size:16px;flex-shrink:0}.notice-beacon>b{margin-left:auto;font-size:11px;color:#ead5ff;white-space:nowrap}.notice-reviewed .notice-beacon{animation:none;background:#30213f}.tip-toolbar{display:flex;align-items:center;gap:10px;font-size:10px;color:#b9a7cb}.tip-toolbar>span:nth-child(2){margin-left:auto}.welcome-brief .tip-toolbar button,.modal-extra-tip .tip-toolbar button{min-height:28px;padding:3px 6px;background:transparent;border:1px solid #79618f;border-radius:6px;color:#ded0ef;font-size:10px;white-space:nowrap}.welcome-brief #welcomeRotatingTip{font-size:12px;line-height:1.6;min-height:2.2em;margin:5px 0 0;color:#ded1eb;word-break:keep-all}.welcome-read-row{display:flex;align-items:center;justify-content:center;gap:16px;flex-wrap:wrap}.welcome-read-row label{display:flex;align-items:center;gap:9px;min-height:32px;font-size:13px;color:#e7d7fa;cursor:pointer}.welcome-read-row input{width:20px;height:20px;accent-color:#aa78f0;flex-shrink:0}.welcome-read-row small{font-size:11px;color:#baacc9}.welcome-read-row label:has(input:disabled){color:#b9aac6}.level-shell .welcome-actions button:disabled{opacity:.45;cursor:not-allowed;filter:saturate(.4)}.modal-extra-tip{padding:14px;background:#30213f;border:1px solid #6e5289;border-radius:12px;margin:18px 0}.modal-extra-tip>strong{font-size:13px;color:#e3c9ff}.modal-extra-tip p{font-size:13px;line-height:1.6;min-height:3.2em}.modal-extra-tip small{color:#b9a7cb}.modal-extra-tip .tip-toolbar{justify-content:space-between}#closeWelcomeTips{position:static;width:100%}@keyframes notice-glow{0%,100%{box-shadow:0 0 0 1px #bd8bf52b,0 0 8px #a167e029}50%{box-shadow:0 0 0 2px #cba0fb70,0 0 20px #a167e066}}
@media(max-width:600px){.level-shell{gap:10px}.welcome-brief{padding:9px 10px}.welcome-brief .notice-beacon{font-size:12px;gap:6px;min-height:36px}.notice-beacon>b{font-size:10px}.welcome-tip-heading{margin-bottom:5px}.tip-toolbar{gap:5px;font-size:9px}.welcome-brief #welcomeRotatingTip{font-size:11px;min-height:3.2em;line-height:1.6}.welcome-read-row{gap:0;flex-direction:column;align-items:flex-start;padding:0 3px}.welcome-read-row label{font-size:12px;min-height:28px}.welcome-read-row small{font-size:10px;line-height:1.4}.welcome-read-row input{width:18px;height:18px}}
@media(max-height:650px) and (orientation:portrait){.level-shell{gap:7px}.level-shell .level-options label{min-height:57px;padding-top:8px;padding-bottom:8px}.level-shell .level-options strong{line-height:1.2}.level-shell .level-options small{line-height:1.3}.level-shell .welcome-copy p{display:none}.welcome-brief #welcomeRotatingTip{min-height:3.2em}.level-shell .welcome-actions button{min-height:36px;padding:7px 12px}.welcome-read-row small{font-size:9px}}
@media(max-height:540px) and (orientation:portrait){.level-shell{gap:6px}.level-shell .level-options small{display:none}.level-shell .level-options label{min-height:40px;padding-top:9px;padding-bottom:9px}.level-shell .level-options .level-number{top:12px}.level-shell .level-options input{top:11px}.level-shell .welcome-copy h2{font-size:21px}.welcome-route{min-height:24px}.welcome-brief{padding:7px 8px}.welcome-brief .notice-beacon{min-height:32px}.notice-beacon>span{width:18px;height:18px;font-size:13px}.welcome-read-row label{min-height:25px}}
@media(max-height:520px) and (orientation:landscape){.level-shell{gap:5px}.level-shell .welcome-copy p,.level-shell .level-options small{display:none}.level-shell .level-options label{min-height:40px;padding:9px 12px}.level-shell .level-options input{top:11px}.welcome-brief{padding:6px 10px}.welcome-tip-heading{margin:0}.welcome-brief .notice-beacon{min-height:30px;padding:2px 7px;font-size:12px}.welcome-brief #welcomeTipCard{display:flex;gap:10px;align-items:center}.welcome-brief #welcomeRotatingTip{font-size:10px;min-height:0;line-height:1.4;margin:3px 0;flex:1}.welcome-brief .tip-toolbar{flex-shrink:0;gap:5px}.welcome-brief .tip-toolbar>span:nth-child(2){display:none}.welcome-read-row{flex-direction:row;justify-content:space-between;gap:8px}.welcome-read-row label{font-size:11px;min-height:24px}.welcome-read-row input{width:16px;height:16px}.welcome-read-row small{font-size:9px}.level-shell .welcome-actions button{min-height:34px;padding:6px 16px}}
@media(prefers-reduced-motion:reduce){.welcome-brief .notice-beacon{animation:none!important}}
@media(max-height:540px) and (orientation:portrait){.level-shell{gap:4px}}
