:root{--ink:#191a21;--paper:#fff8df;--yellow:#ffce36;--blue:#375deb;--mint:#c2f0b8;--red:#ef624a;--line:3px solid var(--ink);font-family:Arial,'PingFang SC','Microsoft YaHei',sans-serif;color:var(--ink);background:#f4f1e8;font-synthesis:none}*{box-sizing:border-box}body{margin:0;padding-bottom:92px;background-image:radial-gradient(#191a211c .85px,transparent .85px);background-size:7px 7px}button,input,select{font:inherit}button{cursor:pointer;color:inherit}button:disabled{cursor:not-allowed;opacity:.45}button:focus-visible,input:focus-visible,select:focus-visible,a:focus-visible{outline:3px solid #ef624a;outline-offset:4px}button{touch-action:manipulation}header{background:var(--ink);color:white;min-height:95px;padding:22px max(5vw,20px);display:flex;justify-content:space-between;align-items:center;gap:14px}.brand{display:flex;align-items:center;gap:12px;font-size:30px;font-style:italic;font-weight:1000;letter-spacing:-1px}.brand-mark{display:grid;place-items:center;background:var(--yellow);color:var(--ink);width:51px;height:48px;border:2px solid white;transform:rotate(-7deg);font-size:30px;box-shadow:3px 3px 0 var(--blue)}.brand small{display:block;font-size:10px;letter-spacing:1.8px;font-weight:600;font-style:normal;margin-top:3px}.wallet{border:2px solid var(--yellow);padding:8px 14px;display:flex;align-items:center;gap:9px;transform:rotate(2deg);font-size:24px}.wallet span{color:var(--yellow)}.wallet small{font-size:10px;letter-spacing:1px}.edition{background:var(--yellow);border-bottom:var(--line);display:flex;justify-content:space-between;align-items:center;padding:9px max(5vw,20px);gap:10px;font-size:11px;font-weight:900;letter-spacing:1px}.edition button{border:0;background:none;font-size:13px;font-weight:700;padding:3px}main{max-width:1250px;margin:auto;padding:30px 24px}.page-heading{display:flex;justify-content:space-between;align-items:end;margin-bottom:22px;gap:10px}h1{font-size:38px;font-style:italic;letter-spacing:-1.8px;line-height:1.1;margin:0}h1 span{font-size:16px;font-style:normal;letter-spacing:0;margin-left:10px;font-weight:500}.eyebrow{font-size:11px;font-weight:900;letter-spacing:2px;margin:0 0 8px;text-transform:uppercase}.muted{color:#606068;font-size:14px;line-height:1.6}p{line-height:1.65}h2{margin:0;font-size:20px}h3{margin:0;font-size:17px}.pill{display:inline-block;background:var(--paper);border:2px solid var(--ink);padding:5px 9px;font-size:12px;font-weight:800;white-space:nowrap}.panel{background:var(--paper);border:var(--line);box-shadow:5px 5px 0 var(--ink);min-width:0}.panel-head{padding:15px 18px;border-bottom:var(--line);display:flex;align-items:center;justify-content:space-between;gap:10px}.panel-head h2{display:flex;align-items:center;gap:9px}.num{display:inline-grid;place-items:center;background:var(--ink);color:white;font-size:13px;font-weight:900;width:25px;height:25px}.bench{display:grid;grid-template-columns:260px 1fr 285px;gap:22px;align-items:start}.mold-list{padding:12px;display:grid;gap:9px}.mold-choice{display:flex;align-items:center;gap:12px;text-align:left;border:2px solid transparent;background:transparent;padding:6px 9px;width:100%;position:relative}.mold-choice.selected{border-color:var(--ink);background:var(--yellow);box-shadow:3px 3px 0 var(--ink)}.mold-choice.locked{color:#65656b}.mold-choice strong{font-size:15px;display:block}.mold-choice small{display:block;font-size:11px;margin-top:4px;letter-spacing:1px}.mold-choice .art{width:62px;flex-shrink:0;height:58px}.lock{margin-left:auto;font-size:13px}.art{background-color:var(--paper);background-image:url('/molds.webp');background-size:300% 200%;background-repeat:no-repeat;aspect-ratio:1.2;border-radius:4px;mix-blend-mode:multiply}.tile-0{background-position:0 0}.tile-1{background-position:50% 0}.tile-2{background-position:100% 0}.tile-3{background-position:0 100%}.tile-4{background-position:50% 100%}.tile-5{background-position:100% 100%}.recipe-body{padding:20px}.field-label{display:flex;align-items:center;justify-content:space-between;gap:8px;font-weight:800;font-size:15px;margin-bottom:10px}.ratio-value{font-size:37px;font-weight:1000;letter-spacing:-1px;line-height:1}.ratio-value small{font-size:13px;letter-spacing:0}.range-caption{display:flex;justify-content:space-between;font-size:12px;color:#55565d;margin-top:5px}.slider{width:100%;accent-color:var(--blue);height:25px;cursor:pointer;margin:8px 0}select{border:2px solid var(--ink);background:white;color:var(--ink);border-radius:0;padding:13px 10px;width:100%;font-weight:700;font-size:14px;min-height:47px}.field{margin-top:23px}.help{font-size:13px;color:#55545b;line-height:1.55;margin:8px 0 0}.ad-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.ad-chip{background:white;border:2px solid var(--ink);text-align:left;padding:11px 9px;min-height:66px}.ad-chip strong{font-size:13px;display:block}.ad-chip small{font-size:11px;display:flex;justify-content:space-between;margin-top:5px}.ad-chip.active{background:#dfe6ff;border-color:var(--blue);box-shadow:2px 2px 0 var(--blue)}.ad-desc{font-size:12px;color:#54545d;margin-top:9px;line-height:1.7}.analysis{background:var(--blue);color:white;border:var(--line);box-shadow:5px 5px 0 var(--ink);padding:20px}.analysis .eyebrow{color:#d7dfff}.analysis h2{font-size:24px}.preview-art{position:relative;margin:16px 0;background:var(--paper);border:var(--line);transform:rotate(-2deg)}.preview-art .art{width:100%;height:180px}.stamp{position:absolute;bottom:8px;right:6px;background:var(--yellow);color:var(--ink);border:2px solid var(--ink);padding:5px 8px;font-size:12px;font-weight:900;transform:rotate(7deg)}.metric{margin:17px 0}.metric-top{display:flex;justify-content:space-between;align-items:center;font-size:13px;gap:8px}.metric-top b{font-size:20px}.meter{height:9px;background:#19244d;border:1px solid #171c30;margin-top:7px;overflow:hidden}.meter span{display:block;height:100%;background:var(--yellow);transition:width .2s}.metric small{display:block;font-size:11px;margin-top:6px;color:#e0e6ff}.price-line{display:flex;justify-content:space-between;border-top:1px solid #ffffff55;padding:14px 0 0;margin-top:16px;font-size:13px;align-items:center}.price-line b{font-size:24px;color:var(--yellow)}.cta{width:100%;padding:15px 13px;background:var(--yellow);border:var(--line);box-shadow:4px 4px 0 var(--ink);font-size:17px;font-weight:900;color:var(--ink);margin-top:16px}.cta:active,.btn:active{transform:translate(2px,2px);box-shadow:1px 1px 0 var(--ink)}.btn{padding:11px 15px;background:white;border:2px solid var(--ink);box-shadow:3px 3px 0 var(--ink);font-weight:800;font-size:14px}.btn.blue{background:var(--blue);color:white}.btn.yellow{background:var(--yellow)}.note{margin-top:22px;display:flex;gap:12px;border:2px solid var(--ink);background:var(--mint);padding:13px 16px;font-size:13px;line-height:1.6}.note b{white-space:nowrap}.footnote{font-size:11px;text-align:center;color:#69666a;line-height:1.7;margin-top:23px}nav{position:fixed;z-index:10;bottom:0;left:0;right:0;background:var(--ink);color:white;display:flex;justify-content:center;padding:7px 14px max(9px,env(safe-area-inset-bottom));gap:8px;border-top:3px solid var(--ink)}nav button{border:0;background:none;color:#c3c3ce;min-width:130px;padding:10px 22px;font-weight:800;font-size:14px;display:flex;align-items:center;justify-content:center;gap:9px}nav button.active{background:var(--yellow);color:var(--ink);transform:rotate(-1deg)}.nav-symbol{font-size:22px;line-height:1}.badge{border-radius:50%;background:var(--red);color:white;min-width:19px;height:19px;display:inline-grid;place-items:center;font-size:11px}#toast{position:fixed;z-index:40;bottom:92px;left:50%;transform:translate(-50%,15px);background:var(--ink);color:white;border:2px solid white;padding:13px 20px;box-shadow:4px 4px 0 var(--blue);max-width:90vw;width:max-content;opacity:0;pointer-events:none;transition:.2s;font-size:14px}#toast.show{opacity:1;transform:translate(-50%,0)}dialog{width:min(640px,92vw);max-height:85dvh;overflow:auto;border:var(--line);box-shadow:8px 8px 0 var(--ink);background:var(--paper);padding:28px;color:var(--ink)}dialog::backdrop{background:#191a21a8;backdrop-filter:blur(3px)}dialog h2{font-size:28px;padding-right:23px}dialog h3{margin-top:22px}dialog p,dialog li{font-size:14px;line-height:1.8}dialog a{color:var(--blue)}.close{position:absolute;top:9px;right:12px;border:0;background:none;font-size:30px}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:23px}.shop-card{padding:20px;display:flex;flex-direction:column}.shop-card .art{height:175px;width:100%;margin:8px 0}.shop-card h2{display:flex;justify-content:space-between;align-items:center}.shop-card .cta{margin-top:auto}.shop-card p{font-size:14px}.shop-tag{font-size:11px;letter-spacing:2px;color:#555;font-weight:800}.owned-tag{font-size:12px;background:var(--mint);padding:4px 7px;border:2px solid var(--ink)}.stage{max-width:850px;margin:auto}.stage .panel{padding:26px}.steps{display:flex;gap:5px;margin-bottom:20px}.steps span{flex:1;border-bottom:4px solid #d0cbbc;padding:8px 0;font-size:13px;font-weight:700;text-align:center}.steps span.on{border-color:var(--blue);color:var(--blue)}.stage-title{display:flex;justify-content:space-between;align-items:center;gap:15px}.stage-title .loud{font-size:39px;font-style:italic;letter-spacing:-2px}.mix-layout{display:grid;grid-template-columns:1.15fr 1fr;gap:24px;margin-top:24px;align-items:center}.mix-pad{display:block;width:100%;max-width:380px;aspect-ratio:1;border:var(--line);background:#d9d7ca;touch-action:none;cursor:grab;box-shadow:5px 5px 0 var(--ink)}.mix-pad:active{cursor:grabbing}.big-progress{font-size:58px;font-weight:1000;letter-spacing:-3px;line-height:1}.big-progress small{font-size:17px;letter-spacing:0}.load-row{display:flex;gap:8px;flex-wrap:wrap;margin:15px 0}.load-row button{padding:9px;border:2px solid var(--ink);background:white;font-size:13px}.load-row button.done{background:var(--mint)}.phase-art{height:200px;max-width:280px;margin:auto}.result-tag{background:var(--yellow);border:var(--line);padding:8px 14px;font-size:28px;font-style:italic;font-weight:900;display:inline-block;transform:rotate(-4deg)}.result-tag.fail{background:var(--red)}.two-actions{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin-top:18px}.two-actions .btn{min-height:49px}.cure-option{padding:22px;border:var(--line);background:#e4ebff;text-align:left;box-shadow:4px 4px 0 var(--ink)}.cure-option:last-child{background:var(--yellow)}.cure-option h3{font-size:20px}.cure-option b{display:block;font-size:33px;margin:15px 0}.cure-option p{font-size:14px;margin:8px 0}.batch-card{padding:20px}.batch-card .art{height:155px;max-width:250px;margin:12px auto}.batch-card .timer{font-size:34px;font-weight:1000;letter-spacing:1px}.batch-card .meter{background:#ddd7c3;height:11px;border:2px solid var(--ink)}.batch-card .meter span{background:var(--blue)}.batch-meta{display:flex;justify-content:space-between;font-size:13px;gap:8px}.batch-result{display:flex;justify-content:space-between;padding:16px 0;gap:12px}.batch-result b{font-size:24px;display:block}.batch-result small{font-size:12px}.empty{padding:50px 25px;text-align:center;background:var(--paper);border:var(--line);box-shadow:5px 5px 0 var(--ink)}.empty .empty-symbol{font-size:70px;line-height:1;color:var(--blue);font-weight:1000}.empty h2{font-size:24px;margin:18px 0 8px}.empty p{font-size:14px}.empty .btn{margin-top:12px}.history-row{display:grid;grid-template-columns:60px 1fr 100px;align-items:center;gap:16px;padding:18px;border-bottom:2px solid var(--ink)}.history-row:last-child{border:0}.history-row .art{width:60px;height:56px}.history-row small{font-size:12px}.history-row b{display:block;margin-bottom:5px}.history-row .amount{font-size:23px;font-weight:900;text-align:right}.stats-row{display:flex;gap:20px;margin:20px 0}.stats-row>div{flex:1;padding:18px;background:var(--yellow);border:var(--line)}.stats-row b{font-size:33px;display:block}.stats-row small{font-size:13px}.recovery{margin-top:20px;padding:17px;border:var(--line);background:var(--mint)}.recovery p{font-size:14px}.status-error{background:#fdd7cb}.batch-action{min-height:48px}.science-table{width:100%;border-collapse:collapse;font-size:13px;margin:12px 0}.science-table td,.science-table th{padding:10px 5px;text-align:left;border-bottom:1px solid #aaa;vertical-align:top}.science-table th{font-size:12px}.source-list{padding-left:20px}.solid-rule{border:0;border-top:2px solid var(--ink);margin:20px 0}.save-error{background:var(--red);padding:12px;font-size:14px;border:var(--line)}
@media(min-width:1100px){.analysis{position:sticky;top:20px}}@media(max-width:1050px){.bench{grid-template-columns:190px 1fr;gap:18px}.analysis{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:5px 28px}.analysis .preview-art{grid-row:2/6;margin:10px 0}.analysis .preview-art .art{height:220px}.analysis .metric{margin:7px 0}.analysis .analysis-title{grid-column:1/-1}.analysis .price-line{grid-column:1}.analysis .cta{grid-column:2;grid-row:6;margin-top:8px}.analysis .mini-note{grid-column:2}.mold-choice{padding:5px;gap:7px}.mold-choice .art{width:46px;height:46px}.mold-choice strong{font-size:13px}.cards{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){body{padding-bottom:88px}header{padding:17px 17px;min-height:80px}.brand{font-size:25px;gap:9px}.brand small{font-size:8px;letter-spacing:.8px}.brand-mark{width:39px;height:40px;font-size:24px}.wallet{padding:7px 10px;font-size:21px;gap:6px}.wallet small{display:none}.edition{padding:8px 17px;font-size:8px;letter-spacing:.6px}.edition>span{max-width:190px;line-height:1.5}.edition button{font-size:11px;white-space:nowrap}main{padding:23px 17px}h1{font-size:32px}h1 span{font-size:13px;margin-left:6px}.page-heading{margin-bottom:19px}.eyebrow{font-size:10px}.page-heading .pill{font-size:10px;padding:5px}.bench{display:flex;flex-direction:column;gap:20px}.bench>.panel,.analysis{width:100%}.panel-head{padding:13px 14px}.panel-head h2{font-size:17px}.mold-list{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;padding:12px}.mold-choice{display:flex;flex-direction:column;padding:8px 4px;gap:3px;min-width:0;text-align:center;border:2px solid #d7d2c3;background:#ffffff5e}.mold-choice .art{height:50px;width:69px}.mold-choice strong{font-size:13px}.mold-choice small{font-size:9px;letter-spacing:.5px;margin-top:3px}.lock{position:absolute;top:4px;right:5px;font-size:10px}.mold-choice.locked .art{opacity:.65}.recipe-body{padding:18px}.field{margin-top:20px}.analysis{padding:17px;gap:5px 16px}.analysis h2{font-size:22px}.analysis .preview-art .art{height:155px}.analysis .metric-top{font-size:11px}.analysis .metric-top b{font-size:17px}.analysis .metric small{font-size:10px}.analysis .price-line b{font-size:22px}.analysis .price-line{font-size:12px;align-self:center}.analysis .cta{font-size:14px;padding:13px 8px}.analysis .mini-note{font-size:10px}.note{font-size:12px;padding:12px}.note b{white-space:normal;min-width:30px}nav{gap:3px;padding:7px 8px max(9px,env(safe-area-inset-bottom))}nav button{min-width:0;flex:1;padding:8px 4px;font-size:11px;gap:5px;flex-direction:column;position:relative}.nav-symbol{font-size:22px}.badge{position:absolute;right:14px;top:4px;min-width:16px;height:16px;font-size:10px}.cards{gap:18px;grid-template-columns:1fr 1fr}.shop-card,.batch-card{padding:13px}.shop-card .art{height:112px}.shop-card h2{font-size:17px;display:block}.owned-tag{display:inline-block;font-size:10px;margin-top:5px}.shop-tag{font-size:9px}.shop-card p{font-size:12px}.shop-card .cta{font-size:13px;padding:11px 8px}.stage .panel{padding:18px}.stage-title .loud{font-size:29px}.steps span{font-size:11px}.mix-layout{grid-template-columns:1fr;margin-top:18px}.mix-pad{max-width:300px;margin:auto}.big-progress{font-size:40px}.mix-layout .mix-control{display:grid;grid-template-columns:auto 1fr;gap:8px 15px;align-items:center}.mix-control .load-row,.mix-control .help,.mix-control .cta{grid-column:1/-1}.mix-control .cta{margin-top:5px}.two-actions{gap:11px}.cure-option{padding:15px}.cure-option h3{font-size:17px}.cure-option b{font-size:29px}.cure-option p{font-size:12px}.batch-card .art{height:110px}.batch-card h2{font-size:17px}.batch-card .timer{font-size:23px}.batch-card .cta{font-size:13px;padding:11px 6px}.batch-meta{font-size:10px}.batch-result b{font-size:17px}.batch-result small{font-size:10px}.batch-result{gap:5px}.stats-row{gap:10px}.stats-row>div{padding:12px}.stats-row b{font-size:26px}.stats-row small{font-size:11px}.history-row{padding:12px;grid-template-columns:45px 1fr 65px;gap:10px}.history-row .art{width:45px;height:43px}.history-row .amount{font-size:20px}.history-row b{font-size:14px}.history-row small{font-size:10px}dialog{padding:23px}dialog h2{font-size:24px}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
/* Keep playable controls comfortable on compact screens. */
.mold-choice strong,.ad-chip strong{font-size:14px}
@media(max-width:600px){.shop-card .cta,.batch-card .cta,.two-actions .btn{font-size:14px}.mold-choice strong{font-size:14px}.stage .help{font-size:14px;line-height:1.6}.history-row [data-recipe]{min-height:35px}}
.header-controls{display:flex;align-items:center;gap:16px;flex-shrink:0}
#language{width:123px;min-height:44px;padding:9px 8px;background:var(--ink);color:white;border:2px solid #fff;font-size:14px;font-weight:700;border-radius:0}
html:not([lang="zh-CN"]) .mold-choice{overflow-wrap:anywhere}
html:not([lang="zh-CN"]) .mold-choice small{font-size:10px;letter-spacing:0}
html:not([lang="zh-CN"]) .ad-chip strong{line-height:1.3}
html:not([lang="zh-CN"]) .stage-title .loud{font-size:clamp(22px,4vw,36px);letter-spacing:-1px}
html:not([lang="zh-CN"]) .batch-card .cta{overflow-wrap:anywhere;line-height:1.4}
html:not([lang="zh-CN"]) .field-label{flex-wrap:wrap}
@media(max-width:600px){
 header{flex-wrap:wrap;gap:14px;padding:14px 17px}
 .brand{flex:1}.header-controls{flex:1;justify-content:flex-end;gap:9px}
 #language{width:101px;font-size:14px;padding:8px 5px}
 .wallet{font-size:20px}
 .edition{align-items:center}.edition>span{max-width:48%}.edition button{white-space:normal;text-align:right;max-width:48%;font-size:12px}
 html:not([lang="zh-CN"]) h1{font-size:28px;letter-spacing:-1px}
 html:not([lang="zh-CN"]) .page-heading{align-items:start;flex-wrap:wrap}
 html:not([lang="zh-CN"]) .panel-head h2{font-size:16px}
 html:not([lang="zh-CN"]) .mold-choice strong{font-size:13px}
 html:not([lang="zh-CN"]) .mold-choice small{font-size:9px}
 html:not([lang="zh-CN"]) .mold-choice{min-height:114px}
 html:not([lang="zh-CN"]) .metric-top{flex-wrap:wrap;gap:3px}
 html:not([lang="zh-CN"]) .analysis .preview-art .art{height:180px}
 html:not([lang="zh-CN"]) .price-line{flex-wrap:wrap;gap:8px}
 html:not([lang="zh-CN"]) .stage-title{flex-wrap:wrap}
 html:not([lang="zh-CN"]) .cards{grid-template-columns:1fr}
 html:not([lang="zh-CN"]) .shop-card .art,html:not([lang="zh-CN"]) .batch-card .art{width:175px;height:175px;align-self:center}
 html:not([lang="zh-CN"]) .shop-card h2{display:flex}
 html:not([lang="zh-CN"]) .stats-row{flex-wrap:wrap}
 html:not([lang="zh-CN"]) .stats-row>div{min-width:100px}
 html:not([lang="zh-CN"]) .two-actions{grid-template-columns:1fr}
 html:not([lang="zh-CN"]) .note{flex-direction:column;gap:4px}
}
/* Distinct, shape-matched curing artwork; the finished piece leaves its bath. */
.art.water-art{background-image:url('/water-molds.webp')}
.cure-option .curing-art{display:block;width:min(100%,190px);height:auto;aspect-ratio:1;margin:14px auto 6px}
.batch-card .curing-art{width:min(100%,220px);height:auto;aspect-ratio:1}
.brand small{font-size:13px;letter-spacing:.3px;line-height:1.4;text-transform:none}
@media(max-width:600px){
 .brand{min-width:0}.brand small{font-size:12px;letter-spacing:0;max-width:290px;white-space:normal}
 .cure-option .curing-art{width:min(100%,175px);height:auto}
 .batch-card .curing-art{width:min(100%,175px);height:auto}
 html:not([lang="zh-CN"]) .batch-card .curing-art{height:auto;aspect-ratio:1}
}

/* Account controls follow the workshop's comic palette. */
.account-bar{max-width:1400px;margin:12px auto 0;padding:0 24px;display:flex;align-items:center;justify-content:space-between;gap:12px}.account-bar button{font:inherit;font-size:14px;cursor:pointer}#cloud-status{background:transparent;border:0;text-align:left;padding:10px 0;line-height:1.5}#cloud-status[data-status=saved]{color:#19623d}#cloud-status[data-status=offline],#cloud-status[data-status=conflict]{color:#a62f16;font-weight:700}#account-button{flex-shrink:0;background:var(--yellow)}#account-dialog{width:min(480px,calc(100vw - 32px));max-height:85dvh;padding:30px 24px;overflow:auto;border:3px solid var(--ink);background:var(--paper);box-shadow:8px 8px 0 var(--ink);color:var(--ink)}#account-dialog::backdrop{background:#191a21aa}#account-dialog .close{position:absolute;right:10px;top:8px;border:0;background:none;font-size:28px;cursor:pointer}#account-dialog h2{margin:10px 0;font-size:26px}#account-dialog p{line-height:1.65}#account-dialog label{display:block;font-size:16px;font-weight:700;margin:16px 0}#account-dialog input{display:block;width:100%;box-sizing:border-box;padding:12px;border:2px solid var(--ink);margin-top:6px;font:inherit;font-size:16px;background:white;color:#191a21}#account-dialog .cta{width:100%;margin:8px 0}#account-dialog .account-tabs{display:flex;gap:10px;margin:18px 0}.account-actions{display:grid;gap:12px;margin:18px 0}.account-email{overflow-wrap:anywhere;font-weight:bold}#account-dialog [data-message]{color:#9a301f;min-height:1.5em}#account-dialog .help{font-size:14px}#account-dialog button:disabled{opacity:.55;cursor:wait}@media(max-width:600px){.account-bar{padding:0 16px;align-items:flex-start;gap:8px}.account-bar button{font-size:13px}#account-button{padding:9px}#account-dialog{padding:28px 18px}}
/* Workshop expansion */
.space{margin-top:26px}.center{text-align:center}.expanded{grid-template-columns:minmax(220px,.8fr) minmax(300px,1.4fr) minmax(240px,.8fr)}.recipe-body>.art{max-width:230px;margin:auto}.device-art{width:100%;aspect-ratio:1;background-image:url('/mixer-upgrades.webp');background-size:300% 100%;background-repeat:no-repeat}.recipe-body>.device-art{width:160px;margin:0 auto}.metric>b{display:block;font-size:27px;margin:8px 0}.analysis .help{color:#e0e6ff}.field-label{gap:10px}.field-label small{font-size:11px}.binder-bar{display:flex;min-height:34px;border:2px solid var(--ink);margin:14px 0;font-size:11px;background:var(--mint);overflow:hidden}.binder-bar span{background:var(--yellow);padding:8px 4px;white-space:nowrap;flex-shrink:0}.binder-bar b{padding:8px 4px;white-space:nowrap}.blend-row{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:13px 0;border-bottom:1px solid #191a2125}.blend-row small,.collectible small{display:block;font-size:11px;margin-top:5px;line-height:1.5}.blend-row.locked{opacity:.65}.stepper{display:flex;align-items:center;gap:5px;flex-shrink:0}.stepper .btn{padding:5px 9px;min-width:32px;min-height:38px}.stepper b{min-width:31px;text-align:center;font-size:12px}.ad-chip small{line-height:1.5;display:block}.shop-tabs{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:24px}.shop-card .device-art{max-width:260px;margin:auto}.material-mark{min-height:115px;display:grid;place-items:center;font-weight:950;font-size:24px;transform:rotate(-3deg);background:var(--yellow);border:3px solid var(--ink);margin:16px 0;overflow-wrap:anywhere;text-align:center;padding:10px}.play-panel{max-width:760px;margin:0 auto;padding:24px}.stage-tabs{display:flex;gap:8px;justify-content:space-between}.stage-tabs span{padding:9px;font-size:12px;font-weight:800;border:2px solid var(--ink);flex:1;background:#eae3ce}.stage-tabs .current,.tray-slots .current{background:var(--yellow);box-shadow:3px 3px 0 var(--ink)}.stage-tabs .done{background:var(--mint)}.mix-arena{position:relative;width:min(100%,420px);margin:10px auto;aspect-ratio:1;touch-action:none;cursor:grab;overflow:hidden;background:radial-gradient(ellipse,#ffce3670,transparent 65%);--turn:0deg}.mix-arena .device-art{position:absolute;inset:0;transform-origin:50% 70%;transition:transform .08s}.mix-arena.moving.bowl .device-art{transform:rotate(5deg) translateY(-3px)}.mix-arena.moving.stand .device-art{animation:machine-vibrate .12s infinite}.mix-arena.moving.drum .device-art{transform:rotate(-4deg)}.swirl{position:absolute;left:34%;top:43%;width:30%;height:15%;transform:rotate(var(--turn));opacity:0;pointer-events:none}.loaded .swirl{opacity:1}.swirl i{position:absolute;width:8px;height:5px;background:#777c79;border:1px solid var(--ink);border-radius:50%;left:50%;top:50%;transform:rotate(calc(var(--i)*60deg)) translateX(30px)}.swirl i:nth-child(1){--i:0}.swirl i:nth-child(2){--i:1}.swirl i:nth-child(3){--i:2}.swirl i:nth-child(4){--i:3}.swirl i:nth-child(5){--i:4}.swirl i:nth-child(6){--i:5}.stand .swirl{top:57%;left:28%}.drum .swirl{top:26%;left:42%}.comic-pop{position:absolute;right:5%;top:10%;font-size:27px;font-style:italic;font-weight:1000;transform:rotate(10deg) scale(.8);opacity:0;background:var(--yellow);border:3px solid var(--ink);padding:8px;box-shadow:4px 4px var(--ink);transition:.12s}.moving .comic-pop{opacity:1;transform:rotate(10deg) scale(1)}.mix-gauge{position:relative;height:24px;background:#e9ddc4;border:3px solid var(--ink);margin:20px 0 10px;overflow:hidden}.mix-gauge span{display:block;height:100%;transition:width .1s}.mix-gauge i{position:absolute;left:41.66%;width:19.44%;inset-block:0;border-left:3px dashed var(--ink);border-right:3px dashed var(--ink);background:#54aa4a25}.progress-label{display:flex;justify-content:space-between;gap:10px;font-size:13px}.load-row{display:flex;gap:12px;justify-content:center;margin:18px 0}.load-row .btn{min-height:45px}.play-panel>.cta{margin-top:16px;width:100%}.tray-slots{display:flex;gap:10px;margin-bottom:22px}.tray-slots span{border:2px solid var(--ink);padding:8px 15px}.pour-arena{position:relative;height:365px;overflow:hidden;background:radial-gradient(ellipse at bottom,#ffce3650,transparent 70%);touch-action:none}.mold-target{position:absolute;left:50%;bottom:0;transform:translateX(-50%);width:230px;height:230px;border:0;background:none;padding:0;cursor:pointer}.mold-target .art{position:absolute;inset:0;width:100%;height:100%;margin:0}.mold-target .ghost{opacity:.2;filter:grayscale(1)}.mold-target .filled{clip-path:inset(100% 0 0 0)}#pour-bowl{position:absolute;left:20%;top:70px;width:165px;height:165px;transform:translate(-50%,-50%);z-index:2;cursor:grab;touch-action:none}#pour-bowl .device-art{transform:rotate(0);transition:transform .15s}#pour-bowl.tilted .device-art{transform:rotate(35deg)}.pour-stream{display:none;position:absolute;left:80%;top:66%;width:14px;height:100px;background:repeating-linear-gradient(0deg,#8c918a 0 8px,#b6b8aa 8px 14px);border-radius:8px;transform:rotate(-8deg);animation:stream .2s linear infinite;z-index:-1}.pouring .pour-stream{display:block}.bubbles{position:absolute;inset:20%;pointer-events:none}.bubbles i{display:none;position:absolute;border:2px solid var(--ink);border-radius:50%;width:12px;height:12px;background:#fff8df;left:25%;bottom:15%}.bubbles i:nth-child(2){left:65%;animation-delay:.05s!important}.bubbles i:nth-child(3){left:45%;animation-delay:.1s!important}.full.tapping .bubbles i{display:block;animation:bubble .5s forwards}.mold-target.tapping{animation:tap-shake .18s}.mini-tray{display:flex;justify-content:center;flex-wrap:wrap}.mini-tray>div{width:110px;text-align:center;font-size:22px;font-weight:900}.mini-tray .art{width:100%;height:auto;aspect-ratio:1}.cure-options{display:grid;grid-template-columns:1fr 1fr;gap:18px}.cure-choice{border:3px solid var(--ink);background:var(--paper);padding:16px;box-shadow:5px 5px var(--ink);cursor:pointer}.cure-choice .art{width:100%;height:auto;aspect-ratio:1}.water-choice{background:#e3f4fb}.order-card{padding:30px;max-width:760px;margin-bottom:25px;background:var(--yellow)}.order-count{font-size:70px;font-weight:950;margin:25px 0}.order-count small{font-size:28px}.order-card .cta{margin-top:20px}.milestone{padding:25px;max-width:760px}.milestone .art{width:140px;height:140px;float:right}.collection-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.collectible{padding:15px;text-align:center}.collectible .art{width:100%;height:auto;aspect-ratio:1}.undiscovered .art{filter:grayscale(1);opacity:.4}.grant{padding:24px;margin-bottom:26px;background:var(--mint)}.grant small{display:block;margin-top:14px}.history-row .btn{font-size:11px;padding:5px 8px;margin-top:8px}.shop-card{display:flex;flex-direction:column}.shop-card .cta{margin-top:auto}.shop-card p{line-height:1.6}.shop-card .art{flex-shrink:0}.batch-result{gap:12px;flex-wrap:wrap}.mold-art{background-repeat:no-repeat}button:focus-visible,[tabindex]:focus-visible{outline:3px solid var(--blue);outline-offset:4px}#nav{grid-template-columns:repeat(5,1fr)}
@keyframes machine-vibrate{50%{transform:translate(1px,-2px)}}@keyframes stream{to{background-position:0 14px}}@keyframes bubble{to{transform:translateY(-90px);opacity:0}}@keyframes tap-shake{25%{transform:translateX(calc(-50% - 3px))}75%{transform:translateX(calc(-50% + 3px))}}
@media(max-width:1100px){.expanded{grid-template-columns:1fr 1.3fr}.expanded .analysis{grid-column:1/-1;position:static}.collection-grid{grid-template-columns:repeat(3,1fr)}}@media(max-width:700px){.expanded{display:block}.expanded>.panel,.expanded>.analysis{margin-bottom:20px}.collection-grid{grid-template-columns:repeat(2,1fr);gap:12px}.play-panel{padding:16px}.stage-tabs{gap:5px}.stage-tabs span{font-size:10px;padding:8px 5px}.cure-options{gap:10px}.cure-choice{padding:8px}.cure-choice h2{font-size:17px}.pour-arena{height:330px}.blend-row>div:first-child{max-width:65%}#nav button{font-size:10px;padding-inline:4px}.shop-tabs{gap:8px}.shop-tabs .btn{font-size:12px;padding:8px 10px}.order-card{padding:23px}.history-row{gap:10px}.milestone .art{width:100px;height:100px}.ad-grid{grid-template-columns:1fr 1fr}.mix-arena{max-width:330px}}@media(prefers-reduced-motion:reduce){*{animation-duration:.01ms!important;transition-duration:.01ms!important}}
.expanded .analysis{display:block;align-self:start}.expanded .analysis>.eyebrow{margin-top:0}.expanded .analysis .cta{width:100%}.expanded .analysis .price-line{margin-block:20px}.expanded .analysis .metric{margin:20px 0}.collectible .art{background-color:transparent}.batch-card .mold-art,.shop-card .mold-art{aspect-ratio:1;height:auto;max-width:250px;margin-inline:auto}input[type=range]{width:100%;accent-color:var(--blue);margin:18px 0}.collection-grid+.space+section{overflow:hidden}
.mix-arena.adding:after{content:'•••';position:absolute;left:45%;top:5%;font-size:50px;letter-spacing:5px;color:#969991;text-shadow:2px 2px var(--ink);animation:add-material .65s ease-in forwards;pointer-events:none}@keyframes add-material{0%{transform:translateY(-30px) scale(.7);opacity:0}20%{opacity:1}100%{transform:translateY(150px) scale(.4);opacity:0}}
/* A full mold must remain tappable, even before the finger is lifted. */
#pour-bowl.parked{left:20%;top:70px;pointer-events:none;transition:left .22s ease-out,top .22s ease-out}
.art.water-image{display:block;width:100%;max-width:250px;height:auto;aspect-ratio:1;object-fit:contain;margin-inline:auto;background:none;mix-blend-mode:normal}
.cure-choice{min-width:0}.cure-choice .water-image{width:100%;height:auto;max-width:100%}
.batch-card .mold-art{width:100%}
.mix-arena .mixing-stage-art{display:block;width:100%;height:100%;object-fit:contain;background:none;pointer-events:none;user-select:none;-webkit-user-drag:none}.mix-contents{text-align:center;font-weight:800;font-size:14px;line-height:1.5;max-width:95%;margin:8px auto 12px}.mix-arena:has(.mixing-stage-art){background:none}

.reward-image{display:block;width:100%;height:auto;object-fit:contain;aspect-ratio:1}.shelf-upgrade{padding:20px;margin-bottom:24px;display:flex;gap:16px;align-items:center;justify-content:space-between}.shelf-upgrade .cta{width:auto}.field-guide details{border-bottom:2px solid var(--ink);padding:14px 0}.field-guide summary{cursor:pointer;font-weight:800;min-height:28px}.field-guide p,.field-guide li{font-size:16px;line-height:1.65}.field-guide li{margin-bottom:12px}.field-guide mark{background:#ffdc54;color:#191a21;padding:2px}.guide-secret{display:block;margin:48px auto 0;background:transparent;border:0;min-height:44px;cursor:pointer;font-size:18px}#quiz-form fieldset{margin:20px 0;border:2px solid;padding:16px}#quiz-form legend{font-weight:800}#quiz-form label{display:block;padding:10px;font-size:16px}#quiz-form input{width:auto;accent-color:#191a21}.wallet{cursor:pointer;color:inherit;font-family:inherit}.milestone a.cta{display:inline-block;text-decoration:none;text-align:center}@media(max-width:600px){.shelf-upgrade{align-items:stretch;flex-direction:column}}
/* Keep the clickable wallet legible instead of using the native button surface. */
header .wallet{background:#191a21;color:#fff;appearance:none;-webkit-appearance:none}
header .wallet #coins,header .wallet small{color:#fff}
/* Standalone reward images must not inherit the cube sprite underneath. */
.art.reward-image{background:none;background-image:none;mix-blend-mode:normal}
.field-guide h3{margin-top:28px;font-size:20px}
.field-guide .art{display:block;width:min(100%,240px);margin:14px auto}
.field-guide .guide-caution{padding:14px;border-left:4px solid var(--ink);background:#fff3bb}
.field-guide .guide-source{font-size:14px;overflow-wrap:anywhere}
