.result-fireworks{position:absolute;inset:0;z-index:2;overflow:hidden;pointer-events:none;display:none}.is-celebrating .result-fireworks{display:block}.result-fireworks span{position:absolute;left:var(--burst-left);top:var(--burst-top);width:5px;height:5px;border-radius:50%;background:var(--spark-color);box-shadow:0 0 7px var(--spark-color),0 0 16px var(--spark-color);animation:alchemy-victory-spark 1s cubic-bezier(.12,.68,.25,1) var(--burst-delay) both}@keyframes alchemy-victory-spark{0%{opacity:0;transform:translateY(28px) scale(.2)}12%{opacity:1;transform:translate(0) scale(1.4)}66%{opacity:.9}to{opacity:0;transform:translate(var(--spark-x),var(--spark-y)) scale(.3)}}@media(prefers-reduced-motion:reduce){.is-celebrating .result-fireworks{display:none}}.demo-result-comparison .result-fireworks span{width:7px;height:7px;box-shadow:0 0 10px var(--spark-color),0 0 22px var(--spark-color);animation-duration:1.8s;animation-delay:calc(var(--burst-delay) + .35s)}.demo-result-refined .result-fireworks span{width:6px;height:6px;background:radial-gradient(circle,#fff9e8 0 22%,var(--spark-color) 38% 100%);box-shadow:0 0 5px var(--spark-color),0 0 11px color-mix(in srgb,var(--spark-color) 55%,transparent)}.demo-result-refined .result-fireworks span.refined-finale{width:7px;height:7px;animation-duration:1.2s;box-shadow:0 0 6px var(--spark-color),0 0 14px color-mix(in srgb,var(--spark-color) 60%,transparent)}body[data-ui-presentation=accepted] .overlay.is-win .result-stars{animation:result-finish-glow .65s ease-in-out var(--finish-delay, 2.69s) both}body[data-ui-presentation=accepted] .overlay.is-result-audio-pending .result-stars{animation:none}@keyframes result-finish-glow{0%,to{filter:brightness(1) drop-shadow(0 0 0 transparent)}50%{filter:brightness(1.22) drop-shadow(0 0 9px #ffe6a0)}}.demo-result-magic .result-dialog{position:relative;overflow:visible}.demo-magic-fireworks{display:none;position:absolute;inset:0;pointer-events:none;z-index:3}.is-celebrating .demo-magic-fireworks{display:block}.demo-result-magic .result-stars,.demo-result-magic .dialog-title,.demo-result-magic .dialog-actions{position:relative;z-index:4}.magic-burst{position:absolute;--magic-radius: clamp(38px, 7vw, 84px)}.magic-burst i{position:absolute;width:18px;height:3px;border-radius:3px;background:var(--ray-color);box-shadow:0 0 5px var(--ray-color);animation:magic-ray var(--magic-duration) ease-out var(--magic-delay) both}.magic-burst i.magic-fragment{width:5px;height:5px;border-radius:50%}.magic-ring{position:absolute;left:-16px;top:-16px;width:32px;height:32px;border:2px solid #ffe7a5;border-radius:50%;box-shadow:0 0 12px #ffe7a580;animation:magic-ring 1.1s ease-out var(--magic-delay) both}@keyframes magic-ray{0%{opacity:0;transform:rotate(var(--ray-angle)) scale(.2)}12%{opacity:1}55%{opacity:.95}to{opacity:0;transform:translate(calc(var(--ray-x) * var(--magic-radius)),calc(var(--ray-y) * var(--magic-radius))) rotate(var(--ray-angle)) scale(.35)}}@keyframes magic-ring{0%{opacity:0;transform:scale(.4)}15%{opacity:.7}to{opacity:0;transform:scale(3)}}@media(prefers-reduced-motion:reduce){.is-celebrating .demo-magic-fireworks{display:none}}.demo-result-alchemy .result-stars{position:relative;isolation:isolate;overflow:visible}.demo-result-alchemy .result-star{position:relative;z-index:2}.alchemy-crystal-bloom{position:absolute;inset:0;pointer-events:none;z-index:0}.crystal-star-burst,.crystal-side-burst{position:absolute;top:50%}.alchemy-crystal-bloom i{position:absolute;width:5px;height:7px;border-radius:1px;background:var(--color);box-shadow:0 0 6px var(--color);opacity:0}.alchemy-crystal-bloom i.crystal-filament{width:20px;height:2px;border-radius:50%}.crystal-aura{position:absolute;inset:-28px -25px;opacity:0;background:radial-gradient(ellipse,#ffe6a026,#b59aff28 40%,#74e6cc18 62%,transparent 75%)}.crystal-halo{position:absolute;left:15%;top:8%;width:70%;height:84%;border:2px solid #ffe4a2;border-radius:50%;opacity:0;box-shadow:0 0 10px #ffdc9270,inset 0 0 8px #ffdc9240}.is-celebrating .crystal-star{animation:crystal-scatter .7s ease-out var(--delay) both}.is-celebrating .crystal-final{animation:crystal-scatter 1.4s ease-out var(--delay) both}.is-celebrating .crystal-halo{animation:crystal-halo 1.45s ease-out var(--bloom-finish) both}.is-celebrating .crystal-aura{animation:crystal-aura 1.55s ease-in-out var(--bloom-finish) both}@keyframes crystal-scatter{0%{opacity:0;transform:rotate(var(--rot)) scale(.2)}12%{opacity:1}65%{opacity:.8}to{opacity:0;transform:translate(var(--px),var(--py)) rotate(var(--rot)) scale(.25)}}@keyframes crystal-halo{0%{opacity:0;transform:scale(.7)}20%{opacity:.8}to{opacity:0;transform:scale(1.45,1.65)}}@keyframes crystal-aura{0%,to{opacity:0;transform:scale(.85)}25%{opacity:1;transform:scale(1.05)}}@media(prefers-reduced-motion:reduce){.alchemy-crystal-bloom{display:none!important}}.startup-loading{position:fixed;inset:0;z-index:10000;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;padding:24px;background:#292235;color:#fff1cd;text-align:center}.startup-loading p{max-width:28rem;margin:0;font-size:16px;line-height:1.6}.startup-loading button{min-width:100px;min-height:48px;padding:10px 20px}.startup-loading button[hidden]{display:none}.startup-loading iframe{position:absolute;inset:0;width:100%;height:100%;border:0;z-index:-1}.startup-loading{isolation:isolate}.startup-loading p:empty{display:none}.startup-loading p:not(:empty),.startup-loading button{background:#33243f;border-radius:12px;padding:16px}.startup-loading button.startup-enter{position:absolute;left:50%;top:66%;transform:translate(-50%,-50%);width:min(68%,280px);min-height:52px;padding:12px 28px;border:1px solid #c5aa76;border-radius:16px;background:linear-gradient(#65536f,#3c3049);color:#f5e4bf;font:inherit;font-size:19px;font-weight:600;letter-spacing:.06em;box-shadow:inset 0 1px #e8d7b530,0 3px 6px #20162555;cursor:pointer}.startup-loading button.startup-enter:hover{transform:translate(-50%,-50%);background:linear-gradient(#74617f,#493954)}.startup-loading button.startup-enter:focus-visible{outline:2px solid #efd69c;outline-offset:4px}.startup-loading button.startup-enter:active{transform:translate(-50%,-50%);background:linear-gradient(#51415f,#362a42)}.startup-loading button.startup-enter:disabled{cursor:default}@media(min-aspect-ratio:6/5){.startup-loading button.startup-enter{top:70%;width:min(30%,280px)}}@media(max-height:450px)and (orientation:landscape){.startup-loading button.startup-enter{top:79%;min-height:48px;padding:10px 24px;font-size:17px}}#round-sync-retry[hidden]{display:none!important}#round-sync-retry{position:fixed;left:0;right:0;bottom:calc(110px + env(safe-area-inset-bottom));z-index:60;width:max-content;max-width:calc(100vw - 24px);min-height:44px;margin:0 auto;padding:8px 18px;transform:none}#demo-review-open{font-size:12px;padding:6px 9px;flex-shrink:0;border:1px solid #d7b966;border-radius:8px;background:#35291e;color:#fff0b4}#demo-review-dialog{box-sizing:border-box;width:min(440px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow:auto;border:1px solid #d7b966;border-radius:16px;padding:20px;background:#261e19;color:#fff6df}#demo-review-dialog::backdrop{background:#000b}#demo-review-dialog h2{font-size:20px;margin:0 0 12px}#demo-review-dialog p{font-size:13px;line-height:1.6;color:#dfd3bd}#demo-review-dialog label{display:grid;gap:6px;margin:12px 0}#demo-review-dialog select{box-sizing:border-box;width:100%;min-height:40px;background:#493b2e;color:#fff6df;border:1px solid #a38a61;border-radius:8px;padding:7px}.demo-review-presets,.demo-review-actions{display:flex;flex-wrap:wrap;gap:8px}#demo-review-dialog button{min-height:40px;padding:8px 12px;font-size:13px}.demo-review-actions{justify-content:flex-end;margin-top:20px}:root{color:#f4f0ff;background:#14111a;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:16px}*{box-sizing:border-box}html,body,#app{min-height:100%;margin:0}body{overflow:hidden;background:repeating-linear-gradient(0deg,rgba(255,255,255,.018) 0,rgba(255,255,255,.018) 1px,transparent 1px,transparent 34px),repeating-linear-gradient(90deg,rgba(242,197,104,.045) 0,rgba(242,197,104,.045) 1px,transparent 1px,transparent 54px),linear-gradient(135deg,#17111f,#102326 48%,#211713);background-size:34px 34px,54px 54px,auto}body:before{position:fixed;inset:0;z-index:0;pointer-events:none;content:"";background:radial-gradient(ellipse at 50% 120%,rgba(122,88,60,.2),transparent 58%),linear-gradient(180deg,#04080d14,#04080d5c)}button{display:inline-grid;grid-auto-flow:column;grid-auto-columns:max-content;align-items:center;justify-content:center;gap:.12rem;border:1px solid rgba(220,210,255,.26);border-radius:8px;color:#f7f2ff;background:linear-gradient(180deg,#ffe6a111,#60d6b109),#ffffff13;min-height:44px;padding:.72rem .9rem;font:inherit;font-weight:700;cursor:pointer;transition:transform .15s ease,border-color .15s ease,background .15s ease;line-height:1.1}.priced-button{grid-template-columns:auto minmax(0,1fr);grid-auto-flow:column;justify-content:stretch;justify-items:start;gap:.55rem;text-align:left}.button-main{display:grid;min-width:0;gap:.16rem}.button-main>span:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tool-icon{display:inline-grid;place-items:center;width:1.55rem;height:1.55rem;border:1px solid rgba(255,230,161,.28);border-radius:50%;color:#ffe6a1;background:linear-gradient(180deg,#ffe6a129,#60d6b114),#00000029;box-shadow:inset 0 0 .8rem #ffffff14,0 0 .75rem #60d6b114;font-size:.82rem;font-weight:900;line-height:1}button:disabled{cursor:not-allowed;opacity:.45}button:not(:disabled):hover{border-color:#f1d98aad;background:linear-gradient(180deg,#ffe6a11c,#60d6b112),#ffffff1f;transform:translateY(-1px)}.button-cost{color:#fff2b8;font-size:.68rem;font-weight:800;line-height:1}.app-shell{position:relative;z-index:1;display:grid;grid-template-columns:minmax(18rem,1fr) minmax(16rem,22rem);gap:1rem;height:100dvh;padding:max(.85rem,env(safe-area-inset-top)) max(.85rem,env(safe-area-inset-right)) max(.85rem,env(safe-area-inset-bottom)) max(.85rem,env(safe-area-inset-left))}.play-panel,.side-panel{position:relative;border:1px solid rgba(255,230,161,.16);border-radius:8px;background:repeating-linear-gradient(90deg,rgba(255,230,161,.026) 0,rgba(255,230,161,.026) 1px,transparent 1px,transparent 42px),linear-gradient(180deg,#ffffff0e,#ffffff05),#111018c7;box-shadow:0 1.2rem 4rem #00000047,inset 0 1px #ffffff0f}.play-panel:before,.side-panel:before{position:absolute;inset:0;pointer-events:none;content:"";border-radius:inherit;background:linear-gradient(90deg,rgba(255,230,161,.16),transparent 18%,transparent 82%,rgba(255,230,161,.12)),linear-gradient(180deg,rgba(96,214,177,.08),transparent 22%);opacity:.6}.play-panel{display:grid;grid-template-rows:auto auto minmax(0,1fr) auto;min-width:0;min-height:0;overflow:hidden}.top-bar{grid-row:1;display:flex;align-items:center;justify-content:space-between;gap:.8rem;padding:.85rem;border-bottom:1px solid rgba(220,210,255,.14);background:repeating-linear-gradient(90deg,rgba(255,230,161,.035) 0,rgba(255,230,161,.035) 1px,transparent 1px,transparent 30px),linear-gradient(90deg,rgba(101,226,196,.06),transparent 38%),#ffe6a106}.brand{position:relative;display:grid;gap:.15rem;padding-left:.7rem}.brand:before{position:absolute;left:0;top:.16rem;bottom:.16rem;width:2px;border-radius:999px;content:"";background:linear-gradient(180deg,#ffe6a1,#65e2c4)}.brand-title{margin:0;color:#fff;font-size:1rem;line-height:1.1;white-space:nowrap;text-shadow:0 0 1rem rgba(96,214,177,.18)}.brand-kicker,.stat-label,.message,.transaction-list,.small-text{color:#f4f0ffb8;font-size:.78rem;line-height:1.35}.status-strip{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:.45rem}.top-meta{display:flex;align-items:center;gap:.55rem}.close-game-button{width:2.4rem;min-height:38px;border-color:#ff767673;color:#ffe7e7;background:#7e243257;padding:0;font-size:1.05rem;font-weight:900}.play-resource-strip{grid-row:2;display:none;grid-template-columns:repeat(3,minmax(0,1fr));gap:.45rem;padding:.6rem .85rem;border-bottom:1px solid rgba(220,210,255,.14)}.play-resource-strip div{border:1px solid rgba(220,210,255,.14);border-radius:8px;padding:.42rem .55rem;background:#ffffff0b}.play-resource-strip span{display:block;color:#f4f0ff9e;font-size:.72rem;line-height:1.2}.play-resource-strip strong{display:block;min-width:0;overflow:hidden;color:#fff2b8;font-size:.88rem;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}.stat-pill{border:1px solid rgba(220,210,255,.16);border-radius:8px;padding:.42rem .62rem;background:linear-gradient(180deg,#fff1,#ffffff06),#080b125c;min-width:4.4rem}.stat-value{display:block;color:#fff7cf;font-size:.95rem;font-weight:800}.board-wrap{grid-row:3;position:relative;min-height:0;padding:.75rem;border-top:1px solid rgba(255,230,161,.12);border-bottom:1px solid rgba(255,230,161,.14);background:linear-gradient(180deg,#07090f14,#07090f6b),linear-gradient(180deg,#ffe6a10a,#2816101f),repeating-linear-gradient(90deg,rgba(255,230,161,.026) 0,rgba(255,230,161,.026) 1px,transparent 1px,transparent 72px),#15131d}.board-wrap:before{position:absolute;inset:.75rem;pointer-events:none;content:"";border:1px solid rgba(255,230,161,.12);border-radius:8px;box-shadow:inset 0 0 0 1px #60d6b10b,inset 0 0 2.2rem #ffe6a109}#game-board{position:relative;overflow:hidden;width:100%;height:100%;min-height:0;border:1px solid rgba(255,230,161,.2);border-radius:8px;background:repeating-linear-gradient(45deg,rgba(255,230,161,.018) 0,rgba(255,230,161,.018) 1px,transparent 1px,transparent 28px),linear-gradient(180deg,#ffe6a109,#60d6b105),#05070c3d;box-shadow:0 0 0 1px #00000047,inset 0 0 5rem #00000038,inset 0 -2rem 4rem #73442029,0 .9rem 2.2rem #00000038}#game-board[data-renderer="3d"] canvas{display:block;width:100%;height:100%}.potion-labels{position:absolute;inset:0;pointer-events:none}.potion-bottle.is-queued:after{content:"⌛";position:absolute;bottom:4%;left:50%;transform:translate(-50%);font-size:18px;filter:drop-shadow(0 2px 2px #000);pointer-events:none}.potion-bottle.is-rejected:before{content:"";position:absolute;top:1%;left:50%;transform:translate(-50%);width:76%;height:7%;box-sizing:border-box;border-radius:50%;border:1.5px solid rgba(255,158,112,.78);background:radial-gradient(ellipse,transparent 40%,rgba(225,103,65,.2) 76%,transparent 100%);box-shadow:0 0 8px 2px #ef754761,inset 0 0 6px #ffb16e5c;pointer-events:none;animation:potion-rejection .6s ease-out both}@keyframes potion-rejection{0%,30%{opacity:.9}65%{opacity:.5}to{opacity:0}}.potion-rejection-announcement{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);pointer-events:none}@media(prefers-reduced-motion:reduce){.potion-bottle.is-rejected:before{animation:none}}.potion-bottle{position:absolute;padding:0;min-height:0;background:transparent;border:0;box-shadow:none;pointer-events:auto}.potion-bottle:not(:disabled):hover,.potion-bottle:disabled{background:transparent;border:0;box-shadow:none;filter:none;transform:none;opacity:1}.potion-bottle:focus-visible{outline:2px solid #a4ead4;outline-offset:3px}.potion-bottle span{position:absolute;left:50%;bottom:-23px;transform:translate(-50%);display:grid;place-items:center;width:23px;height:23px;border-radius:50%;background:#183b36e8;border:1px solid #e8ce8a99;color:#fff4d4;font-size:12px}.potion-bottle[aria-pressed=true] span,.potion-bottle.is-complete span{background:#b9efd9;color:#103c32}body[data-visual-pass=alchemy-art-4]{background:radial-gradient(ellipse at 50% 105%,rgba(255,181,94,.2),transparent 52%),linear-gradient(135deg,#21100f,#152626 52%,#291a14)}body[data-visual-pass=alchemy-art-4] .play-panel,body[data-visual-pass=alchemy-art-4] .side-panel{border-color:#ffd18747;background:linear-gradient(180deg,#ffeab913,#3e23171f),#140d0fd1}body[data-visual-pass=alchemy-art-4] .top-bar,body[data-visual-pass=alchemy-art-4] .bottom-bar{background:linear-gradient(180deg,#ffde9c17,#492a1933),#100b0e75}body[data-visual-pass=alchemy-art-4] .board-wrap{background:linear-gradient(180deg,#ffdc910f,#0b060759),#130d11}body[data-visual-pass=alchemy-art-4] .board-wrap:before{border-color:#ffdd9833;box-shadow:inset 0 0 0 1px #5fdac212,inset 0 0 2.8rem #ffbe6514}body[data-visual-pass=alchemy-art-4] #game-board{border-color:#ffd89261;background:linear-gradient(180deg,#0a05060d,#0a05062e),radial-gradient(ellipse at 50% 72%,rgba(255,195,112,.16),transparent 45%),var(--chapter-scene, url(/assets/alchemy-workshop-pass4.png)) center / cover no-repeat,#1d1110;box-shadow:0 0 0 1px #3d1f12b3,inset 0 0 4.5rem #0a050629,0 1rem 2.6rem #00000047}body[data-visual-pass=alchemy-art-4] .workbench-label{border-color:#ffd89275;color:#fff3c2;background:#2d1911b3}body[data-visual-pass=alchemy-art-4] .recipe-panel,body[data-visual-pass=alchemy-art-4] .message,body[data-visual-pass=alchemy-art-4] .purchase-summary{border-color:#ffd18742;background:linear-gradient(180deg,#ffe0a714,#5c301924),#1f1413ad}.workbench-label{position:absolute;left:1rem;top:.9rem;z-index:1;border:1px solid rgba(255,230,161,.2);border-radius:999px;padding:.24rem .55rem;color:#fff2b8d1;background:#0a0d1585;font-size:.76rem;font-weight:800;pointer-events:none;box-shadow:inset 0 0 .8rem #60d6b10f}.bottom-bar{grid-row:4;grid-auto-rows:minmax(48px,auto);display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.55rem;padding:.85rem;border-top:1px solid rgba(220,210,255,.14);background:#080a114d}.side-panel{display:grid;grid-auto-rows:max-content;gap:.85rem;min-width:0;min-height:0;overflow:auto;padding:.9rem}.section{position:relative;display:grid;gap:.6rem}.debug-section{border:1px solid rgba(220,210,255,.12);border-radius:8px;padding:.65rem;background:#ffffff09}.debug-section>summary{cursor:pointer}.debug-section>summary::marker{color:#ffe6a1}.debug-section .test-grid,.debug-section .small-text{margin-top:.6rem}.section-title{display:flex;align-items:center;gap:.45rem;margin:0;color:#fff;font-size:.92rem;line-height:1.2;text-shadow:0 0 .8rem rgba(96,214,177,.12)}.section-title:before{width:.38rem;height:.38rem;border:1px solid rgba(255,230,161,.72);transform:rotate(45deg);content:"";background:#60d6b138}.meta-label{display:block;color:#f4f0ff9e;font-size:.76rem;line-height:1.3}.recipe-panel{display:grid;gap:.55rem;border:1px solid rgba(241,217,138,.18);border-left:2px solid rgba(241,217,138,.72);border-radius:8px;padding:.65rem .7rem;background:repeating-linear-gradient(90deg,rgba(96,214,177,.03) 0,rgba(96,214,177,.03) 1px,transparent 1px,transparent 22px),repeating-linear-gradient(0deg,rgba(255,230,161,.035) 0,rgba(255,230,161,.035) 1px,transparent 1px,transparent 18px),linear-gradient(180deg,#5f3a2138,#ffffff09),#ffe6a109;box-shadow:inset 0 0 1.2rem #00000029}.recipe-panel strong{display:block;color:#fff;font-size:1rem;line-height:1.3}.recipe-meta-row,.ingredient-row{display:flex;flex-wrap:wrap;gap:.35rem}.recipe-meta-row span,.ingredient-row span{border:1px solid rgba(255,230,161,.2);border-radius:999px;padding:.25rem .52rem;color:#f6f0ff;background:linear-gradient(180deg,#60d6b114,#9a72ff0d),#1a141ba3;font-size:.74rem;font-weight:800;box-shadow:inset 0 0 .9rem #ffffff08}.recipe-meta-row span{color:#fff2b8;background:linear-gradient(180deg,#ffe6a11f,#b0733d14),#261814ad}.progress-block{display:grid;gap:.38rem}.progress-copy{display:flex;justify-content:space-between;gap:.6rem;color:#f4f0ffb8;font-size:.76rem;line-height:1.35}.progress-track{height:.5rem;overflow:hidden;border:1px solid rgba(255,230,161,.12);border-radius:999px;background:#07091085}#progress-fill{display:block;width:0%;height:100%;border-radius:inherit;background:linear-gradient(90deg,#60d6b1,#ffe08b);box-shadow:0 0 1rem #60d6b142}.level-controls,.shop-grid,.pack-toggle,.test-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.55rem}.pack-toggle{gap:.3rem;border:1px solid rgba(220,210,255,.14);border-radius:8px;padding:.28rem;background:#ffffff0a}.pack-toggle button{min-height:38px;padding:.5rem .58rem}.pack-toggle button.is-active{border-color:#f1d98ab8;color:#11151f;background:linear-gradient(180deg,#ffe6a1,#d8a94b)}.test-grid button{min-height:38px;padding:.5rem .58rem}.test-grid button.is-active{border-color:#60d6b1b3;background:#60d6b12e}.audio-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.45rem}#pack-note{margin:0}.wide-button{grid-column:1 / -1}.primary-button{border-color:#f1d98a9e;color:#11151f;background:linear-gradient(180deg,#fff0b9,#d8a94b)}.danger-button{border-color:#ff767673;color:#ffe7e7;background:#7e243257}.subtle-button{min-height:38px;border-color:#60d6b138;color:#c9ffee;background:#60d6b112;font-size:.82rem}.subtle-button.is-active{border-color:#ffe6a18a;color:#fff3c2;background:linear-gradient(180deg,#ffe6a121,#60d6b114),#ffffff0f}.message{min-height:2.4rem;border:1px solid rgba(220,210,255,.12);border-radius:8px;padding:.65rem;background:linear-gradient(180deg,#ffe6a109,#60d6b105),#ffffff0d}.transaction-list{display:grid;align-content:start;gap:.45rem;min-height:5rem}.transaction-item{border-left:2px solid rgba(105,218,174,.8);padding-left:.55rem}.overlay{position:absolute;inset:.75rem;display:none;place-items:center;background:#050810b8;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.overlay.is-visible{display:grid}.dialog,.purchase-dialog{width:min(23rem,calc(100% - 1.5rem));border:1px solid rgba(241,217,138,.4);border-radius:8px;padding:1rem;background:repeating-linear-gradient(0deg,rgba(96,214,177,.03) 0,rgba(96,214,177,.03) 1px,transparent 1px,transparent 28px),repeating-linear-gradient(90deg,rgba(255,230,161,.035) 0,rgba(255,230,161,.035) 1px,transparent 1px,transparent 36px),linear-gradient(180deg,#ffe6a114,#60d6b10a),#14121bf7;box-shadow:0 1rem 3rem #00000052,inset 0 1px #ffffff14}.restart-confirm-dialog{box-sizing:border-box;max-height:calc(100dvh - 2rem);overflow:auto;color:#f7f2ff}.restart-confirm-dialog::backdrop{background:#050810b8;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.modal-backdrop{position:fixed;inset:0;z-index:20;display:none;place-items:center;padding:1rem;background:#04070eb8;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.modal-backdrop.is-visible{display:grid}.purchase-summary{display:flex;justify-content:space-between;gap:.8rem;margin-top:.9rem;border:1px solid rgba(220,210,255,.14);border-radius:8px;padding:.7rem;color:#f7f2ff;background:#ffffff0f}.purchase-summary strong{color:#fff2b8}.dialog-title{margin:0 0 .4rem;color:#fff;font-size:1.2rem}.dialog-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.55rem;margin-top:.85rem}.result-art,.result-kicker,.result-stars,.result-rating,.result-stats{display:none}.result-confetti{display:none;position:absolute;inset:0;z-index:2;overflow:hidden;pointer-events:none}.is-celebrating .result-confetti{display:block}.result-confetti span{position:absolute;top:-32px;left:var(--confetti-left);width:7px;height:15px;background:var(--confetti-color);opacity:0;animation:perfect-confetti var(--confetti-duration) ease-out var(--confetti-delay) both}.result-confetti span:nth-child(3n){width:5px;height:28px;border-radius:1px}.result-confetti span:nth-child(3n+1){width:9px;height:7px}@keyframes perfect-confetti{0%{transform:translateZ(0) rotate(0);opacity:0}8%{opacity:.9}70%{opacity:.8}to{transform:translate3d(var(--confetti-drift),calc(100dvh + 48px),0) rotate(var(--confetti-turn));opacity:0}}.overlay.is-win{position:fixed;inset:0;z-index:15;padding:1rem;overflow:auto;background:#061211c2;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.is-win .result-dialog{position:relative;z-index:1;width:min(26rem,100%);max-height:calc(100dvh - 2rem);overflow-y:auto;padding:1.25rem;border:2px solid #719487;color:#f1f4e9;text-align:center;background:linear-gradient(165deg,#254840,#122b29 70%);box-shadow:0 22px 70px #0009,inset 0 0 0 4px #122d28}.is-win .result-art{display:block;height:90px;margin:-1.25rem -1.25rem 1rem;border-bottom:2px solid #b09a62;background:var(--chapter-scene, url(/assets/alchemy-workshop-pass4.png)) center 26% / cover}.is-win .result-kicker{display:block;margin:0 0 .35rem;color:#bed5ca;font-size:.8rem;line-height:1.4;overflow-wrap:anywhere}.is-win .dialog-title{margin:0;color:#fff0c3;font-size:1.6rem;line-height:1.3}.is-win .result-stars{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:center;width:min(252px,100%);height:98px;margin:.65rem auto 0}.result-star{display:block;width:100%;aspect-ratio:1}.result-star:nth-child(2){transform:translateY(-8px)}.result-star svg{display:block;width:100%;height:100%}.star-outline{fill:none;stroke:#94b3a7;stroke-width:2.5;stroke-linejoin:round}.star-fill,.star-glint{opacity:0}.star-glint{fill:none;stroke:#fff8df;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}.is-win .is-earned .star-fill,.is-win .is-earned .star-glint{animation:result-star-fill .35s ease-out var(--star-delay) both;transform-origin:50px 50px}@keyframes result-star-fill{0%{opacity:0;transform:scale(.75)}65%{opacity:1;transform:scale(1.06)}to{opacity:1;transform:scale(1)}}.is-win .result-rating{display:block;margin:0 0 1rem;color:#f3db9e;font-size:.88rem}.is-win .result-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));margin:0;padding:.7rem 0;border-block:1px solid #66897b70}.result-stats div+div{border-left:1px solid #66897b70}.result-stats dt{color:#b4cdc1;font-size:.75rem}.result-stats dd{margin:.2rem 0 0;color:#fff4d2;font-size:1.25rem;font-variant-numeric:tabular-nums}.overlay.is-win #overlay-body{display:block;margin:.75rem 0 0;color:#c4d8cd;font-size:.8rem;line-height:1.55;overflow-wrap:anywhere}.overlay.is-win #overlay-body:empty{display:none}.is-win .dialog-actions button{min-width:0;grid-auto-columns:minmax(0,1fr);line-height:1.35;overflow-wrap:anywhere}.dialog-actions button[hidden]{display:none}.is-perfect .result-dialog{border-color:#d5b871;box-shadow:0 22px 70px #0009,inset 0 0 0 4px #59492a60}.is-perfect .dialog-actions{grid-template-columns:minmax(0,1fr)}.is-perfect .result-rating{color:#ffe5a0}.is-celebrating .result-stars{animation:perfect-star-flourish .65s ease-out .95s both}@keyframes perfect-star-flourish{0%,to{transform:scale(1);filter:drop-shadow(0 0 0 transparent)}45%{transform:scale(1.04);filter:drop-shadow(0 0 8px #f9ce5970)}}@media(max-height:560px){.is-win .result-art{display:none}.is-win .result-stars{width:192px;height:72px;margin-top:.4rem}.is-win .result-rating{margin-bottom:.5rem}.is-win .result-stats{padding-block:.4rem}.is-win .result-dialog{padding:.85rem}}@media(prefers-reduced-motion:reduce){.is-celebrating .result-confetti{display:none}.is-celebrating .result-stars{animation:none}.is-win .is-earned .star-fill,.is-win .is-earned .star-glint{animation:none;opacity:1}}@media(max-width:820px)and (orientation:portrait){body{overflow:auto}.app-shell{grid-template-columns:1fr;grid-template-rows:auto auto;height:auto;min-height:100dvh}.play-panel{min-height:0}.side-panel{grid-template-rows:auto}.play-resource-strip{display:grid}.top-bar{align-items:flex-start;flex-direction:column}.top-meta{align-items:stretch;flex-direction:column;width:100%}.status-strip{justify-content:stretch;width:100%}.stat-pill{flex:1 1 5rem}#game-board{height:min(31rem,45dvh);min-height:min(31rem,45dvh)}}@media(max-width:520px)and (orientation:portrait){.app-shell{gap:.65rem;padding:max(.55rem,env(safe-area-inset-top)) max(.55rem,env(safe-area-inset-right)) max(.55rem,env(safe-area-inset-bottom)) max(.55rem,env(safe-area-inset-left))}.top-bar,.bottom-bar,.side-panel{padding:.62rem}.bottom-bar{grid-template-columns:repeat(2,minmax(0,1fr))}button{min-height:42px;padding:.58rem .5rem;font-size:.9rem}.button-cost{font-size:.64rem}}@media(max-height:560px)and (orientation:landscape){.app-shell{grid-template-columns:minmax(20rem,1fr) minmax(13rem,17rem);gap:.65rem;padding:.55rem}.top-bar,.play-resource-strip,.bottom-bar,.side-panel{padding:.55rem}.brand-kicker,.stat-label,.small-text{display:none}.bottom-bar,.shop-grid,.test-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.bottom-bar{grid-template-columns:repeat(4,minmax(0,1fr))}button{min-height:38px;padding:.5rem .58rem;font-size:.85rem}#game-board{min-height:0}}body[data-interface=player]{overflow:hidden}body[data-interface=player] .app-shell{width:min(100%,1120px);height:100dvh;min-height:0;margin:0 auto;padding:max(8px,env(safe-area-inset-top)) max(8px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left));grid-template:minmax(0,1fr) / minmax(0,1fr);gap:0}body[data-interface=player] .play-panel{grid-template-rows:auto auto minmax(0,1fr) auto auto;border-radius:0}body[data-interface=player] .play-panel:before,body[data-interface=player] .board-wrap:before{display:none}body[data-interface=player] .top-bar{flex-direction:row;align-items:center;padding:10px 16px;gap:12px}.player-brand{display:grid;gap:2px;flex-shrink:0}.player-brand span{font-size:12px;color:#a6dccb}.player-brand strong{font-size:16px}.player-round-meta{display:flex;gap:20px;justify-content:center}.player-round-meta .stat-pill{flex:0 0 auto}.player-round-meta .stat-label{white-space:nowrap}body[data-interface=player] .stat-pill{min-width:0;border:0;padding:0;background:none}body[data-interface=player] .stat-label{display:block;font-size:12px}body[data-interface=player] .stat-value{font-size:16px}.player-header-actions{display:flex;gap:6px}body[data-interface=player] .icon-button,body[data-interface=player] .close-game-button{display:grid;place-items:center;width:40px;height:40px;min-height:40px;padding:0;background:#1c3435;border-color:#49635e;color:#e4f0eb;border-radius:8px}.icon-button svg,.close-game-button svg{width:20px;height:20px}body[data-interface=player] .sound-quick-toggle{width:36px;height:32px;min-height:32px;background:transparent;border:0;flex-shrink:0}.sound-quick-toggle[aria-checked=true] .sound-off-icon,.sound-quick-toggle[aria-checked=false] .sound-on-icon{display:none}body[data-interface=player] .play-resource-strip{display:flex;justify-content:space-between;align-items:center;padding:6px 16px;gap:12px;background:#102524}body[data-interface=player] .play-resource-strip div{display:flex;align-items:center;gap:7px;border:0;background:none;padding:0;min-width:0}body[data-interface=player] .play-resource-strip svg{width:16px;height:16px;color:#f2d888;flex-shrink:0}body[data-interface=player] .play-resource-strip span{font-size:12px}body[data-interface=player] .play-resource-strip strong{font-size:14px}body[data-interface=player] .board-wrap{padding:0;border:0}.player-board-heading,.player-hud{display:contents}.player-star-goal{display:none}body[data-interface=player] .potion-bottle>span{display:none}.player-bottle-hint{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:2;overflow:hidden}.player-bottle-hint .hint-source{color:#ffe3a0;animation:hint-breathe 2.6s ease-in-out infinite}.player-bottle-hint .hint-target{color:#97ffe2;animation:hint-breathe 2.6s ease-in-out infinite}.player-bottle-hint[data-phase=source] .hint-target,.player-bottle-hint[data-phase=source] .hint-arrow-position{display:none}.player-bottle-hint[data-phase=target] .hint-source{animation:none;opacity:.4}.player-bottle-hint .hint-aura{fill:currentColor;fill-opacity:.08;stroke:currentColor;stroke-width:14;stroke-opacity:.5;filter:blur(7px)}.player-bottle-hint .hint-edge-shadow{fill:none;stroke:#282328;stroke-width:4.5;stroke-opacity:.68;filter:blur(.6px)}.player-bottle-hint .hint-glass{fill:currentColor;fill-opacity:.06;stroke:currentColor;stroke-width:2.5;stroke-opacity:.85}.player-bottle-hint .hint-sheen{fill:none;stroke:#fff9e5;stroke-width:2.2;stroke-opacity:.65;stroke-linecap:round;filter:drop-shadow(0 0 3px currentColor)}.player-bottle-hint .hint-lip{fill:none;stroke:currentColor;stroke-width:2.2;stroke-opacity:.65;filter:drop-shadow(0 0 3px currentColor)}.player-bottle-hint .hint-arrow-position{filter:drop-shadow(0 2px 2px #201b13) drop-shadow(0 0 5px #ffe3a044)}.player-bottle-hint .hint-arrow-float{animation:hint-arrow-float 1.8s ease-in-out infinite}.player-bottle-hint .hint-arrow-metal{stroke:#805d30;stroke-width:1.2;stroke-linejoin:round}.player-bottle-hint .hint-arrow-shine{fill:none;stroke:#fff6d5;stroke-width:1.4;stroke-linecap:round;opacity:.8}@keyframes hint-breathe{0%,to{opacity:.75}50%{opacity:1}}@keyframes hint-arrow-float{0%,to{transform:translateY(0)}50%{transform:translateY(-3px)}}@media(prefers-reduced-motion:reduce){.player-bottle-hint .hint-source,.player-bottle-hint .hint-target,.player-bottle-hint .hint-arrow-float{animation:none}}body[data-interface=player] #game-board{height:100%;min-height:0;border:0;border-radius:0;box-shadow:none}body[data-interface=player] .bottom-bar{grid-template-columns:repeat(4,minmax(0,1fr));padding:10px 16px 6px;gap:8px}body[data-interface=player] .bottom-bar .priced-button{display:flex;justify-content:center;min-width:0;min-height:58px;padding:8px;gap:8px}body[data-interface=player] .tool-icon{background:none;border:0;box-shadow:none}body[data-interface=player] .tool-icon svg{width:24px;height:24px}body[data-interface=player] .button-main{min-width:0}body[data-interface=player] .button-main>span:first-child{font-size:14px}body[data-interface=player] .button-cost{font-size:12px;line-height:1.2;white-space:normal}.player-feedback{grid-row:5;margin:0;padding:2px 12px;display:grid;align-content:center;text-align:center;color:#c5ddd2;font-size:12px;line-height:1.25;overflow:auto}.player-feedback[hidden]{display:none!important}.player-menu{width:min(460px,calc(100% - 24px));max-height:calc(100dvh - 24px);overflow:auto;margin:auto;padding:20px;color:#f2f4ea;background:#172927;border:1px solid #79938a;border-radius:8px;box-shadow:0 12px 50px #0008}.player-menu::backdrop{background:#071311bb}.player-menu-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.player-menu-header h2{font-size:20px;margin:0}.player-menu-tabs{display:grid;grid-template-columns:1fr 1fr;gap:4px;margin-bottom:20px;border-bottom:1px solid #526a60}.player-menu-tabs button{background:none;border:0;border-bottom:3px solid transparent;border-radius:0;color:#a9c7ba}.player-menu-tabs button[aria-selected=true]{border-color:#e9cd80;color:#fff1c4}.player-menu [role=tabpanel]{display:grid;gap:20px}.player-menu [hidden]{display:none!important}.player-menu .section{gap:12px}.player-menu .small-text{display:block;font-size:14px}body[data-interface=player] .player-menu .recipe-panel{border:0;background:none;padding:0}.player-menu .section-title{font-size:14px;margin:0}.player-progress-stats{display:flex;justify-content:space-between}.player-menu .audio-controls{display:grid;grid-template-columns:1fr 1fr}.player-menu [role=switch]:after{content:"";display:inline-block;width:12px;height:12px;margin-left:12px;border-radius:50%;background:#67726d}.player-menu [role=switch][aria-checked=true]:after{background:#80e0b5}.player-transactions{font-size:14px;border-top:1px solid #526a60;padding-top:16px}.player-transactions summary{cursor:pointer;padding:8px 0}.player-transactions .transaction-list{padding-top:12px}body[data-interface=player] .overlay{z-index:4;inset:0;overflow:auto}body[data-interface=player] .overlay:not(.is-win) .result-dialog{margin:12px 0}body[data-interface=player] .overlay .small-text{display:block;font-size:14px}body[data-interface=player] .purchase-dialog{max-height:calc(100dvh - 24px);overflow:auto}body[data-interface=player] .purchase-dialog .small-text{display:block;font-size:14px}body[data-interface=player] .purchase-summary{background:none;border:0;border-top:1px solid #79938a;border-radius:0;padding:12px 0 0}body[data-interface=player] .dialog-actions button{white-space:normal}body[data-ux-preview=true] .app-shell{width:min(100%,1280px)}body[data-ux-preview=true] .bottom-bar{width:min(100%,720px);justify-self:center}body[data-ux-preview=true] .player-resource-actions{margin-left:auto;gap:8px}body[data-ux-preview=true] .player-resource-actions .icon-button{width:36px;height:32px;min-height:32px}body[data-ux-preview=true] .play-resource-strip>div:nth-child(2){margin-left:auto}.player-shop{width:min(660px,calc(100% - 24px))}.shop-scene{position:relative;isolation:isolate;min-height:190px;padding:24px;display:flex;flex-direction:column;justify-content:end;text-shadow:0 2px 4px #000}.shop-scene img{position:absolute;inset:0;z-index:-1;width:100%;height:100%;object-fit:cover;object-position:center 45%}.shop-scene h3{margin:0 0 6px;font-size:24px;color:#fff}.shop-scene span{color:#fff;font-size:14px}.shop-balance{display:flex;align-items:center;gap:8px;padding:18px 0;color:#f5df8d}.shop-balance svg{width:18px;height:18px}.shop-products .priced-button{width:100%;min-height:92px;justify-content:start;gap:20px;background:#214249;border:1px solid #7eaba3;border-radius:8px}.shop-products .tool-icon{width:60px;height:60px}body[data-interface=player] .shop-products .tool-icon svg{width:42px;height:42px;color:#acf1e3}.shop-products .button-main{flex:1;display:flex;align-items:center;justify-content:space-between;gap:16px}.shop-products .button-cost{font-size:18px;color:#f5df8d}@media(max-width:540px){body[data-interface=player] .app-shell{padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left)}body[data-interface=player] .top-bar{padding:8px;gap:8px}.player-round-meta{gap:12px}.player-header-actions{gap:3px}body[data-interface=player] .icon-button,body[data-interface=player] .close-game-button{width:36px;height:40px}body[data-interface=player] .play-resource-strip{padding:6px 10px;gap:6px}body[data-interface=player] .play-resource-strip div{gap:4px}body[data-interface=player] .bottom-bar{padding:8px 6px 4px;gap:5px}body[data-interface=player] .bottom-bar .priced-button{flex-direction:column;gap:4px;padding:6px 2px;min-height:76px}body[data-interface=player] .bottom-bar .button-main{text-align:center}body[data-interface=player] .tool-icon{height:24px;width:24px}.player-brand strong,body[data-interface=player] .stat-value{font-size:14px}.player-shop{width:100%;max-width:100%;max-height:100dvh;min-height:100dvh;margin:0;padding:max(16px,env(safe-area-inset-top)) 16px max(16px,env(safe-area-inset-bottom));border:0;border-radius:0}.shop-scene{min-height:240px}}body[data-interface=player] .board-wrap{display:grid;grid-template-rows:auto minmax(0,1fr)}body[data-interface=player] #game-board{grid-row:2}.player-board-heading{display:grid;gap:6px;padding:8px 10px;min-width:0}body[data-interface=player] .player-board-heading .workbench-label{position:static;justify-self:start;max-width:100%;margin:0;font-size:12px;line-height:1.35;overflow-wrap:anywhere}.player-star-goal{display:flex;align-items:center;gap:10px;min-width:0;padding:8px 10px;border:1px solid #af9267;border-radius:12px;color:#ffe8a4;background:#30241ee8}.player-goal-stars{display:flex;align-items:center;gap:4px;flex:0 0 auto}.player-goal-stars svg{width:22px;height:22px;stroke-width:1.8;fill:none}.player-goal-stars .is-unavailable{opacity:.35}.player-goal-stars .is-earned{fill:currentColor}.player-goal-copy{display:grid;gap:3px;flex:1;min-width:0;padding-inline-start:10px;border-inline-start:1px solid #a38c66;overflow-wrap:anywhere}.player-goal-copy strong{font-size:14px;line-height:1.4;font-weight:700}.player-goal-copy span{font-size:12px;line-height:1.4;color:#f3eadb}@media(max-width:540px)and (orientation:portrait){body[data-interface=player] .top-bar{flex-wrap:wrap;gap:6px}.player-round-meta{min-width:0;flex-wrap:wrap;gap:8px}.player-round-meta .stat-label{white-space:normal}body[data-interface=player] .play-resource-strip{flex-wrap:wrap}body[data-interface=player] .play-resource-strip>div{flex-wrap:wrap}body[data-interface=player] .bottom-bar .button-main{overflow-wrap:anywhere}}@media(min-width:541px),(orientation:landscape){body[data-interface=player] .app-shell{width:min(100%,1440px)}body[data-interface=player] .play-panel{grid-template-rows:auto minmax(0,1fr) auto auto}body[data-interface=player] .board-wrap{grid-row:2}.player-hud{display:grid;grid-template-columns:minmax(90px,1fr) auto minmax(0,1fr) auto;align-items:center;gap:16px;padding:10px 16px;min-width:0;background:#102524;border-bottom:1px solid #49635e}body[data-interface=player] .top-bar{display:contents}.player-brand{grid-column:1;grid-row:1}.player-round-meta{grid-column:2;grid-row:1}.player-header-actions{grid-column:4;grid-row:1}body[data-interface=player] .play-resource-strip{grid-column:3;grid-row:1;flex-wrap:wrap;justify-content:flex-end;padding:0;gap:8px 18px;min-width:0;border:0}body[data-interface=player] .play-resource-strip>div{flex-wrap:wrap}.player-board-heading{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,500px) minmax(0,1fr);align-items:center;gap:12px;padding:12px 20px}body[data-interface=player] .player-board-heading .workbench-label{grid-column:1;grid-row:1}.player-star-goal{grid-column:2;grid-row:1}body[data-interface=player] .bottom-bar{grid-row:3;width:min(100%,800px);justify-self:center}body[data-interface=player] .bottom-bar .button-main{overflow-wrap:anywhere}.player-feedback{grid-row:4}}@media(max-height:560px)and (orientation:landscape){body[data-interface=player] .app-shell{padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left)}body[data-interface=player] .play-panel{grid-template-columns:minmax(0,1fr) 132px;grid-template-rows:auto minmax(0,1fr) auto}.player-hud{grid-column:1 / -1;grid-row:1;gap:10px;padding:6px 12px}.player-brand{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px}.player-brand strong{font-size:14px}.player-round-meta{gap:12px}body[data-interface=player] .play-resource-strip{gap:4px 12px}body[data-interface=player] .board-wrap{grid-column:1;grid-row:2}.player-board-heading{grid-template-columns:minmax(0,1fr);gap:4px;padding:6px 10px 0}body[data-interface=player] .player-board-heading .workbench-label{grid-column:1;grid-row:1;font-size:11px}.player-star-goal{grid-column:1;grid-row:2;justify-self:center;width:min(100%,460px);padding:5px 8px;gap:8px}.player-goal-stars svg{width:18px;height:18px}.player-goal-copy{gap:1px;padding-inline-start:8px}.player-goal-copy strong{font-size:13px}body[data-interface=player] .bottom-bar{grid-column:2;grid-row:2;width:100%;min-height:0;overflow:auto;grid-template-columns:minmax(0,1fr);align-content:center;gap:6px;padding:8px}body[data-interface=player] .bottom-bar .priced-button{flex-direction:row;min-height:48px;padding:6px;gap:6px}body[data-interface=player] .bottom-bar .button-main{text-align:start}body[data-interface=player] .bottom-bar .tool-icon{width:22px;height:22px;flex-shrink:0}body[data-interface=player] .bottom-bar .tool-icon svg{width:22px;height:22px}.player-feedback{grid-column:1 / -1;grid-row:3}.player-shop .shop-scene{min-height:90px;padding:12px}}@media(max-width:700px)and (max-height:560px)and (orientation:landscape){body[data-interface=player] .play-panel{grid-template-columns:minmax(0,1fr) 112px}.player-hud{grid-template-columns:minmax(0,1fr) auto auto;gap:2px 10px;padding:4px 8px}.player-header-actions{grid-column:3}body[data-interface=player] .play-resource-strip{grid-column:1 / -1;grid-row:2;justify-content:space-between}body[data-interface=player] .bottom-bar{padding:4px;gap:4px}body[data-interface=player] .bottom-bar .priced-button{min-height:44px;padding:4px;gap:4px}.player-board-heading{padding:4px 8px 0}.player-star-goal{padding:4px 6px}}.player-language{display:flex;align-items:center;gap:12px;margin-bottom:14px}.player-language select{max-width:100%;padding:8px;font:inherit}[data-locale=en] .player-brand strong{font-size:13px}[data-locale=en] .button-main,[data-locale=en] .player-goal-copy{min-width:0;overflow-wrap:anywhere}[data-locale=en] .button-main>span:first-child{white-space:normal;text-overflow:clip;overflow:visible;line-height:1.15}body[data-interface=player]{--player-surface: #211e38;--player-edge: #77708f;--player-ink: #f4f1ff;background:#141225;color:var(--player-ink)}body[data-interface=player] .app-shell{width:100%;max-width:none;margin:0;padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left)}body[data-interface=player] .play-panel{background:transparent;border:0;box-shadow:none}body[data-interface=player] .player-hud,body[data-interface=player] .top-bar,body[data-interface=player] .play-resource-strip{background:#211e38;color:var(--player-ink);border:0}body[data-interface=player] .player-brand,body[data-interface=player] .stat-label,body[data-interface=player] .play-resource-strip>div>span,body[data-interface=player] .bottom-bar .button-main>span:first-child,body[data-interface=player] .player-goal-copy{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}body[data-interface=player] .player-round-meta .stat-pill{display:flex;align-items:center;gap:7px}body[data-interface=player] .player-round-meta svg{width:19px;height:19px;color:#c9bff1}body[data-interface=player] .player-hud{grid-template-columns:auto minmax(0,1fr) auto}body[data-interface=player] .player-round-meta{grid-column:1}body[data-interface=player] .play-resource-strip{grid-column:2}body[data-interface=player] .player-header-actions{grid-column:3;margin-left:auto}body[data-interface=player] .icon-button,body[data-interface=player] .close-game-button,body[data-interface=player] .priced-button,body[data-interface=player] .dialog button,body[data-interface=player] .player-menu button{background:linear-gradient(#494261,#302b47);color:var(--player-ink);border:1px solid var(--player-edge);border-radius:14px;box-shadow:inset 0 1px #ffffff18,0 3px #14112455}body[data-interface=player] .icon-button,body[data-interface=player] .close-game-button{width:44px;height:44px;min-height:44px}body[data-interface=player] button:focus-visible{outline:3px solid #d5c5ff;outline-offset:3px}body[data-interface=player] button:disabled{opacity:.48}body[data-interface=player] .board-wrap{background:transparent}body[data-interface=player] .player-board-heading{display:flex;justify-content:center;padding:6px;gap:0;background:#211e38}body[data-interface=player] .player-board-heading .workbench-label{display:none}body[data-interface=player] .player-star-goal{width:auto;padding:0;background:none;border:0;box-shadow:none}body[data-interface=player] .player-goal-stars{gap:8px}body[data-interface=player] .player-goal-stars svg{width:20px;height:20px}body[data-interface=player] .bottom-bar{width:100%;max-width:none;background:#211e38;padding:10px max(12px,calc((100vw - 640px)/2))}body[data-interface=player] .bottom-bar .priced-button{flex-direction:row;min-height:54px;gap:10px}body[data-interface=player] .bottom-bar .button-cost{font-size:15px;color:var(--player-ink)}body[data-interface=player] #restart-button .button-cost{font-size:0}body[data-interface=player] #restart-button .button-cost:after{content:"♥ 1";font-size:15px}body[data-interface=player] .player-menu [role=region]{display:grid;gap:20px}body[data-interface=player] .bottom-bar .tool-icon{color:#eee5ff;width:26px;height:26px}body[data-interface=player] .player-feedback{color:#d0cbe0;background:#211e38;font-size:11px}body[data-interface=player] .player-menu,body[data-interface=player] .dialog,body[data-interface=player] .result-dialog,body[data-interface=player] .purchase-dialog{background:var(--player-surface);border-color:var(--player-edge);color:var(--player-ink);border-radius:22px}body[data-interface=player] .player-menu::backdrop,body[data-interface=player] .dialog::backdrop{background:#0c091bb8}body[data-interface=player] .player-progress-stats{justify-content:center;gap:30px}body[data-interface=player] .player-progress-stats .stat-pill:first-child:before{content:"★";color:#f7d77c}body[data-interface=player] .player-progress-stats .stat-pill:last-child:before{content:"🔓"}body[data-interface=player] .player-progress-stats .stat-pill{display:flex;gap:8px;align-items:center}.chapter-pager{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:18px}.chapter-pager button{width:44px;height:44px;font-size:26px;padding:0}.level-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}body[data-interface=player] .level-tile{min-height:76px;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto;place-content:center;gap:5px;padding:6px}.level-tile strong{font-size:20px}.level-tile span{color:#f7d77c;font-size:12px;white-space:nowrap}body[data-interface=player] .level-tile[aria-current=step]{border:2px solid #c7b4ff;background:#5b477a}body[data-interface=player] .language-picker>button,body[data-interface=player] .language-picker-options{background:#302b47;border-color:var(--player-edge);color:var(--player-ink)}body[data-interface=player] .language-picker-options button{box-shadow:none;background:transparent;border:0}body[data-interface=player] .language-picker-options button[aria-selected=true],body[data-interface=player] .language-picker-options button:hover{background:#514566}@media(max-width:540px){body[data-interface=player] .bottom-bar{padding:8px;gap:6px}body[data-interface=player] .bottom-bar .priced-button{flex-direction:column;min-height:62px;gap:4px}body[data-interface=player] .player-round-meta{gap:10px}}@media(max-width:540px)and (orientation:portrait){body[data-interface=player] .play-panel{grid-template-columns:minmax(0,1fr)}body[data-interface=player] .play-resource-strip{grid-column:auto}body[data-interface=player] .top-bar{flex-wrap:nowrap}body[data-interface=player] .player-header-actions{gap:4px}body[data-interface=player] .icon-button,body[data-interface=player] .close-game-button{width:40px}}@media(max-height:560px)and (orientation:landscape){body[data-interface=player] .bottom-bar{padding:6px}body[data-interface=player] .bottom-bar .priced-button{flex-direction:column;min-height:52px}}body[data-interface=player][data-scene-ui=floating] .play-panel{background:var(--chapter-scene, url(/assets/alchemy-workshop-pass4.png)) center / cover no-repeat;isolation:isolate;position:relative}body[data-interface=player][data-scene-ui=floating] .player-hud,body[data-interface=player][data-scene-ui=floating] .top-bar,body[data-interface=player][data-scene-ui=floating] .play-resource-strip,body[data-interface=player][data-scene-ui=floating] .player-board-heading,body[data-interface=player][data-scene-ui=floating] .bottom-bar,body[data-interface=player][data-scene-ui=floating] .player-feedback{background:transparent;border:0}body[data-interface=player][data-scene-ui=floating] .player-hud{background:linear-gradient(#17131ecc,#17131e55 60%,transparent)}body[data-interface=player][data-scene-ui=floating] .bottom-bar{background:linear-gradient(transparent,#17131e44);gap:12px}body[data-interface=player][data-scene-ui=floating] .player-round-meta .stat-pill,body[data-interface=player][data-scene-ui=floating] .play-resource-strip>div,body[data-interface=player][data-scene-ui=floating] .play-resource-strip>button{background:#24202ac2;border-radius:12px;padding:6px 8px;box-shadow:inset 0 1px #ffffff12,0 2px 6px #0003}body[data-interface=player][data-scene-ui=floating] .icon-button,body[data-interface=player][data-scene-ui=floating] .close-game-button,body[data-interface=player][data-scene-ui=floating] .bottom-bar .priced-button{background:linear-gradient(#494050cc,#28222ed9);border-color:#b6a7ba88}body[data-interface=player][data-scene-ui=floating] .player-star-goal{background:#24202a88;border-radius:12px;padding:4px 8px;filter:drop-shadow(0 2px 2px #110c0f)}body[data-interface=player][data-scene-ui=floating] #game-board{background:transparent}@media(max-width:540px){body[data-interface=player][data-scene-ui=floating] .bottom-bar{gap:8px}body[data-interface=player][data-scene-ui=floating] .player-round-meta .stat-pill,body[data-interface=player][data-scene-ui=floating] .play-resource-strip>div{padding:4px 6px}}body[data-interface=player][data-scene-ui=floating] .icon-button,body[data-interface=player][data-scene-ui=floating] .close-game-button,body[data-interface=player][data-scene-ui=floating] .bottom-bar .priced-button{background:linear-gradient(#443c4aee,#27222df5);box-shadow:inset 0 1px #fff2,0 3px 8px #160e1844;transition:background .12s,box-shadow .12s;touch-action:manipulation}body[data-interface=player][data-scene-ui=floating] .bottom-bar .priced-button:disabled{opacity:1;color:#b0a8b5;border-color:#897c8b66;background:linear-gradient(#302a35ee,#211d27f5);box-shadow:inset 0 1px #ffffff0c}body[data-interface=player][data-scene-ui=floating] .bottom-bar .priced-button:disabled>*{opacity:.55}body[data-interface=player][data-scene-ui=floating] button:focus-visible{outline:2px solid #ffe8a9;outline-offset:3px}body[data-interface=player][data-scene-ui=floating] .bottom-bar .priced-button:not(:disabled):active,body[data-interface=player][data-scene-ui=floating] .icon-button:not(:disabled):active{background:#201b29f5;box-shadow:inset 0 2px 5px #0008}@media(max-width:540px)and (orientation:portrait){body[data-interface=player][data-scene-ui=floating] .play-panel{background-position:var(--portrait-scene-x, 50%) 50%}}body[data-interface=player][data-scene-ui=floating] .player-feedback{position:absolute;z-index:5;left:50%;bottom:82px;transform:translate(-50%);width:max-content;max-width:calc(100% - 32px);margin:0;padding:8px 12px;border-radius:12px;background:#24202af2;color:#f4f1ff;text-align:center;box-shadow:0 3px 10px #0005;pointer-events:none}@media(max-height:560px)and (orientation:landscape){body[data-interface=player][data-scene-ui=floating] .player-feedback{left:calc(50% - 60px);bottom:12px;max-width:calc(100% - 160px)}}body[data-interface=player][data-scene-ui=floating] .bottom-bar{width:100%;max-width:none;padding:8px;gap:8px;grid-template-columns:repeat(4,84px);grid-auto-rows:56px;justify-content:center;align-content:center}body[data-interface=player][data-scene-ui=floating] .bottom-bar .priced-button{box-sizing:border-box;width:84px;min-width:84px;max-width:84px;height:56px;min-height:56px;max-height:56px;flex:none;flex-direction:row;gap:8px;padding:8px;border-radius:14px;white-space:nowrap}body[data-interface=player][data-scene-ui=floating] .bottom-bar .tool-icon,body[data-interface=player][data-scene-ui=floating] .bottom-bar .tool-icon svg{width:24px;height:24px;flex:0 0 24px}body[data-interface=player][data-scene-ui=floating] .bottom-bar .button-cost,body[data-interface=player][data-scene-ui=floating] #restart-button .button-cost:after{font-size:15px;line-height:20px;white-space:nowrap}body[data-interface=player][data-scene-ui=floating] #restart-button .button-cost{font-size:0}body[data-interface=player][data-scene-ui=floating] .icon-button,body[data-interface=player][data-scene-ui=floating] .close-game-button{box-sizing:border-box;width:44px;min-width:44px;max-width:44px;height:44px;min-height:44px;max-height:44px;flex:0 0 44px}body[data-interface=player][data-scene-ui=floating] #demo-review-open{box-sizing:border-box;width:56px;min-width:56px;max-width:56px;height:44px;min-height:44px;max-height:44px;flex:0 0 56px;font-size:11px;padding:4px}@media(max-width:375px)and (orientation:portrait){body[data-interface=player][data-scene-ui=floating] .bottom-bar{grid-template-columns:repeat(2,84px)}body[data-interface=player][data-scene-ui=floating] .player-feedback{bottom:144px}}@media(max-height:560px)and (orientation:landscape){body[data-interface=player][data-scene-ui=floating] .bottom-bar{grid-template-columns:84px}}body[data-menu-ui=journal] #player-menu #progress-panel .player-level-menu.chapter-journey{padding:16px 12px;background:radial-gradient(ellipse at 45% 35%,#faf1df,transparent 70%),repeating-linear-gradient(83deg,transparent 0 24px,#a38a6414 25px,transparent 26px),#f1e4cb;color:#4d3a32;overflow:hidden;--cj-scroll-height:clamp(140px, calc(100dvh - 440px) ,460px)}#player-menu #progress-panel .chapter-journey *{box-sizing:border-box}#player-menu #progress-panel .chapter-journey button{color:#5d4532;background:none;box-shadow:none;border:0;font:inherit;padding:0}#player-menu #progress-panel .chapter-journey button:disabled{opacity:1;cursor:default}#player-menu #progress-panel .chapter-journey .cj-map-heading{padding:4px 6px 12px}#player-menu #progress-panel .chapter-journey .cj-map-heading>span{font-size:11px;letter-spacing:.08em;color:#786552}#player-menu #progress-panel .chapter-journey h3{font:500 25px/1.4 Georgia,"Noto Serif TC",serif;margin:5px 0 12px;color:#4d3a32}#player-menu #progress-panel .chapter-journey .cj-locate{display:flex;align-items:center;gap:7px;min-height:44px;padding:7px 10px;color:#654d37;background:#e6d4b4;border:1px solid #bba079;border-radius:10px;font-size:12px}#player-menu #progress-panel .chapter-journey .cj-locate svg{width:16px;height:16px}#player-menu #progress-panel .chapter-journey .cj-locate:disabled{opacity:.55}#player-menu #progress-panel .chapter-journey .cj-map-scroll{height:var(--cj-scroll-height);overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;touch-action:pan-y;scrollbar-width:thin;scrollbar-color:#ad946c #eadcc2;overflow-anchor:none}#player-menu #progress-panel .chapter-journey .cj-map-scroll::-webkit-scrollbar{width:6px}#player-menu #progress-panel .chapter-journey .cj-map-scroll::-webkit-scrollbar-thumb{background:#ad946c;border-radius:4px}#player-menu #progress-panel .chapter-journey .cj-map-scroll::-webkit-scrollbar-track{background:#eadcc2}#player-menu #progress-panel .chapter-journey .cj-map{position:relative;isolation:isolate;display:flex;flex-direction:column;margin:0;padding-block:max(0px,calc((var(--cj-scroll-height) - 166px)/2))}#player-menu #progress-panel .chapter-journey .cj-row{position:relative;height:166px;z-index:1}#player-menu #progress-panel .chapter-journey .cj-node{position:absolute;width:90px;height:90px;top:32px;left:27%;transform:translate(-50%);border-radius:50%;text-align:left}#player-menu #progress-panel .chapter-journey .cj-right .cj-node{left:73%}#player-menu #progress-panel .chapter-journey .cj-medallion{position:relative;display:block;width:90px;height:90px;border:5px solid #bd9a60;outline:1px solid #7b5c37;border-radius:50%;box-shadow:inset 0 0 0 2px #fff1d0,0 6px 9px #5e432522;background:#dbc8a7}#player-menu #progress-panel .chapter-journey .cj-medallion img{width:100%;height:100%;border-radius:50%;object-fit:cover;border:2px solid #f4e2c1}#player-menu #progress-panel .chapter-journey .is-locked img{filter:grayscale(1) sepia(.25);opacity:.65}#player-menu #progress-panel .chapter-journey .cj-marker{position:absolute;bottom:-15px;left:50%;transform:translate(-50%);display:grid;place-items:center;width:27px;height:27px;background:#413345;color:#f0d490;border:2px solid #f9edd5;border-radius:50%}#player-menu #progress-panel .chapter-journey .cj-marker svg{width:16px;height:16px}#player-menu #progress-panel .chapter-journey .cj-copy{position:absolute;display:flex;flex-direction:column;gap:5px;width:145px;left:calc(100% + 16px);top:50%;transform:translateY(-50%);color:#786552;font-size:12px;pointer-events:none}#player-menu #progress-panel .chapter-journey .cj-right .cj-copy{left:auto;right:calc(100% + 16px);text-align:right}#player-menu #progress-panel .chapter-journey .cj-copy strong{color:#4d3a32;font:500 18px/1.4 Georgia,"Noto Serif TC",serif;overflow-wrap:anywhere}#player-menu #progress-panel .chapter-journey .cj-copy small{font-size:11px}#player-menu #progress-panel .chapter-journey .cj-routes{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none}#player-menu #progress-panel .chapter-journey .cj-route{fill:none;stroke:#b8a485;stroke-width:2;stroke-linecap:round;stroke-dasharray:3 7}#player-menu #progress-panel .chapter-journey .cj-travelled{fill:none;stroke:#ad946c;stroke-width:2;stroke-linecap:round}#player-menu #progress-panel .chapter-journey .cj-light{fill:none;stroke:#bd934c;stroke-width:3;opacity:0;stroke-dasharray:var(--cj-length);filter:drop-shadow(0 0 3px #e3bb6a88)}#player-menu #progress-panel .chapter-journey .cj-step{position:absolute;width:38px;height:44px;color:#644323;opacity:0;pointer-events:none}#player-menu #progress-panel .chapter-journey .cj-step svg{width:100%;height:100%;stroke-width:2}#player-menu #progress-panel .chapter-journey .cj-footer{display:flex;justify-content:space-between;align-items:center;gap:10px;border-top:1px solid #cdb68f;padding:14px 4px 0}#player-menu #progress-panel .chapter-journey .cj-footer>div{display:flex;flex:1;min-width:0;flex-direction:column;gap:5px}#player-menu #progress-panel .chapter-journey .cj-footer-kicker{font-size:11px;color:#786552}#player-menu #progress-panel .chapter-journey .cj-footer-title{font:500 17px/1.4 Georgia,serif;overflow-wrap:anywhere}#player-menu #progress-panel .chapter-journey .cj-action{flex:none;min-height:44px;max-width:50%;padding:9px 12px;background:#397d70;color:#fff4dc;border-radius:12px;font-size:13px}#player-menu #progress-panel .chapter-journey .cj-action:disabled{background:#dbceb8;color:#6d5944}#player-menu #progress-panel .chapter-journey .cj-back{display:flex;gap:7px;align-items:center;min-height:44px;font-size:13px}#player-menu #progress-panel .chapter-journey .cj-back svg{width:16px;height:16px}#player-menu #progress-panel .chapter-journey .cj-level-heading{text-align:center;padding:12px 0;font-size:13px;color:#786552}#player-menu #progress-panel .chapter-journey .cj-level-heading p{margin:0}#player-menu #progress-panel .chapter-journey .cj-level-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px 8px;padding:12px 0 32px}#player-menu #progress-panel .chapter-journey .cj-level{border:1px solid #b79c73;border-radius:50%;aspect-ratio:1;min-height:48px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;background:#f9f0df}#player-menu #progress-panel .chapter-journey .cj-level[aria-current]{outline:2px solid #337d72;outline-offset:2px}#player-menu #progress-panel .chapter-journey .cj-level:disabled{background:#ddd0b7;color:#786552}#player-menu #progress-panel .chapter-journey .cj-level>svg{width:10px;height:10px}#player-menu #progress-panel .chapter-journey .cj-stars{display:flex;gap:1px;color:#9c783e}#player-menu #progress-panel .chapter-journey .cj-stars svg{width:11px;height:11px}#player-menu #progress-panel .chapter-journey .cj-stars .is-earned svg{fill:#c09750}#player-menu #progress-panel .chapter-journey .cj-announcement{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden}#player-menu #progress-panel .chapter-journey .is-arriving .cj-medallion{animation:cj-arrive 1.8s ease-out}@keyframes cj-arrive{0%{filter:grayscale(1);box-shadow:0 0 #c0975088}40%{filter:grayscale(0);box-shadow:0 0 0 9px #c0975044}to{box-shadow:0 0 0 16px #c0975000}}@media(max-width:460px){#player-menu #progress-panel .chapter-journey .cj-node,#player-menu #progress-panel .chapter-journey .cj-medallion{width:72px;height:72px}#player-menu #progress-panel .chapter-journey .cj-copy{width:120px;left:calc(100% + 10px)}#player-menu #progress-panel .chapter-journey .cj-right .cj-copy{right:calc(100% + 10px)}#player-menu #progress-panel .chapter-journey .cj-copy strong{font-size:16px}}@media(max-width:360px){#player-menu #progress-panel .chapter-journey .cj-node{left:23%}#player-menu #progress-panel .chapter-journey .cj-right .cj-node{left:77%}#player-menu #progress-panel .chapter-journey .cj-copy{width:102px}#player-menu #progress-panel .chapter-journey .cj-level-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:600px)and (max-height:700px)and (orientation:portrait){body[data-menu-ui=journal] #player-menu #progress-panel .player-level-menu.chapter-journey{--cj-scroll-height:clamp(140px, calc(100dvh - 360px) ,340px)}#player-menu #progress-panel .chapter-journey .cj-map-heading{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:4px 8px;padding:0 4px 8px}#player-menu #progress-panel .chapter-journey .cj-map-heading>span{display:none}#player-menu #progress-panel .chapter-journey .cj-map-heading h3{font-size:20px;margin:0}#player-menu #progress-panel .chapter-journey .cj-footer{padding:8px 4px 0}#player-menu #progress-panel .chapter-journey .cj-footer>div{gap:2px}#player-menu #progress-panel .chapter-journey .cj-footer-title{font-size:14px}}@media(prefers-reduced-motion:reduce){#player-menu #progress-panel .chapter-journey .is-arriving .cj-medallion{animation:none}}body[data-interface=player] .player-round-meta #moves-value{font-size:16px}body[data-interface=player] .player-round-meta .compact-meta-label{position:static;width:auto;height:auto;margin:0;clip-path:none;overflow:visible;font-size:11px;color:#c9c1df;white-space:nowrap}.compact-help-trigger{cursor:pointer;border-radius:10px}.compact-help-trigger:focus-visible{outline:3px solid #d5c5ff;outline-offset:3px}body[data-interface=player] .compact-help{width:min(390px,calc(100% - 24px));padding:20px}.compact-help p{font-size:15px;line-height:1.65;margin:12px 0;white-space:pre-line}.compact-help .help-detail{color:#c8c0da;font-size:13px}.compact-help .help-done{width:100%;min-height:44px;margin-top:8px}.help-choices{display:grid;gap:8px}.help-choices[hidden]{display:none}.help-choices button{min-height:44px;text-align:start}.help-demo{display:flex;justify-content:center;align-items:center;gap:35px;height:120px}.help-demo[hidden]{display:none}.help-bottle{position:relative;width:35px;height:82px;border:2px solid #dfd3ff;border-radius:7px 7px 15px 15px;overflow:hidden}.help-bottle i{position:absolute;bottom:0;width:100%;background:#eb456e;height:50%}.help-source{animation:help-pour 2.8s ease-in-out infinite;transform-origin:50% 10%}.help-target i{animation:help-fill 2.8s ease-in-out infinite}@keyframes help-pour{0%,20%,90%,to{transform:none}40%,65%{transform:translateY(-10px) rotate(30deg)}}@keyframes help-fill{0%,20%,to{height:15%}65%,90%{height:50%}}@media(prefers-reduced-motion:reduce){.help-source,.help-target i{animation:none}}@media(max-width:390px){body[data-interface=player] .player-round-meta{gap:8px}body[data-interface=player] .player-round-meta .compact-meta-label{font-size:10px}}.language-picker{position:relative;min-width:150px;max-width:100%}.language-picker>button,.language-picker-options{border:1px solid #526a60;border-radius:12px;background:#1c3435;color:#e4f0eb}.language-picker>button{width:100%;min-height:44px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:10px 14px;font:inherit}.language-picker-chevron{display:block;width:18px;height:18px;flex:0 0 18px;fill:none;stroke:#dfc68e;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;transform-origin:center}.language-picker>button[aria-expanded=true] .language-picker-chevron{transform:rotate(180deg)}.language-picker-options{position:absolute;inset:calc(100% + 6px) 0 auto;z-index:12;padding:6px;box-shadow:0 10px 24px #0006}.language-picker-options[hidden]{display:none}.language-picker-options button{display:block;position:relative;width:100%;min-height:44px;text-align:left;border:0;border-radius:8px;padding:10px 38px 10px 12px;background:transparent;color:inherit;font:inherit}.language-picker-options button[aria-selected=true]{background:#365650;color:#fff}.language-picker-options button[aria-selected=true]:after{content:"";position:absolute;right:10px;top:50%;width:18px;height:22px;transform:translateY(-50%);background:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2028'%3e%3cdefs%3e%3clinearGradient%20id='brass'%20x1='0'%20y1='0'%20x2='.8'%20y2='1'%3e%3cstop%20stop-color='%23ead09a'/%3e%3cstop%20offset='.46'%20stop-color='%23bd9251'/%3e%3cstop%20offset='1'%20stop-color='%23806039'/%3e%3c/linearGradient%3e%3c/defs%3e%3cpath%20d='M12%201.5%2022%2014%2012%2026.5%202%2014Z'%20fill='url(%23brass)'%20stroke='%2349321f'%20stroke-width='1.5'%20stroke-linejoin='round'/%3e%3cpath%20d='m12%204%208%2010-8%2010-8-10Z'%20fill='none'%20stroke='%23e8c88b'%20stroke-width='.8'/%3e%3cpath%20d='m12%205%207%209-7-2-7%202Z'%20fill='%23f1d9a0'%20opacity='.35'/%3e%3cpath%20d='m12%2012%207%202-7%209-7-9Z'%20fill='%2367482c'%20opacity='.22'/%3e%3cpath%20d='m12%209%204%205-4%205-4-5Z'%20fill='%236c4b2d'%20stroke='%239b703b'%20stroke-width='.7'/%3e%3cpath%20d='m8%2014%204%205%204-5'%20fill='none'%20stroke='%23edce94'%20stroke-width='.8'/%3e%3c/svg%3e") center / contain no-repeat;pointer-events:none}.language-picker-options button:hover{background:#2c4946}.language-picker button:focus-visible{outline:2px solid #acf1e3;outline-offset:2px}body[data-interface=player][data-app-ui=true] .app-game-icon{display:inline-block;width:24px;height:24px;flex:0 0 24px;background-image:var(--app-icon-atlas);background-size:300% 300%;background-repeat:no-repeat;pointer-events:none}.app-game-icon[data-icon=undo]{background-position:0% 0%}.app-game-icon[data-icon=hint]{background-position:50% 0%}.app-game-icon[data-icon=bottle]{background-position:100% 0%}.app-game-icon[data-icon=restart]{background-position:0% 50%}.app-game-icon[data-icon=map]{background-position:50% 50%}.app-game-icon[data-icon=gear]{background-position:100% 50%}.app-game-icon[data-icon=close]{background-position:0% 100%}.app-game-icon[data-icon=coin]{background-position:50% 100%}.app-game-icon[data-icon=heart]{background-position:100% 100%}body[data-interface=player][data-app-ui=true] .player-hud{display:grid;grid-template-columns:auto minmax(0,1fr) auto;grid-column:1 / -1;grid-row:1;align-items:center;gap:10px;padding:8px 12px;background:linear-gradient(#21182180,transparent)}body[data-interface=player][data-app-ui=true] .top-bar[hidden]{display:none}body[data-interface=player][data-app-ui=true] .player-round-meta{grid-column:1;grid-row:1;justify-content:start;flex-wrap:nowrap;gap:8px}body[data-interface=player][data-app-ui=true] .player-header-actions{grid-column:3;grid-row:1;display:flex;gap:6px;margin:0;justify-content:end}body[data-interface=player][data-app-ui=true] .play-resource-strip{grid-column:2;grid-row:1;display:flex;justify-content:center;flex-wrap:nowrap;gap:8px;padding:0;background:transparent}body[data-interface=player][data-app-ui=true] .play-resource-strip>div{flex-wrap:nowrap;height:36px;box-sizing:border-box;padding:4px 8px}body[data-interface=player][data-app-ui=true] .play-resource-strip .app-game-icon{position:static;width:24px;height:24px;margin:0;padding:0;clip-path:none;overflow:visible;white-space:normal}body[data-interface=player][data-app-ui=true] .icon-button,body[data-interface=player][data-app-ui=true] .close-game-button,body[data-interface=player][data-app-ui=true] .bottom-bar .priced-button,body[data-interface=player][data-app-ui=true] .player-round-meta .stat-pill,body[data-interface=player][data-app-ui=true] .play-resource-strip>div{border:1px solid #8270839c;background:linear-gradient(#493c50f5,#29222ef7);box-shadow:inset 0 2px #ffffff1f,inset 0 -2px #160f1d55,0 3px 7px #180c2044}body[data-interface=player][data-app-ui=true] .bottom-bar .priced-button:disabled{background:linear-gradient(#39303df5,#26202bf7);border-color:#77677988}body[data-interface=player][data-app-ui=true] .bottom-bar .priced-button:disabled .app-game-icon{filter:saturate(.35)}body[data-interface=player][data-app-ui=true] .bottom-bar #restart-button .button-cost{display:inline-flex;align-items:center;justify-content:center;height:20px;line-height:0}body[data-interface=player][data-app-ui=true] .bottom-bar #restart-button .button-cost:after{display:block;line-height:20px}body[data-interface=player][data-app-ui=true] .icon-button:not(:disabled):active,body[data-interface=player][data-app-ui=true] .bottom-bar .priced-button:not(:disabled):active{background:#28212df7;box-shadow:inset 0 2px 5px #0007}body[data-interface=player][data-app-ui=true] .player-round-meta svg{stroke-width:1.7}body[data-interface=player][data-app-ui=true] .player-round-meta .stat-pill:first-child svg{fill:#78c8da}body[data-interface=player][data-app-ui=true] .player-round-meta .stat-pill:last-child svg{fill:#c5b8e5}body[data-interface=player][data-app-ui=true] .player-board-heading{display:none}body[data-interface=player][data-app-ui=true] #progress-panel #player-star-goal{display:block;width:100%;text-align:left;padding:12px;border-radius:14px;background:#352c40;filter:none}body[data-interface=player][data-app-ui=true] #progress-panel .player-goal-stars{display:none}body[data-interface=player][data-app-ui=true] #progress-panel .player-goal-copy{position:static;width:auto;height:auto;padding:0;margin:0;clip-path:none;overflow:visible;white-space:normal;display:grid;gap:6px}body[data-interface=player][data-app-ui=true] #settings-panel #demo-review-open{position:static;width:100%;min-width:0;max-width:none;height:44px;margin:0;font-size:14px;flex:none;color:#eee0f1;background:#3a3043;border:1px solid #806b8b}body[data-interface=player][data-app-ui=true] :is(.player-round-meta,.play-resource-strip,.player-header-actions)>*{flex-shrink:0}body[data-interface=player][data-app-ui=true] .player-hud[data-hud-layout=split]{grid-template-columns:minmax(0,1fr) auto}body[data-interface=player][data-app-ui=true] .player-hud[data-hud-layout=split] .play-resource-strip{grid-column:1 / -1;grid-row:1}body[data-interface=player][data-app-ui=true] .player-hud[data-hud-layout=split] .player-round-meta{grid-column:1;grid-row:2}body[data-interface=player][data-app-ui=true] .player-hud[data-hud-layout=split] .player-header-actions{grid-column:2;grid-row:2}body[data-interface=player][data-app-ui=true] .player-hud[data-hud-layout=stacked]{grid-template-columns:minmax(0,1fr)}body[data-interface=player][data-app-ui=true] .player-hud[data-hud-layout=stacked] .play-resource-strip{grid-column:1;grid-row:1}body[data-interface=player][data-app-ui=true] .player-hud[data-hud-layout=stacked] .player-round-meta{grid-column:1;grid-row:2;justify-content:center}body[data-interface=player][data-app-ui=true] .player-hud[data-hud-layout=stacked] .player-header-actions{grid-column:1;grid-row:3;justify-content:center}@media(max-height:560px)and (orientation:landscape){body[data-interface=player][data-app-ui=true] .player-hud{padding:4px 8px;gap:6px}}.renderer-recovery-status{position:absolute;z-index:5;inset:40% auto auto 50%;transform:translate(-50%);width:max-content;max-width:85%;padding:14px 22px;border:1px solid #b9a16d;border-radius:16px;background:#403449;color:#f4e6bd;text-align:center}[data-recovering=true] .potion-labels{pointer-events:none}body[data-interface=player][data-app-ui=true][data-ui-revision=u06]{--app-surface: #302638;--app-edge: #8f7e9a;--app-ink: #fff5e6}body[data-interface=player][data-app-ui=true][data-ui-revision=u06] :is(.icon-button,.close-game-button,.bottom-bar .priced-button){border-radius:16px;border-color:#a18ba988;background:linear-gradient(180deg,#615169,#41334c 45%,#302738);box-shadow:inset 0 2px #fff5,inset 0 -3px #22172c99,0 4px #1c142bc9,0 7px 12px #170e263d;transition:transform .12s ease,box-shadow .12s ease,filter .12s ease}body[data-interface=player][data-app-ui=true][data-ui-revision=u06] :is(.icon-button,.close-game-button,.bottom-bar .priced-button):not(:disabled):active{transform:translateY(2px);box-shadow:inset 0 1px 3px #0005,0 1px #1c142bc9}@media(hover:hover){body[data-interface=player][data-app-ui=true][data-ui-revision=u06] :is(.icon-button,.bottom-bar .priced-button):not(:disabled):hover{filter:brightness(1.12)}}body[data-interface=player][data-app-ui=true][data-ui-revision=u06] .player-hud{align-items:start}body[data-interface=player][data-app-ui=true][data-ui-revision=u06] .player-round-meta{gap:6px}body[data-interface=player][data-app-ui=true][data-ui-revision=u06] .player-round-meta .stat-pill{border-color:#9c85b655}body[data-interface=player][data-app-ui=true][data-ui-revision=u06] .play-resource-strip>div{background:#302737eb;border-color:#9c85b655}body[data-interface=player][data-app-ui=true][data-ui-revision=u06][data-energy-low=true] .play-resource-strip>div:last-child{border-color:#e9a674;background:#513244;box-shadow:inset 0 1px #fff2,0 0 0 2px #e9a67433}body[data-interface=player][data-app-ui=true][data-ui-revision=u06] :is(.player-menu,.dialog,.result-dialog,.purchase-dialog,#demo-review-dialog){box-sizing:border-box;background:linear-gradient(155deg,#4b3b57,#2b2235 70%);color:var(--app-ink);border:1px solid #a893b47a;border-radius:24px;box-shadow:inset 0 2px #fff2,0 6px #1a112ac9,0 20px 70px #130b26a6;max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);overflow-y:auto}body[data-interface=player][data-app-ui=true][data-ui-revision=u06] .player-menu{padding:18px;width:min(460px,calc(100% - 24px))}body[data-interface=player][data-app-ui=true][data-ui-revision=u06] .player-menu-header{padding-bottom:12px;border-bottom:1px solid #a893b433}body[data-interface=player][data-app-ui=true][data-ui-revision=u06] :is(.player-menu,.dialog,.purchase-dialog,#demo-review-dialog) button{min-height:44px;color:var(--app-ink);border-color:#a18ba966;background:linear-gradient(#5a4966,#3b2f47);border-radius:14px;box-shadow:inset 0 1px #fff2,0 2px #1c142b99}body[data-interface=player][data-app-ui=true][data-ui-revision=u06] button:is(.primary-button,.app-primary-action,#restart-confirm,#purchase-confirm,.restart-confirm-dialog [data-confirm]){color:#fff8eb;border-color:#9bd5c3;background:linear-gradient(#4c9c8f,#2b6f68);box-shadow:inset 0 2px #d1ffeb44,0 3px #183f3e}body[data-interface=player][data-app-ui=true][data-ui-revision=u06] :is(.dialog,.purchase-dialog) .dialog-actions{gap:10px}body[data-interface=player][data-app-ui=true][data-ui-revision=u06] :is(.dialog,.purchase-dialog) p{line-height:1.6}body[data-interface=player][data-app-ui=true][data-ui-revision=u06] .chapter-pager{margin-bottom:12px}body[data-interface=player][data-app-ui=true][data-ui-revision=u06] .app-chapter-card{display:flex;align-items:center;gap:12px;padding:14px;margin-bottom:18px;border-radius:18px;background:linear-gradient(115deg,#655075,#3b3049);border:1px solid #a58bbb66}body[data-interface=player][data-app-ui=true][data-ui-revision=u06] .app-chapter-emblem{font-size:32px;color:#efcc83}body[data-interface=player][data-app-ui=true][data-ui-revision=u06] .app-chapter-card h3{font-size:18px;margin:0 0 4px}body[data-interface=player][data-app-ui=true][data-ui-revision=u06] .app-chapter-card p{font-size:12px;color:#d2c3de;margin:0}body[data-interface=player][data-app-ui=true][data-ui-revision=u06] .app-chapter-stars{margin-left:auto;font-size:13px;white-space:nowrap;color:#ffe1a0}body[data-interface=player][data-app-ui=true][data-ui-revision=u06] .level-grid{gap:12px 8px;padding:2px 0 8px}body[data-interface=player][data-app-ui=true][data-ui-revision=u06] .level-tile{border-radius:22px;min-height:72px}body[data-interface=player][data-app-ui=true][data-ui-revision=u06] .level-tile[data-state=cleared]{background:linear-gradient(#557d75,#355a58);border-color:#a3d1b577}body[data-interface=player][data-app-ui=true][data-ui-revision=u06] .level-tile[data-state=locked]{background:#302a3b;opacity:.65;box-shadow:inset 0 1px #fff1}body[data-interface=player][data-app-ui=true][data-ui-revision=u06] .level-tile[aria-current=step]{border:2px solid #f0cc80;background:linear-gradient(#75608a,#514060);box-shadow:0 0 0 3px #f0cc801a,0 3px #22172c99}body[data-interface=player][data-app-ui=true][data-ui-revision=u06] .player-progress-stats{gap:12px;margin-bottom:0}body[data-interface=player][data-app-ui=true][data-ui-revision=u06] .player-progress-stats .stat-pill{background:#211b2f66;padding:8px 12px;border-radius:12px}body[data-interface=player][data-app-ui=true][data-ui-revision=u06] .app-goal-details{background:#241d3066;border-radius:14px;padding:12px}body[data-interface=player][data-app-ui=true][data-ui-revision=u06] .app-goal-details summary{cursor:pointer;font-size:13px;color:#ddcbe7;min-height:24px}body[data-interface=player][data-app-ui=true][data-ui-revision=u06] #progress-panel #player-star-goal{margin-top:10px;font-size:13px}body[data-interface=player][data-app-ui=true][data-ui-revision=u06] :is(.audio-controls,.player-transactions,.language-picker){padding:10px;border:1px solid #a893b433;border-radius:16px;background:#241d3066}body[data-interface=player][data-app-ui=true][data-ui-revision=u06] .player-menu [role=switch]{display:flex;align-items:center;justify-content:space-between;gap:8px}body[data-interface=player][data-app-ui=true][data-ui-revision=u06] .player-menu [role=switch]:after{flex:0 0 24px;height:14px;width:24px;border-radius:8px;box-shadow:inset 10px 0 #d6cbd9;background:#6b586f;margin-left:0}body[data-interface=player][data-app-ui=true][data-ui-revision=u06] .player-menu [role=switch][aria-checked=true]:after{box-shadow:inset -10px 0 #fff4da;background:#53b7a0}body[data-interface=player][data-app-ui=true][data-ui-revision=u06] .language-picker-options{background:#3a2e48;border-color:#a18ba9;border-radius:12px}body[data-interface=player][data-app-ui=true][data-ui-revision=u06] #settings-panel{gap:14px}body[data-interface=player][data-app-ui=true][data-ui-revision=u06] #settings-panel a{color:#c3afd4;font-size:11px}body[data-interface=player][data-app-ui=true][data-ui-revision=u06] .is-win .result-dialog{padding:22px;width:min(380px,calc(100vw - 24px));border:1px solid #b7a2c788}body[data-interface=player][data-app-ui=true][data-ui-revision=u06] .is-win .result-art{display:none}body[data-interface=player][data-app-ui=true][data-ui-revision=u06] .is-win .result-kicker{color:#dfcbe9}body[data-interface=player][data-app-ui=true][data-ui-revision=u06] .is-win .dialog-title{font-size:26px;color:#fff1cd}body[data-interface=player][data-app-ui=true][data-ui-revision=u06] .is-win .result-stars{width:210px;height:88px;margin:12px auto}body[data-interface=player][data-app-ui=true][data-ui-revision=u06] .is-win .result-rating{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}body[data-interface=player][data-app-ui=true][data-ui-revision=u06] .is-win .result-stats{background:#241d3066;border:0;border-radius:14px;margin-bottom:14px}body[data-interface=player][data-app-ui=true][data-ui-revision=u06] .is-win .result-stats dt{color:#cdbdd9}body[data-interface=player][data-app-ui=true][data-ui-revision=u06] .is-win .result-stats-simple{grid-template-columns:minmax(0,1fr)}body[data-interface=player][data-app-ui=true][data-ui-revision=u06] .is-win .dialog-actions{display:flex;flex-direction:column-reverse;gap:10px}body[data-interface=player][data-app-ui=true][data-ui-revision=u06] .is-win .dialog-actions button{width:100%;min-height:48px}body[data-interface=player][data-app-ui=true][data-ui-revision=u06] .is-win #overlay-body{font-size:13px;color:#d6c8df;line-height:1.5}body[data-interface=player][data-app-ui=true][data-ui-revision=u06] .is-win #overlay-body:empty{display:none}@media(max-width:360px){body[data-interface=player][data-app-ui=true][data-ui-revision=u06] .player-menu{padding:14px}body[data-interface=player][data-app-ui=true][data-ui-revision=u06] .level-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-height:440px)and (orientation:landscape){body[data-interface=player][data-app-ui=true][data-ui-revision=u06] .is-win .result-dialog{padding:14px 20px}body[data-interface=player][data-app-ui=true][data-ui-revision=u06] .is-win .result-stars{width:150px;height:58px;margin:4px auto}body[data-interface=player][data-app-ui=true][data-ui-revision=u06] .is-win .dialog-title{font-size:22px}}@media(prefers-reduced-motion:reduce){body[data-interface=player][data-app-ui=true][data-ui-revision=u06] button{transition:none}}body[data-ui-presentation=accepted] #purchase-price{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}body[data-ui-presentation=accepted] #purchase-price:before{content:"";display:inline-block;width:24px;height:24px;flex:0 0 24px;background-image:var(--app-icon-atlas);background-size:300% 300%;background-position:50% 100%;background-repeat:no-repeat}body[data-ui-presentation=accepted] .is-win .is-earned .star-fill,body[data-ui-presentation=accepted] .is-win .is-earned .star-glint{animation-duration:.22s}body[data-ui-presentation=accepted] .is-result-audio-pending .is-earned .star-fill,body[data-ui-presentation=accepted] .is-result-audio-pending .is-earned .star-glint{animation:none}body[data-app-ui=true] .is-failed-tools .dialog-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}body[data-app-ui=true] .is-failed-tools .dialog-actions button{min-width:0;min-height:76px;padding:10px;display:flex;align-items:center;justify-content:center;gap:10px;white-space:normal}body[data-app-ui=true] .is-failed-tools #overlay-action{flex-direction:row;gap:10px}body[data-app-ui=true] .is-failed-tools .fail-benefit,body[data-app-ui=true] .is-failed-tools .fail-resource{display:inline-flex;align-items:center;justify-content:center;gap:5px;font-size:20px;font-weight:800;line-height:1.2}body[data-app-ui=true] .is-failed-tools .fail-benefit svg{width:26px;height:26px}body[data-app-ui=true] .is-failed-tools .fail-resource .app-game-icon{width:24px;height:24px}body[data-interface=player][data-app-ui=true][data-ui-revision=u06][data-ui-presentation=accepted][data-scene-ui=floating]{--demo-gap: clamp(6px, 1.2vw, 12px)}body[data-interface=player][data-app-ui=true][data-ui-revision=u06][data-ui-presentation=accepted][data-scene-ui=floating] .play-panel{grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr) auto}body[data-interface=player][data-app-ui=true][data-ui-revision=u06][data-ui-presentation=accepted][data-scene-ui=floating] .player-hud{box-sizing:border-box;min-width:0;width:100%;grid-column:1 / -1;grid-row:1;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:6px var(--demo-gap);padding:10px 12px}body[data-interface=player][data-app-ui=true][data-ui-revision=u06][data-ui-presentation=accepted][data-scene-ui=floating] :is(.player-round-meta,.play-resource-strip,.player-header-actions){min-width:0;width:auto;align-items:center;flex-wrap:nowrap;gap:6px;margin:0;padding:0}body[data-interface=player][data-app-ui=true][data-ui-revision=u06][data-ui-presentation=accepted][data-scene-ui=floating] .player-round-meta{grid-column:1;grid-row:1;justify-content:start}body[data-interface=player][data-app-ui=true][data-ui-revision=u06][data-ui-presentation=accepted][data-scene-ui=floating] .play-resource-strip{grid-column:2;grid-row:1;justify-content:center}body[data-interface=player][data-app-ui=true][data-ui-revision=u06][data-ui-presentation=accepted][data-scene-ui=floating] .player-header-actions{grid-column:3;grid-row:1;justify-content:end}body[data-interface=player][data-app-ui=true][data-ui-revision=u06][data-ui-presentation=accepted][data-scene-ui=floating] :is(.player-round-meta .stat-pill,.play-resource-strip>div){box-sizing:border-box;display:flex;align-items:center;flex:0 0 auto;min-width:0;height:44px;min-height:44px;gap:6px;padding:6px 10px;border-radius:12px;white-space:nowrap;font-variant-numeric:tabular-nums}body[data-interface=player][data-app-ui=true][data-ui-revision=u06][data-ui-presentation=accepted][data-scene-ui=floating] :is(.stat-value,#moves-value,.play-resource-strip strong){font-size:16px;line-height:20px}body[data-interface=player][data-app-ui=true][data-ui-revision=u06][data-ui-presentation=accepted][data-scene-ui=floating] .compact-meta-label{font-size:11px}body[data-interface=player][data-app-ui=true][data-ui-revision=u06][data-ui-presentation=accepted][data-scene-ui=floating] :is(.player-header-actions .icon-button,.close-game-button){font-size:16px}body[data-interface=player][data-app-ui=true][data-ui-revision=u06][data-ui-presentation=accepted][data-scene-ui=floating] .player-round-meta svg{width:18px;height:18px;flex:0 0 18px}body[data-interface=player][data-app-ui=true][data-ui-revision=u06][data-ui-presentation=accepted][data-scene-ui=floating] .play-resource-strip .app-game-icon{width:24px;height:24px;flex:0 0 24px}body[data-interface=player][data-app-ui=true][data-ui-revision=u06][data-ui-presentation=accepted][data-scene-ui=floating] .player-round-meta .stat-pill:first-child{min-width:126px}body[data-interface=player][data-app-ui=true][data-ui-revision=u06][data-ui-presentation=accepted][data-scene-ui=floating] .player-round-meta .stat-pill:last-child{min-width:116px}body[data-interface=player][data-app-ui=true][data-ui-revision=u06][data-ui-presentation=accepted][data-scene-ui=floating] .play-resource-strip>div:first-child{min-width:104px}body[data-interface=player][data-app-ui=true][data-ui-revision=u06][data-ui-presentation=accepted][data-scene-ui=floating] .play-resource-strip>div:last-child{min-width:80px}body[data-interface=player][data-app-ui=true][data-ui-revision=u06][data-ui-presentation=accepted][data-scene-ui=floating] .player-hud[data-hud-density=compact]{padding-inline:8px;column-gap:6px}body[data-interface=player][data-app-ui=true][data-ui-revision=u06][data-ui-presentation=accepted][data-scene-ui=floating] .player-hud[data-hud-density=compact] .player-round-meta .stat-pill{padding-inline:6px}body[data-interface=player][data-app-ui=true][data-ui-revision=u06][data-ui-presentation=accepted][data-scene-ui=floating] .player-hud[data-hud-density=compact] .player-round-meta .stat-pill:first-child{min-width:116px}body[data-interface=player][data-app-ui=true][data-ui-revision=u06][data-ui-presentation=accepted][data-scene-ui=floating] .player-hud[data-hud-density=compact] .player-round-meta .stat-pill:last-child{min-width:106px}body[data-interface=player][data-app-ui=true][data-ui-revision=u06][data-ui-presentation=accepted][data-scene-ui=floating] .player-hud[data-hud-density=compact] .play-resource-strip{gap:4px}body[data-interface=player][data-app-ui=true][data-ui-revision=u06][data-ui-presentation=accepted][data-scene-ui=floating] .player-hud[data-hud-density=compact] .play-resource-strip>div{padding-inline:2px;gap:4px}body[data-interface=player][data-app-ui=true][data-ui-revision=u06][data-ui-presentation=accepted][data-scene-ui=floating] .player-hud[data-hud-density=compact] .play-resource-strip>div:first-child{min-width:84px}body[data-interface=player][data-app-ui=true][data-ui-revision=u06][data-ui-presentation=accepted][data-scene-ui=floating] .player-hud[data-hud-density=compact] .play-resource-strip>div:last-child{min-width:60px}body[data-interface=player][data-app-ui=true][data-ui-revision=u06][data-ui-presentation=accepted][data-scene-ui=floating] .player-hud:is([data-hud-layout=split],[data-hud-layout=stacked]){grid-template-columns:minmax(0,1fr) auto}body[data-interface=player][data-app-ui=true][data-ui-revision=u06][data-ui-presentation=accepted][data-scene-ui=floating] .player-hud:is([data-hud-layout=split],[data-hud-layout=stacked]) .player-round-meta{grid-column:1 / -1;grid-row:1;justify-content:start}body[data-interface=player][data-app-ui=true][data-ui-revision=u06][data-ui-presentation=accepted][data-scene-ui=floating] .player-hud:is([data-hud-layout=split],[data-hud-layout=stacked]) .player-header-actions{grid-column:2;grid-row:2;justify-content:end}body[data-interface=player][data-app-ui=true][data-ui-revision=u06][data-ui-presentation=accepted][data-scene-ui=floating] .player-hud:is([data-hud-layout=split],[data-hud-layout=stacked]) .play-resource-strip{grid-column:1;grid-row:2;justify-content:start}body[data-interface=player][data-app-ui=true][data-ui-revision=u06][data-ui-presentation=accepted][data-scene-ui=floating] .board-wrap{display:block;grid-column:1;grid-row:2;min-width:0;min-height:0}body[data-interface=player][data-app-ui=true][data-ui-revision=u06][data-ui-presentation=accepted][data-scene-ui=floating] .bottom-bar{box-sizing:border-box;grid-column:1;grid-row:3;width:min(100%,480px);max-width:100%;justify-self:center;grid-template-columns:repeat(4,84px);grid-auto-rows:56px;gap:var(--demo-gap);padding:8px 12px 12px;overflow:visible}body[data-interface=player][data-app-ui=true][data-ui-revision=u06][data-ui-presentation=accepted][data-scene-ui=floating] .bottom-bar .priced-button{width:84px;min-width:84px;max-width:84px;height:56px;min-height:56px;max-height:56px;flex-direction:row;justify-content:center;gap:5px;padding:6px}body[data-interface=player][data-app-ui=true][data-ui-revision=u06][data-ui-presentation=accepted][data-scene-ui=floating] .bottom-bar :is(.tool-icon,.tool-icon .app-game-icon){width:24px;height:24px;flex:0 0 24px}body[data-interface=player][data-app-ui=true][data-ui-revision=u06][data-ui-presentation=accepted][data-scene-ui=floating] .bottom-bar :is(.button-cost,#restart-button .button-cost:after){font-size:15px;line-height:20px;white-space:nowrap}body[data-interface=player][data-app-ui=true][data-ui-revision=u06][data-ui-presentation=accepted][data-scene-ui=floating] #restart-button .button-cost{font-size:0}body[data-interface=player][data-app-ui=true][data-ui-revision=u06][data-ui-presentation=accepted][data-scene-ui=floating] .player-feedback{left:50%;bottom:84px;max-width:calc(100% - 32px)}@media(max-width:480px){body[data-interface=player][data-app-ui=true][data-ui-revision=u06][data-ui-presentation=accepted][data-scene-ui=floating] .player-hud{padding:8px}}body[data-interface=player][data-app-ui=true][data-ui-revision=u06][data-ui-presentation=accepted][data-scene-ui=floating] .player-hud[data-hud-layout=stacked]{grid-template-columns:minmax(0,1fr)}body[data-interface=player][data-app-ui=true][data-ui-revision=u06][data-ui-presentation=accepted][data-scene-ui=floating] .player-hud[data-hud-layout=stacked] .play-resource-strip{grid-column:1;grid-row:2}body[data-interface=player][data-app-ui=true][data-ui-revision=u06][data-ui-presentation=accepted][data-scene-ui=floating] .player-hud[data-hud-layout=stacked] .player-header-actions{grid-column:1;grid-row:3}@media(max-width:377px)and (orientation:portrait){body[data-interface=player][data-app-ui=true][data-ui-revision=u06][data-ui-presentation=accepted][data-scene-ui=floating] .bottom-bar{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;padding-inline:8px}body[data-interface=player][data-app-ui=true][data-ui-revision=u06][data-ui-presentation=accepted][data-scene-ui=floating] .bottom-bar .priced-button{width:100%;min-width:0;max-width:none}}@media(max-height:560px)and (orientation:landscape){body[data-interface=player][data-app-ui=true][data-ui-revision=u06][data-ui-presentation=accepted][data-scene-ui=floating] .play-panel{grid-template-columns:minmax(0,1fr) 100px;grid-template-rows:auto minmax(0,1fr)}body[data-interface=player][data-app-ui=true][data-ui-revision=u06][data-ui-presentation=accepted][data-scene-ui=floating] .player-hud{padding-block:6px}body[data-interface=player][data-app-ui=true][data-ui-revision=u06][data-ui-presentation=accepted][data-scene-ui=floating] .bottom-bar{grid-column:2;grid-row:2;width:100%;height:100%;min-height:0;grid-template-columns:84px;grid-auto-rows:56px;gap:6px;padding:6px 8px 10px;align-content:center}body[data-interface=player][data-app-ui=true][data-ui-revision=u06][data-ui-presentation=accepted][data-scene-ui=floating] .player-feedback{left:calc(50% - 50px);bottom:12px;max-width:calc(100% - 132px)}}@media(max-height:420px)and (orientation:landscape){body[data-interface=player][data-app-ui=true][data-ui-revision=u06][data-ui-presentation=accepted][data-scene-ui=floating] .play-panel{grid-template-columns:minmax(0,1fr) 196px}body[data-interface=player][data-app-ui=true][data-ui-revision=u06][data-ui-presentation=accepted][data-scene-ui=floating] .bottom-bar{grid-template-columns:repeat(2,84px)}body[data-interface=player][data-app-ui=true][data-ui-revision=u06][data-ui-presentation=accepted][data-scene-ui=floating] .player-feedback{left:calc(50% - 98px);max-width:calc(100% - 228px)}}body[data-ui-details=refined][data-interface=player][data-app-ui=true][data-ui-revision=u06][data-ui-view][data-scene-ui=floating]{--detail-button-fill: linear-gradient(180deg, #615169, #41334c);--detail-button-shadow: inset 0 1px 0 #fff5e624, 0 2px 4px #170e263d}body[data-ui-details=refined][data-interface=player][data-app-ui=true][data-ui-revision=u06][data-ui-view][data-scene-ui=floating] :is(.player-hud,.bottom-bar,.player-header-actions,.play-resource-strip){background:transparent;box-shadow:none;filter:none;-webkit-backdrop-filter:none;backdrop-filter:none;border:0}body[data-ui-details=refined][data-interface=player][data-app-ui=true][data-ui-revision=u06][data-ui-view][data-scene-ui=floating] .player-round-meta{gap:0;width:max-content;max-width:100%;border:0;border-radius:5px;background:#2d2438bd;box-shadow:none;cursor:default;justify-self:start}body[data-ui-details=refined][data-interface=player][data-app-ui=true][data-ui-revision=u06][data-ui-view][data-scene-ui=floating] .player-round-meta .stat-pill{border:0;border-radius:0;background:transparent;box-shadow:none;text-shadow:none;cursor:default}body[data-ui-details=refined][data-interface=player][data-app-ui=true][data-ui-revision=u06][data-ui-view][data-scene-ui=floating] .player-round-meta .stat-pill+.stat-pill{position:relative}body[data-ui-details=refined][data-interface=player][data-app-ui=true][data-ui-revision=u06][data-ui-view][data-scene-ui=floating] .player-round-meta .stat-pill+.stat-pill:before{content:"";position:absolute;inset-inline-start:0;top:12px;bottom:12px;width:1px;background:#cfb78455;pointer-events:none}body[data-ui-details=refined][data-interface=player][data-app-ui=true][data-ui-revision=u06][data-ui-view][data-scene-ui=floating] .player-round-meta :is(.stat-value,#moves-value){font-size:19px;line-height:24px;color:#fff2da}body[data-ui-details=refined][data-interface=player][data-app-ui=true][data-ui-revision=u06][data-ui-view][data-scene-ui=floating] .player-round-meta .compact-meta-label{color:#d4c5dc}body[data-ui-details=refined][data-interface=player][data-app-ui=true][data-ui-revision=u06][data-ui-view][data-scene-ui=floating] .play-resource-strip>div:not([role=button]){border:0;border-radius:5px;background:#2d2438bd;box-shadow:none;cursor:default}body[data-ui-details=refined][data-interface=player][data-app-ui=true][data-ui-revision=u06][data-ui-view][data-scene-ui=floating] :is(.icon-button,.close-game-button,.bottom-bar .priced-button,.play-resource-strip>[role=button]){background:var(--detail-button-fill);border:1px solid #a18ba988;box-shadow:var(--detail-button-shadow)}body[data-ui-details=refined][data-interface=player][data-app-ui=true][data-ui-revision=u06][data-ui-view][data-scene-ui=floating] :is(.icon-button,.close-game-button,.bottom-bar .priced-button,.play-resource-strip>[role=button]):not(:disabled):active{transform:translateY(1px);box-shadow:inset 0 1px 3px #21162b66}body[data-ui-details=refined][data-interface=player][data-app-ui=true][data-ui-revision=u06][data-ui-view][data-scene-ui=floating] .bottom-bar .priced-button:disabled{background:linear-gradient(#4b4054,#362d3e);box-shadow:inset 0 1px #ffffff0c}body[data-ui-details=refined][data-interface=player][data-app-ui=true] :is(.player-menu,.dialog,#demo-review-dialog)::backdrop,body[data-ui-details=refined][data-interface=player][data-app-ui=true] :is(.modal-backdrop,.overlay:not(.is-win)){background:#18102185;backdrop-filter:blur(2px);-webkit-backdrop-filter:blur(2px)}body[data-ui-details=refined][data-interface=player][data-app-ui=true][data-ui-revision=u06][data-ui-view][data-scene-ui=floating] :is(.player-menu,.dialog,.purchase-dialog,#demo-review-dialog){--detail-dialog-inset: 24px;padding:22px var(--detail-dialog-inset);box-shadow:inset 0 1px #fff2,0 5px 14px #170e2638}body[data-ui-details=refined][data-interface=player][data-app-ui=true][data-ui-revision=u06][data-ui-view][data-scene-ui=floating] .player-menu{background:#3d3248}body[data-ui-details=refined] :is(#player-menu,#player-help,#player-shop) .player-menu-header{position:relative;top:auto;margin:0 0 14px;padding:0 0 16px;gap:16px;background:transparent;border-bottom:1px solid #cbb17b2e}body[data-ui-details=refined] :is(#player-menu,#player-help,#player-shop) .player-menu-header h2{min-width:0;margin:0;padding:0;line-height:1.4;overflow-wrap:anywhere}body[data-ui-details=refined] :is(#player-menu,#player-help,#player-shop) .player-menu-header .icon-button{flex:0 0 44px}body[data-ui-details=refined] :is(#player-menu,#player-help,#player-shop) :is(p,.small-text){overflow-wrap:anywhere}body[data-ui-details=refined] #player-help :is(.help-copy,.help-detail):empty{display:none}body[data-ui-details=refined] #player-menu #settings-panel .menu-language-row{grid-template-columns:24px minmax(0,1fr) auto;gap:12px;min-height:70px;padding-block:12px}body[data-ui-details=refined] #player-menu #settings-panel :is(.menu-link-row,[role=switch]){min-height:70px;padding-block:14px;line-height:1.5;white-space:normal}body[data-ui-details=refined] #player-menu #settings-panel .menu-control-row>.menu-row-glyph{top:23px}body[data-ui-details=refined] #player-menu #settings-panel #player-help-replay{margin:12px 0;padding:12px;min-height:48px;border:1px solid #a18ba966;border-radius:13px;background:var(--detail-button-fill);box-shadow:var(--detail-button-shadow)}body[data-ui-details=refined] #player-menu #settings-panel .language-picker{min-width:130px}body[data-ui-details=refined] #player-menu #settings-panel #language-picker-trigger{background:var(--detail-button-fill);border-color:#a18ba988;border-radius:13px;box-shadow:var(--detail-button-shadow);padding:10px 12px;gap:12px}body[data-ui-details=refined] #player-menu #settings-panel .language-picker-options{background:#51425e;border:1px solid #cbb17b88;border-radius:13px;box-shadow:0 3px 7px #170e2638;padding:5px}body[data-ui-details=refined] #player-menu #settings-panel .language-picker-options button{background:transparent;border:0;box-shadow:none;border-radius:8px;padding:10px 36px 10px 10px;min-height:44px;color:#fff2da}body[data-ui-details=refined] #player-menu #settings-panel .language-picker-options button[aria-selected=true]{background:#695675}body[data-ui-details=refined] #player-menu #settings-panel .language-picker-options button:hover{background:#756080}body[data-ui-details=refined] #player-menu #settings-panel .language-picker-options button:focus{outline:none}body[data-ui-details=refined] #player-menu #settings-panel .language-picker-options button:focus-visible{outline:2px solid #f0d494;outline-offset:-2px}body[data-ui-details=refined] #player-menu #settings-panel #demo-review-open{margin-top:18px;background:var(--detail-button-fill);box-shadow:var(--detail-button-shadow);min-height:44px;height:auto;padding:10px 14px}body[data-ui-details=refined] #player-help .help-attribution{margin-top:18px;padding-top:12px;border-top:1px solid #cbb17b2e;color:#d8c7db;font-size:12px}body[data-ui-details=refined] #player-help .help-attribution summary{cursor:pointer;min-height:44px;display:flex;align-items:center;gap:8px}body[data-ui-details=refined] #player-help .help-attribution summary:before{content:"▸";color:#d4b786}body[data-ui-details=refined] #player-help .help-attribution[open] summary:before{content:"▾"}body[data-ui-details=refined] #player-help .help-attribution a{display:inline-block;padding-block:8px;color:#ead39d;overflow-wrap:anywhere}@media(max-width:380px),(max-height:440px){body[data-ui-details=refined][data-interface=player][data-app-ui=true][data-ui-revision=u06][data-ui-view][data-scene-ui=floating] :is(.player-menu,.dialog,.purchase-dialog,#demo-review-dialog){--detail-dialog-inset: 20px;padding-block:16px}body[data-ui-details=refined] #player-menu #settings-panel .menu-language-row{gap:8px}}@font-face{font-family:Alchemy Rounded;src:url(/assets/alchemy-rounded-hud-Cpc5Ki0t.woff2) format("woff2");font-weight:400;font-display:swap}body[data-hud-style=unified][data-ui-details=refined][data-interface=player][data-app-ui=true][data-ui-revision=u06][data-ui-view][data-scene-ui=floating] .player-hud :is(.player-round-meta,.play-resource-strip){background:transparent;border:0;border-radius:0;box-shadow:none;filter:none;gap:0;width:max-content;max-width:100%;padding:0}body[data-hud-style=unified][data-ui-details=refined][data-interface=player][data-app-ui=true][data-ui-revision=u06][data-ui-view][data-scene-ui=floating] .player-hud .play-resource-strip{justify-self:center}body[data-hud-style=unified][data-ui-details=refined][data-interface=player][data-app-ui=true][data-ui-revision=u06][data-ui-view][data-scene-ui=floating] .player-hud :is(.player-round-meta .stat-pill,.play-resource-strip>div){background:transparent;border:0;border-radius:0;box-shadow:none;filter:none;transform:none;text-shadow:none}body[data-hud-style=unified][data-ui-details=refined][data-interface=player][data-app-ui=true][data-ui-revision=u06][data-ui-view][data-scene-ui=floating] .player-hud :is(.player-round-meta,.play-resource-strip) :is(.stat-value,#moves-value,.compact-meta-label,.play-resource-strip strong){font-family:Alchemy Rounded,PingFang TC,sans-serif;font-style:normal;font-synthesis:none;letter-spacing:0;text-shadow:none;color:#f3dfb5}body[data-hud-style=unified][data-ui-details=refined][data-interface=player][data-app-ui=true][data-ui-revision=u06][data-ui-view][data-scene-ui=floating] .player-hud :is(.player-round-meta,.play-resource-strip) :is(.stat-value,#moves-value,.play-resource-strip strong){font-size:18px;line-height:24px;font-weight:400;font-variant-numeric:tabular-nums}body[data-hud-style=unified][data-ui-details=refined][data-interface=player][data-app-ui=true][data-ui-revision=u06][data-ui-view][data-scene-ui=floating] .player-hud .player-round-meta .compact-meta-label{font-size:12px;line-height:18px;font-weight:400;color:#d2bd9d}body[data-hud-style=unified][data-ui-details=refined][data-interface=player][data-app-ui=true][data-ui-revision=u06][data-ui-view][data-scene-ui=floating] .player-hud .player-round-meta .stat-pill+.stat-pill:before{content:"";position:absolute;left:0;top:50%;bottom:auto;width:4px;height:4px;background:#d4b67c;transform:translate(-50%,-50%) rotate(45deg);box-shadow:0 1px 2px #24150e}body[data-hud-style=unified][data-ui-details=refined][data-interface=player][data-app-ui=true][data-ui-revision=u06][data-ui-view][data-scene-ui=floating] .player-hud .play-resource-strip>div+div{position:relative}body[data-hud-style=unified][data-ui-details=refined][data-interface=player][data-app-ui=true][data-ui-revision=u06][data-ui-view][data-scene-ui=floating] .player-hud .play-resource-strip>div+div:before{content:"";position:absolute;left:0;top:50%;width:4px;height:4px;background:#d4b67c;transform:translate(-50%,-50%) rotate(45deg);box-shadow:0 1px 2px #24150e}body[data-hud-style=unified][data-ui-details=refined][data-interface=player][data-app-ui=true][data-ui-revision=u06][data-ui-view][data-scene-ui=floating] .player-hud:is([data-hud-layout=split],[data-hud-layout=stacked]) .play-resource-strip{justify-self:start}body[data-hud-style=unified][data-ui-details=refined][data-interface=player][data-app-ui=true][data-ui-revision=u06][data-ui-view][data-scene-ui=floating] .player-hud :is(.player-round-meta,.play-resource-strip) :is(.stat-value,#moves-value,.compact-meta-label,strong){color:#f7e4ba;text-shadow:0 1px 2px #20130b,0 0 3px #20130bee;-webkit-text-stroke:.5px #382519;paint-order:stroke fill}body[data-hud-style=unified][data-ui-details=refined][data-interface=player][data-app-ui=true][data-ui-revision=u06][data-ui-view][data-scene-ui=floating] .player-hud .player-round-meta .compact-meta-label{font-size:13px;color:#ead3a5}body[data-hud-style=unified][data-ui-details=refined][data-interface=player][data-app-ui=true][data-ui-revision=u06][data-ui-view][data-scene-ui=floating] .player-hud :is(.player-round-meta,.play-resource-strip){position:relative;cursor:default}body[data-hud-style=unified][data-ui-details=refined][data-interface=player][data-app-ui=true][data-ui-revision=u06][data-ui-view][data-scene-ui=floating] .player-hud :is(.player-round-meta,.play-resource-strip):after{content:"";position:absolute;bottom:3px;left:10px;right:10px;height:1px;background:linear-gradient(90deg,transparent,#cbb07a80 25%,#cbb07a80 75%,transparent);pointer-events:none}body[data-hud-style=unified][data-ui-details=refined][data-interface=player][data-app-ui=true][data-ui-revision=u06][data-ui-view][data-scene-ui=floating] .player-hud .play-resource-strip>div{cursor:default}body[data-hud-style=unified][data-ui-details=refined][data-interface=player][data-app-ui=true][data-ui-revision=u06][data-ui-view][data-scene-ui=floating] .player-hud :is(.player-round-meta,.play-resource-strip) .app-game-icon{filter:drop-shadow(0 1px 1px #20130baa)}body[data-hud-style=unified][data-ui-details=refined][data-interface=player][data-app-ui=true][data-ui-revision=u06][data-ui-view][data-scene-ui=floating] .player-hud .player-round-meta .stat-pill{min-width:0;padding-inline:10px;gap:6px}body[data-hud-style=unified][data-ui-details=refined][data-interface=player][data-app-ui=true][data-ui-revision=u06][data-ui-presentation=accepted][data-scene-ui=floating]{--hud-ink:#f7e4ba;--hud-edge:#352216}body[data-hud-style=unified][data-ui-details=refined][data-interface=player][data-app-ui=true][data-ui-revision=u06][data-ui-presentation=accepted][data-scene-ui=floating]:is([data-workshop-background=academy-day],[data-workshop-background=greenhouse-day]){--hud-ink:#382519;--hud-edge:#fff0cf}body[data-hud-style=unified][data-ui-details=refined][data-interface=player][data-app-ui=true][data-ui-revision=u06][data-ui-presentation=accepted][data-scene-ui=floating] .player-hud :is(.player-round-meta,.play-resource-strip) :is(.stat-value,#moves-value,.compact-meta-label,strong){color:var(--hud-ink);-webkit-text-stroke:2px var(--hud-edge);paint-order:stroke fill;text-shadow:0 1px 1px var(--hud-edge)}body[data-hud-style=unified][data-ui-details=refined][data-interface=player][data-app-ui=true][data-ui-revision=u06][data-ui-presentation=accepted][data-scene-ui=floating] .player-hud .player-round-meta .compact-meta-label{color:var(--hud-ink)}@media(max-width:600px),(max-height:560px)and (orientation:landscape){body[data-hud-style=unified][data-ui-details=refined][data-interface=player][data-app-ui=true][data-ui-revision=u06][data-ui-presentation=accepted][data-scene-ui=floating] .player-hud{padding:6px 8px;gap:2px 6px}body[data-hud-style=unified][data-ui-details=refined][data-interface=player][data-app-ui=true][data-ui-revision=u06][data-ui-presentation=accepted][data-scene-ui=floating] .player-hud :is(.player-round-meta .stat-pill,.play-resource-strip>div){height:30px;min-height:30px;padding-block:3px}body[data-hud-style=unified][data-ui-details=refined][data-interface=player][data-app-ui=true][data-ui-revision=u06][data-ui-presentation=accepted][data-scene-ui=floating] .player-hud .player-header-actions{gap:0}body[data-hud-style=unified][data-ui-details=refined][data-interface=player][data-app-ui=true][data-ui-revision=u06][data-ui-presentation=accepted][data-scene-ui=floating] .player-hud .player-header-actions button{position:relative;isolation:isolate;width:44px;min-width:44px;height:44px;min-height:44px;padding:0;border:0;border-radius:12px;background:transparent;box-shadow:none}body[data-hud-style=unified][data-ui-details=refined][data-interface=player][data-app-ui=true][data-ui-revision=u06][data-ui-presentation=accepted][data-scene-ui=floating] .player-hud .player-header-actions button:before{content:"";position:absolute;inset:4px;border:1px solid #a28b9a99;border-radius:12px;background:linear-gradient(#615169f5,#41334cf7);box-shadow:inset 0 1px #ffffff24,0 2px 3px #180c2040;z-index:-1}body[data-hud-style=unified][data-ui-details=refined][data-interface=player][data-app-ui=true][data-ui-revision=u06][data-ui-presentation=accepted][data-scene-ui=floating] .player-hud .player-header-actions button:active:before{background:#41334c;box-shadow:inset 0 1px 3px #180c2070}body[data-hud-style=unified][data-ui-details=refined][data-interface=player][data-app-ui=true][data-ui-revision=u06][data-ui-presentation=accepted][data-scene-ui=floating] .player-hud .player-header-actions .app-game-icon{width:20px;height:20px;flex:0 0 20px}body[data-hud-style=unified][data-ui-details=refined][data-interface=player][data-app-ui=true][data-ui-revision=u06][data-ui-presentation=accepted][data-scene-ui=floating] .player-hud[data-hud-layout=split][data-actions-beside-meta=true] .player-round-meta{grid-column:1;grid-row:1}body[data-hud-style=unified][data-ui-details=refined][data-interface=player][data-app-ui=true][data-ui-revision=u06][data-ui-presentation=accepted][data-scene-ui=floating] .player-hud[data-hud-layout=split][data-actions-beside-meta=true] .player-header-actions{grid-column:2;grid-row:1}body[data-hud-style=unified][data-ui-details=refined][data-interface=player][data-app-ui=true][data-ui-revision=u06][data-ui-presentation=accepted][data-scene-ui=floating] .player-hud[data-hud-layout=split][data-actions-beside-meta=true] .play-resource-strip{grid-column:1 / -1;grid-row:2}body[data-hud-style=unified][data-ui-details=refined][data-interface=player][data-app-ui=true][data-ui-revision=u06][data-ui-presentation=accepted][data-scene-ui=floating] .bottom-bar{width:min(100%,340px);grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:44px;gap:8px;padding:6px 8px 10px}body[data-hud-style=unified][data-ui-details=refined][data-interface=player][data-app-ui=true][data-ui-revision=u06][data-ui-presentation=accepted][data-scene-ui=floating] .bottom-bar .priced-button{width:100%;min-width:44px;max-width:none;height:44px;min-height:44px;max-height:44px;padding:4px;border-radius:12px;gap:4px}body[data-hud-style=unified][data-ui-details=refined][data-interface=player][data-app-ui=true][data-ui-revision=u06][data-ui-presentation=accepted][data-scene-ui=floating] .bottom-bar :is(.tool-icon,.tool-icon .app-game-icon){width:20px;height:20px;flex:0 0 20px}body[data-hud-style=unified][data-ui-details=refined][data-interface=player][data-app-ui=true][data-ui-revision=u06][data-ui-presentation=accepted][data-scene-ui=floating] .bottom-bar :is(.button-cost,#restart-button .button-cost:after){font-size:14px;line-height:20px}body[data-hud-style=unified][data-ui-details=refined][data-interface=player][data-app-ui=true][data-ui-revision=u06][data-ui-presentation=accepted][data-scene-ui=floating] .bottom-bar #restart-button .button-cost{font-size:0}body[data-hud-style=unified][data-ui-details=refined][data-interface=player][data-app-ui=true][data-ui-revision=u06][data-ui-presentation=accepted][data-scene-ui=floating] .player-feedback{bottom:68px}}@media(max-height:560px)and (orientation:landscape){body[data-hud-style=unified][data-ui-details=refined][data-interface=player][data-app-ui=true][data-ui-revision=u06][data-ui-presentation=accepted][data-scene-ui=floating] .play-panel{grid-template-columns:minmax(0,1fr) 92px}body[data-hud-style=unified][data-ui-details=refined][data-interface=player][data-app-ui=true][data-ui-revision=u06][data-ui-presentation=accepted][data-scene-ui=floating] .bottom-bar{grid-column:2;grid-row:2;width:92px;grid-template-columns:76px;grid-auto-rows:44px;gap:6px;padding:6px 8px}body[data-hud-style=unified][data-ui-details=refined][data-interface=player][data-app-ui=true][data-ui-revision=u06][data-ui-presentation=accepted][data-scene-ui=floating] .player-feedback{left:calc(50% - 46px);bottom:12px;max-width:calc(100% - 116px)}}body[data-hud-style=unified][data-ui-details=refined][data-interface=player][data-app-ui=true][data-ui-revision=u06][data-ui-presentation=accepted][data-scene-ui=floating] .player-hud{background:transparent;border:0;border-radius:0;box-shadow:none;padding-block:6px}body[data-hud-style=unified][data-ui-details=refined][data-interface=player][data-app-ui=true][data-ui-revision=u06][data-ui-presentation=accepted][data-scene-ui=floating] .player-hud :is(.player-round-meta,.play-resource-strip) :is(.stat-value,#moves-value,.compact-meta-label,strong){color:#f7e4ba;-webkit-text-stroke:0;text-shadow:0 1px 1px #21152266}body[data-hud-style=unified][data-ui-details=refined][data-interface=player][data-app-ui=true][data-ui-revision=u06][data-ui-presentation=accepted][data-scene-ui=floating] .player-hud .player-round-meta .compact-meta-label{color:#ead6b2}body[data-hud-style=unified][data-ui-details=refined][data-interface=player][data-app-ui=true][data-ui-revision=u06][data-ui-presentation=accepted][data-scene-ui=floating] .player-hud :is(.player-round-meta,.play-resource-strip):after{content:none}body[data-hud-style=unified][data-ui-details=refined][data-interface=player][data-app-ui=true][data-ui-revision=u06][data-ui-presentation=accepted][data-scene-ui=floating] .player-hud :is(.player-round-meta,.play-resource-strip){background:#392c39d9;border-radius:10px;box-shadow:none;border:0}body[data-hud-style=unified][data-ui-details=refined][data-interface=player][data-app-ui=true][data-ui-revision=u06][data-ui-presentation=accepted][data-scene-ui=floating] .player-hud{row-gap:6px}body[data-interface=player][data-app-ui=true][data-menu-ui=journal] :is(#player-menu,#app-records-dialog,#app-credits-dialog){background:radial-gradient(ellipse at top left,#74605730,transparent 60%),linear-gradient(155deg,#3c3248,#282334);border-color:#a68e695c;box-shadow:inset 0 1px #f6dab31f,0 6px #191520,0 20px 60px #120e2399}body[data-menu-ui=journal] :is(#player-menu,#app-records-dialog,#app-credits-dialog) .player-menu-header{position:sticky;top:0;z-index:3;background:#382f43}body[data-menu-ui=journal] #player-menu #settings-panel{display:flex;flex-direction:column;gap:0}body[data-menu-ui=journal] #player-menu #settings-panel .menu-row-glyph{width:24px;height:24px;flex:0 0 24px;color:#d3b382;pointer-events:none}body[data-menu-ui=journal] #player-menu #settings-panel .menu-row-glyph svg{width:24px;height:24px;fill:#ba99771a}body[data-menu-ui=journal] #player-menu #settings-panel :is(.player-language,.audio-controls,.language-picker){background:none;border:0;border-radius:0;box-shadow:none;padding:0}body[data-menu-ui=journal] #player-menu #settings-panel .menu-language-row{display:grid;grid-template-columns:24px auto minmax(120px,1fr);align-items:center;gap:12px;padding:12px 0;min-height:64px;border-bottom:1px solid #baa17b29}body[data-menu-ui=journal] #player-menu #settings-panel .language-picker{justify-self:end;min-width:130px}body[data-menu-ui=journal] #player-menu #settings-panel #language-picker-trigger{background:#211c2d66;border-color:#ae957653;box-shadow:none;padding:8px 12px}body[data-menu-ui=journal] #player-menu #settings-panel .language-picker-options{background:#383040;border:1px solid #a68e69;border-radius:12px;z-index:5}body[data-menu-ui=journal] #player-menu #settings-panel .audio-controls{display:flex;flex-direction:column;gap:0}body[data-menu-ui=journal] #player-menu #settings-panel .menu-control-row{position:relative;border-bottom:1px solid #baa17b29}body[data-menu-ui=journal] #player-menu #settings-panel .menu-control-row>.menu-row-glyph{position:absolute;left:0;top:20px}body[data-menu-ui=journal] #player-menu #settings-panel :is(.menu-link-row,[role=switch]){box-sizing:border-box;display:flex;align-items:center;justify-content:start;gap:12px;width:100%;min-height:64px;padding:12px 0;background:none;border:0;border-radius:0;box-shadow:none;color:#f4ecde;font-size:14px;text-align:start}body[data-menu-ui=journal] #player-menu #settings-panel .menu-link-row{border-bottom:1px solid #baa17b29}body[data-menu-ui=journal] #player-menu #settings-panel [role=switch]{padding-left:36px}body[data-menu-ui=journal] #player-menu #settings-panel [role=switch]:after{margin-left:auto;flex:0 0 36px;width:36px;height:20px;border-radius:10px;background:#63576d;box-shadow:inset 16px 0 #d6cbd9}body[data-menu-ui=journal] #player-menu #settings-panel [role=switch][aria-checked=true]:after{background:#477e72;box-shadow:inset -16px 0 #f5e4bf}body[data-menu-ui=journal][data-ui-presentation=accepted] #player-menu #settings-panel [role=switch]:after{background:radial-gradient(circle at 10px 10px,#d6cbd9 9.5px,transparent 10px),#63576d;box-shadow:none}body[data-menu-ui=journal][data-ui-presentation=accepted] #player-menu #settings-panel [role=switch][aria-checked=true]:after{background:radial-gradient(circle at 26px 10px,#f5e4bf 9.5px,transparent 10px),#477e72}body[data-menu-ui=journal] #player-menu #settings-panel .menu-secondary-row:after{content:"›";margin-left:auto;color:#c9bba3;font-size:22px}body[data-menu-ui=journal] #player-menu #settings-panel #demo-review-open{margin-top:16px;order:10;min-height:44px}body[data-menu-ui=journal] #app-records-dialog .player-transactions{padding:0;border:0;background:none}body[data-menu-ui=journal] #app-credits-dialog .menu-credits{line-height:1.8;overflow-wrap:anywhere}body[data-menu-ui=journal] #app-credits-dialog a{color:#d5bd92;font-size:13px}body[data-menu-ui=journal] #player-menu #progress-panel{gap:16px}body[data-menu-ui=journal] #player-menu #progress-panel .player-progress-stats .stat-pill{background:none;border:0;padding:2px 8px}body[data-menu-ui=journal] #player-menu #progress-panel .player-level-menu{position:relative;padding:18px 16px 16px 22px;border-radius:3px 12px 12px 3px;color:#55402d;border:1px solid #dcc49b;background:radial-gradient(ellipse at top right,#c7a67b20,transparent 70%),linear-gradient(95deg,#d7c49d,#f1e4c9 6%,#f5ead4 90%,#dfceac);box-shadow:-5px 0 #7d6345,-8px 0 #b49569,0 5px 8px #0003}body[data-menu-ui=journal] #player-menu #progress-panel .chapter-pager{margin:0 0 10px}body[data-menu-ui=journal] #player-menu #progress-panel .chapter-pager button{width:40px;min-height:40px;height:40px;color:#6c5034;background:#ccb28538;border:1px solid #a88d625c;box-shadow:none;border-radius:50%}body[data-menu-ui=journal] #player-menu #progress-panel .journal-chapter-tabs{display:grid;grid-template-columns:repeat(5,1fr);gap:4px;margin-bottom:12px}body[data-menu-ui=journal] #player-menu #progress-panel .journal-chapter-tabs button{min-height:44px;padding:6px;color:#725b43;border:0;border-bottom:2px solid #a88d6233;border-radius:7px 7px 0 0;background:#cdb78a33;box-shadow:none}body[data-menu-ui=journal] #player-menu #progress-panel .journal-chapter-tabs button[aria-current=page]{background:#665069;color:#ffedc9;border-color:#ad8553}body[data-menu-ui=journal] #player-menu #progress-panel .app-chapter-card{padding:8px 0 14px;margin:0 0 18px;border:0;border-bottom:1px solid #9a7b5144;border-radius:0;background:none}body[data-menu-ui=journal] #player-menu #progress-panel .app-chapter-emblem{color:#a57b3d}body[data-menu-ui=journal] #player-menu #progress-panel :is(.app-chapter-card p,.app-chapter-stars){color:#87663c}body[data-menu-ui=journal] #player-menu #progress-panel .level-grid{gap:16px 10px}body[data-menu-ui=journal] #player-menu #progress-panel .level-tile{aspect-ratio:1;min-height:44px;padding:4px;border-radius:50%;color:#775534;border:2px solid #a784556b;background:#d2b98b26;box-shadow:inset 0 0 0 3px #f9f0de88}body[data-menu-ui=journal] #player-menu #progress-panel .level-tile span{color:#a07b3e;font-size:10px}body[data-menu-ui=journal] #player-menu #progress-panel .level-tile[data-state=cleared]{background:#46736b;color:#fff1cf;border-color:#9c783e;box-shadow:inset 0 0 0 3px #dfc99633}body[data-menu-ui=journal] #player-menu #progress-panel .level-tile[data-state=cleared] span{color:#ffe1a0}body[data-menu-ui=journal] #player-menu #progress-panel .level-tile[data-state=locked]{color:#79654c;border-style:dashed;background:#c7b79a22;opacity:.65;box-shadow:none}body[data-menu-ui=journal] #player-menu #progress-panel .level-tile[aria-current=step]{background:#6f536c;color:#fff0cc;border-color:#b58a47;box-shadow:inset 0 0 0 3px #edce9733,0 0 0 3px #9b704d22}body[data-menu-ui=journal] #player-menu #progress-panel .level-tile[aria-current=step] span{color:#ffe1a0}body[data-menu-ui=journal] #player-menu #progress-panel .app-goal-details{padding:6px 0;background:none;border:0}@media(max-width:360px){body[data-menu-ui=journal] #player-menu #progress-panel .player-level-menu{padding:14px 12px 12px 18px}body[data-menu-ui=journal] #player-menu #settings-panel .menu-language-row{gap:8px}}body[data-menu-ui=journal] #player-menu #progress-panel .chapter-pager{display:block;margin-bottom:14px}body[data-menu-ui=journal] #player-menu #progress-panel .chapter-pager .chapter-menu-trigger{width:100%;height:auto;min-height:44px;padding:10px 16px;border-radius:8px;background:#ccb28530;border:1px solid #a88d6270;color:#62482f;font-size:16px;text-align:center;box-shadow:inset 0 1px #fff7e9aa}body[data-menu-ui=journal] #player-menu #progress-panel .chapter-directory{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;max-height:min(340px,50dvh);overflow-y:auto;padding:3px;scrollbar-color:#a88d62 #eddfc3}body[data-menu-ui=journal] #player-menu #progress-panel .chapter-directory button{display:grid;grid-template-columns:1fr auto;gap:5px;min-height:66px;padding:10px;border:1px solid #a88d6244;border-radius:7px;background:#cdb78a26;color:#674c32;text-align:start;box-shadow:none;font-size:14px}body[data-menu-ui=journal] #player-menu #progress-panel .chapter-directory small{grid-row:2;font-size:11px;color:inherit;opacity:.8}body[data-menu-ui=journal] #player-menu #progress-panel .chapter-directory span{grid-column:2;grid-row:1 / 3;align-self:center;font-size:11px}body[data-menu-ui=journal] #player-menu #progress-panel .chapter-directory button[aria-current=page]{background:#665069;color:#ffedc9;border-color:#ad8553}body[data-menu-ui=journal] #player-menu #progress-panel .chapter-directory button:focus-visible{outline:2px solid #94713d;outline-offset:1px}body[data-menu-ui=journal] #player-menu #progress-panel :is(.chapter-directory,.app-chapter-card,.level-grid)[hidden]{display:none}body[data-ui-presentation=accepted] #player-menu #settings-panel .menu-secondary-links{display:flex;flex-wrap:wrap;gap:4px 20px;margin-top:12px}body[data-ui-presentation=accepted] #player-menu #settings-panel .menu-secondary-links .menu-secondary-row{width:auto;min-height:44px;font-size:13px;color:#d1c0a7;border:0;gap:7px}body[data-ui-presentation=accepted] #player-menu #settings-panel .menu-secondary-links .menu-row-glyph{width:18px;height:18px;flex-basis:18px}body[data-ui-presentation=accepted] #player-menu #settings-panel .menu-secondary-links .menu-row-glyph svg{width:18px;height:18px}body[data-ui-presentation=accepted] #player-menu #settings-panel .menu-secondary-links .menu-secondary-row:after{content:none}.purchase-history{font-size:14px;line-height:1.6}.purchase-history .history-session-label{margin-bottom:4px;color:#edc88a}.purchase-history .history-note{color:#c1b5cd;font-size:12px;margin-top:0}.purchase-history .history-empty{padding:24px 0;text-align:center;color:#c1b5cd}.purchase-history ul{list-style:none;margin:12px 0 0;padding:0}.purchase-history li{border-bottom:1px solid #baa17b29}.purchase-history .history-row{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto 44px;gap:3px 8px;padding:12px 0;align-items:center}.purchase-history .history-identity{grid-column:1;grid-row:1;min-width:0}.purchase-history .history-identity strong{overflow-wrap:anywhere}.purchase-history .history-amount{grid-column:2;grid-row:1}.purchase-history time{grid-column:1;grid-row:2;min-width:0;overflow-wrap:anywhere}.purchase-history .history-status{grid-column:2;grid-row:2}.purchase-history summary{cursor:pointer}.purchase-history .history-support summary{list-style:none;display:grid;place-items:center;min-width:44px;min-height:44px;font-size:24px;border-radius:8px;background:#baa17b16}.purchase-history .history-support{grid-column:3;grid-row:1 / 3}.purchase-history .history-support[open]{grid-column:1 / -1;grid-row:3;min-width:0}.purchase-history .history-support[open]>summary{position:absolute;top:12px;right:0;width:44px}.purchase-history .history-note>summary{min-height:44px;display:flex;align-items:center;gap:6px}.purchase-history .history-note>summary:after{content:"⌄"}.purchase-history .history-note p{margin:0 0 8px}.purchase-history .history-pending{color:#efc689;margin:-4px 0 12px 32px;font-size:12px}.purchase-history summary::-webkit-details-marker{display:none}.purchase-history :is(.history-identity,.history-amount){display:flex;align-items:center;gap:8px}.purchase-history .history-amount{display:grid;grid-template-columns:24px var(--history-amount-digits, 3ch);justify-self:end;justify-items:end;font-variant-numeric:tabular-nums}.purchase-history .history-amount .app-game-icon{justify-self:start}.purchase-history .app-game-icon{width:24px;height:24px;flex:0 0 24px}.purchase-history time{color:#c1b5cd;font-size:12px;padding-left:32px}.purchase-history .history-status{justify-self:end;font-size:12px;color:#efc689}.purchase-history .history-status[data-state=complete]{color:#a5d4c0}.purchase-history .history-detail{padding:0 0 8px 32px;color:#d8cedf}.purchase-history .history-detail p{margin:4px 0}.purchase-history .history-detail label{display:block;margin-top:10px;font-size:12px}.purchase-history input{display:block;box-sizing:border-box;max-width:100%;width:100%;padding:8px;font-size:12px;color:#f3e4c6;background:#201a2b66;border:1px solid #baa17b55;border-radius:6px}.purchase-history :is(button,summary):focus-visible{outline:2px solid #edc88a;outline-offset:2px}.purchase-history button{min-height:44px;margin-top:8px}.purchase-history .history-more{width:100%}
