:root{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#f3e6ce;background:#111f22;--ink:#172826;--muted:#9bb5ac;--cream:#f2e4ca;--mint:#b8e3c9;--gold:#f6c780;--edge:rgba(218,218,175,.15)}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;min-width:300px;background:radial-gradient(ellipse at 88% 0%,#284441 0,transparent 37%),radial-gradient(ellipse at 0% 40%,#1b3431 0,transparent 30%),#111f22}button{font:inherit;cursor:pointer}button:disabled{cursor:not-allowed;opacity:.42}button:focus-visible,a:focus-visible{outline:3px solid var(--gold);outline-offset:3px}.skip{position:absolute;left:-10000px;top:0}.skip:focus{left:1rem;z-index:30;background:#fff;color:#000;padding:1rem}.app{max-width:1560px;margin:auto;padding:0 30px}.mast{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:18px 0;border-bottom:1px solid rgba(244,240,204,.11)}.brand{display:flex;align-items:center;gap:8px;color:#e9e5cf;text-decoration:none;letter-spacing:.13em;font-size:11px;font-weight:850}.brandarc{color:#a6cdbb}.brandicon{display:grid;place-items:center;width:30px;height:30px;color:#20362c;background:#dab982;border-radius:9px;font-size:17px}.mast-right{display:flex;align-items:center;gap:9px;font-weight:750;color:#9caea9;letter-spacing:.13em;font-size:10px}.live-dot,.status-orb{width:7px;height:7px;border-radius:100%;background:#b4d1ba;box-shadow:0 0 11px #95d3b385}.sound{border:1px solid #6a7b70;background:#2a3d3b;color:#dfdfcb;padding:9px 12px;border-radius:10px;margin-left:10px;font-size:11px;font-weight:800}.headline{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:26px 0 22px}.eyebrow,.panel-kicker,.hud-label{font-size:10px;color:#bfb49a;letter-spacing:.16em;font-weight:850}.eyebrow span{margin:0 7px;color:#ffd48c}.headline h1{margin:7px 0 5px;font-family:Georgia,serif;font-size:clamp(35px,4.25vw,61px);line-height:1.06;letter-spacing:-.042em;font-weight:500}.headline h1 em{color:#e4bc7d}.headline p{margin:8px 0 0;color:#b6c3b8;font-size:14px}.opening-sign{border:1px solid #e1c78778;border-radius:15px;min-width:178px;padding:14px 23px;text-align:center;display:grid;gap:4px;color:#e8d4a8;background:#1c3432;box-shadow:inset 0 1px #d4cf9870}.sign-star{font-size:20px}.opening-sign strong{font-family:Georgia,serif;letter-spacing:.12em;font-size:15px}.opening-sign small{font-size:9px;letter-spacing:.13em;color:#aec1b9}.game{position:relative;border:1px solid #75847d78;border-radius:20px;overflow:hidden;background:#152523;box-shadow:0 26px 70px #0005}.hud{background:linear-gradient(105deg,#263b37,#192f2c);display:flex;align-items:stretch;border-bottom:1px solid #53645f55}.hud-cell{min-width:112px;border-right:1px solid #d8d9b31b;padding:13px 19px;display:grid;gap:4px}.hud-cell strong{font-size:19px;font-weight:850;color:#f8e9cc}.hud-cell:nth-child(3) strong{color:#f4d18b}.hud-label{color:#a5bbae;font-size:9px}.tabular{font-variant-numeric:tabular-nums}.flame{color:#f1bd75}.hud-end{margin-left:auto;padding:14px;display:grid;place-items:center}.hud-button{background:#2d4440;border:1px solid #6d827a;border-radius:9px;color:#e4ebdf;padding:9px 12px;font-weight:750;font-size:12px}.board{display:grid;grid-template-columns:minmax(235px,.82fr) minmax(450px,2fr) minmax(246px,.91fr);gap:13px;padding:13px;background:radial-gradient(ellipse at 45% 15%,#244038 0,transparent 60%),#162925}.card{background:#1a302e;border-radius:12px;border:1px solid #5b77705b;overflow:hidden}.orders,.guide{min-height:605px;display:flex;flex-direction:column}.panel-heading,.station-top{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:19px 17px 14px;border-bottom:1px solid #54726a50}.panel-heading h2,.station-top h2{font:400 22px/1.2 Georgia,serif;margin:6px 0 0;letter-spacing:-.025em;color:#f2e9d6}.ticket-glyph,.guide-glyph{font-size:30px;color:#d7b377}.count-pill{font:800 11px/1 sans-serif;background:#34534a;color:#e4e7d6;padding:5px 7px;border-radius:30px;vertical-align:middle}.ticket-list{display:flex;flex-direction:column;gap:11px;overflow:auto;flex:1;padding:12px;max-height:537px;min-height:330px}.no-ticket{color:#9ab6ad;font-size:14px;line-height:1.7;border:1px dashed #6d8d8170;padding:28px 12px;text-align:center;border-radius:12px}.ticket{width:100%;border:1px solid #657e74;background:linear-gradient(120deg,#eaddc5,#faf0d7);color:#27352f;padding:0;text-align:left;border-radius:11px;overflow:hidden;box-shadow:0 5px 16px #050f1022;transition:transform .15s,border-color .15s}.ticket:hover{transform:translateY(-2px)}.ticket.selected{outline:3px solid #e8b96c;outline-offset:-3px}.ticket-head{display:flex;align-items:center;gap:9px;padding:12px 12px 7px}.avatar{width:39px;height:39px;display:grid;place-items:center;border-radius:11px;background:#c5dac9;color:#33473b;font-family:Georgia,serif;font-size:21px}.ticket-person{display:grid;gap:2px;min-width:0;flex:1}.ticket-person strong{font-size:12px}.ticket-person span{font-size:10px;color:#738078}.ticket-no{font:800 11px sans-serif;color:#829284}.ticket-drink{padding:5px 12px 9px;font:700 16px/1.2 Georgia,serif}.ticket-btm{padding:0 12px 10px}.patience-meta{display:flex;justify-content:space-between;margin-bottom:5px;color:#6e8276;font-size:9px;font-weight:800;letter-spacing:.12em}.patience-track{height:6px;border-radius:5px;background:#b4b9a4;overflow:hidden}.patience-fill{height:100%;width:100%;background:#4c9676;transition:width .15s}.patience-fill.low{background:#d78462}.order-foot{margin-top:auto;border-top:1px solid #5c766c6b;padding:15px;display:flex;align-items:center;gap:8px;color:#adc7bc;font-size:11px}.little-light{width:7px;height:7px;border-radius:9px;background:#dfc184}.station-top{padding:15px 18px}.station-top h2{font-size:24px}.handcrafted{font-size:9px;color:#d6bd8b;white-space:nowrap;letter-spacing:.14em;font-weight:800}.brew-scene{height:231px;position:relative;overflow:hidden;background:radial-gradient(ellipse at 50% 20%,#56675e 0,#243d37 36%,#182d2c 74%);border-bottom:9px solid #4e5748}.brew-scene::before{content:"";position:absolute;inset:0;background:repeating-linear-gradient(90deg,transparent,transparent 54px,#ffffff06 55px,transparent 56px);opacity:.7}.scene-lights{position:absolute;inset:0;display:flex;justify-content:space-around;padding:0 13%}.scene-lights span{display:block;width:14px;height:85px;background:linear-gradient(#f3d9a78c,transparent);filter:blur(8px)}.machine{position:absolute;width:228px;height:153px;top:19px;left:50%;transform:translateX(-50%);filter:drop-shadow(0 16px 12px #081a1c90)}.machine-top{height:73px;background:linear-gradient(105deg,#b5a591,#e7dac6 23%,#928b7c 73%,#bbae97);border-radius:18px 18px 5px 5px;border:5px solid #3c4a43;position:relative;box-shadow:inset 0 6px 5px #fff5}.machine-brand{position:absolute;left:15px;top:16px;font:800 9px sans-serif;letter-spacing:.12em;color:#375348}.machine-dial{width:45px;height:45px;background:radial-gradient(circle,#ecdfbb 48%,#8e9b8c 51%,#576d61 64%,#d9ddc4 67%);position:absolute;top:7px;right:19px;border-radius:50%}.needle{position:absolute;width:2px;height:15px;background:#a6603f;left:21px;top:8px;transform-origin:bottom;transform:rotate(-33deg)}.machine-led{position:absolute;left:27px;bottom:10px;width:7px;height:7px;border-radius:50%;background:#91d6a2;box-shadow:0 0 10px #a2f9a7}.machine-middle{height:61px;background:linear-gradient(90deg,#314743,#172b2e,#42574f);margin:0 14px;border-radius:0 0 8px 8px;border:4px solid #43534c;border-top:0;position:relative}.machine-grill{position:absolute;left:16px;bottom:7px;width:70px;height:35px;background:repeating-linear-gradient(90deg,#5f756d 0 2px,#283936 2px 6px);border-radius:4px;opacity:.7}.spout{position:absolute;top:3px;left:100px;width:9px;height:20px;background:#d9cab1;transform:rotate(15deg);border-radius:2px}.spout-b{left:118px;transform:rotate(-15deg)}.portafilter{position:absolute;width:110px;height:8px;right:-42px;top:16px;background:#b7ac95;border-radius:7px;transform:rotate(-4deg)}.machine-base{margin:0 3px;height:13px;background:linear-gradient(#9baf9f,#4b5c55);border-radius:4px}.cup-area{position:absolute;top:128px;left:50%;transform:translateX(-50%);width:156px;height:90px;display:grid;justify-items:center}.cup-wrap{position:relative;width:80px;height:59px;background:linear-gradient(100deg,#c4bdab,#fff2db 25%,#efe5d0 77%,#b8b1a1);border-radius:4px 4px 22px 22px;border-top:4px solid #fff3dc;overflow:hidden;z-index:2;box-shadow:0 8px 10px #0e242454}.cup-handle{position:absolute;width:34px;height:38px;border:8px solid #ddd0b8;border-radius:45%;right:15px;top:10px}.cup-fill{position:absolute;bottom:0;left:0;right:0;height:0%;background:linear-gradient(#c69e64,#644837);transition:height .25s}.cup-art{position:absolute;top:10px;left:0;right:0;text-align:center;color:#685745aa;font-size:21px}.cup-label{position:absolute;bottom:9px;left:0;right:0;text-align:center;font-size:6px;letter-spacing:.16em;font-weight:800;color:#6a6457}.saucer{position:absolute;bottom:9px;width:117px;height:10px;background:#e3d8bd;border-radius:50%}.steam-lines{position:absolute;top:-22px;left:49px;display:flex;gap:14px;z-index:4;opacity:0;transition:opacity .3s}.steam-lines.show{opacity:1}.steam-lines i{width:5px;height:24px;border-left:2px solid #dedcc2;border-radius:60%;animation:steam 1.3s infinite ease-in-out}.steam-lines i:nth-child(2){animation-delay:.25s}.steam-lines i:nth-child(3){animation-delay:.5s}@keyframes steam{from{transform:translateY(5px);opacity:0}50%{opacity:.9}to{transform:translateY(-11px);opacity:0}}.scene-caption{position:absolute;bottom:12px;left:0;right:0;text-align:center;font-size:9px;color:#c0d4ba;letter-spacing:.2em;font-weight:800}.sparkle{color:#e6ba7c}.brew-bar{display:grid;grid-template-columns:minmax(0,1fr) minmax(120px,170px) auto;align-items:center;gap:12px;padding:14px;background:#233b36;border-bottom:1px solid #55736c65}.brew-bar-text{display:grid;gap:4px}.brew-bar-text strong{font-size:12px;color:#f2e4cd}.brew-bar-text small{font-size:10px;color:#b0c7bb;line-height:1.4}.gauge{position:relative;height:14px;border-radius:6px;background:linear-gradient(90deg,#af7860,#7b8b65 45%,#ab8b60 70%,#9e6058);box-shadow:inset 0 2px 5px #0008;overflow:hidden}.gauge-zone{position:absolute;left:49%;width:20%;inset-block:0;background:#e9c56d9c;border-left:2px solid #ffef9c;border-right:2px solid #ffef9c}.gauge-fill{height:100%;width:0;background:#e3dfae44;transition:width .03s linear}.gauge-needle{position:absolute;left:0;top:-2px;height:18px;width:3px;background:#fff3d6;box-shadow:0 0 7px #fffa9a;transition:left .02s linear}.gauge-labels{display:flex;justify-content:space-between;font-size:8px;font-weight:800;letter-spacing:.1em;color:#92afa1;margin-top:5px}.brew-btn{min-width:114px;align-self:center;background:linear-gradient(115deg,#e9c789,#cfa567);border:0;border-radius:9px;color:#25382d;padding:14px 13px;font-size:11px;font-weight:900;letter-spacing:.02em;box-shadow:0 3px 0 #85663b}.brew-btn span{margin-left:5px}.brew-btn.stop{background:linear-gradient(115deg,#ffe4a1,#e8ae75)}.ingredients{padding:17px 17px 12px}.ingredients-heading,.book-heading{display:flex;align-items:end;justify-content:space-between;gap:8px;margin-bottom:12px}.ingredients-heading h3{font:400 23px Georgia,serif;margin:5px 0 0}.shortkeys{font-size:9px;color:#9db8ac;letter-spacing:.11em}.ingredient-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:7px}.ingredient{display:grid;justify-items:center;align-content:center;gap:5px;padding:10px 3px 8px;border-radius:10px;background:#294541;border:1px solid #63857880;color:#e6e9d9;min-height:66px;transition:transform .14s,background .14s}.ingredient:hover:not(:disabled){background:#385e50;transform:translateY(-2px)}.ingredient .emoji{font-size:22px}.ingredient small{font-weight:750;font-size:9px}.ingredient kbd{font:800 8px sans-serif;color:#b0c5b9}.build-bottom{padding:0 17px 14px}.build-tray{border-radius:9px;background:#132522;border:1px solid #517065;padding:12px;display:grid;gap:8px;min-height:75px}.build-name{font-size:9px;letter-spacing:.14em;color:#c7b68e;font-weight:850}.chips{display:flex;gap:5px;flex-wrap:wrap}.chip{padding:6px 9px;background:#d7ddc6;color:#2c4135;border-radius:8px;font-size:11px;font-weight:800}.empty-chip{font-size:11px;color:#88a69a}.action-buttons{display:grid;grid-template-columns:1fr 2fr;gap:9px;margin-top:11px}.discard,.serve{border-radius:10px;min-height:49px;font-size:12px;font-weight:900;letter-spacing:.04em}.discard{border:1px solid #6c8175;background:#2c413b;color:#c6d7c6}.serve{border:0;color:#273a2f;background:linear-gradient(120deg,#d7e8c5,#a6d3b9);box-shadow:0 3px 0 #558f75}.serve span{margin-left:10px}.reaction{min-height:32px;padding:0 18px 13px;color:#e6bd7f;font-size:12px;font-weight:750}.selected{margin:13px;background:linear-gradient(140deg,#dcd6bb,#f5eacf);color:#273d33;padding:17px;border-radius:10px;min-height:152px}.selected-blank{display:grid;place-items:center;color:#64786e;line-height:1.6;height:120px;text-align:center;font-size:13px}.selected-top{display:flex;align-items:center;justify-content:space-between;font-size:10px;font-weight:800;letter-spacing:.12em;color:#68776b}.selected-drink{font:400 28px Georgia,serif;margin:8px 0 9px}.selected-desc{font-size:11px;line-height:1.45;color:#536b5d}.selected-steps{display:flex;flex-wrap:wrap;gap:5px;margin-top:13px}.selected-steps span{font-size:10px;font-weight:900;border:1px solid #c1c9b7;border-radius:8px;padding:6px 8px;background:#fff9e6}.book-heading{padding:6px 16px;margin-bottom:5px;font-weight:900;font-size:10px;letter-spacing:.13em;color:#e7dac1}.book-heading span{color:#91bca5;font-size:9px}.recipe-list{padding:0 13px;display:grid;gap:4px;overflow:auto;max-height:274px}.recipe-row{padding:10px 11px;border-radius:8px;border-bottom:1px solid #4d6a6150;background:#213b36;display:grid;grid-template-columns:25px minmax(0,1fr);gap:8px;color:#f4e6cf;align-items:center}.recipe-icon{font-size:20px}.recipe-row h3{font-size:12px;margin:0 0 3px}.recipe-row p{color:#a4bcae;font-size:10px;margin:0;line-height:1.4}.recipe-row.locked{opacity:.45}.guide-note{margin:auto 12px 12px;background:#334b3e;border-left:3px solid #d8b477;padding:12px}.guide-note strong{font-size:10px;letter-spacing:.08em;color:#f0d69e}.guide-note p{margin:6px 0 0;font-size:11px;color:#bac6b3;line-height:1.5}.game-status{display:flex;justify-content:space-between;align-items:center;gap:12px;border-top:1px solid #6b89715c;background:#1d3430;padding:14px 20px}.game-status>div{display:grid;grid-template-columns:auto auto;align-items:center;justify-content:start;gap:3px 9px}.game-status strong{font-size:10px;letter-spacing:.13em}.game-status small{grid-column:2;font-size:11px;color:#a7bfb0}.status-quote{font:italic 14px Georgia,serif;color:#c0b68f}.below{padding:43px 4px}.below h2{font:400 30px Georgia,serif;margin:9px 0}.below>div>p{max-width:850px;font-size:14px;color:#a8beb5;line-height:1.7}.how-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin-top:25px}.how-grid article{border:1px solid #54736c5c;background:#182e2c;border-radius:13px;padding:22px}.how-grid span{color:#e5b97a;font:400 23px Georgia,serif}.how-grid h3{font:400 19px Georgia,serif;margin:12px 0}.how-grid p{font-size:12px;line-height:1.6;color:#a8bfb3}.foot{display:flex;justify-content:space-between;padding:20px 0 30px;border-top:1px solid #395a50;color:#a7beb0;font-size:10px;letter-spacing:.13em;font-weight:850}.foot a{color:#e3d09e;text-decoration:none}.overlay{position:absolute;inset:0;background:#071713b8;backdrop-filter:blur(8px);z-index:8;display:grid;place-items:center;padding:18px}.overlay.hidden{display:none}.overlay-card{width:min(100%,490px);max-height:calc(100dvh - 35px);overflow:auto;background:radial-gradient(circle at 50% 0,#35534a,#18322e 65%);border:1px solid #bfaa7b;border-radius:22px;padding:31px 34px;text-align:center;box-shadow:0 25px 55px #0009}.overlay-star{font-size:40px;color:#f4c88a}.overlay-kicker{letter-spacing:.16em;font-size:9px;color:#cdbd9a;font-weight:850;margin-top:9px}.overlay h2{font:400 clamp(30px,4vw,43px)/1.14 Georgia,serif;margin:15px 0}.overlay h2 em{color:#f0c88c}.overlay p{font-size:13px;color:#c4d4bf;line-height:1.65}.overlay-extras{display:flex;justify-content:center;gap:8px;margin:17px 0 23px}.overlay-extras div{padding:10px 8px;background:#28453e;border:1px solid #5f8873;border-radius:8px;font-size:11px;color:#eedabe}.overlay-action{border:0;width:100%;background:#e9ca95;border-radius:11px;padding:16px;color:#233b30;font-size:14px;letter-spacing:.05em;font-weight:900}.overlay-action span{margin-left:9px}.overlay-foot{font-size:10px!important;color:#8eb4a6!important;margin-bottom:0!important}.shop{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:20px 0}.shop button{border:1px solid #9e9b73;background:#2f5149;color:#e8dcc4;border-radius:10px;padding:11px 5px;display:grid;gap:6px}.shop button strong{font-size:11px}.shop button span{font-size:10px;color:#e9c181}.shop button small{font-size:10px;color:#acc5b5}.shop button:disabled{opacity:.4}.success-pop{animation:flashgold .55s ease}@keyframes flashgold{50%{box-shadow:0 0 28px #f9e59b88;filter:brightness(1.15)}}@media(max-width:1170px){.app{padding:0 18px}.board{grid-template-columns:minmax(200px,1fr) minmax(375px,1.7fr)}.guide{grid-column:1/-1;min-height:0;display:block}.guide .selected{min-height:90px}.recipe-list{grid-template-columns:repeat(2,1fr);max-height:none}.guide-note{margin:10px}.hud-cell{min-width:auto;flex:1;padding:12px 11px}.hud-cell strong{font-size:17px}.ingredient-grid{grid-template-columns:repeat(4,1fr)}}@media(max-width:700px){.app{padding:0 10px}.mast{padding:11px 2px}.mast-right>span:not(.live-dot){display:none}.sound{padding:7px 9px;margin-left:3px;font-size:11px}.sound span{display:none}.headline{padding:15px 3px}.headline h1{font-size:36px}.headline p{font-size:11px;line-height:1.45;max-width:240px}.eyebrow{font-size:8px}.opening-sign{display:none}.game{border-radius:12px}.hud{flex-wrap:wrap}.hud-cell{flex:1 1 19%;border-bottom:1px solid #ffffff10;min-width:0;padding:10px 7px}.hud-cell strong{font-size:13px;white-space:nowrap}.hud-label{font-size:7px;letter-spacing:.07em}.hud-end{padding:5px;flex:0 1 auto}.hud-button{font-size:10px;padding:6px 8px}.board{display:flex;flex-direction:column;gap:8px;padding:8px}.station{order:1}.orders{order:0;min-height:auto}.guide{order:2}.orders .panel-heading{padding:11px 13px 6px}.orders .panel-heading h2{font-size:17px}.ticket-list{flex-direction:row;overflow:auto;min-height:0;max-height:none;padding:7px 10px 11px;scroll-snap-type:x mandatory}.ticket{min-width:178px;width:178px;flex:0 0 178px;scroll-snap-align:start}.ticket-head{padding:8px 8px 4px}.avatar{width:29px;height:29px;font-size:16px}.ticket-drink{font-size:14px;padding:3px 9px 7px}.ticket-btm{padding:0 9px 8px}.order-foot{display:none}.no-ticket{width:100%;padding:9px;font-size:12px}.station-top{padding:12px}.station-top h2{font-size:20px}.handcrafted{font-size:8px}.brew-scene{height:188px}.machine{transform:translateX(-50%) scale(.83);transform-origin:top center}.cup-area{top:105px;transform:translateX(-50%) scale(.86);transform-origin:top center}.scene-caption{font-size:7px}.brew-bar{grid-template-columns:1fr auto;gap:10px;padding:10px}.brew-bar-text{grid-column:1/-1}.brew-bar-text strong{font-size:11px}.brew-bar-text small{font-size:10px}.gauge-wrap{min-width:0}.brew-btn{min-width:109px;padding:12px 8px;font-size:10px}.ingredients{padding:12px}.ingredients-heading h3{font-size:20px}.ingredient-grid{grid-template-columns:repeat(7,minmax(0,1fr));gap:4px}.ingredient{min-height:59px;padding:7px 0}.ingredient .emoji{font-size:19px}.ingredient small{font-size:8px;letter-spacing:-.03em}.ingredient kbd{font-size:7px}.build-bottom{padding:0 12px 12px}.reaction{padding:0 12px 8px}.guide .panel-heading{padding:12px}.guide .panel-heading h2{font-size:19px}.guide .selected{margin:10px}.recipe-list{grid-template-columns:repeat(2,1fr);padding:0 9px}.game-status{padding:10px}.status-quote{display:none}.how-grid{grid-template-columns:1fr}.below{padding:26px 3px}.below h2{font-size:24px}.foot{line-height:1.7;font-size:9px}.overlay-card{padding:22px 16px}.overlay-extras{gap:4px}.overlay-extras div{font-size:9px;padding:8px 4px}}@media(max-width:370px){.hud-cell{flex-basis:22%;padding:8px 5px}.hud-cell strong{font-size:12px}.ingredient-grid{grid-template-columns:repeat(4,1fr)}.ingredient{min-height:52px}.game-status strong{font-size:9px}.panel-kicker{font-size:9px}.shop{gap:4px}.shop button{padding:8px 4px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important}}
/* V0.631-Q1 / NIGHT SHIFT STUDIO — visual and interactive redesign */
:root{--gold:#f6c47f;--pearl:#fdf0d5;--teal:#112622;--dark:#091b1b;--edge:rgba(245,214,166,.15);--muted:#abbbb0}
body{background:radial-gradient(ellipse at 48% -9%,#27443d 0,transparent 55%),radial-gradient(ellipse at 110% 15%,#233932 0,transparent 42%),#101c1d;color:var(--pearl)}
.app{max-width:1510px}
.mast{padding:11px 0;border-color:#cdba8c26}
.brand{font-size:10px;letter-spacing:.18em}
.brandicon{background:#f1c98e;color:#253c30;box-shadow:0 0 25px #e1b67827}
.headline{padding:18px 2px 17px}
.headline h1{margin:3px 0;font-size:clamp(34px,4vw,54px);letter-spacing:-.045em}
.headline p{color:#bac7bd;margin:4px 0 0}
.eyebrow{letter-spacing:.18em}
.opening-sign{padding:10px 17px;min-width:166px;border-color:#d9bc7890;background:linear-gradient(165deg,#253e32,#182e2a);box-shadow:0 6px 21px #0005,inset 0 1px #ecd8af45}
.game{background:#0e2522;border-color:#9a9a766a;border-radius:18px;box-shadow:0 18px 55px #0008,0 0 70px #a2bd7b08}
.hud{background:linear-gradient(105deg,#244239 0%,#172e2b 45%,#20382e);border-bottom:1px solid #c1b48c39}
.hud-cell{padding:10px 19px}
.hud-label{color:#aec2b1;letter-spacing:.15em}
.hud-cell strong{font-size:19px;font-variant-numeric:tabular-nums}
.hud-button{background:#d6c49b18;border-color:#b3b99880;border-radius:8px}
.board{grid-template-columns:minmax(235px,.85fr) minmax(455px,2.02fr) minmax(242px,.95fr);padding:11px;gap:11px;background:radial-gradient(ellipse at 45% 0,#36584a66,transparent 51%),#142d27}
.card{background:linear-gradient(150deg,#18352f,#142c29 75%);border:1px solid #a5b3a23f;box-shadow:inset 0 1px #ffffff0c;border-radius:13px}
.panel-heading,.station-top{border-bottom:1px solid #d6d2a822;padding:15px 16px 12px}
.station-top h2{font-size:24px}
.panel-kicker{letter-spacing:.18em;color:#d0b788}
.panel-heading h2{font-size:20px}
.handcrafted{border:1px solid #a7cc9b60;border-radius:80px;padding:6px 10px;background:#153c2d;color:#b8e7bb;font-size:9px;letter-spacing:.1em;white-space:nowrap}
.orders,.guide{min-height:568px}
.ticket-list{gap:10px;padding:14px 11px;min-height:320px}
.ticket{background:repeating-linear-gradient(90deg,transparent 0 9px,#9f7a4a07 10px 11px),linear-gradient(140deg,#f1e7cf,#fff1d3 63%,#e2cba2);border:1px solid #d5b886;border-radius:10px;box-shadow:0 6px 16px #05141358,0 1px 0 #fff6dc inset}
.ticket.selected{outline:0;box-shadow:0 0 0 2px #e5be73,0 0 18px #e5ba624b,0 9px 19px #0007}
.ticket:active{transform:scale(.984)}
.ticket-head{gap:11px;padding:12px 12px 4px}
.ticket-person strong{font-size:13px}
.ticket-person span{color:#737e6e}
.avatar{position:relative;border-radius:50%;width:42px;height:42px;background:linear-gradient(155deg,#577c76,#183c3b);box-shadow:inset 0 2px 1px #fff5,0 1px 2px #0006;overflow:hidden;font-size:0;flex:0 0 auto}
.avatar::before{content:"";position:absolute;top:9px;left:11px;width:19px;height:21px;border-radius:48% 48% 44% 44%;background:var(--skin,#e6b988);box-shadow:0 -8px 0 3px var(--hair,#47352f)}
.avatar::after{content:"";position:absolute;left:3px;right:3px;bottom:-18px;height:31px;border-radius:50% 50% 0 0;background:var(--shirt,#a55c51);box-shadow:0 -2px 0 0 #f2ddb555}
.ticket-drink{display:flex;align-items:center;gap:9px;font-size:17px;padding:9px 12px 10px;line-height:1.1}
.ticket-drink svg{width:22px;height:22px;flex:0 0 auto}
.ticket.urgent .patience-fill{background:linear-gradient(90deg,#b44d37,#f39b69)!important;box-shadow:0 0 10px #ff613755}
.ticket.urgent{border-color:#d97c51}
.ticket-btm{padding-bottom:13px}
.no-ticket{color:#b2c4b3;line-height:1.5}
.order-foot{border-top:1px dashed #b3b98e42}
/* Illustration: a dimensional espresso station instead of the former block silhouette. */
.brew-scene{isolation:isolate;height:296px;overflow:hidden;border-bottom:0;background:radial-gradient(ellipse at 50% 57%,#58736360,transparent 57%),linear-gradient(180deg,#1e3b36 0%,#254c42 63%,#183d35 78%,#2f3931 79%,#131f1d 100%)}
.brew-scene::before{content:"";position:absolute;inset:0;z-index:0;opacity:.57;pointer-events:none;background:repeating-linear-gradient(90deg,transparent 0 51px,#ccdcba0c 52px 53px),linear-gradient(180deg,#030c0b35,transparent 45%)}
.brew-scene::after{content:"";position:absolute;left:0;right:0;bottom:28px;height:45px;background:linear-gradient(180deg,#886542 0,#5d4231 11%,#3e2c25 32%,#46372e 100%);border-top:3px solid #b8926a;box-shadow:0 -8px 20px #05181155;z-index:1}
.brew-backdrop{position:absolute;inset:0;z-index:0;pointer-events:none}
.window-glow{position:absolute;top:-30px;left:7%;width:24%;height:84%;border:9px solid #13302d;background:radial-gradient(circle at 45% 55%,#d7a76d9c 0 2%,transparent 4%),radial-gradient(circle at 70% 38%,#efb370ac 0 1%,transparent 5%),linear-gradient(175deg,#182f39,#204740 60%,#3d4a3c);box-shadow:0 0 0 3px #78978359,inset 0 0 30px #0d2122,inset 0 0 0 2px #b9ad8659;border-radius:60px 60px 8px 8px;opacity:.76}
.window-glow::before{content:"";position:absolute;left:48%;top:0;bottom:0;width:5px;background:#172b2b;box-shadow:0 0 3px #bfb28a}
.window-glow::after{content:"";position:absolute;left:0;right:0;top:50%;height:5px;background:#162e2b;box-shadow:0 0 3px #d3ba8660}
.lantern{position:absolute;top:-12px;width:4px;height:47px;background:#1c2727;z-index:2}
.lantern::before{content:"";position:absolute;top:45px;left:-13px;width:30px;height:13px;border-radius:10px 10px 3px 3px;background:linear-gradient(90deg,#ad8b56,#f1d69a,#9f6f3c);box-shadow:0 2px 10px #fac7818a}
.lantern::after{content:"";position:absolute;top:53px;left:-31px;width:70px;height:140px;background:linear-gradient(180deg,#f7d5903d,transparent);filter:blur(15px);clip-path:polygon(30% 0,70% 0,100% 100%,0 100%)}
.lantern-left{left:19%}.lantern-right{right:15%}
.shelf{position:absolute;right:4%;width:21%;height:10px;background:linear-gradient(#d6a66d,#6b513c 43%,#352c28);border-radius:2px;z-index:0}
.shelf::after{content:"";position:absolute;right:12%;bottom:10px;width:55%;height:45px;background:linear-gradient(90deg,transparent 0 4%,#acb791 5% 17%,transparent 18% 26%,#d7a57f 27% 40%,transparent 41% 54%,#a6bbac 55% 70%,transparent 71%);border-radius:8px 8px 0 0;opacity:.6}
.shelf-one{top:100px}.shelf-two{top:176px;right:2%;width:16%}
.plant{position:absolute;right:5%;bottom:66px;width:31px;height:32px;background:linear-gradient(#b9844f,#6a4333);border-radius:2px 2px 9px 9px;z-index:3;box-shadow:0 4px 9px #0008}
.plant i{position:absolute;bottom:23px;left:40%;display:block;width:19px;height:28px;border-radius:95% 5% 93% 5%;background:linear-gradient(125deg,#83a777,#295846);transform-origin:bottom left;transform:rotate(var(--r,-20deg));border:1px solid #b6d7a044}
.plant i:nth-child(2){--r:-65deg}.plant i:nth-child(3){--r:37deg}.plant i:nth-child(4){--r:80deg}
.counter-label{position:absolute;top:11px;right:15px;color:#e0c28cbd;font-size:8px;letter-spacing:.2em;font-weight:850}
.counter-label span{padding:0 7px;color:#f8c47a}
.espresso-illustration{position:absolute;z-index:2;width:min(92%,430px);height:265px;top:0;left:50%;transform:translateX(-50%);overflow:visible;filter:drop-shadow(0 12px 15px #091413ad)}
.espresso-drip{opacity:0;stroke-dasharray:15 12;animation:drip .65s linear infinite}
.brew-scene.is-brewing .espresso-drip{opacity:1}
.brew-scene.is-brewing .machine-led{filter:drop-shadow(0 0 9px #d5ffc5)}
@keyframes drip{to{stroke-dashoffset:-27}}
.cup-area{top:190px;left:50%;height:72px;transform:translateX(-50%);z-index:4;width:127px;cursor:default;filter:drop-shadow(0 10px 8px #071f1f)}
.cup-rim{position:absolute;left:36px;top:-4px;width:66px;height:10px;border:2px solid #fff5d6;background:#f5ecce;border-radius:50%;z-index:7}
.cup-wrap{width:68px;height:57px;top:0;border-radius:5px 5px 23px 23px;border:2px solid #e9e8d5;border-top:3px solid #fffae9;background:linear-gradient(105deg,#999a8b,#fff8dc 25%,#fdf1d6 72%,#a9afa0);box-shadow:inset 3px 2px 8px #fff8dc70,0 6px 12px #0005}
.cup-handle{right:12px;top:5px;width:29px;height:35px;border:7px solid #ece6cc;box-shadow:2px 0 3px #050d0d66}
.cup-fill{background:linear-gradient(#ecd2a6 0 7%,#9c5f36 8%,#4a2d24 80%);border-top:1px solid #fff6db88;transition:height .35s cubic-bezier(.25,.8,.25,1),background .3s}
.cup-area.milk-poured .cup-fill{background:linear-gradient(#f9e7bf,#dfbf8b 20%,#96714d 48%,#593827)}
.cup-area.iced-poured .cup-fill{background:linear-gradient(150deg,#f8f0ce,#c3a47c 32%,#856043 77%)}
.cup-area.cocoa-poured .cup-fill{background:linear-gradient(#d5ad87,#7b4537 48%,#4a2a2a)}
.cup-label{z-index:5;font-size:5px;letter-spacing:.18em;bottom:7px;color:#463f36}
.cup-art{z-index:5;font-size:19px;top:11px;color:#735c40d9}
.steam-lines{left:39px;top:-26px;gap:12px}
.steam-lines i{border-color:#fff7d8a3}
.saucer{width:116px;bottom:0;left:6px;background:linear-gradient(#f2ddbc,#5a4d3e);z-index:1;box-shadow:0 8px 13px #0b150f}
.scene-front{position:absolute;z-index:3;bottom:0;left:0;right:0;height:37px;border-top:2px solid #b78d5e;background:linear-gradient(180deg,#46342b,#1b2623 80%);display:flex;align-items:center;justify-content:center;color:#e0d0ad;font-weight:850;font-size:8px;letter-spacing:.24em}
.scene-front span{opacity:.87}.scene-front i{position:absolute;right:22px;color:#e4b16d;font-size:15px;font-style:normal}
.stage-particles{position:absolute;z-index:5;inset:0;pointer-events:none;overflow:hidden}
.stage-particles b{position:absolute;top:64%;left:50%;color:#ffe5a4;animation:burst .72s ease-out both;font-size:19px;text-shadow:0 0 10px #ffa86b}
@keyframes burst{from{transform:translate(0,0) scale(.5);opacity:1}to{transform:translate(var(--dx),var(--dy)) scale(1.35);opacity:0}}
.brew-scene.success-pop{animation:success-stage .8s ease}
@keyframes success-stage{50%{filter:brightness(1.24)}}
.brew-bar{background:linear-gradient(90deg,#2a4438,#213931);border-block:1px solid #a4b89951;padding:12px 14px}
.gauge{height:16px;border-radius:18px;background:linear-gradient(90deg,#c77b58,#aeae72 43%,#bbdca6 51%,#a8b778 68%,#9d6665);border:1px solid #d3c1956b}
.gauge-zone{background:#fff2af45;left:49%;width:20%;box-shadow:0 0 18px #ead88b75}
.gauge-needle{background:#fffafa;box-shadow:0 0 8px #fff;top:-3px;height:21px}
.brew-btn{background:linear-gradient(140deg,#ffe0a4,#dea966);border:1px solid #fff0c955;border-radius:8px;box-shadow:0 3px 0 #684c30,0 7px 14px #0005;color:#21372e;min-width:120px;font-size:11px}
.brew-btn:active:not(:disabled){transform:translateY(2px);box-shadow:0 1px 0 #684c30}
.ingredients{padding:14px 15px 11px}
.ingredients-heading{margin-bottom:10px}.ingredients-heading h3{font-size:23px}
.build-coach{background:#102924;border:1px solid #e2bd8452;border-radius:9px;padding:9px 12px;margin-bottom:10px;display:flex;align-items:center;gap:9px;color:#e8d8b7;font-size:11px;font-weight:750;min-height:36px}
.coach-icon{color:#eec984;font-size:18px}.coach-progress{margin-left:auto;display:flex;gap:5px;align-items:center}
.coach-progress i{width:18px;height:5px;border-radius:4px;background:#40584b;border:1px solid #8f9e8b65}
.coach-progress i.done{background:#f0c87e;box-shadow:0 0 6px #e9ba6575}
.ingredient-grid{gap:7px}
.ingredient{min-height:70px;background:linear-gradient(145deg,#284a40,#203d36);border:1px solid #92a9915b;border-radius:9px;box-shadow:inset 0 1px #ffffff11,0 3px 6px #00150d28;transition:transform .14s,background .14s,box-shadow .14s;user-select:none}
.ingredient .emoji{font-size:0;width:27px;height:27px;display:grid;place-items:center}
.ingredient .emoji svg{width:27px;height:27px;filter:drop-shadow(0 2px 1px #071816a0)}
.ingredient.next{background:linear-gradient(135deg,#466345,#355744);border-color:#efc77b;box-shadow:inset 0 1px #fff3cc33,0 0 13px #edc67b2c}
.ingredient.dragged{opacity:.55;transform:scale(.95)}
.ingredient:active:not(:disabled){transform:translateY(2px)}
.ingredient small{font-size:10px;color:#fcf1d9}
.ingredient kbd{font-size:8px;opacity:.8}
.cup-area.dragover .cup-wrap{box-shadow:0 0 0 5px #e9d38c,0 0 27px #fff5ac!important}
.build-tray{border-color:#647967;background:#102723;min-height:65px}
.chip{background:#2f5144;color:#eedfc2;border-color:#749c7a88}
.action-buttons{margin-top:8px}
.serve{background:linear-gradient(125deg,#d6edb2,#a9d0a2);border:1px solid #e1f6bd68;box-shadow:0 3px 0 #507e5b;font-size:12px}
.serve:not(:disabled){animation:serve-pulse 2.6s infinite}
@keyframes serve-pulse{50%{box-shadow:0 3px 0 #507e5b,0 0 13px #d0f2a751}}
.reaction{min-height:29px}
.selected{background:linear-gradient(140deg,#f0e4c9,#f8ebcb);border:1px solid #e7ce9a;box-shadow:0 6px 12px #0c14172c;padding:14px;margin:11px 12px 15px;min-height:158px}
.selected-drink{display:flex;align-items:center;gap:8px;font-size:25px}.selected-drink svg{width:30px;height:30px}
.selected-steps{gap:6px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
.selected-steps span{display:flex;align-items:center;gap:5px;font-size:10px;border-color:#c7c7ae;color:#546257;background:#f3ebd7}
.selected-steps span.done{background:#d8e3be;color:#255738;border-color:#8ca275}
.selected-steps span.next{background:#ffe4ad;border-color:#d0a663;color:#6e4a1d}
.selected-steps svg{width:15px;height:15px;flex:0 0 auto}
.selected-steps span strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.recipe-list{padding:0 10px;gap:5px;max-height:267px}
.recipe-row{background:#1d3b34;border:1px solid #53716442;grid-template-columns:30px 1fr;min-height:54px;padding:8px}
.recipe-icon{display:grid;place-items:center}
.recipe-icon svg{width:28px;height:28px}
.guide-note{background:linear-gradient(110deg,#2b483b,#345143);border-left:3px solid #f0c07b}
.overlay{background:#061514d4;backdrop-filter:blur(10px)}
.overlay-card{background:radial-gradient(ellipse at 50% 0,#315342,#172d2b 74%);border:1px solid #e0ba7e;box-shadow:0 35px 85px #000c,0 0 65px #d3a9621c}
.overlay-art{height:118px;margin:0 auto;position:relative;max-width:180px;display:grid;place-items:center}
.overlay-moon{position:absolute;top:1px;width:86px;height:86px;border-radius:50%;background:radial-gradient(circle at 35% 35%,#fff6d6,#dfad6d);box-shadow:0 0 40px #e6b67478}
.overlay-moon::after{content:"";position:absolute;top:9px;left:20px;width:77px;height:76px;border-radius:50%;background:#234039}
.overlay-cup{position:relative;z-index:2;top:20px;font-size:63px;filter:drop-shadow(0 10px 9px #0008)}
.overlay-spark{position:absolute;color:#f6d594;font-size:20px}.overlay-spark.one{left:14px;top:35px}.overlay-spark.two{right:9px;top:7px}
.overlay-action{background:linear-gradient(110deg,#ffe7b4,#f1c181);box-shadow:0 4px 0 #82603a,0 11px 25px #0006;transition:filter .15s}
.overlay-action:hover{filter:brightness(1.07)}
@media(max-width:1170px){.board{grid-template-columns:minmax(205px,.85fr) minmax(380px,1.7fr)}.guide{grid-column:1/-1;min-height:0}.orders{min-height:620px}.brew-scene{height:290px}.recipe-list{grid-template-columns:repeat(4,1fr);max-height:none}.selected-steps{grid-template-columns:repeat(4,1fr)}.ingredient-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:700px){.app{padding:0 9px}.mast{padding:9px 0}.headline{padding:11px 3px 13px}.headline h1{font-size:36px}.headline p{font-size:11px}.board{display:flex;padding:7px;gap:8px;flex-direction:column}.orders{min-height:0;order:0}.station{order:1}.guide{order:2}.station-top{padding:12px}.station-top h2{font-size:21px}.handcrafted{font-size:8px;padding:5px 7px}.ticket-list{display:flex;flex-direction:row;min-height:0;max-height:none;gap:9px;padding:10px;overflow-x:auto}.ticket{min-width:210px;width:210px;flex:0 0 210px}.avatar{width:34px;height:34px}.avatar::before{transform:scale(.78);transform-origin:top left}.ticket-drink{font-size:15px}.brew-scene{height:252px}.espresso-illustration{width:min(103%,375px);height:223px;top:0}.cup-area{top:158px;transform:translateX(-50%) scale(.92);transform-origin:top center}.scene-front{height:34px}.brew-scene::after{bottom:26px;height:29px}.counter-label{font-size:7px}.window-glow{left:3%;width:29%}.shelf{right:1%}.plant{right:3%}.brew-bar{grid-template-columns:1fr auto;padding:11px}.brew-bar-text{grid-column:1/-1}.brew-bar-text strong{font-size:12px}.ingredients{padding:11px}.ingredients-heading h3{font-size:21px}.ingredient-grid{grid-template-columns:repeat(7,minmax(0,1fr));gap:4px}.ingredient{min-height:64px;padding:7px 1px}.ingredient .emoji,.ingredient .emoji svg{width:22px;height:22px}.ingredient small{font-size:8px}.ingredient kbd{font-size:7px}.build-coach{font-size:10px}.build-bottom{padding:0 11px 10px}.panel-heading{padding:12px}.guide .selected{margin:10px}.selected-steps{grid-template-columns:repeat(2,1fr)}.recipe-list{grid-template-columns:repeat(2,1fr);padding:0 9px}.hud-cell{padding:9px 6px}.hud-cell strong{font-size:13px}.game-status{padding:10px}.overlay-card{max-height:calc(100dvh - 40px);padding:15px}.overlay-art{height:95px}.overlay-cup{font-size:49px}.overlay-moon{transform:scale(.86)}}
@media(max-width:370px){.ingredient-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.ingredient{min-height:57px}.ticket{min-width:185px;width:185px;flex-basis:185px}.hud-cell{padding:8px 4px}.hud-cell strong{font-size:12px}.handcrafted{max-width:119px;white-space:normal}.shortkeys{font-size:7px}.scene-front{font-size:6px}}
@media(prefers-reduced-motion:reduce){.espresso-drip,.serve:not(:disabled),.stage-particles b{animation:none!important}}
/* Q1 responsive ergonomics and restrained height at standard laptop resolutions */
.overlay{position:fixed;inset:0;z-index:100}
@media(min-width:1171px){.headline{padding:12px 2px}.headline h1{font-size:47px}.brew-scene{height:264px}.espresso-illustration{height:237px;width:min(87%,390px)}.cup-area{top:165px;transform:translateX(-50%) scale(.88);transform-origin:top center}.scene-front{height:31px}.brew-scene::after{bottom:24px;height:38px}.brew-bar{padding:10px 14px}.ingredients{padding:11px 15px 8px}.ingredient{min-height:62px}.ingredient-grid{gap:6px}.build-bottom{padding-bottom:10px}}
@media(max-width:700px){.ingredient-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.ingredient{min-height:64px}.ingredient .emoji,.ingredient .emoji svg{width:25px;height:25px}.ingredient small{font-size:10px}.ingredient kbd{font-size:8px}.shortkeys{font-size:8px;letter-spacing:.03em;max-width:140px;text-align:right}}
@media(max-width:700px){.orders .panel-heading{padding:9px 12px 5px}.orders .panel-heading h2{margin:4px 0 0}.ticket-list{padding:7px 9px 8px}.ticket{height:127px;min-height:127px;align-self:flex-start}.ticket-head{padding:8px 9px 2px}.ticket-drink{padding:4px 9px 5px}.ticket-btm{padding:0 9px 6px}.ticket-person span{font-size:9px}.order-foot{padding-block:7px}.ticket-glyph{font-size:22px}}
