:root{--ink:#302d40;--muted:#817b85;--paper:#f7f3e9;--white:#fffcf6;--line:#ded8ce;--purple:#75629d;--deep:#403354;--green:#659176;--orange:#d08b56;--shadow:0 10px 30px #40335409;--serif:Georgia,"Times New Roman",serif}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:15px/1.5 Segoe UI,sans-serif}button,input,select{font:inherit}button,a,input{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}a{color:inherit;text-decoration:none}button:disabled{cursor:not-allowed;opacity:.45}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #b68ae7;outline-offset:4px}h1,h2,h3,p{margin:0}h1,h2,h3{font-family:var(--serif);font-weight:400}h1{font-size:clamp(36px,4vw,56px);line-height:1.08;letter-spacing:-1.7px}h2{font-size:30px;line-height:1.2}h3{font-size:22px}small{font-size:12px}.muted{color:var(--muted)}.eyebrow{text-transform:uppercase;letter-spacing:2.3px;font-size:11px;font-weight:700;color:var(--purple);margin-bottom:13px}.app-header{height:83px;border-bottom:1px solid var(--line);padding:0 4%;display:flex;align-items:center;justify-content:space-between;background:#faf7ef}.brand{display:flex;align-items:center;gap:11px;font-family:var(--serif);font-size:23px;letter-spacing:-.6px}.brand-icon{width:38px;height:38px;background:var(--deep);border-radius:13px;color:#eedebe;display:grid;place-items:center;font-size:25px}.header-right,.row{display:flex;align-items:center;gap:16px}.header-right{font-size:13px}.coins{padding:9px 15px;border:1px solid #e5d6b3;border-radius:24px;background:#faf0d6;display:inline-flex;align-items:center;gap:8px;color:#88642d;font-weight:700}.coin{display:inline-grid;place-items:center;width:20px;height:20px;border:1px solid #c59a48;border-radius:50%;font-size:12px;background:#edd392}.avatar{width:35px;height:35px;border-radius:50%;background:#d9d2e5;display:grid;place-items:center}.page{max-width:1250px;margin:auto;padding:43px 44px 92px;min-height:calc(100vh - 83px)}.page-heading{display:flex;align-items:end;justify-content:space-between;margin-bottom:30px;gap:20px}.page-heading p{margin-top:12px;color:var(--muted)}.button{display:inline-flex;align-items:center;justify-content:center;gap:15px;padding:13px 24px;border:1px solid var(--deep);border-radius:9px;background:var(--deep);color:#fff8e8;font-weight:600;font-size:14px;transition:transform .15s,background .15s}.button:hover{background:#594470;transform:translateY(-2px)}.button.secondary{background:transparent;color:var(--ink);border-color:var(--line)}.button.secondary:hover{background:#ebe5db}.button.light{background:#f7e6b7;color:var(--deep);border-color:#f7e6b7}.button.small{padding:8px 14px;font-size:12px}.button.full{width:100%}.text-link{border:0;background:none;color:var(--purple);font-weight:600;font-size:13px;padding:6px 0;cursor:pointer}.panel{background:var(--white);border:1px solid var(--line);border-radius:16px;box-shadow:var(--shadow)}.tag{display:inline-block;font-size:10px;font-weight:700;letter-spacing:1px;text-transform:uppercase;padding:5px 9px;border-radius:5px;background:#ece6f2;color:var(--purple)}.tag.green{background:#e3ecdf;color:#548263}.tag.gold{background:#f6e7c5;color:#92723b}.divider{height:1px;background:var(--line);margin:24px 0}.prototype-nav{position:fixed;bottom:12px;left:50%;transform:translate(-50%);z-index:50;display:flex;align-items:center;gap:3px;background:#fffdf5ed;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border:1px solid var(--line);border-radius:30px;padding:6px 10px;box-shadow:0 5px 25px #302d4017;white-space:nowrap}.prototype-nav span{font-size:10px;color:var(--muted);padding:0 10px;text-transform:uppercase;letter-spacing:1px}.prototype-nav a{font-size:11px;padding:6px 10px;border-radius:20px}.prototype-nav a.active{background:var(--deep);color:#fff}.prototype-nav a:hover{background:#dfd6e7}.notice{position:fixed;top:100px;left:50%;transform:translate(-50%);z-index:100;padding:12px 22px;border-radius:10px;background:var(--deep);color:#fff;box-shadow:var(--shadow);max-width:90vw;text-align:center}.svg-art{width:100%;height:100%;overflow:visible}.splash{background:radial-gradient(ellipse at 60% 35%,#e7dfec 0,transparent 45%),var(--paper);overflow:hidden}.splash-inner{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:40px;min-height:650px}.splash h1{font-size:clamp(62px,7.7vw,102px);line-height:.93;letter-spacing:-5px;margin:20px 0 25px}.splash h1 em{color:var(--purple);font-weight:400}.splash-copy>p{max-width:390px;font-size:17px;line-height:1.8;color:var(--muted);margin-bottom:30px}.splash-foot{display:flex;gap:20px;margin-top:35px;font-size:12px;color:var(--muted)}.hero-art{height:500px;position:relative}.art-disc{position:absolute;inset:0;border-radius:49% 49% 43% 43%;background:#e4dde9;border:1px solid #d5cbdc}.floating-label{position:absolute;left:0;bottom:60px;background:#fffaf0;border:1px solid var(--line);padding:12px 20px;border-radius:10px;transform:rotate(-6deg);box-shadow:var(--shadow);font-family:var(--serif);font-style:italic;font-size:19px}.spark{position:absolute;color:var(--purple);font-size:32px}.menu-layout{display:grid;grid-template-columns:1.15fr .85fr;gap:25px}.adventure{background:#e4ddec;padding:37px;position:relative;min-height:365px;overflow:hidden;border-color:#d5c9de}.adventure .copy{position:relative;z-index:2;max-width:270px}.adventure h2{font-size:43px;margin:13px 0}.adventure p{color:#73687f;max-width:240px;margin-bottom:30px}.adventure-art{position:absolute;width:320px;height:320px;right:-34px;bottom:-18px;opacity:.9}.menu-side{display:grid;gap:20px}.menu-tile{padding:28px;display:flex;gap:22px;align-items:center}.tile-icon{font-size:38px;width:70px;height:80px;flex-shrink:0;display:grid;place-items:center;border-radius:12px;background:#e6eadb;color:var(--green)}.menu-tile p{font-size:13px;color:var(--muted);margin:7px 0 12px}.stat-row{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:26px}.stat{padding:23px}.stat strong{display:block;font-family:var(--serif);font-size:32px;font-weight:400;margin-top:7px}.stat small{text-transform:uppercase;letter-spacing:1.4px;color:var(--muted)}.section-label{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.builder-layout{display:grid;grid-template-columns:1fr 290px;gap:24px}.tabs{display:flex;gap:4px;border-bottom:1px solid var(--line);margin-bottom:19px}.tab{border:0;background:transparent;padding:12px 23px;color:var(--muted);border-bottom:2px solid transparent}.tab.active{border-color:var(--purple);color:var(--deep);font-weight:600}.filters{display:flex;gap:8px;flex-wrap:wrap;margin:17px 0}.filter{border:1px solid var(--line);background:transparent;border-radius:20px;padding:6px 13px;font-size:12px}.filter.active{background:var(--deep);border-color:var(--deep);color:#fff}.search{border:1px solid var(--line);border-radius:8px;background:var(--white);padding:10px 12px;width:100%;color:var(--ink)}.card-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:13px}.ingredient{--type:#699174;--wash:#e7ecd9;position:relative;background:#fffdf6;border:1px solid #cfcabb;border-radius:12px;overflow:hidden;text-align:left;color:var(--ink);padding:0;transition:transform .2s,box-shadow .2s;min-width:0}.ingredient:hover{transform:translateY(-5px);box-shadow:0 12px 20px #302d4014}.ingredient.selected{outline:2px solid var(--purple);outline-offset:2px}.ingredient.Chemical{--type:#b47b42;--wash:#f0dfc6}.ingredient.Mystic{--type:#8b72a8;--wash:#e8deef}.ingredient.Root{--type:#a48065;--wash:#ece0d3}.ingredient-art{height:100px;background:radial-gradient(ellipse,#ffffff90,transparent),var(--wash);position:relative;padding:12px;display:flex;align-items:center;justify-content:center}.ingredient-art svg{width:80px;height:80px;filter:drop-shadow(0 5px 2px #302d4018)}.card-cost{position:absolute;right:8px;top:8px;width:25px;height:25px;border:1px solid #bc9d65;background:#f8e8bb;border-radius:50%;display:grid;place-items:center;color:#806335;font-weight:700;font-size:12px}.card-check{position:absolute;left:8px;top:8px;border-radius:50%;background:var(--deep);color:#fff;width:23px;height:23px;text-align:center}.ingredient-body{padding:11px 12px 14px}.ingredient-body h3{font-size:15px;font-weight:700;margin:5px 0 8px}.ingredient-body .type{font-size:9px;color:var(--type);letter-spacing:1.5px;text-transform:uppercase;font-weight:700}.ingredient-body p{font-size:11px;line-height:1.5;color:#6f6875}.ingredient-body .negative{color:#a66e64;margin-top:7px}.deck-aside{padding:22px;align-self:start;position:sticky;top:18px}.deck-list{margin:17px 0;display:grid;gap:4px}.deck-item{display:flex;align-items:center;justify-content:space-between;padding:7px 0;border-bottom:1px solid #ece6dd;font-size:12px}.deck-item button{border:0;background:transparent;color:var(--muted)}.deck-item .dot{width:7px;height:7px;background:var(--green);border-radius:50%;display:inline-block;margin-right:7px}.countbar{height:5px;background:#ebe5dc;border-radius:4px;overflow:hidden;margin:12px 0}.countbar>div{height:100%;background:var(--purple)}.loadouts{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.loadout{padding:25px;cursor:pointer;text-align:left;color:var(--ink);transition:transform .2s;position:relative}.loadout.selected{outline:2px solid var(--purple);outline-offset:3px}.loadout:hover{transform:translateY(-4px)}.loadout-art{height:175px;border-radius:10px;margin-bottom:21px;display:flex;align-items:center;justify-content:center;background:#e3e8d7}.loadout-art svg{width:115px;height:130px}.loadout:nth-child(2) .loadout-art{background:#efe0cb}.loadout:nth-child(3) .loadout-art{background:#e8dfed}.loadout p{font-size:13px;color:var(--muted);margin:10px 0 18px;min-height:60px}.type-chips{display:flex;gap:6px;flex-wrap:wrap}.selection-bottom{margin-top:30px;display:flex;justify-content:space-between;align-items:center;gap:20px}.tier-preview{display:flex;gap:22px;color:var(--muted);font-size:12px}.game-page{max-width:1500px;padding:24px 32px 90px}.game-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.game-title h1{font-size:28px;letter-spacing:-.6px}.round-dots{display:flex;gap:5px;margin-top:9px}.round-dots i{width:15px;height:4px;background:#dfd9ce;border-radius:2px}.round-dots i.done{background:var(--purple)}.game-layout{display:grid;grid-template-columns:235px 1fr 236px;gap:25px}.shop-panel{padding:16px;align-self:start}.shop-panel h3{font-size:20px}.shop-list{display:grid;gap:9px;margin:15px 0}.shop-card{display:flex;align-items:center;gap:10px;background:#f5f0e5;border:1px solid var(--line);border-radius:9px;padding:9px;text-align:left;width:100%;color:var(--ink)}.shop-card svg{width:40px;height:47px;flex-shrink:0}.shop-card strong{font-size:12px;display:block}.shop-card small{font-size:10px;color:var(--muted)}.shop-card .price{margin-left:auto;color:#967138;font-size:12px;white-space:nowrap}.shop-head{display:flex;justify-content:space-between;align-items:center}.shop-head select{max-width:105px;border:1px solid var(--line);background:var(--white);border-radius:5px;padding:4px;font-size:11px}.play-stage{min-height:380px;display:grid;grid-template-columns:80px 1fr;gap:25px;align-items:center;background:radial-gradient(ellipse,#e7e0eb80,transparent 68%)}.score-column{text-align:center}.score-column .eyebrow{font-size:9px;letter-spacing:1.7px}.score-total{font-family:var(--serif);font-size:28px;display:block;margin:10px 0 0}.score-max{font-size:10px;color:var(--muted)}.liquid-tube{height:232px;width:55px;margin:auto;border-radius:22px 22px 25px 25px;border:3px solid #afa4b5;background:#fefcf580;position:relative;overflow:hidden;box-shadow:inset 5px 0 8px #4033540d,0 4px #ddd4df}.liquid-tube:after{content:"";position:absolute;inset:9px auto 17px 7px;width:5px;border-radius:4px;background:#fff9}.liquid{position:absolute;bottom:0;width:100%;height:var(--fill,5%);background:linear-gradient(90deg,#8e73b2,#b79bd2);transition:height .9s ease;min-height:3px}.liquid:before,.liquid:after{content:"";position:absolute;top:-7px;left:-30%;width:160%;height:15px;border-radius:45%;background:#ccb9e0;animation:wave 3s linear infinite}.liquid:after{top:-4px;background:#aa8dc8;animation-delay:-1s;animation-duration:4s}.liquid i{position:absolute;width:5px;height:5px;border:1px solid #e6d9f5;border-radius:50%;bottom:10%;left:40%;animation:bubble 3s infinite}.liquid i:nth-child(2){left:70%;animation-delay:-1s}.pot-area{text-align:center;position:relative}.pot-area h2{font-size:24px;margin-bottom:3px}.pot-area>p{font-size:12px;color:var(--muted)}.cauldron-scene{position:relative;height:257px;max-width:380px;margin:auto}.pot-svg{position:absolute;inset:0;width:100%;height:100%;filter:drop-shadow(0 15px 8px #302d401a)}.pot-slots{position:absolute;top:24%;left:20%;right:20%;height:92px;display:flex;justify-content:center;gap:10px;z-index:3}.pot-slot{width:72px;border:1px dashed #b2c9ac;background:#d5e9c7cc;border-radius:9px;padding:5px;color:#55745b;display:grid;place-items:center;cursor:pointer;font-size:28px}.pot-slot.filled{background:#fff8e6;border-style:solid;box-shadow:0 6px 10px #1e35322b;transform:rotate(-6deg)}.pot-slot.filled:nth-child(2){transform:rotate(6deg)}.pot-slot svg{width:42px;height:48px}.pot-slot span{font-size:9px;line-height:1.15}.pot-area.dragover{outline:2px dashed var(--purple);border-radius:20px;background:#e6dced}.steam{position:absolute;top:5px;left:45%;font-size:28px;color:#b1a4c580;animation:steam 3s infinite}.steam.second{left:62%;animation-delay:-1.5s}.pot-bubble{animation:bob 2s infinite}.brew-button{min-width:230px}.brew-button.brewing{animation:pulse .4s infinite alternate}.effect-panel{padding:20px;align-self:start}.effect-panel h3{font-size:20px}.effect-entry{padding:13px 0;border-bottom:1px solid var(--line)}.effect-entry strong{font-size:12px;display:flex;justify-content:space-between}.effect-entry p{font-size:11px;color:var(--muted);margin-top:5px}.effect-entry .positive{color:var(--green)}.effect-entry .negative{color:#b27a67}.preview{margin-top:18px;padding:13px;border-radius:10px;background:#eee8f3}.preview small{text-transform:uppercase;font-size:9px;letter-spacing:1px;color:var(--purple)}.preview strong{display:block;font-family:var(--serif);font-size:27px;margin:5px 0}.preview p{font-size:11px;color:#82728d}.hand-zone{margin-top:22px;border-top:1px solid var(--line);padding-top:16px}.hand-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.hand-heading h3{font-size:20px}.hand-heading span{font-size:12px;color:var(--muted)}.hand{display:flex;gap:13px;justify-content:center;overflow-x:auto;padding:6px 5px 15px;min-height:208px}.hand .ingredient{width:151px;min-width:151px;max-width:151px;cursor:grab}.hand .ingredient-art{height:77px}.hand .ingredient-art svg{height:65px}.hand .ingredient-body h3{font-size:14px}.hand .ingredient-body p{font-size:10px}.hand .ingredient.in-pot{opacity:.38;transform:translateY(7px)}.result-layout{max-width:850px;margin:auto;text-align:center}.result-title{margin:15px 0 30px}.score-certificate{padding:36px 45px;background:radial-gradient(ellipse at top,#e9e0f1,transparent 68%),var(--white);position:relative;overflow:hidden}.big-score{font-family:var(--serif);font-size:clamp(65px,10vw,112px);letter-spacing:-5px;line-height:1.15;color:var(--deep);margin:10px 0}.score-certificate .ribbon{margin:auto;display:inline-flex;align-items:center;gap:10px;border:1px solid #d7c49a;background:#f7edce;padding:7px 17px;border-radius:30px;color:#927339;font-size:11px;letter-spacing:1px;text-transform:uppercase}.breakdown{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--line);margin-top:30px;padding-top:23px}.breakdown strong{display:block;font-size:22px;font-family:var(--serif)}.breakdown small{color:var(--muted)}.run-note{display:flex;align-items:center;gap:18px;padding:21px 25px;margin:20px 0;text-align:left}.run-note p{font-size:13px;color:var(--muted)}.run-note .emblem{font-size:35px;color:var(--green)}.result-actions{margin-top:26px;display:flex;justify-content:center;gap:12px}.ranking-banner{padding:24px 29px;display:flex;justify-content:space-between;align-items:center;margin-bottom:22px;background:#e9e2f0;border-color:#d9cde3}.ranking-banner h2{margin-top:5px}.rank-number{font-family:var(--serif);font-size:62px;color:var(--purple);line-height:1}.table-wrap{overflow-x:auto}table{border-collapse:collapse;width:100%;text-align:left;white-space:nowrap}th{font-size:10px;text-transform:uppercase;letter-spacing:1.5px;color:var(--muted);font-weight:600;padding:17px 23px;border-bottom:1px solid var(--line)}td{padding:19px 23px;border-bottom:1px solid #eae5dc;font-size:13px}td.score-cell{font-family:var(--serif);font-size:23px}tr.current{background:#ede5f2}tr.current td:first-child{border-left:3px solid var(--purple)}tr:last-child td{border-bottom:0}.reward-layout{max-width:780px;text-align:center;margin:auto}.reward-orb{height:230px;position:relative;display:flex;align-items:center;justify-content:center;margin-top:12px;background:radial-gradient(ellipse,#f7e7b9,transparent 65%)}.reward-orb svg{height:180px;width:220px}.reward-value{font-size:62px;font-family:var(--serif);line-height:1}.reward-breakdown{max-width:430px;margin:25px auto;text-align:left}.reward-line{display:flex;justify-content:space-between;padding:9px 0;color:var(--muted);font-size:13px}.reward-line.total{border-top:1px solid var(--line);margin-top:8px;padding-top:15px;color:var(--ink);font-weight:600}.cosmetic-tease{display:flex;align-items:center;gap:17px;padding:20px 25px;max-width:560px;margin:28px auto;text-align:left;background:#ede7f1}.cosmetic-tease svg{height:65px;width:65px;flex-shrink:0}.cosmetic-tease h3{font-size:19px}.cosmetic-tease p{font-size:12px;color:var(--muted);margin-top:4px}.all-cards{font-size:12px;color:var(--green);margin-top:20px}.empty{padding:40px;text-align:center;color:var(--muted)}.milestone{animation:celebrate .8s ease}.mobile-label{display:none}@keyframes wave{50%{transform:translate(8px) rotate(5deg)}}@keyframes bubble{to{transform:translateY(-90px);opacity:0}}@keyframes steam{to{transform:translate(15px,-35px);opacity:0}}@keyframes bob{50%{transform:translateY(-4px)}}@keyframes pulse{to{transform:scale(1.02);background:#8465a0}}@keyframes celebrate{50%{transform:scale(1.2);color:#af7b3c}}@media(min-width:1500px){.game-page{padding-top:35px}.play-stage{min-height:410px}.hand .ingredient{width:165px;min-width:165px;max-width:165px}.hand .ingredient-art{height:93px}}@media(max-width:1050px){.page{padding:30px 25px 95px}.game-layout{grid-template-columns:190px 1fr;gap:15px}.effect-panel{grid-column:1/-1;display:flex;gap:20px;align-items:center}.effect-panel h3{min-width:100px}.effect-entry{border:0;padding:0;flex:1}.preview{margin:0;min-width:120px}.game-page .hand-zone{margin-top:17px}.card-grid{grid-template-columns:repeat(2,1fr)}.builder-layout{grid-template-columns:1fr 260px}.splash-inner{gap:10px;min-height:600px}.hero-art{height:410px}.adventure-art{right:-80px;opacity:.55}.loadout{padding:18px}.prototype-nav a{padding:6px 8px}}@media(max-width:700px){.app-header{height:66px;padding:0 18px}.brand{font-size:19px}.header-right .name,.header-right>.muted{display:none}.header-right{gap:8px}.coins{padding:6px 10px}.page{padding:25px 18px 115px}.splash-inner{grid-template-columns:1fr;gap:0;min-height:auto}.splash h1{font-size:67px;letter-spacing:-3px}.splash-copy{padding:20px 10px;text-align:center}.splash-copy>p{margin:0 auto 22px}.splash-foot{justify-content:center}.hero-art{height:300px;max-width:340px;width:100%;margin:auto}.floating-label{bottom:20px}.menu-layout,.loadouts{grid-template-columns:1fr}.adventure{min-height:335px;padding:28px}.adventure-art{right:-25px;opacity:.65}.stat-row{gap:8px}.stat{padding:13px}.stat strong{font-size:25px}.stat small{font-size:9px}.page-heading{align-items:start}.page-heading h1{font-size:35px}.page-heading .button{padding:10px;font-size:12px}.builder-layout{grid-template-columns:1fr}.deck-aside{position:static;grid-row:1}.deck-list{max-height:150px;overflow:auto}.card-grid{grid-template-columns:repeat(2,1fr)}.tab{padding:10px 17px}.loadout-art{height:120px}.loadout-art svg{height:100px}.loadout p{min-height:0}.selection-bottom{align-items:stretch;flex-direction:column}.tier-preview{gap:12px}.game-title{gap:8px}.game-title .button{padding:7px 10px;font-size:11px}.game-layout{grid-template-columns:1fr}.shop-panel{padding:13px}.shop-list{display:flex;margin:10px 0;gap:7px}.shop-card{display:block;width:33.33%;padding:8px;position:relative}.shop-card svg{width:27px;height:30px}.shop-card strong{font-size:10px}.shop-card small{font-size:9px}.shop-card .price{position:absolute;top:9px;right:8px}.shop-panel>.muted{display:none}.play-stage{min-height:310px;grid-template-columns:65px 1fr;gap:5px}.liquid-tube{height:200px;width:44px}.cauldron-scene{height:220px}.pot-slots{height:76px;top:24%;left:17%;right:17%}.pot-slot{width:62px}.brew-button{min-width:190px;padding:11px}.effect-panel{gap:10px;padding:13px;flex-wrap:wrap}.effect-panel h3{font-size:16px;min-width:100%}.effect-entry{min-width:80px}.preview{min-width:110px}.hand{justify-content:flex-start}.hand .ingredient{min-width:130px;max-width:130px}.hand-heading span{font-size:10px;max-width:170px;text-align:right}.prototype-nav{max-width:calc(100vw - 18px);width:max-content;white-space:normal;flex-wrap:wrap;justify-content:center;border-radius:14px;bottom:7px;padding:5px}.prototype-nav span{display:none}.prototype-nav a{font-size:10px;padding:5px 8px}.score-certificate{padding:27px 17px}.breakdown strong{font-size:19px}.breakdown small{font-size:10px}.ranking-banner{padding:20px}.ranking-banner h2{font-size:25px}.rank-number{font-size:48px}.result-actions{flex-direction:column}.reward-value{font-size:52px}.cosmetic-tease{padding:15px}.game-title h1{font-size:24px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}.hero-art>.svg-art{position:relative;z-index:1}.floating-label{z-index:2}@keyframes fillUp{0%{height:var(--from,3%)}to{height:var(--fill)}}.liquid{animation:fillUp .9s ease both}@media(min-width:701px){.game-page{padding-top:20px}.game-title{margin-bottom:13px}.shop-list{margin:10px 0}.shop-card{padding:8px;min-height:58px}.shop-card svg{height:36px}.shop-panel{padding:14px}.play-stage{min-height:330px}.cauldron-scene{height:225px}.effect-panel{padding:16px}.effect-entry{padding:10px 0}.hand-zone{margin-top:17px}.hand .ingredient-body p{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.hand .ingredient{max-height:216px}}@media(min-width:701px)and (max-width:1050px){.game-layout{grid-template-columns:160px minmax(0,1fr) 155px;gap:12px}.game-page{padding-left:18px;padding-right:18px}.play-stage{grid-template-columns:50px minmax(0,1fr);gap:5px}.liquid-tube{width:40px;height:200px}.score-column .eyebrow{font-size:8px}.score-total{font-size:23px}.pot-area h2{font-size:20px}.pot-area>p{font-size:10px}.cauldron-scene{height:200px}.pot-slots{height:70px;left:14%;right:14%;gap:7px}.pot-slot{width:57px}.pot-slot svg{width:30px;height:38px}.brew-button{min-width:180px;font-size:12px;padding:11px}.effect-panel{grid-column:auto;display:block;padding:13px}.effect-panel h3{min-width:0;font-size:18px}.effect-entry{border-bottom:1px solid var(--line);padding:11px 0}.effect-entry strong{font-size:11px}.effect-entry p{font-size:10px}.preview{min-width:0;margin-top:12px;padding:10px}.shop-head h3{font-size:18px}.shop-card{gap:5px}.shop-card svg{width:28px}.shop-card strong,.shop-card .price{font-size:10px}.shop-head .coins{padding:4px!important;font-size:11px}.shop-panel .button{font-size:10px;padding:8px 4px}}@media(max-width:700px){.game-title{flex-wrap:wrap}.game-title>div:first-child{width:100%}.game-title>.row{width:100%;justify-content:space-between}.game-title h1{font-size:25px}.page-heading{flex-wrap:wrap}.page-heading>div{min-width:0}.tier-preview{flex-wrap:wrap}.header-right{flex-shrink:0}.brand{white-space:nowrap}}@media(min-width:701px)and (max-width:1050px){body[data-page=game] .app-header{height:64px}.game-title{margin-bottom:10px}.play-stage{min-height:300px}.shop-card{min-height:50px;padding:6px}.shop-panel>p{display:none}.shop-head h3{font-size:16px}.shop-card svg{width:24px;height:30px}.shop-list{gap:6px}.effect-entry p{display:none}.effect-panel h3{font-size:16px}.effect-entry strong{font-size:11px}.effect-entry{padding:13px 0}.preview p{font-size:10px}.preview strong{font-size:22px}.preview small{font-size:8px;letter-spacing:.4px}.hand-zone{margin-top:10px;padding-top:10px}.hand .ingredient{min-width:137px;max-width:137px}.hand .ingredient-art{height:65px}.hand .ingredient-art svg{height:55px}.hand .ingredient-body{padding:8px 10px}.hand .ingredient-body h3{font-size:13px;margin:3px 0 6px}.hand .ingredient-body p{font-size:10px}.score-max{display:block;line-height:1.4;margin-top:3px}}.hand .ingredient{touch-action:none;-webkit-user-select:none;user-select:none}.hand .ingredient.dragging{opacity:.6;outline:2px solid var(--purple);cursor:grabbing}body:not([data-page=game]) .page{min-height:100dvh;padding-bottom:40px}body:not([data-page=game]) .page-heading>div>p{display:none}body:not([data-page=game]) .splash-foot{display:none}body[data-page=results] .run-note{display:none}body[data-page=rewards] .reward-layout>p{display:none}body[data-page=game]{overflow:hidden;background:#e6dfd7;overscroll-behavior:none}body[data-page=game] #app{height:100dvh;min-height:0}.playfield{position:relative;isolation:isolate;height:100dvh;width:100%;max-width:720px;margin:auto;overflow:hidden;color:var(--ink);background:radial-gradient(ellipse at 58% 43%,#e3dce9,#eee7eb 28%,#f3eddf 62%,#e4d7c4);box-shadow:0 0 90px #4033541a;touch-action:manipulation}.playfield:before{content:"";position:absolute;inset:12px;border:1px solid #c0ae9480;border-radius:45% 45% 24px 24px;pointer-events:none;z-index:-1}.playfield:after{content:"";position:absolute;inset:19px;border:1px solid #c0ae9440;border-radius:45% 45% 20px 20px;pointer-events:none;z-index:-1}.board-etching{position:absolute;width:470px;height:470px;left:50%;top:37%;transform:translate(-50%,-50%);border:1px solid #a99ab620;border-radius:50%;pointer-events:none;z-index:-1}.board-etching:before{content:"";position:absolute;inset:18px;border:1px dashed #a99ab632;border-radius:50%}.board-etching:after{content:"\2727";position:absolute;left:46%;top:0;font-size:28px;color:#ad9ab44d}.board-round{position:absolute;top:max(30px,env(safe-area-inset-top));left:50%;transform:translate(-50%);font:14px var(--serif);letter-spacing:3px;color:#9c8b8c}.board-round:before,.board-round:after{content:"\2014";color:#bdb09e;margin:0 12px}.music-control{position:absolute;top:max(19px,env(safe-area-inset-top));right:20px;z-index:3;width:44px;height:44px;border:1px solid #c5b9c2;border-radius:50%;background:#faf6e766;box-shadow:inset 0 1px #fff9;color:#85758e;display:grid;place-items:center;cursor:pointer}.music-control svg{width:19px;height:19px}.music-control[aria-pressed=true]{background:#dfd3e9;border-color:#ab98bd;color:#665075}.game-meter{position:absolute;left:7%;top:31%;text-align:center;z-index:2;width:55px}.game-meter .liquid-tube{width:43px;height:clamp(155px,25dvh,220px);border:3px solid #a99aae;border-radius:19px;background:#f7f1e299;box-shadow:0 0 0 4px #f7eddf99,0 0 0 5px #b6a39470,inset 3px 0 7px #75629d22,0 7px 12px #40335410}.meter-cap{width:54px;height:10px;border:1px solid #aa9585;border-radius:6px;background:linear-gradient(#dbcab4,#bdad98);margin:auto;position:relative;z-index:2}.meter-cap.bottom{margin-top:-2px;height:13px}.game-meter .score-total{font:31px var(--serif);letter-spacing:-1px;color:#625071;margin-top:13px}.game-meter .meter-limit{font:11px var(--serif);color:#a29199;margin-top:3px;display:block}.game-meter .liquid{background:linear-gradient(90deg,#9270af,#b49bc9 55%,#9e7dbb)}.cauldron-zone{position:absolute;width:78%;max-width:400px;height:clamp(235px,35dvh,330px);left:57%;top:25%;transform:translate(-50%);z-index:2;border-radius:50%;transition:filter .2s}.cauldron-zone .pot-svg{filter:drop-shadow(0 17px 10px #5d4c6230)}.cauldron-zone.dragover{filter:drop-shadow(0 0 20px #aacb80);outline:none;background:none}.cauldron-zone .steam{top:5%;font-size:40px;color:#b4a2bd88;pointer-events:none}.cauldron-zone .steam.second{left:58%}.cauldron-zone .pot-slots{top:24%;left:29%;right:29%;height:27%;gap:8px;align-items:center}.cauldron-zone .pot-slot{flex:1;min-width:0;max-width:63px;height:100%;border-radius:8px;font-size:22px;border:1px dashed #e3efd09c;background:#c9ddb75e;color:#69805db3;box-shadow:none;padding:4px}.cauldron-zone .pot-slot.empty{height:66%;border-radius:50%;border-color:#e7f3d174;background:#c6dfa14a}.cauldron-zone .pot-slot.filled{background:#fff4dd;box-shadow:0 5px 7px #334b3840;border:1px solid #bdb19a;transform:rotate(-9deg)}.cauldron-zone .pot-slot.filled:nth-child(2){transform:rotate(9deg)}.cauldron-zone .pot-slot svg{width:100%;height:65%}.cauldron-zone .pot-slot span{font-size:8px;line-height:1.1;display:block;color:#665b65}.cauldron-zone .brew-preview{position:absolute;bottom:0;left:0;right:0;text-align:center;font:italic 22px var(--serif);color:#766084;pointer-events:none;text-shadow:0 1px #fff8}.brew-preview:empty{display:none}.end-turn{position:absolute;bottom:250px;left:50%;transform:translate(-50%);min-width:160px;min-height:52px;padding:12px 29px;z-index:4;border:1px solid #67516f;border-radius:40%/25%;background:linear-gradient(#91809f,#79648e);box-shadow:inset 0 0 0 3px #b4a0bd77,inset 0 4px #ccbdd340,0 4px #655271,0 8px 16px #40335426;color:#fff6e5;font:19px var(--serif);cursor:pointer;letter-spacing:.3px}.end-turn:hover{background:linear-gradient(#a18cb0,#826b98);filter:brightness(1.05)}.end-turn:active{transform:translate(-50%,3px);box-shadow:inset 0 0 0 3px #b4a0bd77,0 1px #655271}.end-turn.ready{box-shadow:inset 0 0 0 3px #cab4d277,0 4px #655271,0 0 30px #b9a1d052}.end-turn:disabled{opacity:.55}.end-turn.brewing{animation:buttonGlow .6s infinite alternate}.fan-scroll{position:absolute;bottom:0;left:0;right:0;height:245px;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;z-index:5;-webkit-mask-image:linear-gradient(90deg,transparent,#000 3%,#000 97%,transparent);mask-image:linear-gradient(90deg,transparent,#000 3%,#000 97%,transparent)}.fan-scroll::-webkit-scrollbar{display:none}.fan-hand{position:relative;height:100%;width:max(100%,calc(var(--count)*37px + 115px));min-width:100%;padding:0}.fan-card{position:absolute;left:calc(50% + var(--x));bottom:calc(-13px - var(--dip));width:132px;height:197px;min-width:132px;max-height:none;border:2px solid #b9aa93;border-radius:12px;background:#fbf4e5;box-shadow:inset 0 0 0 3px #fdf7e8,0 7px 12px #3c304b30;transform:translate(-50%) rotate(var(--angle));transform-origin:50% 140%;z-index:var(--order);transition:transform .18s ease,bottom .18s ease,box-shadow .18s ease;touch-action:none;-webkit-user-select:none;user-select:none;cursor:grab;padding:4px;overflow:hidden;color:var(--ink);text-align:left}.fan-card .ingredient-art{height:93px;border-radius:8px 8px 34% 34%;border:1px solid #c9bc9f66;padding:8px}.fan-card .ingredient-art svg{height:74px;width:70px}.fan-card .card-cost{width:24px;height:24px;font:15px var(--serif);top:3px;right:3px}.fan-card .ingredient-body{padding:5px 5px 8px}.fan-card .ingredient-body .type{font-size:7px;letter-spacing:1px}.fan-card .ingredient-body h3{font:600 13px/1.05 var(--serif);margin:3px 0 6px;min-height:26px}.fan-card .ingredient-body p{font-size:9px;line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.fan-card .ingredient-body .negative{font-size:8px;margin-top:3px}.fan-card:hover,.fan-card:focus-visible{z-index:50!important;transform:translate(-50%) translateY(-30px) rotate(0) scale(1.12);box-shadow:0 0 0 2px #ddd0ad,0 15px 25px #40335430;outline:none}.fan-card.in-pot{opacity:.3;filter:grayscale(.6);pointer-events:none}.fan-card.drag-source{opacity:.2}.card-ghost{position:fixed!important;left:0;top:0;bottom:auto;margin:0;transform:rotate(-5deg)!important;z-index:1000!important;pointer-events:none;opacity:.95;box-shadow:0 15px 35px #4033544d;transition:none!important;will-change:left,top}.hand-empty{position:absolute;bottom:75px;left:0;right:0;text-align:center;color:#a18e8e;font:italic 17px var(--serif)}.shop-veil,.inspect-veil{position:absolute;inset:0;z-index:20;display:grid;place-items:center;background:#5142575c;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);padding:16px;animation:veilIn .28s ease}.shop-sheet{width:100%;max-width:580px;max-height:calc(100dvh - 32px);overflow-y:auto;padding:26px 16px 23px;background:radial-gradient(ellipse at top,#f9f4e5,#eee3d4);border:2px solid #c1aa8f;border-radius:25px;box-shadow:inset 0 0 0 5px #f9f1e2,inset 0 0 0 6px #c7b39780,0 20px 55px #31253750;text-align:center;position:relative}.shop-sheet:before{content:"\2726";display:block;color:#a58c67;font-size:24px;line-height:1;margin:2px auto 13px}.shop-title{font:35px/1.1 var(--serif);letter-spacing:-1px;color:#574460}.shop-meta{display:flex;justify-content:center;align-items:center;gap:15px;margin:14px 0 21px;font:13px var(--serif);color:#887987}.shop-purse{display:inline-flex;gap:6px;align-items:center;color:#8e6d36;background:#f4e4ba;border:1px solid #ceb481;border-radius:20px;padding:6px 12px;font:600 16px var(--serif)}.shop-purse .coin{font-size:11px;width:18px;height:18px}.shop-offers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;align-items:stretch;margin:0 0 18px}.offer-card{position:relative;border:1px solid #b9aa93;border-radius:10px;padding:4px;background:#fff7e6;box-shadow:0 4px #c9bba67a,0 6px 12px #5b405614;text-align:left;min-width:0;color:var(--ink);transition:transform .18s,box-shadow .18s}.offer-card:hover:not(:disabled){transform:translateY(-7px) rotate(-2deg);box-shadow:0 9px 16px #5b405623}.offer-card .ingredient-art{height:95px;border-radius:7px 7px 30% 30%;padding:10px 4px}.offer-card .ingredient-art svg{width:65px;height:70px}.offer-card .ingredient-body{padding:7px 4px 9px}.offer-card .type{font-size:7px;letter-spacing:.7px}.offer-card h3{font:600 13px/1.13 var(--serif);min-height:30px;margin:4px 0 6px}.offer-card p{font-size:9px;line-height:1.4;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;min-height:37px}.offer-card p.negative{min-height:24px;-webkit-line-clamp:2;font-size:8px}.offer-card .card-cost{top:3px;right:3px}.offer-card:disabled{opacity:.5;filter:saturate(.5)}.shop-tiers{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:6px;margin:10px 0 17px}.shop-tier{min-height:36px;padding:6px 10px;border:1px solid #cdbca7;border-radius:8px;background:#fff6e450;font:13px var(--serif);color:#8b7d83}.shop-tier.active{background:#dfd1e5;border-color:#b49ac1;color:#705680}.shop-tier.upgrade{border-style:dashed;color:#8d724c}.shop-sheet .continue-button{position:static;transform:none;min-width:180px;min-height:48px;font-size:19px}.shop-sheet .continue-button:active{transform:translateY(3px)}.buy-feedback{height:21px;font:italic 12px var(--serif);color:#82966d;margin-bottom:6px}.inspect-veil{z-index:30}.inspect-sheet{width:min(280px,85vw);border:2px solid #baa58b;border-radius:17px;padding:16px;background:#f9f0e0;box-shadow:0 15px 50px #40335444;position:relative;text-align:center}.inspect-sheet .ingredient-art{height:145px;border-radius:10px}.inspect-sheet .ingredient-art svg{height:125px}.inspect-sheet h2{font-size:26px;margin:14px 0}.inspect-sheet p{font-size:13px;line-height:1.5;margin:10px 0}.inspect-sheet p.negative{color:#a47365}.inspect-sheet .button{margin-top:12px;width:100%;font-size:14px}.inspect-close{position:absolute;right:7px;top:7px;width:32px;height:32px;border-radius:50%;border:1px solid #bdac96;background:#fcf2dd;color:#8b7688;font-size:23px;z-index:2}.gain-float{position:absolute;top:29%;left:52%;font:italic 39px var(--serif);color:#9377aa;text-shadow:0 2px #fff8;z-index:12;pointer-events:none;animation:gainFloat 1.2s ease forwards}.board-flash{animation:boardGlow .9s ease}.brew-swish{animation:potShake .7s ease}.music-control:focus-visible,.shop-tier:focus-visible,.end-turn:focus-visible,.offer-card:focus-visible{outline:3px solid #a28bb8;outline-offset:4px}@keyframes veilIn{0%{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}@keyframes gainFloat{0%{opacity:0;transform:translateY(15px) scale(.85)}30%{opacity:1}to{opacity:0;transform:translateY(-65px) scale(1.15)}}@keyframes buttonGlow{to{filter:brightness(1.2);box-shadow:0 0 35px #c3a4dc77}}@keyframes boardGlow{50%{filter:brightness(1.08)}}@keyframes potShake{20%,60%{transform:translate(-50%) rotate(-3deg)}40%,80%{transform:translate(-50%) rotate(3deg)}}@media(min-width:550px){.playfield{max-width:720px}.game-meter{left:12%}.cauldron-zone{width:66%;left:56%}.fan-card{width:155px;min-width:155px;height:224px}.fan-card .ingredient-art{height:110px}.fan-card .ingredient-art svg{height:87px}.fan-card .ingredient-body h3{font-size:15px}.fan-card .ingredient-body p{font-size:10px}.fan-card .ingredient-body .negative{font-size:9px}.fan-scroll{height:280px}.end-turn{bottom:280px}.shop-sheet{padding:29px}.offer-card .ingredient-art{height:140px}.offer-card .ingredient-art svg{height:110px;width:100px}.offer-card h3{font-size:17px;min-height:38px}.offer-card p{font-size:11px;min-height:45px}.offer-card p.negative{font-size:10px;min-height:30px}.offer-card .ingredient-body{padding:10px}.offer-card .type{font-size:9px}.shop-offers{gap:14px}}@media(max-height:730px){.cauldron-zone{top:19%;height:235px}.game-meter{top:24%}.game-meter .liquid-tube{height:163px}.fan-scroll{height:212px}.fan-card{height:181px}.fan-card .ingredient-art{height:80px}.fan-card .ingredient-art svg{height:62px}.end-turn{bottom:220px;min-height:45px}.board-round{top:23px}.shop-sheet{padding-top:16px;padding-bottom:19px}.shop-sheet:before{margin-bottom:7px}.shop-title{font-size:29px}.shop-meta{margin:10px 0 14px}.shop-offers{margin-bottom:12px}.shop-tiers{margin:8px 0 12px}}@media(max-height:540px)and (orientation:landscape){.cauldron-zone{top:10%;height:220px;left:49%;width:300px}.game-meter{top:20%;left:7%}.game-meter .liquid-tube{height:130px}.board-round{left:12%;top:18px;font-size:10px}.board-round:before,.board-round:after{display:none}.end-turn{left:auto;right:25px;bottom:48%;transform:none;min-width:110px;font-size:16px}.fan-scroll{height:145px}.fan-card{height:155px;width:112px;min-width:112px;bottom:calc(-38px - var(--dip))}.fan-card .ingredient-art{height:60px}.fan-card .ingredient-art svg{height:50px}.shop-sheet{max-width:520px;max-height:94dvh}.shop-title{font-size:24px}.shop-sheet:before{display:none}.shop-meta{position:absolute;top:6px;right:22px;font-size:11px}.shop-offers{margin:14px auto 5px;max-width:340px}.offer-card .ingredient-art{height:65px}.offer-card .ingredient-art svg{height:55px}.offer-card h3{font-size:13px;min-height:28px}.offer-card p{display:none}.shop-tiers{margin:8px}.shop-sheet .continue-button{min-height:36px;font-size:15px}.buy-feedback{display:none}}@media(prefers-reduced-motion:reduce){.fan-card,.cauldron-zone,.offer-card{transition:none}.shop-veil,.inspect-veil,.gain-float,.brew-swish,.board-flash{animation:none}.gain-float{opacity:1}}.cauldron-zone .pot-slot.filled,.cauldron-zone .pot-slot.filled:nth-child(2){position:relative;background:transparent;border:0;box-shadow:none;transform:none;overflow:visible;display:block;padding:0;z-index:1}.cauldron-zone .pot-slot.filled:hover,.cauldron-zone .pot-slot.filled:focus-visible{z-index:10;outline:none}.cauldron-zone .pot-slot .pot-mini{display:block;width:100%;height:100%;background:#fff4dd;border:1px solid #bdb19a;border-radius:8px;padding:5px;box-shadow:0 5px 7px #334b3840;transform:rotate(-9deg);transition:transform .22s ease,opacity .16s ease}.cauldron-zone .pot-slot:nth-child(2) .pot-mini{transform:rotate(9deg)}.cauldron-zone .pot-slot .pot-mini svg{width:100%;height:100%}.cauldron-zone .pot-slot .pot-detail{position:absolute;bottom:0;left:50%;display:block;width:180px;max-width:55vw;padding:6px;border:2px solid #b7a58b;border-radius:12px;background:#fff5e2;box-shadow:0 15px 25px #4033543b;opacity:0;visibility:hidden;transform:translate(-50%) rotate(-9deg) scale(.3);transform-origin:50% 100%;transition:transform .26s cubic-bezier(.2,.8,.2,1),opacity .18s ease,visibility .26s;pointer-events:none;text-align:left;cursor:pointer;white-space:normal}.cauldron-zone .pot-slot:nth-child(2) .pot-detail{transform:translate(-50%) rotate(9deg) scale(.3)}.cauldron-zone .pot-slot .pot-detail .ingredient-art{height:98px;padding:8px;border-radius:8px 8px 30% 30%}.cauldron-zone .pot-slot .pot-detail svg{height:84px;width:80px}.cauldron-zone .pot-slot .pot-detail .card-cost{display:grid;width:24px;height:24px;font-size:12px}.cauldron-zone .pot-slot .pot-detail .ingredient-body{padding:8px}.cauldron-zone .pot-slot .pot-detail .type{font-size:9px;letter-spacing:1px;color:var(--type)}.cauldron-zone .pot-slot .pot-detail h3{font:600 18px/1.1 var(--serif);margin:7px 0 10px;color:var(--ink)}.cauldron-zone .pot-slot .pot-detail p{font:12px/1.45 Segoe UI,sans-serif;display:block;overflow:visible;-webkit-line-clamp:unset;color:#6f6875;margin:0}.cauldron-zone .pot-slot .pot-detail p.negative{color:#a66e64;margin-top:7px}.cauldron-zone .pot-slot.filled:focus-visible .pot-mini{opacity:0;transform:translateY(-25px) scale(1.2)}.cauldron-zone .pot-slot.filled:focus-visible .pot-detail{opacity:1;visibility:visible;transform:translate(-50%,-18px) rotate(0) scale(1);pointer-events:auto}@media(hover:hover){.cauldron-zone .pot-slot.filled:hover .pot-mini{opacity:0;transform:translateY(-25px) scale(1.2)}.cauldron-zone .pot-slot.filled:hover .pot-detail{opacity:1;visibility:visible;transform:translate(-50%,-18px) rotate(0) scale(1);pointer-events:auto}}@media(max-height:730px){.cauldron-zone .pot-slot .pot-detail{width:215px}.cauldron-zone .pot-slot .pot-detail .ingredient-art{height:54px}.cauldron-zone .pot-slot .pot-detail svg{height:46px;width:46px}.cauldron-zone .pot-slot .pot-detail h3{font-size:16px;margin:5px 0 7px}.cauldron-zone .pot-slot .pot-detail p{font-size:11px}}@media(prefers-reduced-motion:reduce){.cauldron-zone .pot-slot .pot-mini,.cauldron-zone .pot-slot .pot-detail{transition:none}}.recipes-trigger{position:absolute;left:50%;transform:translate(-50%);bottom:318px;z-index:6;white-space:nowrap;border:1px solid #bdaac8;border-radius:22px;background:#f5ebf5e8;color:#79628c;padding:9px 17px;font:15px var(--serif);box-shadow:0 3px 10px #40335412;cursor:pointer}.recipe-veil{position:absolute;inset:0;z-index:35;background:#51425766;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);display:grid;place-items:center;padding:16px;animation:veilIn .25s ease}.recipe-sheet{position:relative;display:flex;flex-direction:column;width:100%;max-width:490px;max-height:calc(100dvh - 40px);background:radial-gradient(ellipse at top,#faf3e4,#eee3d4);border:2px solid #bda88f;border-radius:23px;box-shadow:inset 0 0 0 4px #fff5e580,0 20px 50px #31253740;overflow:hidden;text-align:left}.recipe-heading{display:flex;gap:12px;align-items:center;padding:24px 35px 18px 19px;border-bottom:1px solid #d9c9bb}.recipe-anchor{width:50px;height:60px;flex-shrink:0}.recipe-anchor svg{width:100%;height:100%}.recipe-heading small{font-size:11px;color:#9b819a}.recipe-heading h2{font:28px/1.15 var(--serif);color:#665071;margin:5px 0 0}.recipe-scroll{overflow-y:auto;overscroll-behavior:contain;padding:0 15px 15px}.recipe-scroll h3{font:18px var(--serif);color:#786481;margin:22px 2px 10px}.recipe-scroll h3 small{font:11px Segoe UI,sans-serif;color:#978395;margin-left:6px}.recipe-row{display:flex;align-items:flex-start;gap:10px;width:100%;border:1px solid #d8caba;border-radius:12px;background:#fff8eb;padding:12px 10px;margin:8px 0;text-align:left;color:#55475e}.recipe-row[data-recipe-add]{border-color:#b7c6a6;background:#f7f7e8;cursor:pointer;transition:transform .15s,box-shadow .15s}.recipe-row[data-recipe-add]:hover{transform:translateY(-2px);box-shadow:0 4px 12px #66744820}.recipe-art{width:40px;height:48px;flex-shrink:0}.recipe-art svg{width:100%;height:100%}.recipe-copy{display:block;min-width:0}.recipe-partner{display:block;font-size:11px;color:#857689}.recipe-partner small{display:block;font-size:10px;color:#9b8a8e;margin:2px 0 7px}.recipe-copy>strong{display:block;font:18px/1.2 var(--serif);margin-bottom:7px}.recipe-benefit,.recipe-drawback{display:block;font:12px/1.45 Segoe UI,sans-serif}.recipe-benefit{color:#668266}.recipe-drawback{color:#a87569;margin-top:5px}.recipe-scroll summary{font:16px var(--serif);color:#89728e;padding:15px 2px;cursor:pointer}.recipe-hint{flex-shrink:0;font:italic 12px var(--serif);color:#94828a;text-align:center;padding:14px 15px;margin:0;border-top:1px solid #d9c9bb}.recipe-empty,.recipe-footnote{font:11px/1.5 Segoe UI,sans-serif;color:#9b8993;padding:10px 2px}.recipes-trigger:focus-visible,.recipe-row:focus-visible,.recipe-scroll summary:focus-visible{outline:3px solid #a28bb8;outline-offset:2px}@media(min-width:550px){.recipes-trigger{bottom:347px}}@media(max-height:730px){.recipes-trigger{bottom:278px;padding:7px 14px}.recipe-heading{padding-top:17px;padding-bottom:13px}}@media(max-height:540px)and (orientation:landscape){.recipes-trigger{left:auto;right:20px;bottom:30%;transform:none;font-size:12px}.recipe-sheet{max-height:94dvh}}@media(prefers-reduced-motion:reduce){.recipe-veil{animation:none}.recipe-row[data-recipe-add]{transition:none}}.shop-toggle:focus-visible{outline:3px solid #a28bb8;outline-offset:3px}.recipe-benefit strong,.recipe-drawback strong,.recipe-context strong{font-weight:700}.hearth-flame{transform-box:fill-box;transform-origin:50% 100%;animation:hearth-flicker 1.65s ease-in-out infinite alternate}.hearth-flame.flame-left{animation-duration:1.35s;animation-delay:-.7s}.hearth-flame.flame-right{animation-duration:1.85s;animation-delay:-1.2s}.hearth-glow{transform-box:fill-box;transform-origin:center;animation:hearth-glow 2.4s ease-in-out infinite alternate}.hearth-ember{opacity:0;animation:hearth-ember 3.2s ease-out infinite;--ember-drift:-8px}.hearth-ember.ember-two{animation-delay:-1.1s;animation-duration:3.7s;--ember-drift:10px}.hearth-ember.ember-three{animation-delay:-2.3s;animation-duration:4.1s;--ember-drift:4px}@keyframes hearth-flicker{0%{transform:scale(.96,.92) skew(-3deg)}35%{transform:scale(1.03,1.04) skew(2deg)}65%{transform:scale(.98,.97) skew(-1deg)}to{transform:scale(1.02,1.08) skew(3deg)}}@keyframes hearth-glow{0%{opacity:.18;transform:scale(.93)}to{opacity:.33;transform:scale(1.08)}}@keyframes hearth-ember{0%,15%{opacity:0;transform:translateY(4px)}25%{opacity:.8}75%{opacity:.4}to{opacity:0;transform:translate(var(--ember-drift),-28px)}}@media(prefers-reduced-motion:reduce){.hearth-flame,.hearth-glow,.hearth-ember{animation:none}.hearth-ember{opacity:0}}brew-app,brew-game,brew-screens{display:block}card-face{display:block;position:relative}button{cursor:pointer}button:disabled{cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #a28bb8;outline-offset:3px}h1,h2,h3{font-family:var(--serif)}.screen-shell{max-width:1050px;margin:auto;min-height:100dvh;padding:30px 24px 50px;background:radial-gradient(ellipse at 50% 25%,#ebe1f0,transparent 65%)}.screen-shell>h1{font-size:clamp(30px,6vw,48px);margin:22px 0}.title-screen,.menu-screen,.celebration{text-align:center;max-width:640px;margin:4vh auto}.title-screen h1{font-size:clamp(64px,15vw,100px);line-height:.95;letter-spacing:-4px;margin:24px 0;color:#574460}.title-screen h1 i{font-weight:400;color:#9985ac}.hero-pot{position:relative;height:230px;width:300px;max-width:100%;margin:20px auto}.wizard-portrait{height:150px;margin:auto}.wizard-portrait svg{height:100%;max-width:100%}.menu-screen h1,.celebration h1{font-size:38px}.menu-actions{display:flex;flex-direction:column;gap:12px;max-width:330px;margin:28px auto}.button{justify-content:center;text-align:center}.button.primary{background:linear-gradient(#9280a4,#77628c);color:#fff6e5;border:1px solid #685473;box-shadow:inset 0 0 0 2px #c8b7d144,0 3px #675371;border-radius:14px}.quiet{font-size:12px;color:#897b87;margin:15px 0}.text-button,.back{background:none;border:0;color:#877191;text-decoration:none;font-size:13px;padding:9px}.deck-controls{display:flex;flex-wrap:wrap;gap:9px;margin:14px 0}.deck-controls input,.deck-controls select{min-width:0;max-width:100%;padding:10px;border:1px solid #cdbda8;border-radius:9px;background:#fff8eb;color:var(--ink)}.tab-row{display:flex;gap:6px}.tab-row button{flex:1;border:1px solid #cdbda8;background:#f9f1e2;padding:12px 6px;border-radius:9px;color:#88758d}.tab-row button.active{background:#dfd1e5}.library-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}.library-card{position:relative;background:#fff8e9;border:2px solid #d6c8b5;border-radius:13px;padding:6px;text-align:left;min-width:0;color:var(--ink)}.library-card .ingredient-art{height:120px}.library-card .ingredient-art svg{max-height:110px;max-width:100%}.library-card .ingredient-body{padding:10px}.library-card .ingredient-body p{font-size:12px;min-height:55px}.library-card .negative{color:#a66e64}.library-card.selected,.loadout.selected{border-color:#8e75a4;box-shadow:0 0 0 2px #bba4cc55}.selection-mark{display:block;font-size:11px;text-align:center;padding:5px;color:#827090}.loadouts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin:30px 0}.loadout{background:#fcf5e8;border:2px solid #d6c8b5;border-radius:18px;padding:22px;text-align:center;color:var(--ink)}.loadout h2{font-size:22px}.loadout p{font-size:12px;min-height:0}.deck-art{height:120px}.deck-art svg{height:100%;max-width:100%}.grand-score{font:clamp(38px,9vw,72px)/1.2 var(--serif);color:#75608b;overflow-wrap:anywhere;margin:22px 0 6px}.result-stats{display:flex;justify-content:space-around;gap:12px;margin:30px 0;font-size:12px}.result-stats b{display:block;font-size:20px;font-family:var(--serif)}.celebration>.text-button{display:block;margin:15px auto}.leader-list{margin:25px 0}.leader-row{display:grid;grid-template-columns:28px 1fr auto;align-items:center;gap:12px;text-decoration:none;color:inherit;padding:18px 12px;border-bottom:1px solid #dcd1d4}.leader-row.current{background:#e8deef;border-radius:10px}.leader-row small{display:block;font-size:11px;color:#998692}.leader-row strong{font-family:var(--serif);font-size:22px;overflow-wrap:anywhere;max-width:160px}.rank-callout{font-size:20px;font-family:var(--serif)}.reward-art{height:170px;margin:30px auto}.reward-art svg{height:100%;max-width:100%}.skin-pot{position:relative;height:180px}.global-veil{position:fixed;inset:0;background:#51425777;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);z-index:100;display:grid;place-items:center;padding:18px}.dialog{position:relative;width:min(460px,100%);max-height:calc(100dvh - 40px);overflow:auto;background:#fbf2e3;border:2px solid #baa68d;border-radius:20px;padding:30px 22px;box-shadow:0 15px 50px #40335444}.dialog h2{font-size:28px;margin-bottom:18px}.dialog p{font-size:13px;line-height:1.65;margin:12px 0}.dialog textarea{display:block;width:100%;height:120px;margin:15px 0;border:1px solid #b5a2ba;border-radius:9px;background:#fffaef;padding:10px;font-size:12px}.toast{position:fixed;bottom:25px;left:50%;transform:translate(-50%);width:max-content;max-width:90vw;padding:14px 42px 14px 18px;border:1px solid #c5b3ce;border-radius:12px;background:#483653;color:#fff5e6;z-index:200;font-size:13px;box-shadow:0 8px 25px #40335430}.toast button{position:absolute;right:8px;top:8px;background:none;border:0;color:inherit;font-size:22px}.board-round{border:0;background:none;white-space:nowrap;padding:0}.game-meter{border:0;background:none;padding:0;color:inherit}.game-meter .score-total{display:block;font-size:clamp(16px,5vw,30px);overflow-wrap:anywhere}.game-meter .meter-limit{overflow-wrap:anywhere}.pot-illustration{position:absolute;inset:0;pointer-events:none}.preview-trigger{border:0;background:none;pointer-events:auto!important;cursor:pointer}.preview-trigger small{font-size:12px}.offer-card[aria-disabled=true]{opacity:.55}.status-dialog{text-align:left}.effect-line{display:flex;justify-content:space-between;gap:15px;padding:9px 0;border-bottom:1px solid #ded1ce;font-size:12px}.effect-line small{display:block;color:#99848d;font-size:10px}.effect-line b{overflow-wrap:anywhere;max-width:45%}.status-dialog h3,.status-dialog .button{margin-top:22px}.negative{color:#a66e64}.inspect-sheet{position:relative}.inspect-sheet .ingredient-body p{font-size:13px;display:block;min-height:0}.inspect-sheet .ingredient-body h3{font-size:25px}.inspect-sheet .card-cost{top:10px;right:10px}.inspect-sheet .ingredient-body{padding:10px 0}.ingredient-art.flora{background:#e5edce}.ingredient-art.chemical{background:#f3dfc6}.ingredient-art.mystic{background:#e4d7eb}.ingredient-art.root{background:#e8decb}[data-skin=mint] .pot-svg,[data-skin=mint] .liquid{filter:hue-rotate(65deg)}[data-skin=rose] .pot-svg,[data-skin=rose] .liquid{filter:hue-rotate(310deg)}.card-ghost card-face{pointer-events:none}.game-meter.milestone .liquid-tube{animation:celebrate 1s ease}.board-surface{height:100%}.offer-card{cursor:pointer}.screen-shell .ingredient-art{display:grid;place-items:center}.screen-shell .card-cost{position:absolute;top:5px;right:5px}.skin-pot .pot-svg{position:absolute}@media(max-width:700px){.library-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.loadouts{grid-template-columns:1fr}.loadout{display:block}.deck-art{height:90px}.screen-shell{padding:22px 17px 35px}.menu-screen{margin-top:4vh}.library-card .ingredient-body p{font-size:11px}.library-card .ingredient-art{height:95px}.library-card .ingredient-art svg{height:85px}.leader-row strong{max-width:110px;font-size:18px}}.recipe-group-open>summary{display:none}.recipe-net{display:block;font-size:11px;color:#79618b;margin:8px 0}.recipe-note{font-size:11px;line-height:1.45;color:#827587;margin:5px 0}.recipe-note.negative{color:#a87569}.recipe-add{margin-top:10px;padding:7px 14px;font-size:12px}.recipe-unavailable{display:block;font-size:10px;color:#a08c94;margin-top:10px}.recipe-scroll{min-height:0}.recipe-copy{flex:1}.fan-card .ingredient-art{height:126px}.fan-card .ingredient-art svg{height:106px;width:95px}.fan-card .ingredient-body h3{margin-bottom:0}.offer-card .ingredient-art{height:125px}.offer-card .ingredient-art svg{height:100px;width:85px}.offer-card h3{min-height:0;margin-bottom:4px}.library-card .ingredient-body h3{margin-bottom:6px}.cauldron-zone .pot-slot .pot-detail .ingredient-art{height:135px}.cauldron-zone .pot-slot .pot-detail svg{height:115px;width:100px}@media(min-width:550px){.fan-card .ingredient-art{height:149px}.fan-card .ingredient-art svg{height:124px;width:110px}.offer-card .ingredient-art{height:170px}.offer-card .ingredient-art svg{height:140px;width:125px}}@media(max-height:730px){.fan-card .ingredient-art{height:107px}.fan-card .ingredient-art svg{height:87px;width:80px}.cauldron-zone .pot-slot .pot-detail .ingredient-art{height:85px}.cauldron-zone .pot-slot .pot-detail svg{height:68px;width:65px}}@media(max-height:540px)and (orientation:landscape){.fan-card .ingredient-art{height:85px}.fan-card .ingredient-art svg{height:65px;width:60px}.offer-card .ingredient-art{height:65px}.offer-card .ingredient-art svg{height:55px;width:55px}}.game-controls{position:absolute;top:max(16px,env(safe-area-inset-top));left:20px;right:20px;z-index:25;display:flex;align-items:center;gap:8px}.game-controls .music-control,.settings-control{position:static;width:44px;height:44px;border:1px solid #c5b9c2;border-radius:50%;background:#faf6e7dd;box-shadow:inset 0 1px #fff9;color:#85758e;display:grid;place-items:center;cursor:pointer;font-size:23px}.settings-control:disabled{opacity:.5}.settings-control:focus-visible{outline:3px solid #a28bb8;outline-offset:3px}.settings-veil{position:absolute;inset:0;z-index:40;display:grid;place-items:center;padding:20px;background:#51425766;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.settings-sheet{text-align:center}.settings-sheet h2{margin:8px 0 28px}.settings-sheet>.button{display:flex;width:100%;margin:12px 0}.settings-sheet .quiet{margin-top:22px}@media(max-width:720px)and (orientation:portrait){.board-surface{display:grid;grid-template-columns:76px minmax(0,1fr);grid-template-rows:72px minmax(0,1fr) 48px 64px clamp(184px,27dvh,230px);padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom);height:100%;box-sizing:border-box}.board-round{top:auto;left:auto;position:relative;transform:none;grid-area:1 / 1 / 2 / 3;align-self:center;justify-self:center}.cauldron-zone{position:relative;grid-area:2 / 1 / 3 / 3;top:auto;left:auto;transform:none;width:calc(100% - 100px);max-width:340px;height:min(100%,300px);min-height:0;align-self:center;justify-self:center;margin-left:0}.game-meter{position:relative;grid-area:2 / 1;top:auto;left:auto;align-self:center;justify-self:center;width:52px}.game-meter .liquid-tube{height:clamp(80px,20dvh,180px);width:36px}.game-meter .meter-cap{width:46px}.game-meter .score-total{font-size:22px;margin-top:10px}.board-surface>.recipes-trigger{position:relative;grid-area:3 / 1 / 4 / 3;inset:auto;transform:none;justify-self:center;align-self:center;margin:0;padding:10px 16px;min-height:42px;font-size:14px}.board-surface>.end-turn{position:relative;grid-area:4 / 1 / 5 / 3;inset:auto;transform:none;justify-self:center;align-self:start;min-height:48px;padding:10px 30px;margin:4px 0 0}.board-surface>.end-turn:active{transform:translateY(3px)}.fan-scroll{position:relative;grid-area:5 / 1 / 6 / 3;inset:auto;height:100%;min-height:0;width:100%;align-self:stretch}.fan-card{height:clamp(160px,22dvh,185px);width:120px;min-width:120px;bottom:calc(-8px - var(--dip));transform-origin:50% 115%}.fan-card .ingredient-art{height:clamp(94px,14dvh,116px)}.fan-card .ingredient-art svg{height:clamp(74px,11dvh,94px);width:80px}.fan-card:hover,.fan-card:focus-visible{transform:translate(-50%) translateY(-22px) rotate(0) scale(1.06)}.game-controls{top:max(14px,env(safe-area-inset-top));left:14px;right:14px;gap:7px}.board-etching{width:320px;height:320px;top:34%;left:50%}.cauldron-zone .brew-preview{font-size:20px;bottom:0;min-height:32px}.cauldron-zone.brew-swish{animation:portraitPotShake .7s ease}@keyframes portraitPotShake{20%,60%{transform:rotate(-3deg)}40%,80%{transform:rotate(3deg)}}}.game-meter{transform-origin:center center}.game-meter .liquid{animation:none;transition:height .55s ease,background .15s ease}.game-meter.score-loss{animation:scoreWiggle .4s ease}.game-meter.score-gain{animation:scoreGrow .55s ease}.game-meter.score-loss .liquid{background:linear-gradient(90deg,#b95462,#e49a91)!important;filter:none!important}.game-meter.score-loss .liquid:before,.game-meter.score-loss .liquid:after{background:#edada5}.game-meter.score-gain .liquid{background:linear-gradient(90deg,#579b6a,#a6d692)!important;filter:none!important}.game-meter.score-gain .liquid:before,.game-meter.score-gain .liquid:after{background:#bce1ac}.game-meter.score-loss .liquid-tube{border-color:#bd7278}.game-meter.score-gain .liquid-tube{border-color:#77ab7a}.game-meter.score-loss .score-total,.game-meter.score-loss .score-change{color:#b64c5d}.game-meter.score-gain .score-total,.game-meter.score-gain .score-change{color:#4c915c}.score-change{position:absolute;top:35%;left:calc(100% + 9px);font:600 27px/1 var(--serif);white-space:nowrap;pointer-events:none;text-shadow:0 1px 3px #fff9;animation:scoreDelta .8s ease both}.score-announcement{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.game-meter:disabled{opacity:1;cursor:default}@keyframes scoreWiggle{0%,to{transform:translate(0)}20%,60%{transform:translate(-4px) rotate(-2deg)}40%,80%{transform:translate(4px) rotate(2deg)}}@keyframes scoreGrow{0%,to{transform:scale(1)}40%{transform:scale(1.13)}}@keyframes scoreDelta{0%{opacity:0;transform:translateY(8px)}20%,75%{opacity:1}to{opacity:0;transform:translateY(-18px)}}@media(prefers-reduced-motion:reduce){.game-meter.score-loss,.game-meter.score-gain,.score-change{animation:none}.game-meter .liquid{transition:none}.score-change{opacity:1}}.shop-offer{display:flex;flex-direction:column;min-width:0;gap:10px}.shop-offer>.offer-card{width:100%;flex:1}.shop-recipe-button{border:1px solid #bdaac8;border-radius:14px;background:#f6edf6;color:#79628c;min-height:40px;padding:7px 4px;font:14px var(--serif);cursor:pointer}.shop-recipe-button:hover{background:#e9ddef}.shop-recipe-button:focus-visible{outline:3px solid #a28bb8;outline-offset:2px}.recipe-context{display:block;color:#715c6c;margin-top:6px}.status-dialog .effect-line{flex-wrap:wrap;gap:8px}.status-dialog .effect-line>span{flex:1;min-width:170px}.status-dialog .effect-line .button{padding:6px 12px;font-size:13px}.shop-purse{font:inherit;color:inherit;background:transparent;border:0;cursor:pointer}.used-control{position:absolute;right:20px;top:108px;z-index:24;min-width:38px;min-height:36px;border:1px solid #cdbca8;border-radius:12px;background:#f6edde;color:#766381;font-size:21px;box-shadow:0 3px 9px #40344725}.used-control small{font-size:11px}.empty-offer{min-height:170px;border:1px dashed #baa98f;border-radius:12px;display:grid;align-content:center;gap:10px;color:#948174;background:#cbbca51a}.empty-offer>span{font-size:30px}.empty-offer small{font-size:11px;line-height:1.5}.used-turn{margin:14px 0;border:1px solid #d7c7b4;border-radius:12px;padding:12px;background:#fff8e8}.used-turn summary{cursor:pointer;font-size:14px;color:#665071}.used-turn summary b{float:right;margin-left:8px}.used-ingredients{display:flex;justify-content:center;gap:14px;margin:18px 0}.used-ingredients>.ingredient{position:relative;transform:none;width:110px;min-width:0;height:auto;padding:5px;pointer-events:none}.used-ingredients .ingredient-art{height:76px}.used-ingredients .ingredient-art svg{height:65px}.used-ingredients h3{font-size:14px!important;margin:4px 0!important}.used-ingredients .type{font-size:8px}.used-ingredients .ingredient-body{padding:7px 4px}.history-note{font-size:12px;line-height:1.55;margin:9px 0;color:#796573}.status-dialog{max-height:calc(100dvh - 32px);overflow-y:auto}.shop-tier.active{display:inline-flex;align-items:center;justify-content:center}.ingredient-body>.type{display:flex;align-items:center;flex-wrap:wrap;gap:4px}.card-tier{display:inline-block;padding:2px 5px;border-radius:4px;background:#e8ddec;color:#655172;font-size:9px;font-weight:700;letter-spacing:0;white-space:nowrap}.game-controls>button{position:static;flex:0 0 44px;width:44px;height:44px;min-height:44px;margin:0;display:flex;align-items:center;justify-content:center;gap:3px;border:1px solid #c5b9c2;border-radius:12px;background:#faf6e7ed;color:#766381;box-shadow:0 3px 9px #40344718;font-size:21px}.game-controls>.shop-toggle{flex:0 1 auto;width:auto;min-width:0;padding:0 12px;font:13px var(--serif);white-space:nowrap;background:#eee3f0;border-color:#b49ac1}.game-controls>.music-control{margin-left:auto}.game-controls>button:disabled{opacity:.5}.playfield .board-round{top:78px}.pot-charge{position:absolute;top:-42px;left:50%;transform:translate(-50%);z-index:3;display:flex;align-items:center;gap:8px;min-height:36px;max-width:95%;padding:6px 14px;border:1px solid #b9a6c8;border-radius:20px;background:#f5edf9;color:#715586;box-shadow:0 3px 12px #57446015;font:13px var(--serif);white-space:nowrap}.pot-charge strong{font-size:18px;overflow-wrap:anywhere;white-space:normal}@media(max-height:730px){.cauldron-zone{top:max(160px,19%)}}@media(max-height:540px)and (orientation:landscape){.cauldron-zone{top:130px;height:180px}.playfield .board-round{top:84px}}.added-effect-card{position:fixed;z-index:60;width:min(290px,calc(100vw - 24px));visibility:hidden;pointer-events:none;transform-origin:center}.effect-popup-paper{position:relative;padding:16px 18px;border:2px solid #bea6cb;border-radius:18px;background:linear-gradient(145deg,#fff8e9,#eee0f2);box-shadow:0 12px 35px #40335455,inset 0 0 0 4px #fff6;animation:effect-card-pop .35s cubic-bezier(.2,.8,.3,1.25) both}.effect-popup-paper>small{display:block;color:#856695;text-align:center;font-size:11px;letter-spacing:.08em;text-transform:uppercase;margin-bottom:9px}.effect-popup-entry+.effect-popup-entry{border-top:1px solid #cab5cc;padding-top:9px;margin-top:9px}.effect-popup-entry strong{font-family:var(--serif);font-size:18px}.effect-popup-entry p{font-size:12px;line-height:1.45;margin:5px 0 0}.effect-popup-entry p strong{font:inherit;font-weight:700}.effect-smoke{position:absolute;inset:0;pointer-events:none}.effect-smoke i{position:absolute;left:calc(8% + var(--puff)*15%);top:55%;width:65px;height:65px;border-radius:50%;background:radial-gradient(circle at 35% 35%,#fff8ed,#cfb8df 65%,transparent 72%);animation:effect-smoke-pop .7s ease-out both;animation-delay:calc(var(--puff)*25ms);--drift:calc((var(--puff) - 2.5)*24px)}@keyframes effect-card-pop{0%{transform:translateY(25px) scale(.25) rotate(-8deg);opacity:0}70%{transform:translateY(-5px) scale(1.06) rotate(2deg);opacity:1}to{transform:translateY(0) scale(1) rotate(0);opacity:1}}@keyframes effect-smoke-pop{0%{transform:translate(-50%) scale(.3);opacity:0}20%{opacity:.9}to{transform:translate(var(--drift),-85px) scale(1.8);opacity:0}}@media(prefers-reduced-motion:reduce){.effect-popup-paper{animation:none}.effect-smoke{display:none}}[data-resource-type=Root]{--spell:#557a3a;--highlight:#c7d58a}[data-resource-type=Flora]{--spell:#c65592;--highlight:#ffd4e9}[data-resource-type=Chemical]{--spell:#d97924;--highlight:#ffe39b}[data-resource-type=Mystic]{--spell:#8552c7;--highlight:#e4d2ff}[data-resource-type=Debt]{--spell:#b64c5d;--highlight:#edb6bf}.resource-layer{position:fixed;inset:max(12px,env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left));z-index:65;pointer-events:none}.resource-origin,.resource-label{position:fixed}.resource-origin{width:0;height:0;color:var(--spell);filter:drop-shadow(0 0 var(--glow) var(--highlight))}.resource-label{width:max-content;max-width:min(240px,calc(100vw - 32px - env(safe-area-inset-left) - env(safe-area-inset-right)));padding:10px 14px;border:1px solid var(--spell);border-radius:12px 18px 14px 5px;background:#302936f2;color:#fff7e8;box-shadow:inset 0 0 0 2px #fff4d91a,0 6px 18px #30243830;overflow-wrap:anywhere;line-height:1.3;transition:opacity .15s,transform .15s}.resource-label strong{display:block;font:600 20px/1.2 var(--serif);color:var(--highlight)}.resource-label small,.resource-label>span{display:block;margin-top:4px;font-size:11px;color:#f0e3d5}.secondary-accent{display:block;margin-top:5px;width:26px;height:3px;background:var(--spell);border-radius:50%}.spell-ring{position:absolute;left:-26px;top:-26px;width:52px;height:52px;border:2px solid currentColor;border-radius:48% 52% 44% 56%;opacity:0}.spell-ring.outer{left:-38px;top:-38px;width:76px;height:76px;border-style:dashed}.spell-motif{position:absolute;left:-35px;top:-45px;width:70px;text-align:center;font:70px/1 var(--serif);opacity:0}[data-resource-type=Root] .spell-ring{border-radius:65% 15%;border-width:2px 0 3px 2px;transform:rotate(-35deg)}[data-resource-type=Flora] .spell-ring{border-radius:35% 60%}[data-resource-type=Mystic] .spell-ring{border-style:dashed}.spell-particle{position:absolute;left:-4px;top:-4px;width:8px;height:8px;background:var(--highlight);border:1px solid var(--spell);opacity:0;border-radius:50%;--end-y:0px}[data-resource-type=Root] .spell-particle{width:7px;height:13px;border-radius:0 90%}[data-resource-type=Flora] .spell-particle{width:10px;height:14px;border-radius:70% 10% 70% 45%}[data-resource-type=Mystic] .spell-particle{clip-path:polygon(50% 0,62% 38%,100% 50%,62% 62%,50% 100%,38% 62%,0 50%,38% 38%);border-radius:0;width:13px;height:13px}[data-resource-type=Chemical] .spell-particle:nth-of-type(2n){background:transparent}[data-phase=impact] .spell-particle,[data-phase=settle] .spell-particle{animation:mote-arrival .65s ease-out both}[data-phase=impact] .spell-ring,[data-phase=settle] .spell-ring{animation:spell-ring .7s ease-out both}[data-phase=impact] .spell-motif,[data-phase=settle] .spell-motif{animation:spell-open .7s ease-out both}[data-phase=departure] .resource-label{opacity:0;transform:translateY(-8px)}.is-charge .resource-origin{color:#36b9ce;--highlight:#d9faff}.is-negative:not([data-operation=spend]):not([data-operation=release]){--spell:#b64c5d;--highlight:#edb6bf}.is-negative .spell-motif{display:none}.is-negative .spell-particle{--end-y:45px}.is-negative[data-phase=impact] .spell-particle,.is-negative[data-phase=settle] .spell-particle{animation-name:mote-departure}.is-negative .spell-ring{animation-name:spell-drain}.is-quiet .resource-origin{display:none}.release-stream{position:absolute;width:16px;height:8px;left:-8px;top:-4px;border-radius:50%;background:#d9faff;box-shadow:0 0 12px 5px #36b9ce;opacity:0}[data-phase=impact] .release-stream,[data-phase=settle] .release-stream{animation:charge-flight .65s ease-in both}.cap-sparkle{position:absolute;top:-70px;left:-12px;font-size:28px;color:var(--highlight);opacity:0}[data-phase=settle] .cap-sparkle{animation:cap-sparkle .4s ease-out both}.game-meter.resource-impact{animation:resource-pulse .3s ease-out}.game-meter.resource-impact .liquid{background:linear-gradient(90deg,var(--spell),var(--highlight))!important;filter:none!important}.game-meter.resource-impact.resource-drain{--spell:#b64c5d;--highlight:#edb6bf;animation:resource-drain .3s ease-out}.pot-charge{border-color:#36b9ce;background:#eaf9fa;color:#247f90}.shop-charge{display:inline-block;color:#247f90}@keyframes resource-pulse{50%{transform:translateY(calc(-1 * var(--motion))) scale(var(--zoom))}}@keyframes resource-drain{50%{transform:translateY(var(--motion))}}@keyframes mote-arrival{0%{opacity:0;transform:translate(var(--px),var(--py)) rotate(var(--rotation)) scale(.5)}25%{opacity:1}to{opacity:0;transform:translateY(-12px) rotate(0) scale(.25)}}@keyframes mote-departure{0%{opacity:.8;transform:translate(0) rotate(0)}to{opacity:0;transform:translate(var(--px),calc(var(--py) + var(--end-y))) rotate(var(--rotation)) scale(.3)}}@keyframes spell-ring{0%{opacity:0;scale:.35;rotate:-25deg}30%{opacity:.8}to{opacity:0;scale:1.5;rotate:30deg}}@keyframes spell-drain{0%{opacity:.6;scale:1.3}to{opacity:0;scale:.3;translate:0 15px}}@keyframes spell-open{0%{opacity:0;scale:.3;rotate:-25deg}30%{opacity:.9}to{opacity:0;scale:1.25;rotate:15deg}}@keyframes charge-flight{0%{opacity:0;transform:translate(0)}15%{opacity:1}90%{opacity:1}to{opacity:0;transform:translate(var(--flight-x),var(--flight-y))}}@keyframes cap-sparkle{0%{opacity:0;scale:.5}40%{opacity:1}to{opacity:0;scale:1.25}}@media(prefers-reduced-motion:reduce){.resource-origin{display:none}.resource-label{transition:opacity .15s}.resource-spell[data-phase=departure] .resource-label{transform:none}.game-meter.resource-impact,.game-meter.resource-impact.resource-drain{animation:none}}.pot-charge.resource-impact,.shop-charge.resource-impact{animation:charge-counter .3s ease-out}.pot-charge.resource-impact.resource-drain,.shop-charge.resource-impact.resource-drain{animation-name:charge-counter-drain}@keyframes charge-counter{50%{scale:1.08;box-shadow:0 0 16px #36b9ce88}}@keyframes charge-counter-drain{50%{scale:.95}}@media(prefers-reduced-motion:reduce){.pot-charge.resource-impact,.shop-charge.resource-impact{animation:none}}.resource-spell[data-operation=set] .spell-motif,.resource-spell[data-operation=set] .spell-particle{display:none}.resource-spell[data-operation=set] .spell-ring{border-style:dashed;animation-name:spell-replace}.game-meter.resource-impact[data-operation=set]{animation:none}@keyframes spell-replace{0%{opacity:0;rotate:-90deg;scale:.8}30%{opacity:.8}to{opacity:0;rotate:90deg;scale:1}}.board-status{position:absolute;top:76px;left:max(20px,env(safe-area-inset-left));right:max(20px,env(safe-area-inset-right));display:flex;align-items:center;justify-content:center;gap:20px;min-width:0;z-index:3}.playfield .board-status .board-round{position:static;transform:none;flex:0 0 auto;letter-spacing:1px;min-height:44px}.board-status .board-round:before,.board-status .board-round:after{display:none}.board-status .pot-charge{position:static;transform:none;flex:0 1 auto;min-width:0;max-width:calc(100% - 80px);min-height:44px;gap:6px;margin:0}.board-status .pot-charge strong{min-width:0;overflow-wrap:anywhere}.turn-actions{position:absolute;left:max(16px,env(safe-area-inset-left));right:max(16px,env(safe-area-inset-right));bottom:280px;z-index:6;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr) minmax(0,1fr);gap:8px;align-items:stretch}.turn-actions>button{position:static;inset:auto;transform:none;min-width:0;width:100%;min-height:52px;margin:0;padding:9px 8px;font:clamp(12px,2.5vw,17px)/1.2 var(--serif);white-space:normal;overflow-wrap:anywhere;letter-spacing:0}.turn-actions>button:active{transform:translateY(3px)}.turn-actions>.action-secondary{border:1px solid #bdaac8;border-radius:16px;background:#f5ebf5e8;color:#79628c;box-shadow:inset 0 0 0 2px #fff7,0 3px #c3b0cc,0 5px 10px #40335412}.turn-actions>.action-secondary:hover{background:#e9ddef}.turn-actions>button:disabled{opacity:.55}@media(max-height:730px){.turn-actions{bottom:220px}}@media(max-width:720px)and (orientation:portrait){.board-surface{grid-template-rows:132px minmax(0,1fr) 64px clamp(184px,27dvh,230px)}.board-status{top:calc(72px + env(safe-area-inset-top));gap:16px}.board-surface>.cauldron-zone{top:auto;left:auto;height:min(100%,300px)}.board-surface>.turn-actions{position:relative;inset:auto;grid-area:3 / 1 / 4 / 3;align-self:center;margin:0 max(12px,env(safe-area-inset-right)) 0 max(12px,env(safe-area-inset-left))}.board-surface>.fan-scroll{grid-area:4 / 1 / 5 / 3}}@media(max-height:540px)and (orientation:landscape){.board-status{top:max(16px,env(safe-area-inset-top));left:max(20px,env(safe-area-inset-left));right:auto;width:calc(100% - 210px);justify-content:flex-start;gap:12px}.game-controls{left:auto;width:154px}.game-controls>.music-control{margin-left:0}.board-surface>.cauldron-zone{top:80px;height:160px}.turn-actions{bottom:148px;left:30%;gap:6px}.turn-actions>button{min-height:44px;font-size:12px;padding:6px}}.title-screen h1{font-size:clamp(40px,10vw,76px);letter-spacing:-2px;overflow-wrap:anywhere}.screen-shell.main-menu{position:relative;isolation:isolate;max-width:540px;min-height:850px;margin:20px auto 28px;padding:25px 34px 20px;border:1px solid #d2c1c4;border-radius:28px;background:radial-gradient(ellipse at 84% 15%,#e8deed 0%,transparent 44%),radial-gradient(ellipse at 10% 70%,#eee5cf 0%,transparent 55%),#f7f0e3;box-shadow:0 25px 75px #4e3c5b19}.screen-shell.main-menu:before{content:"";position:absolute;inset:9px;border:1px solid #c5b59966;border-radius:21px;z-index:-1;pointer-events:none}.main-menu .brand{display:flex;align-items:center;justify-content:center;gap:8px;font:20px var(--serif);letter-spacing:.4px}.main-menu .brand>span{font-size:15px;color:#ad9975;margin:0 9px}.main-menu .brand i{color:#948298}.main-menu .welcome{display:grid;grid-template-columns:minmax(0,1fr);align-items:center;gap:6px;padding:30px 0 25px}.main-menu .eyebrow{margin:0 0 10px;font-size:9px;font-weight:600;letter-spacing:2px;color:#8d7b8e}.main-menu h1{font:42px/.99 var(--serif);letter-spacing:-1.7px;margin:0}.main-menu h1 em{font-weight:400;color:#887095}.main-menu .intro{font-size:11px;color:var(--muted);margin:13px 0 0}.main-menu .progress-card{display:grid;grid-template-columns:62px minmax(0,1fr);gap:14px;padding:17px 16px;border:1px solid #cdb9d2;border-radius:16px;background:linear-gradient(120deg,#f2e9f6,#faf4e9);box-shadow:inset 0 0 0 3px #fff7,0 4px 12px #70537807}.main-menu .level-seal{height:72px;border:1px solid #aa8cb8;border-radius:14px 14px 24px 24px;background:linear-gradient(#e2d5ec,#ece2ee);text-align:center;box-shadow:inset 0 0 0 3px #f7f0f6}.main-menu .level-seal small{display:block;font-size:8px;letter-spacing:1.7px;margin-top:8px}.main-menu .level-seal strong{font:30px/1.05 var(--serif);display:block;color:#725786}.main-menu .level-seal>span{font-size:12px;color:#967baa;line-height:1}.main-menu .progress-content{align-self:center;min-width:0}.main-menu .progress-heading{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:4px;margin-bottom:9px}.main-menu .progress-heading h2{font:16px var(--serif);margin:0}.main-menu .progress-heading>span{font-size:10px;white-space:nowrap;color:#796583}.main-menu .exp-track{height:12px;padding:2px;border:1px solid #c6b5ce;border-radius:12px;background:#ded3e4;box-shadow:inset 0 2px 3px #7c628422}.main-menu .exp-track>div{width:0;height:100%;border-radius:10px;background:linear-gradient(90deg,#9a7eae,#baa1c8 75%,#d7c4df);box-shadow:inset 0 1px #fff8;transition:width .3s}.main-menu .progress-content p{margin:7px 0 0;font-size:10px;line-height:1.5;color:#86738e}.main-menu .progress-content p span{margin:0 3px}.main-menu .unlock{grid-column:1/-1;display:flex;justify-content:space-between;gap:8px;border-top:1px solid #d7c5de;padding-top:12px;font-size:12px;color:#70527f}.main-menu .start-section{margin:22px 0 16px;text-align:center}.main-menu .brew-action{display:flex;align-items:center;gap:14px;padding:17px 18px;border:1px solid #70567f;border-radius:17px;background:linear-gradient(115deg,#8a709e,#725b86);color:#fff4e6;box-shadow:inset 0 0 0 3px #cfbcd22b,0 4px #604d70,0 9px 19px #6350751c;text-align:left}.main-menu .brew-action strong{display:block;font:23px var(--serif)}.main-menu .brew-action small{display:block;margin-top:5px;font-size:10px;color:#ecdfef}.main-menu .action-star{font-size:32px;color:#d9c6a0}.main-menu .arrow{margin-left:auto;font-size:24px}.main-menu .brew-action:hover{filter:brightness(1.07)}.main-menu .new-run{display:inline-flex;gap:9px;align-items:center;justify-content:center;min-height:44px;margin-top:6px;font-size:11px;color:#86718f}.main-menu .section-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:11px}.main-menu .section-heading h2{font:17px var(--serif);margin:0;color:#806c85}.main-menu .section-heading>span{color:#b5a184}.main-menu .collection-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.main-menu .collection-card{position:relative;min-height:153px;padding:12px 15px 13px;background:#fff9ed91;border:1px solid #d6c7b7;border-radius:15px;box-shadow:inset 0 0 0 3px #fff5}.main-menu .tile-art{display:block;height:66px;width:65px;margin:0 0 5px}.main-menu .tile-art svg{width:100%;height:100%}.main-menu .collection-card strong{display:block;font:19px var(--serif)}.main-menu .collection-card small{font-size:10px;color:#8c7b83;display:block;margin-top:4px}.main-menu .tile-arrow{position:absolute;top:12px;right:14px;color:#9f8b9c;font-size:17px}.main-menu .currency{font-size:9px;color:#967a4e;display:block;margin-top:3px}.main-menu .collection-card:hover,.main-menu .runs:hover{background:#fffcf5;border-color:#b59cc3}.main-menu .runs{display:flex;align-items:center;gap:13px;padding:13px 16px;margin-top:12px;border:1px solid #d6c7b7;background:#fff9ed70;border-radius:14px}.main-menu .run-icon{font-size:26px;color:#a992b0}.main-menu .runs strong{font:17px var(--serif)}.main-menu .runs small{display:block;font-size:10px;margin-top:2px;color:#8c7b83}.main-menu .runs>span:last-child{margin-left:auto;color:#9f8b9c}.main-menu footer{text-align:center;margin-top:16px}.main-menu footer button,.main-menu footer a{border:0;background:none;color:#827087;font-size:11px;min-height:44px;padding:0 15px}.main-menu footer>span{color:#bdacae}.main-menu footer p{font:italic 11px var(--serif);color:#a19299;margin:0 0 4px}@media(max-width:560px){.screen-shell.main-menu{border:0;border-radius:0;margin:0;max-width:none;min-height:100svh;padding:20px max(24px,env(safe-area-inset-right)) max(18px,env(safe-area-inset-bottom)) max(24px,env(safe-area-inset-left));box-shadow:none}.screen-shell.main-menu:before{border-radius:22px}.main-menu .welcome{padding:32px 0 28px}.main-menu h1{font-size:38px}.main-menu .progress-card{gap:12px;padding:14px 12px;grid-template-columns:54px minmax(0,1fr)}.main-menu .progress-heading h2{font-size:15px}.main-menu .progress-heading>span{font-size:9px}.main-menu .brew-action{padding:16px 13px;gap:10px}.main-menu .brew-action strong{font-size:21px}.main-menu .section-heading h2{font-size:16px}.main-menu .collection-card{padding:10px 13px}.main-menu .brand{font-size:19px}}@media(max-width:360px){.screen-shell.main-menu{padding-left:20px;padding-right:20px}.main-menu h1{font-size:33px}.main-menu .intro{font-size:10px}.main-menu .action-star{font-size:24px}.main-menu .brew-action strong{font-size:19px}.main-menu .brew-action small{font-size:9px}.main-menu .brand>span{margin:0 3px}.main-menu .section-heading h2{font-size:15px}}@media(prefers-reduced-motion:reduce){.main-menu *{transition:none!important}}.main-menu .cosmetics-art{object-fit:contain}.main-menu{--ink:#53465b;--muted:#827387;color:var(--ink);font:14px/1.5 Segoe UI,sans-serif;margin-top:20px}.main-menu footer a{display:inline-flex;align-items:center}.main-menu .currency{overflow-wrap:anywhere}.main-menu .brew-action>span:nth-child(2){min-width:0}.main-menu .brew-action small{line-height:1.5}.main-menu .collection-card{background:radial-gradient(ellipse at 25% 22%,#e7ecdc99,transparent 65%),#fff9edb3;box-shadow:inset 0 0 0 3px #fff5,0 6px 18px #59445e06}.main-menu .collection-card:nth-child(2){background:radial-gradient(ellipse at 25% 22%,#e7ddefaa,transparent 65%),#fff9edb3}.main-menu .collection-card:hover,.main-menu .collection-card:focus-visible{background:#fffcf5;border-color:#b59cc3;box-shadow:inset 0 0 0 3px #fff9,0 6px 18px #59445e12}.main-menu .tile-art{filter:drop-shadow(0 5px 3px #55425f12)}@media(max-width:560px){.screen-shell.main-menu{margin-top:0;padding-top:max(20px,env(safe-area-inset-top))}}.desktop-potion-preview{display:none}@media(min-width:1000px)and (min-height:600px){.screen-shell{max-width:none;padding:32px clamp(32px,5vw,96px) 48px}.screen-shell.main-menu{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);grid-template-rows:auto auto auto auto auto;column-gap:clamp(48px,6vw,88px);row-gap:20px;align-content:center;align-items:center;width:100%;max-width:none;min-height:100dvh;margin:0;padding:40px max(48px,calc((100vw - 1200px)/2));border:0;border-radius:0;box-shadow:none}.main-menu .brand{grid-column:1 / -1;font-size:24px;margin-bottom:clamp(24px,5dvh,56px)}.main-menu .welcome{grid-column:1;grid-row:2;grid-template-columns:1fr;padding:0 0 18px}.main-menu h1{font-size:clamp(54px,5vw,72px);line-height:1.04;letter-spacing:-2.5px}.main-menu .intro{font-size:15px;margin-top:20px}.main-menu .progress-card{grid-column:1;grid-row:3;padding:20px}.main-menu .progress-heading h2{font-size:18px}.main-menu .progress-content p{font-size:12px}.main-menu .progress-heading>span{font-size:11px}.main-menu .start-section{grid-column:1;grid-row:4;margin:0}.main-menu .collection{grid-column:2;grid-row:2 / 5;align-self:stretch;display:flex;flex-direction:column;justify-content:center;padding-left:32px;border-left:1px solid #c5b59955}.main-menu .collection-grid{gap:16px}.main-menu .collection-card{min-height:220px;padding:22px}.main-menu .tile-art{width:90px;height:96px;margin-bottom:22px}.main-menu .collection-card strong{font-size:24px}.main-menu .collection-card small,.main-menu .runs small{font-size:13px}.main-menu .section-heading{margin-bottom:20px}.main-menu .section-heading h2{font-size:22px}.main-menu .runs{padding:20px;margin-top:16px}.main-menu footer{grid-column:1 / -1;margin:28px 0 0}.library-grid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}.playfield{max-width:none;--desktop-card-height: clamp(160px, calc(26dvh - 20px) , 240px);--desktop-card-width: calc(var(--desktop-card-height) * 18 / 25);--desktop-card-ratio: 18 / 25}.playfield:before,.playfield:after{border-radius:28px}.playfield .game-controls{top:24px;left:auto;right:32px;width:auto}.playfield .board-surface{display:grid;grid-template-columns:minmax(130px,1fr) minmax(360px,3fr) minmax(130px,1fr);grid-template-rows:64px minmax(180px,1fr) clamp(180px,26dvh,260px) 82px;gap:12px 32px;padding:16px 48px;height:100%}.playfield .board-status{position:static;grid-area:1 / 2;justify-self:center;align-self:center;width:100%}.playfield .game-meter{position:relative;inset:auto;grid-area:2 / 1;justify-self:center;align-self:center;width:120px}.playfield .game-meter .liquid-tube{margin:auto;height:clamp(110px,18dvh,260px);width:54px}.playfield .game-meter .meter-cap{width:66px}.playfield .game-meter .score-total{font-size:34px}.playfield .board-surface>.cauldron-zone{position:relative;inset:auto;transform:none;grid-area:2 / 2;justify-self:center;align-self:center;width:100%;max-width:540px;height:100%;max-height:440px}.playfield .cauldron-zone.brew-swish{animation-name:desktopPotShake}.playfield .cauldron-zone .pot-slot.filled{flex:0 0 auto;width:auto;height:100%;max-height:87.5px;aspect-ratio:var(--desktop-card-ratio)}.playfield .cauldron-zone .pot-slot .pot-detail{width:var(--desktop-card-width);height:var(--desktop-card-height);aspect-ratio:var(--desktop-card-ratio);padding:4px}.playfield .cauldron-zone .pot-slot .pot-detail .ingredient-art{height:clamp(80px,13dvh,145px)}.playfield .cauldron-zone .pot-slot .pot-detail .ingredient-art svg{width:100px;max-width:100%;height:90%}.playfield .cauldron-zone .pot-slot .pot-detail .ingredient-body{padding:5px 5px 8px}.playfield .cauldron-zone .pot-slot .pot-detail h3{font-size:15px;margin:3px 0 6px}.playfield .cauldron-zone .pot-slot .pot-detail .type{font-size:7px}.playfield .board-etching{top:32%;width:min(44vw,58dvh);height:min(44vw,58dvh)}.playfield .turn-actions{position:relative;inset:auto;grid-area:4 / 1 / 5 / -1;grid-template-columns:minmax(0,1fr) minmax(0,1.25fr) minmax(0,1fr);align-self:center;justify-self:center;width:min(100%,850px);gap:16px;padding:12px 18px;border:1px solid #c7b5cb;border-radius:22px;background:linear-gradient(120deg,#fff8edeb,#eee2f1ed);box-shadow:inset 0 1px #fff9,0 8px 24px #51425712}.playfield .turn-actions>button{min-height:54px;font-size:17px;padding:12px}.playfield .fan-scroll{position:relative;inset:auto;grid-area:3 / 1 / 4 / -1;height:100%;-webkit-mask-image:none;mask-image:none;overflow:visible}.playfield .fan-hand{display:flex;align-items:flex-end;justify-content:center;gap:clamp(16px,2vw,36px);width:100%;min-width:0;padding:20px 0 0}.playfield .fan-card{position:relative;inset:auto;transform:none;flex:0 0 var(--desktop-card-width);width:var(--desktop-card-width);min-width:0;height:var(--desktop-card-height);max-height:none;aspect-ratio:var(--desktop-card-ratio)}.playfield .fan-card:hover,.playfield .fan-card:focus-visible{transform:translateY(-12px);z-index:10}.playfield .fan-card.in-pot{transform:translateY(4px)}.playfield .fan-card .ingredient-art{height:clamp(80px,13dvh,145px)}.playfield .fan-card .ingredient-art svg{width:100px;height:90%}.playfield .shop-sheet{max-width:880px;padding:28px 36px}.playfield .shop-offers{gap:24px}.playfield .recipe-sheet{width:min(960px,90vw);max-width:960px}.playfield .status-dialog{width:min(720px,85vw)}.playfield .desktop-potion-preview{display:block;position:absolute;top:92px;left:50%;transform:translate(-50%);z-index:4;width:min(calc(100% - 96px),760px);height:auto;overflow:visible;pointer-events:none;padding:14px 22px;border:1px solid #c5afce;border-radius:20px;background:linear-gradient(125deg,#fff8e9,#f0e6f3);box-shadow:inset 0 0 0 3px #fff7,0 6px 20px #57446015}.desktop-potion-preview header{display:flex;align-items:center;justify-content:center;gap:18px;text-align:center;color:#967ba3}.desktop-potion-preview header small{font-size:10px;letter-spacing:.12em;text-transform:uppercase}.desktop-potion-preview h2{margin:3px 0 10px;font:23px/1.15 var(--serif);color:#665071}.potion-preview-effects{display:block;text-align:center}.potion-preview-effects>div{min-width:0}.potion-preview-benefit{color:#668266}.potion-preview-drawback{color:#a87569;border-left:1px solid #d8caba;padding-left:22px}.potion-effect-label{font-size:10px;font-weight:600;letter-spacing:.08em;text-transform:uppercase}.desktop-potion-preview p{margin:4px 0 0;font-size:13px;line-height:1.5;overflow-wrap:anywhere}.playfield .shop-veil,.playfield .inspect-veil,.playfield .recipe-veil,.playfield .settings-veil{position:fixed}}@keyframes desktopPotShake{20%,60%{transform:rotate(-3deg)}40%,80%{transform:rotate(3deg)}}@media(prefers-reduced-motion:reduce){.playfield .cauldron-zone.brew-swish{animation:none}}
