:root{--tl:#2aa198;--ink:#0b1b22}*{box-sizing:border-box}[hidden]{display:none!important}body,html{margin:0;height:100%;background:var(--ink);overflow:hidden;font:15px/1.6 "Noto Sans JP",-apple-system,"Hiragino Kaku Gothic ProN",Meiryo,sans-serif;color:#fff;-webkit-tap-highlight-color:transparent;word-break:auto-phrase}body{display:flex;flex-direction:column;align-items:center;background:radial-gradient(ellipse at 50% 18%,#15303a,#070f14 72%)}.stage{position:relative;width:100%;max-width:min(100vw,calc((100dvh - 190px) * .75));aspect-ratio:3/4;flex:0 0 auto;background:#000;overflow:hidden}#gl{position:absolute;inset:0;width:100%;height:100%;display:block;touch-action:none}.hint{position:absolute;inset:0;display:grid;place-items:center;pointer-events:none;background:radial-gradient(ellipse at center,rgba(0,0,0,.05),rgba(0,0,0,.42));transition:opacity .35s}.hint.off{opacity:0}.hint-in{text-align:center;padding:0 24px;text-shadow:0 2px 14px rgba(0,0,0,.65)}.hint-ttl{font-size:20px;font-weight:800;letter-spacing:.04em}.hint-sub{margin-top:8px;font-size:13px;opacity:.92;line-height:1.75}.panel{width:100%;max-width:520px;flex:1 1 auto;display:flex;flex-direction:column;justify-content:center;gap:14px;padding:12px 16px calc(10px + env(safe-area-inset-bottom))}.frames{display:flex;gap:10px;justify-content:center;flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;padding:2px;scrollbar-width:none}.frames::-webkit-scrollbar{display:none}.chip{flex:0 0 auto;width:52px;height:69px;border-radius:9px;padding:0;cursor:pointer;border:2px solid rgba(255,255,255,.22);background:#13272f center/cover no-repeat;display:grid;place-items:center;color:#fff;font-size:11px;font-weight:700;line-height:1.3}.chip[aria-pressed=true]{border-color:var(--tl);box-shadow:0 0 0 2px rgba(42,161,152,.35)}.chip:active{transform:scale(.95)}.ui{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:0 10px}.icon{width:46px;height:46px;border:0;border-radius:50%;background:rgba(10,22,28,.6);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);display:grid;place-items:center;cursor:pointer}.icon svg{width:23px;height:23px;fill:#fff}.icon:active{transform:scale(.93)}.icon[aria-pressed=false] svg{fill:rgba(255,255,255,.35)}.shutter{width:72px;height:72px;border-radius:50%;border:4px solid rgba(255,255,255,.92);background:0 0;display:grid;place-items:center;cursor:pointer;padding:0;flex:0 0 auto}.shutter span{width:54px;height:54px;border-radius:50%;background:#fff;transition:all .18s}.shutter.rec span{width:28px;height:28px;border-radius:8px;background:#e04444}.shutter:active span{transform:scale(.92)}.preview{position:fixed;inset:0;background:rgba(6,14,18,.93);display:grid;place-items:center;z-index:30;padding:20px}.preview-box{width:100%;max-width:380px;text-align:center}.preview img,.preview video{width:100%;border-radius:12px;background:#000}.preview-btns{margin-top:14px;display:flex;gap:10px;justify-content:center;flex-wrap:wrap}.btn{display:inline-block;padding:11px 24px;border-radius:9px;border:0;cursor:pointer;background:var(--tl);color:#fff;font:inherit;font-weight:700;text-decoration:none}.btn-ghost{background:0 0;color:#fff;border:1px solid rgba(255,255,255,.4)}.err{position:fixed;inset:0;display:grid;place-items:center;padding:30px;text-align:center;background:var(--ink);z-index:40;font-size:14.5px;line-height:1.9}@media (max-height:680px){.panel{gap:10px;padding-top:8px}.chip{width:44px;height:58px}.shutter{width:64px;height:64px}.shutter span{width:48px;height:48px}}