:root{--color-panel-muted:#c4b793;--color-stone-edge:#1e231b99;--color-stone-seam:#5b5b401f;--color-candle-halo:#c99b4538;--color-frame-inset:#c99b453d;--color-panel-recess:#111710;--color-seal:#f1d48b;--color-control-highlight:#c8a45e;--color-page-edge:#a07830;--color-spine-dark:#5a3a10;--color-spine-light:#7a5020;--color-cover-dark:#6b4718;--color-cover-light:#9a6c2e;--color-book-ink:#5a3a1080;--color-wall-mid:#111a12;--color-charcoal:#0a0f0b;--color-deep-green:#092519;--color-dark-wood:#281c11;--color-bronze:#8b6534;--color-gold:#c99b45;--color-parchment:#fff2c9;--color-shadow:#00000080;--color-title-glow:#fff2c9a1}.workshop-environment{z-index:-1;pointer-events:none;background:radial-gradient(ellipse at 50% 48%, #27533138, transparent 46%), radial-gradient(ellipse at 25% 48%, #ac69221a, transparent 20%), radial-gradient(ellipse at 75% 48%, #ac69221a, transparent 20%), linear-gradient(90deg, #0000008c, transparent 22%, transparent 78%, #0000008c), repeating-linear-gradient(0deg, transparent 0 118px, #a5956b0d 119px, #0000004d 120px), repeating-linear-gradient(90deg, transparent 0 220px, #00000021 221px 224px), linear-gradient(var(--color-charcoal), var(--color-wall-mid) 45%, var(--color-charcoal));position:absolute;inset:0}.workshop-arch{border:22px solid var(--color-stone-edge);background:radial-gradient(at 50% 80%,#2a5b3717,#0000 65%),linear-gradient(90deg,#00000029,#0000,#00000029);border-radius:44% 44% 4px 4px;position:absolute;inset:7% 24% 16%;box-shadow:inset 0 10px 50px #00000059,0 0 50px #33643a0f}.workshop-column{border-inline:1px solid var(--color-stone-seam);background:linear-gradient(90deg,#0c100d,#20231b 35%,#151a14 70%,#090d0a);width:34px;position:absolute;top:0;bottom:0;box-shadow:8px 0 20px #00000040,-8px 0 20px #00000040}.workshop-column-left{left:12%}.workshop-column-right{right:12%}.workshop-candle,.workshop-ember{position:absolute}.workshop-candle{filter:drop-shadow(0 0 18px var(--color-candle-halo));top:42%;transform:scale(1.25)}.workshop-candle-left{left:calc(50% - 300px)}.workshop-candle-right{right:calc(50% - 300px)}.workshop-ember{opacity:.32;top:72%}.workshop-ember-left{left:18%}.workshop-ember-right{right:18%}@media (width<1024px){.workshop-arch{inset:8% 14% 45%}.workshop-column-left{left:3%}.workshop-column-right{right:3%}.workshop-candle{top:28%}.workshop-candle-left{left:9%}.workshop-candle-right{right:9%}}@media (width<768px){.workshop-arch{border-width:12px;inset:12% 7% 57%}.workshop-column-left{left:0}.workshop-column-right{right:0}.workshop-candle{opacity:.7;top:22%;transform:none}.workshop-candle-left{left:3%}.workshop-candle-right{right:3%}}@media (width>=1024px){.workshop-environment{position:fixed}}.game-dialog{max-height:calc(100svh - 32px);overflow-y:auto}.game-dialog [hidden]{display:none}.game-dialog.menu-dialog,.game-dialog.leaderboard-dialog{width:min(560px,100% - 32px);max-width:min(560px,100% - 32px)}.game-dialog .panel-intro,.resume-summary,.difficulty-details{color:var(--color-panel-muted);margin:8px 0 16px;font-size:16px;line-height:1.4}.difficulty-picker{border:0;min-width:0;margin:0;padding:0}.difficulty-picker legend{margin-bottom:8px}.difficulty-options{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.game-dialog .difficulty-button{background:0 0;min-height:44px;padding:8px;font-size:20px}.game-dialog .difficulty-button[aria-pressed=true]{background:var(--color-gold);color:var(--color-charcoal);border-color:var(--color-seal)}.difficulty-summary{margin:12px 0 8px;font-size:18px;line-height:1.4}.menu-actions{gap:8px;display:grid}.game-dialog .menu-primary{border-color:var(--color-seal);background:var(--color-gold);color:var(--color-charcoal)}.game-dialog button{min-height:44px}.game-dialog button:hover{filter:brightness(1.12)}.game-dialog button:active{filter:brightness(.92)}.menu-actions .resume-summary{margin:0 0 8px}.panel-footer{flex-wrap:wrap;justify-content:space-between;gap:8px;margin-top:16px;display:flex}.panel-footer form{margin:0}.rules-list{padding-left:28px}.rules-list li+li{margin-top:8px}.leaderboard-scroll{margin-bottom:16px;overflow-x:auto}.leaderboard-table{border-collapse:collapse;text-align:left;width:100%;min-width:480px;font-size:16px}.leaderboard-table caption{color:var(--color-gold);text-align:left;padding-bottom:8px}.leaderboard-table th,.leaderboard-table td{border-bottom:1px solid var(--color-frame-inset);padding:8px}.leaderboard-table td:last-child{white-space:nowrap}.clear-confirmation{border:1px solid var(--color-gold);background:var(--color-dark-wood);border-radius:6px;margin-top:16px;padding:16px}.clear-confirmation h3{margin:0}.clear-confirmation button+button{margin-left:8px}.panel-status:empty{display:none}@media (width<600px){dialog.game-dialog{padding:16px}dialog.game-dialog h2{font-size:28px}.panel-footer button{flex:1}}.result-form{gap:8px;margin-bottom:16px;display:grid}.result-form input{box-sizing:border-box;border:1px solid var(--color-bronze);background:var(--color-charcoal);width:100%;color:var(--color-parchment);font:inherit;border-radius:2px;padding:8px}.is-running .slot-group{width:min(100%,290px)}.is-running .hero-art{width:min(100%,300px);margin:auto}.ingredient-card{box-sizing:border-box;border:1px solid var(--color-bronze);background:var(--color-panel-recess);width:100%;min-height:136px;color:var(--color-parchment);box-shadow:inset 0 0 18px var(--color-shadow), 0 4px 12px var(--color-shadow);font-family:var(--font-localized-body,"Cormorant Garamond"), georgia, serif;text-align:left;cursor:pointer;border-radius:12px;flex-direction:column;justify-content:center;padding:12px;font-size:17px;display:flex;position:relative}.ingredient-card:enabled:hover{border-color:var(--color-gold);background:var(--color-deep-green)}.ingredient-card:disabled{cursor:default;opacity:.7}.ingredient-card-empty{opacity:.4;border-style:dashed}.ingredient-card-heading{box-sizing:border-box;align-items:center;gap:6px;width:100%;padding-right:28px;line-height:1.05;display:flex}.ingredient-glyph{object-fit:contain;flex:none;width:48px;height:48px}.ingredient-card-stats{width:100%;margin-top:6px;font-size:16px;line-height:1.2;display:grid}.ingredient-card-stats>span{justify-content:space-between;gap:6px;display:flex}.stock-badge{border:1px solid var(--color-bronze);min-width:19px;color:var(--color-gold);text-align:center;border-radius:50%;position:absolute;top:6px;right:6px}.is-running .cauldron-content{justify-content:center;align-items:center;gap:8px;display:flex}.run-panel,.run-primary{font-family:var(--font-localized-body,"Cormorant Garamond"), georgia, serif;text-align:center;font-size:17px}.is-running .primary-action{width:100%}.ingredient-counter{margin:8px auto}.reaction-status{color:var(--color-gold);margin:0;font-size:16px}.reaction-status:empty{display:none}.ingredient-counter-full{color:var(--color-gold)}.mixture-order{text-align:left;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 16px;min-height:44px;margin:8px;padding-left:24px;font-size:16px;display:grid}.run-primary p{margin:0 0 8px}.run-button{border:1px solid var(--color-bronze);background:var(--color-deep-green);min-height:44px;color:var(--color-parchment);font:inherit;cursor:pointer;border-radius:12px;padding:8px 16px}.run-button:hover{border-color:var(--color-gold)}@media (width<1024px){.is-running .slot-group{display:contents}}.parameter-bars{width:100%;font-family:var(--font-localized-body,"Cormorant Garamond"), georgia, serif;font-size:16px}.recipe-title{text-align:center;color:var(--color-gold);margin:8px 0;font-size:17px}.parameter-row{margin:8px 0}.parameter-label{justify-content:space-between;display:flex}.parameter-track{border:1px solid var(--color-bronze);background:var(--color-charcoal);border-radius:2px;height:8px;position:relative}.parameter-target{left:var(--target-start);width:var(--target-width);background:var(--color-bronze);opacity:.6;height:100%;position:absolute}.parameter-zero{border-left:1px solid var(--color-panel-muted);position:absolute;top:-3px;bottom:-3px;left:50%}.parameter-marker{left:var(--marker-position,50%);border-left:3px solid var(--color-parchment);transition:left .25s;position:absolute;top:-3px;bottom:-3px;transform:translate(-50%)}.parameter-in-range{box-shadow:0 0 8px #7eb77c}.parameter-range{color:var(--color-panel-muted)}@media (prefers-reduced-motion:reduce){.parameter-marker{transition:none}}.brew-button{border-color:var(--color-gold);margin-right:8px}.run-button:disabled{opacity:.5;cursor:default}.is-running .counter-content{gap:16px}.is-running .counter-details{flex:1}.is-running .counter-details output{font-size:52px;line-height:1}.time-progress{width:100%;height:7px;accent-color:var(--color-gold);margin-top:6px}.timer-urgent{color:#e58575;animation:1s ease-in-out infinite alternate timer-warning}.timer-urgent .time-progress{accent-color:#e58575}@keyframes timer-warning{to{opacity:.55}}@media (prefers-reduced-motion:reduce){.timer-urgent{animation:none}}.is-paused>.game-header,.is-paused>.cauldron-hero,.is-paused .ingredient-card,.is-paused>.primary-action{filter:blur(12px);pointer-events:none;-webkit-user-select:none;user-select:none}.is-hard .slot-group{gap:8px}.is-hard .ingredient-card{min-height:108px;padding:8px}.is-hard .hero-art{width:min(100%,250px)}.save-status:empty{display:none}.hero-art.is-drop-target{outline:2px solid var(--color-gold);outline-offset:4px;box-shadow:0 0 24px var(--color-frame-inset);border-radius:12px}.ingredient-tooltip{box-sizing:border-box;z-index:100;border:1px solid var(--color-gold);background:var(--color-charcoal);width:min(220px,100vw - 16px);color:var(--color-parchment);box-shadow:inset 0 0 18px var(--color-shadow), 0 4px 12px var(--color-shadow);font-size:16px;font-family:var(--font-localized-body,"Cormorant Garamond"), georgia, serif;pointer-events:none;border-radius:12px;padding:12px;position:fixed}.brew-burst{opacity:0;pointer-events:none;width:100%;height:222px;animation:1.3s ease-out both brew-burst;position:absolute;top:-72px;left:0;overflow:hidden;-webkit-mask-image:linear-gradient(#0000,#000 12% 78%,#0000);mask-image:linear-gradient(#0000,#000 12% 78%,#0000)}.brew-vfx-layer,.brew-summoning-circle{transform-origin:50% 85%;width:420px;height:420px;animation:1.15s ease-out both alchemy-rise;position:absolute;top:-208px;left:50%;transform:translate(-50%)}.brew-burst-success .brew-vfx-layer{width:420px;height:315px;animation-delay:.12s;top:-164px}.brew-burst-arcane .brew-vfx-layer{animation-name:alchemy-vortex}.brew-summoning-circle{width:480px;height:480px;animation:1.3s ease-out both alchemy-circle;top:-238px}.brew-inner-glow{background:radial-gradient(#d6d98b 0%,#5ea66aa6 25%,#0000 65%);border-radius:50%;width:68%;height:80px;position:absolute;top:92px;left:16%}.brew-burst-failure,.brew-burst-eruption{animation-duration:.9s}.brew-burst-failure .brew-inner-glow,.brew-burst-eruption .brew-inner-glow{background:radial-gradient(#e9c383 0%,#a9502db3 25%,#0000 65%)}.brew-burst-failure .brew-vfx-layer,.brew-burst-eruption .brew-vfx-layer{animation:.9s ease-out both alchemy-eruption}.brew-burst-steam .brew-inner-glow{background:radial-gradient(#8fcceb73,#0000 65%)}.brew-burst-arcane .brew-inner-glow{background:radial-gradient(#aa65da73,#0000 65%)}.brew-mote{left:var(--mote-x);border:1px solid var(--color-seal);background:var(--color-gold);opacity:0;width:6px;height:6px;animation:alchemy-mote .78s ease-out var(--mote-delay) both;border-radius:50%;position:absolute;top:92px}.brew-failed>.game-header,.brew-failed>.cauldron-hero,.brew-failed .slot-group{animation:.28s ease-out brew-shake}.cauldron-content .ingredient-glyph{animation:2.6s ease-in-out infinite alternate ingredient-float}.cauldron-content .ingredient-glyph:nth-child(2n){animation-direction:alternate-reverse;animation-delay:-1300ms}.is-paused .ingredient-glyph{animation-play-state:paused}@keyframes brew-burst{0%{opacity:0}18%,55%{opacity:1}to{opacity:0}}@keyframes alchemy-rise{0%{opacity:0;transform:translate(-50%)translateY(14px)scale(.92)}20%{opacity:1}to{opacity:0;transform:translate(-50%)translateY(-18px)scale(1.03)}}@keyframes alchemy-vortex{0%{opacity:0;transform:translate(-50%)rotate(-8deg)scale(.9)}20%{opacity:1}to{opacity:0;transform:translate(-50%)rotate(8deg)scale(1.03)}}@keyframes alchemy-circle{0%{opacity:0;transform:translate(-50%)rotate(-3deg)scale(.85)}30%{opacity:.8}to{opacity:0;transform:translate(-50%)rotate(3deg)scale(1.06)}}@keyframes alchemy-eruption{0%{transform:translate(-50%)translateY(16px)scale(.75)}35%{transform:translate(-50%)translateY(-6px)scale(1.06)}to{transform:translate(-50%)translateY(-20px)scale(1)}}@keyframes alchemy-mote{0%{opacity:0;transform:translateY(15px)scale(.5)}25%{opacity:1}to{opacity:0;transform:translateY(-90px)scale(.2)}}@keyframes brew-shake{0%,to{transform:translate(0)}25%,75%{transform:translate(-2px)}50%{transform:translate(2px)}}@keyframes ingredient-float{0%{transform:translateY(2px)rotate(-3deg)}to{transform:translateY(-3px)rotate(3deg)}}@media (prefers-reduced-motion:reduce){.cauldron-content .ingredient-glyph,.brew-failed>.game-header,.brew-failed>.cauldron-hero,.brew-failed .slot-group{animation:none}.brew-burst{animation-duration:1ms}.brew-vfx-layer,.brew-summoning-circle,.brew-mote{animation:none}}@media (width<768px){.brew-burst{height:150px;top:0}.brew-vfx-layer{top:-280px}.brew-burst-success .brew-vfx-layer{top:-236px}.brew-summoning-circle{top:-310px}.brew-inner-glow,.brew-mote{top:20px}}.cauldron-liquid{z-index:3;clip-path:ellipse(50% 50%);pointer-events:none;background:#123e27;border-radius:50%;width:374px;height:46px;position:absolute;top:23px;left:113px;overflow:hidden}.cauldron-liquid[hidden]{display:none}.potion-liquid-image{width:100%;height:180%;animation:5s ease-in-out infinite alternate potion-surface;position:absolute;top:-40%;left:0}.cauldron-front-rim{z-index:4;clip-path:polygon(0 12%,15% 12%,25% 16%,50% 19%,75% 16%,85% 12%,100% 12%,100% 100%,0 100%);pointer-events:none}.liquid-ripple{opacity:0;border:1px solid #e7d47e73;border-radius:50%;animation:4s ease-out infinite potion-ripple;position:absolute;inset:14% 25%}.liquid-ripple-delayed{animation-delay:-2s}.liquid-bubble{opacity:0;border:1px solid #e7d47e73;border-radius:50%;width:6px;height:6px;animation:3.8s ease-out infinite potion-bubble;position:absolute;bottom:15%;left:28%}.liquid-bubble:nth-of-type(2){animation-delay:-1600ms;left:58%}.liquid-bubble:nth-of-type(3){animation-delay:-2800ms;left:76%}.is-paused .cauldron-liquid *{animation-play-state:paused}@keyframes potion-surface{0%{transform:translateY(1px)scale(1)}to{transform:translateY(-1px)scale(1.025)}}@keyframes potion-ripple{0%{opacity:0;transform:scale(.35)}25%{opacity:.5}to{opacity:0;transform:scale(1.7)}}@keyframes potion-bubble{0%{opacity:0;transform:translateY(4px)scale(.4)}25%{opacity:.65}to{opacity:0;transform:translateY(-20px)scale(1)}}@media (prefers-reduced-motion:reduce){.cauldron-liquid *{animation:none}}@font-face{font-family:Noto Sans Ethiopic;font-style:normal;font-weight:100 900;font-display:swap;src:url(../assets/NotoSansEthiopic.ttf)format("truetype")}html:lang(am){--font-localized-body:Noto Sans Ethiopic;--font-localized-display:Noto Sans Ethiopic}html:lang(kk),html:lang(ru){--font-localized-body:georgia, Times New Roman, serif;--font-localized-display:georgia, Times New Roman, serif}.language-setting{gap:8px;margin-bottom:16px;display:grid}.language-setting select{min-width:0;max-width:100%;min-height:44px;color:var(--color-parchment);background:var(--color-charcoal);border:1px solid var(--color-bronze);border-radius:2px;padding:8px;font-family:Noto Sans Ethiopic,georgia,Times New Roman,serif;font-size:17px}.language-setting p:empty{display:none}.game-dialog,.ingredient-card,.ingredient-tooltip,.run-panel,.run-primary{overflow-wrap:anywhere}.game-dialog button,.run-button{white-space:normal;max-width:100%}.ingredient-card-heading>span{min-width:0}html:not(:lang(en)) .game-title h1{letter-spacing:normal;font-size:40px}html:not(:lang(en)) .counter-details span{font-size:28px}html:not(:lang(en)) .start-label{font-size:40px;line-height:1.2;top:32px}html:lang(am) .ingredient-card-heading,html:lang(am) .ingredient-card-stats{line-height:1.5}@font-face{font-family:IM Fell English;font-style:normal;font-weight:400;font-display:swap;src:url(../assets/IMFellEnglish-Regular.ttf)format("truetype")}@font-face{font-family:Cormorant Garamond;font-style:normal;font-weight:600;font-display:swap;src:url(../assets/CormorantGaramond-SemiBold.ttf)format("truetype")}body{background-color:var(--color-charcoal);color:var(--color-parchment);margin:0}.counter-slot{aspect-ratio:280/126;width:100%;position:relative}.game-counter{width:280px;height:126px;filter:drop-shadow(0 5px 5px var(--color-shadow));transform:scale(var(--composition-scale,1));transform-origin:0 0;position:absolute}.counter-plaque{position:absolute;top:1px;left:1px}.counter-inset{position:absolute;top:6px;left:6px}.counter-content{align-items:center;gap:38px;width:226px;height:110px;display:flex;position:absolute;top:8px;left:26px}.counter-details{height:110px;font-family:var(--font-localized-body,"Cormorant Garamond"), georgia, serif;white-space:nowrap;flex-direction:column;flex:0 0 104px;justify-content:center;align-items:center;font-weight:600;display:flex}.counter-details span{font-size:34px;line-height:36px}.counter-details output{font-size:88px;line-height:72px}.title-slot{aspect-ratio:545.6/127.1;width:100%;position:relative}.game-title{width:545.6px;height:127.1px;transform:scale(var(--composition-scale,1));transform-origin:0 0;position:absolute}.game-title h1{width:545.6px;font-family:var(--font-localized-display,"IM Fell English"), georgia, serif;letter-spacing:-1.6px;text-align:center;text-shadow:0 1.24px 1.86px var(--color-title-glow);margin:0;font-size:53.32px;font-weight:400;line-height:1.12;position:absolute;top:11.78px}.title-star{color:var(--color-gold);font-family:arial,sans-serif;font-size:14.26px;position:absolute;top:0;left:266.6px}.title-flask{position:absolute;top:77.5px;left:257.92px}.title-flourish{width:440.2px;height:57.04px;position:absolute;top:70.06px;left:52.7px;overflow:hidden}.title-flourish img{display:block;position:absolute}.flourish-vine{top:11.01px}.flourish-vine-left{left:13.43px}.flourish-vine-right{right:13.23px;transform:scaleX(-1)}.flourish-leaves{top:10.34px}.flourish-leaves-left{left:39.47px}.flourish-leaves-right{top:10.18px;right:39.33px;transform:scaleX(-1)}.flourish-stars{top:11.16px;left:83.06px}.start-screen{isolation:isolate;box-sizing:border-box;grid-template:"header header header"106px"left hero right"minmax(0,1fr)"help start menu"128px/minmax(0,1fr) minmax(0,560px) minmax(0,1fr);gap:16px clamp(20px,3vw,52px);width:100%;height:min(100svh,900px);min-height:680px;padding:20px clamp(20px,2vw,36px);display:grid;position:relative}.game-header{grid-area:header;grid-template-columns:220px minmax(0,430px) 220px;justify-content:space-between;align-items:start;gap:16px;width:100%;display:grid}.cauldron-hero{grid-area:hero;place-self:center;width:min(100%,clamp(420px,64svh,540px))}.hero-art{aspect-ratio:600/384;width:100%;position:relative}.hero-composition{width:600px;height:384px;transform:scale(var(--composition-scale,1));transform-origin:0 0;position:absolute}.cauldron,.cauldron-front-rim{object-fit:cover;width:566.28px;height:365.04px;position:absolute;top:0;left:16.86px}.cauldron{z-index:2}.ingredient-slots,.secondary-controls{display:contents}.slot-group{align-self:center;gap:14px;width:clamp(120px,17svh,144px);display:grid}.slot-group-left{grid-area:left;justify-self:end}.slot-group-right{grid-area:right;justify-self:start}.ingredient-slot{box-sizing:border-box;aspect-ratio:1;background:url(../assets/final-polish/ui-slot-frame-circular-bronze.webp) 50%/contain no-repeat;border-radius:50%;width:clamp(120px,17svh,144px);min-width:0;position:relative;box-shadow:inset 0 0 0 2px #100d08e6,inset 0 6px 18px #00000073,0 4px 10px #0000004d}.primary-action{grid-area:start;place-self:center;width:min(340px,100%);padding-bottom:16px}.start-slot{aspect-ratio:528/126;width:100%;position:relative}.start-button{width:528px;height:126px;color:var(--color-parchment);cursor:pointer;transform:scale(var(--composition-scale,1));transform-origin:0 0;filter:drop-shadow(0 5px 5px var(--color-shadow));background:0 0;border:0;padding:0;position:absolute}.start-plaque{position:absolute;top:1px;left:1px}.start-inset{position:absolute;top:6px;left:6px}.start-label{width:468px;font:400 62px/1.1 var(--font-localized-display,"IM Fell English"), georgia, serif;position:absolute;top:24px;left:30px}.start-seal{box-sizing:border-box;border:2px solid var(--color-seal);background:var(--color-deep-green);width:28px;height:28px;position:absolute;top:116px;left:236px;transform:rotate(45deg)}.start-seal-center{background:var(--color-gold);width:14px;height:14px;position:absolute;top:120px;left:250px;transform:rotate(45deg)}.circular-control{width:120px;height:128px;color:var(--color-gold);cursor:pointer;background:0 0;border:0;flex-direction:column;justify-content:center;align-self:center;align-items:center;gap:6px;padding:0;display:flex}.circular-control-help{grid-area:help}.circular-control-menu{grid-area:menu;justify-self:end}.control-ring{width:96px;height:96px;display:block;position:relative;overflow:hidden}.control-ring img{position:absolute}.ring-outer{top:-4px;left:-8px}.ring-inner{top:8px;left:8px}.ring-highlight{top:12px;left:12px}.sparkle-top{top:4px;left:44px}.sparkle-left{top:72px;left:14px}.sparkle-right{top:72px;left:76px}.control-label{font:600 18px/normal var(--font-localized-body,"Cormorant Garamond"), georgia, serif;letter-spacing:2px}.menu-icon{width:40px;height:32px;position:absolute;top:32px;left:28px}.menu-icon i{background:linear-gradient(90deg, var(--color-bronze), var(--color-control-highlight), var(--color-bronze));border-radius:2px;width:40px;height:4px;position:absolute;left:0}.menu-icon i:nth-child(2){width:32px;top:12px;left:4px}.menu-icon i:nth-child(3){top:24px}.book-icon{width:44px;height:36px;position:absolute;top:24px;left:26px}.book-icon i{position:absolute}.book-page{background:linear-gradient(90deg, var(--color-bronze), var(--color-control-highlight) 60%, var(--color-page-edge));width:19px;height:28px;top:2px}.book-page-left{border-radius:2px 0 0 2px;left:0}.book-page-right{border-radius:0 2px 2px 0;left:21px;transform:scaleX(-1)}.book-spine{background:linear-gradient(90deg, var(--color-spine-dark), var(--color-spine-light));width:4px;height:32px;top:0;left:18px}.book-cover{background:linear-gradient(90deg, var(--color-cover-dark), var(--color-cover-light), var(--color-cover-dark));border-radius:0 0 2px 2px;width:40px;height:6px;top:30px;left:0}.book-line{top:calc(8px + var(--line) * 5px);background:var(--color-book-ink);width:12px;height:1px}.book-line-left{left:3px}.book-line-right{left:25px}.book-line-short{width:10px}button:focus-visible{outline:2px solid var(--color-parchment);outline-offset:5px}.start-button:hover,.circular-control:hover{filter:brightness(1.15)}.game-dialog{box-sizing:border-box;border:1px solid var(--color-gold);background:var(--color-deep-green);max-width:min(440px,100% - 32px);color:var(--color-parchment);font:20px/1.5 var(--font-localized-body,"Cormorant Garamond"), georgia, serif;border-radius:12px;padding:28px}.game-dialog::backdrop{background:var(--color-shadow)}.game-dialog h2{font:32px/1.2 var(--font-localized-display,"IM Fell English"), georgia, serif;margin-top:0}.game-dialog button{border:1px solid var(--color-gold);color:inherit;background:var(--color-dark-wood);font:inherit;cursor:pointer;border-radius:6px;margin-top:0;padding:8px 16px}.ingredient-content{padding:16px}.ingredient-content[hidden]{display:none}.hero-composition:before{content:"";pointer-events:none;background:radial-gradient(#436d402e,#956e2a0f 40%,#0000 70%);border-radius:50%;width:460px;height:68px;position:absolute;top:312px;left:70px}.hero-composition:after{z-index:1;content:"";pointer-events:none;background:radial-gradient(#000000bf,#0000 70%);border-radius:50%;width:380px;height:28px;position:absolute;top:324px;left:110px}.cauldron-content{z-index:3;pointer-events:none;width:421.2px;height:44.46px;position:absolute;top:16.38px;left:89.4px}.cauldron-effects{z-index:5;pointer-events:none;position:absolute;inset:0}.start-button:active,.circular-control:active{filter:brightness(.92)}@media (width<1200px) and (width>=1024px){.game-header{grid-template-columns:190px minmax(0,400px) 190px}}@media (width<1024px){.start-screen{flex-direction:column;align-items:center;gap:16px;height:auto;min-height:100svh;display:flex}.game-header{order:0;grid-template-columns:150px minmax(0,400px) 150px}.cauldron-hero{order:1;width:min(420px,100%)}.primary-action{flex:none;order:2;width:min(320px,100%)}.ingredient-slots{order:3;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;width:100%;display:grid}.slot-group{display:contents}.ingredient-slot{justify-self:center;width:128px}.secondary-controls{order:4;justify-content:center;gap:32px;width:100%;display:flex}.circular-control{flex:none}}@media (width<768px){.start-screen{padding:16px 16px 24px}.game-header{grid-template-columns:repeat(2,minmax(0,165.2px));gap:8px 12px}.title-slot{grid-area:1/1/auto/-1;justify-self:center;max-width:343.2px}.cauldron-hero{width:min(320px,100%)}.primary-action{width:min(300px,100%)}.ingredient-slots{grid-template-columns:repeat(2,minmax(0,1fr))}.ingredient-slot{width:clamp(112px,32vw,136px)}}@media (width>=1024px){#app{align-items:center;min-height:100svh;display:grid}}
