@font-face{font-family:Fraunces Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(./fraunces-vietnamese-wght-normal-CnvboYUG.woff2) format("woff2-variations");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Fraunces Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(./fraunces-latin-ext-wght-normal-Ca2vKHc0.woff2) format("woff2-variations");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Fraunces Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(./fraunces-latin-wght-normal-ukD16Tqj.woff2) format("woff2-variations");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root{--color-bg: #0e0c0a;--color-surface: #1f1a15;--color-panel: #17130f;--color-border: rgb(214 178 110 / .28);--glass-top: rgb(52 43 33 / .78);--glass-bottom: rgb(24 20 16 / .86);--color-text: #f4e8d0;--color-text-muted: #b8a68a;--gold-light: #fff2cc;--gold: #e9c879;--gold-mid: #c9a14e;--bronze: #8d6629;--bronze-deep: #4a3414;--color-bar: #e9d6ae;--color-pivot: #e9c879;--color-hook: #8e7c60;--color-notch: #e2cfa6;--beam-light: #fff1b8;--beam-mid: #e9b949;--beam-dark: #9c6a14;--brass-light: #fff6d6;--brass-mid: #e2b85c;--brass-dark: #7a5718;--shadow-color: #000000;--hook-color: #e2b85c;--color-accent: #f0cf80;--color-accent-text: #241806;--color-success: #5fd3a6;--weight-1: #ffb21f;--weight-2: #ff7438;--weight-3: #ff4766;--weight-4: #b55cf6;--weight-5: #5d6bff;--weight-6: #22b0f5;--weight-7: #16cc9c;--weight-8: #78d148;--weight-9: #e3c52c;--weight-10: #c5865a;--weight-text: #ffffff;--weight-outline: #1e1206;--number-outline: -1px -1px 0 var(--weight-outline), 1px -1px 0 var(--weight-outline), -1px 1px 0 var(--weight-outline), 1px 1px 0 var(--weight-outline), 0 2px 2px rgb(0 0 0 / .5);--font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;--font-display: "Fraunces Variable", Georgia, "Times New Roman", serif;--font-size-sm: .875rem;--font-size-md: 1rem;--font-size-lg: 1.25rem;--font-size-xl: 1.75rem;--font-size-2xl: 2.4rem;--space-1: 4px;--space-2: 8px;--space-3: 12px;--space-4: 16px;--space-5: 20px;--space-6: 24px;--space-8: 32px;--radius-sm: 12px;--radius-md: 18px;--radius-lg: 28px;--radius-full: 999px;--shadow-card: 0 1px 0 rgb(255 240 210 / .06) inset, 0 18px 40px rgb(0 0 0 / .55), 0 2px 6px rgb(0 0 0 / .4);--tap-size: 44px;--max-width: 540px;--tilt-duration: .7s;--ease-settle: cubic-bezier(.34, 1.56, .64, 1);color-scheme:dark}*,*:before,*:after{box-sizing:border-box}html,body{margin:0;padding:0}body{min-height:100vh;min-height:100dvh;background-color:var(--color-bg);color:var(--color-text);font-family:var(--font-sans);font-size:var(--font-size-md);line-height:1.5;-webkit-font-smoothing:antialiased;-webkit-text-size-adjust:100%;text-size-adjust:100%;-webkit-tap-highlight-color:transparent;overflow-x:hidden}h1,h2,h3,p{margin:0}button{font:inherit;color:inherit;touch-action:manipulation}[role=button]{touch-action:manipulation}svg{display:block}body:before,body:after{content:"";position:fixed;top:0;right:0;bottom:0;left:0;pointer-events:none;z-index:0}body:before{background:radial-gradient(ellipse 70% 45% at 50% 30%,#d6a05038,#d6a05000 70%),radial-gradient(circle at 12% 18%,#965aff21,#965aff00 32%),radial-gradient(circle at 92% 62%,#28d2be1a,#28d2be00 34%),radial-gradient(ellipse 120% 80% at 50% 0%,#2a2219,#15110d 55%,#090807)}body:after{opacity:.12;mix-blend-mode:overlay;background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>")}#root{position:relative;z-index:1;min-height:100vh;min-height:100dvh;display:flex;justify-content:center}.app{width:100%;max-width:var(--max-width);min-height:100vh;min-height:100dvh;padding:var(--space-3) var(--space-4) var(--space-4);padding-top:calc(var(--space-3) + env(safe-area-inset-top));padding-bottom:max(var(--space-4),env(safe-area-inset-bottom));display:flex;flex-direction:column;gap:var(--space-4)}@media(min-width:768px){.app{padding-top:var(--space-6);padding-bottom:var(--space-8);gap:var(--space-5)}}.card,.tray-panel{position:relative;border:1px solid var(--color-border);border-radius:var(--radius-lg);background:linear-gradient(180deg,var(--glass-top),var(--glass-bottom));box-shadow:var(--shadow-card);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.card:after,.tray-panel:after{content:"";position:absolute;top:-1px;left:14%;right:14%;height:1px;background:linear-gradient(90deg,transparent,rgb(255 228 170 / .75),transparent);pointer-events:none}.card{padding:var(--space-5)}.app-header{display:flex;align-items:center;justify-content:space-between;gap:var(--space-3);min-height:var(--tap-size)}.brand{display:flex;align-items:center;gap:var(--space-2);min-width:0}.brand-logo{width:28px;height:28px;flex-shrink:0;filter:drop-shadow(0 2px 4px rgb(0 0 0 / .6))}.app-title{font-family:var(--font-display);font-size:.98rem;font-weight:600;letter-spacing:.16em;text-transform:uppercase;line-height:1;white-space:nowrap;background:linear-gradient(180deg,var(--gold-light) 0%,var(--gold) 45%,var(--gold-mid) 100%);-webkit-background-clip:text;background-clip:text;color:transparent;filter:drop-shadow(0 1px 1px rgb(0 0 0 / .6))}@media(max-width:349px){.brand-logo{display:none}.app-title{font-size:.9rem;letter-spacing:.1em}}@media(min-width:400px){.app-title{font-size:1.15rem;letter-spacing:.2em}}@media(min-width:600px){.app-title{font-size:1.35rem;letter-spacing:.24em}}.icon-button,.back-button{width:var(--tap-size);height:var(--tap-size);flex-shrink:0;display:grid;place-items:center;border:1px solid var(--color-border);border-radius:50%;background:radial-gradient(circle at 35% 25%,#3a3127,#1a1612 70%);box-shadow:inset 0 1px #ffebbe1f,0 4px 10px #00000073;color:var(--gold);font-family:var(--font-display);font-size:1.15rem;font-weight:600;cursor:pointer;transition:transform .14s ease,box-shadow .2s ease,border-color .2s ease}.back-button{margin-left:-6px}.back-button svg{width:20px;height:20px}@media(hover:hover){.icon-button:hover,.back-button:hover{border-color:#e9c87999;box-shadow:inset 0 1px #ffebbe1f,0 0 16px #e9c87940,0 4px 10px #00000073}}.icon-button:active,.back-button:active{transform:scale(.93)}.header-actions{display:flex;gap:var(--space-2)}.icon-button svg{width:20px;height:20px}.link-button{flex-shrink:0;min-height:var(--tap-size);padding:0 var(--space-2);border:none;background:none;color:var(--color-accent);font-size:var(--font-size-sm);font-weight:600;letter-spacing:.04em;cursor:pointer;transition:color .16s ease}@media(hover:hover){.link-button:hover{color:var(--gold-light)}}.play-area{position:relative;flex:1;display:flex;flex-direction:column;justify-content:center;gap:var(--space-3)}.play-area:before{content:"";position:absolute;top:10%;right:0;bottom:0;left:0;z-index:-1;pointer-events:none;background:radial-gradient(ellipse 55% 50% at 50% 55%,#f0be6e21,#f0be6e00 70%)}.puzzle-heading{display:flex;flex-direction:column;align-items:center;gap:var(--space-2);text-align:center}.puzzle-title{display:flex;align-items:center;justify-content:center;gap:var(--space-3);font-family:var(--font-display);font-size:var(--font-size-lg);font-weight:500;letter-spacing:.04em;color:var(--color-text)}.puzzle-title:before,.puzzle-title:after{content:"";width:32px;height:1px;background:linear-gradient(to right,transparent,var(--gold-mid))}.puzzle-title:after{background:linear-gradient(to left,transparent,var(--gold-mid))}.difficulty{display:inline-flex;align-items:center;gap:var(--space-3);color:var(--color-text-muted);font-size:.75rem;font-weight:600;letter-spacing:.16em;text-transform:uppercase}.difficulty-pips{display:inline-flex;gap:5px}.difficulty-pip{width:7px;height:7px;transform:rotate(45deg);border:1px solid rgb(201 161 78 / .55);background:transparent}.difficulty-pip.is-on{border-color:var(--gold);background:linear-gradient(135deg,var(--gold-light),var(--gold-mid));box-shadow:0 0 6px #e9c8798c}.intro{max-width:36ch;margin:0 auto;padding:var(--space-3) var(--space-4);border:1px solid var(--color-border);border-radius:var(--radius-md);background:linear-gradient(180deg,var(--glass-top),var(--glass-bottom));text-align:center;font-size:var(--font-size-md);color:var(--color-text)}.tray-panel{display:flex;flex-direction:column;gap:var(--space-4);padding:var(--space-4) var(--space-4) var(--space-3)}.hint{text-align:center;color:var(--color-text-muted);font-size:var(--font-size-sm);letter-spacing:.02em;min-height:1.5em}.controls{display:flex;align-items:center;gap:var(--space-2);min-height:var(--tap-size);padding-top:var(--space-3);border-top:1px solid rgb(214 178 110 / .14)}.stat{display:inline-flex;align-items:center;gap:7px;padding:6px 12px;border-radius:var(--radius-full);background:var(--color-panel);box-shadow:inset 0 1px 3px #0009,0 1px #ffebbe0d;color:var(--color-text-muted);font-size:var(--font-size-sm)}.stat svg{width:15px;height:15px;color:var(--gold)}.stat strong{color:var(--color-text);font-weight:650;font-variant-numeric:tabular-nums}.reset-button{margin-left:auto;width:var(--tap-size);height:var(--tap-size);display:grid;place-items:center;border:1px solid var(--color-border);border-radius:50%;background:radial-gradient(circle at 35% 25%,#3a3127,#1a1612 70%);box-shadow:inset 0 1px #ffebbe1f,0 4px 10px #00000073;color:var(--gold);cursor:pointer;transition:transform .16s ease,box-shadow .2s ease,opacity .16s ease}.reset-button svg{width:19px;height:19px}@media(hover:hover){.reset-button:hover:not(:disabled){box-shadow:inset 0 1px #ffebbe1f,0 0 16px #e9c87940,0 4px 10px #00000073}}.reset-button:active:not(:disabled){transform:rotate(-60deg) scale(.93)}.reset-button:disabled{opacity:.35;cursor:default}.drag-ghost{position:fixed;z-index:10;transform:translate(-50%,-50%) scale(1.08);pointer-events:none;display:grid;place-items:center;border-radius:50%;color:var(--weight-text);font-weight:800;font-size:17px;text-shadow:var(--number-outline);box-shadow:inset 0 0 0 1.5px #0000004d,0 0 20px #ffffff2e,0 16px 22px #0009}.button{min-height:48px;padding:0 var(--space-8);border:1px solid rgb(255 236 190 / .55);border-radius:var(--radius-full);background:linear-gradient(180deg,#fbe3a2,#e7c16d 45%,#c79a45);box-shadow:inset 0 1px #ffffffa6,inset 0 -2px #78501459,0 6px 18px #d6a04647,0 3px 6px #00000073;color:var(--color-accent-text);font-weight:700;letter-spacing:.06em;text-transform:uppercase;font-size:.95rem;cursor:pointer;transition:transform .14s ease,box-shadow .22s ease,filter .22s ease}@media(hover:hover){.button:hover{filter:brightness(1.06);box-shadow:inset 0 1px #ffffffa6,inset 0 -2px #78501459,0 8px 26px #d6a0466b,0 3px 6px #00000073}}.button:active{transform:translateY(1px) scale(.98);box-shadow:inset 0 1px #ffffff80,inset 0 -1px #78501459,0 2px 8px #d6a04640}:focus-visible{outline:2px solid var(--color-accent);outline-offset:3px}.visually-hidden{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}@media(prefers-reduced-motion:reduce){:root{--tilt-duration: 0ms}*,*:before,*:after{transition-duration:0ms!important;animation-duration:0ms!important;animation-delay:0ms!important}}.hint-button{position:relative;margin-left:auto;width:var(--tap-size);height:var(--tap-size);display:grid;place-items:center;border:1px solid var(--color-border);border-radius:50%;background:radial-gradient(circle at 35% 25%,#3a3127,#1a1612 70%);box-shadow:inset 0 1px #ffebbe1f,0 4px 10px #00000073;color:var(--gold);cursor:pointer;transition:transform .16s ease,box-shadow .2s ease,opacity .16s ease}.hint-button svg{width:20px;height:20px}.hint-button+.reset-button{margin-left:0}@media(hover:hover){.hint-button:hover:not(:disabled){box-shadow:inset 0 1px #ffebbe1f,0 0 16px #e9c8794d,0 4px 10px #00000073}}.hint-button:active:not(:disabled){transform:scale(.93)}.hint-button:disabled{opacity:.35;cursor:default}.hint-badge{position:absolute;top:-3px;right:-3px;min-width:18px;height:18px;display:grid;place-items:center;padding:0 4px;border-radius:var(--radius-full);background:linear-gradient(180deg,#fbe3a2,#c79a45);color:var(--color-accent-text);font-size:11px;font-weight:800;box-shadow:0 2px 4px #00000080}.hint.is-hint{color:var(--gold-light);font-weight:600}@media(max-width:400px){.stat-word{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}}.meter{margin:0 auto;width:100%;max-width:420px;padding:var(--space-3);border:1px solid var(--color-border);border-radius:var(--radius-md);background:#14100cb3}.meter-title{margin-bottom:var(--space-2);text-align:center;color:var(--gold);font-size:.75rem;font-weight:600;letter-spacing:.06em}.meter-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}.meter-row{display:grid;grid-template-columns:1fr auto;grid-template-areas:"name state" "sum sum";gap:2px var(--space-2);padding:6px 10px;border-radius:var(--radius-sm);background:#ffe6aa0a;font-size:var(--font-size-sm);transition:background .3s ease}.meter-name{grid-area:name;color:var(--color-text);font-weight:600}.meter-state{grid-area:state;font-size:.8rem;font-weight:700}.meter-sum{grid-area:sum;display:flex;align-items:center;justify-content:center;gap:var(--space-3);color:var(--color-text-muted);font-variant-numeric:tabular-nums}.meter-side strong{color:var(--color-text)}.meter-vs{color:var(--gold);font-weight:700}.meter-row.is-level{background:#5fd3a61a}.meter-row.is-level .meter-state{color:var(--color-success)}.meter-row.is-tipping .meter-state{color:#f0b45a}.meter-row.is-empty .meter-state{color:var(--color-text-muted);font-weight:500}.mobile{user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;width:100%;height:auto;margin:0 auto;overflow:visible}.mobile-swing{transform-box:view-box;transform-origin:0 0;transition:transform var(--tilt-duration) var(--ease-settle)}.mobile-string{stroke:var(--color-bar);stroke-width:1.1;opacity:.6}.mobile-bar{stroke:#3c2300b3;stroke-width:.7}.mobile-bar-shine{fill:#ffffffbf}.mobile-notch{stroke:#5a3705bf;stroke-width:1.1;stroke-linecap:round}.mobile-notch-light{stroke:#ffecbe73;stroke-width:.7;stroke-linecap:round}.mobile-ruler{stroke:#e9d2a08c;stroke-width:1;stroke-linecap:round}.mobile-ruler-tag{fill:#15110c}.mobile-notch-label{fill:var(--color-notch);font-size:10.5px;font-weight:600;text-anchor:middle;font-variant-numeric:tabular-nums}.mobile-pivot,.mobile-rivet{stroke:#3c2808e6;stroke-width:.8}.mobile-pivot-collar{fill:#17120c;stroke:#e2b85c8c;stroke-width:1}.mobile-pivot-shine{fill:#ffffffd9;pointer-events:none}.mobile-eyelet{fill:none;stroke:var(--brass-mid);stroke-width:1.3}.mobile-hook{fill:none;stroke:var(--hook-color);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.mobile-empty{fill:#ffe6aa08;stroke:var(--color-hook);stroke-width:1.4;stroke-dasharray:3.5 3;transition:stroke .2s ease,fill .2s ease}.mobile-hook-group{cursor:pointer;outline:none}.mobile-tap-area{fill:transparent;stroke:none;transition:fill .16s ease,stroke .16s ease}.mobile-hook-group:focus-visible .mobile-tap-area{stroke:var(--color-accent);stroke-width:1.5}.mobile-hook-group.has-weight{touch-action:none;cursor:grab}.mobile-hook-group.is-drop-target .mobile-tap-area{fill:#f0cf801f;stroke:var(--color-accent);stroke-width:1.5}.mobile-hook-group.is-preview .mobile-weight{opacity:.55;animation:none}.mobile.is-holding .mobile-empty{stroke:var(--color-accent);stroke-width:1.8;fill:#f0cf801a;animation:empty-pulse 1.4s ease-in-out infinite}@keyframes empty-pulse{0%,to{stroke-opacity:.55}50%{stroke-opacity:1}}.mobile-weight-disc{stroke:#1e0f0073;stroke-width:1}.mobile-weight-rim{fill:none;stroke:#ffffff47;stroke-width:1.4;stroke-linecap:round}.mobile-weight-shine{fill:#fffc}.mobile-weight-label{fill:var(--weight-text);stroke:var(--weight-outline);stroke-width:2.6px;stroke-linejoin:round;paint-order:stroke;font-size:14.5px;font-weight:800;text-anchor:middle;dominant-baseline:central}.mobile-weight{transform-box:fill-box;transform-origin:50% 0%;animation:weight-place .56s ease-out}@keyframes weight-place{0%{opacity:0;transform:translateY(-18px) scale(.75)}45%{opacity:1;transform:translateY(0) scale(1.1,.88)}70%{transform:translateY(-2px) scale(.96,1.05)}to{transform:none}}.mobile-pivot{transition:fill .4s ease var(--tilt-duration)}.mobile.is-solved .mobile-pivot{fill:var(--color-success);stroke:#0d3b2a}.mobile.is-solved .mobile-pivot-collar{stroke:var(--color-success);animation:joint-glow 2.4s ease-in-out var(--tilt-duration) infinite}@keyframes joint-glow{0%,to{filter:drop-shadow(0 0 2px rgb(95 211 166 / .5))}50%{filter:drop-shadow(0 0 7px rgb(95 211 166 / .95))}}.mobile.is-solved .mobile-hook-group{cursor:default}.mobile.is-celebrating .mobile-weight{animation:weight-bob .8s ease-in-out var(--tilt-duration)}@keyframes weight-bob{0%,to{transform:translateY(0)}30%{transform:translateY(-5px)}60%{transform:translateY(2px)}}.sparkle{transform-box:fill-box;transform-origin:center;opacity:0;filter:drop-shadow(0 0 3px rgb(255 220 140 / .9));animation:sparkle-burst 1.1s cubic-bezier(.2,.7,.3,1) forwards}@keyframes sparkle-burst{0%{opacity:0;transform:translate(0) scale(.2) rotate(0)}20%{opacity:1}to{opacity:0;transform:translate(var(--dx),var(--dy)) scale(1.1) rotate(90deg)}}@media(prefers-reduced-motion:reduce){.sparkles{display:none}}.mobile-bar-hint{fill:#ffd6782e;stroke:#ffdc8cd9;stroke-width:1.4;animation:hint-pulse 1.3s ease-in-out infinite}.mobile-hook-group.is-hinted .mobile-empty{stroke:#ffd46b;stroke-dasharray:none;stroke-width:2}.mobile-hook-group.is-hinted .mobile-tap-area{fill:#ffd67824;stroke:#ffdc8ce6;stroke-width:1.5;animation:hint-pulse 1.3s ease-in-out infinite}@keyframes hint-pulse{0%,to{opacity:.55}50%{opacity:1}}.mobile-hint-ghost{fill:#ffe39a;stroke:#281905e6;stroke-width:3px;paint-order:stroke;font-size:17px;font-weight:800;text-anchor:middle;dominant-baseline:central;pointer-events:none}.tray{user-select:none;-webkit-user-select:none;display:grid;justify-content:center;gap:var(--space-3) var(--space-3);padding:var(--space-1) 0}.tray-slot{position:relative;width:48px;height:48px;display:grid;place-items:center}.tray-slot:before{content:"";position:absolute;top:2px;right:2px;bottom:2px;left:2px;border-radius:50%;background:radial-gradient(circle at 50% 35%,#0f0c09,#1d1813 75%);box-shadow:inset 0 3px 6px #000c,0 0 0 1px #d6b26e38,0 1px 0 1px #ffebbe0d}.tray-disc,.tray-slot-empty{position:relative}.tray-weight{padding:0;border:none;background:none;cursor:grab;touch-action:none}.tray-disc{display:grid;place-items:center;border-radius:50%;color:var(--weight-text);font-weight:800;font-size:16px;text-shadow:var(--number-outline);box-shadow:inset 0 0 0 1px #1e0f0066,inset 0 -2px 3px #ffffff38,0 6px 10px #0000008c;animation:disc-arrive .38s var(--ease-settle);transition:transform .26s var(--ease-settle),box-shadow .26s ease}@keyframes disc-arrive{0%{opacity:0;transform:scale(.5)}to{opacity:1;transform:none}}@media(hover:hover){.tray-weight:hover .tray-disc{transform:translateY(-2px)}}.tray-weight:active .tray-disc{transform:scale(.92)}.tray-weight.is-selected .tray-disc{transform:translateY(-8px) scale(1.14);box-shadow:inset 0 0 0 1px #1e0f0066,inset 0 -2px 3px #ffffff38,0 0 0 2.5px var(--gold),0 0 22px 4px #f0c87873,0 18px 18px #0000008c;animation:disc-pop .42s var(--ease-settle),disc-float 1.6s ease-in-out .42s infinite}@keyframes disc-pop{0%{transform:none}40%{transform:translateY(-12px) scale(1.2,1.08)}to{transform:translateY(-8px) scale(1.14)}}@keyframes disc-float{0%,to{transform:translateY(-8px) scale(1.14)}50%{transform:translateY(-11px) scale(1.14)}}.tray-weight.is-lifted .tray-disc{opacity:.22;transform:none;animation:none;box-shadow:none}.tray-slot-empty{border-radius:50%}.is-guiding .tray-weight .tray-disc{animation:guide-pulse 1.6s ease-in-out infinite}.is-guiding .tray-weight:nth-child(2) .tray-disc{animation-delay:.2s}.is-guiding .tray-weight:nth-child(3) .tray-disc{animation-delay:.4s}.is-guiding .tray-weight:nth-child(4) .tray-disc{animation-delay:.6s}@keyframes guide-pulse{0%,to{transform:scale(1);filter:none}50%{transform:scale(1.1);filter:drop-shadow(0 0 8px rgb(233 200 121 / .75))}}.win{display:flex;flex-direction:column;align-items:center;gap:var(--space-3);text-align:center;animation:win-appear .6s var(--ease-settle) var(--tilt-duration) both}@keyframes win-appear{0%{opacity:0;transform:translateY(24px) scale(.96)}to{opacity:1;transform:none}}.win:before{content:"";position:absolute;top:0;right:0;bottom:45%;left:0;border-radius:inherit;background:radial-gradient(ellipse 70% 90% at 50% 0%,#f0c87829,#f0c87800 70%);pointer-events:none}.win-title{position:relative;display:flex;align-items:center;gap:var(--space-3);font-family:var(--font-display);font-size:var(--font-size-2xl);font-weight:600;line-height:1.1;letter-spacing:.01em;outline:none}.win-title{background:linear-gradient(180deg,#fff6dc,#f0d28a 45%,#c99a45);-webkit-background-clip:text;background-clip:text;color:transparent;filter:drop-shadow(0 2px 8px rgb(240 190 100 / .35))}.win-title:before,.win-title:after{content:"✦";font-size:.45em;color:var(--gold);-webkit-text-fill-color:var(--gold);animation:star-twinkle .9s ease-out calc(var(--tilt-duration) + .35s) both}.win-title:after{animation-delay:calc(var(--tilt-duration) + .5s)}@keyframes star-twinkle{0%{opacity:0;transform:scale(.2) rotate(-90deg)}60%{opacity:1;transform:scale(1.4) rotate(10deg)}to{opacity:1;transform:scale(1) rotate(0)}}.win-subtitle{position:relative;color:var(--color-text-muted);font-size:var(--font-size-sm);max-width:34ch}.win-stats{position:relative;display:flex;gap:var(--space-3);margin:var(--space-1) 0}.win-stats>div{min-width:112px;padding:var(--space-2) var(--space-4);border-radius:var(--radius-md);background:var(--color-panel);box-shadow:inset 0 2px 6px #0009,0 1px #ffebbe0d}.win-stats dt{color:var(--color-text-muted);font-size:.7rem;font-weight:600;letter-spacing:.16em;text-transform:uppercase}.win-stats dd{margin:0;font-family:var(--font-display);font-size:var(--font-size-xl);font-weight:500;line-height:1.2;color:var(--gold-light);font-variant-numeric:tabular-nums}.countdown{position:relative;color:var(--color-text-muted);font-size:var(--font-size-sm)}.countdown strong{color:var(--color-text);font-variant-numeric:tabular-nums}.win-hints{position:relative;margin-top:calc(-1 * var(--space-1));color:var(--gold);font-size:.8rem;letter-spacing:.04em}.share{display:flex;flex-direction:column;align-items:center;gap:var(--space-1)}.share-button{min-height:var(--tap-size);padding:0 var(--space-6);border:1px solid var(--color-accent);border-radius:var(--radius-full);background:#ffe6aa0f;color:var(--color-accent);font-weight:700;letter-spacing:.06em;text-transform:uppercase;font-size:var(--font-size-sm);cursor:pointer}.share-button:active{transform:translateY(1px)}.share-note{min-height:1.2em;margin:0;color:var(--color-text-muted);font-size:var(--font-size-sm)}.streaks{position:relative;display:flex;gap:var(--space-3);margin:0;width:100%;justify-content:center}.streaks>div{display:flex;align-items:baseline;gap:var(--space-2);padding:var(--space-2) var(--space-4);border:1px solid var(--color-border);border-radius:var(--radius-full);background:#ffe6aa0a}.streaks dt{color:var(--color-text-muted);font-size:var(--font-size-sm)}.streaks dd{margin:0;font-family:var(--font-display);font-size:var(--font-size-lg);font-weight:600;color:var(--gold-light);font-variant-numeric:tabular-nums}.home{flex:1;display:flex;flex-direction:column;gap:var(--space-4)}.home-tagline{color:var(--color-text-muted);font-size:var(--font-size-sm);text-align:center;margin-top:var(--space-1)}.home-new{display:flex;align-items:center;justify-content:center;gap:var(--space-1);margin-top:calc(-1 * var(--space-2));color:var(--color-text-muted);font-size:var(--font-size-sm)}.home-today{position:relative;overflow:hidden;display:grid;grid-template-columns:auto 1fr;grid-template-areas:"art body" "foot foot";gap:var(--space-3) var(--space-4);width:100%;padding:var(--space-5);border:1px solid var(--color-border);border-radius:var(--radius-lg);background:radial-gradient(ellipse 60% 80% at 15% 35%,#f0c36e24,#f0c36e00 70%),linear-gradient(180deg,var(--glass-top),var(--glass-bottom));box-shadow:var(--shadow-card);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);color:var(--color-text);text-align:left;cursor:pointer;transition:transform .16s ease,box-shadow .24s ease,border-color .24s ease}@media(hover:hover){.home-today:hover{border-color:#e9c87980;box-shadow:var(--shadow-card),0 0 30px #f0c36e1f}}.home-today:before{content:"";position:absolute;top:0;left:12%;right:12%;height:1px;background:linear-gradient(90deg,transparent,rgb(255 228 170 / .8),transparent)}.home-today:active{transform:scale(.985)}.home-today-art{grid-area:art;width:72px;height:72px;display:grid;place-items:center;border-radius:var(--radius-md);background:radial-gradient(circle at 50% 40%,#2a221a,var(--color-panel) 75%);box-shadow:inset 0 2px 8px #0009,0 0 0 1px var(--color-border)}.home-today-logo{width:52px;height:52px}.home-today-body{grid-area:body;display:flex;flex-direction:column;gap:2px;min-width:0}.home-eyebrow{color:var(--gold);font-size:.7rem;font-weight:700;letter-spacing:.18em;text-transform:uppercase}.home-today-title{font-family:var(--font-display);font-size:1.35rem;font-weight:500;line-height:1.2}.home-today .difficulty{margin-top:0}.home-status{margin-top:var(--space-1);color:var(--color-text-muted);font-size:var(--font-size-sm)}.home-status.is-done{color:var(--color-success);font-weight:700}.home-today-footer{grid-area:foot;display:flex;align-items:center;justify-content:space-between;padding-top:var(--space-3);border-top:1px solid rgb(214 178 110 / .16)}.home-streak{display:inline-flex;align-items:center;gap:6px;font-weight:700;font-size:var(--font-size-sm)}.home-streak svg{width:18px;height:18px}.home-play{min-height:40px;display:inline-flex;align-items:center;padding:0 var(--space-6);border:1px solid rgb(255 236 190 / .55);border-radius:var(--radius-full);background:linear-gradient(180deg,#fbe3a2,#e7c16d 45%,#c79a45);color:var(--color-accent-text);font-weight:700;font-size:.85rem;letter-spacing:.08em;text-transform:uppercase;box-shadow:inset 0 1px #ffffffa6,inset 0 -2px #78501459,0 6px 16px #d6a04640}.home-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:var(--space-3)}.home-mode{width:100%;min-height:72px;display:flex;align-items:center;gap:var(--space-3);padding:var(--space-3) var(--space-4);border:1px solid var(--color-border);border-radius:var(--radius-md);background:linear-gradient(180deg,#2c251db3,#16120ecc);box-shadow:0 8px 20px #0006;color:var(--color-text);text-align:left;cursor:pointer;transition:transform .16s ease,border-color .24s ease,box-shadow .24s ease}@media(hover:hover){.home-mode:hover:not(:disabled){border-color:#e9c87980;box-shadow:0 8px 20px #0006,0 0 22px #f0c36e1a}}.home-mode:active:not(:disabled){transform:scale(.985)}.home-mode:disabled{cursor:default}.home-mode-icon{flex-shrink:0;width:44px;height:44px;display:grid;place-items:center;border-radius:12px;background:var(--color-panel);box-shadow:inset 0 2px 6px #0009,0 0 0 1px var(--color-border)}.home-mode-icon svg{width:30px;height:30px}.home-mode-body{flex:1;display:flex;flex-direction:column;min-width:0}.home-mode-title{font-family:var(--font-display);font-size:1.1rem;font-weight:500}.home-mode-text{color:var(--color-text-muted);font-size:var(--font-size-sm);line-height:1.35}.home-mode-chevron{color:var(--gold)}.home-mode-chevron svg{width:20px;height:20px}.home-soon{flex-shrink:0;padding:2px var(--space-2);border:1px solid var(--color-border);border-radius:var(--radius-full);background:transparent;color:var(--color-text-muted);font-size:.7rem;font-weight:600;letter-spacing:.08em;text-transform:uppercase;white-space:nowrap}.home-privacy{margin-top:auto;padding-top:var(--space-4);text-align:center;color:var(--color-text-muted);font-size:.75rem}.home-privacy a{color:var(--color-accent)}.archive{display:flex;flex-direction:column;gap:var(--space-5)}.archive-top{display:flex;flex-direction:column;gap:var(--space-1)}.archive-title{font-family:var(--font-display);font-size:var(--font-size-xl);font-weight:500;letter-spacing:.02em;color:var(--gold-light)}.archive-text{color:var(--color-text-muted);font-size:var(--font-size-sm)}.archive-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:var(--space-2)}.archive-row{width:100%;min-height:64px;display:flex;align-items:center;gap:var(--space-4);padding:var(--space-3) var(--space-4);border:1px solid var(--color-border);border-radius:var(--radius-md);background:linear-gradient(180deg,#2c251db3,#16120ecc);box-shadow:0 6px 16px #00000059;color:var(--color-text);text-align:left;cursor:pointer;transition:transform .16s ease,border-color .24s ease,box-shadow .24s ease}@media(hover:hover){.archive-row:hover{border-color:#e9c87980;box-shadow:0 6px 16px #00000059,0 0 18px #f0c36e1a}}.archive-row:active{transform:scale(.985)}.archive-number{flex-shrink:0;min-width:46px;height:46px;display:grid;place-items:center;padding:0 6px;border-radius:var(--radius-full);background:var(--color-panel);box-shadow:inset 0 2px 6px #0009,0 0 0 1px var(--color-border);font-family:var(--font-display);font-size:1rem;color:var(--gold-light)}.archive-row.is-solved .archive-number{box-shadow:inset 0 2px 6px #0009,0 0 0 1px var(--gold-mid),0 0 10px #f0c36e40}.archive-body{flex:1;display:flex;flex-direction:column;gap:2px;min-width:0}.archive-date{font-family:var(--font-display);font-size:1.05rem}.archive-meta{display:flex;align-items:center;flex-wrap:wrap;gap:var(--space-2) var(--space-3)}.archive-status{color:var(--color-text-muted);font-size:.8rem}.archive-row.is-solved .archive-status{color:var(--color-success)}.archive-chevron{color:var(--gold)}.archive-chevron svg{width:20px;height:20px}.archive-tick{display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:#5fd3a626;color:var(--color-success);font-weight:700}.stars{display:inline-flex;gap:2px}.star{fill:color-mix(in srgb,var(--color-hook) 30%,transparent);stroke:color-mix(in srgb,var(--color-hook) 60%,transparent);stroke-width:1.2;stroke-linejoin:round}.star.is-on{fill:var(--brass-mid);stroke:var(--brass-dark)}.stars-small .star{width:13px;height:13px}.stars-large{gap:var(--space-2)}.stars-large .star{width:36px;height:36px;stroke-width:1}.stars-large .star:nth-child(2){width:44px;height:44px;margin-top:-8px}.stars.is-animated .star.is-on{animation:star-pop .52s cubic-bezier(.3,1.6,.5,1) both}@keyframes star-pop{0%{transform:scale(0) rotate(-60deg);opacity:0}to{transform:none;opacity:1}}.levels{display:flex;flex-direction:column;gap:var(--space-5)}.levels-top{display:flex;flex-direction:column;gap:var(--space-2)}.levels-title{font-family:var(--font-display);font-size:var(--font-size-xl);font-weight:500;letter-spacing:.02em;color:var(--gold-light)}.levels-totals{display:flex;justify-content:space-between;color:var(--color-text-muted);font-size:var(--font-size-sm)}.levels-totals strong{color:var(--color-text)}.levels-star-total{display:inline-flex;align-items:center;gap:4px}.levels-progress{height:8px;border-radius:var(--radius-full);background:var(--color-panel);box-shadow:inset 0 1px 3px #000000b3,0 0 0 1px var(--color-border);overflow:hidden}.levels-progress span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--brass-dark),var(--brass-mid),var(--brass-light));box-shadow:0 0 10px #f0c87880}.levels-group{display:flex;flex-direction:column;gap:var(--space-3)}.levels-group-title{display:flex;align-items:baseline;justify-content:space-between;gap:var(--space-2);font-family:var(--font-display);font-size:var(--font-size-lg);font-weight:500;color:var(--gold-light)}.levels-group-title span{font-family:var(--font-sans);font-size:.75rem;font-weight:600;color:var(--color-text-muted)}.levels-grid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(56px,1fr));gap:var(--space-2)}.level-tile{width:100%;aspect-ratio:1 / 1.08;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;border:1px solid var(--color-border);border-radius:var(--radius-sm);background:linear-gradient(180deg,#342b21d9,#181410e6);box-shadow:inset 0 1px #ffebbe14,0 6px 14px #00000073;color:var(--color-text);cursor:pointer;transition:transform .16s ease,box-shadow .24s ease,border-color .24s ease}@media(hover:hover){.level-tile:hover:not(:disabled){border-color:#e9c8798c;box-shadow:inset 0 1px #ffebbe14,0 6px 14px #00000073,0 0 16px #f0c36e26}}.level-tile:active:not(:disabled){transform:scale(.95)}.level-number{font-family:var(--font-display);font-size:var(--font-size-lg);font-weight:500;line-height:1}.level-tile.is-solved{background:radial-gradient(ellipse 80% 70% at 50% 0%,#f0c36e38,#f0c36e00 75%),linear-gradient(180deg,#3a2f21e6,#1c1610eb);border-color:#e9c87980}.level-tile.is-solved .level-number{color:var(--gold-light)}.level-tile.is-next{border-color:var(--color-accent);box-shadow:0 0 0 2px var(--color-accent);animation:next-pulse 1.8s ease-in-out infinite}@keyframes next-pulse{0%,to{box-shadow:0 0 0 2px var(--color-accent)}50%{box-shadow:0 0 0 2px var(--color-accent),0 0 0 7px color-mix(in srgb,var(--color-accent) 18%,transparent)}}.level-tile:disabled{cursor:default;background:#0e0c0ab3;border-color:#d6b26e1a;box-shadow:inset 0 2px 6px #0009;color:#b8a68a8c}.level-lock{width:18px;height:18px;opacity:.7}.level-subtitle{gap:var(--space-2)}.level-message{color:var(--color-text-muted);font-size:var(--font-size-sm);max-width:32ch}.new-best{color:var(--gold-light)}.win-links{display:flex;gap:var(--space-4);margin-top:calc(-1 * var(--space-2))}.practice{display:flex;flex-direction:column;gap:var(--space-5)}.practice-top{display:flex;flex-direction:column;gap:var(--space-1)}.practice-title{font-family:var(--font-display);font-size:var(--font-size-xl);font-weight:500;letter-spacing:.02em;color:var(--gold-light)}.practice-text{color:var(--color-text-muted);font-size:var(--font-size-sm)}.practice-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:var(--space-3)}.practice-card{position:relative;width:100%;min-height:92px;display:flex;align-items:center;gap:var(--space-4);padding:var(--space-4) var(--space-5);border:1px solid var(--color-border);border-radius:var(--radius-lg);background:linear-gradient(180deg,var(--glass-top),var(--glass-bottom));box-shadow:var(--shadow-card);color:var(--color-text);text-align:left;cursor:pointer;transition:transform .16s ease,border-color .24s ease,box-shadow .24s ease}.practice-card:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;border-radius:inherit;pointer-events:none;background:radial-gradient(ellipse 45% 90% at 0% 50%,var(--glow),transparent 70%)}.practice-card.is-easy{--glow: rgb(60 210 140 / .16)}.practice-card.is-medium{--glow: rgb(255 180 40 / .16)}.practice-card.is-hard{--glow: rgb(255 70 100 / .16)}@media(hover:hover){.practice-card:hover{border-color:#e9c87980;box-shadow:var(--shadow-card),0 0 24px #f0c36e1f}}.practice-card:active{transform:scale(.985)}.practice-gems{position:relative;display:flex;flex-direction:column;gap:5px;flex-shrink:0}.practice-gem{width:10px;height:10px;transform:rotate(45deg);border:1px solid rgb(201 161 78 / .55)}.practice-gem.is-on{border-color:var(--gold);background:linear-gradient(135deg,var(--gold-light),var(--gold-mid));box-shadow:0 0 6px #e9c8798c}.practice-card-body{position:relative;flex:1;display:flex;flex-direction:column;min-width:0}.practice-card-name{font-family:var(--font-display);font-size:1.3rem;font-weight:500;color:var(--gold-light)}.practice-card-text{color:var(--color-text-muted);font-size:var(--font-size-sm)}.practice-card-count{margin-top:2px;color:var(--color-text);font-size:.75rem;font-weight:600;letter-spacing:.08em;text-transform:uppercase}.practice-chevron{position:relative;color:var(--gold)}.practice-chevron svg{width:20px;height:20px}.intro-cards{flex:1;display:flex;flex-direction:column;justify-content:center;gap:var(--space-4)}.intro-step{text-align:center;color:var(--gold);font-size:.75rem;font-weight:700;letter-spacing:.16em;text-transform:uppercase}.intro-card{display:flex;flex-direction:column;align-items:center;gap:var(--space-3);text-align:center;animation:card-in .42s var(--ease-settle)}@keyframes card-in{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}.intro-card-title{font-family:var(--font-display);font-size:1.6rem;font-weight:500;line-height:1.2;color:var(--gold-light)}.intro-picture{width:100%;max-width:260px;pointer-events:none}.intro-sum{padding:var(--space-2) var(--space-3);border-radius:var(--radius-sm);background:var(--color-panel);box-shadow:inset 0 2px 6px #0009;color:var(--gold-light);font-size:var(--font-size-sm);font-weight:600;white-space:pre-wrap}.intro-text{color:var(--color-text);font-size:var(--font-size-md);max-width:34ch}.intro-dots{display:flex;justify-content:center;gap:8px}.intro-dot{width:8px;height:8px;transform:rotate(45deg);border:1px solid rgb(201 161 78 / .6);transition:background .2s ease}.intro-dot.is-on{background:var(--gold);box-shadow:0 0 6px #e9c87999}.intro-nav{display:flex;align-items:center;justify-content:space-between}.update-prompt{position:fixed;left:50%;bottom:calc(var(--space-4) + env(safe-area-inset-bottom));z-index:50;width:min(420px,calc(100% - 2 * var(--space-4)));transform:translate(-50%);display:flex;align-items:center;justify-content:space-between;gap:var(--space-3);padding:var(--space-3) var(--space-3) var(--space-3) var(--space-4);border:1px solid rgb(233 200 121 / .45);border-radius:var(--radius-md);background:#18130df5;box-shadow:0 10px 30px #0009,0 0 18px #e9c87926;animation:update-in .42s var(--ease-settle)}@keyframes update-in{0%{opacity:0;transform:translate(-50%,16px)}to{opacity:1;transform:translate(-50%)}}.update-text{color:var(--color-text);font-size:var(--font-size-sm);line-height:1.35}.update-actions{display:flex;align-items:center;gap:var(--space-2);flex-shrink:0}.update-button{min-height:40px;padding:0 var(--space-4);font-size:var(--font-size-sm)}
