body{font-family:var(--font);background:var(--ink);color:var(--fg);margin:0}#app{padding:16px}.game{--hand-height:190px;--accent:#e0a000;background:var(--ink);touch-action:none;-webkit-user-select:none;user-select:none;position:fixed;inset:0;overflow:hidden}.score,.controls{top:calc(8px + env(safe-area-inset-top,0px));box-sizing:border-box;border:1px solid var(--line);background:var(--panel);height:44px;color:var(--fg);font-family:var(--font);border-radius:999px;align-items:center;display:flex;position:absolute}.score{pointer-events:none;font-variant-numeric:tabular-nums;gap:10px;padding:0 14px 0 8px;left:12px}.controls{right:12px}.stones,.laid{align-items:center;gap:6px;display:flex}.score .count{font-size:18px;font-weight:700;line-height:1}.stones img{width:28px;height:28px}.score .bar{background:var(--line-2);width:1px;height:18px}.laid .tile{background:linear-gradient(160deg, var(--stone-a), var(--stone-b));width:16px;height:16px;box-shadow:0 0 0 1px var(--line-2);border-radius:3px}.laid .record{color:var(--muted);font-size:11px;font-weight:500;line-height:1}@media (width<=359px){.laid .record .word{display:none}}.controls button{width:44px;height:44px;color:var(--fg);background:0 0;border:0;border-radius:50%;place-items:center;padding:0;display:grid}.controls button:focus-visible{outline:2px solid var(--water);outline-offset:-2px}.controls svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;pointer-events:none;width:20px;height:20px}.hint{pointer-events:none;left:50%;top:calc(64px + env(safe-area-inset-top,0px));background:var(--panel);width:max-content;max-width:calc(100% - 48px);color:var(--fg);font-family:var(--font);text-align:center;border-radius:12px;padding:8px 12px;font-size:13px;position:absolute;transform:translate(-50%)}.hint.bad{color:var(--bad)}.hint:empty{display:none}@media (width>=720px){.score,.controls{top:calc(14px + env(safe-area-inset-top,0px))}.score{left:16px}.controls{right:16px}.hint{top:calc(18px + env(safe-area-inset-top,0px));max-width:calc(100% - 460px)}}.hand{border-top:1px solid #0000;padding:12px 24px 24px;position:absolute;bottom:0;left:0;right:0}.letters{flex-wrap:wrap;justify-content:center;gap:8px;min-height:52px;margin:0 auto;display:flex}.letter,.ghost{box-sizing:border-box;background:linear-gradient(160deg, var(--stone-a), var(--stone-b));width:52px;height:52px;box-shadow:0 0 0 1px var(--line), 0 6px 18px #0006;color:var(--rune);text-shadow:0 0 4px var(--cyan);font-family:var(--font);-webkit-touch-callout:none;border-radius:4px;place-items:center;font-size:clamp(15px,5vw,28px);font-weight:700;display:grid}.letter{transition:transform .12s,box-shadow .12s;position:relative}[data-stones]:after{content:attr(data-stones);font:500 10px/1 var(--font);color:var(--lantern);text-shadow:none;position:absolute;bottom:4px;right:5px}@media (hover:hover){.letter:hover{box-shadow:0 0 0 1.5px var(--cyan), 0 0 14px #5ff2e673, 0 8px 18px #0006;transform:translateY(-5px)}}.letter.selected{outline:2px solid var(--cyan);outline-offset:2px;transform:translateY(-3px)}.letter.held{visibility:hidden}.ghost{width:46px;height:46px;box-shadow:0 0 0 1.5px var(--cyan), 0 0 16px #5ff2e680, 0 10px 22px #00000080;pointer-events:none;border-radius:5px;font-size:26px;position:absolute;top:0;left:0}.ghost[hidden],.move[hidden]{display:none}@media (pointer:coarse),(width<=640px){.letters{max-width:272px;min-height:48px}.letter{width:48px;height:48px;font-size:26px}}.move{pointer-events:auto;gap:6px;display:flex;position:absolute;top:0;left:0}.move button{box-sizing:border-box;background:var(--panel);width:44px;height:44px;color:var(--fg);border:1px solid #0000;border-radius:50%;place-items:center;padding:0;display:grid;box-shadow:0 6px 18px #0006}.move button[data-action=check]{border-color:var(--water);background:var(--water);color:var(--ink)}.move button:focus-visible{outline:2px solid var(--water);outline-offset:2px}.move svg{fill:none;stroke:currentColor;stroke-width:2.6px;stroke-linecap:round;stroke-linejoin:round;pointer-events:none;width:20px;height:20px}.tools{justify-content:space-between;align-items:flex-end;gap:8px;max-width:610px;min-height:60px;margin:0 auto 8px;display:flex}.tools button{min-height:44px;box-shadow:none;color:var(--muted);font:inherit;font-family:var(--font);background:0 0;border:8px solid #0000;border-radius:999px;padding:0 12px;font-size:13px}.tools button:focus-visible{outline:2px solid var(--water);outline-offset:-6px}.overlay{z-index:10;background:var(--veil);color:var(--fg);font-family:var(--font);touch-action:none;place-items:center;padding:16px;display:grid;position:fixed;inset:0}.dialog{box-sizing:border-box;border:1px solid var(--line);background:var(--deep);border-radius:18px;flex-direction:column;gap:12px;width:min(100%,420px);max-height:calc(100dvh - 32px);padding:28px 24px 24px;display:flex;overflow-y:auto}.dialog h2,.dialog h3,.dialog p,.dialog ul{margin:0}.dialog .note{color:var(--muted);font-size:13px}.choices{grid-template-columns:repeat(auto-fill,minmax(44px,1fr));gap:6px;display:grid}.choices.wide{grid-template-columns:1fr 1fr}.dialog button{min-height:48px;color:var(--fg);font:500 15px/1 var(--font);background:#ffffff14;border:1px solid #0000;border-radius:999px;padding:0 24px}.dialog button.main,.dialog button.take,.dialog .choices.wide button:only-child{border-color:var(--water);background:var(--water);color:var(--ink);font-weight:600}.dialog button:disabled{opacity:.4}.dialog button:focus-visible{outline:2px solid var(--water);outline-offset:2px}.dialog:has(>.choices.wide>button:only-child){grid-template-columns:1fr 1fr;display:grid}.dialog:has(>.choices.wide>button:only-child)>h2{grid-column:1/-1}.dialog:has(>.choices.wide>button:only-child)>.choices{display:contents}.dialog:has(>.choices.wide>button:only-child)>.choices button{order:2}.overlay.voice{place-items:end center;padding:0}.overlay.voice .dialog{height:min(560px,100dvh);padding:16px 24px calc(20px + env(safe-area-inset-bottom,0px));border-bottom:0;border-radius:28px 28px 0 0;position:relative;box-shadow:inset 0 1px #ffffff0f,0 -20px 50px #00000073}.overlay.voice .dialog.pictured{padding-inline:16px}.voice-art{object-fit:cover;object-position:50% 40%;border-radius:24px;flex:0 auto;width:100%;height:200px;min-height:96px;display:block}.voice-art[hidden]{display:none}.overlay.voice .dialog:not(.pictured):before{content:"";background:var(--line-2);border-radius:2px;flex:none;align-self:center;width:36px;height:4px;margin-bottom:8px}@media (width>=720px){.overlay.voice{place-items:center;padding:16px}.overlay.voice .dialog{border-bottom:1px solid var(--line);border-radius:28px;height:min(560px,100dvh - 32px);padding-bottom:24px;box-shadow:inset 0 1px #ffffff0f,0 20px 50px #00000073}.overlay.voice .dialog.pictured{padding-bottom:20px}.overlay.voice .dialog:before{display:none}}.dialog .over{color:var(--muted);font:500 11px/1 var(--font);letter-spacing:.01em;text-align:center}.dialog h2.word,.dialog h2.phrase{color:var(--rune);font:600 clamp(34px, 13vw, 48px) / 1 var(--font);letter-spacing:.04em;text-align:center;text-shadow:0 0 18px #ffffff59;overflow-wrap:anywhere}.dialog h2.phrase{letter-spacing:0;text-wrap:balance;font-size:clamp(22px,7.5vw,30px);line-height:1.2}.dialog h2.phrase.long{font-size:clamp(17px,5vw,20px);line-height:1.3}.voice-body{min-height:0;color:var(--muted);font:400 13px/1.45 var(--font);text-align:center;flex-direction:column;flex:1;gap:10px;display:flex;overflow-y:auto}.voice-body .notice{color:var(--fg)}.pictured .voice-body{justify-content:safe center;align-items:center;gap:8px}.pictured .voice-body:has(>.listen){gap:16px}.voice-body .goal{color:var(--fg);font:400 16px/1.3 var(--font);letter-spacing:.01em;text-wrap:balance}.dialog h2.outcome{color:var(--fg);font:600 32px/1.2 var(--font)}.voice-body .grade{color:var(--fg);font:400 16px/1.45 var(--font)}.voice-body a.voice-app{box-sizing:border-box;background:var(--app-row);height:60px;color:var(--fg);font:400 15px/1.3 var(--font);text-align:left;border-radius:16px;flex:none;align-self:stretch;align-items:center;gap:12px;margin-top:4px;padding:8px 14px 8px 8px;text-decoration:none;display:flex}.voice-app img{object-fit:cover;border-radius:10px;flex:none;width:41px;height:44px}.voice-app span{flex:1;min-width:0}.voice-app svg{fill:none;width:18px;height:18px;stroke:var(--muted);stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none}.voice-app:focus-visible{outline:2px solid var(--water);outline-offset:2px}.voice-actions{flex-direction:column;gap:8px;display:flex}.voice-row{justify-content:center;align-items:center;gap:30px;min-height:94px;display:flex}.voice-row:empty{display:none}.voice-row:has(>button.round.main){grid-template-columns:44px 80px 44px;justify-content:center;display:grid}.voice-row:has(>button.round.main)>button{grid-row:1}.voice-row>.side.left{grid-column:1}.voice-row>.main{grid-column:2}.voice-row>.side.right{grid-column:3}.voice-row:has(>button.main:not(.round)){gap:12px;min-height:0}.voice-row>button.main:not(.round){flex:1}.dialog button.round{border-radius:50%;flex:none;place-items:center;width:44px;height:44px;min-height:44px;padding:0;display:grid}.round svg{pointer-events:none;width:20px;height:20px}.round svg.filled{fill:currentColor}.round svg.lined{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round}.dialog .voice-row button.round.main{border-color:var(--line-2);width:80px;height:80px;color:var(--water);background:#ffffff14;position:relative;box-shadow:0 0 0 7px #ffffff0f,0 0 14px #ffffff59}.voice-row button.main svg:not(.ring){width:30px;height:30px}.dialog .voice-row button.main.on,.dialog .voice-row button.main.send{border-color:var(--water);background:var(--water);color:var(--ink)}.dialog .voice-row button.main.send{box-shadow:0 0 0 7px #ffffff12,0 0 22px #ffffff59}.voice-row .ring{fill:none;width:calc(100% + 16px);height:calc(100% + 16px);stroke:var(--water);stroke-width:2px;stroke-dasharray:276.5;stroke-dashoffset:276.5px;animation:ring var(--limit,15s) linear forwards;position:absolute;inset:-8px;rotate:-90deg}@keyframes ring{to{stroke-dashoffset:0}}.dialog .voice-row button.main.wait{box-shadow:none;color:var(--muted);opacity:1;background:0 0}.voice-row button.main.wait:after{content:"";border:2px solid #0000;border-top-color:var(--water);border-radius:50%;animation:1s linear infinite spin;position:absolute;inset:-1px}@keyframes spin{to{rotate:360deg}}.dialog button.bare{color:var(--muted);background:0 0}.dialog button.close,.dialog button.corner{position:absolute;top:10px;right:10px}.dialog.pictured button.close{color:var(--fg);top:16px;right:24px}.dialog button.corner{left:10px;right:auto}.dialog button.quiet{min-height:44px;color:var(--muted);background:0 0;padding:0 12px;font-size:13px}.overlay.settings{place-items:end center;padding:0}.overlay.settings .dialog{padding:16px 24px calc(28px + env(safe-area-inset-bottom,0px));border-bottom:0;border-radius:28px 28px 0 0;box-shadow:inset 0 1px #ffffff0f,0 -20px 50px #00000073}.overlay.settings .dialog:before{content:"";background:var(--line-2);border-radius:2px;flex:none;align-self:center;width:36px;height:4px;margin-bottom:12px}.overlay.settings .dialog button.quiet{align-self:center;margin-top:-2px}@media (width>=720px){.overlay.settings{place-items:center;padding:16px}.overlay.settings .dialog{border-bottom:1px solid var(--line);border-radius:18px;padding-bottom:24px}.overlay.settings .dialog:before{display:none}}.ear-choices{gap:10px;display:grid}.overlay.voice .dialog:has(.ear-choices) .voice-body{margin-top:22px}@media (width>=720px){.overlay.voice .dialog:has(.ear-choices) .voice-body{margin-top:46px}}.voice-body:has(>.ear-choices){font-size:14px}.voice-body:has(>.ear-choices)>p:first-child{font:500 16px/1.45 var(--font)}.dialog .ear-choices button{border-radius:14px;min-height:56px;font-size:18px}.dialog .ear-choices.long button{padding:10px 16px;font-size:15px;line-height:1.35}@media (prefers-reduced-motion:reduce){.voice-row .ring{stroke-dashoffset:0;animation:none}.voice-row button.main.wait:after{animation:none}.voice-body .timer.sr-only{clip-path:none;width:auto;height:auto;color:var(--fg);position:static;overflow:visible}}.voice-body .marks{font:600 18px/1.6 var(--font)}.voice-body .marks.long{font-size:15px;line-height:1.5}.dialog .mark.green{color:var(--ok)}.dialog .mark.yellow{color:var(--shaky)}.dialog .mark.red{color:var(--err)}.dialog .mark.none{color:var(--muted)}.dialog .gain{color:var(--lantern);font:700 22px/1 var(--font);text-shadow:0 0 16px #a8d96a99;justify-content:center;align-items:center;gap:5px;margin-top:6px;display:flex}.dialog .gain img{width:26px;height:26px}.overlay.result{padding:0}.overlay.result .dialog{width:100%;height:100%;max-height:none;padding:40px 16px calc(16px + env(safe-area-inset-bottom,0px));border:0;border-radius:0;gap:20px}.overlay.result .top{text-align:center;flex-direction:column;align-items:center;gap:12px;display:flex}.overlay.result .total{color:var(--lantern);font:700 44px/1 var(--font);text-shadow:0 0 16px #a8d96a99;justify-content:center;align-items:center;gap:8px;display:flex}.overlay.result .total img{width:40px;height:40px}.dialog button.place{background:var(--fill);align-items:center;gap:6px;min-height:44px;padding:0 12px 0 16px;display:inline-flex}.overlay.result svg.lined{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none}.dialog button.place svg{width:16px;height:16px;stroke:var(--muted)}.overlay.result h3{font:600 32px/1.2 var(--font)}.overlay.result .middle{flex-direction:column;gap:16px;display:flex}.overlay.result ul{flex-direction:column;gap:10px;padding:0;list-style:none;display:flex}.overlay.result li{background:var(--fill);border-radius:16px;flex-direction:column;gap:6px;padding:14px 16px;display:flex}.overlay.result li>span:first-child{overflow-wrap:anywhere;font:600 22px/1.2 var(--font)}.overlay.result .said[data-colour=green]{color:var(--ok)}.overlay.result .said[data-colour=yellow]{color:var(--shaky)}.overlay.result .said[data-colour=red]{color:var(--err)}.overlay.result .said[data-colour=none]{color:var(--muted)}.overlay.result .how{font:400 16px/1.3 var(--font)}.overlay.result a.app{background:radial-gradient(circle at 48px 50%, var(--app-glow) 0%, transparent 130px), var(--app-row);min-height:84px;color:var(--fg);border-radius:20px;flex:none;align-items:center;gap:12px;margin-top:10px;padding:12px 12px 12px 94px;text-decoration:none;display:flex;position:relative}.overlay.result a.app img{object-fit:cover;border-radius:16px;width:68px;height:72px;position:absolute;top:-10px;left:14px;transform:rotate(-7deg);box-shadow:0 10px 22px #00000080}.overlay.result a.app>span:not(.arrow){flex-direction:column;flex:1;gap:4px;min-width:0;display:flex}.overlay.result a.app .name{color:var(--fg-soft);font:400 13px/1.2 var(--font);letter-spacing:.02em}.overlay.result a.app .line{color:var(--water);font:500 15px/1.3 var(--font);text-wrap:balance}.overlay.result a.app .arrow{box-sizing:border-box;border:1px solid var(--fg-faint);width:44px;height:44px;color:var(--water);border-radius:50%;flex:none;place-items:center;display:grid}.overlay.result a.app .arrow svg{width:18px;height:18px}.overlay.result a.app:focus-visible{outline:2px solid var(--water);outline-offset:2px}.overlay.result .game-number{text-align:center;font-size:12px;line-height:1.4}@media (width>=720px){.overlay.result{padding:16px}.overlay.result .dialog{border:1px solid var(--line);border-radius:28px;gap:28px;width:min(100%,1000px);height:auto;max-height:calc(100dvh - 32px);padding:40px;box-shadow:inset 0 1px #ffffff0f,0 20px 50px #00000073}.overlay.result .middle{align-items:center;gap:20px}.overlay.result ul{grid-template-columns:repeat(3,1fr);align-self:stretch;gap:12px;display:grid}.overlay.result .middle button.main{min-width:280px}.overlay.result a.app{align-self:center;width:min(100%,420px)}}.overlay.rating{padding:0}.overlay.rating .dialog{width:100%;height:100%;max-height:none;padding:56px 16px calc(20px + env(safe-area-inset-bottom,0px));border:0;border-radius:0;gap:24px;position:relative}.overlay.rating h2{font:600 32px/1.2 var(--font);text-align:center}.overlay.rating ol{flex-direction:column;gap:4px;margin:0;padding:0;list-style:none;display:flex}.overlay.rating li{border-radius:16px;align-items:center;gap:12px;min-height:52px;padding:0 16px;display:flex}.overlay.rating li.mine{background:var(--fill)}.overlay.rating .place{min-width:20px;color:var(--muted);font:400 15px/1 var(--font);flex:none}.overlay.rating .name{min-width:0;font:400 16px/1.3 var(--font);text-overflow:ellipsis;white-space:nowrap;flex:1;overflow:hidden}.overlay.rating .stones{font:700 16px/1 var(--font);flex:none;align-items:center;gap:5px;display:flex}.overlay.rating .stones img{width:20px;height:20px}.overlay.rating li.mine .place{color:var(--fg)}.overlay.rating li.mine .name{font-weight:600}.overlay.rating li.mine .stones{color:var(--lantern)}.overlay.rating .note{text-align:center;line-height:1.4}@media (width>=720px){.overlay.rating{padding:16px}.overlay.rating .dialog{border:1px solid var(--line);border-radius:28px;width:min(100%,480px);height:auto;max-height:calc(100dvh - 32px);padding:32px 24px 28px;box-shadow:inset 0 1px #ffffff0f,0 20px 50px #00000073}}.sr-only{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.tools button.fan{width:78px;height:60px;min-height:0;box-shadow:none;background:0 0;border:0;border-radius:10px;flex:none;padding:0;position:relative}.tools button.fan:focus-visible{outline-offset:2px}.fan[hidden]{display:none}.fan img{transform-origin:50% 130%;width:32px;height:51px;transform:rotate(var(--r));border-radius:4px;margin-left:-16px;position:absolute;bottom:3px;left:50%;box-shadow:0 2px 8px #0000008c,0 0 0 1px #17131fb3}.fan img.new{animation:.35s both card-pop}@keyframes card-pop{0%{transform:rotate(var(--r)) translateY(18px);opacity:0}}.overlay.dark{background:#080618bd;animation:.25s both veil-in}@keyframes veil-in{0%{opacity:0}}.overlay.dark .dialog>h2{font:600 24px/1.2 var(--font);color:var(--fg);text-align:center}.overlay.dark .choices:not(.wide) button{border-radius:10px;padding:0;font-size:18px;font-weight:700}.overlay.dark .cards{perspective:900px;justify-content:safe center;gap:clamp(14px,5vw,30px);display:flex}.overlay.dark .dialog button.card{aspect-ratio:5/8;width:min(38vw,180px);min-height:0;transform-style:preserve-3d;background:0 0;border:0;border-radius:12px;flex:none;padding:0;transition:transform .55s cubic-bezier(.2,.8,.2,1),filter .2s;position:relative}.overlay.dark .card:not(.shown){transform:rotateY(180deg)translateY(36px)}.overlay.dark .card.shown{transform:rotate(var(--tilt,0deg))}.overlay.dark .card.shown.on{transform:translateY(-10px)scale(1.05)}.overlay.dark .card.shown.off{filter:brightness(.55)saturate(.6)}.overlay.dark .card img{backface-visibility:hidden;border-radius:12px;width:100%;height:100%;position:absolute;inset:0;box-shadow:0 10px 30px #00000080}.overlay.dark .card.on .face{box-shadow:0 0 0 2px var(--cyan), 0 0 26px #5ff2e680, 0 10px 30px #00000080}.overlay.dark .card .back{transform:rotateY(180deg)}.overlay.dark .info{box-sizing:border-box;text-align:center;overflow-wrap:break-word;background:#0e0b24;border:1px solid #efe7d259;border-radius:10px;width:100%;padding:12px 16px 14px}.overlay.dark .info h2{color:var(--paper);margin:0;font:700 24px/1.1 Georgia,Times New Roman,serif}.overlay.dark .info .rule{max-width:190px;color:var(--cyan);align-items:center;gap:8px;margin:8px auto;font-size:11px;display:flex}.overlay.dark .info .rule:before,.overlay.dark .info .rule:after{content:"";opacity:.5;background:currentColor;flex:1;height:1px}.overlay.dark .info .does{text-wrap:pretty;margin:0;font-size:14px;line-height:1.4}.overlay.dark .info .state{color:var(--cyan);margin:8px 0 0;font-size:12.5px}.overlay.chest{padding:calc(16px + env(safe-area-inset-top,0px)) 16px calc(16px + env(safe-area-inset-bottom,0px));place-items:safe center;overflow-y:auto}.overlay.chest .dialog{background:0 0;border:0;justify-items:center;gap:16px;width:min(100%,460px);max-height:none;padding:0;display:grid;overflow:visible}.overlay.sheet{place-items:end center;padding:0}.overlay.sheet .dialog{width:min(100%,480px);max-height:100dvh;padding:10px 14px calc(16px + env(safe-area-inset-bottom,0px));border-bottom:0;border-radius:18px 18px 0 0;align-items:center;gap:12px;animation:.3s cubic-bezier(.2,.8,.2,1) both sheet-up}@keyframes sheet-up{0%{transform:translateY(100%)}}.overlay.sheet .dialog:before{content:"";background:var(--line);border-radius:2px;flex:none;width:44px;height:4px}.overlay.sheet h3{letter-spacing:.08em;text-transform:uppercase;color:var(--muted);font-size:12px}.overlay.sheet .cards{box-sizing:border-box;touch-action:pan-x;flex:none;gap:12px;width:calc(100% + 28px);margin:-2px -14px -32px;padding:8px 14px 40px;overflow-x:auto}.overlay.sheet .dialog button.card{width:min(28vw,140px)}.overlay.sheet .card.shown.on{transform:translateY(-3px)scale(1.03)}.overlay.sheet .card.shown.off{filter:brightness(.82)saturate(.85)}.overlay.sheet .info{background:0 0;border:0;padding:0 4px}.overlay.sheet .row{gap:8px;display:flex}@media (prefers-reduced-motion:reduce){.fan img.new,.overlay.dark,.overlay.sheet .dialog{animation:none}.overlay.dark .dialog button.card{transition:none}}.login{background:linear-gradient(var(--veil), var(--veil)), url(/menu/main-picture-phone.webp) center / cover no-repeat var(--ink);justify-content:center;align-items:flex-end;display:flex;position:fixed;inset:0}.login .sheet{box-sizing:border-box;width:min(100%,420px);max-height:100dvh;padding:16px 24px calc(40px + env(safe-area-inset-bottom,0px));border:1px solid var(--line);background:var(--deep);color:var(--fg);font-family:var(--font);border-bottom:0;border-radius:28px 28px 0 0;flex-direction:column;gap:12px;display:flex;overflow-y:auto;box-shadow:inset 0 1px #ffffff0f,0 20px 50px #00000073}.login .sheet:before{content:"";background:var(--line-2);border-radius:2px;flex:none;align-self:center;width:36px;height:4px;margin-bottom:12px}@media (width>=720px){.login{background-image:linear-gradient(var(--veil), var(--veil)), url(/menu/main-picture-wide.webp);align-items:center}.login .sheet{border-bottom:1px solid var(--line);border-radius:18px;max-height:calc(100dvh - 32px);padding-bottom:24px}.login .sheet:before{display:none}}.login input[type=text],.login input[type=email]{box-sizing:border-box;width:100%;height:52px;color:var(--fg);font:400 16px/1 var(--font);background:#ffffff12;border:1px solid #0000;border-radius:16px;outline:0;padding:0 16px}.login input::placeholder{color:var(--muted);opacity:.8}.login input[type=text]:focus,.login input[type=email]:focus{border-color:var(--water);box-shadow:0 0 14px #ffffff59}.login .consent-row{flex-wrap:wrap;align-items:center;gap:4px 12px;margin-top:6px;display:flex}.login .consent{min-height:44px;font:400 14px/1.4 var(--font);align-items:center;gap:12px;display:flex}.login .consent input{appearance:none;border:1px solid var(--line-2);border-radius:6px;flex:none;width:22px;height:22px;margin:0}.login .consent input:checked{border-color:var(--water);background:var(--water) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d0a26' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat}.login .consent input:focus-visible{outline:2px solid var(--water);outline-offset:2px}.login button.main{border:1px solid var(--water);background:var(--water);min-height:52px;color:var(--ink);font:600 15px/1 var(--font);border-radius:999px;margin-top:8px}.login button.main:disabled{opacity:.4}.login .note{color:var(--muted);font:400 12px/1.45 var(--font);margin:0}.login button.link{min-height:44px;color:var(--muted);font:400 13px/1 var(--font);text-underline-offset:3px;background:0 0;border:0;align-self:flex-start;padding:0;text-decoration:underline}.login button:focus-visible{outline:2px solid var(--water);outline-offset:2px}.dialog .game-number{overflow-wrap:anywhere}@font-face{font-family:Onest;font-weight:600;font-display:swap;src:url(/fonts/Onest-SemiBold.ttf)}@font-face{font-family:Onest;font-weight:700;font-display:swap;src:url(/fonts/Onest-Bold.ttf)}:root{--ink:#0d0a26;--deep:#29243d;--panel:#29243dd1;--veil:#080618a8;--line:#a096ff42;--line-2:#a096ff80;--fg:#ece9ff;--muted:#a8a3d6;--water:#fff;--lantern:#e6f5a0;--cyan:#5ff2e6;--bad:#ff8fa3;--ok:#3cdc87;--shaky:#f5ca48;--err:#f94c4c;--stone-a:#625c9e;--stone-b:#3a3566;--rune:#f4fffe;--paper:#efe7d2;--fill:#ffffff12;--fg-soft:#ece9ffc7;--fg-faint:#ece9ff4d;--app-row:#070515;--app-glow:#ffa03c4d;--font:Onest, "Avenir Next", "Segoe UI", system-ui, sans-serif}.fly{z-index:4;pointer-events:none;font-family:var(--font);color:var(--rune);text-shadow:0 0 10px var(--cyan);font-size:26px;font-weight:700;position:fixed;top:0;left:0}.fly.warm{color:#ffd38a;text-shadow:0 0 12px #ffd38a}.board{background-color:#ececec;background-image:linear-gradient(90deg,#ddd 1px,#0000 1px),linear-gradient(#ddd 1px,#0000 1px);background-size:48px 48px;position:absolute;top:0;left:0}.board>*{box-sizing:border-box;width:48px;height:48px;position:absolute}.tile{background:#bdbdbd;border:1px solid #8f8f8f;border-radius:4px;place-items:center;font-size:22px;font-weight:600;display:grid}.tile.pending{background:#fff;border:2px dashed #6d6d6d}.tile.pending.held{visibility:hidden}.tile.pending.shake{animation:.32s ease-in-out shake}@keyframes shake{0%,to{translate:0}25%{translate:-5px}50%{translate:5px}75%{translate:-3px}}@media (prefers-reduced-motion:reduce){.tile.pending.shake{animation:none}}.blocked{background:#4a4a4a}.object{text-align:center;background:#fff;border:2px solid #7a7a7a;flex-direction:column;justify-content:center;align-items:center;font-size:10px;line-height:1.15;display:flex}.object.done{border-color:var(--accent);background:#fff3cf}.object.shoal{background:0 0;border:none}.hero{pointer-events:none;background:#2b2b2b content-box content-box;border:10px solid #0000;border-radius:50%;top:0;left:0}.board-over{pointer-events:none;position:absolute;top:0;left:0}.board-over>*{position:absolute;top:0;left:0}.aim{box-sizing:border-box;border:3px solid var(--accent);border-radius:4px;width:48px;height:48px}.aim[hidden]{display:none}.aim.no{background:linear-gradient(45deg,#0000 46%,#555 46% 54%,#0000 54%),linear-gradient(-45deg,#0000 46%,#555 46% 54%,#0000 54%);border-color:#555}.game canvas.scene{touch-action:none;pointer-events:none;width:100%;height:100%;display:block;position:absolute;inset:0}@font-face{font-family:Onest;font-weight:400;font-display:swap;src:url(/fonts/Onest-Regular.ttf)}@font-face{font-family:Onest;font-weight:500;font-display:swap;src:url(/fonts/Onest-Medium.ttf)}.menu{color:#ece9ff;background:#0d0a26;font-family:Onest,Avenir Next,system-ui,sans-serif;position:fixed;inset:0;overflow:hidden}.menu-art img,.menu-live{object-fit:cover;width:100%;height:100%;position:absolute;inset:0}.menu:before{content:"";z-index:1;pointer-events:none;background:linear-gradient(#060516c7,#06051600 37%),radial-gradient(70% 36% at 0 78%,#060516e6,#0605169e 45%,#06051600);position:absolute;inset:0}.menu>:not(.menu-art){z-index:2;position:absolute}.menu-title{margin:0;line-height:0;top:12.8%;left:32px}.menu-title img{width:min(300px,100vw - 64px)}.menu-title:after{content:"";background:linear-gradient(90deg,#fff,#fff0);width:56px;height:1px;margin-top:20px;display:block}.menu-list{flex-direction:column;display:flex;bottom:max(164px,20%);left:32px}.menu-item{color:#ece9ffc7;letter-spacing:.01em;cursor:pointer;background:0 0;border:0;align-items:center;gap:16px;height:56px;padding:0;font:400 24px/1 Onest,Avenir Next,system-ui,sans-serif;transition:color .2s,text-shadow .2s;display:flex}.menu-item i{box-sizing:border-box;border:1px solid #ece9ff8c;width:9px;height:9px;transition:background .2s,box-shadow .2s;transform:rotate(45deg)}.menu-item:first-child,.menu-item:enabled:hover,.menu-item:focus-visible{color:#fff;text-shadow:0 0 14px #fff9;outline:0}.menu-item:first-child i,.menu-item:enabled:hover i,.menu-item:focus-visible i{background:#fff;border-color:#fff;box-shadow:0 0 14px #ffffffb3}.menu-item:enabled:active{opacity:.55}.menu-item:disabled{color:#ece9ff66;cursor:default}.menu-app{align-items:center;gap:12px;text-decoration:none;display:flex;bottom:28px;left:32px;right:24px}.menu-app>svg{fill:#fff;width:30px;height:30px}.menu-app i{box-sizing:border-box;border:1px solid #ece9ff4d;border-radius:50%;place-items:center;width:44px;height:44px;margin-left:auto;display:grid}.menu-app i svg{fill:none;stroke:#fff;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:18px;height:18px}.menu-app:focus-visible i,.menu-app:hover i{border-color:#fff}.menu-app span{flex-direction:column;gap:6px;display:flex}.menu-app b{color:#fff;font:500 15px/1 Onest,Avenir Next,system-ui,sans-serif}.menu-app small{color:#ece9ffb8;font-size:12px;line-height:1}.menu-lang{align-items:center;display:flex;top:16px;right:16px}.menu-lang button{color:#fff;letter-spacing:.04em;background:0 0;border:0;min-width:44px;height:44px;padding:0 8px;font:400 13px/1 Onest,Avenir Next,system-ui,sans-serif}.menu-lang button[aria-pressed=false]{color:#ece9ff73}.menu-lang i{background:#ece9ff4d;width:1px;height:12px}@media (aspect-ratio>=1){.menu:before{background:linear-gradient(90deg,#060516db,#06051699 26%,#06051600 56%)}.menu-title{top:27%;left:7.5%}.menu-title img{width:min(460px,36vw)}.menu-title:after{width:84px;margin-top:30px}.menu-list{top:49%;bottom:auto;left:7.5%}.menu-item{gap:18px;height:66px}.menu-app{bottom:44px;left:7.5%;right:auto}.menu-app i{margin-left:12px}.menu-lang{top:28px;right:40px}}@media (prefers-reduced-motion:reduce){.menu-item,.menu-item i{transition:none}}
