:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;color:#f6edda;font-synthesis:none;--green:#182a21;--muted:#b4c4ad;--line:#3c5040;--lime:#d4ea8c;--paper:#ede5cb;--ink:#253328;--mono:"SFMono-Regular", Consolas, monospace;background:#101c17;font-family:PingFang TC,Noto Sans TC,Microsoft JhengHei,system-ui,sans-serif}*,:before,:after{box-sizing:border-box}body{background:radial-gradient(at 28% 10%,#24382c 0,#101c17 64%);min-height:100dvh;margin:0}button,input{font:inherit}button{cursor:pointer;color:inherit}button:disabled{cursor:default}button,a{touch-action:manipulation;-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible,input:focus-visible{outline-offset:3px;outline:2px solid #efb870}button:disabled{opacity:.42}h1,h2,p{margin:0}svg{flex:none;width:20px;height:20px;display:block}.shell{max-width:1120px;padding:max(16px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) max(15px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));margin-inline:auto}.masthead{justify-content:space-between;align-items:center;gap:12px;min-height:62px;margin-bottom:16px;display:flex}.brand{align-items:center;gap:12px;display:flex}.brand h1{font-family:Georgia,Songti TC,PMingLiU,serif;font-size:30px;font-weight:900;line-height:1.08}.brand p{font:10px var(--mono);color:#d4e992;letter-spacing:.12em;margin-top:5px}.brand-mark{color:#d8e997;border:1px solid #bbc775;border-radius:8px;place-items:center;width:36px;height:39px;display:grid;position:relative;transform:rotate(-5deg)}.brand-mark:before{content:"";border:2px solid;border-top-width:1px;border-radius:1px 1px 3px 3px;width:14px;height:17px;margin-top:6px;transform:perspective(20px)rotateX(-18deg)}.brand-mark:after{content:"";background:currentColor;border-radius:2px;width:18px;height:2px;position:absolute;top:13px}.brand-mark span{border-top:2px solid;border-left:2px solid;width:6px;height:7px;position:absolute;top:7px;left:18px;transform:rotate(22deg)}.header-actions{align-items:center;gap:7px;display:flex}.header-button,.icon-button{white-space:nowrap;color:#efecd8;background:#1c2b23;border:1px solid #485c48;border-radius:6px;justify-content:center;align-items:center;gap:6px;min-height:44px;padding:0 10px;font-size:13px;font-weight:680;display:inline-flex}.icon-button{width:44px;padding:0}.header-button svg,.icon-button svg{width:17px;height:17px}.share-button{color:#e4efad;background:#2a3c26;border-color:#708153}.board{grid-template:"stage ticket""stage station"1fr/minmax(0,1.72fr) minmax(325px,1fr);gap:12px;display:grid}.ticket{background:var(--paper);color:var(--ink);background-image:repeating-linear-gradient(0deg,#49341405 0 1px,#0000 1px 5px);border-top:4px solid #9aaf65;border-radius:7px 7px 0 0;grid-area:ticket;padding:13px 16px 19px;position:relative}.ticket:after{content:"";pointer-events:none;background:linear-gradient(135deg,#0000 65%,#15241c 65%) 0 0/10px 100%,linear-gradient(225deg,#0000 65%,#15241c 65%) 0 0/10px 100%;height:7px;position:absolute;inset:auto 0 -1px}.ticket-line{font:11px var(--mono);color:#4a5c42;justify-content:space-between;align-items:center;gap:6px;font-weight:700;display:flex}.ticket-title{justify-content:space-between;align-items:center;gap:6px;margin-top:5px;display:flex}.ticket h2{font:900 26px/1.15 Georgia,Songti TC,PMingLiU,serif}.method{white-space:nowrap;border:1px solid #6b7b58;border-radius:3px;flex:none;padding:2px 5px;font-size:11px;font-weight:800}.quote{color:#475143;margin-top:6px;font-size:12px;line-height:1.35}#targets{border-top:1px dashed #a5a891;grid-template-columns:1fr 1fr;gap:0 9px;margin-top:8px;display:grid}.target{color:#384934;text-align:left;white-space:nowrap;background:0 0;border:0;justify-content:space-between;align-items:center;gap:4px;min-width:0;min-height:31px;padding:4px 0;font-size:11px;display:flex}.target span:first-child{text-overflow:ellipsis;overflow:hidden}.target strong{font:700 11px var(--mono)}.target.is-reached strong{color:#1b572f}.target.is-over strong{color:#982b24}.stage{isolation:isolate;background:#294432 url(/media/counter.webp) 50% 62%/cover no-repeat;border:1px solid #667258;border-radius:8px;grid-area:stage;min-height:605px;position:relative;overflow:hidden}.stage:before{content:"";z-index:-1;background:linear-gradient(90deg,#080d0a46,#0000 22% 74%,#080d0a55),linear-gradient(#0000 82%,#0c120c8c);position:absolute;inset:0}#drink-view{touch-action:auto;width:100%;height:100%;display:block;position:absolute;inset:0}.stage-label,.stage-caption{color:#f1efda;pointer-events:none;background:#0e1c17ca;border:1px solid #c2c9a84d;border-radius:4px;padding:5px 8px;font-size:11px;line-height:1.25;position:absolute;left:12px}.stage-label{align-items:center;gap:6px;display:flex;top:12px}.stage-label span:first-child{background:#d5ef83;border-radius:50%;width:7px;height:7px;box-shadow:0 0 9px #d5ef8394}.stage-caption{max-width:calc(100% - 65px);bottom:12px}.gauge{width:43px;font-family:var(--mono);color:#fff9d9;text-shadow:0 1px 5px #000;pointer-events:none;justify-items:center;display:grid;position:absolute;bottom:14px;right:14px}.gauge-rail{background:#17251fdc;border:1px solid #bdd49b80;border-radius:8px;width:7px;height:clamp(100px,21vh,181px);margin-bottom:6px;position:relative}#gauge-fill{border-radius:inherit;background:linear-gradient(#e8faad,#9cbf59);width:100%;height:0%;position:absolute;bottom:0}#gauge-goal{filter:drop-shadow(0 0 4px #fbc46d);border-top:1px solid #ffcf85;width:13px;position:absolute;left:-4px}.gauge strong{font-size:19px;line-height:1}.gauge small{font-size:10px;line-height:1.4}.fallback-cup{clip-path:polygon(0 0,100% 0,83% 100%,17% 100%);background:#edffe730;border:2px solid #f1fae6b0;border-radius:4px 4px 30% 30%/4px 4px 8% 8%;width:min(27%,135px);height:60%;display:none;position:absolute;bottom:11%;left:50%;overflow:hidden;transform:translate(-50%);box-shadow:inset 8px 0 12px #f0ffe7aa,inset -4px 0 10px #f0ffe799}.fallback-cup:after{content:"";background:linear-gradient(100deg,#fff4,#0000 24% 70%,#ffffdf50);position:absolute;inset:0}.fallback-cup span{position:absolute;bottom:0;left:0;right:0}.stage.is-3d-unavailable .fallback-cup{display:block}.station{background:#192a22;border:1px solid #425745;border-radius:8px;flex-direction:column;grid-area:station;min-width:0;padding:12px;display:flex}.station-head{justify-content:space-between;align-items:center;gap:5px;display:flex}.tabs{background:#101d17;border-radius:5px;gap:3px;padding:3px;display:flex}.tabs button{color:#c0c8b7;background:0 0;border:1px solid #0000;border-radius:4px;min-height:37px;padding:0 15px;font-size:13px;font-weight:700}.tabs button[aria-pressed=true]{color:#e6f1b4;background:#2c422d;border-color:#536d44}.hint{color:var(--muted);margin:7px 0 9px;font-size:11px;line-height:1.4}.ingredients{grid-template-columns:repeat(4,minmax(0,1fr));align-content:start;gap:6px;min-height:114px;display:grid}.ingredient{color:#f3eedb;touch-action:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;background:#223329;border:1px solid #44574a;border-radius:5px;flex-direction:column;justify-content:center;align-items:center;gap:3px;min-height:60px;padding:4px 2px;display:flex;position:relative}.ingredient.is-in-order{border-color:#7d905f}.ingredient.is-active{background:#435b34;border-color:#e3eda5;box-shadow:inset 0 0 14px #d2ea7428}.ingredient svg{color:#f0e9ca;width:22px;height:22px}.ingredient-name{white-space:nowrap;font-size:11px;font-weight:680;line-height:1.2}.ingredient-amount{font:9px var(--mono);color:#d6e3ca;line-height:1}.work-note{color:#c6d7ad;min-height:18px;margin:7px 0;font-size:11px;line-height:1.3}.controls{grid-template-columns:auto auto 1fr;gap:6px;margin-top:auto;display:grid}.tool-button,.serve{white-space:nowrap;background:#283b2e;border:1px solid #4f6650;border-radius:5px;justify-content:center;align-items:center;gap:5px;min-height:46px;padding:0 9px;font-size:13px;font-weight:750;display:inline-flex}.serve{color:#132316;background:var(--lime);border-color:#e7f8ab;padding-inline:11px;box-shadow:inset 0 -3px #25342a22}.serve:disabled{opacity:.59}.tool-button svg,.serve svg{width:17px;height:17px}footer{color:#bdccb4;justify-content:space-between;align-items:center;gap:10px;min-height:45px;font-size:12px;display:flex}footer a,footer button{color:inherit;background:0 0;border:0;padding:7px 0;text-decoration:none}footer button:hover,footer a:hover{color:#e6f1aa;text-decoration:underline}dialog{color:#f6efdb;background:#1a2e23;border:1px solid #83946f;border-radius:8px;width:100%;max-width:min(450px,100% - 24px);max-height:min(85dvh,700px);padding:17px;box-shadow:0 10px 40px #08120b96}dialog::backdrop{background:#09130dc7}.dialog-top{color:#d7e9a0;justify-content:space-between;align-items:center;gap:8px;margin:-4px -4px 3px 0;font-size:13px;display:flex}dialog h2{margin-bottom:6px;font-family:Georgia,Songti TC,PMingLiU,serif;font-size:28px}dialog p{color:#d7e1ce;font-size:14px;line-height:1.45}.receipt-score{background:var(--paper);color:var(--ink);border-radius:4px;justify-content:space-between;align-items:center;margin:10px 0;padding:9px 12px;display:flex}.receipt-score[hidden]{display:none}.receipt-score strong{font:700 26px var(--mono)}.receipt-score span{color:#4b5f23;letter-spacing:3px;font-size:18px}.result-actions{grid-template-columns:1fr 1fr;gap:7px;margin-top:15px;display:grid}.result-actions button[hidden]{display:none}.result-share{flex-wrap:wrap;justify-content:space-between;gap:4px;margin-top:8px;display:flex}.link-button{color:#dbeaa8;background:0 0;border:0;align-items:center;gap:5px;min-height:42px;padding:3px;font-size:12px;display:inline-flex}.link-button svg{width:16px;height:16px}#book-list{gap:6px;margin-top:10px;display:grid}.book-item{text-align:left;background:#273e30;border:1px solid #4c6750;border-radius:4px;justify-content:space-between;align-items:center;gap:9px;min-height:47px;padding:6px 10px;display:flex}.book-item small{color:#d5eaa2;white-space:nowrap}#share-link{color:#132418;background:#e7efcd;border:0;border-radius:4px;width:100%;min-height:45px;padding:5px}.toast{z-index:20;max-width:calc(100% - 30px);bottom:max(18px, env(safe-area-inset-bottom));color:#15231a;text-align:center;pointer-events:none;background:#e6f0ba;border-radius:4px;margin:0;padding:7px 11px;font-size:13px;position:fixed;left:50%;transform:translate(-50%);box-shadow:0 3px 10px #0005}.toast:empty{display:none}@media (width>=791px) and (height>=560px){.ingredient{min-height:76px}.ingredient-name{font-size:12px}.work-note{margin-top:11px}}@media (hover:hover){.ingredient:hover:not(:disabled){background:#354a35}.tool-button:hover:not(:disabled),.header-button:hover,.icon-button:hover{filter:brightness(1.21)}.serve:hover:not(:disabled){background:#e6f5ae}.target:hover{text-decoration:underline}}@media (width<=790px){.shell{max-width:640px}.board{grid-template:"ticket""stage""station"/minmax(0,1fr);gap:7px}.stage{background-position:50% 68%;height:clamp(245px,38svh,460px);min-height:0}.station{padding:8px}.station-head{display:contents}.hint{margin:4px 0 6px}.ingredients{min-height:0}.ingredient{min-height:53px}.ticket{padding:7px 11px 11px}.ticket h2{font-size:23px}.ticket-title,.quote{margin-top:3px}#targets{margin-top:4px}.target{min-height:28px}.tabs button{min-height:35px}.work-note{min-height:15px;margin:5px 0 3px}}@media (width<=470px){.shell{padding-inline:max(9px, env(safe-area-inset-left)) max(9px, env(safe-area-inset-right));padding-top:max(7px, env(safe-area-inset-top))}.masthead{gap:5px;min-height:48px;margin-bottom:7px}.brand{gap:5px;min-width:0}.brand-mark{border-radius:4px;flex:none;width:24px;height:30px}.brand-mark:before{width:11px;height:13px;margin-top:5px}.brand-mark:after{width:14px;top:10px}.brand-mark span{top:4px;left:11px}.brand h1{white-space:nowrap;font-size:19px}.brand p{letter-spacing:.07em;margin-top:4px;font-size:7px}.header-actions{gap:4px}.header-actions button{gap:4px;min-height:38px;padding:0 6px;font-size:11px}.header-actions .icon-button{width:38px;padding:0}.header-actions svg{width:15px;height:15px}.header-actions #open-book .icon-slot{display:none}.stage-label,.stage-caption{left:7px}.stage-label{top:7px}.stage-caption{bottom:7px}.gauge{bottom:7px;right:4px}}@media (width<=355px){.header-actions .share-button>span:last-child{display:none}.header-actions .share-button{min-width:37px}.brand h1{font-size:17px}}@media (height<=520px) and (width>=650px) and (width<=950px) and (orientation:landscape){.shell{max-width:1120px}.board{grid-template:"stage ticket""stage station"1fr/minmax(0,1.2fr) minmax(310px,1fr)}.stage{height:auto;min-height:480px}}
