*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}html,body{margin:0;width:100%;height:100%;overflow:hidden;overscroll-behavior:none}body{display:flex;align-items:center;justify-content:center;background:#06191e;font-family:system-ui,-apple-system,'PingFang TC','Microsoft JhengHei',sans-serif;color:#ffedc4;padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left)}#game{position:relative;isolation:isolate;overflow:hidden;width:min(100vw,calc((100dvh - env(safe-area-inset-top) - env(safe-area-inset-bottom))*6/13));aspect-ratio:6/13;background:#193e51;touch-action:none;user-select:none;container-type:inline-size;box-shadow:0 0 100px #0009}.scenery{position:absolute;inset:0 0 33.333%;background:linear-gradient(#0b28385c,#102c3752 55%,#102a30d9),url('assets/sunset-beach.svg') center 48%/cover;z-index:-2}.worktop{position:absolute;inset:66.666% 0 0;background:linear-gradient(90deg,#071f25e8,#10252588),url('assets/sunset-beach.svg') center 65%/cover;z-index:-2;border-top:7px ridge #b4834d}.worktop:after{content:'';position:absolute;bottom:0;left:0;right:0;height:16%;background:repeating-linear-gradient(0deg,#3d3029 0 5px,#584132 6px 8px);border-top:3px solid #a5794c}canvas{width:100%;height:100%;display:block;image-rendering:pixelated}header{position:absolute;top:2.6%;left:5%;right:5%;display:flex;align-items:stretch;justify-content:space-between;gap:3cqw}.brand{padding:3cqw 0;font-family:Georgia,serif;font-size:2.8cqw;letter-spacing:.14em;font-weight:800;color:#ffe5b1;text-shadow:1px 2px #091d24}.brand span{display:block;font-family:system-ui;font-size:4.3cqw;letter-spacing:.03em;margin-top:5px}.scores{display:flex;gap:1px;background:#bb9a62;border:1px solid #b79862;box-shadow:3px 3px #061c24a6}.scores>div{min-width:14cqw;padding:2cqw 2cqw 1cqw;background:#0c2931ef;text-align:center;font-size:2.5cqw;letter-spacing:.08em;color:#d2c5a3}.scores strong{display:block;font-family:monospace;font-size:7cqw;line-height:1.2;color:#ffcf7b;font-variant-numeric:tabular-nums}button{font:inherit;cursor:pointer;touch-action:none;font-weight:800;color:#ffe8ba}button:focus-visible{outline:3px solid #ffe5a2;outline-offset:5px}#throw{position:absolute;left:6%;top:77%;width:29%;height:12%;border-radius:2px;background:linear-gradient(#e07845,#b3462c);font-size:5.5cqw;border:2px solid #f3ba71;box-shadow:inset 0 0 0 3px #9c3c27,4px 5px 0 #071b20;text-shadow:1px 2px #713223}#throw .arrow{display:block;font-size:7cqw;line-height:1;margin-bottom:3px}#throw:active:not(:disabled){transform:translateY(3px);box-shadow:inset 0 0 0 3px #9c3c27,2px 2px #071b20}#throw:disabled{background:#35505a;border-color:#8ca5a0;box-shadow:inset 0 0 0 3px #19343b,3px 4px #071b20;color:#d0dbce;text-shadow:none}#throw:disabled .arrow{opacity:.5}#next{position:absolute;left:6%;top:69.2%;padding:2cqw 3cqw;background:#e8d5a8;color:#3b4034;font-size:2.7cqw;letter-spacing:.1em;border-left:4px solid #b65332;box-shadow:3px 3px #071c2470}#next span{margin-left:8px;font-size:3.5cqw;font-weight:800;color:#733e28}.station{position:absolute;right:6%;top:70%;font-size:2.2cqw;letter-spacing:.16em;color:#e4cda2;text-align:right}.station span{display:block;font-size:3.1cqw;letter-spacing:.08em;margin-top:4px}.bottom{position:absolute;bottom:2.3%;width:100%;text-align:center;font-size:2.4cqw;letter-spacing:.12em;color:#edce9e}.bottom i{padding:0 8px}#feedback{position:absolute;top:14%;left:23%;right:23%;text-align:center;font-size:4cqw;font-weight:800;color:#ffe5a5;text-shadow:2px 2px #16342d}#feedback:not(:empty){padding:2cqw;background:#123731e8;border:1px solid #b5a775}#overlay{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;text-align:center;padding:12% 7% 7%;background:linear-gradient(#061c28c7,#09263836 40%,#06192087 65%,#05191ef5),url('assets/sunset-beach.svg') center/cover;z-index:5}#overlay[hidden]{display:none}.eyebrow{font:700 2.5cqw monospace;letter-spacing:.23em;color:#ebc487;border-top:1px solid #b9945b;border-bottom:1px solid #b9945b;padding:2cqw 4cqw}.hero-burger{width:27%;aspect-ratio:1.25;background:url('assets/burger.svg') center/contain no-repeat;margin:7cqw 0 4cqw;image-rendering:pixelated;filter:drop-shadow(3px 5px 0 #071920a0)}h1{font-size:13cqw;letter-spacing:.05em;line-height:1.2;margin:0;color:#ffe8b9;font-family:'Songti TC','Noto Serif TC',serif;font-weight:900;text-shadow:3px 3px #173442,5px 5px #071c24}h1 span{display:block;font:400 2.6cqw Georgia,serif;letter-spacing:.2em;margin-top:4cqw;text-shadow:1px 2px #071c24}p{font-size:3.5cqw;line-height:1.85;color:#ead8b5;margin:5cqw 0 0;text-shadow:1px 2px #081e25}.menu-spacer{flex:1;min-height:5cqw}.menu-note{color:#e9c48c;letter-spacing:.25em;font:400 2.5cqw monospace;margin-bottom:4cqw}#start{position:relative;background:#c56336;color:#fff1cc;padding:4.4cqw 6cqw;border:1px solid #ffce8b;outline:3px solid #18343a;border-radius:0;width:91%;font-size:4.8cqw;letter-spacing:.12em;box-shadow:inset 0 0 0 3px #94422b,4px 6px #031a21}#start:active{transform:translateY(2px)}#start span{float:right}.credit{font-size:2.5cqw;letter-spacing:.12em;color:#c9b894;margin-top:6cqw}#result{background:#f2dfb7;color:#243d3d;box-shadow:4px 4px #041c26;border-top:4px solid #bc6039;padding:3cqw 6cqw;font:700 4.5cqw monospace;margin-top:5cqw}#result[hidden]{display:none}#overlay.ended{padding-top:14%;background:linear-gradient(#061c28dd,#09263877 55%,#061920f5),url('assets/sunset-beach.svg') center/cover}#overlay.ended h1{font-size:10cqw}#overlay.ended .hero-burger{width:22%;margin:6cqw 0} @media(prefers-reduced-motion:reduce){button{transition:none}}

/* V1.3: original sunset beach, all former reference-photo backgrounds removed. */
body{background:#292a38;color:#ffe6ba}#game{background:#765064}.scenery{inset:0;background:url('assets/sunset-beach.svg') center/100% 100%;image-rendering:pixelated}.worktop{display:none}
.brand{color:#fff0cf}.scores{border-color:#edb884;background:#dba77b}.scores>div{background:#3a3549f0;color:#efd3b6}.scores strong{color:#ffcf88}
#throw{background:linear-gradient(#edaa66,#c9734e);border-color:#ffe0a2;box-shadow:inset 0 0 0 3px #a65c42,4px 5px 0 #342e3d;color:#fff3d8;text-shadow:1px 2px #80513f}#throw:disabled{background:#5a5b6d;border-color:#b5b3a5;box-shadow:inset 0 0 0 3px #444657,3px 4px #342e3d}
#next{background:#f4ddb3;color:#654c46;border-left-color:#c77c55}.station{color:#ffdfae}.bottom{color:#f0cea4;background:#372e3880;padding:1cqw 0;bottom:1.5%}
#feedback:not(:empty){background:#534453ed;border-color:#edc184;color:#ffe3ab}
#overlay,#overlay.ended{background:linear-gradient(#302c4550,#5d3c4320 45%,#392f4160 72%,#272735e8),url('assets/sunset-beach.svg') center/100% 100%}
h1{color:#ffe8b7;text-shadow:3px 3px #634354,5px 5px #3d3347}.eyebrow{color:#ffe3b4;border-color:#f4c293;background:#42364a99}p{color:#fff0d2;text-shadow:1px 2px #634354}.hero-burger{filter:drop-shadow(3px 5px 0 #573e4a80)}
#start{background:#c87850;border-color:#ffe0ac;outline-color:#4e4050;box-shadow:inset 0 0 0 3px #95543f,4px 6px #302b3d}#result{background:#f3d9ad;color:#594251;border-color:#c47953}.credit,.menu-note{color:#ffe0b2}

/* Original chef background is used only on the opening screen. */
#overlay:not(.ended){background:linear-gradient(#29233f66,transparent 45%,transparent 78%,#171b2a99),url('assets/chef-sunset.webp') center/cover;padding-top:8%}
#overlay:not(.ended) .hero-burger{width:18%;margin:4cqw 0 3cqw}
#overlay:not(.ended) h1{font-size:12cqw}
#overlay:not(.ended) p{margin-top:3cqw}
#overlay:not(.ended) .menu-note{display:none}

/* Full actual-stack results, scaled to fit from zero through 25 layers. */
#burger-showcase[hidden]{display:none}#burger-showcase{width:88%;flex:1 1 auto;min-height:0;margin:4cqw 0 1cqw;display:flex;justify-content:center;background:radial-gradient(ellipse,#f5cf7f28,transparent 70%)}#burger-showcase svg{display:block;width:100%;height:100%;max-height:100%;filter:drop-shadow(3px 4px 0 #352d3d66)}
#overlay.ended{padding:8% 6% 5%}#overlay.ended .hero-burger{display:none}#overlay.ended h1{font-size:7cqw;line-height:1.5;margin:4cqw 0 0;letter-spacing:.03em}#overlay.ended p{font-size:3.3cqw;margin:2cqw 0 0}#overlay.ended #result{font-size:3.9cqw;margin:3cqw 0 5cqw;padding:2.5cqw 3cqw;flex-shrink:0}#overlay.ended .menu-spacer,#overlay.ended .menu-note{display:none}#overlay.ended #start{flex-shrink:0}#overlay.ended .credit{margin-top:4cqw}

/* V1.6 — PDF brand and navigation revisions. */
.brand{font-size:2.05cqw;letter-spacing:.08em;white-space:nowrap}
.channel-link{display:flex;align-items:center;justify-content:center;gap:2.5cqw;min-height:44px;padding:2cqw 3cqw;color:#ffebca;text-decoration:none;font-size:3.4cqw;line-height:1.5;background:#392c42bb;border:1px solid #d5a477;flex-shrink:0;touch-action:manipulation}
.channel-link:hover{background:#513c50}.channel-link:focus-visible{outline:3px solid #ffe5a2;outline-offset:3px}
.youtube-icon{width:7.5cqw;height:auto;flex-shrink:0}
#overlay:not(.ended){padding-top:8%}
#overlay:not(.ended) .hero-burger{margin-top:8cqw}
#overlay:not(.ended) #message,#overlay:not(.ended) .result-channel{display:none}
#overlay.ended .opening-channel{display:none}
#overlay.ended .result-channel{width:94%;font-size:3cqw;gap:2cqw;padding:2cqw;margin:2cqw 0 0}
#overlay.ended h1{margin-top:2cqw}
.credit,.bottom{font-size:2.35cqw;letter-spacing:0;line-height:1.5;white-space:nowrap}
.credit{width:112%;margin-top:5cqw}
#overlay.ended .credit{margin-top:4cqw}
#overlay.ended #result{margin-top:3cqw}
