body.starting{overflow:hidden}body.starting> :not(#startScreen):not(script){visibility:hidden}#startScreen{position:fixed;inset:0;z-index:10000;display:grid;place-items:center;background:#103d83;color:#fff3ce;isolation:isolate;overflow:hidden}#startScreen canvas{position:absolute;inset:0;width:100%;height:100%;image-rendering:pixelated;z-index:-2}#startScreen::after{content:'';position:absolute;inset:0;box-shadow:inset 0 0 100px #09295855;pointer-events:none;z-index:-1}.start-logo{position:absolute;top:28%;left:18%;right:18%;text-align:center;filter:drop-shadow(0 5px 0 #123b6d)}.start-logo p{color:#edf7ff;font-weight:bold;font-size:clamp(12px,2vw,20px);letter-spacing:.2em;margin:0 0 12px}.start-logo h1{font-family:'Yu Gothic',Meiryo,sans-serif;font-size:clamp(38px,7.5vw,86px);font-weight:900;line-height:1.3;margin:0;color:#fff0b7;text-shadow:2px 2px 0 #245489,-2px -2px 0 #245489;letter-spacing:.02em}.start-logo small{display:block;margin-top:12px;font-size:clamp(12px,1.6vw,17px);color:#edf7ff}.start-enter{position:absolute;bottom:max(38px,6%);left:50%;transform:translateX(-50%);border:2px solid #a7dbff;border-radius:99px;background:#123e7af5;color:#fff2cb;padding:13px 32px;min-height:52px;min-width:220px;font:700 18px 'Yu Gothic',Meiryo,sans-serif;box-shadow:0 5px 0 #102e60;cursor:pointer;white-space:nowrap}.start-enter:hover{background:#215dab}.start-enter:focus-visible{outline:3px solid #ffe09a;outline-offset:5px}.start-credit{position:absolute;bottom:max(8px,env(safe-area-inset-bottom));margin:0;font-size:11px;letter-spacing:.12em;color:#edf7ff}@media(orientation:portrait){.start-logo{left:14%;right:14%;top:29%}.start-logo h1{font-size:clamp(34px,9.5vw,70px)}.start-logo small{line-height:1.7;margin-top:14px}.start-enter{bottom:8%}}@media(max-height:440px){.start-logo{top:25%}.start-logo h1{font-size:42px}.start-logo p{margin-bottom:3px}.start-logo small{margin-top:3px}.start-enter{bottom:28px;padding:8px 26px;min-height:44px}}

@media(orientation:portrait){.start-logo{left:10%;right:10%;top:27%}.start-logo h1{font-size:clamp(40px,12vw,70px);line-height:1.16}.start-logo h1 span{display:block}.start-logo p{font-size:12px;letter-spacing:.08em}.start-enter{bottom:6%}}

/* Keep both actions within the visible mobile viewport, above browser/home controls. */
#startScreen{height:100vh;height:100dvh;bottom:auto}
#startScreen .start-enter{bottom:calc(env(safe-area-inset-bottom,0px) + clamp(84px,14dvh,150px));max-width:calc(100% - 40px);min-width:0;width:min(320px,80%)}
#startScreen .start-credit{bottom:calc(env(safe-area-inset-bottom,0px) + clamp(30px,6dvh,65px));max-width:calc(100% - 24px);text-align:center;font-size:12px}
#startScreen .start-credit a{display:inline-flex;align-items:center;min-height:44px;padding:0 6px}
@media(max-height:500px){#startScreen .start-logo{top:12%}#startScreen .start-logo h1{font-size:34px}#startScreen .start-logo p{font-size:10px;margin-bottom:2px}#startScreen .start-logo small{font-size:11px;margin-top:2px}#startScreen .start-enter{bottom:76px;padding:8px 20px;min-height:44px}#startScreen .start-credit{bottom:12px}}
