:root{color-scheme:dark;font-family:system-ui,-apple-system,Segoe UI,sans-serif;color:#f7eacb;background:#222b25;line-height:1.45;font-synthesis:none;text-rendering:optimizeLegibility}*,*:before,*:after{box-sizing:border-box}body{margin:0;min-inline-size:0}#app{min-block-size:100vh;min-block-size:100svh;display:grid;place-items:center;padding:12px clamp(8px,2.5vw,32px)}.preview{width:min(100%,1200px);display:grid;gap:8px}.preview p,.preview h1,.preview figure{margin:0}.topline{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:36px}.status{font-size:.875rem;font-weight:700;color:#f1d7a0;letter-spacing:.035em}.tagline{font-size:.9375rem;color:#d1dfc1}.title{font-family:Georgia,Times New Roman,serif;color:#ffe1a2;font-weight:700;line-height:1.08;text-wrap:balance}.message{font-size:1rem;text-align:center;color:#f3e6cc}.scene{position:relative;isolation:isolate;overflow:hidden;border:3px solid #6f6148;border-radius:16px;height:clamp(300px,calc(100svh - 116px),620px);box-shadow:0 12px 30px #141b1770}.storefront{background:#a3b3a1}.facade{position:absolute;inset:0;overflow:hidden}.market-art,.facade-art{position:absolute;inset:0;width:100%;height:100%;object-fit:fill;pointer-events:none}.shop-sign{position:absolute;left:50%;top:15%;transform:translate(-50%,-50%);width:max-content;max-width:60%;padding:10px 24px 12px;border:3px solid #d7a364;border-radius:16px 16px 11px 11px;background:linear-gradient(166deg,#80533b,#4e352b 70%);box-shadow:inset 0 0 0 2px #433027,0 5px #4b342e88;text-align:center}.shop-sign:before,.shop-sign:after{content:"";position:absolute;width:4px;height:25px;background:#493528;top:-28px;border-radius:3px}.shop-sign:before{left:15%}.shop-sign:after{right:15%}.shop-sign .title{font-size:clamp(1.8rem,4.2vw,3.5rem)}.subtitle{color:#f8db9d;font-family:Georgia,Times New Roman,serif;font-size:clamp(1rem,2vw,1.375rem);font-style:italic}.scene-link{display:inline-flex;align-items:center;justify-content:center;min-height:44px;min-width:44px;padding:8px 14px;text-align:center;color:#fff0c9;font-weight:750;font-size:1rem;line-height:1.18;text-decoration:none;background:linear-gradient(#76523a,#50372c);border:2px solid #e3b56c;border-radius:8px;box-shadow:inset 0 0 0 1px #372a24,0 3px #352b2480;touch-action:manipulation}.scene-link:hover{background:#93633e;border-color:#ffdc91}.scene-link:focus-visible{outline:3px solid #fff0af;outline-offset:3px;box-shadow:0 0 0 6px #3c302a}.door-link{position:absolute;left:50%;top:74%;transform:translate(-50%,-50%);width:158px}.future-sign{position:absolute;top:75%;transform:translate(-50%,-50%);display:grid;justify-items:center;min-width:136px;padding:5px 10px;color:#36291e;background:#e9cf9d;border:2px solid #775438;border-radius:4px;box-shadow:0 3px #46362b6b;line-height:1.2;text-align:center;font-size:.875rem}.future-sign span{font-size:.8125rem;color:#5d452d}.academy-sign{left:27%}.recipe-sign{left:73%}.preview-shop .title{font-size:clamp(1.4rem,3vw,2rem)}.exit-link{flex:none}.shop{display:grid;grid-template-rows:minmax(0,1.15fr) minmax(0,.85fr);background:radial-gradient(ellipse at 50% 25%,#b89766,#765b42 60%,#47372d)}.wall{min-height:0;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr) minmax(0,1fr);align-items:stretch;gap:clamp(5px,1vw,15px);padding:12px 16px 4px;background:radial-gradient(ellipse at 49% 18%,#f5d29955,transparent 62%),repeating-linear-gradient(0deg,transparent 0 49px,#47382a33 50px 53px),repeating-linear-gradient(90deg,#d1b4860c 0 117px,#62462f28 119px 123px),linear-gradient(90deg,#46352b80,transparent 18% 82%,#46352b80);box-shadow:inset 13px 0 22px #46332850,inset -13px 0 22px #46332850,inset 0 10px 16px #46332840;border-top:8px solid #513a2c}.counter{min-height:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(5px,1vw,14px);padding:3px 16px 12px;border-top:8px solid #d5a066;border-bottom:12px solid #51382a;background:radial-gradient(ellipse at 50% 28%,#dca96e38,transparent 70%),repeating-linear-gradient(0deg,#0000 0 45px,#64442f55 47px 49px),linear-gradient(165deg,#b38253,#835738 65%,#6a4733);box-shadow:inset 0 5px 15px #54342377}.prop{display:grid;min-width:0;min-height:0;grid-template-rows:minmax(0,1fr) auto;align-items:stretch;justify-items:center;gap:1px}.prop img{width:100%;height:100%;min-height:0;object-fit:contain;pointer-events:none}.prop-label{font-size:.9375rem;font-weight:700;line-height:1.25;color:#f9e8c5;background:#49372b;border:1px solid #c69c62;border-radius:4px;padding:3px 9px;text-align:center}@media(max-height:480px)and (min-width:600px){#app{padding:6px 8px}.preview{gap:4px}.topline{min-height:30px}.scene{height:calc(100svh - 98px);border-radius:11px}.facade-art{width:82%;left:9%}.academy-sign{left:31%}.recipe-sign{left:69%}.shop-sign{top:17%;padding:5px 15px 6px;border-width:2px}.shop-sign .title{font-size:1.8rem}.subtitle{font-size:1rem}.door-link{width:140px;font-size:.9375rem}.future-sign{min-width:120px;padding:3px 7px}.wall{padding:4px 10px 2px;border-top-width:5px}.counter{padding:0 10px 4px;border-top-width:5px;border-bottom-width:6px}.prop-label{padding:2px 6px;font-size:.875rem}}@media(max-width:599px){#app{padding:10px 8px}.preview{gap:8px}.topline{flex-wrap:wrap;justify-content:center;gap:5px 10px;text-align:center}.tagline{font-size:.875rem}.scene{height:calc(100svh - 166px);min-height:450px;border-width:2px;border-radius:12px}.storefront{background:linear-gradient(165deg,#956843,#5e3e2b)}.facade{bottom:88px;border-bottom:5px solid #c3915c}.market-art,.facade-art{width:194%;left:-47%;max-width:none}.shop-sign{top:17%;max-width:95%;padding:8px 15px}.shop-sign .title{font-size:1.95rem}.subtitle{font-size:1rem}.door-link{top:74%;width:130px}.future-sign{top:auto;bottom:15px;transform:none;width:calc(50% - 12px);min-width:0;padding:8px 5px}.academy-sign{left:8px}.recipe-sign{right:8px;left:auto}.preview-shop .topline{justify-content:space-between}.preview-shop .status{flex-basis:100%}.preview-shop .title{font-size:1.5rem}.exit-link{padding:6px 10px;font-size:.9375rem}.shop{grid-template-rows:minmax(0,1.5fr) minmax(0,1fr)}.wall{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));padding:6px 7px 4px;gap:5px}.pip{grid-column:1 / -1}.counter{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));padding:4px 7px 8px;gap:5px}.bottling{grid-column:1 / -1}.prop-label{font-size:.875rem;padding:2px 5px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important}}.prop-entry{position:relative;display:grid;min-height:0;min-width:0;color:inherit;text-decoration:none;border-radius:10px}.prop-entry .prop{height:100%}.prop-entry:after{content:"Try a brew";position:absolute;bottom:35px;left:50%;transform:translate(-50%);white-space:nowrap;padding:3px 8px;font-size:.81rem;font-weight:800;line-height:1.2;color:#fff0c9;background:#573c2e;border:2px solid #f6c17d;border-radius:6px;box-shadow:0 2px #36221b}.prop-entry:hover:after{background:#815236}.prop-entry:focus-visible{outline:3px solid #fff1a4;outline-offset:-4px;box-shadow:0 0 0 3px #392920}@media(max-height:480px)and (min-width:600px){.prop-entry:after{bottom:26px;font-size:.74rem;padding:2px 6px}}@media(max-width:599px){.prop-entry:after{bottom:25px;font-size:.75rem}}.academy-sign-link{text-decoration:none;cursor:pointer;min-height:49px;justify-content:center;align-content:center;touch-action:manipulation}.academy-sign-link:hover{background:#ffecbf;border-color:#50311f}.academy-sign-link:focus-visible{outline:3px solid #fff2a2;outline-offset:3px;box-shadow:0 0 0 5px #3a2923,0 3px #46362b6b}@media(max-height:480px)and (min-width:600px){.academy-sign-link{min-height:44px}}@media(max-width:599px){.academy-sign-link{min-height:54px}}.preview-brew{width:min(100%,1280px)}.preview-brew .scene{height:clamp(400px,calc(100svh - 88px),690px)}.brew-scene{color:#36271f;background:radial-gradient(ellipse at 50% 0%,#f7daae55 0%,transparent 66%),repeating-linear-gradient(0deg,#0000 0 45px,#46302126 47px 50px),linear-gradient(160deg,#a17d55,#644a39 54%,#4b372d);display:grid;grid-template-rows:minmax(0,1fr) auto;padding:10px;gap:5px;overflow:hidden}.brew-stage{display:grid;grid-template-rows:minmax(0,1fr) auto;min-width:0;min-height:0;gap:6px;position:relative}.brew-board{display:grid;grid-template-columns:minmax(170px,.93fr) minmax(330px,1.95fr) minmax(198px,1.05fr);gap:9px;min-width:0;min-height:0;position:relative}.brew-zone{min-width:0;min-height:0;overflow:hidden;padding:10px;border-radius:12px;border:3px solid #6b4933;background:linear-gradient(152deg,#e4c99d,#cba77a 94%);box-shadow:inset 0 0 0 2px #f9e4b97d,0 5px 8px #3122165e}.brew-zone h2,.brew-zone p{margin:0}.zone-heading{font-family:Georgia,Times New Roman,serif;font-size:clamp(.94rem,1.5vw,1.3rem);line-height:1.12;color:#3c2c23;margin:0 0 6px!important;text-align:center}.brew-jars{display:flex;flex-direction:column;background:linear-gradient(160deg,#705039,#442e25);color:#f6e8d0;border-color:#aa8054}.brew-jars .zone-heading{color:#ffdda2}.jar-row{flex:1;display:grid;grid-template-rows:1fr 1fr;gap:8px;min-height:0}.ingredient-jar{appearance:none;cursor:pointer;width:100%;min-height:64px;padding:7px 4px;display:grid;grid-template-columns:70px minmax(0,1fr);grid-template-rows:1fr auto;align-items:center;justify-items:center;border-radius:10px;border:2px solid #e6c18e;background:linear-gradient(130deg,#a7825a,#79543d);color:#fff2d9;font-weight:750;font-size:.9rem;line-height:1.12;box-shadow:inset 0 0 0 2px #4633239e,0 3px #291b16;touch-action:manipulation}.jar-neck{display:none}.jar-body{grid-row:1 / -1;grid-column:1;position:relative;width:52px;min-height:51px;display:grid;place-items:center;border:3px solid #cfbf8d;border-radius:15px 15px 11px 11px;background:linear-gradient(110deg,#ffffff65,#9c559a 45%,#552d69);color:#f9e9ff;font-size:1.7rem;text-shadow:0 1px 2px #30212b;box-shadow:inset 5px 0 7px #fcf1e68c,0 4px 5px #36251b6b}.jar-body:before{content:"";position:absolute;width:37px;height:8px;top:-9px;left:4px;background:#9a6b41;border:2px solid #edc587;border-radius:5px 5px 2px 2px}.ingredient-jar.mint .jar-body{background:linear-gradient(110deg,#ffffff73,#83c7ac 45%,#216c68)}.jar-name{grid-column:2;font-size:.94rem;text-wrap:balance}.jar-amount{grid-column:2;color:#ffdda4;font-size:.82rem}.zone-help{color:#f0d6ab;font-size:.83rem;line-height:1.2;margin-top:8px!important}.ingredient-jar[aria-pressed=true],.wood-button[aria-pressed=true]{border-color:#fff5b7;box-shadow:0 0 0 3px #62422e,inset 0 0 0 2px #fff0be}.brew-middle{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr);gap:8px;border-color:#835739;padding:7px;background:linear-gradient(#d6b58c,#b4895d)}.prep-bench,.kettle-bench{display:flex;flex-direction:column;gap:3px;min-width:0;min-height:0;padding:6px;border-radius:8px;border:2px solid #8f633e;background:linear-gradient(#f4d9a9,#d9b78a)}.glass-and-tools{display:grid;grid-template-columns:minmax(90px,44%) minmax(0,56%);gap:3px;min-height:0;flex:1;align-items:center}.graduated{display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:0;min-height:0}.brewing-glass{width:min(100%,123px);height:min(28svh,190px);max-height:205px;overflow:visible}.prepared-amount{border:1px solid #895a45;background:#fff1d5;border-radius:6px;font-size:.84rem;font-weight:800;padding:3px 5px;white-space:nowrap;color:#372720}.measuring-tools{display:flex;flex-direction:column;gap:5px;min-width:0}.current-jar{font-weight:800;font-size:.82rem;line-height:1.15;min-height:24px;text-align:center;color:#452b27}.tool-choices{display:grid;gap:4px}.wood-button,.commit-button{appearance:none;display:inline-flex;align-items:center;justify-content:center;min-height:44px;min-width:44px;width:100%;padding:5px 7px;text-align:center;cursor:pointer;touch-action:manipulation;font-family:inherit;font-weight:800;font-size:.83rem;line-height:1.13;border:2px solid #d3a46a;border-radius:8px;color:#fff2d6;background:linear-gradient(#855d3e,#533b2c);box-shadow:inset 0 1px 1px #f9e3b36b,0 2px #37221d}.commit-button{border-color:#f9c979;background:linear-gradient(#644b42,#3c302e);color:#ffe7a5}.wood-button:hover:not(:disabled),.commit-button:hover:not(:disabled),.ingredient-jar:hover:not(:disabled){filter:brightness(1.17);border-color:#fff0aa}.wood-button:disabled,.commit-button:disabled,.ingredient-jar:disabled{cursor:not-allowed;opacity:.61}.brew-scene button:focus-visible,.recipe-dialog button:focus-visible{outline:3px solid #fff8b0;outline-offset:2px;box-shadow:0 0 0 6px #393127}.tool-count{display:flex;align-items:center;gap:2px}.tool-count .count-button{width:44px;flex:none;font-size:1.25rem}.count-output{font-size:.88rem;font-weight:900;text-align:center;color:#493022;flex:1}.kettle-drawing{position:relative;min-height:0;flex:1;display:grid;place-items:center}.kettle-art{width:100%;height:100%;max-height:195px;min-height:50px;object-fit:contain;pointer-events:none}.kettle-total{position:absolute;bottom:9%;left:50%;transform:translate(-50%);border-radius:10px;padding:3px 9px;color:#fff4db;background:#4a302dcc;font-weight:900;font-size:1.08rem;white-space:nowrap;border:1px solid #e7ba74}.actual-amounts{text-align:center}.actual-line{font-weight:650;font-size:.8rem;line-height:1.3;color:#3c3029}.seal-button{flex:none}.brew-right{display:flex;flex-direction:column;gap:7px;border-color:#bd8d54;background:linear-gradient(#866248,#644333)}.order-slip{background:#f4e4bf;border:2px solid #926846;border-radius:4px 4px 10px;padding:10px;box-shadow:2px 4px #38251e64,inset 0 0 0 2px #fff9e4b2;color:#443326;text-align:center;position:relative}.order-slip:before{content:"";position:absolute;top:-6px;left:50%;width:22px;height:10px;border-radius:3px;background:#ba8753;border:1px solid #653f2b}.order-kicker{font-size:.72rem;font-weight:800;letter-spacing:.025em}.order-title{margin:4px 0!important;font-family:Georgia,serif;font-size:1.25rem;line-height:1.1}.order-ingredients{font-size:.78rem;line-height:1.18}.order-ratio{font-size:1.3rem;font-weight:900;line-height:1.2}.order-volume{font-size:.98rem;font-weight:900}.brew-extras{display:grid;gap:6px}.brew-prompt,.bottle-caption{color:#fbe9c9;font-size:.85rem;line-height:1.27}.brew-serving,.brew-reaction{display:grid;gap:6px}.brew-reaction{color:#38271e;border:2px solid #e5bd78;background:#f5e6c7;padding:8px;border-radius:10px;position:relative}.brew-reaction:not(.reaction-still):before{content:"✦";position:absolute;right:5px;top:-16px;font-size:2rem;color:#ffe599;text-shadow:0 0 6px #ffdc99;animation:fizz 1.4s ease-in-out infinite alternate}.reaction-heading{font-weight:900;font-size:.91rem}.reaction-description{font-size:.8rem;line-height:1.2}@keyframes fizz{0%{transform:translateY(4px) rotate(-8deg);opacity:.6}to{transform:translateY(-6px) rotate(15deg);opacity:1}}.brew-actions{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:1px 3px;min-height:44px}.brew-actions .reset-button{width:auto;min-width:170px;flex:none}.phase-caption{margin:0;color:#fff1d1;font-size:.88rem;font-weight:750;text-align:right}.brew-feedback{margin:0;padding:3px 9px;min-height:29px;line-height:1.25;border-radius:6px;border:1px solid #d1a36d;color:#fff2d0;background:#362b26;font-size:.88rem;display:flex;align-items:center}.reset-cover{position:absolute;inset:0;z-index:6;border-radius:10px;background:#30271ded;border:3px solid #f9d593;display:flex;justify-content:center;align-items:center;align-content:center;flex-wrap:wrap;gap:9px;padding:20px;text-align:center}.reset-question{flex-basis:100%;font-family:Georgia,serif;font-size:1.3rem;color:#ffedc8;margin:0}.reset-cover .wood-button,.reset-cover .commit-button{width:auto;min-width:152px}.recipe-dialog{width:min(420px,calc(100vw - 28px));max-height:calc(100svh - 30px);overflow:auto;margin:auto;padding:24px;color:#43301f;border-radius:12px;border:6px solid #8a5939;background:repeating-linear-gradient(#f8edcf 0 29px,#e2d3b3 30px 31px);box-shadow:inset 0 0 0 2px #fff9e5,0 14px 30px #1d160fcc}.recipe-dialog::backdrop{background:#1b1715cc}.recipe-dialog h2{margin:5px 0 12px;font:700 1.6rem Georgia,serif}.recipe-dialog h3{margin:3px 0 12px;font:700 1.3rem Georgia,serif}.recipe-dialog p{margin:0 0 10px;font-size:.96rem;line-height:1.35}.recipe-dialog .book-kicker{font-size:.83rem;text-transform:uppercase;font-weight:900;color:#795435;letter-spacing:.08em}.book-close{margin-top:12px}@media(max-height:480px)and (min-width:600px){.preview-brew .scene{height:calc(100svh - 64px)}.brew-scene{padding:5px 7px;gap:3px}.brew-stage{gap:3px}.brew-board{gap:6px;grid-template-columns:minmax(168px,.93fr) minmax(390px,2.08fr) minmax(180px,1fr)}.brew-zone{padding:5px;border-width:2px;border-radius:8px}.zone-heading{font-size:.94rem;margin-bottom:2px!important}.brew-middle{padding:4px;gap:5px}.prep-bench,.kettle-bench{padding:3px;border-width:1px;gap:1px}.glass-and-tools{grid-template-columns:minmax(83px,44%) minmax(0,56%);gap:1px}.brewing-glass{height:167px}.prepared-amount{font-size:.74rem;padding:2px}.measuring-tools{gap:2px}.current-jar{font-size:.72rem;min-height:16px}.tool-choices{gap:2px}.wood-button,.commit-button{min-height:44px;padding:3px;font-size:.78rem}.tool-count{gap:1px}.jar-row{gap:5px}.ingredient-jar{padding:4px;grid-template-columns:56px minmax(0,1fr)}.jar-body{width:43px;min-height:45px;font-size:1.45rem}.jar-body:before{width:30px;left:3px}.jar-name{font-size:.82rem}.jar-amount{font-size:.72rem}.zone-help{font-size:.73rem;margin-top:4px!important}.kettle-art{max-height:111px}.kettle-total{font-size:.87rem;padding:1px 7px}.actual-line{font-size:.75rem}.order-slip{padding:4px}.order-kicker{font-size:.6rem}.order-title{font-size:1.06rem;margin:2px 0!important}.order-ingredients{font-size:.72rem}.order-ratio{font-size:1.05rem}.order-volume{font-size:.84rem}.brew-right,.brew-extras{gap:3px}.brew-prompt,.bottle-caption{font-size:.76rem}.brew-reaction{padding:4px;gap:3px}.reaction-heading{font-size:.83rem}.reaction-description{font-size:.73rem}.brew-actions{min-height:44px}.brew-feedback{min-height:27px;font-size:.78rem;padding:2px 7px}.phase-caption{font-size:.78rem}}@media(max-width:599px){.preview-brew{width:100%}.preview-brew .topline{justify-content:space-between}.preview-brew .status{flex-basis:100%}.preview-brew .scene{height:auto;min-height:0;overflow:visible}.brew-scene{display:flex;flex-direction:column;padding:8px;overflow:visible}.brew-stage{display:flex;flex-direction:column}.brew-board{display:flex;flex-direction:column;gap:10px}.brew-zone{padding:10px;overflow:visible}.brew-jars{order:1}.brew-middle{order:2;grid-template-columns:1fr 1fr}.brew-right{order:0}.jar-row{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:auto;gap:8px}.ingredient-jar{grid-template-columns:1fr;grid-template-rows:auto auto auto;gap:5px;min-height:160px}.jar-body{grid-row:1;grid-column:1;width:56px;height:58px}.jar-name,.jar-amount{grid-column:1}.glass-and-tools{display:flex;flex-direction:column;gap:5px}.brewing-glass{height:150px;width:112px}.measuring-tools{width:100%}.kettle-art{max-height:135px;height:122px}.brew-right{display:grid;grid-template-columns:1fr 1fr;gap:8px;align-items:start}.order-slip{grid-row:1 / span 2;padding:8px 6px}.brew-extras{align-self:start}.brew-prompt,.brew-serving,.brew-reaction{grid-column:1 / -1}.brew-actions{gap:8px;flex-wrap:wrap}.brew-actions .reset-button{min-width:155px}.brew-feedback{min-height:40px}.reset-cover{inset:0}}@media(prefers-reduced-motion:reduce){.brew-scene *,.brew-scene *:before,.brew-scene *:after{animation:none!important;transition:none!important}}.brew-right-resolved{justify-content:center}.brew-right-resolved .brew-reaction{flex:1;min-height:0;display:flex;flex-direction:column;justify-content:center;gap:8px}.reaction-order{font-size:.78rem;font-weight:800}.brew-right-resolved .skip-button{margin-top:auto;flex:none}@media(max-height:480px)and (min-width:600px){.brew-right-resolved .brew-reaction{gap:5px;padding:8px}.brew-right-resolved .reaction-description{font-size:.82rem;line-height:1.2}}@media(max-width:599px){.brew-right-resolved{display:flex}.brew-right-resolved .brew-reaction{min-height:160px}}.brew-pip-art{display:none}@media(min-width:1100px)and (min-height:700px){.ingredient-jar{display:flex;flex-direction:column;justify-content:center;gap:13px;align-items:center;padding:20px 7px}.ingredient-jar .jar-body{width:78px;min-height:90px;font-size:2.25rem;border-radius:20px 20px 15px 15px}.ingredient-jar .jar-body:before{width:56px;height:12px;top:-13px;left:8px}.ingredient-jar .jar-name{font-size:1.02rem}.ingredient-jar .jar-amount{font-size:.91rem}.brew-pip-art{display:block;width:82%;max-height:235px;min-height:0;margin:auto auto 0;object-fit:contain;pointer-events:none;filter:drop-shadow(0 5px 3px #38251e6b)}}.preview-academy{width:min(100%,1280px)}.preview-academy .scene{height:clamp(405px,calc(100svh - 88px),690px)}.academy-scene{display:grid;padding:13px;overflow:hidden;color:#3d2c22;background:radial-gradient(ellipse at 30% 0,#f6c99570,transparent 60%),repeating-linear-gradient(90deg,#40322518 0 3px,transparent 3px 90px),linear-gradient(160deg,#98724c,#513b2c)}.academy-board{display:grid;grid-template-columns:minmax(190px,.82fr) minmax(0,2.3fr);min-height:0;gap:12px}.academy-intro{border-radius:12px;border:3px solid #e0b77b;color:#fae6c0;background:linear-gradient(150deg,#6b4739,#3c302e);padding:14px;min-height:0;display:flex;flex-direction:column;box-shadow:inset 0 0 0 2px #30211c,0 6px 10px #201b15a0}.academy-stamp{margin:0;font-size:.69rem;font-weight:850;letter-spacing:.13em;color:#efc58e}.academy-heading{font-family:Georgia,serif;color:#ffe2aa;font-size:clamp(1.4rem,2.9vw,2.35rem);margin:4px 0 7px}.academy-copy{margin:0;font-size:.91rem;line-height:1.32}.academy-pip{width:100%;object-fit:contain;flex:1;min-height:30px;max-height:310px;pointer-events:none;filter:drop-shadow(0 5px 3px #231a18b3)}.academy-count{margin:auto 0 0;background:#f3dcb2;border:2px solid #ab7c4a;padding:7px 9px;border-radius:8px;color:#3b2a21;text-align:center;font-size:.87rem;font-weight:900}.academy-entries{min-width:0;min-height:0;display:flex;flex-direction:column;gap:9px;border:4px solid #8c5a38;border-radius:14px;background:linear-gradient(170deg,#f2e0b8,#d6b484);padding:13px;box-shadow:inset 0 0 0 3px #fff3d6,0 5px 9px #201b1566}.academy-list-title{display:flex;align-items:baseline;justify-content:space-between;gap:8px}.academy-list-title h3{margin:0;font:700 clamp(1rem,1.6vw,1.4rem) Georgia,serif;color:#4c3123}.academy-list-title p{font-size:.8rem;margin:0;color:#674631}.academy-grid{display:grid;flex:1;min-height:0;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:9px}.academy-card{min-width:0;min-height:64px;padding:7px 8px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;text-decoration:none;text-align:center;touch-action:manipulation;background:linear-gradient(#fff1cc,#e2c598);color:#402c21;border:2px solid #9e6c47;border-radius:9px;box-shadow:0 3px #9c764a66}.academy-card:hover{background:#fff6dc;border-color:#673a29}.academy-card:focus-visible{outline:3px solid #fff4aa;outline-offset:2px;box-shadow:0 0 0 6px #583e2e}.academy-seal{flex:none;width:33px;height:33px;display:grid;place-items:center;border-radius:100%;border:2px solid #89583c;background:linear-gradient(#b77c51,#784a39);color:#ffefd5;font:700 1rem Georgia,serif}.academy-card-copy{min-width:0;display:flex;flex-direction:column;align-items:center;gap:3px}.academy-card-title{font:700 .91rem/1.15 Georgia,serif;text-wrap:balance}.academy-card-subtitle{font-size:.74rem;line-height:1.15}.academy-card-status{margin-top:auto;font-weight:800;font-size:.72rem;line-height:1.13;background:#dfd0b0;border-radius:4px;padding:3px 6px}.academy-mastered .academy-seal{background:linear-gradient(#317c66,#244e48)}.academy-mastered .academy-card-status{background:#c5e9d6}.academy-disclaimer{margin:0;text-align:center;font-size:.78rem;color:#63462f}.preview-lesson{width:min(100%,1280px)}.preview-lesson .scene{height:clamp(400px,calc(100svh - 88px),690px)}.academy-order-prompt{font-size:.77rem;line-height:1.15;color:#503624;border-top:1px dashed #a9855d;margin-top:5px!important;padding-top:4px}.academy-pip-preview{font-size:.8rem;line-height:1.18;background:#f5deb0;color:#563823;border:1px solid #b78e5b;border-radius:6px;padding:4px 5px}.academy-return{display:inline-flex;min-height:44px;align-items:center;justify-content:center;padding:6px 11px;text-align:center;border:2px solid #efb969;border-radius:8px;color:#fff1d7;background:#593c30;font-weight:800;font-size:.84rem;text-decoration:none}.academy-return:focus-visible{outline:3px solid #fff4aa;outline-offset:2px}.pip-dialog{width:min(420px,calc(100vw - 24px));max-height:calc(100svh - 24px);overflow-y:auto;margin:auto;padding:18px;border:5px solid #b28a58;border-radius:14px;background:repeating-linear-gradient(0deg,#f6e9c9 0 28px,#e6d7b8 29px 30px);color:#372b21;box-shadow:inset 0 0 0 2px #fff9e5,0 15px 28px #1d160fbd}.pip-dialog::backdrop{background:#22170fd9}.pip-dialog h2{margin:0 0 8px;font:700 1.5rem Georgia,serif}.pip-dialog p{margin:0 0 9px;line-height:1.33;font-size:.93rem}.pip-dialog .pip-kicker{font-size:.74rem;font-weight:900;letter-spacing:.12em;text-transform:uppercase;color:#755436}.pip-dialog .pip-steps{font-size:.86rem;font-weight:800;color:#5b4533}.pip-dialog .pip-lesson{background:#fffae7;border:2px dashed #bb9768;padding:9px;border-radius:8px;line-height:1.33;margin-bottom:10px}.pip-dialog .pip-assisted{padding:6px;border:2px solid #855f46;background:#efdbb5;font-weight:800;border-radius:6px}.pip-dialog .pip-buttons{display:grid;gap:7px;grid-template-columns:1fr}.pip-dialog button{min-height:44px;width:100%}.pip-dialog button:focus-visible{outline:3px solid #ffe29d;outline-offset:2px;box-shadow:0 0 0 5px #3a2b26}.pip-answer{background:#fdf3d1;padding:10px;border:2px solid #9f784c;border-radius:8px}.pip-answer strong{display:block}.pip-dialog .pip-help-level{color:#553e31;font-size:.81rem}@media(max-height:480px)and (min-width:600px){.preview-academy .scene,.preview-lesson .scene{height:calc(100svh - 64px)}.academy-scene{padding:6px}.academy-board{grid-template-columns:minmax(165px,.73fr) minmax(0,2.8fr);gap:6px}.academy-intro{padding:6px;border-width:2px;gap:4px}.academy-stamp{font-size:.6rem}.academy-heading{font-size:1.28rem;margin:0}.academy-copy{font-size:.72rem;line-height:1.18}.academy-pip{min-height:15px;max-height:66px}.academy-count{padding:3px;font-size:.71rem}.academy-entries{padding:6px;gap:4px;border-width:3px}.academy-list-title h3{font-size:1rem}.academy-list-title p{font-size:.67rem}.academy-grid{gap:5px}.academy-card{gap:3px;padding:3px 4px}.academy-seal{width:24px;height:24px;font-size:.77rem}.academy-card-title{font-size:.78rem}.academy-card-subtitle,.academy-card-status{font-size:.66rem}.academy-card-status{padding:2px 4px}.academy-disclaimer{font-size:.64rem}.academy-order-prompt{font-size:.69rem;margin-top:2px!important;padding-top:2px}.academy-pip-preview{font-size:.68rem;padding:2px;line-height:1.14}}@media(max-width:599px){.preview-academy .scene,.preview-lesson .scene{height:auto;min-height:0;overflow:visible}.academy-scene{display:block;padding:8px;overflow:visible}.academy-board{display:flex;flex-direction:column;gap:9px}.academy-intro{padding:10px}.academy-heading{font-size:1.7rem}.academy-copy{font-size:.83rem}.academy-pip{display:none}.academy-count{margin-top:7px;font-size:.81rem}.academy-entries{padding:8px}.academy-list-title{display:block}.academy-list-title h3{font-size:1.12rem}.academy-list-title p{font-size:.73rem}.academy-grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:auto;gap:7px}.academy-card{min-height:108px}.academy-card-title{font-size:.87rem}.academy-card-subtitle,.academy-card-status{font-size:.71rem}.academy-disclaimer{line-height:1.25}}@media(prefers-reduced-motion:reduce){.academy-scene *,.pip-dialog *{animation:none!important;transition:none!important}}@media(max-height:480px)and (min-width:600px){.pip-dialog{padding:9px 14px;border-width:4px;max-height:calc(100svh - 18px)}.pip-dialog h2{font-size:1.32rem;margin:0 0 4px}.pip-dialog p{font-size:.84rem;line-height:1.19;margin:0 0 5px}.pip-dialog .pip-kicker{font-size:.68rem}.pip-dialog .pip-steps{font-size:.78rem}.pip-dialog .pip-lesson{padding:6px;margin-bottom:5px;line-height:1.22}.pip-dialog .pip-assisted{padding:5px;font-size:.8rem;line-height:1.15}.pip-dialog .pip-buttons{gap:4px}.pip-dialog button{min-height:44px}}@media(min-width:900px)and (max-width:1099px)and (min-height:600px){.preview-lesson .ingredient-jar{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:12px;padding:10px 6px}.preview-lesson .ingredient-jar .jar-body{width:75px;min-height:82px;font-size:2.15rem;border-radius:18px 18px 14px 14px}.preview-lesson .ingredient-jar .jar-body:before{width:52px;height:11px;top:-12px;left:8px}.preview-lesson .ingredient-jar .jar-name{font-size:1rem}.preview-lesson .ingredient-jar .jar-amount{font-size:.88rem}}.brew-actions .academy-return{width:auto;min-width:170px;flex:none}@media(max-height:480px)and (min-width:600px){.preview-lesson .academy-pip-preview,.preview-lesson .brew-right-resolved .reaction-order{display:none}.preview-lesson .brew-right-resolved .brew-reaction{padding:4px 6px;gap:3px;justify-content:space-between}.preview-lesson .brew-right-resolved .reaction-heading{font-size:.82rem;line-height:1.13}.preview-lesson .brew-right-resolved .reaction-description{font-size:.73rem;line-height:1.17}.preview-lesson .brew-actions .academy-return{min-width:146px;font-size:.78rem;padding:2px 7px}}@media(max-width:599px){.preview-lesson .brew-actions .academy-return{min-width:146px}}.academy-rank-switch{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:5px 0 9px}.academy-rank-link{min-width:0;min-height:44px;padding:6px 4px;display:grid;place-items:center;text-align:center;border:2px solid #d5aa70;border-radius:7px;color:#fff0cc;background:linear-gradient(#74523d,#493429);text-decoration:none;font-weight:800;line-height:1.12;font-size:.8rem;touch-action:manipulation}.academy-rank-link:hover{background:#9a6d48}.academy-rank-link:focus-visible{outline:3px solid #fff2a2;outline-offset:2px;box-shadow:0 0 0 5px #3a2923}.academy-rank-active{color:#382b25;border-color:#fff0b7;background:linear-gradient(#f7d99e,#d5a864)}.academy-rank-active:hover{background:#fff0c4}.academy-rank-crafter .academy-heading{color:#d4fbf2}.academy-rank-crafter .academy-seal{background:linear-gradient(#538b86,#315763);border-color:#4a5c64}.academy-rank-crafter .academy-card-status{background:#d5ece5}.academy-rank-crafter .academy-mastered .academy-seal{background:linear-gradient(#23876a,#244d46)}.brew-three .jar-row{grid-template-rows:repeat(3,minmax(0,1fr))}.brew-three .ingredient-jar.starfall .jar-body{background:radial-gradient(circle at 50% 65%,#f2cb81 0,#5f4771 35%,#273c62 85%);border-color:#e6bc78;overflow:hidden}.brew-three .starfall-art{display:block;width:100%;height:100%;object-fit:contain;pointer-events:none}.brew-three .ingredient-jar.starfall{border-color:#e7c58d}.brew-three .ingredient-jar.starfall[aria-pressed=true]{border-color:#fff6b0}.brew-three .actual-line{white-space:normal}@media(min-width:1100px)and (min-height:700px){.brew-three .ingredient-jar{gap:4px;padding:8px 5px}.brew-three .ingredient-jar .jar-body{width:60px;min-height:62px}.brew-three .ingredient-jar .jar-body:before{width:42px;left:6px}.brew-three .ingredient-jar .jar-name{font-size:.96rem}.brew-three .ingredient-jar .jar-amount{font-size:.86rem}}@media(min-width:900px)and (max-width:1099px)and (min-height:600px){.preview-lesson .brew-three .ingredient-jar{gap:4px;padding:6px 4px}.preview-lesson .brew-three .ingredient-jar .jar-body{width:58px;min-height:58px}.preview-lesson .brew-three .ingredient-jar .jar-name{font-size:.92rem}}@media(max-height:480px)and (min-width:600px){.academy-rank-switch{gap:4px;margin:2px 0 4px}.academy-rank-link{min-height:44px;font-size:.69rem;padding:3px 2px}.brew-three .jar-row{gap:3px}.brew-three .ingredient-jar{min-height:57px;padding:2px;grid-template-columns:49px minmax(0,1fr)}.brew-three .ingredient-jar .jar-body{width:38px;min-height:38px;border-width:2px}.brew-three .ingredient-jar .jar-body:before{width:28px;height:6px;top:-8px;left:3px}.brew-three .ingredient-jar .jar-name{font-size:.74rem;line-height:1.06}.brew-three .ingredient-jar .jar-amount{font-size:.68rem}.brew-three .zone-help{display:none}.brew-three .order-slip{padding:3px}.brew-three .order-kicker{font-size:.58rem}.brew-three .order-title{font-size:.93rem}.brew-three .order-ingredients{font-size:.66rem;line-height:1.08}.brew-three .order-ratio{font-size:1.02rem}.brew-three .order-volume{font-size:.79rem}.brew-three .actual-line{font-size:.69rem;line-height:1.11}.brew-three .kettle-art{max-height:101px}}@media(max-width:599px){.brew-three .jar-row{grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:auto;gap:5px}.brew-three .ingredient-jar{min-height:144px;padding:5px 2px}.brew-three .ingredient-jar .jar-body{width:45px;height:52px;min-height:52px}.brew-three .ingredient-jar .jar-name{font-size:.82rem;line-height:1.12}.brew-three .ingredient-jar .jar-amount,.brew-three .actual-line{font-size:.75rem}.academy-rank-switch{margin:5px 0 8px}.academy-rank-link{font-size:.78rem}}.preview-lesson .brew-reaction:focus{outline:3px solid #ffe4a5;outline-offset:2px}.academy-rank-apprentice .academy-heading{color:#f9daa1}.academy-rank-apprentice .academy-seal{background:linear-gradient(145deg,#b07b44,#5d453c);border-color:#644438}.academy-rank-apprentice .academy-card-status{background:#f1e0b4}.academy-rank-apprentice .academy-mastered .academy-seal{background:linear-gradient(145deg,#b88e3d,#4f765e)}.academy-rank-apprentice .academy-card:hover{border-color:#855a37}.brew-apprentice .tool-choices{gap:4px}.brew-apprentice .tool-button{display:flex;align-items:center;justify-content:flex-start;min-height:44px;padding:4px 6px;gap:5px;background:linear-gradient(120deg,#936a46,#604532)}.brew-apprentice .tool-illustration{width:43px;height:34px;flex:none;object-fit:contain;filter:drop-shadow(0 2px 2px #2d1d1680);pointer-events:none}.brew-apprentice .tool-label{flex:1;line-height:1.11;text-wrap:balance;text-align:center}.brew-apprentice .tool-button[aria-pressed=true]{border-color:#fff4ac;background:linear-gradient(#755840,#47372e);box-shadow:inset 0 0 0 2px #efd18b,0 0 0 2px #4a372d}.brew-apprentice .order-slip{border-color:#bb9257}.brew-apprentice .order-kicker{color:#725338}.brew-apprentice .prepared-amount{background:#f6e6c6}.brew-apprentice .jar-row{min-height:0}.brew-apprentice .jar-body{border-color:#d9b875}@media(max-height:480px)and (min-width:600px){.academy-rank-switch .academy-rank-link:last-child{padding:3px;min-height:44px}.brew-apprentice .tool-button{min-height:44px;padding:2px 3px;gap:3px}.brew-apprentice .tool-illustration{width:28px;height:29px}.brew-apprentice .tool-label{font-size:.71rem;line-height:1.07}.brew-apprentice .zone-help{font-size:.7rem;line-height:1.08}.brew-apprentice .current-jar{font-size:.72rem}}@media(max-width:599px){.brew-apprentice .tool-button{min-height:50px}.brew-apprentice .tool-illustration{width:48px;height:36px}.brew-apprentice .tool-label{font-size:.85rem}.brew-apprentice .zone-help{font-size:.78rem}}@media(prefers-reduced-motion:reduce){.brew-apprentice .tool-button,.academy-rank-apprentice .academy-rank-link{animation:none!important;transition:none!important}}@media(max-height:480px)and (min-width:600px){.brew-apprentice .brew-right,.brew-apprentice .brew-extras{gap:2px}.brew-apprentice .order-slip{padding:2px 3px}.brew-apprentice .order-kicker{font-size:.58rem;line-height:1.05}.brew-apprentice .order-title{font-size:.91rem;line-height:1.07;margin:1px 0!important}.brew-apprentice .order-ingredients{font-size:.68rem;line-height:1.05}.brew-apprentice .order-ratio{font-size:.99rem;line-height:1.05}.brew-apprentice .order-volume{font-size:.75rem;line-height:1.08}}@media(max-height:480px)and (min-width:600px){.academy-intro{gap:2px}.academy-intro .academy-pip{display:none}.academy-rank-switch{margin:1px 0 2px;gap:2px}.academy-count{margin-top:auto;line-height:1.12;padding:3px 4px}}.academy-rank-senior-apprentice .academy-heading{color:#f7d5e9}.academy-rank-senior-apprentice .academy-seal{border-color:#785c63;background:linear-gradient(155deg,#926c94,#564461)}.academy-rank-senior-apprentice .academy-card-status{background:#e6d7ec}.academy-rank-senior-apprentice .academy-mastered .academy-seal{background:linear-gradient(145deg,#8b6093,#416d60)}.academy-rank-senior-apprentice .academy-card:hover{border-color:#765273}.brew-senior .tool-button{background:linear-gradient(120deg,#866d69,#4e404e);border-color:#ae8c77}.brew-senior .tool-button[aria-pressed=true]{background:linear-gradient(#76576e,#483849);border-color:#f7dba0}.brew-senior .tool-illustration{object-fit:contain}.brew-senior .order-slip{border-color:#b39abc}.brew-senior .prepared-amount{background:#ecdfef}.brew-senior .ingredient-jar.starfall{border-color:#c49bc8}.brew-senior .ingredient-jar.starfall[aria-pressed=true]{border-color:#ffe0b0;box-shadow:0 0 0 3px #b17f9c}@media(max-height:480px)and (min-width:600px){.academy-rank-switch{gap:3px}.brew-senior .brew-extras{gap:2px}.brew-senior .tool-button{min-height:44px;padding:2px 3px}.brew-senior .tool-label{font-size:.71rem;line-height:1.08}.brew-senior .order-title{font-size:.88rem;line-height:1.08}.brew-senior .order-ingredients{font-size:.65rem;line-height:1.06}.brew-senior .order-ratio{font-size:1rem;line-height:1.05}.brew-senior .actual-line{font-size:.66rem;line-height:1.08}}@media(max-width:599px){.brew-senior .tool-button{min-height:50px}.brew-senior .tool-illustration{width:48px;height:37px}.academy-rank-senior-apprentice .academy-copy{line-height:1.25}}@media(prefers-reduced-motion:reduce){.brew-senior .tool-button,.academy-rank-senior-apprentice .academy-rank-link{transition:none!important;animation:none!important}}@media(max-height:480px)and (min-width:600px){.academy-rank-senior-apprentice .academy-copy{font-size:.71rem;line-height:1.12}.academy-rank-senior-apprentice .academy-count{padding:2px 3px;line-height:1.09}}@media(max-height:480px)and (min-width:600px){.brew-senior .measuring-tools .current-jar{position:absolute;width:1px;height:1px;min-height:0;overflow:hidden;white-space:nowrap;clip-path:inset(50%);padding:0;margin:-1px}}.academy-rank-switch .academy-rank-link:last-child{grid-column:1 / -1}.academy-rank-potion-worker .academy-heading{color:#f5d6ae}.academy-rank-potion-worker .academy-seal{border-color:#94614f;background:linear-gradient(155deg,#b87b4e,#664960)}.academy-rank-potion-worker .academy-card-status{background:#e9d6cb}.academy-rank-potion-worker .academy-mastered .academy-seal{background:linear-gradient(145deg,#a4874d,#3e766f)}.academy-rank-potion-worker .academy-card:hover{border-color:#93614a}.brew-worker .order-slip{border-color:#c99472}.brew-worker .order-starting{margin:3px 0 0;padding:4px 5px;border-top:1px dashed #98765c;color:#5a383b;font-size:.73rem;line-height:1.12;font-weight:900;letter-spacing:.01em}.brew-worker .seed-label{position:absolute;top:0;left:50%;transform:translate(-50%);width:max-content;max-width:94%;padding:3px 6px;margin:0;border:1px solid #a87854;border-radius:6px;background:#f4dbab;color:#55352e;box-shadow:0 1px 3px #35282666;font-family:Georgia,serif;font-weight:900;font-size:.74rem;line-height:1.14;text-align:center;pointer-events:none;z-index:1}.brew-worker .kettle-total{bottom:8%}.brew-worker .actual-line{font-weight:800}.brew-worker .tool-button{background:linear-gradient(120deg,#a67a55,#6d4b4a)}.brew-worker .tool-button[aria-pressed=true]{border-color:#ffecaf;background:linear-gradient(#86624d,#57404d)}@media(max-height:480px)and (min-width:600px){.academy-stamp{display:none}.academy-copy{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;margin:-1px;padding:0}.academy-rank-switch{margin:1px 0 2px;gap:2px}.academy-rank-link{padding:2px 3px;min-height:44px;font-size:.71rem}.academy-heading{font-size:1.35rem;line-height:1.06}.academy-count{margin-top:auto;font-size:.75rem;line-height:1.12;padding:2px 3px}.brew-worker .order-starting{font-size:.66rem;padding:1px 3px;line-height:1.06;margin:1px 0 0}.brew-worker .seed-label{top:0;font-size:.59rem;line-height:1;padding:1px 3px}.brew-worker .brew-extras{gap:2px}.brew-worker .order-title{font-size:.87rem;line-height:1.07}.brew-worker .order-ingredients{font-size:.64rem;line-height:1.05}.brew-worker .measuring-tools .current-jar{position:absolute;width:1px;height:1px;min-height:0;overflow:hidden;white-space:nowrap;clip-path:inset(50%);padding:0;margin:-1px}}@media(max-width:599px){.academy-rank-potion-worker .academy-copy{line-height:1.2}.brew-worker .seed-label{font-size:.78rem}.brew-worker .order-starting{font-size:.75rem}}@media(prefers-reduced-motion:reduce){.brew-worker .seed-label,.academy-rank-potion-worker .academy-rank-link{animation:none!important;transition:none!important}}.academy-rank-switch .academy-rank-link:last-child{grid-column:auto}.academy-rank-senior-potion-worker .academy-heading{color:#ddf2dd}.academy-rank-senior-potion-worker .academy-seal{border-color:#8b8ca0;background:linear-gradient(150deg,#587e82,#4d486f)}.academy-rank-senior-potion-worker .academy-card-status{background:#d7e6e2}.academy-rank-senior-potion-worker .academy-mastered .academy-seal{background:linear-gradient(150deg,#487c73,#294f4e)}.brew-senior-worker .seed-label{border-color:#6e8b82;background:#e6efd7;color:#384b42}.brew-senior-worker .order-starting{color:#4a505c;border-color:#6e8b82}.brew-senior-worker .order-slip{border-color:#8dada6}.brew-senior-worker .tool-button[aria-pressed=true]{border-color:#dcfae8;background:linear-gradient(#597b74,#3b5461)}@media(max-height:480px)and (min-width:600px){.academy-rank-switch{grid-template-columns:repeat(2,minmax(0,1fr))}.academy-rank-senior-potion-worker .academy-copy{clip-path:inset(50%)}.academy-rank-senior-potion-worker .academy-rank-link{min-height:44px;padding:2px;font-size:.69rem}}@media(prefers-reduced-motion:reduce){.brew-senior-worker .seed-label,.academy-rank-senior-potion-worker .academy-rank-link{animation:none!important;transition:none!important}}.rank-short{display:none}.academy-rank-potionologist .academy-heading{color:#d8edf0}.academy-rank-potionologist .academy-seal{border-color:#688b98;background:linear-gradient(150deg,#337f89,#4b557f)}.academy-rank-potionologist .academy-card-status{background:#d4e7eb}.academy-rank-potionologist .academy-mastered .academy-seal{background:linear-gradient(140deg,#3b8271,#2d5461)}.academy-rank-potionologist .academy-card:hover{border-color:#386b7c}.academy-rank-potionologist .academy-rank-link:last-child{grid-column:1 / -1}.brew-potionologist .brew-jars{background:linear-gradient(155deg,#534458,#302b3f);border-color:#bfa67d}.brew-potionologist .brew-jars .zone-heading{color:#f8e3be}.brew-potionologist .premix-rack{display:grid;flex:1;min-height:0;min-width:0;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(3,minmax(0,1fr));gap:5px}.brew-potionologist .premix-bottle{min-width:0;min-height:44px;display:grid;grid-template-columns:33% minmax(0,1fr);grid-template-rows:1fr auto auto;gap:1px 3px;align-items:center;border:2px solid #c8a774;border-radius:8px;padding:3px;color:#fff5df;cursor:pointer;background:linear-gradient(140deg,#7b6379,#524b6b);box-shadow:inset 0 0 0 1px #f2cfaa5c,0 2px #261e2b;font:750 .72rem/1.07 system-ui,sans-serif;touch-action:manipulation}.brew-potionologist .premix-bottle:focus-visible{outline:3px solid #ffecab;outline-offset:1px}.brew-potionologist .premix-bottle[aria-pressed=true]{background:linear-gradient(140deg,#407f7d,#38696a);border-color:#ffe5a1;box-shadow:inset 0 0 0 2px #fff0b5}.brew-potionologist .premix-bottle:disabled{cursor:default;opacity:.76;background:linear-gradient(140deg,#534c53,#383d4a);border-color:#ad9a86;color:#f0dbc1}.brew-potionologist .premix-bottle-art{grid-column:1;grid-row:1 / -1;width:100%;max-height:75px;min-height:0;object-fit:contain;pointer-events:none;filter:drop-shadow(0 1px 1px #1d1b2c)}.brew-potionologist .premix-bottle-name{grid-column:2;font:800 .74rem/1.05 Georgia,serif;white-space:normal;overflow-wrap:anywhere}.brew-potionologist .premix-bottle-quantity{grid-column:2;font-size:.66rem;line-height:1.1}.brew-potionologist .premix-bottle-status{grid-column:2;color:#ffdf9c;font-size:.65rem;line-height:1.06}.brew-potionologist .premix-rack-help{color:#efe5d4;font-size:.69rem;line-height:1.13;margin:4px 0 0!important;text-align:center}.brew-potionologist .prep-bench{background:linear-gradient(#e1dfca,#b6c1b6)}.brew-potionologist .premix-station{display:grid;flex:1;min-height:0;grid-template-columns:42% minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto;gap:5px;align-items:center}.brew-potionologist .premix-selected-art{grid-column:1;grid-row:1;width:100%;max-height:165px;min-height:0;object-fit:contain;filter:drop-shadow(0 3px 2px #40373261)}.brew-potionologist .premix-inspection-ticket{grid-column:2;grid-row:1;min-width:0;display:flex;flex-direction:column;justify-content:center;gap:3px;padding:4px 5px;border:2px solid #a18e70;border-radius:6px;background:#f8e9c8;color:#40392c;font-size:.78rem;line-height:1.12;overflow-wrap:anywhere}.brew-potionologist .premix-inspection-heading{font:800 .9rem/1.12 Georgia,serif}.brew-potionologist .premix-inspection-component{font-weight:750}.brew-potionologist .premix-pour{grid-column:1/-1;grid-row:2;min-height:44px;background:linear-gradient(#3f887c,#275e63);border-color:#e1d69e;color:#fff6dc}.brew-potionologist .premix-pour:disabled{background:linear-gradient(#857e74,#686258)}.brew-potionologist .order-slip{border-color:#82a5ac}.brew-potionologist .order-starting{margin:3px 0 0;padding:3px 4px;border-top:1px dashed #8e9a9b;font:.83rem/1.15 Georgia,serif;color:#4e5261}.brew-potionologist .kettle-art{max-height:142px}.brew-potionologist .zone-help{display:none}@media(max-height:480px)and (min-width:600px){.academy-rank-switch{grid-template-columns:repeat(3,minmax(0,1fr))}.academy-rank-switch .academy-rank-link:last-child{grid-column:auto}.academy-rank-link{min-height:44px;padding:1px 2px;font-size:.68rem}.rank-long{display:none}.rank-short{display:inline}.academy-intro .academy-pip{display:none}.academy-heading{font-size:1.23rem;line-height:1.04}.academy-count{font-size:.7rem;line-height:1.09;padding:2px}.brew-potionologist .premix-rack{gap:2px}.brew-potionologist .premix-bottle{padding:1px;gap:0 2px;border-width:1px;grid-template-columns:28% minmax(0,1fr)}.brew-potionologist .premix-bottle-art{max-height:55px}.brew-potionologist .premix-bottle-name,.brew-potionologist .premix-bottle-quantity{font-size:.65rem}.brew-potionologist .premix-bottle-status{font-size:.62rem}.brew-potionologist .premix-rack-help{display:block;flex:none;margin:2px 0 0!important;font-size:.65rem;line-height:1.05}.brew-potionologist .premix-selected-art{max-height:115px}.brew-potionologist .premix-station{gap:2px}.brew-potionologist .premix-inspection-ticket{padding:2px;gap:1px;font-size:.65rem}.brew-potionologist .premix-inspection-heading{font-size:.75rem}.brew-potionologist .premix-pour{min-height:44px;font-size:.74rem;padding:2px}.brew-potionologist .brew-right{gap:2px}.brew-potionologist .brew-extras{grid-template-columns:repeat(2,minmax(0,1fr));gap:3px}.brew-potionologist .order-slip{padding:2px 3px}.brew-potionologist .order-kicker{font-size:.55rem;line-height:1.03}.brew-potionologist .order-title{font-size:.81rem;line-height:1.02;margin:1px 0!important}.brew-potionologist .book-button,.brew-potionologist .pip-button{min-width:0;min-height:44px;padding:3px 2px;line-height:1.08}.brew-potionologist .order-ingredients{font-size:.64rem;line-height:1.05}.brew-potionologist .order-ratio{font-size:.95rem}.brew-potionologist .order-starting{font-size:.64rem;padding:1px;margin:1px 0 0}.brew-potionologist .kettle-art{max-height:111px}}@media(max-width:599px){.academy-rank-switch .academy-rank-link:last-child{grid-column:1/-1}.brew-potionologist .premix-rack{grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:auto;gap:5px}.brew-potionologist .premix-bottle{grid-template-columns:1fr;grid-template-rows:66px auto auto auto;justify-items:center;min-height:130px;padding:4px}.brew-potionologist .premix-bottle-art{grid-column:1;grid-row:1;width:53px;max-height:62px}.brew-potionologist .premix-bottle-name,.brew-potionologist .premix-bottle-quantity,.brew-potionologist .premix-bottle-status{grid-column:1;text-align:center;font-size:.72rem}.brew-potionologist .premix-inspection-ticket{font-size:.74rem}.brew-potionologist .premix-selected-art{max-height:130px}}@media(prefers-reduced-motion:reduce){.brew-potionologist *,.brew-potionologist *:before,.brew-potionologist *:after,.academy-rank-potionologist .academy-rank-link{animation:none!important;transition:none!important}}.brew-potionologist .premix-pour-motion{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:2;animation:premix-pour-lifetime .85s linear both}.brew-potionologist .premix-pour-vial{position:absolute;width:36%;max-width:74px;height:auto;left:29%;top:8%;transform-origin:50% 14%;filter:drop-shadow(0 2px 1px #33283b70);animation:premix-vial-tip .85s ease-in-out both}.brew-potionologist .premix-pour-stream{position:absolute;left:45%;top:17%;width:5%;height:27%;border-radius:45% 45% 50% 50%;background:linear-gradient(90deg,#8461a7,#dad0e8,#7986b4);box-shadow:0 0 3px #ddd0f2;transform-origin:top center;animation:premix-stream .85s ease-in-out both}@keyframes premix-pour-lifetime{0%,to{opacity:0}12%,85%{opacity:1}}@keyframes premix-vial-tip{0%{transform:rotate(0)}30%,72%{transform:rotate(-113deg)}to{transform:rotate(-20deg)}}@keyframes premix-stream{0%,22%,85%,to{transform:scaleY(0);opacity:0}35%,72%{transform:scaleY(1);opacity:1}}@media(prefers-reduced-motion:reduce){.brew-potionologist .premix-pour-motion{display:none}}.academy-scene .academy-rank-switch .academy-rank-link:last-child{grid-column:auto}.academy-rank-senior-potionologist .academy-heading{color:#eee1fc}.academy-rank-senior-potionologist .academy-seal{border-color:#9176ab;background:linear-gradient(150deg,#665483,#453656)}.academy-rank-senior-potionologist .academy-card-status{background:#e7dcf2}.academy-rank-senior-potionologist .academy-mastered .academy-seal{background:linear-gradient(140deg,#3b8271,#2d5461)}.brew-senior-potionologist .brew-jars{background:linear-gradient(155deg,#574361,#31283f)}.brew-senior-potionologist .premix-bottle{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto auto auto;justify-items:center;gap:2px}.brew-senior-potionologist .premix-bottle-art{grid-column:1;grid-row:1;width:min(60%,72px);height:100%;max-height:80px}.brew-senior-potionologist .premix-bottle-name{grid-column:1;grid-row:2;font-size:.8rem;text-align:center}.brew-senior-potionologist .premix-bottle-quantity{grid-column:1;grid-row:3;display:flex;flex-direction:column;align-items:center;gap:1px;min-width:0;max-width:100%;font-size:.72rem;text-align:center}.brew-senior-potionologist .premix-bottle-total{font-weight:900}.brew-senior-potionologist .premix-bottle-parts{font-variant-numeric:tabular-nums;white-space:nowrap}.brew-senior-potionologist .premix-bottle-status{grid-column:1;grid-row:4;font-size:.68rem;text-align:center}.brew-senior-potionologist .premix-inspection-ticket{gap:3px}.brew-senior-potionologist .premix-inspection-component{font-weight:750}.brew-senior-potionologist .order-slip{border-color:#ad92c8}@media(min-width:600px)and (max-height:480px){.academy-rank-senior-potionologist .academy-heading{font-size:1.04rem;line-height:1.03}.academy-scene .academy-rank-link{min-height:44px}.brew-senior-potionologist .brew-board{grid-template-columns:minmax(205px,1.1fr) minmax(350px,1.95fr) minmax(180px,1fr)}.brew-senior-potionologist .premix-bottle{grid-template-columns:23px minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto auto;justify-items:stretch;gap:0 2px;padding:2px}.brew-senior-potionologist .premix-bottle-art{grid-column:1;grid-row:1;width:100%;height:100%;max-height:22px;align-self:center}.brew-senior-potionologist .premix-bottle-name{grid-column:2;grid-row:1;font-size:.69rem;line-height:1.06}.brew-senior-potionologist .premix-bottle-quantity{grid-column:1/-1;grid-row:2;font-size:.67rem;line-height:1.04;gap:0}.brew-senior-potionologist .premix-bottle-status{grid-column:1/-1;grid-row:3;font-size:.65rem;line-height:1.05}.brew-senior-potionologist .premix-rack-help{font-size:.65rem;line-height:1.08}.brew-senior-potionologist .premix-station{grid-template-columns:27% minmax(0,1fr)}.brew-senior-potionologist .premix-inspection-ticket{gap:1px;font-size:.65rem}.brew-senior-potionologist .premix-inspection-heading{font-size:.73rem}.brew-senior-potionologist .kettle-art{max-height:101px}.brew-senior-potionologist .order-ingredients{font-size:.64rem}}@media(max-width:599px){.brew-senior-potionologist .premix-bottle{min-height:144px}.brew-senior-potionologist .premix-bottle-art{width:53px;max-height:62px}.brew-senior-potionologist .premix-station{grid-template-columns:33% minmax(0,1fr)}.brew-senior-potionologist .premix-inspection-ticket{font-size:.78rem}}.academy-rank-master-alchemist .academy-heading{color:#ffdea1}.academy-rank-master-alchemist .academy-seal{border-color:#d8ab64;background:linear-gradient(145deg,#ac773b,#614b3a)}.academy-rank-master-alchemist .academy-card-status{background:#f1e2bd}.academy-rank-master-alchemist .academy-mastered .academy-seal{background:linear-gradient(140deg,#3b8271,#2d5461)}@media(min-height:481px){.academy-scene .academy-rank-switch .academy-rank-link:last-child{grid-column:1/-1}}.brew-master .brew-jars{background:linear-gradient(155deg,#55433a,#39313b)}.brew-master .master-shelves{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;flex:none;margin-bottom:5px}.brew-master .master-shelf{min-width:0;padding:3px;font-size:.78rem}.brew-master .master-shelf[aria-pressed=true]{background:linear-gradient(#92734d,#715332);border-color:#ffe4a1;box-shadow:inset 0 0 0 1px #ffe4a1}.brew-master .premix-rack{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr))}.brew-master .premix-bottle{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto auto auto;justify-items:center;gap:2px;padding:3px}.brew-master .premix-bottle-art{grid-column:1;grid-row:1;width:min(65%,82px);height:100%;max-height:90px}.brew-master .premix-bottle-name{grid-column:1;grid-row:2;font-size:.85rem;text-align:center}.brew-master .premix-bottle-quantity{grid-column:1;grid-row:3;display:flex;flex-direction:column;align-items:center;gap:2px;min-width:0;max-width:100%;font-size:.72rem;text-align:center}.brew-master .premix-bottle-total{font-weight:900}.brew-master .premix-bottle-parts{font-variant-numeric:tabular-nums;white-space:normal;overflow-wrap:normal}.brew-master .premix-bottle-status{grid-column:1;grid-row:4;text-align:center;font-size:.68rem}.brew-master .premix-rack-help{color:#ffecc9;font-size:.71rem}.brew-master .premix-station{grid-template-columns:34% minmax(0,1fr)}.brew-master .premix-inspection-ticket{font-size:.78rem}.brew-master .jar-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:5px}.brew-master .ingredient-jar{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto auto;gap:3px;min-height:44px;padding:4px}.brew-master .jar-body{grid-column:1;grid-row:1;width:48px;min-height:42px;max-height:72px;align-self:center}.brew-master .jar-name{grid-column:1;grid-row:2;text-align:center;font-size:.78rem}.brew-master .jar-amount{grid-column:1;grid-row:3;font-size:.7rem;text-align:center}.brew-master .moondew .jar-body{color:#fff8d4;background:linear-gradient(115deg,#fff5bf90,#d5ab54 45%,#65564b);border-color:#edcf88}.brew-master .starfall-art{width:100%;height:100%;object-fit:contain;pointer-events:none}.brew-master .tool-button{display:flex;align-items:center;gap:4px;min-width:44px}.brew-master .tool-illustration{width:42px;height:38px;object-fit:contain;pointer-events:none}.brew-master .tool-label{min-width:0;font-size:.75rem}.brew-master .actual-line{white-space:normal}.brew-master .order-slip{border-color:#d4ac66}.brew-master .brew-middle{grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr)}@media(min-width:600px)and (max-height:480px){.brew-master .brew-board{grid-template-columns:minmax(210px,1.08fr) minmax(365px,1.97fr) minmax(185px,1fr)}.brew-master .master-shelves{gap:3px;margin-bottom:2px}.brew-master .master-shelf{font-size:.72rem}.brew-master .brew-jars .zone-heading{font-size:.79rem}.brew-master .premix-rack{gap:3px}.brew-master .premix-bottle{grid-template-columns:24px minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto auto;justify-items:stretch;gap:0 2px;padding:2px}.brew-master .premix-bottle-art{grid-column:1;grid-row:1;width:100%;height:100%;max-height:25px;align-self:center}.brew-master .premix-bottle-name{grid-column:2;grid-row:1;font-size:.72rem;line-height:1.04}.brew-master .premix-bottle-quantity{grid-column:1/-1;grid-row:2;gap:0;font-size:.67rem;line-height:1.04}.brew-master .premix-bottle-status{grid-column:1/-1;grid-row:3;font-size:.65rem;line-height:1.04}.brew-master .premix-rack-help{font-size:.64rem;line-height:1.1}.brew-master .premix-station{grid-template-columns:24% minmax(0,1fr)}.brew-master .premix-inspection-ticket{font-size:.65rem;gap:1px}.brew-master .premix-inspection-heading{font-size:.73rem}.brew-master .jar-row{gap:3px}.brew-master .ingredient-jar{grid-template-columns:30px minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto;gap:1px 2px;padding:3px;min-height:44px}.brew-master .jar-body{grid-column:1;grid-row:1/-1;width:25px;min-height:28px;max-height:36px;font-size:1.02rem;border-width:2px;border-radius:7px}.brew-master .jar-body:before{width:17px;height:4px;left:2px;top:-6px;border-width:1px}.brew-master .jar-name{grid-column:2;grid-row:1;font-size:.67rem;line-height:1.06}.brew-master .jar-amount{grid-column:2;grid-row:2;font-size:.64rem;line-height:1.05}.brew-master .glass-and-tools{grid-template-columns:minmax(43px,.56fr) minmax(110px,1.44fr);gap:1px}.brew-master .brewing-glass{height:112px;width:100%}.brew-master .prepared-amount{font-size:.62rem;padding:1px 2px}.brew-master .tool-button{padding:2px;gap:2px}.brew-master .tool-illustration{width:26px;height:29px}.brew-master .tool-label{font-size:.66rem}.brew-master .count-output{font-size:.7rem}.brew-master .kettle-art{max-height:98px}.brew-master .actual-line{font-size:.68rem;line-height:1.09}.brew-master .order-ingredients{font-size:.65rem}.brew-master .order-title{font-size:.81rem}}@media(max-width:599px){.brew-master .premix-bottle{min-height:126px}.brew-master .premix-bottle-art{max-height:64px}.brew-master .jar-row{grid-template-rows:auto}.brew-master .ingredient-jar{min-height:126px}.brew-master.master-raw-shelf .brew-middle{grid-template-columns:1fr}.brew-master.master-raw-shelf .glass-and-tools{grid-template-columns:minmax(85px,.9fr) minmax(0,1.1fr)}.brew-master .premix-station{grid-template-columns:28% minmax(0,1fr)}.brew-master .premix-inspection-ticket{font-size:.74rem}}@media(min-width:900px)and (max-width:1099px)and (min-height:481px){.academy-scene .academy-rank-switch{grid-template-columns:repeat(3,minmax(0,1fr));gap:4px}.academy-scene .academy-rank-switch .academy-rank-link:last-child{grid-column:auto}.academy-scene .academy-rank-link{min-height:44px;padding:3px 2px;font-size:.72rem}.academy-scene .rank-long{display:none}.academy-scene .rank-short{display:inline}.academy-scene .academy-heading{font-size:1.65rem;line-height:1.12}.brew-master .glass-and-tools{grid-template-columns:minmax(96px,.88fr) minmax(116px,1.12fr);gap:5px}.brew-master .tool-button{flex-direction:column;gap:3px;padding:4px 3px}.brew-master .tool-illustration{width:44px;height:34px;flex:none}.brew-master .tool-label{width:100%;min-width:0;white-space:normal;overflow-wrap:anywhere;font-size:.75rem;line-height:1.15}}.brew-master .prepared-amount{box-sizing:border-box;max-width:100%;white-space:normal;text-align:center}@media(min-width:900px)and (max-width:1099px)and (min-height:481px){.brew-master .prepared-amount{font-size:.72rem;padding:3px 4px}}.preview-book{width:min(100%,1120px)}.preview-book .title{font-size:clamp(1.4rem,3vw,2rem)}.recipe-book-scene{height:auto;min-height:0;padding:14px;display:grid;gap:10px;overflow:visible;color:#402c24;background:radial-gradient(ellipse at 40% 10%,#d6ad7555,transparent 60%),repeating-linear-gradient(90deg,#422c231f 0 3px,transparent 3px 96px),linear-gradient(140deg,#9b764f,#50382e)}.recipe-book-mast{display:flex;align-items:center;gap:12px;color:#fff1d3;min-width:0}.recipe-tome-art{width:68px;height:58px;flex:none;object-fit:contain}.recipe-book-title{min-width:0;flex:1}.recipe-book-kicker{font-size:.7rem;font-weight:850;letter-spacing:.12em;color:#ffe0a2}.recipe-book-heading{font:700 clamp(1.4rem,3vw,2.15rem)/1.1 Georgia,serif;margin:2px 0;color:#ffe5ab}.recipe-book-subtitle{max-width:185px;font-size:.78rem;text-align:right;line-height:1.25}.recipe-tome{min-width:0;display:grid;gap:7px;padding:10px;border:3px solid #a67a49;border-radius:16px 12px 14px 16px;background:linear-gradient(155deg,#704d39,#48332c);box-shadow:inset 0 0 0 2px #37271f,0 6px #3e2c25,0 11px 14px #39251e70}.recipe-navigation{min-width:0;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1fr);gap:9px;align-items:end}.recipe-field{display:grid;min-width:0;gap:2px}.recipe-filter-label{color:#fff0c9;font-weight:800;font-size:.78rem;line-height:1.1}.recipe-select{appearance:auto;width:100%;min-width:44px;min-height:44px;font:700 .88rem/1.2 system-ui,sans-serif;padding:6px 7px;color:#402d23;background:#f5e3bd;border:2px solid #cda46d;border-radius:6px;cursor:pointer;color-scheme:light}.recipe-paging{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}.recipe-paging .wood-button{padding:5px}.recipe-spread{position:relative;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);min-width:0;gap:0;border:1px solid #8e6748;border-radius:8px;box-shadow:0 4px #b98e5c,0 7px #e4c294}.recipe-leaf{min-width:0;padding:16px 20px;display:flex;flex-direction:column;align-items:center;gap:8px;background:#f7e7bf}.recipe-illustrated-leaf{border-radius:7px 0 0 7px;background:linear-gradient(90deg,#f9edcb,#f5e4bc 85%,#d5b082);border-right:1px solid #ab8258}.recipe-ingredient-leaf{border-radius:0 7px 7px 0;background:linear-gradient(90deg,#dcb98b,#f5e4bf 12%,#faedcb)}.recipe-leaf-kicker{font-size:.71rem;font-weight:850;color:#765333;letter-spacing:.1em}.recipe-name{font:700 clamp(1.5rem,3vw,2.2rem)/1.1 Georgia,serif;color:#493026;margin:0;text-align:center}.recipe-effect-illustration{width:min(100%,300px);height:auto;max-height:244px;object-fit:contain}.recipe-effect-description{max-width:330px;text-align:center;font:1rem/1.4 Georgia,serif;color:#5b4132}.recipe-ratio{font:700 clamp(1.4rem,3vw,2rem)/1.1 Georgia,serif;color:#4b3428;font-variant-numeric:tabular-nums}.recipe-ingredient-list{width:100%;min-width:0;margin:0;padding:0;list-style:none;display:grid;gap:4px}.recipe-ingredient{min-width:0;display:grid;grid-template-columns:48px minmax(0,1fr) auto;gap:8px;align-items:center;padding:3px 8px;border-bottom:1px solid #c3a579}.recipe-ingredient-art{width:44px;height:44px;object-fit:contain}.recipe-ingredient-name{font-weight:800;font-size:.95rem;line-height:1.2;color:#483226}.recipe-part-number{font-weight:850;color:#68452d;font-size:.9rem;white-space:nowrap}.recipe-unit-note{font-size:.77rem;text-align:center;color:#5a4636;line-height:1.25}.recipe-practice-slip{display:grid;width:100%;gap:5px;margin-top:auto;padding:8px;background:#fdf0d1;border:1px dashed #a67b50;border-radius:5px}.recipe-practice-total{font-size:.86rem;font-weight:850;text-align:center;color:#52362c}.recipe-practice-link{width:100%;font-size:.88rem}.recipe-book-footer{display:flex;justify-content:space-between;align-items:center;gap:6px;margin-top:5px;color:#ffeac4}.recipe-page-status{font-size:.85rem;font-weight:850}.recipe-book-scope{font-size:.75rem;text-align:right;line-height:1.2;color:#f2d7b1}.recipe-book-scene :is(button,select,a):focus-visible{outline:3px solid #ffed9d;outline-offset:2px;box-shadow:0 0 0 5px #523a2a}.recipe-book-heading:focus-visible{outline:2px solid #ffe9b0;outline-offset:3px}.recipe-entry:after{content:"Open the book"}.book-browse{text-decoration:none;margin-top:5px}.library-jar-body,.brew-library-practice .ingredient-jar .library-jar-body{background:none;border:none;box-shadow:none;width:60px;height:64px;min-height:48px}.library-jar-body:before{display:none}.library-jar-art{width:100%;height:100%;object-fit:contain;pointer-events:none}.brew-library-four .jar-row{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:5px}.brew-library-four .ingredient-jar{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto auto;padding:4px;gap:2px;min-height:44px}.brew-library-four .jar-body{grid-column:1;grid-row:1;align-self:center;width:55px;height:60px}.brew-library-four .jar-name,.brew-library-four .jar-amount{grid-column:1;font-size:.78rem}.brew-library-four .jar-name{grid-row:2}.brew-library-four .jar-amount{grid-row:3}.library-reaction-art{width:min(100%,160px);height:auto;max-height:118px;min-height:0;object-fit:contain;justify-self:center;align-self:center;display:block}.library-reaction:not(.reaction-still) .library-reaction-art{animation:folio-reaction .65s ease-out both}.library-reaction:not(.reaction-still)[data-effect=silly-ears] .library-reaction-art{animation:twisty-reaction .8s ease-out both}.library-reaction:not(.reaction-still)[data-effect=gentle-flight] .library-reaction-art{animation:flight-reaction .8s ease-out both}.library-reaction:not(.reaction-still)[data-effect=moon-halo] .library-reaction-art{animation:halo-reaction .8s ease-out both}.library-reaction:not(.reaction-still)[data-effect=ribbon-words] .library-reaction-art{animation:ribbon-reaction .75s ease-out both}.library-reaction:not(.reaction-still)[data-effect=aurora-cape] .library-reaction-art{animation:aurora-reaction .8s ease-out both}@keyframes folio-reaction{0%{opacity:.55;transform:scale(.88)}to{opacity:1;transform:scale(1)}}@keyframes twisty-reaction{0%,to{transform:rotate(0)}30%{transform:rotate(-5deg)}70%{transform:rotate(5deg)}}@keyframes flight-reaction{0%,to{transform:translateY(0)}50%{transform:translateY(-6px)}}@keyframes halo-reaction{0%{opacity:.65;filter:brightness(1.25)}to{opacity:1;filter:brightness(1)}}@keyframes ribbon-reaction{0%{opacity:.5;transform:translate(-5px)}to{opacity:1;transform:translate(0)}}@keyframes aurora-reaction{0%{opacity:.55;filter:saturate(.65)}to{opacity:1;filter:saturate(1)}}@media(prefers-reduced-motion:reduce){.library-reaction .library-reaction-art{animation:none!important}}@media(min-width:600px)and (max-height:480px){.recipe-book-scene{padding:6px;gap:4px;border-radius:11px}.recipe-book-mast{gap:6px}.recipe-tome-art{width:44px;height:38px}.recipe-book-kicker{font-size:.58rem}.recipe-book-heading{font-size:1.25rem}.recipe-book-subtitle{font-size:.66rem;max-width:145px}.recipe-tome{padding:5px;gap:4px}.recipe-navigation{gap:5px}.recipe-filter-label{font-size:.65rem}.recipe-select{padding:3px 5px;font-size:.77rem}.recipe-leaf{padding:5px 9px;gap:3px}.recipe-leaf-kicker{font-size:.61rem;line-height:1.05}.recipe-name{font-size:1.16rem}.recipe-effect-illustration{max-height:115px}.recipe-effect-description{font-size:.75rem;line-height:1.15}.recipe-ratio{font-size:1.24rem}.recipe-ingredient-list{gap:0}.recipe-ingredient{grid-template-columns:23px minmax(0,1fr) auto;gap:5px;padding:1px 4px}.recipe-ingredient-art{width:23px;height:24px}.recipe-ingredient-name,.recipe-part-number{font-size:.72rem;line-height:1.13}.recipe-unit-note{font-size:.63rem;line-height:1.08}.recipe-practice-slip{grid-template-columns:minmax(0,1fr) minmax(0,1.25fr);align-items:center;padding:2px;gap:3px}.recipe-practice-total{font-size:.68rem;line-height:1.1}.recipe-practice-link{font-size:.73rem;padding:3px}.recipe-book-footer{margin-top:3px}.recipe-page-status,.recipe-book-scope{font-size:.66rem}.brew-library-practice .ingredient-jar .library-jar-body{width:39px;height:42px;min-height:0}.brew-library-four .ingredient-jar{gap:1px}.brew-library-four .jar-name,.brew-library-four .jar-amount{font-size:.68rem;line-height:1.08}.brew-library-four .order-ingredients{font-size:.66rem}.brew-library-four .actual-line{font-size:.68rem;line-height:1.1}.brew-library-four .zone-help{display:none}.library-reaction-art{max-height:73px;width:min(100%,105px)}.library-reaction .reaction-description{font-size:.72rem;line-height:1.12}}@media(max-width:599px){.preview-book .topline{justify-content:space-between}.preview-book .status{flex-basis:100%}.recipe-book-scene{padding:8px;gap:8px;min-height:0;height:auto}.recipe-book-mast{gap:7px;flex-wrap:wrap}.recipe-tome-art{width:50px;height:45px}.recipe-book-heading{font-size:1.3rem}.recipe-book-kicker{font-size:.58rem}.recipe-book-subtitle{text-align:left;max-width:none;flex-basis:100%;font-size:.74rem}.recipe-tome{padding:6px;gap:7px}.recipe-navigation{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}.recipe-paging{grid-column:1/-1}.recipe-select{font-size:.78rem}.recipe-spread{grid-template-columns:1fr}.recipe-leaf{padding:10px;gap:5px}.recipe-illustrated-leaf{border-right:0;border-bottom:1px solid #a78053;border-radius:7px 7px 0 0;background:linear-gradient(#faedcb,#f1dcb0)}.recipe-ingredient-leaf{border-radius:0 0 7px 7px;background:linear-gradient(#e9cda3,#f9ecc9 13%)}.recipe-name{font-size:1.5rem}.recipe-effect-illustration{max-height:160px}.recipe-effect-description{font-size:.88rem;line-height:1.25}.recipe-ingredient-art{width:34px;height:34px}.recipe-ingredient{grid-template-columns:36px minmax(0,1fr) auto;gap:5px;padding:2px 4px}.recipe-ingredient-name,.recipe-part-number{font-size:.82rem}.recipe-book-footer{display:grid}.recipe-book-scope{text-align:left}.brew-library-four .jar-row{grid-template-rows:auto}.brew-library-four .ingredient-jar{min-height:110px}.library-reaction-art{max-height:135px}}@media(min-width:600px)and (max-height:480px){.recipe-ingredient-list{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:5px}}@media(min-width:600px)and (min-height:481px)and (max-height:780px){.recipe-book-scene{padding:11px;gap:7px}.recipe-tome{padding:8px;gap:6px}.recipe-leaf{padding:12px 18px;gap:6px}.recipe-ingredient{grid-template-columns:38px minmax(0,1fr) auto;padding:2px 7px}.recipe-ingredient-art{width:36px;height:36px}.recipe-effect-illustration{max-height:205px}}@media(min-width:600px)and (max-height:480px){.recipe-book-scene{padding:4px;gap:3px}.recipe-tome-art{width:40px;height:31px}.recipe-tome{padding:4px;gap:3px}.recipe-leaf{padding:4px 7px;gap:2px}.recipe-effect-illustration{max-height:91px}.recipe-effect-description{line-height:1.1}.recipe-book-footer{margin-top:2px;line-height:1.1}.recipe-practice-slip{padding:1px 2px}.recipe-ingredient{padding:0 3px}}
