.home-portal-menu{top:max(10px, env(safe-area-inset-top));left:max(10px, env(safe-area-inset-left));z-index:5;--menu-bg:#ffffffeb;--menu-line:#07132f33;--menu-fg:#07132f;width:44px;height:44px;color:var(--menu-fg);position:absolute}.home-portal-menu[data-theme=dark]{--menu-bg:#040b16b8;--menu-line:#6fd6ff66;--menu-fg:#e8f7ff}body:not([data-screen=home]) .home-portal-menu{display:none}.home-portal-menu:has([data-asobiba-link][hidden]){display:none}.home-portal-menu>summary,.home-portal{box-sizing:border-box;border:1px solid var(--menu-line);background:var(--menu-bg);min-height:44px;color:var(--menu-fg);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);touch-action:manipulation;-webkit-tap-highlight-color:transparent;border-radius:999px;font:800 13px/1 system-ui,sans-serif;text-decoration:none;box-shadow:0 6px 16px #0006}.home-portal-menu>summary{cursor:pointer;justify-content:center;align-items:center;width:44px;height:44px;padding:0;list-style:none;display:flex}.home-portal-menu>summary::-webkit-details-marker{display:none}.home-portal-menu>summary::marker{content:""}.home-portal-menu[open]>summary svg{transform:rotate(180deg)}.home-portal{white-space:nowrap;align-items:center;gap:4px;width:max-content;max-width:calc(100vw - 80px);padding:0 14px 0 10px;display:flex;position:absolute;top:0;left:50px}.home-portal-menu:not([open])>.home-portal,.home-portal[hidden]{display:none}.home-portal-menu svg{flex:none}.home-portal-menu>summary:focus-visible,.home-portal:focus-visible{outline:3px solid var(--menu-fg);outline-offset:2px}.settings-dialog .settings-row{border-bottom:2px dashed color-mix(in srgb, currentColor 22%, transparent);justify-content:space-between;align-items:center;gap:12px;padding:10px 0;font-size:16px;font-weight:800;display:flex}.settings-dialog .settings-row:last-of-type{margin-bottom:14px}.settings-dialog .locale-pill select:focus-visible{outline:none}html[data-keyboard-focus] .settings-dialog .locale-pill:has(select:focus-visible){outline-offset:2px;outline:3px solid}.ura-more{box-sizing:border-box;min-width:44px;min-height:44px;color:inherit;text-align:center;text-underline-offset:3px;touch-action:manipulation;-webkit-tap-highlight-color:transparent;grid-column:1/-1;justify-content:center;align-items:center;gap:.4em;font-size:13px;font-weight:700;line-height:1.2;text-decoration:underline;display:flex}.ura-more:after{content:"";border-top:2px solid;border-right:2px solid;flex:none;width:.45em;height:.45em;transform:rotate(45deg)}.ura-more[hidden]{display:none}.asmr-headphone-hint{z-index:1;top:max(4px, env(safe-area-inset-top));left:max(4px, env(safe-area-inset-left));right:max(4px, env(safe-area-inset-right));color:#fff;text-align:center;pointer-events:none;background:#191919eb;border-radius:4px;width:fit-content;margin:0 auto;padding:3px 6px;font:13px/1.4 system-ui,sans-serif;position:absolute}:root{--game-height:calc(100dvh - var(--game-ad-h,0px));--ink:#2c3a1e;--ink-soft:#5b6b45;--paper:#fffdf4;--line:#3d5a24;--green:#4caf50;--green-deep:#2e7d32;--fragile:#e8565c;--heavy:#5c6bc0;--font:"Hiragino Maru Gothic ProN", "Hiragino Sans", "Yu Gothic UI", "Apple SD Gothic Neo", "PingFang SC", "Noto Sans CJK JP", system-ui, sans-serif;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}*{box-sizing:border-box}html,body{height:100%;margin:0}body{min-height:var(--game-height);color:var(--ink);font-family:var(--font);-webkit-text-size-adjust:100%;background:radial-gradient(circle at 20% 10%,#fff8 0 18%,#0000 19%),radial-gradient(circle at 85% 30%,#fff6 0 12%,#0000 13%),linear-gradient(#dff0cf,#f5efd8) fixed;overflow-x:hidden}button,select{font:inherit;color:inherit}[hidden]{display:none!important}.sr-only{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}#app{min-height:var(--game-height);padding:max(12px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(14px, var(--game-safe-bottom,env(safe-area-inset-bottom))) max(16px, env(safe-area-inset-left));justify-content:center;display:flex}.btn{border:3px solid var(--line);background:var(--paper);min-width:44px;min-height:48px;box-shadow:0 4px 0 var(--line);cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent;text-align:center;border-radius:999px;justify-content:center;align-items:center;gap:8px;padding:10px 18px;font-size:16px;font-weight:800;line-height:1.2;display:inline-flex}.btn:active{box-shadow:0 1px 0 var(--line);transform:translateY(3px)}.btn.primary{background:var(--green);color:#fff;border-color:var(--green-deep);box-shadow:0 4px 0 var(--green-deep)}.btn svg{fill:none;stroke:currentColor;stroke-width:2.4px;stroke-linecap:round;stroke-linejoin:round;width:20px;height:20px}.btn:focus-visible,.pill:focus-visible,.slot:focus-visible,.result-portal:focus-visible{outline:3px solid var(--ink);outline-offset:2px}.pill{color:#07132f;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent;background:#ffffffeb;border:0;border-radius:999px;justify-content:center;align-items:center;gap:4px;min-width:44px;min-height:44px;display:inline-flex;box-shadow:inset 0 0 0 2px #07132f33,0 4px 12px #2c3a1e26}.pill svg{fill:none;stroke:currentColor;stroke-width:2.2px;stroke-linecap:round;stroke-linejoin:round;width:22px;height:22px}.icon-pill{width:44px;padding:0}.locale-pill{padding:0 6px 0 10px}.locale-pill select{appearance:none;cursor:pointer;background:0 0;border:0;max-width:9.5em;min-height:44px;padding:0 6px;font-size:14px;font-weight:700}.sound-toggle .cross{display:none}.sound-toggle[aria-pressed=false] .cross{display:inline}.sound-toggle[aria-pressed=false] .wave{display:none}body[data-screen=home]{background:#e5cd9f var(--home-art) center / cover no-repeat}.home{width:min(100%,640px);height:calc(var(--game-height) - max(12px, env(safe-area-inset-top)) - max(14px, var(--game-safe-bottom,env(safe-area-inset-bottom))));flex-direction:column;align-items:center;gap:8px;padding-top:42px;display:flex}.home-tools{top:max(12px, env(safe-area-inset-top));right:max(12px, env(safe-area-inset-right));z-index:4;position:fixed}.home-hero{text-align:center}.title{margin:0;line-height:0}.home-logo{width:min(78vw,340px);height:auto;margin:auto;display:block}.tagline{color:#47351d;text-wrap:balance;background:#fff8e6ed;border-radius:6px 14px 9px 4px;max-width:29em;margin:4px auto 0;padding:4px 12px;font-size:13px;font-weight:800;box-shadow:0 2px 5px #68421d25}.home-scene{flex:1;width:100%;min-height:0;position:relative}.home-mascot{object-fit:contain;object-position:bottom;pointer-events:none;width:clamp(88px,32vw,156px);height:auto;max-height:100%;position:absolute;bottom:4%;right:0}.today-card{background:#fff8e8ee;border-left:3px solid #876c45;align-self:flex-start;max-width:100%;padding:6px 12px;font-size:12px;transform:rotate(-1deg);box-shadow:2px 3px 8px #50371526}.today-label{margin:0;font-weight:900}.today-items{gap:3px;margin-top:3px;display:flex}.today-items img{object-fit:contain;width:24px;height:24px}.today-status{color:var(--ink-soft);margin:2px 0 0;font-size:11px}.home-actions{align-self:flex-end;gap:10px;width:min(100%,360px);padding-bottom:4px;display:grid}.home-actions .btn{color:#4a361d;outline-offset:-6px;background:#f9ebccef;border:2px solid #80633c;border-radius:8px 20px 12px 18px;outline:1px dashed #96774b;padding:9px 12px;box-shadow:0 3px #70532e,inset 0 0 0 3px #fff5db}.home-actions .primary{color:#fff7df;background:#335e35;border-color:#263f24;outline-color:#e3d8ad;min-height:56px;font-size:19px;box-shadow:0 4px #263f24,inset 0 0 0 3px #467348}.home-row{grid-template-columns:1fr 1fr;gap:10px;display:grid}.home-row .btn{gap:5px;font-size:13px}.home-action-icon{object-fit:contain;flex:none;width:24px;height:24px}.play{width:min(100%,520px);height:calc(var(--game-height) - 26px - env(safe-area-inset-top) - var(--game-safe-bottom,env(safe-area-inset-bottom)));flex-direction:column;gap:6px;display:flex}.play-bar{grid-template-columns:44px 1fr 44px;align-items:center;gap:8px;display:grid}.play-title{background:var(--paper);border:2px solid var(--line);text-align:center;border-radius:18px;flex-wrap:wrap;justify-content:center;align-items:center;gap:2px 12px;min-height:44px;padding:0 6px;font-size:14px;display:flex}.play-title-copy{flex-wrap:wrap;flex:1;justify-content:center;align-items:center;gap:2px 10px;min-width:0;display:flex}.play-mascot{object-fit:contain;pointer-events:none;transform-origin:bottom;flex:none;width:110px;height:110px}.play-mascot[data-pose=happy]{animation:.5s ease-out mascot-hop}.play-mascot[data-pose=worried],.play-mascot[data-pose=sad]{animation:.45s ease-in-out mascot-wobble}@keyframes mascot-hop{35%{transform:translateY(-5px)rotate(-5deg)}70%{transform:translateY(-2px)rotate(4deg)}}@keyframes mascot-wobble{25%{transform:rotate(-9deg)}75%{transform:rotate(9deg)}}.play-stats{color:var(--ink-soft);font-variant-numeric:tabular-nums;gap:10px;font-weight:700;display:inline-flex}.bag-wrap{flex:auto;justify-content:center;align-items:flex-start;min-height:0;display:flex;overflow:hidden}.bag{flex:none;position:relative}.bag-art{pointer-events:none;-webkit-user-select:none;user-select:none;width:100%;height:auto;display:block}.grid{background-image:linear-gradient(#3d5a2422 1px,#0000 1px),linear-gradient(90deg,#3d5a2422 1px,#0000 1px);background-size:var(--cell) var(--cell);touch-action:none;border:1px solid #3d5a2433;position:absolute}.piece{pointer-events:none;background:#fffa;border-radius:8px;position:absolute;box-shadow:inset 0 0 0 2px #3d5a2455}.piece img{object-fit:contain;pointer-events:none;-webkit-user-select:none;user-select:none;-webkit-user-drag:none;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.piece.falling{animation:.22s cubic-bezier(.5,0,1,1) fall}@keyframes fall{0%{transform:translateY(var(--fall))}}.piece.preview{box-shadow:none;outline:3px dashed var(--green-deep);outline-offset:-3px;opacity:.55;z-index:2;background:#fff6}.piece.floating{box-shadow:inset 0 0 0 2px var(--green-deep), 0 6px 12px #3d5a2440;z-index:3;background:#fffffff0}.fuse{background:#3d5a2430;border-radius:3px;height:6px;position:absolute;bottom:-11px;left:4px;right:4px;overflow:hidden}.fuse i{background:var(--green-deep);height:100%;transition:width .1s linear;display:block}.fuse.low i{background:var(--fragile)}.intro-limit{font-weight:700}.piece.floating.warn,.piece.floating.bad{box-shadow:inset 0 0 0 3px var(--fragile), 0 6px 12px #3d5a2440;background:#ffe9eaf0}.piece.preview.warn{outline-color:var(--fragile);background:#e8565c33}.lane{pointer-events:none;background:linear-gradient(#4caf5022,#4caf5044);border-radius:6px 6px 0 0;position:absolute;top:0}.lane.warn{background:linear-gradient(#e8565c18,#e8565c40)}.lane.bad{background:#e8565c33;height:100%!important}.piece.crushed{box-shadow:inset 0 0 0 3px var(--fragile);background:#e8565c55;animation:.3s ease-in-out 2 shake}@keyframes shake{25%{translate:-2px}75%{translate:2px}}.badge{background:50%/12px no-repeat;border:2px solid #fff;border-radius:50%;width:18px;height:18px;position:absolute;top:-5px;right:-5px;box-shadow:0 1px 3px #0005}.badge.fragile{background-color:var(--fragile);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2 9 9l5 3-3 10'/%3E%3C/svg%3E")}.badge.heavy{background-color:var(--heavy);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Ccircle cx='12' cy='5' r='3'/%3E%3Cpath d='M6 9h12l3 12H3z'/%3E%3C/svg%3E")}.badge.fragile.strong{background-color:#e8892a}.badge.fragile.top{background-color:#b3261e;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2v9M8 7l4 4 4-4M4 16h16M4 21h16'/%3E%3C/svg%3E");background-size:13px}.badge.heavy.strong{background-color:#3b3f8f;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Ccircle cx='7' cy='8' r='2.2'/%3E%3Cpath d='M3 11h8l2 10H1z'/%3E%3Ccircle cx='17' cy='8' r='2.2'/%3E%3Cpath d='M13 11h8l2 10h-12z'/%3E%3C/svg%3E");background-size:14px}.legend{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 12px;margin:6px 0 0;padding:0;font-size:14px;list-style:none;display:grid}.legend li{align-items:center;gap:6px;display:flex}.legend .badge{flex:none;position:static}.play-hint{text-align:center;min-height:1.4em;color:var(--ink-soft);margin:0;font-size:13px;font-weight:800}.play-hint.warn{color:#c62828}.queue-row{grid-template-columns:repeat(2,minmax(0,1fr));align-items:center;gap:6px;display:grid}.playfield{flex:1;gap:6px;min-height:0;display:flex}.playfield .bag-wrap{min-width:0}.mascot-companion{pointer-events:none;flex-direction:column;flex:0 0 clamp(44px,100vw - 302px,110px);align-self:center;align-items:center;min-width:0;padding-top:6px;display:flex}.mascot-companion .play-mascot{width:100%;height:auto}.mascot-companion:after{content:"";height:44px}.mascot-companion:has(.mascot-speech):after{display:none}.phase-crushed .mascot-companion,.phase-stuck .mascot-companion{visibility:hidden}.mascot-speech{border:2px solid var(--line);background:var(--paper);text-align:center;word-break:keep-all;white-space:nowrap;border-radius:12px;place-items:center;max-width:100%;min-height:38px;margin-top:6px;padding:3px 4px;font-size:12px;font-weight:900;line-height:1.2;display:grid;position:relative}.mascot-speech:before{content:"";border-top:2px solid var(--line);border-left:2px solid var(--line);background:var(--paper);width:7px;height:7px;position:absolute;top:-5px;left:calc(50% - 4px);transform:rotate(45deg)}.failure-heading{justify-content:center;align-items:center;gap:4px;width:100%;display:flex}.failure-heading .failure-mascot{flex:none;width:80px;height:80px}.failure-heading h2{word-break:keep-all;text-wrap:balance;min-width:0;font-size:clamp(18px,5.5vw,22px)}.slot{background:var(--paper);border:2px solid var(--line);min-height:72px;font:inherit;color:inherit;border-radius:16px;flex-direction:column;align-items:center;gap:2px;padding:4px 8px 6px;display:flex}.slot.hold{cursor:pointer;box-shadow:0 3px 0 var(--line);touch-action:manipulation;-webkit-tap-highlight-color:transparent;border-style:dashed}.slot.hold:active:not(:disabled){box-shadow:0 1px 0 var(--line);transform:translateY(2px)}.slot-label{color:var(--ink-soft);font-size:12px;font-weight:900;line-height:1.2}.slot-body{flex-wrap:wrap;flex:1;justify-content:center;align-items:center;gap:8px;width:100%;min-width:0;min-height:48px;display:flex}.slot-art{flex:none;justify-content:center;align-items:center;display:flex}.slot-name{text-align:left;overflow-wrap:anywhere;min-width:0;font-size:13px;font-weight:800;line-height:1.2}.slot-piece{display:block;position:relative}.slot-piece img{object-fit:contain;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.slot-empty{color:var(--ink-soft);font-size:12px;font-weight:700}.controls{grid-template-columns:56px 56px 56px minmax(0,1fr);gap:8px;display:grid}.controls .ctl{min-height:52px;padding:0}.controls .ctl svg{width:24px;height:24px}.controls .drop{white-space:nowrap;min-height:52px;padding:8px 10px;font-size:18px}.btn:disabled,.slot:disabled{opacity:.55;cursor:default}.overlay{inset:0 0 var(--game-ad-h,0px);z-index:10;padding:max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(16px, var(--game-safe-bottom,env(safe-area-inset-bottom))) max(16px, env(safe-area-inset-left));background:#1a2a1080;justify-content:center;align-items:center;display:flex;position:fixed}.overlay.stuck{background:#1a2a1033;align-items:flex-end}.overlay-card{background:var(--paper);border:3px solid var(--line);width:min(100%,440px);max-height:100%;box-shadow:0 6px 0 var(--line);text-align:center;border-radius:24px;flex-direction:column;align-items:center;gap:10px;padding:16px;display:flex;overflow-y:auto}.overlay-card h2{margin:0;font-size:22px;font-weight:900}.overlay-kicker{color:var(--ink-soft);margin:0;font-weight:800}.overlay-text{text-wrap:balance;word-break:auto-phrase;margin:0;font-size:14px;font-weight:700;line-height:1.5}.overlay-card>.btn{width:100%}#intro .overlay-card{overflow:hidden}#intro .overlay-card>*{flex-shrink:0}#intro .intro-content{overscroll-behavior:contain;flex:0 auto;gap:10px;width:100%;min-height:0;display:grid;overflow-y:auto}.stuck-item{align-items:center;gap:8px;margin:0;font-weight:800;display:flex}.stuck-item img{object-fit:contain;width:40px;height:40px}.overlay-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;width:100%;display:grid}.phrase{display:inline-block}.intro-items{grid-template-columns:repeat(auto-fill,minmax(80px,1fr));gap:6px;width:100%;margin:0;padding:0;list-style:none;display:grid}.intro-item{overflow-wrap:anywhere;background:#fff;border:2px solid #3d5a2433;border-radius:12px;flex-direction:column;align-items:center;gap:2px;padding:4px 2px;font-size:10px;font-weight:800;line-height:1.2;display:flex;position:relative}.intro-item img{object-fit:contain;width:40px;height:40px}.intro-item .badge{top:2px;right:2px}.intro-timer{background:#3d5a2422;border-radius:999px;width:100%;height:10px;overflow:hidden}.intro-timer i{background:var(--green);height:100%;display:block}.result{align-items:center;width:min(100%,460px);display:flex}.result-card{background:var(--paper);border:3px solid var(--line);width:100%;box-shadow:0 6px 0 var(--line);text-align:center;border-radius:26px;flex-direction:column;align-items:center;gap:8px;padding:18px 16px;display:flex}.result-card h2{margin:0;font-size:24px;font-weight:900}.result-summary{display:contents}.result-card:has(.copy-fallback){max-height:calc(var(--game-height) - max(12px, env(safe-area-inset-top)) - max(14px, var(--game-safe-bottom,env(safe-area-inset-bottom))));display:flex}.result-card:has(.copy-fallback) .result-summary{overscroll-behavior:contain;flex-direction:column;align-items:center;gap:4px;min-height:0;display:flex;overflow-y:auto}:is(.result-card:has(.copy-fallback) .result-summary>*,.result-card:has(.copy-fallback) .result-buttons){flex-shrink:0}.result-card:has(.copy-fallback) .copy-fallback{resize:none;height:64px;min-height:64px}.result-sub{color:var(--ink-soft);margin:0;font-weight:700}.result-mascot{width:min(36vw, 140px, calc(var(--game-height) * .18));height:auto}.result-stars{letter-spacing:4px;color:#f5a623;text-shadow:0 2px 0 var(--line);margin:0;font-size:34px;line-height:1}.result-status{color:var(--green-deep);margin:0;font-size:20px;font-weight:900}.result-status.bad{color:#c62828}.result-stats{font-variant-numeric:tabular-nums;margin:0;font-size:26px;font-weight:900}.result-best{color:var(--ink-soft);margin:0;font-size:14px;font-weight:700}.result-best:empty{display:none}.result-buttons{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;width:100%;display:grid;container-type:inline-size}.result-buttons>.result-actions{display:contents}.result-buttons .btn{overflow-wrap:anywhere;gap:6px;width:100%;min-height:52px;padding:6px 8px;font-size:clamp(14px,4.8cqi,16px)}.result-buttons .btn svg{flex:none}.result-buttons>.result-next,.result-buttons>.copy-status,.result-buttons>.copy-fallback{grid-column:1/-1}.result-buttons>.copy-status,.result-buttons>.copy-fallback{order:1}.result-buttons>.result-next{letter-spacing:.02em;font-size:clamp(16px,5.6cqi,19px);font-weight:900}.copy-status{margin:0;font-size:14px;font-weight:700}.copy-fallback{border:2px solid var(--line);width:100%;min-height:110px;font:14px / 1.5 var(--font);border-radius:12px;padding:8px}.result-portal{min-height:44px;color:var(--green-deep);text-underline-offset:4px;justify-content:center;align-items:center;padding:6px 12px;font-weight:800;text-decoration:underline;display:inline-flex}.howto{bottom:var(--game-ad-h,0px);max-height:calc(var(--game-height) - 32px);border:3px solid var(--line);background:var(--paper);width:min(92vw,420px);color:var(--ink);border-radius:22px;padding:18px;overflow-y:auto}.howto::backdrop{background:#1a2a1088}.howto h2{margin:0 0 8px;font-size:22px}.howto ol{gap:8px;margin:0 0 14px;padding-left:1.3em;font-weight:600;line-height:1.55;display:grid}.howto form{justify-content:center;display:flex}#howto[open]{flex-direction:column;display:flex;overflow:hidden}#howto>h2,#howto>.legend,#howto>form{flex:none}#howto>ol{overscroll-behavior:contain;min-height:0;overflow-y:auto}.picker-grid{max-height:calc(var(--game-height) * .5);grid-template-columns:repeat(auto-fill,minmax(64px,1fr));gap:8px;margin-bottom:12px;padding:4px 2px 8px;display:grid;overflow-y:auto}.picker-stage{flex-direction:column;gap:0;min-height:56px;padding:6px 4px}.picker-stage strong{font-size:18px}.picker-stage small{letter-spacing:1px;min-height:1.2em;font-size:11px}.loading{inset:0 0 var(--game-ad-h,0px);z-index:20;text-align:center;background:linear-gradient(#dff0cf,#f5efd8);flex-direction:column;justify-content:center;align-items:center;gap:14px;padding:24px;font-weight:800;display:flex;position:fixed}.loading-art{width:min(46vw,200px);height:auto;animation:.9s ease-in-out infinite hop}@keyframes hop{50%{transform:translateY(-12px)}}.loading>p{background:var(--paper);border:2px solid var(--line);border-radius:999px;margin:0;padding:8px 16px}.loading-bar{background:var(--paper);border:3px solid var(--line);border-radius:999px;width:min(70vw,280px);height:16px;overflow:hidden}.loading-bar i{background:var(--green);width:0;height:100%;transition:width .2s;display:block}.loading-error{gap:10px;display:grid}@media (prefers-reduced-motion:reduce){.play-mascot[data-pose],.loading-art,.piece.crushed,.piece.falling{animation:none}}@media (orientation:portrait) and (height<=700px){.home{gap:6px}.home-logo{object-fit:contain;width:min(70vw,260px);max-height:100px}.tagline{padding:3px 10px;font-size:12px}.today-items{display:none}.home-actions{gap:8px}.home-actions .primary{min-height:52px;font-size:17px}.slot{min-height:62px;padding:2px 6px 4px}.slot-body{min-height:40px}.controls{grid-template-columns:48px 48px 48px minmax(0,1fr);gap:6px}.controls .ctl,.controls .drop{min-height:48px}.play-title{white-space:nowrap;flex-wrap:nowrap;gap:8px;padding:0 4px;font-size:12px}.play-hint{white-space:nowrap;text-overflow:ellipsis;font-size:12px;overflow:hidden}.result-card{gap:4px;padding:12px}.result-mascot{width:calc(var(--game-height) * .12)}.result-stats{font-size:22px}}@media (orientation:landscape) and (height<=560px){.loading{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px 16px;display:grid}.loading-art{max-width:100%;max-height:calc(var(--game-height) - 48px);object-fit:contain;grid-area:1/1/4;justify-self:center}.loading>p,.loading-bar{grid-column:2;width:100%}body[data-screen=home]{background-image:var(--home-wide-art);background-position:50%;background-size:cover}.home{grid-template:"scene hero"1fr"card actions"/minmax(0,1fr) minmax(280px,.9fr);gap:8px 16px;width:min(100%,920px);padding-top:36px;display:grid}.home-hero{grid-area:hero;align-self:end}.home-logo{object-fit:contain;width:min(34vw,260px);max-height:110px}.tagline{font-size:12px}.home-scene{grid-area:scene;height:100%}.home-mascot{width:clamp(88px,17vw,135px);bottom:0;left:0;right:auto}.today-card{grid-area:card;place-self:end start}.today-items{display:none}.home-actions{grid-area:actions;gap:8px}.home-actions .primary{min-height:48px;font-size:16px}.home-row .btn{min-height:44px;padding:7px 10px}.play{grid-template-rows:auto auto 1fr auto auto;grid-template-columns:minmax(0,1fr) minmax(260px,340px);gap:6px 14px;width:min(100%,900px);display:grid}.play-bar{grid-area:1/2}.playfield{display:contents}.playfield .bag-wrap{grid-area:1/1/6}.mascot-companion{grid-area:3/2;justify-self:center;width:76px}.queue-row{grid-area:2/2}.play-hint{grid-area:4/2}.controls{grid-area:5/2}.slot{min-height:64px}.intro-items{grid-template-columns:repeat(auto-fill,minmax(80px,1fr))}.overlay-card{width:min(100%,640px)}.overlay.stuck{justify-content:flex-end;align-items:center}.overlay.stuck .overlay-card{width:min(100%,340px)}.result{width:min(100%,760px)}.result-card{grid-template-columns:1fr 1fr;grid-auto-flow:dense;gap:4px 16px;padding:12px 16px;display:grid}.result-card>*,.result-summary>*{grid-column:1;justify-self:center}.result-card>.result-buttons,.result-card>.result-portal,.result-card .result-best{grid-column:2}.result-card .result-best{grid-row:1}.result-card>.result-buttons{grid-row:2/span 4;align-self:center;gap:8px}.result-card>.result-portal{grid-row:6}.result-buttons .btn{min-height:46px}.result-mascot{width:calc(var(--game-height) * .14)}}@media (width<=359px){.controls{grid-template-columns:48px 48px 48px minmax(0,1fr);gap:6px}}.intro-nowarn{color:var(--fragile);display:block}.play.compact{gap:0}.play.compact .slot{min-height:44px;padding:2px 6px}.play.compact .slot-body{min-height:24px}.play.compact .slot-name{font-size:12px}.play.compact .controls .btn{min-height:44px}.play.compact .play-hint{clip-path:inset(50%);width:1px;height:1px;min-height:0;position:absolute;overflow:hidden}@media (orientation:portrait) and (height>=501px) and (height<=700px){body:has(.game-ad-band) .result-card{gap:3px;padding:8px 12px}body:has(.game-ad-band) .result-card h2{font-size:20px}body:has(.game-ad-band) .result-mascot{width:calc(var(--game-height) * .085)}body:has(.game-ad-band) .result-stars{font-size:26px}body:has(.game-ad-band) .result-status{font-size:16px}body:has(.game-ad-band) .result-buttons{gap:8px}body:has(.game-ad-band) .result-buttons .btn{min-height:44px}}.home-row .btn{min-width:0}.home-action-label{word-break:keep-all;overflow-wrap:normal;-webkit-hyphens:none;hyphens:none;min-width:0}@media (width<=359px),(orientation:landscape) and (height<=560px){.home-row .btn{gap:4px;padding-inline:8px;font-size:12px}.home-action-icon{width:20px;height:20px}}@media (width<=359px){#app:has(.play){padding-top:max(6px, env(safe-area-inset-top));padding-bottom:max(8px, var(--game-safe-bottom,env(safe-area-inset-bottom)));padding-inline:max(4px, env(safe-area-inset-left))}.play{height:calc(var(--game-height) - 14px - env(safe-area-inset-top) - var(--game-safe-bottom,env(safe-area-inset-bottom)));grid-template-rows:44px 96px minmax(0,1fr) auto auto;grid-template-columns:minmax(0,1fr) 76px;column-gap:4px;display:grid}.play-bar{grid-area:1/1/auto/-1}.queue-row{grid-area:2/1}.playfield{display:contents}.playfield .bag-wrap{grid-area:3/1/auto/-1}.mascot-companion{grid-area:2/2;justify-self:center;width:72px;padding-top:0}.mascot-companion:after{height:24px}.mascot-speech{min-height:24px;margin-top:0;padding:2px 4px}.play-hint{grid-area:4/1/auto/-1}.controls{grid-area:5/1/auto/-1}}
