:root{--accent: #ff7ac6;--button-gold-bg: linear-gradient(180deg, #ff9ed6 0%, #ff7ac6 55%, #e85aae 100%);--button-bg: #24223fe8;--ink: #24112e;--sheet-color: #24223f;--sheet-bg: linear-gradient(#3a2b4c, #24223f);--sheet-radius: 24px;--pill-border: #ff7ac6aa;--page-edge: #11152c;--page-bg: radial-gradient(ellipse at 50% 0, #53436b, #11152c 70%) #11152c;--game: #ff7ac6}canvas#game{position:fixed;left:0;top:0;width:100%;height:100dvh;touch-action:none}.board-flash{position:fixed;inset:0;z-index:1;opacity:0;pointer-events:none}body:after{content:"";position:fixed;inset:0;z-index:1;pointer-events:none;opacity:0;transition:opacity .6s;background:radial-gradient(ellipse at 50% 50%,#7ec4ff22 20%,#3d8fe08c 70%,#1f58b8e0)}body.slow:after{opacity:1;transition-duration:.15s;animation:chill-in .5s ease-out}@keyframes chill-in{0%{background-color:#e8f6ffb3}to{background-color:#e8f6ff00}}#hud{position:fixed;z-index:2;top:calc(var(--sat) + 8px);left:16px;right:16px;display:grid;grid-template-columns:44px 1fr 44px;align-items:start;pointer-events:none}#hud button{pointer-events:auto}#hud-mid{text-align:center;line-height:1;justify-self:center;display:flex;align-items:center;gap:12px;padding:4px 20px;border-radius:40px;background:#24223f}#score{font:800 34px/1 "Baloo 2",system-ui,sans-serif;color:#ff7ac6;min-width:40px}#hud-best{display:flex;flex-direction:column;align-items:center;gap:1px;font:800 20px/1 "Baloo 2",system-ui,sans-serif;color:#fff2e4;padding-left:12px;border-left:1px solid #ff7ac666}#hud-best[hidden]{display:none}#hud-best small{font:700 10px/1 "Baloo 2",system-ui,sans-serif;letter-spacing:.08em;text-transform:uppercase;color:#ff7ac6}#chips{position:absolute;top:56px;left:0;right:0;display:flex;justify-content:center;gap:8px}#combo{position:fixed;z-index:2;left:0;right:0;text-align:center;font:800 26px/1 "Baloo 2",system-ui,sans-serif;color:#ffe066;-webkit-text-stroke:.16em #2a1a10;paint-order:stroke fill;pointer-events:none}#combo-flash{position:fixed;z-index:1;inset:0;pointer-events:none;background:radial-gradient(closest-side,#ffd23a00 45%,#ffd23acc 130%)}#combo-flash[hidden]{display:none}.chip{display:inline-flex;align-items:center;gap:8px;padding:4px 6px 4px 4px;border-radius:40px;background:#24223f;box-shadow:0 0 0 2px #7ec4ff,0 0 18px #7ec4ff88;color:#fff3d6;font:800 17px/1 "Baloo 2",system-ui,sans-serif;white-space:nowrap}.chip img{width:30px;height:30px;object-fit:contain}.chip b{display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:#7ec4ff;color:#16243f;font-size:16px}.float{position:fixed;z-index:2;translate:-50% -50%;font:800 34px/1 "Baloo 2",system-ui,sans-serif;color:#ff7ac6;-webkit-text-stroke:5px #24112e;paint-order:stroke fill;pointer-events:none;animation:float-up .7s ease-out forwards}@keyframes float-up{0%{transform:translateY(0) scale(.7);opacity:1}25%{transform:translateY(-16px) scale(1.15)}to{transform:translateY(-64px) scale(1);opacity:0}}.logo{display:block;flex:none;width:min(300px,80vw);height:auto;overflow:visible}:root:not(.ready) #menu{visibility:hidden}.home{--m: 16px;--g: clamp(12px, 2.4dvh, 24px);--no: #ff8a7a;--gold: #f5c518;position:fixed;z-index:3;inset:0;box-sizing:border-box;display:grid;grid-template-rows:1fr;gap:var(--g);padding:calc(var(--sat) + var(--m)) 0 calc(var(--sab) + var(--m));background:#11152c8c;-webkit-backdrop-filter:blur(14px) saturate(1.3);backdrop-filter:blur(14px) saturate(1.3)}.home[hidden]{display:none}.corner-l,.corner-r{position:absolute;z-index:1;top:calc(var(--sat) + var(--m))}.corner-l{left:var(--m)}.corner-r{right:var(--m)}.corner-row{display:flex;gap:8px}:is(#settings,#menu-install) svg{fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}dialog#account-menu{height:fit-content}dialog .feedback-field{border-color:color-mix(in srgb,var(--accent) 60%,transparent);background:var(--page-edge)}.c-hero{position:relative;min-height:0;display:flex;flex-direction:column;align-items:center;padding:56px var(--m) 0}.c-text{display:contents}.pop-title{order:0;flex:none;display:grid;justify-items:center;width:min(300px,100vw - 2 * var(--m) - 40px,40dvh);margin:0;container-type:inline-size}.pop-title .logo-box,.pop-title .logo{width:100%}.pop-word{margin-top:-1cqi;font:800 15cqi/1 "Baloo 2",system-ui,sans-serif;letter-spacing:2cqi;color:#ff7ac6;-webkit-text-stroke:2.3cqi #2a1a10;paint-order:stroke fill}.pop-word i{display:inline-block;font-style:normal;animation:games-pop 2.4s ease-in-out infinite;animation-delay:calc(var(--i) * .07s)}@media(prefers-reduced-motion:reduce){.pop-word i{animation:none}}.c-art{order:1;flex:1 1 0;min-height:72px;width:100%;display:flex;align-items:center;justify-content:center;position:relative;container-type:size}.c-art:before{content:"";position:absolute;width:min(100%,100cqh,340px);aspect-ratio:1;border-radius:50%;background:radial-gradient(#ff7ac655,#ff7ac600 68%)}.c-art canvas{--k: 1;position:relative;flex:none;width:calc(var(--k) * min(100cqw,100cqh * 1.5,540px));height:calc(var(--k) * min(100cqh,100cqw / 1.5 + 0px,360px));translate:0 calc((1 - var(--k)) / 2 * min(100cqh,100cqw / 1.5 + 0px,360px))}.c-pitch{order:2;margin:0 0 12px;max-width:320px;text-align:center;font-size:clamp(16px,2.4dvh,20px);line-height:1.2;text-wrap:balance;text-shadow:0 1px 3px #000}.c-play-row{order:3;align-self:stretch;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;width:min(100%,380px);margin:0 auto}.c-play-row>*{margin:0}.c-play-row>#menu-best{grid-column:1 / -1}#play{order:1}#help{order:2;width:clamp(60px,7dvh,88px);height:clamp(60px,7dvh,88px);font:800 clamp(26px,3dvh,36px)/1 "Baloo 2",system-ui,sans-serif}#tap-start{grid-column:1 / -1}#menu-best .go{display:none}#end-name{margin-top:4px;text-decoration:none}@media(orientation:landscape){.c-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;padding:64px max(32px,5vw)}:root{--round-size: clamp(52px, 5dvh, 72px)}.c-text{display:flex;flex-direction:column;align-items:center;gap:clamp(10px,2.6dvh,32px)}.pop-title{width:clamp(220px,min(32vw,50dvh),680px)}.c-pitch{margin:0;text-align:center;max-width:24ch;font-size:clamp(18px,min(1.7vw,3dvh),36px)}.c-play-row{width:min(100%,clamp(380px,min(30vw,56dvh),620px))}.c-play-row{gap:clamp(12px,1.6dvh,20px)}.c-art canvas{width:calc(var(--k) * min(100cqw,100cqh * 1.4,1040px));height:calc(var(--k) * min(100cqh,100cqw / 1.4,760px));translate:0 calc((1 - var(--k)) / 2 * min(100cqh,100cqw / 1.4,760px))}.c-art:before{width:min(100%,100cqh,700px)}.c-art{height:100%}.c-art canvas{--k: 1.25;translate:0 calc((1 - var(--k)) / 4 * min(100cqh,100cqw / 1.4,760px))}}@keyframes sp-breathe{0%,to{scale:1}50%{scale:1.06}}.sp-home .c-hero{display:flex;flex-direction:column;align-items:center;gap:clamp(8px,2dvh,24px);padding:calc(var(--sat) + clamp(24px,6dvh,56px)) var(--m) calc(var(--sab) + clamp(32px,8dvh,72px))}.sp-home .c-text{display:contents}.sp-home .pop-title{width:min(1100px,100vw - 4 * var(--m),62dvh)}.sp-home .c-art{flex:1 1 0;height:auto}.sp-home .c-art canvas{--k: 1.35}.sp-home .c-play-row{order:3}.sp-home .c-pitch,.sp-home .c-top:not(#x),.sp-home .c-play-row>:not(#tap-start),.sp-home #back,.sp-home #menu-music,.sp-home #menu-install,.sp-home #settings,.sp-home #help{display:none}#tap-start{animation:sp-breathe 1.6s ease-in-out infinite}.sp-in .c-pitch,.sp-in .c-top,.sp-in .c-play-row>*,.sp-in #back,.sp-in #menu-music,.sp-in #menu-install,.sp-in #settings,.sp-in #help{animation:sp-fade .3s ease-out .05s both}.sp-in .c-art{animation:sp-fade .3s ease-out both}@keyframes sp-fade{0%{opacity:0;translate:0 8px}}@media(prefers-reduced-motion:reduce){#tap-start,.sp-in .home *{animation:none!important}}.level-sheet{--sel-muted: #e8d8b8;text-align:center}.level-sheet h2{margin:0 0 16px}.level-sheet .sel-seg{margin:0 auto}.level-sheet .sel-seg .btn{position:relative;min-height:72px;font-size:18px}.help-sheet{width:min(420px,100%);text-align:center}.help-sheet h2{margin:0 0 12px}.help-legend{--tap: #ff7ac6;--no: #ff8a7a;--gold: #f5c518;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;text-align:left}.help-legend .col{display:grid;grid-template-rows:auto 1fr;gap:6px;padding:10px 6px;border-radius:16px;background:color-mix(in srgb,var(--tone) 14%,#1a1630);box-shadow:inset 0 0 0 2px color-mix(in srgb,var(--tone) 55%,transparent)}.help-legend .col.tap{--tone: var(--tap)}.help-legend .col.no{--tone: var(--no)}.help-legend .hd{display:flex;align-items:center;justify-content:center;gap:6px;margin:0;font-size:17px;line-height:1;letter-spacing:.05em;color:var(--tone)}.help-legend .rows{display:grid;align-content:center;gap:6px}.help-legend .r{display:grid;grid-template-columns:40px 1fr;align-items:center;gap:6px;min-height:52px;padding:2px 4px;border-radius:10px;background:#0003}.help-legend .face{position:relative;display:grid;place-items:end center;width:40px;height:48px}.help-legend .face img{max-width:40px;max-height:46px}.help-legend .no .face:after{content:"";position:absolute;inset:4px 2px 0;background:linear-gradient(135deg,transparent calc(50% - 1.5px),var(--no) calc(50% - 1.5px) calc(50% + 1.5px),transparent calc(50% + 1.5px))}.help-legend .star{position:absolute;top:-2px;right:-4px;width:16px;height:16px;border-radius:50%;background:var(--gold);color:#2a1a10;font-size:11px;line-height:16px;text-align:center}@media(max-width:359px){.help-legend .r{grid-template-columns:32px 1fr;gap:4px;min-height:46px}.help-legend .face{width:32px;height:40px}.help-legend .face img{max-width:32px;max-height:38px}.help-legend .star{right:-1px}}@media(max-height:600px){.help-sheet h2{margin-bottom:6px}.help-legend .rows{gap:4px}.help-legend .r{min-height:44px}.help-legend .face{height:40px}.help-legend .face img{max-height:38px}}.help-legend .combo{grid-column:1 / -1;display:grid;gap:4px;justify-items:center;margin-top:4px;text-align:center}.help-legend .combo p{margin:0;font-size:14px;line-height:1.15;color:#e8d8b8;text-wrap:balance}.help-legend .combo .x{display:flex;align-items:baseline;gap:12px;font-weight:800;line-height:1;color:#ffe066;-webkit-text-stroke:.16em #2a1a10;paint-order:stroke fill}.help-legend b{display:block;font-size:14px;line-height:1.05}.help-legend b.extra{color:var(--gold)}.help-legend .r span span{display:block;font-size:12px;line-height:1.15;color:#e8d8b8}@media(orientation:portrait){.home .c-pitch{display:none}.home{padding-bottom:calc(var(--sab) + clamp(16px,4dvh,40px))}.c-hero{padding-top:calc(44px + clamp(16px,4.5dvh,44px))}.c-art canvas{--k: 1.5}}.c-top{display:none}.c-top-head{justify-content:flex-start;gap:8px;width:100%;min-height:44px;padding:0 12px;border:0;border-bottom:1px solid #fff3d61c;border-radius:0;background:#00000026;font-size:16px;color:var(--button-text)}.c-top-head svg{width:20px;height:20px;color:var(--button-border)}svg.podium{fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}.c-top-head .go{margin-left:auto;width:16px;height:16px}.c-top-head .count{margin-left:auto;font-size:14px;opacity:.7}.c-top-head .count:empty{display:none}.c-top-head .count:not(:empty)+.go{margin-left:0}.c-top .board-list{overflow:visible;padding:2px 0}.c-top .board-list li,.c-top .board-list li:nth-child(odd){border-radius:0;background:none}.c-top .board-list li+li{border-top:1px solid #fff3d61c}.c-top .board-list .who{min-height:40px;padding:0 12px 0 0;grid-template-columns:36px minmax(0,1fr) auto}.c-top .board-list .who .name{display:flex;align-items:center;gap:8px}.c-top .board-list .who .sub{margin:0}@media(orientation:portrait)and (min-height:640px){.c-top:not([hidden]){order:2;display:block;width:min(100%,380px);margin:0 auto 16px;overflow:hidden;border-radius:var(--button-radius);background:#00000040}.has-top .c-art canvas{--k: 1.2}.has-top #menu-best{display:none}}@media(orientation:landscape)and (min-height:640px){.c-top:not([hidden]){order:2;display:block;width:min(100%,clamp(380px,min(30vw,56dvh),620px));overflow:hidden;border-radius:var(--button-radius);background:#00000040}.has-top #menu-best{display:none}}@media(orientation:portrait)and (max-height:700px){.c-art canvas{--k: 1.2}}#end-menu .btn>svg{fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}#end-art{display:flex;align-items:center;justify-content:center;flex:0 1 calc(220px * var(--sheet-zoom, 1));width:min(calc(320px * var(--sheet-zoom, 1)),100%);min-height:120px}#end-art canvas{width:100%;height:100%;object-fit:contain}
