:root{--ink:#252a23;--muted:#84867c;--paper:#f5f3e9;--red:#ec553b;--line:#d8d9cc;--green:#446354;--yellow:#f6c65a}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:'PingFang TC','Noto Sans TC','Microsoft JhengHei',sans-serif;font-size:14px;background-image:radial-gradient(#babdaf55 .65px,transparent .65px);background-size:5px 5px}button,input,textarea{font:inherit}button{cursor:pointer;transition:transform .15s,background .15s,box-shadow .15s}button:hover:not(:disabled){transform:translateY(-2px)}button:active:not(:disabled){transform:translateY(2px);box-shadow:none}button:disabled{cursor:not-allowed;opacity:.45}button:focus-visible,a:focus-visible{outline:3px solid var(--red);outline-offset:4px}header{height:84px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 4%;background:#f7f5ed}.brand{display:flex;align-items:center;gap:12px;color:var(--ink);text-decoration:none;font-size:21px;font-weight:900}.brand-icon{background:var(--red);color:var(--paper);font-size:30px;padding:0 6px;box-shadow:3px 3px 0 var(--ink)}.tiny{font-family:monospace;font-size:9px;letter-spacing:1px;max-width:70px;line-height:1.6;border-left:1px solid var(--line);padding-left:12px}.header-right{display:flex;gap:10px;align-items:center;font-size:11px}.live-dot,.on-air i{width:6px;height:6px;background:#6f8e55;display:inline-block;border-radius:50%}.icon-button{margin-left:20px;background:transparent;border:1px solid var(--line);padding:8px 12px;font-family:monospace}main{max-width:1530px;margin:auto;padding:40px 4% 0}.intro{display:flex;justify-content:space-between;align-items:center;margin-bottom:32px}.eyebrow{font-size:10px;letter-spacing:2px;font-family:monospace;color:var(--green);font-weight:700}h1{font-size:clamp(28px,3.3vw,48px);letter-spacing:-2px;margin:12px 0 10px;font-weight:900}h1>span:first-child{color:var(--red)}.spark{display:inline-block;font-size:44px;margin-left:20px;color:var(--green)}.intro p{color:#7a7d71;font-size:12px}.intro b{font-weight:400;margin-left:8px}.stamp{border:2px solid var(--red);color:var(--red);padding:8px 14px;text-align:center;transform:rotate(8deg);font-size:12px;line-height:1.2;margin-right:16px;box-shadow:inset 0 0 0 3px var(--paper),inset 0 0 0 4px var(--red)}.stamp strong{display:block;font-size:28px;margin:4px}.stamp small{font-size:8px}.workspace{display:grid;grid-template-columns:minmax(240px,1fr) minmax(370px,1.65fr) minmax(255px,1fr);gap:20px;align-items:start}.panel{border:1px solid var(--line);background:#faf9f2;box-shadow:0 3px 0 #ddded2}.menu-panel,.result-panel{padding:23px 20px}.panel-title{display:flex;align-items:center;justify-content:space-between;font-weight:800;font-size:17px}.panel-title em{font-style:normal;font-family:monospace;font-size:11px;color:var(--red);margin-right:10px}.tag{font-size:10px;font-weight:400;background:#eaece1;padding:5px 8px;color:var(--green)}.muted{font-size:11px;color:var(--muted);margin:10px 0 20px}#add-form{display:flex;height:42px}input,textarea{border:1px solid var(--line);border-radius:0;background:#fffef9;color:var(--ink);padding:10px;outline:none;width:100%;min-width:0}input:focus,textarea:focus{border-color:var(--green);box-shadow:0 0 0 1px var(--green)}.add-button{width:44px;flex-shrink:0;background:var(--green);color:white;border:0;font-size:23px}.list-heading{display:flex;justify-content:space-between;font-size:9px;color:var(--muted);margin:23px 0 10px}.dish-list{max-height:336px;overflow:auto}.dish-row{display:flex;align-items:center;gap:9px;min-height:41px;border-bottom:1px solid #e5e5da;font-size:12px}.dish-number{font-family:monospace;color:#858a79;font-size:10px}.dish-name{flex:1;overflow-wrap:anywhere}.star,.remove{border:0;background:transparent;padding:5px;color:#a5aa99;font-size:18px}.star.selected{color:#c99725}.remove{font-size:15px;color:#9a9c91}.text-button{border:0;background:transparent;font-size:11px;padding:12px 0;color:var(--green)}.list-tools{display:flex;justify-content:space-between;margin-top:5px}.small-button{border:1px solid var(--line);background:transparent;padding:8px 12px;font-size:11px}.danger{color:#a4796b}.tip{background:#eeeee2;display:flex;gap:10px;margin-top:23px;padding:12px 15px;align-items:center}.tip>span{font-size:27px}.tip p{font-size:10px;line-height:1.8;margin:0;color:#747a67}.tip b{color:var(--green)}.machine-panel{background:#e9ede3;overflow:hidden}.machine-top{padding:18px 20px;display:flex;justify-content:space-between;font-size:10px}.on-air{font-weight:700;letter-spacing:1px}.on-air i{background:var(--red);margin-right:7px}.edition{font-family:monospace;color:#8f9787;font-size:9px}.machine-scene{height:385px;position:relative;overflow:hidden;background:radial-gradient(ellipse at center,#f8f8e9 0%,#e7eddf 65%)}.scene-grid{position:absolute;inset:65% -20% -40%;background-image:linear-gradient(#b5c2ab66 1px,transparent 1px),linear-gradient(90deg,#b5c2ab66 1px,transparent 1px);background-size:35px 35px;transform:perspective(180px) rotateX(48deg)}canvas{width:100%;height:100%;position:relative;z-index:1}.scene-note{position:absolute;left:20px;top:20px;font-size:9px;color:#83917b;line-height:1.7;z-index:2}.scene-note b{font-weight:400}.pixel-star{position:absolute;color:#8da184;font-size:28px}.s1{right:28px;top:75px}.s2{left:35px;bottom:85px}.machine-label{position:absolute;left:50%;bottom:29px;transform:translateX(-50%);z-index:2;text-align:center;font-family:monospace;color:#f5e7b9;font-size:14px;letter-spacing:1px;white-space:nowrap}.machine-label span{display:block;font-size:8px;margin-top:7px;letter-spacing:3px}.machine-status{margin:0 20px;border:1px solid #c9d2bd;background:#dfe7d6;padding:11px;text-align:center;color:var(--green);font-family:monospace;font-size:10px}.controls{display:flex;align-items:center;gap:20px;padding:22px 20px 16px}.controls label{font-size:11px}.stepper{display:flex;align-items:center;margin-top:9px;gap:10px}.stepper button{width:27px;height:27px;background:#f7f7ef;border:1px solid #c4cbbb}.stepper output{font-size:20px;font-family:monospace;font-weight:bold;width:20px;text-align:center}.stepper span{font-size:10px;color:#7c8774}.draw-button{background:var(--red);border:1px solid #b83d28;box-shadow:3px 4px 0 #b9472f;color:#fff8e8;font-size:20px;font-weight:800;padding:16px 20px;flex:1;white-space:nowrap}.draw-button span{margin-left:12px}.machine-foot{text-align:center;font-size:9px;color:#8e9984;padding:5px 0 20px}.receipt-icon{color:#8d9781}.receipt{margin-top:23px;background:#fffef8;padding:20px 17px 16px;box-shadow:0 2px 9px #00000007;position:relative;clip-path:polygon(0 0,100% 0,100% calc(100% - 6px),97% 100%,94% calc(100% - 6px),91% 100%,88% calc(100% - 6px),85% 100%,82% calc(100% - 6px),79% 100%,76% calc(100% - 6px),73% 100%,70% calc(100% - 6px),67% 100%,64% calc(100% - 6px),61% 100%,58% calc(100% - 6px),55% 100%,52% calc(100% - 6px),49% 100%,46% calc(100% - 6px),43% 100%,40% calc(100% - 6px),37% 100%,34% calc(100% - 6px),31% 100%,28% calc(100% - 6px),25% 100%,22% calc(100% - 6px),19% 100%,16% calc(100% - 6px),13% 100%,10% calc(100% - 6px),7% 100%,4% calc(100% - 6px),0 100%)}.receipt-head{text-align:center;font-size:20px;font-weight:900;letter-spacing:3px}.receipt-head small{display:block;font-family:monospace;font-size:7px;letter-spacing:2px;margin-top:6px;font-weight:400}.receipt-meta{display:flex;justify-content:space-between;font-size:9px;color:#8b8c80;border-bottom:1px dashed #c7cabd;padding:20px 0 12px}.empty-result{text-align:center;padding:25px 0 28px}.bowl{font-family:monospace;font-size:52px;line-height:.55;color:#a3af92;margin:10px 0 25px;text-shadow:3px 3px 0 #dfe5d5}.empty-result b{font-size:13px;color:#7c8772}.empty-result p{font-size:10px;color:#9b9f91;line-height:1.9}.empty-result>span{font-family:monospace;font-size:7px;letter-spacing:1px;color:#babdb1}.receipt-bottom{display:flex;justify-content:space-between;border-top:1px dashed #c7cabd;padding-top:15px;font-size:11px}.receipt-joke{text-align:center;font-size:9px;color:#939784;margin:17px 0}.barcode{width:110px;height:22px;margin:auto;background:repeating-linear-gradient(90deg,#727868 0 2px,transparent 2px 4px,#727868 4px 5px,transparent 5px 8px,#727868 8px 12px,transparent 12px 14px)}.ticket-id{display:block;font-family:monospace;text-align:center;font-size:6px;letter-spacing:1px;margin:8px 0}.copy-button{width:100%;margin-top:22px;padding:12px;border:1px solid #bbc7af;background:#eef1e7;color:var(--green);font-size:11px}.again{display:block;margin:auto}.result-note{text-align:center;font-size:9px;color:#9c9f91;line-height:1.8;margin:10px 0 0}footer{display:flex;justify-content:space-between;border-top:1px solid var(--line);padding:22px 0;margin-top:32px;color:#939885;font-family:monospace;font-size:8px;letter-spacing:1px}.red{color:var(--red)}.winner{display:flex;align-items:center;gap:10px;padding:14px 0;border-bottom:1px dotted #ddd;font-size:13px;animation:reveal .4s steps(5)}.winner-ball{background:var(--red);color:white;width:28px;height:28px;display:grid;place-items:center;border-radius:50%;font-family:monospace;box-shadow:inset -3px -3px #0002;flex-shrink:0}.winner-name{overflow-wrap:anywhere;flex:1}.winner small{color:#c1962e;font-size:9px}#results:has(.winner){min-height:235px;padding:8px 0}.winner:nth-child(3n+2) .winner-ball{background:var(--green)}.winner:nth-child(3n) .winner-ball{background:#dba738}#toast{position:fixed;bottom:25px;left:50%;transform:translate(-50%,20px);padding:13px 22px;background:var(--ink);color:#fffbe9;z-index:20;opacity:0;pointer-events:none;transition:.2s;font-size:12px;max-width:90vw}#toast.show{opacity:1;transform:translate(-50%,0)}dialog{border:1px solid var(--ink);padding:28px;width:min(440px,90vw);background:var(--paper);box-shadow:7px 7px var(--ink)}dialog::backdrop{background:#17271988;backdrop-filter:blur(3px)}dialog h2{margin-top:0}dialog p{font-size:12px;color:var(--muted)}.dialog-actions{display:flex;gap:15px;margin-top:18px}.dialog-actions .draw-button{font-size:15px;padding:12px}body.drawing .machine-status{color:var(--red)}@keyframes reveal{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}@media(min-width:1450px){.machine-scene{height:430px}}@media(max-width:1080px){main{padding:28px 3% 0}.workspace{gap:12px;grid-template-columns:minmax(210px,1fr) minmax(320px,1.5fr) minmax(225px,1fr)}.menu-panel,.result-panel{padding:18px 13px}.controls{gap:12px;padding:20px 12px}.draw-button{font-size:16px;padding:16px 12px}.draw-button span{margin-left:2px}.panel-title{font-size:15px}.machine-scene{height:370px}}@media(max-width:850px){.workspace{grid-template-columns:1fr 1.4fr}.result-panel{grid-column:1/-1}.receipt{max-width:470px;margin:20px auto 0}.result-panel .copy-button{display:block;max-width:470px;margin:20px auto 0}.header-right{font-size:0}.icon-button{font-size:11px}.intro b{display:none}.stamp{margin-right:0}footer{gap:15px;font-size:7px}footer>span:nth-child(2){display:none}}@media(max-width:580px){header{height:68px;padding:0 18px}.brand{font-size:17px;gap:9px}.tiny{display:none}.icon-button{margin-left:0;padding:7px}.live-dot{display:none}main{padding:28px 16px 0}.intro{margin-bottom:23px}.intro p{max-width:260px;line-height:1.8;font-size:11px}h1{font-size:29px}.spark{display:none}.stamp{padding:7px 10px;font-size:9px}.stamp strong{font-size:22px}.eyebrow{font-size:8px;letter-spacing:1px}.workspace{display:flex;flex-direction:column;gap:18px}.panel{width:100%}.machine-panel{order:0}.menu-panel{order:1}.result-panel{order:2}.machine-scene{height:360px}.controls{justify-content:space-between;padding:20px}.draw-button{flex:initial;font-size:20px;padding:14px 24px}.dish-list{max-height:255px}.menu-panel,.result-panel{padding:22px}.scene-note{font-size:9px}footer{line-height:1.7}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

canvas{image-rendering:pixelated}.brand-icon,.draw-button,.add-button{image-rendering:pixelated}.draw-button{clip-path:polygon(0 4px,4px 4px,4px 0,calc(100% - 4px) 0,calc(100% - 4px) 4px,100% 4px,100% calc(100% - 4px),calc(100% - 4px) calc(100% - 4px),calc(100% - 4px) 100%,4px 100%,4px calc(100% - 4px),0 calc(100% - 4px))}
/* More legible arcade framing and visible interactive boundaries. */
:root{--line:#9aa48b}.panel{border:2px solid #5c6d56;box-shadow:5px 5px 0 #bcc4ad}.panel-title{padding-bottom:13px;border-bottom:2px solid #b1bba1}.dish-row{border-bottom:1px solid #b9c1ab}.dish-row:hover{background:#ecefdf}.dish-number{color:#56674e}.star,.remove{color:#64715c}.star.selected{color:#ba8010}.small-button,.icon-button,.stepper button{border:2px solid #687b5b;box-shadow:2px 2px 0 #b5c0a6}input,textarea{border:2px solid #7b8c6b}.copy-button{border:2px solid #687b5b;box-shadow:3px 3px 0 #b5c0a6}.receipt{border:1px solid #b8bba8}.machine-status{border:2px solid #819373;color:#314c3c;font-weight:700}.machine-scene{height:430px}.machine-top{border-bottom:2px solid #a8b89a;background:#dce5d0}.auntie-bubble{position:absolute;right:14px;top:12px;z-index:3;max-width:185px;background:#fff7d6;border:2px solid #635b3f;box-shadow:3px 3px #b6b895;padding:8px 10px;transform:rotate(2deg)}.auntie-bubble:after{content:'';position:absolute;bottom:-10px;right:24px;width:14px;height:14px;background:#fff7d6;border-right:2px solid #635b3f;border-bottom:2px solid #635b3f;transform:skewY(35deg)}.auntie-bubble span{display:block;font-size:8px;color:#926743;letter-spacing:1px;margin-bottom:4px}.auntie-bubble b{display:block;font-size:11px;line-height:1.6;color:#66432c}.drawing .auntie-bubble{animation:nag .25s steps(2) infinite}.scene-note{max-width:85px}.s1{display:none}.machine-label{bottom:31px}.muted,.list-heading,.result-note{color:#657259}.receipt-meta{color:#6c745f}@keyframes nag{50%{transform:rotate(-2deg) translateY(-2px)}}@media(max-width:580px){.machine-scene{height:385px}.auntie-bubble{max-width:160px;right:12px;top:9px}.auntie-bubble b{font-size:10px}.machine-label{bottom:27px}}@media(prefers-reduced-motion:reduce){.drawing .auntie-bubble{animation:none}}
/* Preserve the projected sphere's proportions at every viewport width. */
.machine-scene{height:auto;aspect-ratio:1100/990}canvas{position:absolute;inset:auto 0 0;width:100%;height:auto;aspect-ratio:1100/900}.machine-label{bottom:7%;font-size:12px}.machine-label span{font-size:7px;margin-top:5px}.auntie-bubble{top:8px}@media(max-width:760px){.workspace{display:flex;flex-direction:column;gap:20px}.panel{width:100%}.machine-panel{order:0}.menu-panel{order:1}.result-panel{order:2}.machine-scene{height:auto;aspect-ratio:1100/990}.controls{padding:20px;justify-content:space-between}.draw-button{flex:initial}.machine-label{font-size:14px}.auntie-bubble{max-width:190px}.auntie-bubble b{font-size:12px}}

/* WebGL stage: the actual 3D camera keeps proportions correct. */
.workspace{grid-template-columns:minmax(230px,1fr) minmax(470px,1.8fr) minmax(250px,1fr)}
.machine-panel{scroll-margin-top:18px}.machine-scene{height:580px;aspect-ratio:auto;isolation:isolate;background:#e6ecdf}
.machine-scene canvas{position:absolute;inset:0;width:100%;height:100%;aspect-ratio:auto;image-rendering:auto;touch-action:none;cursor:grab;z-index:0}.machine-scene canvas:active{cursor:grabbing}
.draw-stage{display:flex;justify-content:space-between;gap:8px;padding:11px 16px;background:#314d40;color:#fff1c8;font:10px monospace;letter-spacing:.5px}.draw-stage>span:last-child{color:#c9d7b5}
.auntie-bubble{max-width:170px;top:12px;right:12px;pointer-events:none;background:#fff7d6eb}.auntie-bubble b{font-size:10px}.auntie-bubble span{font-size:8px}
.view-tools{position:absolute;bottom:12px;left:13px;right:13px;display:flex;align-items:center;justify-content:space-between;gap:8px;z-index:2;font-size:9px;color:#41583d;pointer-events:none}.view-tools>span{background:#f6f6e9cc;padding:6px 9px}.view-tools button{pointer-events:auto;font-size:10px;background:#f8f6e7;border:1px solid #63795a;padding:7px 10px;box-shadow:2px 2px #b1bda3}
#reveal-card{position:absolute;z-index:3;left:6%;right:6%;bottom:12%;background:#fff9e8f5;border:3px solid #324d3c;box-shadow:6px 6px 0 #324d3c55;padding:15px 18px;text-align:center;animation:reveal .3s steps(5)}#reveal-card[hidden]{display:none}.reveal-kicker{font-size:10px;letter-spacing:2px;color:#587048}.reveal-title{display:flex;align-items:center;justify-content:center;gap:13px;margin-top:8px}.reveal-title>span{font:900 35px monospace;color:#e95738}.reveal-title h2{font-size:24px;margin:0;overflow-wrap:anywhere;max-width:80%;line-height:1.3}#reveal-extra{font-size:11px;color:#856543;margin:9px 0 0}
.machine-scene[data-phase="zooming"] .auntie-bubble,.machine-scene[data-phase="revealed"] .auntie-bubble{opacity:.2}.machine-scene[data-phase="revealed"] .view-tools{opacity:.15}
@media(min-width:1500px){.machine-scene{height:650px}}@media(max-width:1200px){.workspace{grid-template-columns:minmax(225px,1fr) minmax(420px,1.65fr)}.result-panel{grid-column:1/-1}.result-panel .receipt{max-width:480px;margin:20px auto}.result-panel .copy-button{display:block;max-width:480px;margin:20px auto 0}}
@media(max-width:760px){.workspace{display:flex}.machine-scene{height:clamp(420px,105vw,660px)}.draw-stage{font-size:9px;padding:10px 12px}.auntie-bubble{max-width:160px}.auntie-bubble b{font-size:10px}.reveal-title h2{font-size:22px}.reveal-title>span{font-size:30px}#reveal-card{bottom:14%;padding:12px}}
@media(prefers-reduced-motion:reduce){#reveal-card{animation:none}}
@font-face{font-family:FusionPixel;src:url('./fonts/fusion-pixel-tc.woff2') format('woff2');font-weight:400;font-display:swap}
body,body *{font-family:FusionPixel,monospace!important;color:#fff!important;text-shadow:-2px -2px 0 #000,0 -2px 0 #000,2px -2px 0 #000,2px 0 0 #000,2px 2px 0 #000,0 2px 0 #000,-2px 2px 0 #000,-2px 0 0 #000,0 3px 0 #000}
h1,h1 span,.receipt-head,.reveal-title h2{font-weight:400!important;letter-spacing:0;text-shadow:-3px -3px 0 #000,0 -3px 0 #000,3px -3px 0 #000,3px 0 0 #000,3px 3px 0 #000,0 3px 0 #000,-3px 3px 0 #000,-3px 0 0 #000,3px 5px 0 #000}
button,input,textarea{font-size:14px}.dish-row{font-size:16px;min-height:45px}.dish-number{font-size:12px}.muted,.list-heading,.text-button,.small-button,.tip p,.result-note,.receipt-meta,.receipt-bottom,.receipt-joke{font-size:12px}.tag{font-size:12px}.star.selected{background:#d4a232}.draw-button{font-size:24px}.winner{font-size:18px}.winner small{font-size:12px}.draw-stage{font-size:12px}.draw-stage>span:last-child{font-size:10px}.machine-status{font-size:12px}.auntie-bubble b{font-size:12px}.receipt{padding-top:32px;padding-bottom:30px;clip-path:none;border:0;background:#fff3d3;filter:drop-shadow(0 2px 0 #45523d);mask:conic-gradient(from 135deg at 50% 0,#000 90deg,#0000 0) top/20px 10px repeat-x,linear-gradient(#000 0 0) center/calc(100%) calc(100% - 20px) no-repeat,conic-gradient(from -45deg at 50% 100%,#000 90deg,#0000 0) bottom/20px 10px repeat-x}.receipt-head{font-size:26px}.receipt-head small{font-size:10px;letter-spacing:1px}.ticket-id{font-size:9px;line-height:1.5}.ticket-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.ticket-dialog-head h2{margin:0;font-size:24px}#close-ticket{background:#e96648;border:2px solid #111;font-size:22px;width:34px;height:34px}#ticket-dialog{width:min(610px,94vw);max-height:90vh;overflow:auto;padding:20px}#ticket-dialog p{font-size:12px}#ticket-preview{display:block;width:100%;height:auto;border:2px solid #111;image-rendering:auto} .ticket-dialog-actions{display:flex;gap:12px;justify-content:center;position:sticky;bottom:-20px;background:#f5f0dd;padding:15px 0}.ticket-dialog-actions a{text-decoration:none;background:#547759;font-size:16px}.ticket-dialog-actions button{font-size:16px;background:#d76643}#reveal-card{animation:none}input::placeholder,textarea::placeholder{color:#fff;opacity:1}footer{font-size:10px}
@media(max-width:580px){h1{font-size:28px}.brand{font-size:18px}.draw-button{font-size:22px}.draw-stage{font-size:10px}.dish-row{font-size:16px}.auntie-bubble b{font-size:12px}.receipt-meta{font-size:12px}.reveal-title h2{font-size:24px}}

/* Keep pixel strokes light; give supporting copy room to breathe. */
body,body *{font-weight:400!important;font-synthesis:none;letter-spacing:.6px;text-shadow:-1px -1px 0 #000,0 -1px 0 #000,1px -1px 0 #000,1px 0 0 #000,1px 1px 0 #000,0 1px 0 #000,-1px 1px 0 #000,-1px 0 0 #000}
body{font-size:16px;line-height:1.65}
h1,h1 span,.receipt-head,.reveal-title h2{letter-spacing:1px;text-shadow:-2px -2px 0 #000,0 -2px 0 #000,2px -2px 0 #000,2px 0 0 #000,2px 2px 0 #000,0 2px 0 #000,-2px 2px 0 #000,-2px 0 0 #000}
button,input,textarea{font-size:16px;line-height:1.5}
.muted,.list-heading,.text-button,.small-button,.tip p,.result-note,.receipt-meta,.receipt-bottom,.receipt-joke,.tag,.dish-number,.winner small,.draw-stage,.draw-stage>span:last-child,.machine-status,.auntie-bubble b,.controls label,.stepper span,.intro p,.header-right,.icon-button,.copy-button,#ticket-dialog p,dialog p,#reveal-extra{font-size:14px;line-height:1.7}
.tiny,.eyebrow,.stamp small,.panel-title em,.machine-top,.edition,.machine-foot,.auntie-bubble span,.view-tools,.view-tools button,.reveal-kicker,.receipt-head small,.ticket-id,.empty-result p,.empty-result>span,footer{font-size:12px;line-height:1.8;letter-spacing:.8px}
.tiny{max-width:110px}.empty-result b{font-size:16px}.dish-row{min-height:48px}.list-heading,.machine-top,.draw-stage{flex-wrap:wrap;gap:8px}.list-heading>span{min-width:0}.auntie-bubble{max-width:200px}.receipt-meta{gap:12px;flex-wrap:wrap}.ticket-id{overflow-wrap:anywhere}.ticket-dialog-head h2{line-height:1.5}.draw-button{line-height:1.4}.stepper output{width:28px}.winner{line-height:1.7}footer{flex-wrap:wrap;gap:12px}.ticket-dialog-actions{flex-wrap:wrap}
@media(max-width:580px){.header-right>span{display:none}.intro p{font-size:14px}.controls{gap:12px;padding:20px 14px}.draw-button{padding:14px 12px;font-size:22px}.auntie-bubble{max-width:180px}.brand{letter-spacing:0}.receipt-head{font-size:24px}}
/* iPhone / iPad: safe areas, native scrolling and comfortable touch targets. */
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{padding-left:env(safe-area-inset-left);padding-right:env(safe-area-inset-right);padding-bottom:env(safe-area-inset-bottom)}
header{height:auto;min-height:84px;padding-top:max(12px,env(safe-area-inset-top));padding-bottom:12px}
button,a,input,textarea{-webkit-tap-highlight-color:transparent}
input,textarea{font-size:16px!important}
button,.small-button,.text-button,.ticket-dialog-actions a{touch-action:manipulation}
[hidden]{display:none!important}
.workspace>*{min-width:0}
#ticket-preview{-webkit-touch-callout:default;user-select:auto}
#ticket-dialog,dialog{max-height:90vh;max-height:calc(100dvh - env(safe-area-inset-top) - env(safe-area-inset-bottom) - 32px);overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
.ticket-dialog-head{position:sticky;top:-20px;z-index:2;background:var(--paper);padding:8px 0}
.ticket-dialog-actions{z-index:2;gap:10px}
#share-ticket{background:#446354}
#ticket-help{line-height:1.8}
#toast{bottom:calc(20px + env(safe-area-inset-bottom));z-index:30}
@media(pointer:coarse){
  button,.small-button,.text-button,.ticket-dialog-actions a{min-height:44px}
  .star,.remove,.stepper button,#close-ticket,.add-button{min-width:44px;min-height:44px}
  .stepper button{width:44px;height:44px}.stepper{gap:8px}
  .dish-row{min-height:56px;gap:6px}.dish-number{min-width:24px}
  #add-form{height:48px}
  .machine-scene canvas{touch-action:pan-y pinch-zoom!important}
  .view-tools{align-items:end}.view-tools>span{max-width:45%}
  .controls{flex-wrap:wrap}.controls>.draw-button{flex:1 1 180px}
  button:hover:not(:disabled){transform:none}
}
@media(max-width:580px){
  header{min-height:72px;gap:8px;padding-left:12px;padding-right:12px}
  .header-right{font-size:0;gap:0;flex-shrink:0}.icon-button{font-size:14px;padding:8px}
  .brand{font-size:16px;gap:6px}.brand-icon{font-size:24px}
  main{padding-left:12px;padding-right:12px}
  .intro{gap:10px}.intro>div:first-child{min-width:0}.intro h1{font-size:26px;line-height:1.5}.stamp{flex-shrink:0;padding:6px}
  .menu-panel,.result-panel{padding:18px 12px}
  .panel-title{gap:8px;flex-wrap:wrap}.list-tools{gap:8px;flex-wrap:wrap}
  .controls{flex-wrap:wrap;gap:16px}.controls>div{width:100%}.controls>.draw-button{width:100%;flex:1 1 100%}
  .machine-status{margin:0 12px}.machine-foot{padding:12px}
  .auntie-bubble{max-width:165px}.auntie-bubble b{font-size:12px}
  .winner{flex-wrap:wrap}.winner small{margin-left:38px}
  #ticket-dialog{width:calc(100% - 20px);padding:12px}
  .ticket-dialog-head{top:-12px;gap:8px}.ticket-dialog-head h2{font-size:20px}
  .ticket-dialog-actions{bottom:-12px;padding:12px 0 max(12px,env(safe-area-inset-bottom));display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
  .ticket-dialog-actions>*{min-width:0;text-align:center;font-size:14px!important;line-height:1.6;padding:10px 6px}
  #share-ticket{grid-column:1/-1}
  #bulk-dialog{padding:18px;width:calc(100% - 24px)}
  .dialog-actions{gap:10px}.dialog-actions .draw-button{white-space:normal}
}

body:has(dialog[open]){overflow:hidden}
/* One task per screen: choose dishes, draw, then read the ticket. */
.flow-steps{display:flex;gap:8px;list-style:none;margin:0 0 18px;padding:0;max-width:820px;margin-left:auto;margin-right:auto}
.flow-steps li{flex:1;text-align:center;padding:10px 4px;border:2px solid #687b5b;background:#e1e6d7;font-size:14px;line-height:1.5}
.flow-steps [aria-current=step]{background:#d76643;border-color:#302f23;box-shadow:2px 3px #777e65}
.workspace{display:block;max-width:820px;margin:auto}
.workspace>.panel{width:100%;margin:0}
body:not([data-step=select]) .intro{display:none}
.intro{max-width:820px;margin-left:auto;margin-right:auto}.intro h1{font-size:30px}.intro .stamp{display:none}
.selection-tools{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:10px 0}
#selected-total{margin-left:auto;font-size:14px}
.dish-list{max-height:none;overflow:visible}
.dish-row{gap:8px;min-height:60px}
.dish-pick{display:flex;align-items:center;gap:12px;flex:1;min-width:0;min-height:48px;cursor:pointer}
.dish-pick input{appearance:auto;-webkit-appearance:checkbox;accent-color:#426b58;width:24px;height:24px;min-width:24px;padding:0;margin:0;flex-shrink:0}
.dish-pick .dish-name{font-size:18px;line-height:1.7}
.dish-row .star,.dish-row .remove{min-width:44px;min-height:44px;padding:4px}
.not-selected{background:#e6e5dc}.not-selected .dish-name{opacity:.6}
.next-actions{position:sticky;bottom:0;padding:16px 0 max(12px,env(safe-area-inset-bottom));background:#faf9f2;z-index:4;margin-top:16px}
.next-actions button{width:100%;white-space:normal;font-size:22px}
.step-back{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 16px;background:#faf9f2;font-size:12px}
.step-back button{min-height:44px}.step-back span{text-align:right}
.machine-scene{height:clamp(320px,48svh,520px)}
.controls{padding:14px 16px;gap:12px}.controls>div{width:auto}.controls>.draw-button{flex:1 1 180px;width:auto}
.result-panel .receipt{max-width:540px;margin:18px auto}.result-panel .copy-button{max-width:540px;margin:18px auto;display:block}
.choose-again{display:block;margin:12px auto;min-height:44px}
body:not([data-step=select]) footer{margin-top:16px}
@media(max-width:580px){
  main{padding-top:16px}.intro{margin-bottom:16px}.intro h1{font-size:24px;margin:8px 0}.intro p{margin:6px 0}.eyebrow{display:none}
  .flow-steps{gap:6px;margin-bottom:14px}.flow-steps li{font-size:12px;padding:9px 2px}
  .dish-row{gap:4px}.dish-number{min-width:20px;font-size:12px}.dish-pick{gap:8px}.dish-pick .dish-name{font-size:16px}
  .selection-tools .small-button{padding:8px;min-height:44px}.next-actions button{font-size:20px}
  .controls{flex-wrap:wrap}.controls>.draw-button{font-size:20px;min-height:52px;padding:12px}
  .machine-scene{height:clamp(310px,44svh,420px)}.machine-foot{padding:8px 12px}
  .step-back{padding:0 12px}.step-back button{font-size:14px}
}
body[data-step=ticket] #results:has(.winner){min-height:0;padding:8px 0}
body[data-step=ticket] .receipt{padding-top:24px;padding-bottom:20px}
body[data-step=ticket] .receipt-meta{padding-top:12px}
body[data-step=ticket] .receipt-joke{margin:12px 0}
.edit-dish{min-width:44px;min-height:44px;background:#e5ecdb;border:1px solid #687b5b;font-size:14px;padding:6px}
.save-status{font-size:12px;line-height:1.8;margin:12px 0}
#edit-dialog label{display:block;margin-bottom:8px}#edit-error{min-height:24px;margin:8px 0}
@media(max-width:580px){.dish-row{display:grid;grid-template-columns:22px minmax(0,1fr) 44px 44px;column-gap:6px;padding:8px 0}.dish-pick{grid-column:2/5}.dish-row .star{grid-column:2;justify-self:end}.dish-row .edit-dish{grid-column:3}.dish-row .remove{grid-column:4}.dish-row .dish-number{grid-column:1}#edit-dialog{width:calc(100% - 24px);padding:18px}}
.brand-stack{display:flex;flex-direction:column;align-items:flex-start;line-height:1.4;padding-top:6px}
.character-title{display:block;transform:rotate(-8deg);transform-origin:left bottom;font-size:16px;letter-spacing:1px;margin:0 0 5px 5px}
.receipt-head .character-title{width:fit-content;margin:0 auto 10px;font-size:18px}
.character-settings{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:18px;padding:12px;background:#e6ecdc;border:1px solid #687b5b}
.character-settings label{font-size:14px}.character-settings input{flex:1;min-width:100px;max-width:260px}.character-settings button{min-height:44px}
.flow-steps li{padding:0;border:0;box-shadow:none;background:none;display:flex}
.flow-steps button{width:100%;min-height:44px;padding:10px 4px;border:2px solid #687b5b;background:#e1e6d7;font-size:14px;line-height:1.5}
.flow-steps button[aria-current=step]{background:#d76643;border-color:#302f23;box-shadow:2px 3px #777e65}
@media(max-width:580px){.character-title{font-size:14px}.character-settings{gap:8px}.character-settings label{width:100%}.character-settings input{width:100px}.flow-steps button{font-size:12px}.brand-stack{max-width:165px}.character-title{overflow-wrap:anywhere}}
.next-actions{display:grid;gap:10px}
.next-actions #direct-ticket{min-height:48px;font-size:18px;background:#446354;border:2px solid #2a4133;box-shadow:2px 3px #bbc4ac;white-space:normal}
.next-actions small{text-align:center;font-size:12px;line-height:1.6}
/* Playful lottery balls fill the hero; a separate footer carries the ink seal. */
.intro{gap:24px}.intro>div:first-child{flex:1;min-width:0}.intro .spark{display:none}
.hero-balls{position:relative;flex:0 0 210px;width:210px;height:180px;isolation:isolate}
.hero-balls:after{content:'';position:absolute;bottom:4px;left:8px;width:190px;height:19px;background:#46583b24;border-radius:50%;filter:blur(3px);z-index:-1}
.hero-ball{position:absolute;width:96px;height:96px;display:grid;place-items:center;border-radius:50%;border:2px solid #293c30;box-shadow:inset -9px -11px 0 #0002,5px 7px 0 #293c3025}
.hero-ball:before{content:'';position:absolute;top:10px;left:19px;width:25px;height:10px;background:#fff9;border-radius:50%;transform:rotate(-30deg)}
.hero-ball b{display:grid;place-items:center;width:52px;height:52px;border-radius:50%;background:#fff2d6;border:2px solid #28382c;font-size:29px;letter-spacing:0}
.ball-red{left:11px;top:14px;transform:rotate(-18deg);background:radial-gradient(circle at 30% 20%,#ff9c73,#e9593c 62%,#a13929)}
.ball-gold{right:0;top:44px;transform:rotate(16deg);background:radial-gradient(circle at 30% 20%,#ffe39c,#e6b647 62%,#9d7027)}
.ball-green{left:53px;bottom:3px;transform:rotate(-8deg);background:radial-gradient(circle at 30% 20%,#aac7a0,#557f64 62%,#2d5540)}
.ball-spark{position:absolute;font-style:normal;font-size:28px}.spark-one{right:13px;top:0}.spark-two{left:0;bottom:6px;font-size:22px}
.receipt-seal-area{display:flex;justify-content:flex-end;padding:12px 8px 7px;min-height:128px}
#character-seal{position:static;display:block;width:124px;height:124px;transform:rotate(-9deg);opacity:.88;object-fit:contain}
@media(max-width:580px){.intro{gap:10px;align-items:center}.intro h1{font-size:24px}.intro p{font-size:12px}.hero-balls{flex-basis:110px;width:110px;height:132px}.hero-ball{width:62px;height:62px;box-shadow:inset -5px -7px 0 #0002,3px 4px 0 #293c3025}.hero-ball b{width:36px;height:36px;font-size:21px}.hero-ball:before{top:7px;left:12px;width:16px;height:7px}.ball-red{left:0;top:12px}.ball-gold{right:0;top:45px}.ball-green{left:15px;bottom:0}.hero-balls:after{width:108px;left:0;height:13px}.ball-spark{font-size:20px}.spark-one{right:0;top:0}.spark-two{font-size:16px;left:-6px;bottom:12px}#character-seal{width:110px;height:110px}.receipt-seal-area{min-height:120px}}

/* Viewport shell: only the two menus scroll; actions always stay in view. */
html{height:100%;overflow:hidden}
body{height:100vh;height:100dvh;overflow:hidden;display:flex;flex-direction:column}
body>header{flex:none;height:72px;min-height:0;padding:6px max(16px,env(safe-area-inset-right)) 6px max(16px,env(safe-area-inset-left))}
main{flex:1;min-height:0;width:100%;max-width:1100px;margin:0 auto;padding:10px max(12px,env(safe-area-inset-right)) max(10px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left));display:flex;flex-direction:column;gap:10px}
main>footer{display:none}
/* Text shadows extend beyond glyph boxes: keep a safe inset, without clipping. */
.intro{flex:none;width:100%;margin:0 auto;height:88px;padding:4px;overflow:visible}
.intro h1{font-size:28px;margin:0;letter-spacing:1px}.intro p{margin:4px 0}.intro .eyebrow{display:none}
.hero-balls{transform:scale(.6);transform-origin:right center;height:180px;margin-left:-75px}
.flow-steps{flex:none;width:100%;margin:0 auto;gap:8px}.flow-steps button{padding:6px 3px;font-size:14px;min-height:44px}
.workspace{display:flex;flex:1;min-height:0;width:100%;max-width:100%;margin:0;align-items:stretch}
.workspace>.panel{display:flex;flex-direction:column;flex:1;min-height:0;min-width:0;width:100%;overflow:hidden}
.menu-panel,.result-panel{padding:12px;gap:8px}.panel-title{flex:none;min-height:44px;padding:0 0 6px;gap:8px;font-size:16px}.panel-title .tag{margin-left:auto}
#open-settings{min-height:40px;padding:4px 8px;font-size:14px}
#add-form{flex:none;height:44px;margin:0}.list-heading{flex:none;margin:0;font-size:12px}.selection-tools{flex:none;margin:0;gap:8px}.selection-tools .small-button{padding:5px 10px;min-height:40px}
#dish-list{flex:1;min-height:0;max-height:none;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;border-block:1px solid #899a7a;padding:0 4px}
.dish-row{display:flex;min-height:54px;padding:4px 0;gap:8px}.dish-pick{flex:1;min-width:0}.dish-pick .dish-name{font-size:16px;line-height:1.6}.dish-number{flex:none}.dish-row button{flex:none;min-width:40px;min-height:44px}
.next-actions{position:static;flex:none;display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:2px 0 4px;margin:0}.next-actions button,.next-actions #direct-ticket{min-height:48px;padding:8px;font-size:17px;white-space:normal;line-height:1.4}.next-actions small{grid-column:1/-1;line-height:1.4}
.machine-panel{gap:0}.step-back{flex:none;min-height:40px}.machine-top{flex:none;padding:6px 12px}.draw-stage{flex:none;padding:6px 12px}.machine-scene{flex:1;min-height:0;height:auto;aspect-ratio:auto}.machine-status{flex:none;margin:0;padding:6px;font-size:12px}.controls{flex:none;flex-wrap:nowrap;padding:10px 12px;gap:12px}.controls>div{flex:none}.controls label{font-size:12px}.stepper{margin-top:2px;gap:8px}.stepper button{min-height:44px;min-width:44px}.controls>.draw-button{min-height:52px;font-size:20px;padding:10px;flex:1}.machine-foot{display:none}
.result-panel .receipt{display:flex;flex-direction:column;flex:1;min-height:0;width:100%;max-width:640px;margin:0 auto;padding:16px 16px 12px;gap:6px}
.receipt-head{flex:none;font-size:20px;line-height:1.3}.receipt-head .character-title{font-size:14px;margin:0 auto 4px}.receipt-head small{font-size:10px;margin:0}.receipt-meta,body[data-step=ticket] .receipt-meta{flex:none;padding:4px 0;font-size:12px}
#results,body[data-step=ticket] #results:has(.winner){flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:4px;scrollbar-gutter:stable}
.receipt-bottom{flex:none;padding:6px 88px 0 0;min-height:56px;align-items:center}.receipt-seal-area{position:absolute;bottom:10px;right:14px;min-height:0;padding:0;pointer-events:none}#character-seal{width:72px;height:72px}
.receipt-joke,.receipt .barcode,.ticket-id,.result-note{display:none}
.result-panel .copy-button{flex:none;width:100%;max-width:640px;margin:0 auto;min-height:44px;padding:8px}.again,.choose-again{flex:none;margin:0 auto;padding:4px 8px;min-height:40px}
.empty-result{padding:8px}.empty-result .bowl{display:none}.empty-result p{margin:4px}.empty-result>span{display:none}
#settings-dialog .character-settings{margin:8px 0;gap:8px}#settings-dialog .character-settings label{width:auto}#settings-dialog .tip{margin:8px 0}#settings-dialog .save-status{margin:6px 0}
#ticket-dialog[open]{display:flex;flex-direction:column;height:calc(100dvh - 28px - env(safe-area-inset-top) - env(safe-area-inset-bottom));overflow:hidden;gap:8px;padding:14px}
#ticket-dialog .ticket-dialog-head,#ticket-help,.ticket-dialog-actions{flex:none;margin:0}#ticket-preview{flex:1;min-height:0;width:100%;height:0;object-fit:contain}#ticket-dialog .ticket-dialog-actions{position:static;padding:4px;gap:8px}
@media(max-width:580px){body>header{height:68px}.brand{font-size:17px}.intro{height:68px}.intro h1{font-size:20px}.intro p{display:none}.hero-balls{transform:scale(.65);height:132px;flex-basis:110px;margin-left:-25px}.panel-title .tag{display:none}.menu-panel,.result-panel{padding:8px;gap:6px}.next-actions button,.next-actions #direct-ticket{font-size:15px}.next-actions small{font-size:11px}.dish-row{gap:4px}.dish-number{min-width:18px}.dish-pick{gap:5px}.dish-row button{min-width:36px;padding:4px}.flow-steps button{font-size:13px}.controls{padding:8px;gap:8px}.stepper span{display:none}.auntie-bubble{max-width:130px;padding:5px}.auntie-bubble b{font-size:11px}.auntie-bubble span{font-size:11px}.view-tools{bottom:6px;left:6px;right:6px}.view-tools>span{font-size:11px}.machine-top{display:none}.draw-stage{font-size:11px}.draw-stage>span:last-child{display:none}#reveal-card{padding:8px;bottom:18%}.reveal-title h2{font-size:20px}}
@media(max-height:700px){main{gap:6px;padding-top:6px}.intro{display:none}.list-heading{display:none}.next-actions small{display:none}.receipt-head small{display:none}.result-panel{gap:4px}.receipt-head .character-title{display:none}.receipt-head{font-size:18px}.receipt-bottom{min-height:40px}#character-seal{width:52px;height:52px}.step-back{display:none}.machine-top{display:none}}
@media(max-height:480px){body>header{height:48px}.brand-stack{flex-direction:row;align-items:center;gap:10px;padding:0}.brand-stack .character-title{margin:0;font-size:12px}.brand-icon,.tiny{display:none}.flow-steps button{min-height:36px;padding:2px}.menu-panel{display:grid!important;grid-template-columns:minmax(220px,1fr) minmax(200px,1.3fr);grid-template-rows:44px 44px minmax(44px,1fr);gap:6px 12px}.menu-panel[hidden]{display:none!important}.menu-panel .panel-title{grid-column:1;grid-row:1}.menu-panel #add-form{grid-column:1;grid-row:2}.menu-panel .selection-tools{grid-column:1;grid-row:3;align-self:start}.menu-panel #dish-list{grid-column:2;grid-row:1/3}.menu-panel .next-actions{grid-column:2;grid-row:3;align-self:end}.machine-status{display:none}.controls{padding:4px 10px}.controls>div{display:flex;align-items:center;gap:8px}.controls>.draw-button{min-height:44px}.auntie-bubble{display:none}.result-panel{display:grid!important;grid-template-columns:minmax(0,1fr) 230px;grid-template-rows:44px 1fr 44px 44px}.result-panel[hidden]{display:none!important}.result-panel>.panel-title{grid-column:2;grid-row:1}.result-panel>.receipt{grid-column:1;grid-row:1/5;height:100%}.result-panel>.copy-button{grid-column:2;grid-row:2;align-self:end}.result-panel>.again{grid-column:2;grid-row:3}.result-panel>.choose-again{grid-column:2;grid-row:4}.receipt-meta{font-size:11px}}
/* Reserve more room for the actual menus on compact screens. */
#results .winner{padding:10px 0;min-height:48px}
@media(max-height:480px) and (min-width:560px){.menu-panel{grid-template-rows:44px 44px minmax(0,1fr) auto}.menu-panel #dish-list{grid-row:1/4}.menu-panel .next-actions{grid-row:4}.menu-panel .selection-tools{flex-wrap:wrap}}
@media(max-height:480px) and (max-width:559px){.menu-panel,.result-panel{display:flex!important}.menu-panel[hidden],.result-panel[hidden]{display:none!important}.brand-stack{flex-direction:column;gap:0}.panel-title{min-height:34px}.selection-tools .small-button{min-height:34px}.next-actions button,.next-actions #direct-ticket{min-height:40px;font-size:13px}.result-panel>.receipt{height:auto}.result-panel>.copy-button{align-self:auto}}
@media(max-width:580px){body[data-step=ticket] .receipt{padding-top:14px;padding-bottom:10px}.result-panel .receipt-head{letter-spacing:1px}.receipt-meta{line-height:1.4}}
@media(max-height:700px){.result-panel>.panel-title{min-height:34px}.result-panel .receipt-meta{padding:2px 0}.result-panel .receipt-head{line-height:1.2}}
#settings-dialog{padding:16px;width:min(560px,calc(100% - 24px))}#settings-dialog .tip,#settings-dialog .muted{display:none}#settings-dialog .ticket-dialog-head{position:static;padding:0}#settings-dialog h2{font-size:20px;margin:0}#settings-dialog #bulk{min-height:44px}#settings-dialog .save-status{font-size:12px}
@media(max-height:480px){#settings-dialog .character-settings{flex-wrap:nowrap;padding:6px}#settings-dialog .character-settings input{width:120px}#settings-dialog .character-settings button{white-space:nowrap}#settings-dialog #bulk{padding:4px}#settings-dialog .list-tools{margin:0}#settings-dialog .save-status{margin:0}dialog{padding:14px}dialog h2{font-size:18px;margin-bottom:6px}dialog p{margin:4px 0}#bulk-input{height:90px}.dialog-actions{margin-top:8px}}
/* Speech follows the projected character head, including during orbit/reveal. */
.machine-scene .auntie-bubble{display:block;right:auto;bottom:auto;left:50%;top:8px;width:190px;max-width:calc(100% - 16px);padding:7px 9px;transform:none;animation:none;opacity:1;z-index:4;overflow-wrap:anywhere}
.machine-scene .auntie-bubble:after{left:var(--tail-x,50%);right:auto;bottom:-9px;width:12px;height:12px;transform:translateX(-50%) rotate(45deg)}
.machine-scene .auntie-bubble span{font-size:11px;margin-bottom:3px}.machine-scene .auntie-bubble b{font-size:13px;line-height:1.6}
@media(max-width:580px),(max-height:480px){.machine-scene .auntie-bubble{width:158px;padding:5px 7px}.machine-scene .auntie-bubble b{font-size:12px;line-height:1.5}.machine-scene .auntie-bubble span{font-size:10px;margin-bottom:2px}}
.machine-scene[data-phase] .auntie-bubble{opacity:1}
