:root{--bg-dark: #140805;--glass-bg: rgba(18, 8, 5, .84);--glass-border: rgba(245, 185, 66, .36);--gold: #f5b942;--gold-bright: #ffe194;--pistachio: #70e000;--emerald: #10b981;--emerald-bright: #4ade80;--crimson: #ef4444;--crimson-bright: #f87171;--amber: #f59e0b;--cream: #fff8eb;--text-muted: #d5bfb0;--font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif}*,*:before,*:after{box-sizing:border-box;margin:0;padding:0;-webkit-tap-highlight-color:transparent}html,body{position:fixed;top:0;right:0;bottom:0;left:0;width:100%;height:100%;background-color:var(--bg-dark);color:var(--cream);font-family:var(--font-sans);overflow:hidden;overscroll-behavior:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;-webkit-text-size-adjust:100%}button{font-family:inherit;touch-action:manipulation;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}.gesture-surface{position:fixed;top:0;right:0;bottom:0;left:0;width:100%;height:100%;width:100dvw;height:100dvh;cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;overflow:hidden;container-type:inline-size}.gesture-surface.dragging{cursor:grabbing}#game-canvas,#trail-canvas{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;display:block}#trail-canvas{pointer-events:none;z-index:5}dialog{overscroll-behavior:contain;margin:auto;border:1.5px solid var(--gold);border-radius:24px;background:#180b07f5;color:var(--cream);max-width:min(94dvw,430px);width:100%;max-height:86dvh;overflow-y:auto;box-shadow:0 24px 60px #000000d9;padding:0;opacity:0;transform:scale(.92);transition-property:opacity,transform,display,overlay;transition-duration:.24s;transition-timing-function:ease-out;transition-behavior:allow-discrete}dialog::backdrop{overflow:hidden;overscroll-behavior:contain;background-color:#06020100;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);transition-property:background-color,display,overlay;transition-duration:.24s;transition-timing-function:ease-out;transition-behavior:allow-discrete}dialog[open]:not([data-closing]){opacity:1;transform:scale(1)}dialog[open]:not([data-closing])::backdrop{background-color:#060201b8}@starting-style{dialog[open]:not([data-closing]){opacity:0;transform:scale(.92)}dialog[open]:not([data-closing])::backdrop{background-color:#06020100}}@media(prefers-reduced-motion:reduce){dialog{transform:none;transition-duration:.1s}@starting-style{dialog[open]{transform:none}}}.hud-top{position:absolute;top:max(env(safe-area-inset-top,10px),10px);inset-inline:0;z-index:15;display:flex;justify-content:center;padding-left:max(env(safe-area-inset-left,10px),10px);padding-right:max(env(safe-area-inset-right,10px),10px);pointer-events:none}body.ios-immersive .hud-top{top:max(env(safe-area-inset-top,6px),6px)}body.ios-immersive .hud-bottom{bottom:max(env(safe-area-inset-bottom,10px),10px)}.ios-steps-list{display:flex;flex-direction:column;gap:8px;margin-bottom:16px;text-align:start}.ios-step-item{display:flex;align-items:center;gap:10px;background:#ffffff0f;border:1px solid rgba(245,185,66,.3);border-radius:14px;padding:10px 12px;font-size:.82rem;line-height:1.35;color:var(--cream)}.top-minimal-pill{position:relative;overflow:hidden;pointer-events:auto;display:flex;align-items:center;gap:8px;background:var(--glass-bg);border:1px solid var(--glass-border);border-radius:999px;padding:6px 12px 10px;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);box-shadow:0 8px 24px #0000007a;max-width:98dvw}.routine-progress-track{position:absolute;bottom:0;inset-inline:12px;height:3px;background:#ffffff1f;border-radius:99px;overflow:hidden}.routine-progress-fill{height:100%;width:15%;background:linear-gradient(90deg,var(--gold),var(--emerald-bright));border-radius:99px;transition:width .3s ease}.usta-badge-btn{background:#ffffff14;border:1px solid rgba(245,185,66,.45);color:var(--gold-bright);font-size:.74rem;font-weight:800;padding:4px 10px;border-radius:999px;cursor:pointer;white-space:nowrap;transition:transform .12s ease,background-color .15s ease}.usta-badge-btn:active{transform:scale(.95)}.hearts-strip{display:flex;align-items:center;gap:2px}.h-icon{font-size:.82rem;line-height:1;transition:transform .25s ease,opacity .25s ease,filter .25s ease}.h-icon.lost{opacity:.25;filter:grayscale(1);transform:scale(.8)}.scoop-dots{display:flex;align-items:center;gap:4px}.s-dot{width:11px;height:11px;border-radius:50%;background:#ffffff26;border:1px solid rgba(255,255,255,.28);transition:transform .25s ease,background-color .25s ease,box-shadow .25s ease}.s-dot.active{background:var(--dot-color, #fff8eb);box-shadow:0 0 8px var(--dot-color, #fff8eb);transform:scale(1.18)}.s-dot.dot-crown{width:auto;height:auto;background:transparent;border:none;font-size:.82rem;color:#ffffff38}.s-dot.dot-crown.active{color:var(--pistachio);text-shadow:0 0 10px var(--pistachio);transform:scale(1.25)}.score-minimal{font-size:.96rem;font-weight:900;color:#fff;font-variant-numeric:tabular-nums;min-width:30px;text-align:end}.lang-mini-btn{background:#ffffff1a;border:1px solid rgba(255,255,255,.24);color:var(--cream);font-size:.7rem;font-weight:800;padding:4px 8px;border-radius:99px;cursor:pointer;white-space:nowrap}.mini-audio-btn{background:transparent;border:none;color:var(--cream);font-size:1.02rem;cursor:pointer;padding:2px 3px}.hud-bottom{position:absolute;bottom:max(env(safe-area-inset-bottom,14px),14px);inset-inline:0;z-index:15;display:flex;justify-content:center;padding-inline:14px;pointer-events:none}.gesture-hud-card{position:relative;overflow:hidden;background:#0e0704e0;border:2px solid rgba(74,222,128,.75);border-radius:999px;padding:7px 20px 11px;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);display:inline-flex;align-items:center;justify-content:center;box-shadow:0 10px 28px #0000008c;transition:border-color .2s ease,box-shadow .2s ease,transform .2s ease}.gesture-hud-card.theme-green{border-color:#4ade80cc;box-shadow:0 8px 28px #10b98157}.gesture-hud-card.theme-red{border-color:#f87171eb;box-shadow:0 8px 30px #ef44447a}.gesture-hud-card.theme-amber{border-color:#fbbf24d1;box-shadow:0 8px 26px #f59e0b57}.visual-cue-row{display:flex;align-items:center;gap:10px}.cue-text-stack{display:flex;flex-direction:column;align-items:flex-start;line-height:1.15}.trick-sub-label{font-size:.66rem;font-weight:700;color:var(--gold-bright);opacity:.9}.gesture-pictogram{font-size:1.38rem;line-height:1;display:inline-block;animation:cuePulse .85s ease-in-out infinite alternate}@media(prefers-reduced-motion:reduce){.gesture-pictogram{animation:none}}@keyframes cuePulse{0%{transform:scale(.94) translateY(1px)}to{transform:scale(1.12) translateY(-2px)}}.action-mode-label{font-size:.9rem;font-weight:900;letter-spacing:.03em;color:#86efac;text-transform:uppercase}.gesture-hud-card.theme-red .action-mode-label{color:#fca5a5}.gesture-hud-card.theme-amber .action-mode-label{color:#fde68a}.stage-timer-track{position:absolute;bottom:0;inset-inline:14px;height:3.5px;background:#ffffff1f;border-radius:99px;overflow:hidden}.stage-timer-fill{height:100%;width:50%;background:var(--emerald-bright);transition:width .12s linear,background-color .2s ease}.gesture-hud-card.theme-red .stage-timer-fill{background:var(--crimson-bright)}.gesture-hud-card.theme-amber .stage-timer-fill{background:var(--gold)}.start-sheet-backdrop{position:absolute;top:0;right:0;bottom:0;left:0;z-index:30;background:linear-gradient(180deg,transparent 0%,rgba(10,4,2,.28) 42%,rgba(10,4,2,.94) 100%);display:flex;flex-direction:column;justify-content:flex-end;align-items:center;padding:10px 12px;padding-bottom:max(env(safe-area-inset-bottom,16px),16px);pointer-events:none}.start-sheet-card{pointer-events:auto;background:#160a06f2;border:1.5px solid var(--gold);border-radius:22px;padding:13px 15px;width:min(100%,420px);text-align:center;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);box-shadow:0 16px 44px #000000c7}.sheet-header-row{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:9px}.sheet-title{font-size:clamp(1.1rem,.9rem + 1.5vw,1.32rem);font-weight:900;color:var(--gold-bright)}.rank-pill{font-size:.68rem;font-weight:800;padding:4px 9px;border-radius:99px;background:#f5b94229;border:1px solid rgba(245,185,66,.4);color:var(--gold-bright);white-space:nowrap}.visual-order-bar{display:flex;align-items:center;justify-content:space-between;gap:8px;background:#ffffff0d;border:1px solid rgba(255,255,255,.14);border-radius:16px;padding:7px 9px;margin-bottom:9px}.scoop-count-picker{display:flex;gap:4px}.scoop-cnt-btn{background:#ffffff0f;border:1.5px solid rgba(255,255,255,.16);color:var(--cream);border-radius:12px;padding:5px 7px;cursor:pointer;display:flex;flex-direction:column;align-items:center;gap:2px;min-width:36px;transition:transform .12s ease,border-color .15s ease,background-color .15s ease}.scoop-cnt-btn.active{background:#f5b94240;border-color:var(--gold);color:var(--gold-bright);transform:translateY(-1px)}.sc-cones{font-size:.92rem;line-height:1}.sc-dots{display:flex;gap:2px}.sc-dots .d{width:5px;height:5px;border-radius:50%;background:var(--gold-bright);display:inline-block}.sc-num{font-size:.68rem;font-weight:900;line-height:1}.selected-cone-preview{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;min-width:32px;height:46px;padding:2px 4px;background:#00000047;border-radius:12px;border:1px dashed rgba(245,185,66,.4)}.preview-scoops{display:flex;flex-direction:column-reverse;align-items:center;margin-bottom:-4px}.prev-ball{width:14px;height:11px;border-radius:50%;margin-top:-3px;border:1px solid rgba(0,0,0,.35);box-shadow:inset 0 1px 2px #ffffff73}.preview-wafer{font-size:.85rem;line-height:1}.flavor-orb-picker{display:flex;align-items:center;gap:4px;flex-wrap:wrap;justify-content:flex-end}.flavor-orb-btn{width:28px;height:28px;border-radius:50%;background:var(--orb-bg, #fff8e7);border:2px solid var(--orb-border, #f5b942);font-size:.78rem;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 2px 6px #00000073;transition:transform .12s ease,box-shadow .15s ease}.flavor-orb-btn:active,.flavor-orb-btn.selected{transform:scale(1.14);box-shadow:0 0 10px var(--orb-border, #f5b942)}.flavor-orb-btn.dice-orb{background:#ffffff1f;border-color:#ffffff59}.stage-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:5px;margin-bottom:9px}.stage-chip{background:#ffffff0f;border:1px solid rgba(255,255,255,.16);color:var(--cream);border-radius:11px;padding:5px 3px;cursor:pointer;display:flex;flex-direction:column;align-items:center;gap:1px;transition:transform .12s ease,border-color .15s ease,background-color .15s ease}.stage-chip.active{background:#f5b94242;border-color:var(--gold);color:var(--gold-bright);transform:translateY(-1px)}.stage-chip.locked{opacity:.42;cursor:not-allowed}.st-top{font-size:.7rem;font-weight:900;line-height:1.1}.st-stars{font-size:.56rem;min-height:.65rem;line-height:1}.legend-pills{display:flex;gap:5px;justify-content:center;flex-wrap:wrap;margin-bottom:9px}.leg-pill{font-size:.68rem;font-weight:800;padding:4px 9px;border-radius:99px}.leg-green{background:#10b98133;border:1px solid rgba(74,222,128,.5);color:#86efac}.leg-red{background:#ef444433;border:1px solid rgba(248,113,113,.5);color:#fca5a5}.leg-amber{background:#f59e0b33;border:1px solid rgba(251,191,36,.5);color:#fde68a}.start-actions-row{display:flex;gap:6px;align-items:stretch}.play-giant-btn{flex:1;width:100%;background:linear-gradient(135deg,var(--gold-bright),#e09112);color:#1b0a04;font-weight:900;font-size:.95rem;padding:11px 16px;border-radius:14px;border:none;cursor:pointer;transition:transform .12s ease}.play-giant-btn:active{transform:scale(.97)}.secondary-pill-btn{background:#ffffff14;color:var(--cream);font-weight:800;font-size:.82rem;padding:11px 12px;border-radius:14px;border:1px solid var(--glass-border);cursor:pointer;white-space:nowrap}.secondary-pill-btn.compact-btn{padding:10px;font-size:.76rem}.modal-card{padding:18px;text-align:center}.tricks-catalog-list{display:flex;flex-direction:column;gap:7px;max-height:56dvh;overflow-y:auto;margin-block:12px;padding-right:4px;text-align:start}.trick-item-row{display:flex;align-items:flex-start;gap:10px;background:#ffffff0d;border:1px solid rgba(245,185,66,.28);border-radius:14px;padding:9px 11px}.trick-item-row.undiscovered{opacity:.68;border-color:#ffffff1f}.trick-item-icon{font-size:1.35rem;line-height:1;min-width:32px;text-align:center;padding-top:2px}.trick-item-body{flex:1}.trick-item-head{display:flex;align-items:center;justify-content:space-between;gap:6px;margin-bottom:2px}.trick-item-title{font-size:.84rem;font-weight:800;color:var(--gold-bright)}.trick-item-diff{font-size:.66rem;color:var(--gold);white-space:nowrap}.trick-item-desc{font-size:.74rem;color:var(--text-muted);line-height:1.32}.lang-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-block:14px}.lang-card-btn{background:#ffffff0f;border:1px solid rgba(255,255,255,.18);color:var(--cream);border-radius:14px;padding:10px 6px;display:flex;flex-direction:column;align-items:center;gap:4px;cursor:pointer;font-weight:800;font-size:.78rem;transition:transform .12s ease,border-color .15s ease,background-color .15s ease}.lang-card-btn.active{background:#f5b9423d;border-color:var(--gold);color:var(--gold-bright)}.l-flag{font-size:1.4rem;line-height:1}.settings-toggles{display:flex;flex-direction:column;gap:8px;margin-bottom:16px}.setting-row-btn{background:#ffffff0d;border:1px solid rgba(255,255,255,.14);color:var(--cream);border-radius:14px;padding:11px 14px;display:flex;align-items:center;justify-content:space-between;font-size:.86rem;font-weight:700;cursor:pointer}.toggle-pill{font-size:.74rem;font-weight:900;padding:3px 10px;border-radius:99px;background:#ffffff1f;color:var(--text-muted)}.toggle-pill.on{background:#10b98147;color:#86efac;border:1px solid rgba(74,222,128,.5)}.settings-footer-links{margin-top:12px;text-align:center}.privacy-link{color:var(--text-muted);font-size:.72rem;font-weight:700;text-decoration:none;opacity:.78;transition:opacity .15s ease,color .15s ease}.privacy-link:hover{opacity:1;color:var(--gold-bright)}.result-badge{display:inline-block;font-size:.68rem;font-weight:900;padding:3px 10px;border-radius:99px;background:#f5b94229;color:var(--gold-bright);margin-bottom:6px}.result-icon-large{font-size:2.6rem}.result-title{font-size:1.25rem;font-weight:900;margin-bottom:4px}.result-desc{font-size:.82rem;color:var(--text-muted);margin-bottom:10px}.stars-row{font-size:1.55rem;letter-spacing:5px;margin-bottom:12px}.stats-row-clean{display:flex;justify-content:space-around;background:#ffffff0d;border-radius:14px;padding:10px;margin-bottom:14px}.stats-row-clean div{display:flex;flex-direction:column;font-size:.72rem;color:var(--text-muted)}.stats-row-clean strong{font-size:.96rem;color:var(--gold-bright)}.modal-actions{display:flex;gap:6px}.hidden{display:none!important}@container (max-width: 420px){.top-minimal-pill{gap:5px;padding:5px 9px 8px}.usta-badge-btn{font-size:.68rem;padding:4px 7px}.lang-mini-btn{font-size:.65rem;padding:3px 6px}.flavor-orb-btn{width:25px;height:25px;font-size:.72rem}}button:focus-visible,a:focus-visible{outline:2px solid var(--gold-bright);outline-offset:4px}button{transition:transform .13s ease,background-color .18s ease,border-color .18s ease}button:active:not(:disabled){transform:scale(.97)}.start-sheet-backdrop{padding:20px 16px max(20px,env(safe-area-inset-bottom));opacity:1;visibility:visible;transition:opacity .22s ease,visibility .22s}.start-sheet-backdrop.hidden{display:flex!important;opacity:0;visibility:hidden;pointer-events:none}.start-sheet-card{width:min(100%,400px);padding:24px;border:1px solid rgba(245,185,66,.24);border-radius:25px;background:#1b0f0af0;box-shadow:0 18px 50px #0008;transform:translateY(0);transition:transform .26s cubic-bezier(.2,.7,.2,1)}.start-sheet-backdrop.hidden .start-sheet-card{transform:translateY(24px);pointer-events:none}.sheet-header-row{justify-content:center;margin-bottom:21px}.sheet-title{font-size:1.2rem;font-weight:750;letter-spacing:-.02em;line-height:1.3}.menu-options-row{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:18px}.menu-option-button{color:var(--text-muted);border:1px solid #fff2;background:#ffffff06;display:flex;align-items:center;gap:8px;padding:0 13px;min-height:46px;border-radius:13px;cursor:pointer;font-size:.76rem}.menu-option-button>span:nth-child(2){flex:1;text-align:start}.menu-symbol{color:var(--gold);font-size:1.1rem}.legend-pills{display:none}.start-actions-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}.start-actions-row .play-giant-btn{grid-column:1 / -1;grid-row:1;min-height:54px;margin:0 0 4px;font-size:.94rem;letter-spacing:.01em;border-radius:14px}.start-actions-row .secondary-pill-btn{min-height:44px;border:0;background:transparent;font-size:.75rem;font-weight:550;color:var(--text-muted)}.play-giant-btn{background:linear-gradient(115deg,#f8d784,#e8ac49);color:#311b0c;box-shadow:0 5px 16px #0003;font-weight:750}#btn-audio,#btn-fullscreen-top{display:none}#btn-lang{width:44px;height:44px;min-width:44px;padding:0;border:0;border-radius:13px;font-size:0;background:#ffffff08;display:grid;place-items:center}#btn-lang:after{content:"";display:block;width:20px;height:20px;background:var(--cream);mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round'%3E%3Cpath d='M3 7h18M3 17h18'/%3E%3Ccircle fill='white' cx='8' cy='7' r='3'/%3E%3Ccircle fill='white' cx='16' cy='17' r='3'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat}.top-minimal-pill{gap:12px;padding:4px 7px 7px 12px;border-radius:18px;border-color:#f5b94226;background:#160d09d9;box-shadow:0 5px 18px #0004}.usta-badge-btn{min-height:42px;padding:0 4px;background:none;border:0;font-weight:650;font-size:.72rem}.score-minimal{font-size:.9rem;min-width:28px}.scoop-dots{gap:4px}.s-dot{width:6px;height:6px}.hud-top,.hud-bottom{transition:opacity .22s ease,transform .22s ease}.interface-home .hud-bottom{opacity:0;transform:translateY(10px);pointer-events:none}.interface-home .hud-top{justify-content:flex-end;padding-inline:18px}.interface-home .top-minimal-pill{border:0;background:transparent;box-shadow:none;padding:0}.interface-home .top-minimal-pill>:not(#btn-lang){display:none}.interface-home #btn-lang{background:#1d110ccc;border:1px solid #f5b94226}.gesture-hud-card{padding:12px 18px 15px;border-radius:17px;border-width:1px;box-shadow:0 8px 22px #0005}.gesture-pictogram{animation:none;font-size:1.45rem}.action-mode-label{font-size:.78rem;font-weight:750;letter-spacing:.015em}#hud-trick-title{display:none}dialog{border:1px solid #f5b94235;border-radius:24px;background:#20120bf7;max-height:min(86dvh,720px);transform:translateY(16px) scale(.985);transition-duration:.18s}dialog[open]:not([data-closing]){transform:translateY(0) scale(1)}dialog[data-closing]{opacity:0;transform:translateY(14px) scale(.985)}dialog::backdrop{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);transition-duration:.18s}@starting-style{dialog[open]:not([data-closing]){opacity:0;transform:translateY(20px) scale(.985)}}.modal-card{padding:24px}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:20px}.panel-heading h2{font-size:1.15rem;font-weight:700}.panel-dismiss{width:44px;height:44px;border:1px solid #fff2;color:var(--text-muted);border-radius:50%;background:#ffffff06;font-size:24px;cursor:pointer}.interface-panel>.play-giant-btn{min-height:48px;width:100%;margin-top:18px;border-radius:14px}.visual-order-bar{display:grid;grid-template-columns:1fr auto;gap:18px;padding:18px;border-color:#ffffff14;background:#ffffff03;margin:0}.scoop-count-picker{gap:10px}.scoop-cnt-btn{min-width:52px;min-height:64px;justify-content:center;gap:5px}.selected-cone-preview{width:42px;height:64px;border:0}.flavor-orb-picker{grid-column:1 / -1;display:grid;grid-template-columns:repeat(4,1fr);gap:10px;justify-items:center}.flavor-orb-btn{width:44px;height:44px;font-size:.9rem;border-width:2px;box-shadow:none}.flavor-orb-btn.selected{transform:scale(1.05);box-shadow:0 0 0 3px #ffffff26}.rank-pill{border:0;padding:8px 0;background:none;font-size:.68rem;white-space:normal;line-height:1.6;margin-bottom:16px}.stage-grid{gap:8px;margin:0}.stage-chip{min-height:56px;justify-content:center;gap:6px;border-radius:12px}.stage-chip.locked{opacity:.35}.settings-shortcuts{margin-bottom:18px}.settings-shortcuts button{min-height:44px;width:100%;border-radius:12px}.lang-card-btn{min-height:64px}.setting-row-btn{min-height:52px}.result-title{font-weight:750;font-size:1.15rem;line-height:1.4;margin-bottom:10px}.result-desc{line-height:1.6}.trick-item-row{padding:13px 10px}.trick-item-desc{line-height:1.5}.modal-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.modal-actions button{min-height:46px}.modal-actions button[hidden]{display:none!important}.modal-actions .play-giant-btn{grid-column:1 / -1;grid-row:1}.modal-actions.single-secondary #btn-menu-round{grid-column:1 / -1}@media(max-width:420px){.top-minimal-pill{gap:7px;padding-inline:9px 5px}.usta-badge-btn{font-size:.65rem;max-width:140px;overflow:hidden;text-overflow:ellipsis}.flavor-orb-btn{width:44px;height:44px;font-size:.9rem}.scoop-dots{display:none}body.round-active .hud-top .scoop-dots{display:inline-flex;gap:2px}body.round-active .hud-top .scoop-dots .s-dot{width:5px;height:5px}.start-sheet-card{padding:21px}.modal-card{padding:20px}.visual-order-bar{padding:12px;gap:12px}.gesture-hud-card{max-width:calc(100vw - 32px)}}@media(max-height:500px){.start-sheet-card{padding:16px;width:min(100%,380px)}.sheet-header-row{margin-bottom:12px}.menu-options-row{margin-bottom:9px}.start-actions-row{gap:3px}.start-actions-row .play-giant-btn{min-height:46px}.start-sheet-backdrop{padding-bottom:12px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition-duration:0s!important;scroll-behavior:auto!important}}.home-story-line{font-size:.72rem;color:#cdbba5;line-height:1.5;max-width:300px;margin:-8px auto 19px}.stage-story{margin-top:20px;padding-top:18px;border-top:1px solid #fff1;text-align:start}.stage-story>strong{font-size:.76rem;color:var(--gold-bright);font-weight:650}.stage-story p{font-size:.76rem;line-height:1.65;color:var(--text-muted);margin:8px 0 12px}.stage-story>div{display:flex;align-items:center;justify-content:space-between;gap:12px}.stage-story small{font-size:.66rem;color:var(--text-muted)}#btn-open-story{min-height:44px;padding:0 13px;color:var(--gold-bright);border:1px solid #f5b94230;border-radius:11px;background:#ffffff05;cursor:pointer;font-size:.75rem}.result-story{padding:12px;margin:8px 0 14px;border-inline-start:2px solid #d5bfb044;background:#ffffff04;color:var(--text-muted);font-size:.76rem;line-height:1.65;text-align:start}.result-story:empty{display:none}.result-story.memory-earned{border-color:#e5b868;color:#ead1a6}#dialog-story{max-width:min(94dvw,540px)}.postcard{position:relative;background:#e8d6b0;padding:23px;border-radius:4px 17px 5px;color:#543c28;text-align:start;box-shadow:0 4px 14px #0002}.postcard-eyebrow{font-size:.58rem;letter-spacing:2px;color:#8b6a46}.postcard h3{font:700 1.45rem Georgia,serif;max-width:85%;margin:15px 0 14px}.postcard p{font:.85rem/1.85 Georgia,serif}.postcard-stamp{position:absolute;top:17px;inset-inline-end:17px;display:grid;place-items:center;width:39px;height:47px;border:1px dashed #8b6a4670;font:italic 26px Georgia,serif;color:#9f403b;transform:rotate(9deg)}.story-memory-count{color:#b99a6f;font-size:.7rem;margin:20px 0 10px;text-align:start}.story-chapter,.story-people details{border-bottom:1px solid #ffffff10;text-align:start}.story-chapter summary{display:flex;align-items:center;gap:12px;min-height:54px;padding:10px 0;cursor:pointer;list-style:none;font-size:.77rem;color:var(--cream)}.story-chapter summary::-webkit-details-marker{display:none}.chapter-number{color:#d3ad68;font-size:.62rem;font-variant-numeric:tabular-nums}.chapter-marker{margin-inline-start:auto;font-size:.85rem;color:#d3ad68}.story-chapter.locked summary{color:#b19b86}.story-chapter p,.story-people p{font-size:.78rem;line-height:1.85;color:#ddc8b2;padding:0 0 16px 25px}.story-people-title{text-align:start;margin:25px 0 8px;font-size:.84rem;color:var(--gold-bright)}.story-people summary{font-size:.79rem;padding:13px 0;cursor:pointer}.story-people small{display:block;font-size:.65rem;color:#b19b86;margin:5px 0 0 16px}.story-ending{margin-top:20px;text-align:start;padding:20px;background:#d9b16c12;border:1px solid #d9b16c30;border-radius:15px}.story-ending small{color:#d9b16c;font-size:.65rem;text-transform:uppercase;letter-spacing:1.5px}.story-ending p{margin-top:10px;font:.9rem/1.8 Georgia,serif;color:#f4ddba}@media(max-height:650px){.home-story-line{font-size:.66rem;margin-bottom:12px}}.menu-options-row,.start-actions-row{grid-template-columns:1fr}body.ordering .hud-bottom{opacity:0;pointer-events:none}body.ordering .hearts-strip,body.ordering .score-minimal,body.ordering .routine-progress-track{opacity:.35}body.ordering #btn-switch-usta{pointer-events:none}.home-venue-label{color:#e8c47e;font-size:.65rem;letter-spacing:.14em;text-transform:uppercase;margin:-9px 0 15px}#dialog-stages{max-width:min(94dvw,620px)}.venue-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.venue-card{text-align:start;display:flex;flex-direction:column;gap:8px;min-width:0;padding:14px;color:var(--cream);border:1px solid #ffffff19;border-radius:16px;background:#ffffff04;cursor:pointer}.venue-card.selected{border-color:#e0b66e;background:#dcb0670c}.venue-card:disabled,.venue-card.disabled{cursor:default;opacity:.48;pointer-events:none}.venue-stage-chips{display:flex;flex-wrap:wrap;gap:4px}.venue-stage-chip{min-height:24px;padding:2px 6px;border-radius:8px;border:1px solid #ffffff22;background:#ffffff08;color:#ead3a8;font-size:.61rem;font-weight:600;cursor:pointer;line-height:1.2}.venue-stage-chip:hover:not(:disabled){background:#f5b94226;border-color:#f5b94266}.venue-stage-chip.active{background:#f5b94233;border-color:#f5b942;color:#fff4d2}.venue-stage-chip.endless{border-color:#10b98166;color:#a7f3d0}.venue-stage-chip:disabled{opacity:.35;cursor:default}.venue-art{height:88px;display:grid;place-items:center;color:#eed3a0;background:radial-gradient(ellipse,color-mix(in srgb,var(--venue-accent) 40%,transparent),transparent 74%);border-radius:10px}.venue-art svg{height:86px;width:130px}.venue-card-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.venue-card-head strong{font-size:.95rem;font-weight:650}.venue-card small{font-size:.68rem;line-height:1.55;color:var(--text-muted);min-height:2.9em}.venue-card-foot{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:.62rem;color:#c3aa87}.venue-stamps{display:flex;gap:4px}.venue-stamps i{display:block;width:6px;height:6px;border:1px solid #d8b37160;border-radius:50%}.venue-stamps i.done{background:#dfba76;border-color:#dfba76}#btn-switch-usta{cursor:default;display:flex;align-items:center;overflow:hidden;max-width:230px}#hud-level{overflow:hidden;text-overflow:ellipsis}.scoop-summary{display:none;color:#e7c88f;font-size:.68rem;white-space:nowrap}@media(max-width:420px){.venue-grid{gap:9px}.venue-card{padding:11px}.venue-art{height:68px}.venue-art svg{height:66px;width:100px}.venue-card-head strong{font-size:.82rem}.venue-card-foot{flex-wrap:wrap}.scoop-summary{display:inline}#btn-switch-usta{max-width:135px}}.menu-options-row{grid-template-columns:1fr 1fr}.discovery-home-copy{display:flex;flex-direction:column;gap:3px}.discovery-home-copy small{color:#b9a080;font-size:.59rem}.discovery-ui{position:fixed;top:0;right:0;bottom:0;left:0;z-index:40;pointer-events:none;color:#fff4df}.discovery-ui[hidden],.discovery-ui [hidden]{display:none!important}body.exploring .hud-top,body.exploring .hud-bottom{display:none}.discovery-toolbar{position:absolute;top:max(18px,env(safe-area-inset-top));left:22px;right:22px;display:flex;justify-content:space-between;align-items:center;gap:16px}.discovery-toolbar>div{display:flex;flex-direction:column;gap:5px;background:#21130bd9;border:1px solid #f0cf9026;padding:12px 16px;border-radius:16px;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.discovery-toolbar strong{font-size:.9rem}.discovery-toolbar small{font-size:.65rem;color:#dbbc88}.discovery-toolbar button{pointer-events:auto;background:#21130bd9;color:#f3d9ad}.discovery-navigation{position:absolute;top:max(100px,calc(env(safe-area-inset-top) + 85px));left:50%;transform:translate(-50%);display:flex;align-items:center;gap:12px;padding:4px 7px;border-radius:26px;background:#20130bd9;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.discovery-navigation button{pointer-events:auto;color:#f3dbb1;background:none;border:0;width:44px;height:40px;border-radius:50%;font-size:25px}.discovery-navigation button:hover{background:#ffffff0c}.discovery-navigation span{font-size:.72rem;min-width:70px;text-align:center}.discovery-hotspots{position:absolute;top:0;right:0;bottom:0;left:0}.discovery-hotspot{pointer-events:auto;position:absolute;width:48px;height:48px;transform:translate(-50%,-50%);display:grid;place-items:center;border:0;background:transparent;cursor:pointer}.discovery-hotspot span{width:15px;height:15px;border:1px solid #ffe5bba0;border-radius:50%;background:#fbeacb9c;box-shadow:0 0 0 6px #fbeacb14,0 2px 8px #160c0680;transition:transform .16s ease}.discovery-hotspot:hover span,.discovery-hotspot:focus-visible span{transform:scale(1.35);background:#fff6db}.discovery-hotspot.found span{background:#173b2cbb;border-color:#bce6bb}.discovery-hotspot.found span:after{content:"✓";color:#c6efc6;font-size:10px;display:block;line-height:13px;text-align:center}.discovery-hotspot.unavailable{opacity:.35}.discovery-hint{position:absolute;bottom:max(27px,env(safe-area-inset-bottom));left:25px;right:25px;text-align:center;font-size:.72rem;color:#f3dfb9;text-shadow:0 2px 7px #130a02}.discovery-card{pointer-events:auto;position:absolute;bottom:max(18px,env(safe-area-inset-bottom));left:50%;transform:translate(-50%);width:min(440px,calc(100vw - 32px));max-height:38dvh;overflow:auto;touch-action:pan-y;overscroll-behavior:contain;background:#25160ef5;border:1px solid #d6b57744;border-radius:21px;padding:19px 21px;box-shadow:0 14px 50px #0007}.discovery-card-top{display:flex;justify-content:space-between;align-items:center;gap:15px}.discovery-card-top span{font-size:.6rem;text-transform:uppercase;letter-spacing:.12em;color:#d4b47b}.discovery-card-top button{min-height:36px;padding:4px 8px;color:#cfbba0;font-size:.65rem;background:#ffffff08;border:1px solid #ffffff10;border-radius:9px}.discovery-card h2{margin:7px 0 15px;font:700 1.15rem Georgia,serif;color:#f2d7a5}.discovery-card>small{display:block;color:#b69b77;font-size:.59rem;margin-top:10px}.discovery-card p{font-size:.875rem;color:#edddc7;line-height:1.65;margin-top:5px}.discovery-card footer{display:flex;gap:12px;margin-top:12px}.discovery-card a{font-size:.61rem;color:#c4ab83;text-underline-offset:3px}.discovery-card[hidden]~.discovery-hint{display:block}@media(max-width:420px){.discovery-toolbar{left:15px;right:15px}.discovery-card{padding:15px 18px;max-height:40dvh}.discovery-card h2{font-size:1.05rem;margin-bottom:10px}.discovery-card p{font-size:.875rem}.discovery-navigation{top:max(95px,calc(env(safe-area-inset-top) + 80px))}}.discovery-hotspot:active:not(:disabled){transform:translate(-50%,-50%)}#start-overlay.start-sheet-backdrop{background:none;-webkit-backdrop-filter:none;backdrop-filter:none;padding:0;pointer-events:none}#start-overlay>[hidden]{display:none!important}#btn-lang{position:fixed;top:max(12px,env(safe-area-inset-top));right:max(14px,env(safe-area-inset-right));z-index:35;pointer-events:auto;background:#21140ddd;border:1px solid #f5b94226}.hud-top,body.ios-immersive .hud-top{top:auto;bottom:calc(max(12px,env(safe-area-inset-bottom)) + 94px)}.interface-home .hud-top,.interface-home .hud-bottom{display:none}body.ordering .hud-top{opacity:.8}body.exploring #btn-lang{display:none}dialog{inset:auto 0 0;margin:0 auto;width:min(100%,620px);max-width:min(100dvw,620px);border-radius:24px 24px 0 0;max-height:88dvh}#dialog-stages{max-width:min(100dvw,620px)}.options-start-action{position:sticky;bottom:-24px;padding:12px 0 max(12px,env(safe-area-inset-bottom));background:#20120bf5;margin-top:10px}.options-start-action [hidden],#btn-start-game[hidden]{display:none!important}#dialog-settings .menu-options-row{grid-template-columns:1fr 1fr}#dialog-settings .settings-shortcuts button{width:auto}#btn-close-settings{background:#ffffff0a;border:1px solid #ffffff18;color:var(--cream);box-shadow:none}body.exploring #game-canvas{cursor:grab}#game-container.hand-pointer #game-canvas{cursor:none}body.ordering .hud-top{visibility:visible;pointer-events:none}body.discovery-dragging #game-canvas{cursor:grabbing}@media(max-height:650px){.hud-top,body.ios-immersive .hud-top{bottom:calc(max(8px,env(safe-area-inset-bottom)) + 76px)}.hud-bottom .gesture-hud-card{padding:9px 14px}}.discovery-toolbar{top:auto;bottom:max(18px,env(safe-area-inset-bottom))}.discovery-navigation{top:auto;bottom:calc(max(18px,env(safe-area-inset-bottom)) + 68px)}.discovery-hint{bottom:calc(max(18px,env(safe-area-inset-bottom)) + 121px)}.discovery-focused .discovery-toolbar,.discovery-focused .discovery-navigation,#discovery-status{display:none}.hud-top,body.ios-immersive .hud-top{top:max(8px,env(safe-area-inset-top));bottom:auto;padding-left:12px;padding-right:66px;justify-content:flex-start}.hud-top .top-minimal-pill{padding-block:2px 5px;border-radius:14px;max-width:100%;width:100%;box-sizing:border-box}.hud-top .usta-badge-btn{flex:1;min-width:0}body.ordering .hud-top,body.ordering .hearts-strip,body.ordering .score-minimal,body.ordering .routine-progress-track{opacity:1}.hud-top .usta-badge-btn{min-height:34px}.hud-top .usta-badge-btn.interactive{cursor:pointer;pointer-events:auto}body.vendor-speaking:not(.round-active) .hud-bottom{visibility:hidden;pointer-events:none}.hud-bottom,body.ios-immersive .hud-bottom{top:calc(max(8px,env(safe-area-inset-top)) + 48px);bottom:auto}.hud-bottom .gesture-hud-card{padding:4px 12px 7px;border-radius:13px;max-width:min(360px,calc(100vw - 24px))}.hud-bottom .gesture-pictogram{font-size:1.1rem}.hud-bottom .action-mode-label{font-size:.73rem;line-height:1.25}#dialog-result{top:0;right:0;bottom:0;left:0;margin:auto;border-radius:24px;width:min(calc(100% - 28px),540px);max-height:88dvh}[dir=rtl] #btn-lang{right:auto;left:max(14px,env(safe-area-inset-left))}[dir=rtl] .hud-top,[dir=rtl] body.ios-immersive .hud-top{padding-right:12px;padding-left:66px}@media(orientation:landscape){.hud-top,body.ios-immersive .hud-top{right:auto;width:min(260px,30vw);padding-right:0}.hud-bottom,body.ios-immersive .hud-bottom{right:auto;width:min(260px,30vw);padding-inline:10px 0}.hud-top .scoop-dots,.hud-top .scoop-summary{display:none}body.round-active .hud-top .scoop-dots{display:inline-flex;gap:2px}body.round-active .hud-top .scoop-dots .s-dot{width:5px;height:5px}.hud-bottom .gesture-hud-card{width:100%;box-sizing:border-box}[dir=rtl] .hud-top,[dir=rtl] body.ios-immersive .hud-top{left:auto;right:0;padding-left:0;padding-right:10px}[dir=rtl] .hud-bottom,[dir=rtl] body.ios-immersive .hud-bottom{left:auto;right:0;padding-inline:10px 0}}#dialog-settings .menu-options-row{grid-template-columns:repeat(auto-fit,minmax(140px,1fr))}#dialog-tricks{max-width:min(100dvw,640px)}.tricks-progress-summary{display:flex;flex-direction:column;gap:6px;margin-bottom:10px;text-align:start;font-size:.74rem;color:#e8c47e}.tricks-progress-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.achievements-strip{display:flex;flex-wrap:wrap;gap:5px;margin-bottom:12px}.achievement-pill{display:inline-flex;align-items:center;gap:5px;padding:3px 9px;border-radius:99px;font-size:.66rem;font-weight:600;border:1px solid #f5b94245;background:#f5b94218;color:#ffe7b3}.achievement-pill.locked{opacity:.42;border-color:#ffffff1a;background:#ffffff06;color:var(--text-muted)}.tricks-progress-bar{height:7px;border-radius:99px;background:#ffffff14;overflow:hidden}.tricks-progress-fill{height:100%;width:0%;background:linear-gradient(90deg,#f5b942,#10b981);transition:width .24s ease}.tricks-filter-tabs{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:14px}.trick-tab-btn{min-height:34px;padding:4px 11px;border-radius:99px;border:1px solid #ffffff1c;background:#ffffff08;color:var(--text-muted);font-size:.7rem;font-weight:600;cursor:pointer}.trick-tab-btn.active{border-color:#f5b942;background:#f5b94224;color:#ffe7b3}.tricks-catalog-list{display:flex;flex-direction:column;gap:9px;max-height:min(48dvh,380px);overflow-y:auto;padding-inline-end:4px;touch-action:pan-y;overscroll-behavior:contain}.trick-card-item{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:12px 14px;border-radius:14px;border:1px solid #ffffff14;background:#ffffff05;text-align:start}.trick-card-item.locked{opacity:.48}.trick-card-main{display:flex;gap:10px;flex:1;min-width:0}.trick-card-icon{font-size:1.35rem;line-height:1.2;flex-shrink:0}.trick-card-copy{display:flex;flex-direction:column;gap:4px;min-width:0}.trick-card-title{font-size:.82rem;font-weight:700;color:var(--cream);display:flex;align-items:center;gap:6px;flex-wrap:wrap}.trick-card-stars{font-size:.65rem;color:#f5b942;letter-spacing:1px}.trick-card-desc{font-size:.72rem;line-height:1.48;color:var(--text-muted)}.btn-practice-trick{align-self:center;flex-shrink:0;min-height:36px;padding:0 12px;border-radius:10px;border:1px solid #f5b94255;background:#f5b9421f;color:#ffe5ad;font-size:.7rem;font-weight:700;cursor:pointer;white-space:nowrap}.btn-practice-trick:hover{background:#f5b94238}
