@charset "UTF-8";
:root{--cream:#fff8ea;--paper:#fffdf5;--ink:#48362c;--muted:#8d7867;--red:#ba503b;--line:#e3d2b6;--green:#71835c;font-family:"Noto Sans TC","Microsoft JhengHei",sans-serif;color:var(--ink);background:#e8d0ab;font-synthesis:none}*{box-sizing:border-box}body{margin:0;background:repeating-linear-gradient(0deg,transparent 0 97px,#c2996c22 98px 100px),linear-gradient(90deg,#d9b88b,#eedbbd 22%,#eedbbd 78%,#d9b88b)}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;color:inherit;cursor:pointer;touch-action:manipulation}button:disabled{cursor:default}button:focus-visible,a:focus-visible{outline:3px solid #26798a;outline-offset:4px}button:not(:disabled):active{transform:translateY(1px)}.shop{max-width:1280px;margin:auto;padding:22px 38px 12px;min-height:100dvh;background:#fff8eae8;border-left:1px solid #fff9;border-right:1px solid #fff9}.top{display:flex;align-items:center;gap:30px;padding-bottom:24px;border-bottom:2px solid var(--ink)}.brand{flex:1}.back{font-size:11px;color:var(--muted);text-decoration:none;letter-spacing:1px}h1{font-family:"Noto Serif TC","Microsoft JhengHei",serif;font-size:42px;letter-spacing:3px;margin:8px 0 6px;font-weight:900;line-height:1.2;display:flex;align-items:center;gap:14px}.stamp{font:10px/1.3 serif;color:#fff8e9;background:var(--red);padding:5px 4px;border-radius:3px;letter-spacing:1px;transform:rotate(-5deg)}.brand p{font-size:12px;letter-spacing:2px;margin:0;color:var(--muted)}.stats{display:flex;gap:34px}.stats>span{font-size:11px;color:var(--muted);display:grid;gap:6px}.stats strong{font-size:24px;font-weight:600;color:var(--ink)}.tools{display:flex;gap:9px;margin-left:12px}.tools button{width:44px;height:44px;border:1px solid #baa087;background:transparent;border-radius:50%;font-size:22px}.section-line{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:12px}h2{font-size:15px;letter-spacing:1px;margin:0}.section-line>span{font-size:11px;color:var(--muted)}.order-section{margin:22px 0}.orders{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.ticket{position:relative;min-height:139px;text-align:left;background:var(--paper);border:1px solid var(--line);border-radius:8px;padding:16px 14px;box-shadow:0 3px 0 #e1ceb1;display:grid;grid-template-columns:62px 1fr;gap:12px;align-items:center}.ticket:before{content:"";position:absolute;top:-6px;left:26px;width:12px;height:16px;border-radius:2px;background:#bca180;transform:rotate(-6deg)}.ticket.selected{border:2px solid var(--red);padding:15px 13px;background:#fff9ef}.ticket.selected:before{background:var(--red)}.ticket.waiting{border:1px dashed #d5c3a8;background:#f1e5d344;box-shadow:none;display:flex;justify-content:center;color:#aa9783;font-size:12px}.ticket.waiting:before{display:none}.face{font-size:43px;display:grid;place-items:center;background:#f0dfbf;border-radius:50%;width:60px;height:60px}.customer-label{font-size:10px;color:var(--muted);margin-bottom:6px}.order-row{font-size:15px;font-weight:700;display:flex;align-items:center;justify-content:space-between;gap:8px;line-height:1.65}.order-row i,.flavor-dot{display:inline-block;width:9px;height:9px;border-radius:50%;background:var(--flavor);margin-right:5px}.order-row b{white-space:nowrap}.patience-line{font-size:9px;color:var(--muted);display:flex;gap:7px;margin-top:8px;align-items:center}.patience{height:5px;background:#e8ddc9;flex:1;border-radius:3px;overflow:hidden}.patience i{display:block;height:100%;background:var(--green);width:var(--remaining)}.ticket.urgent .patience i{background:var(--red)}.workbench{display:grid;grid-template-columns:minmax(0,2fr) minmax(255px,1fr);gap:24px;margin-top:26px}.stove{min-width:0}.stove-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.stove-heading>span{font-size:10px;color:var(--muted)}.heat-dot{display:inline-block;width:6px;height:6px;background:var(--red);border-radius:50%;margin-right:6px}.grill{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;padding:15px;border-radius:20px;border:3px solid #514c43;background:#302f2a;box-shadow:0 7px 0 #1c201c,0 11px 15px #4b2d2820,inset 0 0 0 4px #222521}.mold{position:relative;min-width:0;height:148px;padding:0 8px 11px;border:1px solid #181c19;border-radius:12px;background:linear-gradient(140deg,#424239,#30352f);box-shadow:inset 1px 2px 7px #1116;display:flex;flex-direction:column;align-items:center;justify-content:end;color:#bbb8a7;overflow:hidden}.fish{width:100%;height:100px;object-fit:contain;pointer-events:none;filter:drop-shadow(0 4px 3px #0005)}.mold.empty .fish{filter:grayscale(1) brightness(.24);opacity:.9}.mold.cooking .fish{filter:saturate(.35) brightness(1.45)}.mold.over .fish{filter:sepia(.7) saturate(1.7) brightness(.6)}.mold.burnt .fish{filter:grayscale(.8) brightness(.25)}.mold.ready{border-color:#d9bd69;color:#ffdc7b}.mold.over{border-color:#bc7750;color:#ffc097}.mold.burnt{color:#e5b9a9}.mold.ready:after{content:"✦";position:absolute;top:10px;right:14px;color:#ffe498;animation:twinkle 1s ease-in-out infinite alternate}.mold-label{font-size:11px;position:relative;white-space:nowrap}.mold .cook-track{position:absolute;bottom:4px;left:12%;width:76%;height:3px;background:#10191188;border-radius:3px;overflow:hidden}.cook-track i{height:100%;display:block;width:var(--cook);background:#b5ae84}.ready .cook-track i{background:#a6be78}.over .cook-track i,.burnt .cook-track i{background:#d77b58}.heat-key{display:flex;justify-content:space-around;font-size:10px;color:#8c7b65;margin-top:19px}.good{color:#587449}.bad{color:#a25442}.tray-panel{border:1px solid #d8bd93;border-radius:12px;padding:16px 18px 12px;background:repeating-radial-gradient(ellipse at 50% 110%,transparent 0 15px,#ceae7b18 16px 18px,transparent 19px 29px),#f3e5cb;box-shadow:0 4px 0 #d7bb91;display:flex;flex-direction:column}.tray{display:grid;grid-template-columns:repeat(4,1fr);align-content:start;min-height:151px;gap:4px;flex:1}.tray-empty{grid-column:1/-1;align-self:center;text-align:center;color:#aa9476;font-size:12px;margin-top:26px}.tray-empty img{display:block;width:100px;height:64px;object-fit:contain;margin:0 auto 8px;opacity:.23;filter:sepia(.8)}.tray-item{border:0;background:transparent;min-width:0;padding:0;color:#765b43;font-size:9px;position:relative}.tray-item img{width:100%;height:41px;object-fit:contain;display:block}.tray-item.over img{filter:sepia(.7) brightness(.6)}.tray-item:hover:after{content:"×";position:absolute;right:0;top:0;background:#fff6;border-radius:50%;font-size:13px}.packing{font-size:11px;min-height:32px;margin:8px 0;color:#7c634d;line-height:1.6}.primary{border:1px solid #9e412d;border-radius:7px;background:var(--red);color:#fff9ec;padding:13px 20px;font-weight:700;letter-spacing:2px;box-shadow:0 3px 0 #953e2c;text-align:center;min-height:46px}.primary span{float:right}.primary:disabled{background:#b5a38c;border-color:#a18a70;box-shadow:0 3px 0 #9f896f;color:#fff7e9}.tray-tip{font-size:9px;line-height:1.6;text-align:center;color:#927b60;margin:9px 0 0}.flavor-section{margin-top:26px}.flavors{display:grid;grid-template-columns:repeat(7,1fr);gap:10px}.flavor{position:relative;background:#fffaf0;border:1px solid var(--line);border-radius:9px;min-height:102px;display:grid;justify-items:center;align-content:center;gap:4px;padding:10px 3px}.flavor.chosen{border:2px solid var(--red);background:#fff5e3;padding:9px 2px}.flavor-icon{font-size:28px;line-height:1.2}.flavor strong{font-size:13px}.flavor small{font-size:9px;color:var(--muted)}.flavor:disabled{background:#e9dfce;color:#8e8271}.flavor:disabled .flavor-icon{filter:grayscale(.7);opacity:.55}.flavor:disabled:after{content:"鎖";position:absolute;right:7px;top:6px;font-size:8px;border:1px solid #ac9b83;border-radius:3px;padding:1px 2px}.message-line{display:flex;gap:13px;align-items:center;border-top:1px solid var(--line);margin-top:22px;padding-top:12px;min-height:45px}.message-line p{font-size:12px;margin:0;line-height:1.7}.message-icon{color:var(--red);font-size:24px}footer{display:flex;justify-content:space-between;gap:10px;font-size:9px;color:#a08d75;padding-top:18px}footer a{color:inherit}.overlay{position:fixed;inset:0;background:#38291c88;backdrop-filter:blur(5px);z-index:20;display:grid;place-items:center;padding:18px;overflow:auto}.overlay[hidden]{display:none}.dialog{background:var(--cream);border:1px solid #e0c9a4;box-shadow:0 20px 90px #2a180755;border-radius:18px;padding:24px 34px 26px;width:min(460px,100%);text-align:center;max-height:calc(100dvh - 36px);overflow:auto}.dialog>img{width:150px;height:100px;object-fit:contain}.dialog h2{font-family:serif;font-size:25px;letter-spacing:1px;margin:8px 0 12px}.dialog p{font-size:12px;line-height:1.9;color:#866b55}.dialog ol{font-size:12px;text-align:left;line-height:2.1;padding-left:22px}.dialog .primary{width:100%;margin:8px 0 15px}.dialog small{font-size:9px;color:#9b816a}.summary-stats{display:flex;justify-content:space-around;margin:20px 0}.summary-stats strong{display:block;font-size:28px;color:var(--red)}.summary-stats span{font-size:11px}.storage-warning{color:var(--red)!important}@keyframes twinkle{to{opacity:.3;transform:scale(.8)}}
@media(min-width:1500px){.shop{padding-top:30px}.mold{height:175px}.fish{height:126px}.ticket{min-height:150px}.flavor{min-height:115px}}
@media(max-width:850px){.shop{padding:18px 22px 12px}.top{gap:18px}h1{font-size:32px}.stats{gap:20px}.tools{margin-left:0}.ticket{grid-template-columns:40px 1fr;gap:8px;padding:12px 9px;min-height:132px}.ticket.selected{padding:11px 8px}.face{width:40px;height:40px;font-size:30px}.order-row{font-size:12px}.workbench{gap:16px;grid-template-columns:minmax(0,1.6fr) minmax(220px,1fr)}.grill{padding:10px}.mold{height:135px}.fish{height:85px}.flavors{gap:7px}}
@media(max-width:600px){.shop{padding:12px;min-height:100dvh}.top{gap:10px;padding-bottom:13px;flex-wrap:wrap}h1{font-size:28px;letter-spacing:1px;margin:5px 0}.brand p{font-size:9px;letter-spacing:1px}.stamp{font-size:8px;padding:3px}.back{font-size:9px}.stats{gap:14px;margin-left:auto}.stats>span{font-size:9px}.stats strong{font-size:16px}.tools{position:absolute;top:11px;right:12px;gap:5px}.tools button{width:30px;height:30px;font-size:16px}.brand{padding-top:25px;min-width:175px}.stats{padding-top:24px}.section-line{margin-bottom:9px}h2{font-size:12px}.section-line>span{font-size:9px}.order-section{margin:16px 0}.orders{gap:7px}.ticket{grid-template-columns:1fr;gap:3px;min-height:139px;padding:8px;align-content:start}.ticket.selected{padding:7px}.face{width:30px;height:30px;font-size:23px}.customer-label{font-size:8px;margin:3px 0}.ticket:before{left:auto;right:10px;width:8px;height:12px}.order-row{font-size:11px;line-height:1.7;gap:3px}.order-row i{width:6px;height:6px;margin-right:3px}.patience-line{font-size:8px;gap:4px}.workbench{margin-top:16px;grid-template-columns:1fr;gap:18px}.stove-heading>span{font-size:9px}.grill{padding:10px;border-radius:15px}.mold{height:119px}.fish{height:80px}.mold-label{font-size:10px}.heat-key{font-size:9px;margin-top:16px}.tray-panel{padding:12px;display:grid;grid-template-columns:1fr 130px;gap:8px 12px}.tray-panel .section-line{grid-column:1/-1;margin:0}.tray{grid-column:1;grid-row:2/5;min-height:95px;grid-template-columns:repeat(3,1fr);gap:2px}.tray-item img{height:36px}.tray-empty{margin-top:10px;font-size:10px}.tray-empty img{width:70px;height:40px}.packing{grid-column:2;min-height:25px;font-size:10px;margin:0}.primary{font-size:12px;letter-spacing:1px;padding:11px 12px}.tray-tip{grid-column:2;font-size:8px;margin:0}.flavor-section{margin-top:20px}.flavors{grid-template-columns:repeat(4,1fr);gap:7px}.flavor{min-height:84px;padding:8px 2px}.flavor.chosen{padding:7px 1px}.flavor-icon{font-size:22px}.flavor strong{font-size:12px}.flavor small{font-size:8px}.message-line{margin-top:15px;padding-top:9px}.message-line p{font-size:10px}.dialog{padding:18px 22px}.dialog h2{font-size:22px}.dialog>img{height:70px}.dialog ol{font-size:11px}footer{padding-top:12px}}
@media(max-height:500px) and (min-width:601px){.shop{padding-top:12px}.top{padding-bottom:12px}h1{font-size:28px}.order-section{margin:14px 0}.ticket{min-height:100px}.workbench{margin-top:16px}.mold{height:116px}.fish{height:76px}.flavor-section{margin-top:18px}.dialog{padding:12px 25px}.dialog>img{display:none}.dialog p{margin:7px 0}.dialog ol{margin:8px 0}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;scroll-behavior:auto!important}}
.mold .fish{transform:scale(1.25);transform-origin:center 65%}
@media(min-width:851px) and (max-height:950px){.shop{padding-top:14px}.top{padding-bottom:16px}h1{font-size:36px}.order-section{margin:16px 0}.ticket{min-height:120px}.workbench{margin-top:18px}.mold{height:130px}.fish{height:88px}.flavor-section{margin-top:20px}.flavor{min-height:90px}.message-line{margin-top:14px}footer{padding-top:10px}}
/* Keep every cooking control in reach on phones; only the ingredient shelf and tray scroll. */
@media(max-width:600px){
  body{overflow:hidden;overscroll-behavior:none}.shop{height:100dvh;min-height:0;padding:8px;display:grid;grid-template-rows:auto auto minmax(0,1fr) auto auto auto;gap:10px;overflow:hidden}
  .top{padding-bottom:9px;gap:5px;flex-wrap:nowrap}.brand{min-width:145px;padding-top:0}.brand p,.stamp{display:none}h1{font-size:23px;letter-spacing:0;margin:3px 0 0}.back{font-size:9px}.stats{padding-top:0;gap:8px}.stats>span{font-size:8px}.stats strong{font-size:12px}.tools{position:static;gap:4px}.tools button{height:29px;width:29px;font-size:16px}
  .order-section{margin:0}.section-line{margin-bottom:7px}.orders{gap:6px}.ticket{min-height:112px;padding:7px;gap:1px}.ticket.selected{padding:6px}.ticket .face{position:absolute;right:6px;top:7px;width:23px;height:23px;font-size:18px}.ticket:before{display:none}.ticket-copy{padding-top:20px}.customer-label{font-size:8px;display:block;margin:0 0 3px}.order-row{font-size:10px}.patience-line{margin-top:4px}.ticket.waiting{text-align:center;padding:12px;font-size:10px}
  .workbench{margin:0;grid-template-columns:minmax(0,1.65fr) minmax(112px,1fr);gap:8px;min-height:0}.stove{display:flex;flex-direction:column;min-height:0}.stove-heading{margin-bottom:7px}.stove-heading>span{display:none}.grill{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(3,minmax(0,1fr));flex:1;min-height:0;padding:6px;gap:4px;border-width:2px;border-radius:12px;box-shadow:0 4px 0 #1c201c}.mold{height:auto;min-height:0;padding:0 2px 9px;border-radius:8px}.mold .fish{height:calc(100% - 19px);min-height:0;transform:scale(1.22);flex:1}.mold-label{font-size:9px;line-height:15px;flex:none}.heat-key{margin-top:9px;gap:4px;flex-wrap:wrap;font-size:8px}.heat-key>span:first-child{display:none}
  .tray-panel{padding:9px 7px;display:flex;gap:0;min-height:0;border-radius:9px}.tray-panel h2{font-size:11px}.tray{min-height:0;grid-template-columns:repeat(2,minmax(0,1fr));overflow:auto;flex:1;scrollbar-width:thin;margin-top:7px}.tray-item{min-height:50px}.tray-item img{height:36px}.tray-empty{font-size:9px;margin-top:10px;line-height:1.8}.tray-empty img{width:70px;height:50px}.packing{min-height:40px;font-size:9px;line-height:1.6;margin:7px 0}.tray-panel .primary{padding:10px 3px;font-size:11px;letter-spacing:0;min-height:39px}.tray-panel .primary span{display:none}.tray-tip{font-size:8px;line-height:1.6;margin-top:7px}
  .flavor-section{margin:0;min-width:0}.flavors{display:flex;gap:6px;overflow-x:auto;padding-bottom:3px;scrollbar-width:thin}.flavor{flex:0 0 72px;min-height:76px;padding:6px 2px}.flavor.chosen{padding:5px 1px}.flavor-icon{font-size:21px}.flavor strong{font-size:11px}.flavor small{font-size:8px}.flavor-section h2:after{content:"　↔";color:#a58e70}
  .message-line{margin:0;padding:5px 0 0;min-height:28px;gap:7px}.message-icon{font-size:16px}.message-line p{font-size:9px;line-height:1.5}footer{padding:0;font-size:8px}
}
@media(max-width:600px) and (max-height:650px){.shop{gap:6px;padding:6px}.top{padding-bottom:5px}h1{font-size:20px}.brand{min-width:127px}.stats{gap:5px}.tools button{width:27px;height:27px}.section-line{margin-bottom:5px}.ticket{min-height:94px}.ticket .face{display:none}.ticket-copy{padding-top:0}.flavor{min-height:65px;flex-basis:65px;gap:2px}.flavor-icon{font-size:17px}.flavor-section h2{font-size:11px}.tray-tip{display:none}.packing{font-size:8px;min-height:32px}.heat-key{font-size:7px;gap:2px}.message-line{min-height:25px}.message-line p{font-size:8px}}
.secondary{display:block;width:100%;padding:11px 8px;margin:0 0 14px;border:1px solid #b79b76;border-radius:7px;background:#f0e2c9;font-size:12px}.secondary[hidden]{display:none}.texture-order{display:block;font-size:10px;line-height:1.6;color:#8b5b1e;font-weight:700}.texture-order.crisp{color:#98503d}.mold.flip{border-color:#81bdce;color:#b8eaf1}.mold.flip .fish{filter:saturate(.7);animation:flip-call .7s ease-in-out infinite alternate}.tray-item small{display:block;font-size:8px;line-height:1.3}.tray-item.cold{background:#d0e5e344;border-radius:4px}.tray-item.cold small{color:#30727f;font-weight:bold}.tray-item.over img{filter:sepia(.5) brightness(.75)}@keyframes flip-call{to{transform:scale(1.25) rotate(-8deg)}}
@media(max-width:600px){.ticket.advanced .face{display:none}.ticket.advanced .ticket-copy{padding-top:0}.ticket.advanced .customer-label{font-size:8px;margin-bottom:1px}.ticket.advanced .order-row{font-size:10px;line-height:1.5}.ticket.advanced .texture-order{font-size:9px;line-height:1.4}.mold-label{font-size:8px}.flavor small{font-size:7px}.tray-item small{font-size:7px}.tray-item{min-height:57px}.heat-key{font-size:8px}}
@media(max-width:600px) and (max-height:650px){.ticket.advanced{padding-top:4px;padding-bottom:4px}.ticket.advanced.selected{padding-top:3px;padding-bottom:3px}.ticket.advanced .order-row{line-height:1.3;font-size:9px}.ticket.advanced .patience-line{margin-top:2px}.heat-key{font-size:7px}.dialog ol{line-height:1.7}.dialog .primary{margin-bottom:10px}}
