@charset "UTF-8";
:root{color-scheme:dark;--ink:#efe8d8;--paper:#171b19;--muted:#a8aa9b;--gold:#cbb389;--line:#d9c9a925;--serif:"Yu Mincho","Hiragino Mincho ProN","Noto Serif JP",serif;font-family:"Helvetica Neue","Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif;font-synthesis:none}
*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink)}button,a,input{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer}button,a{touch-action:manipulation}button:disabled{cursor:wait;opacity:.48}a{color:inherit}button:focus-visible,a:focus-visible,summary:focus-visible{outline:2px solid var(--gold);outline-offset:4px}[hidden]{display:none!important}
.kitchen-app{max-width:1280px;margin:auto;padding:0 20px}.masthead{height:48px;display:flex;align-items:center;border-bottom:1px solid var(--line);gap:22px}.masthead>a{font-size:14px;font-weight:650;text-decoration:none;letter-spacing:-.4px;white-space:nowrap}.masthead>a span{color:var(--gold)}.edition{font-size:9px;letter-spacing:.12em;color:var(--muted)}.tools{display:flex;gap:6px;margin-left:auto}.tools button{border:1px solid var(--line);border-radius:5px;background:transparent;color:var(--ink);font-size:10px;padding:7px 11px;min-height:34px;white-space:nowrap}.tools #reset{background:#eee4cf;color:#242920;border-color:#eee4cf}
.title-row{display:flex;align-items:center;justify-content:space-between;padding:20px 3px 21px;gap:20px}.eyebrow{font-size:8px;font-weight:400;letter-spacing:.24em;margin:0 0 9px;color:var(--gold)}h1{font-family:var(--serif);font-size:32px;letter-spacing:.035em;margin:0;font-weight:500;line-height:1.4}.tagline{font-size:10px;line-height:1.9;color:var(--muted);margin:0;letter-spacing:.07em}.is-cooking .title-row{display:none}.steps{display:flex;padding:0;margin:0;height:30px;align-items:center;gap:14px;list-style:none}.steps li{flex:1;border-top:1px solid var(--line);padding:5px 0 2px;font-size:10px;display:flex;gap:8px;align-items:center;color:#777f72;transition:color .3s,border-color .3s}.steps li span{font-size:8px;letter-spacing:.1em}.steps li.current{border-color:var(--gold);color:#e8d8b8}.steps li.done{border-color:#70715a;color:#999f8c}
.play-area{position:relative}.stage{height:calc(100svh - 188px);min-height:460px;position:relative;overflow:hidden;background:#171b19;border-radius:5px;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;isolation:isolate}.stage:after{content:"";position:absolute;inset:0;pointer-events:none;z-index:1;background:radial-gradient(ellipse at 50% 43%,transparent 42%,#10151126 100%)}.is-cooking .stage{height:calc(100svh - 78px)}.stage canvas{display:block;width:100%;height:100%;touch-action:none;cursor:grab}.stage canvas:active{cursor:grabbing}.stage-top{position:absolute;inset:17px 21px auto;z-index:2;display:flex;justify-content:space-between;gap:12px;color:#e2ddcc;pointer-events:none;font-size:10px;letter-spacing:.08em;text-shadow:0 1px 6px #000}.stage-top span:last-child{color:#aaa995}
.feedback{position:absolute;bottom:194px;left:15px;right:15px;z-index:2;color:#f6edda;font-size:16px;line-height:1.7;text-align:center;pointer-events:none;text-shadow:0 1px 8px #000;opacity:0;transform:translateY(6px);transition:.25s}.feedback.show{opacity:1;transform:translateY(0)}.gesture-guide{position:absolute;bottom:177px;left:0;right:0;z-index:2;display:flex;flex-direction:column;gap:9px;align-items:center;color:#ddcfb3;pointer-events:none;font-size:10px;text-shadow:0 1px 6px #000}.gesture-guide b{margin:0 5px;color:var(--gold);font-weight:400}.gesture-track{display:block;height:32px;width:1px;background:#ddcda53b;position:relative}.gesture-track i{position:absolute;width:7px;height:7px;border:1px solid #e5d2a8;border-radius:50%;left:-3px;animation:gesture 2.6s ease-in-out infinite}.gesture-track:after{content:"";position:absolute;top:0;left:-3px;width:6px;height:6px;border-top:1px solid #e5d2a8;border-left:1px solid #e5d2a8;transform:rotate(45deg)}@keyframes gesture{0%,100%{top:0;opacity:.35}48%{top:25px;opacity:1}70%{top:0;opacity:1}}
.flight-meter{position:absolute;top:24%;left:19px;z-index:2;display:flex;flex-direction:column;gap:10px;align-items:center;color:#babdab;font-size:9px;letter-spacing:.06em;pointer-events:none;text-shadow:0 1px 6px #000}.flight-meter>div{width:2px;height:78px;background:#efe3c524;position:relative}.flight-meter>div:after{content:"";position:absolute;left:-3px;top:24%;width:8px;height:48%;border:1px solid #cbb3894d;border-radius:2px}.flight-meter i{position:absolute;bottom:0;left:0;width:100%;background:#dfc79d;min-height:0}.flight-meter b{font-size:9px;font-weight:400}
.curtain{position:absolute;inset:0;z-index:5;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:22px;padding:30px;background:#161c18ed;color:var(--ink);text-align:center;backdrop-filter:blur(8px)}.curtain p{line-height:1.9;font-weight:400;max-width:430px}.curtain a{font-size:12px;text-underline-offset:5px}.primary,.secondary{border:1px solid transparent;border-radius:5px;min-height:45px;display:inline-flex;align-items:center;justify-content:center;padding:12px 20px;text-decoration:none;font-size:12px;font-weight:600;white-space:nowrap;transition:background .15s,transform .15s}.primary{background:#eee4cf;color:#282e24;border-color:#eee4cf}.primary:hover{background:#fff3da}.primary:active{transform:translateY(1px)}.secondary{border-color:#d4c4a53d;background:transparent;color:var(--ink)}.secondary:hover{background:#e8d9bb0d}
.control-panel{position:absolute;z-index:3;bottom:0;left:0;right:0;padding:43px 24px 18px;color:var(--ink);background:linear-gradient(transparent,#171b19e8 28%,#171b19fa);border-radius:0 0 5px 5px}.ready-panel{display:flex;align-items:center;justify-content:space-between;gap:24px}.ready-panel b{font-size:17px;font-weight:500;letter-spacing:.04em}.ready-panel p{font-size:11px;color:#a8b09e;line-height:1.9;margin:8px 0 0}.ready-panel .primary{padding:16px 40px}.control-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}.small-label{display:block;font-size:9px;font-weight:400;letter-spacing:.12em;color:var(--gold);margin:0 0 8px}h2{font-size:17px;letter-spacing:.02em;margin:0;font-weight:500;line-height:1.5}.control-note{display:flex;justify-content:space-between;gap:12px;margin:10px 0 0;color:var(--muted);font-size:10px;line-height:1.8}
.egg-meter{max-width:620px;margin-top:19px}.meter-track{height:3px;background:#ddd2b52e;position:relative}.meter-track>span{width:0;display:block;background:#d4b87c;height:100%}.meter-track>i{position:absolute;left:40%;width:13%;top:-4px;height:11px;border:1px solid #cdb68077;border-radius:2px;pointer-events:none}.meter-labels{display:flex;justify-content:space-between;font-size:9px;color:var(--muted);margin-top:8px}.heat-choices{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:16px}.heat-choices button{border:1px solid #ddcdaa2f;background:#12171366;color:#bdc1b0;border-radius:5px;padding:12px;font-size:13px;font-weight:500;display:flex;gap:11px;align-items:center;justify-content:center;min-height:43px}.heat-choices button span{color:#a8946c;font-size:10px}.heat-choices button[aria-pressed=true]{background:#e6d8bc;border-color:#e6d8bc;color:#2d3427}.heat-choices button[aria-pressed=true] span{color:#7b694b}.clock,.soy-count{font-size:34px;font-weight:300;letter-spacing:-1.5px;font-variant-numeric:tabular-nums;white-space:nowrap;color:#e3dbc6}.clock span,.soy-count small{font-size:10px;font-weight:400;letter-spacing:0;margin-left:5px;color:var(--muted)}
.handle-pad{height:48px;background:#e6d9bc08;border:1px solid #e6d9bc30;border-radius:5px;margin-top:12px;display:flex;align-items:center;justify-content:center;gap:19px;position:relative;touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;cursor:grab}.handle-pad>span:nth-child(2){font-size:10px;letter-spacing:.05em;color:#d1cdbb}.handle-lines{font-size:21px;letter-spacing:4px;color:var(--gold);font-weight:300}.handle-pad i{position:absolute;right:13px;width:17px;height:22px;opacity:.2;background:repeating-linear-gradient(90deg,#e6d9bc 0 1px,transparent 1px 4px)}.handle-pad.active{background:#dcc49518;border-color:#dcc49588}
.plating-title{position:absolute;left:12px;right:12px;top:13%;z-index:2;text-align:center;pointer-events:none;color:#f3e6ca;text-shadow:0 2px 14px #171b19;animation:serve 4.1s ease both}.plating-title span{font-size:clamp(25px,5vw,43px);font-family:var(--serif);font-weight:400;letter-spacing:.1em;display:block}.plating-title b{font-size:10px;font-weight:400;letter-spacing:.12em;display:block;margin-top:12px;color:#c9c1a9}@keyframes serve{0%,10%{opacity:0;transform:translateY(7px)}30%,82%{opacity:1;transform:translateY(0)}100%{opacity:0}}.plating-note{text-align:center;color:var(--muted);padding:8px;font-size:11px;letter-spacing:.1em}
body[data-phase=result] .control-panel{position:static;background:none;padding:27px 20px 18px}body[data-phase=result] .stage{height:60svh;min-height:340px}body[data-phase=result] .stage-top span:last-child{font-size:9px}.result-panel{animation:result .8s ease both}@keyframes result{from{opacity:0;transform:translateY(9px)}to{opacity:1;transform:translateY(0)}}.result-heading{display:flex;align-items:center;gap:20px;justify-content:space-between}.result-heading h2{font-family:var(--serif);font-size:clamp(25px,4.8vw,39px);font-weight:500;letter-spacing:.04em;line-height:1.6}.result-seal{border:1px solid #c6ad7c5c;border-radius:3px;padding:6px 10px;color:#d6c096;font-size:10px;letter-spacing:.04em;white-space:nowrap}.result-comment{color:#b4baa9;font-size:12px;line-height:1.9;margin:9px 0 22px}.flavor-notes{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;max-width:740px}.flavor-note{border-top:1px solid var(--line);padding:14px 0}.flavor-note b{font-size:11px;display:block;font-weight:500;letter-spacing:.05em}.flavor-note span{display:block;color:var(--muted);font-size:10px;margin-top:7px}.flavor-note i{display:block;height:2px;margin-top:12px;background:#ddd2b51c}.flavor-note i em{display:block;height:100%;background:#c5b08a}.result-detail{font-size:10px;line-height:1.9;color:#838d7c;margin-top:3px}.result-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:23px}
.bottom-row{border-top:1px solid var(--line);padding-top:12px;margin:15px 4px 0;display:flex;align-items:flex-start;justify-content:space-between}.is-cooking .bottom-row{padding-top:8px;margin-top:8px}details{font-size:10px;color:var(--muted);max-width:700px}summary{cursor:pointer;padding:7px 0;min-height:35px;letter-spacing:.04em}.help-copy{font-size:12px;line-height:2.1;padding-bottom:12px}.help-copy a{text-decoration-color:#b7a47c;text-underline-offset:4px}footer{display:flex;justify-content:space-between;margin:25px 4px 20px;font-size:9px;letter-spacing:.06em;color:#7c8776}footer a{text-decoration:none}#photoPreview{margin-top:22px}#dishPhoto{width:100%;max-width:600px;display:block;border-radius:5px}#photoPreview>a{font-size:12px;display:inline-block;margin-top:15px;text-underline-offset:5px}#photoPreview p{font-size:11px;color:var(--muted);line-height:1.8}.no-script{position:fixed;inset:25% 10%;background:var(--paper);padding:30px;z-index:10}.masterpiece .result-heading h2{color:#ead7a8}.masterpiece .result-seal{border-color:#bba16a;color:#e4d1a2;background:#c7ad7210}.masterpiece .stage{box-shadow:0 0 0 1px #bba16a42}.expanded .masthead{height:42px}.expanded .title-row,.expanded .steps{display:none}.expanded .stage{height:calc(100svh - 42px)}
@media(max-width:600px){
  .kitchen-app{padding:0}.masthead{padding:0 11px;height:44px;gap:8px}.masthead>a{font-size:12px}.edition{display:none}.tools{gap:5px}.tools button{font-size:10px;padding:6px 8px;min-height:33px}.title-row{padding:15px 15px 17px;gap:10px}.title-row h1{font-size:25px;letter-spacing:.01em}.eyebrow{font-size:7px;margin-bottom:6px}.tagline{font-size:8px}.steps{padding:0 13px;height:28px;gap:11px}.steps li{font-size:9px;gap:5px;padding-top:4px}.steps li span{font-size:8px}.stage{height:calc(100svh - 161px);min-height:430px;border-radius:0}.is-cooking .stage{height:calc(100svh - 72px);min-height:390px}.stage-top{inset:14px 15px auto;font-size:9px}.control-panel{padding:34px 16px max(13px,env(safe-area-inset-bottom));border-radius:0}h2{font-size:14px;letter-spacing:.01em}.small-label{font-size:8px;margin-bottom:7px}.ready-panel{gap:13px}.ready-panel b{font-size:13px;letter-spacing:.02em}.ready-panel p{font-size:10px;line-height:1.8}.ready-panel .primary{padding:14px 22px}.primary,.secondary{font-size:11px;min-height:43px;padding:11px 14px}.control-heading{gap:11px}.control-note{font-size:9px;gap:8px;flex-wrap:wrap}.egg-meter{margin-top:16px}.heat-choices{gap:6px;margin-top:14px}.heat-choices button{padding:10px 5px;font-size:12px;gap:7px}.clock,.soy-count{font-size:29px}.handle-pad{height:46px;margin-top:11px;gap:15px}.handle-pad>span:nth-child(2){font-size:10px}.handle-lines{font-size:20px}.feedback{bottom:179px;font-size:13px}.gesture-guide{bottom:161px;font-size:9px}.flight-meter{left:13px;top:22%;font-size:8px}.flight-meter>div{height:69px}.bottom-row,footer{margin-left:16px;margin-right:16px}body[data-phase=result] .control-panel{padding:23px 17px 17px}body[data-phase=result] .stage{min-height:310px;height:58svh}.result-heading{gap:12px;align-items:flex-start}.result-heading h2{font-size:25px;letter-spacing:.02em}.result-seal{font-size:9px;padding:6px 8px;margin-top:7px}.result-comment{font-size:11px;margin-bottom:20px}.flavor-notes{gap:13px}.flavor-note{padding-top:12px}.flavor-note b{font-size:10px}.flavor-note span{font-size:9px}.result-actions{gap:8px;margin-top:20px}.expanded .stage{height:calc(100svh - 42px)}
}
@media(max-width:355px){.tools button{padding:6px}.title-row h1{font-size:22px}.tagline{font-size:7px}.ready-panel b{font-size:12px}.ready-panel .primary{padding:13px 17px}.result-heading h2{font-size:22px}}
@media(max-height:550px) and (orientation:landscape){
  .masthead{height:38px}.title-row{display:none}.steps{height:22px}.stage,.is-cooking .stage{height:calc(100svh - 60px);min-height:240px}.control-panel{padding:22px 18px 9px}.control-panel h2{font-size:13px}.control-panel .small-label{display:none}.handle-pad{height:32px;margin-top:7px}.control-heading{gap:8px}.control-note{font-size:9px;margin-top:5px}.clock,.soy-count{font-size:22px}.feedback{bottom:113px;font-size:12px}.gesture-guide{bottom:110px}.flight-meter{top:26%;left:14px}.flight-meter>div{height:50px}.heat-choices{max-width:550px;margin-top:8px}.heat-choices button{padding:7px;min-height:34px}.ready-panel p{font-size:10px}.plating-title{top:12%}.control-panel .egg-meter{margin-top:8px;max-width:450px}.meter-labels{margin-top:5px}body[data-phase=rice] .control-panel,body[data-phase=soy] .control-panel{left:auto;top:0;width:225px;display:flex;align-items:center;padding:25px 16px 12px 25px;background:linear-gradient(90deg,transparent,#171b19e6 12%,#171b19fa)}body[data-phase=rice] .control-heading,body[data-phase=soy] .control-heading{align-items:flex-start;flex-direction:column;gap:12px}body[data-phase=rice] .handle-pad,body[data-phase=soy] .handle-pad{width:100%;height:55px;margin-top:14px}.handle-pad .handle-lines{font-size:15px;letter-spacing:0}.handle-pad>span:nth-child(2){font-size:9px}.handle-pad i{display:none}body[data-phase=rice] .feedback,body[data-phase=soy] .feedback{left:0;right:210px;bottom:18px}.gesture-guide{right:210px;bottom:20px}.control-panel .control-note{margin-top:10px}body[data-phase=result] .stage{height:80svh;min-height:270px}
}

.frying-tip{font-size:11px;line-height:1.9;color:#d4c5a5;margin:9px 0 13px}.frying-assessment{max-width:740px;border:1px solid var(--line);border-radius:5px;padding:0 14px;margin:15px 0 20px}.frying-assessment>summary{padding:12px 0;color:#c4c9b8;font-size:11px}.frying-breakdown{display:grid;grid-template-columns:repeat(3,1fr);gap:17px 24px;padding:6px 0 10px}.frying-skill{display:grid;grid-template-columns:1fr auto;gap:8px;font-size:10px}.frying-skill b{font-weight:500;color:#c4c9b8}.frying-skill span{font-size:9px;color:#9ea68f;font-variant-numeric:tabular-nums}.frying-skill i{height:2px;background:#ddd2b51c;grid-column:1/-1}.frying-skill em{display:block;height:100%;background:#c5b08a}.frying-explainer{font-size:10px;line-height:1.9;color:var(--muted);margin:8px 0 15px}.flight-meter>div:after{top:auto;bottom:32.35%;height:35.29%}
@media(max-width:600px){.frying-breakdown{grid-template-columns:repeat(2,1fr);gap:18px 19px}.frying-tip{font-size:10px}.frying-assessment{padding:0 12px}.frying-skill{font-size:10px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
.goal-kicker{display:block;color:var(--gold);font-size:10px;letter-spacing:.14em;margin-bottom:10px}.ready-panel #goalName{font-family:var(--serif);font-size:clamp(16px,2.2vw,25px);line-height:1.6;letter-spacing:.04em}.steps{gap:10px}.steps li{gap:5px}.prep-pad>span{font-size:11px;color:#d1cdbb;letter-spacing:.03em}.flavor-note span{font-size:11px;line-height:1.9;max-width:31em}.flavor-note b{font-size:10px;color:#d1c1a1}.flavor-notes{max-width:100%;gap:20px}.frying-assessment{max-width:100%;padding:0 18px}.frying-assessment>summary{font-size:12px;padding:15px 0}.frying-assessment>summary span{color:#8f9987;font-size:10px;margin-left:10px}.recipe-notes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px 28px;padding:6px 0 22px}.recipe-note-group h3{font-family:var(--serif);font-size:16px;font-weight:500;color:#d6c39e;margin:0 0 14px}.recipe-note-group:nth-child(3){grid-column:span 2}.recipe-note-group:nth-child(3){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:24px}.recipe-note-group:nth-child(3) h3{grid-column:1/-1}.recipe-note{margin:0 0 13px}.recipe-note b{font-size:10px;font-weight:500;color:#c4c9b8}.recipe-note p{font-size:11px;line-height:1.85;color:#9fa994;margin:5px 0 0;max-width:34em}.masterpiece .stage{box-shadow:0 0 0 1px #bba16a60,0 8px 50px #bca05a12}
@media(max-width:600px){.steps{gap:6px;padding:0 12px}.steps li{font-size:8px;gap:3px}.steps li span{font-size:7px}.ready-panel{align-items:flex-end}.ready-panel #goalName{font-size:16px;letter-spacing:.01em}.ready-panel .primary{padding:13px 16px}.goal-kicker{font-size:9px;margin-bottom:7px}.flavor-notes{grid-template-columns:1fr;gap:0}.flavor-note{padding:10px 0}.flavor-note span{font-size:11px;margin-top:5px}.frying-assessment{padding:0 12px}.recipe-notes{grid-template-columns:1fr;gap:10px}.recipe-note-group{padding-top:8px;border-top:1px solid var(--line)}.recipe-note-group h3{font-size:15px;margin:0 0 12px}.recipe-note-group:nth-child(3){grid-column:auto;display:block}.recipe-note{display:grid;grid-template-columns:98px minmax(0,1fr);gap:9px;margin-bottom:12px}.recipe-note b{font-size:10px;padding-top:2px}.recipe-note p{font-size:11px;margin:0;line-height:1.85}.prep-pad>span{font-size:10px}}
.stage{transition:height .34s ease,min-height .34s ease}.title-row{max-height:125px;overflow:hidden;transition:max-height .3s ease,padding .3s ease,opacity .22s ease}.is-cooking .title-row{display:flex;max-height:0;padding-top:0;padding-bottom:0;opacity:0;pointer-events:none}.is-cooking .control-panel{min-height:178px}.control-panel>[data-panel]:not([hidden]){animation:control-arrive .24s ease-out both}@keyframes control-arrive{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}.scene-veil{position:absolute;inset:0;z-index:2;pointer-events:none;opacity:0;background:radial-gradient(ellipse at 50% 65%,#242a23,#171b19 65%);will-change:opacity}.stage-top,.plating-title{z-index:3}.result-rating{min-width:110px;text-align:center;flex-shrink:0;border:1px solid #c7ba9a36;background:#d4c5a108;border-radius:5px;padding:12px 15px;display:flex;flex-direction:column;gap:6px;color:#d8cbb0}.rating-caption{font-size:9px;letter-spacing:.1em;color:#a1a991}.result-rating strong{font-family:var(--serif);font-size:40px;line-height:1.2;letter-spacing:.02em;font-weight:500}.result-rating .result-seal{font-size:10px;margin:0;padding:0;border:0;background:none;white-space:normal;line-height:1.6}.masterpiece .result-rating{border-color:#d7b75b88;background:linear-gradient(145deg,#a17c2b24,#e1cc8105);box-shadow:0 0 24px #d8b75613;color:#f4dc93}.masterpiece .result-rating strong{font-size:45px;text-shadow:0 0 20px #ebcb6d40}.masterpiece .result-rating .result-seal{color:#e2cd94}body[data-rating=C] .result-rating{color:#b8bfad}
@media(max-width:600px){.is-cooking .control-panel{min-height:168px}.result-rating{min-width:86px;padding:11px 9px;gap:5px}.result-rating strong{font-size:33px}.masterpiece .result-rating strong{font-size:37px}.rating-caption{font-size:8px}.result-rating .result-seal{font-size:9px}.result-heading h2{font-size:23px}}
@media(max-height:550px) and (orientation:landscape){.title-row,.is-cooking .title-row{display:none}.is-cooking .control-panel{min-height:0}}
@media(prefers-reduced-motion:reduce){.stage,.title-row{transition:none}.control-panel>[data-panel]:not([hidden]){animation:none}}

/* Free kitchen: a continuous stove, a fixed tool bench, and a separate recipe. */
.steps,.gesture-guide,.flight-meter{display:none}
.control-panel{position:static;padding:0;background:none;min-height:0!important}
.stage,.is-cooking .stage{height:calc(100svh - 256px);min-height:360px;transition:height .34s ease}
body[data-phase=ready] .stage{height:calc(100svh - 145px);min-height:440px}
.ready-panel{position:absolute;z-index:3;left:0;bottom:0;right:0;padding:70px 25px 27px;background:linear-gradient(transparent,#171b19f5 60%);align-items:flex-end}
.ready-panel #goalName{display:block;max-width:22em;font-size:clamp(18px,2.3vw,25px)}
.ready-panel .primary{padding:15px 32px}
.workbench{border:1px solid #d8c4a12b;border-top:0;border-radius:0 0 6px 6px;background:linear-gradient(110deg,#252b24,#1b211b 65%);padding:10px 19px 13px;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}
.bench-label{display:flex;justify-content:space-between;color:#818d7b;letter-spacing:.1em;font-size:9px;padding:0 4px}
.bench-label #pickedTool{color:#c7b996;letter-spacing:.03em}
.tool-rack{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px;margin:4px auto 7px;max-width:740px;border-bottom:1px solid #b8b29519;padding-bottom:8px}
.rack-item{height:90px;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;position:relative;background:transparent;border:1px solid transparent;border-radius:5px;color:#cacdbb;touch-action:none;cursor:grab;padding:0 2px 5px;transition:background .15s,opacity .2s}
.rack-item svg{height:63px;width:49px;filter:drop-shadow(1px 4px 3px #0007);transition:transform .15s;pointer-events:none}
.rack-item span{font-size:11px;line-height:1.8;letter-spacing:.04em;pointer-events:none;white-space:nowrap}
.rack-item:hover,.rack-item:focus-visible{background:#e6d9bc0c;border-color:#d4c4a54d;outline:none}
.rack-item.active{cursor:grabbing;background:#c8ac7222;border-color:#d4c4a566}
.rack-item[aria-pressed=true]:after{content:'';position:absolute;width:14px;height:1px;background:#cbb389;bottom:0}
.rack-item.used{opacity:.25;cursor:default;filter:grayscale(.6)}
.rack-item.used:after{content:'空';position:absolute;top:25px;left:0;right:0;font-size:12px;color:#e5d6b9}
.stove-controls{display:flex;justify-content:space-between;align-items:center;gap:20px;max-width:740px;margin:auto}
.stove-controls .heat-choices{display:flex;align-items:center;gap:5px;margin:0}
.heat-caption{font-size:10px;letter-spacing:.08em;color:#9ca78f;margin-right:7px}
.stove-controls .heat-choices button{min-width:43px;min-height:35px;border:1px solid #cbbb922e;border-radius:50%;background:radial-gradient(circle at 35% 25%,#373e32,#1c231c);box-shadow:inset 0 0 0 3px #192019,0 2px 4px #0005;color:#abb59f;padding:6px;font-size:11px}
.stove-controls .heat-choices button[aria-pressed=true]{border-color:#cbb389;color:#f0dec0;background:radial-gradient(circle at 35% 25%,#776d4c,#373d2c)}
.stove-controls .primary{min-height:37px;padding:9px 26px;font-size:12px}
.feedback{bottom:30px;font-size:15px}.stage-top{inset:17px 21px auto}
body[data-phase=plating] .stage{height:calc(100svh - 70px)}
body[data-phase=result] .stage{height:65svh;min-height:360px}
body[data-phase=result] .control-panel{position:static;padding:27px 20px 18px;background:none;width:auto;display:block}
.expanded .stage,.expanded.is-cooking .stage{height:calc(100svh - 230px)}
.expanded[data-phase=ready] .stage,.expanded[data-phase=plating] .stage{height:calc(100svh - 44px)}
.drag-ghost{position:fixed;pointer-events:none;z-index:30;transform:translate(-50%,-135%);padding:9px 15px;border:1px solid #cbb38977;border-radius:5px;background:#20291ef0;color:#f2e0ba;font-size:12px;box-shadow:0 5px 22px #0005;white-space:nowrap}
.recipe-page{position:fixed;inset:0;z-index:20;overflow:auto;overscroll-behavior:contain;background:#141b17f7;padding:30px 20px 70px;backdrop-filter:blur(10px)}
.reading-recipe{overflow:hidden}.recipe-sheet{max-width:720px;margin:auto;color:#c3c9b8}.recipe-sheet>header{display:flex;justify-content:space-between;align-items:center;gap:20px;border-bottom:1px solid #a49a7b45;padding:5px 0 20px}.recipe-sheet h2{font-size:30px;font-family:var(--serif);color:#eadfc7}.recipe-sheet .eyebrow{font-size:8px;display:block}.recipe-goal{margin:25px 0 30px;font-family:var(--serif);font-size:20px;line-height:1.8;color:#d8c398}.recipe-goal strong{font-weight:500}.recipe-sheet section{margin:28px 0}.recipe-sheet h3{font-size:17px;font-family:var(--serif);font-weight:500;color:#e1d4b7;margin-bottom:17px}.recipe-sheet p,.recipe-sheet li,.recipe-sheet dd{font-size:13px;line-height:2;letter-spacing:.02em;color:#aeb8a2}.recipe-sheet ol{padding-left:21px}.recipe-sheet li{padding-left:5px;margin-bottom:16px}.recipe-sheet li b{display:block;color:#d2d7c5;font-weight:500}.recipe-sheet dl{display:grid;grid-template-columns:110px 1fr;gap:13px 20px}.recipe-sheet dt{font-size:12px;padding-top:4px;color:#d1c4a5}.recipe-sheet dd{margin:0}.recipe-sheet .secondary{min-height:42px}
@media(max-width:600px){
 .masthead{height:44px;padding:0 9px}.tools{gap:3px}.tools button{font-size:10px;padding:6px 7px}.masthead>a{font-size:11px}.title-row{padding:12px 14px}.title-row h1{font-size:24px}.tagline{display:none}
 .stage,.is-cooking .stage{height:calc(100svh - 227px);min-height:330px}.stage-top{inset:14px 15px auto}
 body[data-phase=ready] .stage{height:calc(100svh - 121px);min-height:430px}
 .ready-panel{padding:55px 17px 23px;gap:14px}.ready-panel #goalName{font-size:17px;max-width:13em;line-height:1.7}.ready-panel .primary{padding:13px 18px}.goal-kicker{font-size:9px}
 .workbench{padding:8px 10px max(10px,env(safe-area-inset-bottom));border-radius:0;border-left:0;border-right:0}.bench-label{font-size:8px}.tool-rack{gap:3px;padding-bottom:7px;margin:2px auto 7px}.rack-item{height:85px}.rack-item svg{height:58px;width:45px}.rack-item span{font-size:10px}.stove-controls{gap:10px}.stove-controls .heat-choices{gap:4px}.stove-controls .heat-choices button{min-width:33px;min-height:33px;font-size:10px}.heat-caption{font-size:9px;margin-right:2px}.stove-controls .primary{padding:9px 17px;font-size:11px;min-height:36px}
 .feedback{bottom:22px;font-size:13px}body[data-phase=plating] .stage{height:calc(100svh - 44px)}body[data-phase=result] .stage{height:59svh;min-height:340px}body[data-phase=result] .control-panel{padding:23px 17px 17px}.expanded .stage,.expanded.is-cooking .stage{height:calc(100svh - 227px)}
 .recipe-page{padding:20px 20px 60px}.recipe-sheet>header{gap:10px}.recipe-sheet h2{font-size:26px}.recipe-sheet .secondary{font-size:11px;padding:10px 14px}.recipe-goal{font-size:18px}.recipe-sheet dl{grid-template-columns:1fr;gap:4px}.recipe-sheet dd{margin-bottom:10px}.recipe-sheet h3{font-size:17px}.recipe-sheet p,.recipe-sheet li,.recipe-sheet dd{font-size:12px}
}
@media(max-width:355px){.tools button{padding:6px 5px}.masthead>a{font-size:10px}.rack-item span{font-size:9px}.stove-controls .primary{padding:9px 12px}.stove-controls{gap:6px}}
@media(max-height:550px) and (orientation:landscape){
 .stage,.is-cooking .stage{height:calc(100svh - 44px);min-height:240px;margin-right:184px}.workbench{position:absolute;right:0;top:0;bottom:0;width:184px;padding:10px;border:0}.tool-rack{grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;border:0}.rack-item{height:78px}.rack-item svg{height:51px}.stove-controls{flex-direction:column;gap:10px}.heat-caption{display:none}.stove-controls .heat-choices{gap:3px}.stove-controls .heat-choices button{min-width:33px;min-height:33px}.stove-controls .primary{width:100%;min-height:35px}body[data-phase=ready] .stage,body[data-phase=result] .stage,body[data-phase=plating] .stage{margin-right:0}body[data-phase=result] .stage{height:80svh}.recipe-sheet dl{grid-template-columns:110px 1fr}.expanded .stage,.expanded.is-cooking .stage{height:calc(100svh - 44px)}
}
@media(prefers-reduced-motion:reduce){.stage,.rack-item,.rack-item svg{transition:none}}

.drag-ghost{display:flex;flex-direction:column;align-items:center;gap:3px;background:#20291ed9;padding:7px 12px;transform:translate(-50%,-110%)}.drag-ghost svg{width:45px;height:60px;filter:drop-shadow(1px 3px 3px #0006)}.drag-ghost span{font-size:10px}.rack-item.active svg{opacity:.25;transform:translateY(-3px)}

/* Live measurements describe the current food, without choosing the next step. */
.process-status{position:absolute;right:19px;top:48px;z-index:3;width:188px;background:#182018cc;border:1px solid #c6b78b38;border-radius:5px;padding:10px 11px;display:flex;gap:12px;align-items:center;pointer-events:none;backdrop-filter:blur(5px)}.oil-readout{flex:1}.process-status div>span{font-size:9px;color:#a9b398}.process-status b{font-size:10px;font-weight:400;color:#d6c69c}.oil-readout>div:not(.readout-track),.egg-status>div:not(.readout-track){display:flex;justify-content:space-between;gap:12px}.readout-track{height:4px;margin:7px 0 10px;background:#8f977a29;position:relative;isolation:isolate}.readout-track:last-child{margin-bottom:2px}.readout-track i{display:block;height:100%;background:#d7b875;max-width:100%;transition:width .08s linear}.readout-track i[data-over=true]{background:#d88d61}.readout-track em{position:absolute;top:-3px;height:10px;background:#d1db9d20;border:1px solid #d1db9d77;z-index:1;pointer-events:none}.readout-track .oil-ideal{left:39%;width:15%}.oil-map{width:45px;height:45px;border:1px solid #e0d1a83d;border-radius:50%;position:relative;flex-shrink:0;background:#111911}.oil-map i{position:absolute;width:7px;height:7px;transform:translate(-50%,-50%);border-radius:50%;background:#dfc16b;box-shadow:0 0 4px #c8a34b44}.egg-status{display:block;width:170px}.egg-status>div+div{margin-top:7px}.egg-status .readout-track{margin-top:10px}.discovery-state{font-size:11px;color:#d2ba7c;line-height:1.8;margin:12px 0 3px}
.book-sheet{max-width:960px;margin:auto}.book-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:5px 0 18px;border-bottom:1px solid #d4c4a53d}.book-header h2{font-family:var(--serif);font-weight:500;font-size:30px;color:#e6d8bd;margin:6px 0}.book-header p{font-size:12px;color:#d3be94;margin:9px 0 0;font-variant-numeric:tabular-nums}.book-storage-note{font-size:11px;line-height:1.9;color:#95a087;margin:18px 0 22px}.book-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px 16px}.book-card{text-align:left;color:#d8d5c1;border:1px solid #c9b98f36;border-radius:5px;background:#20281e;overflow:hidden;padding:0 0 13px;transition:border-color .18s,transform .18s;cursor:pointer}.book-card:hover,.book-card:focus-visible,.book-card[aria-pressed=true]{border-color:#d3be79;outline:none;transform:translateY(-2px)}.book-card-photo{aspect-ratio:1.6;background:#151d15;display:flex;align-items:center;justify-content:center}.book-card img{width:100%;height:100%;object-fit:cover;display:block}.book-card>small{display:block;margin:13px 12px 6px;color:#b59c67;font-size:9px;letter-spacing:.07em}.book-card>b{display:block;margin:0 12px;font-size:12px;font-weight:400;line-height:1.75}.book-card.locked{opacity:.56;cursor:default}.book-card.locked:hover{transform:none;border-color:#c9b98f36}.book-card.locked>small{color:#7f8b75}.book-card.locked>b{color:#89957f}.plate-silhouette{display:flex;align-items:center;justify-content:center;width:67%;height:52%;border:2px solid #63705248;border-radius:50%;background:radial-gradient(ellipse,#45503c5c 0 48%,#273221 50% 64%,transparent 65%);font-family:var(--serif);font-size:25px;color:#99a18780}.book-card:not(.locked) .plate-silhouette{font-family:var(--sans);font-size:10px;color:#c4c2a8}.book-detail{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:28px;align-items:center;padding:0 0 24px;margin-bottom:25px;border-bottom:1px solid #c9b98f36}.book-detail-photo{aspect-ratio:1.6;background:#20271d;border-radius:5px;overflow:hidden}.book-detail-photo img{width:100%;height:100%;object-fit:cover}.book-rating{font-size:11px;letter-spacing:.05em;color:#d5bd7d}.book-detail h3{font-family:var(--serif);font-size:25px;font-weight:500;line-height:1.6;color:#e2d8bd;margin:11px 0}.book-detail p{font-size:12px;line-height:1.9;color:#adb89e}.book-detail small{font-size:10px;color:#839276}
@media(max-width:600px){.is-cooking .masthead>a{display:none}.is-cooking .masthead{justify-content:center}.process-status{top:43px;right:12px;width:174px;padding:9px 10px}.egg-status{width:161px}.process-status div>span{font-size:8px}.process-status b{font-size:9px}.oil-map{width:40px;height:40px}.oil-map i{width:6px;height:6px}.book-page{padding:20px 15px 50px}.book-header h2{font-size:26px}.book-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px 11px}.book-card>b{font-size:11px;margin:0 10px}.book-card>small{font-size:8px;margin:11px 10px 5px}.book-detail{grid-template-columns:1fr;gap:15px}.book-detail h3{font-size:22px;margin:8px 0}.book-detail p{font-size:11px}.book-storage-note{font-size:10px}.book-header p{font-size:11px}.discovery-state{font-size:10px}}
@media(max-height:550px) and (orientation:landscape){.process-status{top:40px;right:12px;width:163px}.egg-status{width:151px}.book-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.book-detail{grid-template-columns:1fr 1fr}}
@media(prefers-reduced-motion:reduce){.readout-track i,.book-card{transition:none}.book-card:hover,.book-card:focus-visible{transform:none}}

.book-header{position:sticky;top:-30px;z-index:2;background:#141c16f5;backdrop-filter:blur(8px)}.book-card:not(.locked) .plate-silhouette{font-family:inherit}@media(max-width:600px){.book-header{top:-20px}}

/* A visible recipe entrance and compact, consistent food measurements. */
.recipe-entry{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid #e4ce93;border-radius:5px;background:#dfc48a;color:#22291d;font-size:13px;font-weight:700;min-height:46px;padding:12px 22px;box-shadow:0 2px 14px #cba35320}
.recipe-entry svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linejoin:round;flex-shrink:0;pointer-events:none}
.recipe-entry:hover{background:#f0d9a2}.recipe-entry:active{background:#ceb478}
.tools #recipeOpen{display:inline-flex;gap:6px;font-size:12px;font-weight:700;background:#dfc48a;color:#22291d;border-color:#e4ce93;min-height:39px;padding:8px 13px;box-shadow:0 2px 12px #cba35320}
.tools #recipeOpen svg{width:15px;height:15px}.tools #recipeOpen:hover{background:#f0d9a2}
.ready-actions{display:flex;gap:10px;flex-shrink:0}.ready-actions .recipe-entry,.ready-actions .primary{min-height:48px;padding:14px 27px;font-size:13px}
.recipe-sheet>.recipe-steps{margin-top:24px}.recipe-steps h3{margin-top:0}.recipe-steps ol{list-style:none;padding:0;counter-reset:recipe}
.recipe-steps li{counter-increment:recipe;position:relative;padding:0 0 13px 39px;margin:0 0 13px;border-bottom:1px solid #d4c4a51c;font-size:14px;line-height:25px;color:#e0d9c4}
.recipe-steps li:before{content:counter(recipe);position:absolute;left:0;top:0;display:flex;align-items:center;justify-content:center;width:25px;height:25px;border:1px solid #c5b07e66;border-radius:50%;color:#dfca9b;font-size:12px;font-variant-numeric:tabular-nums}
.recipe-steps li b{color:#e0d9c4;font-size:14px;margin-bottom:3px}.recipe-sheet .recipe-gauge-note{color:#c6cba9;font-size:12px;line-height:1.85;border-left:2px solid #c9d7a2;padding-left:13px;margin-top:21px}
.recipe-sheet>header{position:sticky;top:-30px;background:#141b17f7;z-index:2;backdrop-filter:blur(8px)}
.recipe-details{border-top:1px solid #d4c4a52b;padding-top:17px}.recipe-details>summary{font-size:13px;color:#d8c398;cursor:pointer;min-height:36px;line-height:24px}.recipe-details ul{padding-left:20px}.recipe-details li{margin-bottom:7px}.recipe-sheet .recipe-gauge-note{padding:0;border:0;margin:17px 0 0}
.process-status{display:block;top:49px;right:19px;width:205px;padding:11px 12px 12px;background:linear-gradient(140deg,#172018e8,#162018c9);border-color:#c6b78b42;border-radius:7px;box-shadow:0 4px 20px #0710081c;font-variant-numeric:tabular-nums}
.status-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:16px}.status-heading h3{font-size:11px;font-weight:500;color:#e5dbc2;letter-spacing:.03em;margin:0;white-space:nowrap}.status-heading small{font-size:9px;color:#bec5ad;white-space:nowrap}
.process-status .meter-legend{display:flex;gap:12px;font-size:9px;line-height:1.4;color:#acb798;margin:8px 0 14px}
.meter-legend span{display:inline-flex;align-items:center;gap:5px;white-space:nowrap}.meter-legend span:first-child:before{content:'';width:2px;height:9px;background:#fff4db;box-shadow:0 0 3px #fff3}.meter-legend span:last-child:before{content:'';width:13px;height:8px;background:#c2d99c30;border:1px solid #c2d99ca6;border-radius:1px}
.metric-caption{display:flex;align-items:baseline;justify-content:space-between;gap:7px}.process-status .metric-caption>span{font-size:11px;color:#bac4ad;white-space:nowrap}.process-status .metric-caption>b{font-size:11px;font-weight:500;color:#ead9b1;white-space:nowrap}
.live-metric+.live-metric{margin-top:13px}.process-status .readout-track{height:5px;margin:9px 0 6px;background:#b9c3a325;border-radius:2px}
.process-status .readout-track i{height:100%;position:relative;z-index:0;background:#c4ae7c87;transition:none;border-radius:2px}
.process-status .readout-track i[data-over=true]{background:#d48b5d}
.process-status .readout-track em{top:-3px;height:11px;z-index:1;border:1px solid #c5dca1af;background:#c5dca12b;border-radius:2px}
.process-status .meter-needle{position:absolute;top:-4px;width:2px;height:13px;z-index:2;background:#fff4db;transform:translateX(-1px);box-shadow:0 0 4px #000c}
.process-status .meter-ends{display:flex;justify-content:space-between;gap:6px;line-height:1.3;margin:0;color:#909e84}
.process-status .meter-ends>span{font-size:9px;color:#909e84;white-space:nowrap}.process-status .status-foot{margin:10px 0 0;font-size:9px;color:#a1af91;line-height:1.5}.process-status .status-foot b{font-size:10px;color:#c7c9a9;margin-left:4px;font-weight:400}.process-status .status-foot+.status-foot{margin-top:4px}
.process-status [data-warning=true]{color:#e6a36f}.process-status .status-foot b[data-good=true]{color:#d0dfaa}
#oilStatus .status-heading{padding-right:38px}#oilStatus .oil-map{position:absolute;right:11px;top:9px;width:31px;height:31px;background:#111a13}
#oilStatus .oil-map i{width:4px;height:4px;box-shadow:0 0 3px #c8a34b44}
.lift-status{position:absolute;top:53px;left:17px;z-index:3;width:76px;padding:9px 5px 10px;border-radius:6px;background:linear-gradient(#172018c9,#17201899);color:#c7c6a5;text-align:center;pointer-events:none;font-variant-numeric:tabular-nums}
.lift-status h3{font-size:10px;font-weight:500;line-height:1.5;letter-spacing:0;margin:0;color:#e5dbc2;white-space:nowrap}.lift-status>p{font-size:8px;margin:5px -2px 9px;color:#9fab90;white-space:nowrap}.lift-scale>span{font-size:8px;color:#98a587;line-height:1;display:block}
.lift-track{position:relative;width:7px;height:102px;background:#b9c3a325;border-radius:3px;margin:6px auto;isolation:isolate}
.lift-track em{position:absolute;left:-5px;width:17px;border:1px solid #c5dca1af;background:#c5dca12b;border-radius:2px;z-index:1}
.lift-track i{position:absolute;bottom:0;left:0;width:100%;background:#c4ae7c87;border-radius:3px;z-index:0}
.lift-track .lift-needle{position:absolute;left:-7px;width:21px;height:2px;background:#fff4db;box-shadow:0 0 4px #000c;z-index:2;transform:translateY(1px)}
.lift-status>b{display:block;font-size:11px;line-height:1.6;font-weight:500;margin-top:7px;color:#e6d5ab}.lift-status>small{font-size:8px;line-height:1.4;color:#a5b691;display:block;margin-top:2px}.lift-status[data-warning=true]>b{color:#e6a36f}.lift-status[data-warning=true] .lift-track i{background:#d48b5d}
@media(max-width:600px){
 .tools #recipeOpen{font-size:12px;padding:8px 9px;min-height:39px;gap:5px}.tools #recipeOpen svg{width:14px;height:14px}
 .ready-panel{flex-direction:column;align-items:stretch;gap:17px;padding-top:50px}.ready-panel #goalName{font-size:19px;max-width:none}.ready-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.ready-actions .recipe-entry,.ready-actions .primary{min-height:46px;padding:12px 15px;font-size:13px}
 .recipe-sheet>header{top:-20px}.recipe-sheet>.recipe-steps{margin-top:23px}.recipe-steps li{padding-left:35px;padding-bottom:12px;margin-bottom:12px;font-size:13px;line-height:24px}.recipe-steps li:before{width:24px;height:24px;font-size:11px}.recipe-steps li b{font-size:13px}.recipe-sheet .recipe-gauge-note{font-size:11px}
 .process-status{top:43px;right:12px;width:186px;padding:10px 11px 11px;border-radius:6px}.status-heading h3{font-size:10px}.status-heading small{font-size:8px}.process-status .meter-legend{font-size:8px;gap:9px;margin:7px 0 12px}.process-status .metric-caption>span,.process-status .metric-caption>b{font-size:10px}.process-status .meter-ends>span{font-size:8px}.process-status .status-foot{font-size:8px}.process-status .status-foot b{font-size:9px}.live-metric+.live-metric{margin-top:11px}
 .lift-status{top:47px;left:10px;width:69px;padding:8px 4px}.lift-status h3{font-size:9px}.lift-status>p{font-size:7px}.lift-track{height:90px}.lift-status>b{font-size:10px}.lift-status>small{font-size:7px}
}
@media(max-width:380px){.tools button{font-size:9px;padding:6px 5px}.tools #recipeOpen{font-size:11px;padding:8px;gap:5px}.tools #recipeOpen svg{width:12px;height:12px}.process-status{right:10px;width:174px;padding:9px 10px}.process-status .metric-caption>span,.process-status .metric-caption>b{font-size:9px}.status-heading small{font-size:8px}.lift-status{left:8px;width:65px}.lift-status h3{font-size:8.5px}}
@media(max-height:550px) and (orientation:landscape){
 .tools #recipeOpen{min-height:32px;padding:6px 12px}.ready-panel{flex-direction:row;align-items:flex-end;gap:14px;padding-top:35px}.ready-panel #goalName{font-size:17px}.ready-actions .recipe-entry,.ready-actions .primary{padding:10px 18px;min-height:40px;font-size:12px}
 .process-status{top:37px;right:12px;width:181px;padding:8px 10px}.process-status .meter-legend{margin:5px 0 9px;font-size:8px}.status-heading h3{font-size:10px}.status-heading small{font-size:8px}.process-status .metric-caption>span,.process-status .metric-caption>b{font-size:9px}.process-status .readout-track{margin:7px 0 5px;height:4px}.process-status .meter-ends>span{font-size:8px}.live-metric+.live-metric{margin-top:8px}.process-status .status-foot{font-size:8px;margin-top:6px}.lift-status{top:40px;width:67px}.lift-track{height:66px}.lift-status>p{font-size:7px;margin-bottom:6px}.lift-status>small{font-size:7px}.lift-status h3{font-size:9px}.recipe-sheet>header{top:-20px}
}

/* Measurements have their own surface, outside the canvas and its hit area. */
.is-cooking .play-area{display:grid;grid-template-rows:minmax(300px,1fr) auto auto;height:calc(100svh - 64px);min-height:540px}
.is-cooking .play-area .stage{height:auto;min-height:0;margin-right:0;min-width:0;transition:none}
.egg-stir-hud{position:absolute;top:43px;left:50%;transform:translateX(-50%);z-index:3;width:min(430px,calc(100% - 28px));display:grid;grid-template-columns:1fr 1fr;gap:18px;padding:9px 12px 8px;border:1px solid #c7bc9b38;border-radius:6px;background:linear-gradient(135deg,#18211be8,#18211bd1);box-shadow:0 4px 18px #0002;pointer-events:none;font-variant-numeric:tabular-nums;color:#cfccbb}
.egg-stir-hud .metric-caption{gap:8px;font-size:11px;line-height:16px}.egg-stir-hud .metric-caption>span{font-size:10px;color:#b9c2aa;white-space:nowrap}.egg-stir-hud .metric-caption>b{font-size:12px;color:#e6bb89;white-space:nowrap;font-weight:500}.egg-stir-hud[data-good=true] #eggPace{color:#d5f0af;text-shadow:0 0 9px #bde99c44}.egg-stir-hud[data-good=true]{border-color:#c0dba460}
.egg-stir-hud .readout-track{height:5px;margin:8px 0 7px;border-radius:2px;background:#bdc5a52a}.egg-stir-hud .readout-track i{background:#c6ae7c85;border-radius:2px;transition:none}.egg-stir-hud .readout-track em{top:-3px;height:11px;border:1px solid #c5dca1af;background:#c5dca12b;border-radius:2px}.egg-stir-hud .meter-needle{position:absolute;top:-4px;width:2px;height:13px;background:#fff4db;transform:translateX(-1px);z-index:2;box-shadow:0 0 4px #000c}.egg-stir-hud small{display:block;font-size:9px;color:#9eae91;line-height:13px;white-space:nowrap}
@media(max-width:380px){.egg-stir-hud{gap:13px;padding:8px 10px}.egg-stir-hud .metric-caption>span{font-size:9px}.egg-stir-hud .metric-caption>b{font-size:11px}.egg-stir-hud small{font-size:8px}}
@media(max-height:720px){.egg-stir-hud{top:35px;padding-top:7px;padding-bottom:7px}.egg-stir-hud small{display:none}.egg-stir-hud .readout-track{margin:7px 0 2px}}
@media(max-height:550px) and (orientation:landscape){.egg-stir-hud{top:33px;padding-top:6px;padding-bottom:6px;gap:16px;max-width:390px}}
@media(min-width:800px) and (max-height:550px) and (orientation:landscape){.egg-stir-hud{top:36px;left:12px;transform:none;width:160px;grid-template-columns:1fr;gap:11px;padding:8px 10px}.egg-stir-hud .metric-caption>span{font-size:10px}.egg-stir-hud .metric-caption>b{font-size:11px}}
.measurement-dock{display:grid;grid-template-rows:74px 22px;height:114px;padding:8px 17px;background:#18211c;border:1px solid #c6b78b30;border-top:0;overflow:hidden}
.measurement-dock .process-status{position:relative;inset:auto;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;gap:8px 22px;width:auto;min-width:0;padding:0;border:0;border-radius:0;background:none;box-shadow:none;grid-row:1}
.measurement-dock[data-height=false] .process-status{grid-row:1/-1;align-content:center}
.measurement-dock .status-heading{grid-column:1/-1;min-height:14px;justify-content:flex-start;gap:12px;padding:0 126px 0 0}
.measurement-dock .status-heading h3{font-size:10px;line-height:14px}.measurement-dock .status-heading small{font-size:9px;line-height:14px}
.measurement-dock .meter-legend{position:absolute;top:0;right:0;margin:0;gap:10px;font-size:8px;line-height:14px}
.measurement-dock .live-metric+.live-metric{margin:0}.measurement-dock .metric-caption>span,.measurement-dock .metric-caption>b{font-size:11px;line-height:15px}
.measurement-dock .readout-track{height:5px;margin:7px 0 2px}.measurement-dock .meter-ends{display:none}
.measurement-dock .status-foot{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:5px;margin:0;font-size:9px;line-height:14px;white-space:nowrap}
.measurement-dock .status-foot b{font-size:9px;margin:0 0 0 5px}.measurement-dock #eggStatus .status-foot{justify-content:flex-start}
.measurement-dock #oilStatus .oil-map{position:absolute;right:auto;left:66px;top:-1px;width:20px;height:20px}.measurement-dock .oil-map i{width:3px;height:3px}
.measurement-dock .lift-status{position:static;display:grid;grid-template-columns:92px minmax(0,1fr) 46px;align-items:center;gap:12px;grid-row:2;width:auto;padding:0;border:0;border-top:1px solid #c6b78b20;border-radius:0;background:none;box-shadow:none;text-align:left}
.measurement-dock .lift-status h3{font-size:9px;line-height:11px;margin:0}.measurement-dock .lift-caption>small{display:block;color:#8d9d85;font-size:7px;line-height:9px;white-space:nowrap}
.measurement-dock .lift-track{width:100%;height:5px;margin:0;border-radius:2px}.measurement-dock .lift-track em{top:-3px;bottom:auto;left:0;width:0;height:11px}.measurement-dock .lift-track i{height:100%;width:0;bottom:0}.measurement-dock .lift-track .lift-needle{top:-4px;bottom:auto;left:0;width:2px;height:13px;transform:translateX(-1px)}
.measurement-dock .lift-status>b{font-size:10px;line-height:16px;margin:0;text-align:right}.measurement-dock .lift-status[data-warning=true]>b{color:#e6a36f}
.rack-item[aria-pressed=true]{background:#c8ac721a;border-color:#d4c4a566}.rack-item[aria-pressed=true]:after{width:24px;height:2px;background:#dfc48a}
.is-cooking .rack-item{height:62px}.is-cooking .rack-item svg{height:37px;width:35px}.is-cooking .tool-rack{margin:3px auto 6px;padding-bottom:6px}
@media(max-width:600px){
 .is-cooking .play-area{height:calc(100svh - 44px);min-height:540px}
 .measurement-dock{padding:8px 12px;border-left:0;border-right:0}
 .measurement-dock .process-status{column-gap:17px}.measurement-dock .metric-caption>span,.measurement-dock .metric-caption>b{font-size:10px}
 .measurement-dock .status-heading{gap:9px}.measurement-dock .status-heading small{font-size:8px}
 .measurement-dock .status-foot,.measurement-dock .status-foot b{font-size:8px}
 .is-cooking .workbench{padding-top:6px}.is-cooking .rack-item{height:58px}.is-cooking .rack-item svg{height:34px;width:33px}
}
@media(max-width:355px){.measurement-dock .process-status{column-gap:12px}.measurement-dock .metric-caption>span,.measurement-dock .metric-caption>b{font-size:9px}.measurement-dock .status-heading{padding-right:116px}.measurement-dock .status-heading h3{font-size:9px}.measurement-dock .meter-legend{gap:7px;font-size:7px}}
@media(max-height:550px) and (orientation:landscape){
 .is-cooking .play-area{grid-template-columns:minmax(0,1fr) 236px;grid-template-rows:114px minmax(0,1fr);height:calc(100svh - 44px);min-height:240px}
 .is-cooking .play-area .stage{grid-column:1;grid-row:1/-1;margin-right:0}
 .measurement-dock{grid-column:2;grid-row:1;padding:8px 10px;border:0}.measurement-dock .process-status{column-gap:12px}
 .measurement-dock .status-heading{padding-right:0}.measurement-dock .meter-legend{display:none}
 .measurement-dock .metric-caption>span,.measurement-dock .metric-caption>b{font-size:9px}.measurement-dock .status-foot,.measurement-dock .status-foot b{font-size:7px}
 .measurement-dock .lift-status{grid-template-columns:74px minmax(0,1fr) 34px;gap:7px}.measurement-dock .lift-status h3{font-size:8px}.measurement-dock .lift-status>b{font-size:9px}
 .is-cooking .workbench{position:static;grid-column:2;grid-row:2;width:auto;min-height:0;overflow-y:auto;padding:7px 10px}
 .is-cooking .rack-item{height:55px}.is-cooking .rack-item svg{height:30px}.is-cooking .tool-rack{grid-template-columns:repeat(3,minmax(0,1fr));gap:3px}
 .is-cooking .stove-controls{gap:7px}.is-cooking .stove-controls .primary{min-height:33px}
}

/* Short arcade accents over the clear canvas; the measurements remain below. */
.combo-hud{position:relative;display:inline-flex;align-items:baseline;gap:4px;min-width:64px;justify-content:center;color:#ddd8bd;text-shadow:0 1px 5px #000;font-variant-numeric:tabular-nums}
.combo-hud>b{font-size:19px;line-height:17px;font-weight:700}.combo-hud>small{font-size:8px;letter-spacing:.08em}.combo-hud>i{position:absolute;left:0;right:0;bottom:-5px;height:2px;background:#fff2}.combo-hud>i>em{height:100%;display:block;background:#d9cd9b;box-shadow:0 0 5px #eecf7866}.combo-hud[data-golden=true]{color:#ffdf76}.combo-hud[data-golden=true]>i>em{background:#ffdb60;box-shadow:0 0 8px #ffbd3099}
.combo-burst{position:absolute;top:43px;left:50%;z-index:4;transform:translateX(-50%);width:270px;max-width:86%;height:142px;text-align:center;color:#fff2c2;pointer-events:none;text-shadow:0 2px 7px #14170f,0 0 22px #edc14c44;isolation:isolate}
.combo-kicker{display:block;position:relative;z-index:1;font-size:9px;letter-spacing:.23em;color:#e2d3a8;line-height:18px}.combo-number-line{position:relative;z-index:1;display:flex;align-items:baseline;justify-content:center;gap:10px;height:69px}.combo-number-line strong{font-size:69px;line-height:1;font-weight:800;font-style:italic;letter-spacing:-.06em}.combo-number-line b{font-size:22px;letter-spacing:.08em}.combo-bonus{position:relative;z-index:1;font-size:12px;letter-spacing:.06em;line-height:24px}
.combo-burst:before{content:'';position:absolute;inset:-12px 12px 4px;border-radius:50%;background:radial-gradient(ellipse,#d6ac3b24,transparent 65%);z-index:0}.combo-rays{position:absolute;left:50%;top:48px;width:0;height:0;z-index:0}.combo-rays i{position:absolute;top:-1px;left:0;width:23px;height:2px;transform:rotate(calc(var(--n)*30deg)) translateX(68px);transform-origin:0 50%;background:linear-gradient(90deg,#ffdc6b,transparent);opacity:0}
.combo-burst.show .combo-number-line{animation:combo-pop .5s cubic-bezier(.16,.85,.25,1.15) both}.combo-burst.show .combo-kicker,.combo-burst.show .combo-bonus{animation:combo-copy .42s ease-out both}.combo-burst.show .combo-rays i{animation:combo-spark .75s ease-out both;animation-delay:calc(var(--n)*9ms)}
.combo-burst[data-milestone=true]{color:#ffe47d;text-shadow:0 2px 7px #14170f,0 0 15px #ffbd4055,0 0 36px #ffcf5377}.combo-burst[data-milestone=true]:before{background:radial-gradient(ellipse,#f4b72e42,transparent 67%)}.combo-burst[data-milestone=true] .combo-kicker{color:#ffe7a0}.combo-burst[data-milestone=true] .combo-rays i{width:37px;height:3px}
.combo-burst[data-broken=true]{color:#c9c4ae;text-shadow:0 1px 7px #0009}.combo-burst[data-broken=true] .combo-number-line strong{font-size:48px}.combo-burst[data-broken=true] .combo-number-line b{font-size:15px}.combo-burst[data-broken=true] .combo-rays{display:none}.combo-burst[data-broken=true]:before{background:none}.combo-burst[data-broken=true] .combo-bonus{font-size:10px;color:#b5b9a5}
.result-combo{font-size:12px;color:#d5c28c;letter-spacing:.035em;line-height:1.8;margin:10px 0 18px;font-variant-numeric:tabular-nums}
@keyframes combo-pop{0%{opacity:0;transform:scale(.48) translateY(10px)}42%{opacity:1;transform:scale(1.14) translateY(-3px)}100%{opacity:1;transform:scale(1) translateY(0)}}
@keyframes combo-copy{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}
@keyframes combo-spark{0%{opacity:0;transform:rotate(calc(var(--n)*30deg)) translateX(35px) scaleX(.2)}20%{opacity:.95}100%{opacity:0;transform:rotate(calc(var(--n)*30deg)) translateX(128px) scaleX(.15)}}
@media(max-width:600px){.combo-burst{top:40px;width:236px;height:126px}.combo-number-line strong{font-size:59px}.combo-number-line{height:60px}.combo-number-line b{font-size:19px}.combo-bonus{font-size:11px}.combo-hud>b{font-size:17px}.combo-hud>small{font-size:7px}.result-combo{font-size:11px}}

/* Point optima, rather than forgiving flat bands. Keep the food unobstructed. */
.measurement-dock{height:94px;grid-template-rows:1fr;padding-top:10px;padding-bottom:10px}
.measurement-dock .process-status{grid-row:1;align-content:center;row-gap:12px}
.measurement-dock #riceStatus{grid-template-columns:repeat(3,minmax(0,1fr));column-gap:18px}
.readout-track i,.process-status .readout-track i,.egg-stir-hud .readout-track i{background:#fff1cc15!important;box-shadow:inset 0 -1px #fff3}
.readout-track em,.process-status .readout-track em,.egg-stir-hud .readout-track em{width:2px;top:-5px;height:15px;border:0;border-radius:0;background:#ffd47b;box-shadow:0 0 5px #ffd47b80;transform:translateX(-1px)}
.readout-track em:before{content:'';position:absolute;top:-3px;left:-2px;border-left:3px solid transparent;border-right:3px solid transparent;border-top:4px solid #ffd47b}
.meter-legend span:last-child:before{width:2px;height:9px;border:0;border-radius:0;background:#ffd47b;box-shadow:0 0 4px #ffd47b60}
.result-quality{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);align-items:center;gap:20px;margin:15px 0 25px;padding:9px 12px 15px;border-top:1px solid #cab78230;border-bottom:1px solid #cab78230;background:radial-gradient(ellipse at 30% 45%,#d2a5420a,transparent 65%)}
.result-chart{width:100%;max-width:350px;margin:auto}.result-chart svg{display:block;width:100%;overflow:visible;font-family:var(--sans)}
.radar-grid{fill:none;stroke:#bfa97730;stroke-width:1}.radar-axis{fill:none;stroke:#bfa97725;stroke-width:1}.result-chart text{fill:#b9b8a2;font-size:12px}.radar-food{fill:#e0b7582e;stroke:#e7c477;stroke-width:1.6;stroke-linejoin:round}.result-chart circle{fill:#ffe5a5;stroke:#6b522e;stroke-width:1}
.dish-total{font-size:11px;color:#b9b8a2;font-variant-numeric:tabular-nums;margin:0 0 17px}.dish-total strong{font-family:var(--serif);font-size:42px;font-weight:500;color:#edce88;margin-left:8px}.dish-total>span{font-size:10px;color:#8f9c87}
.result-parameters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 18px}.result-parameters>div{display:flex;justify-content:space-between;gap:8px;border-bottom:1px solid #cdbb8a1c;padding-bottom:7px;font-size:10px;color:#9ca992;white-space:nowrap}.result-parameters b{color:#e4d5ac;font-weight:500;font-variant-numeric:tabular-nums}
.legacy-book{margin-top:30px;border-top:1px solid #c9b98f36;padding-top:18px}.legacy-book>summary{cursor:pointer;font-size:12px;color:#abaf98;padding:4px 0 18px}
@media(max-width:600px){.measurement-dock #riceStatus{column-gap:13px}.measurement-dock #riceStatus .metric-caption{gap:3px}.measurement-dock #riceStatus .metric-caption>span{font-size:9px}.measurement-dock #riceStatus .metric-caption>b{font-size:10px}.result-quality{display:block;padding:3px 0 18px}.result-chart{max-width:290px}.quality-numbers{margin-top:-8px}.dish-total{text-align:center;margin:0 0 18px}.dish-total strong{font-size:39px}.result-parameters{grid-template-columns:repeat(3,minmax(0,1fr));gap:13px 14px}.result-parameters>div{font-size:10px;gap:4px}}
@media(max-width:355px){.measurement-dock #riceStatus{column-gap:10px}.measurement-dock #riceStatus .metric-caption>span,.measurement-dock #riceStatus .metric-caption>b{font-size:8px}.result-parameters{gap:12px 9px}.result-parameters>div{font-size:9px}}
@media(max-height:550px) and (orientation:landscape){.measurement-dock{height:114px}.measurement-dock #riceStatus{grid-template-columns:1fr;gap:8px}.measurement-dock #riceStatus .status-heading{padding:0;gap:6px}.measurement-dock #riceStatus .metric-caption{line-height:11px}.measurement-dock #riceStatus .readout-track{margin:5px 0 0;height:4px}}
@media(max-height:550px) and (orientation:landscape){.combo-burst{top:32px;transform:translateX(-50%) scale(.82);transform-origin:top center}}
@media(prefers-reduced-motion:reduce){.combo-burst.show .combo-number-line,.combo-burst.show .combo-kicker,.combo-burst.show .combo-bonus{animation:none}.combo-burst.show .combo-rays{display:none}}

/* All readouts float over the quiet upper background, clear of both hands. */
.is-cooking .play-area{grid-template-rows:minmax(300px,1fr) auto;min-height:440px}
.is-cooking .play-area .stage{grid-row:1;grid-column:1}
.is-cooking .workbench{grid-row:2;grid-column:1}
.stage>.measurement-dock{position:absolute;z-index:3;top:37px;left:50%;transform:translateX(-50%);width:min(520px,calc(100% - 26px));height:auto;padding:8px 12px 9px;border:1px solid #e3cc8f2b;border-radius:7px;background:linear-gradient(135deg,#121b15de,#152019b8);box-shadow:0 4px 20px #0001;overflow:visible;pointer-events:none;backdrop-filter:blur(5px)}
.stage .measurement-dock .process-status{grid-row:auto;grid-column:auto;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;gap:9px 18px;inset:auto}
.stage .measurement-dock #riceStatus{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px 16px}
.stage .measurement-dock .status-heading{padding:0;min-height:12px;gap:10px}
.stage .measurement-dock .status-heading h3{font-size:10px;line-height:12px}.stage .measurement-dock .status-heading small{font-size:9px;line-height:12px}
.stage .measurement-dock .meter-legend{display:none}
.stage .measurement-dock .metric-caption>span,.stage .measurement-dock .metric-caption>b{font-size:10px;line-height:12px}
.stage .measurement-dock .readout-track{height:4px;margin:7px 0 0}
.stage .measurement-dock .readout-track em{height:11px;top:-4px}.stage .measurement-dock .meter-needle{height:11px;top:-4px}
.stage .measurement-dock .status-foot{font-size:8px;line-height:11px}
.stage .measurement-dock .egg-stir-hud{display:contents;position:static;transform:none;width:auto;margin:0;padding:0;border:0;border-radius:0;background:none;box-shadow:none;backdrop-filter:none}
.stage .measurement-dock .egg-stir-hud small{display:none}.stage .measurement-dock .egg-stir-hud .live-metric{margin:0}
.stage .measurement-dock #oilStatus .oil-map{left:auto;right:0;top:-2px;width:20px;height:20px}
.pour-aim{position:absolute;z-index:3;width:0;height:0;pointer-events:none;color:#ffe2a3;filter:drop-shadow(0 1px 3px #000b)}
.pour-aim>b{position:absolute;width:17px;height:17px;left:-8.5px;top:-8.5px;border:1px solid currentColor;border-radius:50%;box-shadow:0 0 8px #ffc85c44}
.pour-aim>b:before,.pour-aim>b:after{content:'';position:absolute;inset:7px -4px auto;height:1px;background:currentColor}.pour-aim>b:after{transform:rotate(90deg)}
.pour-aim>span{position:absolute;top:-28px;left:-21px;font-size:9px;line-height:15px;white-space:nowrap;color:inherit;letter-spacing:.05em}
.pour-aim>i{position:absolute;top:0;left:0;height:1px;border-top:1px dashed #ffe2a373;transform-origin:0 50%}
.pour-aim[data-valid=false]{color:#a8ad9b;opacity:.65}.pour-aim[data-valid=false]>i{opacity:.45}

/* A small, layered celebration: punch, foil, expanding rings, then glitter. */
.combo-burst{top:119px;width:252px;max-width:82%;height:110px;filter:drop-shadow(0 2px 6px #0c130be6)}
.combo-burst:before{inset:-26px -12px -2px;background:radial-gradient(ellipse,#f5c65830,transparent 66%);opacity:0}
.combo-burst.show:not([data-broken=true]):before{animation:combo-halo 1.08s ease-out both}
.combo-kicker{font-size:9px;letter-spacing:.19em;line-height:17px;color:#f5dfaa}.combo-number-line{height:57px;gap:8px}
.combo-number-line strong{font-size:59px;line-height:1;letter-spacing:-.065em;color:#fff3bc}.combo-number-line b{font-size:18px;letter-spacing:.1em;color:#f4dfac}.combo-bonus{font-size:10px;letter-spacing:.025em;line-height:21px;color:#dcd3b5}
.combo-burst.show:not([data-broken=true]) .combo-number-line strong{background:linear-gradient(112deg,#bd8b31 7%,#fffce1 24%,#f4c35c 36%,#fff7bb 49%,#ffffff 53%,#f4c35c 61%,#fff5c5 83%);background-size:260% 100%;background-clip:text;-webkit-background-clip:text;color:transparent;text-shadow:none;filter:drop-shadow(0 1px 1px #7d4a17) drop-shadow(0 0 7px #ffd16655);animation:combo-foil .8s ease-out both}
.combo-burst.show .combo-number-line{animation:combo-strike .43s cubic-bezier(.12,.8,.25,1) both}
.combo-burst.show .combo-kicker,.combo-burst.show .combo-bonus{animation:combo-copy .28s ease-out both}
.combo-rays{top:43px}.combo-rays i{width:20px;height:1px;background:linear-gradient(90deg,#ffedb6,transparent)}
.combo-orbits{position:absolute;left:50%;top:43px;width:0;height:0;z-index:0}
.combo-orbits>i{position:absolute;inset:-30px;border:1px solid #ffe8aaab;border-radius:50%;opacity:0}
.combo-burst.show:not([data-broken=true]) .combo-orbits>i{animation:combo-orbit .66s cubic-bezier(.1,.55,.25,1) both}.combo-orbits>i:nth-child(2){animation-delay:.075s!important;border-color:#fffbe766;border-width:2px}
.combo-sparkles{position:absolute;left:50%;top:43px;z-index:1;width:0;height:0}
.combo-sparkles>i{position:absolute;left:0;top:0;width:var(--size);height:var(--size);background:#fff5c4;box-shadow:0 0 7px #ffe296bb;opacity:0;border-radius:0;clip-path:polygon(50% 0,60% 38%,100% 50%,60% 62%,50% 100%,40% 62%,0 50%,40% 38%);will-change:transform,opacity}
.combo-sparkles>i:nth-child(4n+1){background:white;clip-path:polygon(50% 0,61% 39%,100% 50%,61% 61%,50% 100%,39% 61%,0 50%,39% 39%);border-radius:0;filter:drop-shadow(0 0 3px #fff2ae)}
.combo-burst.show:not([data-broken=true]) .combo-sparkles>i{animation:combo-glitter .9s ease-out both;animation-delay:var(--d)}
.combo-burst[data-level=clean] .combo-sparkles>i:nth-child(n+13){display:none}.combo-burst[data-level=bright] .combo-sparkles>i:nth-child(n+21){display:none}
.combo-crown{position:absolute;left:50%;top:-23px;transform:translateX(-50%);width:37px;height:20px;fill:#fff0aa;stroke:#ffe7a0;stroke-width:1.5;filter:drop-shadow(0 0 6px #ffbb3570);display:none}
.combo-burst[data-milestone=true] .combo-crown{display:block}
.combo-burst[data-milestone=true] .combo-kicker{color:#fff1ba}.combo-burst[data-milestone=true] .combo-number-line strong{font-size:65px}.combo-burst[data-milestone=true] .combo-number-line{height:62px}
.combo-burst[data-special=true]:before{background:radial-gradient(ellipse,#ffc54d4d,transparent 68%)}
.combo-burst[data-special=true].show .combo-orbits>i{border-color:#fff2be;animation-duration:.85s}
.combo-burst[data-level=radiant] .combo-sparkles>i:nth-child(3n){background:#fff;box-shadow:0 0 9px #fff7bbee}
.combo-burst[data-broken=true]{top:119px;height:75px;filter:none;opacity:.8}.combo-burst[data-broken=true] .combo-crown,.combo-burst[data-broken=true] .combo-orbits,.combo-burst[data-broken=true] .combo-sparkles{display:none}.combo-burst[data-broken=true] .combo-number-line strong{font-size:29px}.combo-burst[data-broken=true] .combo-number-line{height:35px}.combo-burst[data-broken=true] .combo-number-line b{font-size:11px}
.is-paused .combo-burst,.is-paused .combo-burst *,.is-paused .combo-burst:before{animation-play-state:paused!important}
@keyframes combo-strike{0%{opacity:0;transform:translateY(9px) scale(.58) rotate(-5deg)}35%{opacity:1;transform:translateY(-3px) scale(1.15) rotate(1deg)}66%{transform:translateY(1px) scale(.98)}100%{opacity:1;transform:none}}
@keyframes combo-foil{0%{background-position:100% 0}100%{background-position:0 0}}
@keyframes combo-halo{0%{opacity:0;transform:scale(.5)}16%{opacity:1}100%{opacity:0;transform:scale(1.18)}}
@keyframes combo-orbit{0%{opacity:.9;transform:scale(.3,.16)}100%{opacity:0;transform:scale(4.1,1.65)}}
@keyframes combo-glitter{0%{opacity:0;transform:translate(0,0) scale(.3) rotate(0deg)}12%{opacity:1}38%{opacity:1}100%{opacity:0;transform:translate(var(--dx),var(--dy)) scale(.12) rotate(var(--r))}}
@media(max-width:600px){.stage>.measurement-dock{top:34px;width:calc(100% - 22px);padding:8px 10px 9px}.stage .measurement-dock #riceStatus{column-gap:12px}.stage .measurement-dock .metric-caption>span,.stage .measurement-dock .metric-caption>b{font-size:9px}.stage .measurement-dock .status-heading h3{font-size:9px}.stage .measurement-dock .status-heading small{font-size:8px}.combo-burst{top:112px;width:234px}.combo-burst[data-broken=true]{top:112px}.combo-number-line strong{font-size:56px}.combo-number-line b{font-size:16px}.combo-bonus{font-size:9px}}
@media(max-width:355px){.stage>.measurement-dock{width:calc(100% - 18px);padding-left:9px;padding-right:9px}.stage .measurement-dock #riceStatus{column-gap:10px}.stage .measurement-dock #riceStatus .metric-caption>span,.stage .measurement-dock #riceStatus .metric-caption>b{font-size:8px}.combo-burst{width:218px}.combo-bonus{font-size:8px}}
@media(max-height:550px) and (orientation:landscape){.is-cooking .play-area{grid-template-columns:minmax(0,1fr) 212px;grid-template-rows:minmax(0,1fr);min-height:240px}.is-cooking .play-area .stage{grid-column:1;grid-row:1;min-height:0}.is-cooking .workbench{grid-column:2;grid-row:1;width:auto;min-height:0;overflow-y:auto}.stage>.measurement-dock{top:32px;width:calc(100% - 24px);max-width:440px;padding:7px 10px 8px}.stage .measurement-dock #riceStatus{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px 12px}.stage .measurement-dock .process-status{gap:7px 18px}.stage .measurement-dock .status-heading h3,.stage .measurement-dock .status-heading small{font-size:8px;line-height:10px}.stage .measurement-dock .metric-caption>span,.stage .measurement-dock .metric-caption>b{font-size:9px;line-height:10px}.combo-burst,.combo-burst[data-broken=true]{top:108px;left:75%;transform:translateX(-50%) scale(.75);transform-origin:top center;width:220px}.combo-crown{top:-20px}.stage .measurement-dock .egg-stir-hud{width:auto;max-width:none;grid-template-columns:none}.stage .measurement-dock .egg-stir-hud .readout-track{margin-bottom:0}}
@media(prefers-reduced-motion:reduce){.combo-burst.show .combo-number-line,.combo-burst.show .combo-number-line strong,.combo-burst.show .combo-kicker,.combo-burst.show .combo-bonus{animation:none!important}.combo-burst .combo-rays,.combo-burst .combo-orbits,.combo-burst .combo-sparkles,.combo-burst:before{display:none}.combo-burst.show:not([data-broken=true]) .combo-number-line strong{background:none;color:#ffe8a4;filter:none}}
/* Keep the quick-rhythm combo flourish compact beneath the readouts. */
.combo-burst{scale:.82;transform-origin:center}.combo-burst.show{animation-duration:.45s}.combo-burst[data-special=true].show{animation-duration:.7s}
@media(max-width:600px){.combo-burst{scale:.72}}

/* One quiet countdown row, beside the continuing cooking readouts. */
.stage>.measurement-dock{grid-template-rows:auto auto}
.core-countdown{grid-column:1/-1;grid-row:2;display:grid;grid-template-columns:auto minmax(26px,1fr) auto;align-items:center;gap:10px;margin-top:7px;padding-top:6px;border-top:1px solid #dfc99524;min-height:17px;color:#b5bfa7;pointer-events:none}
.core-countdown>span{font-size:9px;line-height:14px;white-space:nowrap}.core-countdown>b{font-size:12px;line-height:16px;color:#e5d9b5;font-weight:500;font-variant-numeric:tabular-nums;white-space:nowrap;min-width:75px;text-align:right}
.core-countdown>i{display:block;height:2px;background:#c9bb8e22;overflow:hidden;border-radius:2px}.core-countdown>i>em{display:block;height:100%;background:#b4bd8f;transition:none}
.core-countdown[data-state=soon]>b{color:#f1c883}.core-countdown[data-state=soon]>i>em{background:#e7ba70}.core-countdown[data-state=releasing]>b{font-size:10px;color:#eeb18a}.core-countdown[data-state=releasing]{border-top-color:#d69a7038}
@media(max-width:600px){.core-countdown{gap:8px;margin-top:6px;padding-top:5px}.core-countdown>span{font-size:8px}.core-countdown>b{font-size:11px;min-width:70px}}
@media(max-height:550px)and(orientation:landscape){.core-countdown{margin-top:5px;padding-top:4px;min-height:15px}.core-countdown>span{font-size:8px}.core-countdown>b{font-size:10px;line-height:14px}}
@media(prefers-reduced-motion:reduce){.core-countdown>i>em{transition:none}}

/* Keep fast returns on compositor transforms; avoid repeated filtered layers. */
.combo-burst{contain:layout style;filter:none}
.stage>.measurement-dock{backdrop-filter:none;background:linear-gradient(135deg,#121b15f2,#152019e8)}
.combo-burst.show:not([data-broken=true]) .combo-number-line strong{animation:none;filter:none;background-position:50% 0}
@media(any-pointer:coarse){
 .combo-sparkles>i{box-shadow:none}.combo-sparkles>i:nth-child(4n+1){filter:none}
 .combo-burst:not([data-special=true]) .combo-sparkles>i:nth-child(n+15){display:none}
 .combo-burst[data-special=true] .combo-sparkles>i:nth-child(n+23){display:none}
}
@media(max-width:380px){.result-parameters{grid-template-columns:repeat(2,minmax(0,1fr))}}
.stage .measurement-dock[data-panel=soy] #riceStatus{grid-template-columns:repeat(2,minmax(0,1fr))}
.seasoning-hint{grid-column:1/-1;margin:0;padding-top:1px;color:#d6c7a3;font-size:10px;line-height:1.5;min-height:15px}
.seasoning-hint[data-ready=true]{color:#e7d7a0}
.measurement-dock[data-seasoned=true] #riceAromaMeter{box-shadow:0 0 8px #edd38720}
@media(min-width:700px){.stage .measurement-dock[data-panel=soy] #riceStatus{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:600px){.seasoning-hint{font-size:9px}}
@media(max-height:550px)and(orientation:landscape){.stage .measurement-dock[data-panel=soy] #riceStatus{column-gap:10px}.stage .measurement-dock[data-panel=soy] .metric-caption{gap:3px}.stage .measurement-dock[data-panel=soy] .metric-caption>span,.stage .measurement-dock[data-panel=soy] .metric-caption>b{font-size:8px;white-space:nowrap}.seasoning-hint{font-size:8px;min-height:12px}}
.result-advice-title{font-family:var(--serif);font-size:17px;font-weight:500;color:#e0d0aa;margin:20px 0 11px}
.flavor-notes{grid-template-columns:1fr;gap:12px;max-width:none}
.flavor-note{padding:13px 15px;border:1px solid #d5c09424;border-radius:6px;background:#d5c09405;min-width:0}
.flavor-note b{font-size:11px;line-height:1.7;color:#e0cda4}.flavor-note span{font-size:11px;line-height:1.85;max-width:none;color:#c0c4b5}
.flavor-note .note-factors{display:block;margin-top:9px;color:#9da88f;font-size:10px;line-height:1.8;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.flavor-note[data-improve=false]{border-color:#b8c69d30}.flavor-note[data-improve=false] b{color:#cbd7b7}
.flavor-note[data-improve=true]{border-color:#d5b46d55;border-left:2px solid #dbb973;background:#d5b46d0b}.flavor-note[data-improve=true] b,.flavor-note[data-improve=true] span{font-size:12px}
.recipe-note .note-factors{display:block;grid-column:1/-1;margin-top:6px;color:#9da88f;font-size:10px;line-height:1.8;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
@media(max-width:600px){.flavor-notes{grid-template-columns:1fr;gap:9px}.flavor-note{padding:12px 13px}.result-advice-title{font-size:16px}.flavor-note .note-factors{font-size:9px}}
.ending-seal{position:absolute;z-index:5;left:19px;top:49px;width:109px;transform:rotate(-12deg);pointer-events:none;animation:ending-stamp .48s cubic-bezier(.2,.7,.2,1) both;color:#f0987b;filter:drop-shadow(0 2px 5px #080c09aa)}
.ending-seal svg{display:block;width:100%;overflow:visible}.ending-seal path,.ending-seal circle{fill:none;stroke:currentColor;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}.ending-seal text{fill:currentColor;text-anchor:middle;font-family:var(--serif);font-size:11px;font-weight:700;letter-spacing:.08em}
.ending-play{padding:20px 23px;background:linear-gradient(120deg,#242e27,#1c2420);border:1px solid #c5ac6d45;border-radius:9px;margin-bottom:20px;display:grid;gap:12px;box-shadow:0 7px 28px #090d0a25}
.ending-play h3{font-family:var(--serif);font-size:22px;font-weight:500;margin:5px 0 7px;color:#f1e6c9}.ending-play p{font-size:12px;line-height:1.8;margin:0;color:#bfc9b8}.ending-play .small-label{font-size:9px;letter-spacing:.15em;color:#cbb581}
.ending-play-actions{display:flex;gap:8px;flex-wrap:wrap}.ending-play-actions button{border:1px solid #cbb58155;border-radius:5px;padding:11px 15px;min-height:44px;background:#101a14;color:#e5d7b4;font-size:12px;touch-action:manipulation}
.ending-play-actions button[aria-pressed=true]{background:#b79a58;color:#101a14;border-color:#e2ca91}.ending-play-actions button:disabled{opacity:.47}.ending-play .ending-action-note{color:#e4c98f;font-size:12px;min-height:20px}
#heatCharcoal{color:#ffbd83;background:linear-gradient(#351d15,#1c1512);border-color:#b66e4055}#heatCharcoal[aria-pressed=true]{color:#ffe4aa;border-color:#c99150;background:#533021}
@keyframes ending-stamp{0%{opacity:0;transform:rotate(-18deg) scale(1.5)}60%{opacity:1;transform:rotate(-11deg) scale(.96)}100%{opacity:1;transform:rotate(-12deg) scale(1)}}
@media(max-width:600px){.ending-seal{width:89px;left:11px;top:43px}.ending-play{padding:16px;margin-bottom:15px}.ending-play h3{font-size:20px}.ending-play-actions button{padding:10px 12px}.heat-choices{gap:4px}.heat-choices button{min-width:0}}
@media(prefers-reduced-motion:reduce){.ending-seal{animation:none}}

/* A single, unboxed cue below the instruments. A clean return clears it,
   leaving the same lane to the existing combo celebration. */
.combo-lane{position:absolute;top:calc(100% + 7px);left:0;width:100%;display:flex;flex-direction:column;align-items:center;gap:5px;pointer-events:none;z-index:4}
.combo-lane>.combo-burst{position:relative;top:auto;left:auto;transform:none;flex-shrink:0;margin-top:-5px}
.combo-diagnostic{margin:0;padding:0;width:max-content;max-width:100%;border:0;background:none;box-shadow:none;color:#f3d4a3;font-size:clamp(16px,2.4vw,20px);font-weight:700;line-height:1.5;letter-spacing:.035em;white-space:nowrap;pointer-events:none;text-shadow:0 2px 4px #080c08}
@media(max-width:600px){body[data-phase=result] .masthead>a{display:none}body[data-phase=result] .masthead{justify-content:center}}
@media(max-height:550px)and(orientation:landscape){.combo-lane{top:calc(100% + 5px);gap:2px}.combo-diagnostic{font-size:15px}.combo-lane>.combo-burst{align-self:flex-end;transform:scale(.75);transform-origin:top right}}
@media(max-width:600px){.stove-controls:has(#heatCharcoal:not([hidden])){flex-wrap:wrap}.stove-controls:has(#heatCharcoal:not([hidden])) .heat-choices{flex:1;justify-content:flex-start;gap:4px}.stove-controls:has(#heatCharcoal:not([hidden])) .heat-choices button{padding-left:9px;padding-right:9px}}

.egg-prep-status{position:absolute;top:48px;left:50%;transform:translateX(-50%);z-index:3;margin:0;display:flex;gap:18px;white-space:nowrap;pointer-events:none;font-size:12px;color:#d7d6c6;text-shadow:0 2px 4px #080c08}.egg-prep-status b{font-weight:600}.egg-prep-status[data-ready=true] b{color:#ffe4a0}@media(max-height:550px)and(orientation:landscape){.egg-prep-status{top:37px;font-size:11px}}

/* Four bounded combo tiers reuse the existing 28 stars and two rings. */
.combo-burst[data-tier="0"] .combo-number-line strong{font-size:42px;color:#f1e4bc}
.combo-burst[data-tier="0"] .combo-number-line{height:43px;animation-duration:.3s}
.combo-burst[data-tier="0"] .combo-number-line b{font-size:14px}
.combo-burst[data-tier="0"]:before,.combo-burst[data-tier="0"] .combo-rays,.combo-burst[data-tier="0"] .combo-orbits{display:none}
.combo-burst[data-tier="0"] .combo-bonus{color:#bab9a7;font-size:9px}
.combo-burst[data-tier="1"] .combo-number-line strong{font-size:54px}
.combo-burst[data-tier="1"] .combo-orbits>i:nth-child(2),.combo-burst[data-tier="1"] .combo-rays>i:nth-child(n+7){display:none}
.combo-burst[data-tier="2"] .combo-number-line strong{font-size:61px}
.combo-burst[data-tier="2"]:before{background:radial-gradient(ellipse,#e8af3d3c,transparent 67%)}
.combo-burst[data-tier="3"] .combo-number-line strong{font-size:68px}
.combo-burst[data-tier="3"]:before{background:radial-gradient(ellipse,#fff0b04d,#d8ad3b24 42%,transparent 68%)}
.combo-burst[data-tier="3"] .combo-orbits>i{border-color:#fff5ca}
.combo-burst:not([data-tier="3"]) .combo-crown{display:none}
.combo-burst[data-tier="3"] .combo-crown{display:block}
.combo-burst[data-tier] .combo-sparkles>i{display:none;box-shadow:none;filter:none}
.combo-burst[data-tier="0"] .combo-sparkles>i:nth-child(-n+4),
.combo-burst[data-tier="1"] .combo-sparkles>i:nth-child(-n+12),
.combo-burst[data-tier="2"] .combo-sparkles>i:nth-child(-n+20),
.combo-burst[data-tier="3"] .combo-sparkles>i:nth-child(-n+28){display:block}
.combo-hud[data-tier="1"]{color:#f4dfac}.combo-hud[data-tier="2"]{color:#ffdc7c}.combo-hud[data-tier="3"]{color:#fff0b5;text-shadow:0 0 7px #d4b36099}

/* An unlocked pan is chosen before the first cooking input. */
.ready-panel:has(#panChoices:not([hidden])){flex-wrap:wrap;row-gap:14px}
.pan-choices{display:flex;align-items:center;gap:12px;order:3;flex-basis:100%;width:100%;padding-top:13px;border-top:1px solid #d9bd7338}
.pan-choices>span{font-size:11px;color:#b9bba9;white-space:nowrap}
.pan-choice-buttons{display:grid;grid-template-columns:1fr 1fr;gap:8px;flex:1}
.pan-choice-buttons button{min-height:43px;padding:9px 12px;border:1px solid #777e6666;border-radius:6px;background:#17201ce6;color:#cbd0bd;font-size:12px;cursor:pointer}
.pan-choice-buttons button[aria-pressed=true]{border-color:#e2bd65;background:#4d4020;color:#fff0b4}
.pan-choice-buttons #panGolden{color:#f1ce77}.pan-choice-buttons #panGolden[aria-pressed=true]{background:linear-gradient(125deg,#5b451c,#857037 55%,#4d3919);box-shadow:inset 0 1px #ffe8a355}
#tool-pan[data-finish=golden] svg ellipse:first-child{fill:#f5d26f}#tool-pan[data-finish=golden] svg ellipse:nth-child(2){fill:#b47e21}
@media(max-width:600px){.pan-choices{gap:8px;padding-top:11px}.pan-choices>span{font-size:10px}.pan-choice-buttons{gap:6px}.pan-choice-buttons button{padding:9px 7px;font-size:10px}}

/* Six tools fit one compact shelf; nothing covers the cooking canvas. */
.tool-rack{grid-template-columns:repeat(6,minmax(0,1fr));gap:3px}
.stage .measurement-dock[data-panel=soy] #riceStatus{grid-template-columns:repeat(3,minmax(0,1fr))}
/* Steam floats above the resting wok; it never follows the shaking pan. */
.stage>.aroma-display{position:absolute;z-index:2;left:40%;top:52%;transform:translate(-50%,-100%);width:118px;aspect-ratio:104/66;pointer-events:none;user-select:none;contain:layout style}
.aroma-artwork{display:block;width:100%;height:auto;overflow:visible;filter:drop-shadow(0 2px 3px #061008c0);transition:opacity .25s ease}
.aroma-plumes{transform-box:fill-box;transform-origin:center bottom;transition:transform .25s ease}
.aroma-halo{opacity:.22}.aroma-escape{opacity:0}.aroma-base{opacity:.7}
.aroma-curls>path{transform-box:fill-box;transform-origin:center bottom;animation:aroma-rise 2.6s ease-in-out infinite}
.aroma-curls>path:nth-child(2){animation-delay:-.9s}.aroma-curls>path:nth-child(3){animation-delay:-1.7s}
.aroma-display[data-stage=full] .aroma-curls{stroke-width:5.5}.aroma-display[data-stage=full] .aroma-halo{opacity:1;animation:aroma-warmth 2.6s ease-in-out infinite}
.aroma-display[data-stage=fading] .aroma-curls{stroke:#b8c9be;stroke-width:3;stroke-dasharray:7 6;opacity:.38}
.aroma-display[data-stage=fading] .aroma-halo{opacity:.05}.aroma-display[data-stage=fading] .aroma-base{stroke:#bacdc2;opacity:.2}
.aroma-display[data-stage=fading] .aroma-escape{opacity:.85;transform-box:fill-box;transform-origin:center bottom;animation:aroma-leave 2.4s ease-out infinite}
.aroma-display[data-paused=true] *,.is-paused .aroma-display *{animation-play-state:paused!important}
@keyframes aroma-rise{0%,100%{transform:translateY(1px)}50%{transform:translateY(-2px)}}
@keyframes aroma-warmth{0%,100%{opacity:.7}50%{opacity:1}}
@keyframes aroma-leave{0%{opacity:.85;transform:translateY(1px) scale(.94)}100%{opacity:.06;transform:translateY(-7px) scale(1.17)}}
@media(max-width:600px){.tool-rack{gap:1px}.is-cooking .rack-item{height:58px;padding:0 0 3px}.is-cooking .rack-item svg{height:32px;width:29px}.rack-item span{font-size:9px;letter-spacing:0}.stage>.aroma-display{top:50%;left:43%;width:108px}}
@media(max-height:550px)and(orientation:landscape){.stage>.aroma-display{top:56%;left:39%;width:64px}}
@media(prefers-reduced-motion:reduce){.aroma-display *{animation:none!important;transition:none!important}}
@media(max-height:550px) and (orientation:landscape){.is-cooking .tool-rack{grid-template-columns:repeat(3,minmax(0,1fr))}.is-cooking .rack-item{height:51px}}

.fry-deadline{margin-left:auto;color:#d8c39d;font-size:9px;white-space:nowrap;font-variant-numeric:tabular-nums}.fry-deadline[data-soon=true]{color:#ffbe78}.status-heading #riceBurnLabel{margin-left:8px}
.gold-revelation{position:absolute;inset:0;z-index:2;pointer-events:none;overflow:hidden;isolation:isolate}
.gold-reveal-halo{position:absolute;inset:15% -15% -5%;background:radial-gradient(ellipse at 50% 55%,#ffd47230,transparent 63%);opacity:.7}
.gold-reveal-orbit{position:absolute;left:50%;top:58%;width:min(87%,570px);aspect-ratio:1.45;border:1px solid #ffe5a13d;outline:1px solid #ffe4a11a;outline-offset:8px;border-radius:50%;transform:translate(-50%,-50%) rotate(-12deg)}
.gold-announcement{position:absolute;left:10px;right:10px;top:10%;text-align:center;color:#f8df99;text-shadow:0 0 22px #c58b3366}
.gold-announcement>span{font-size:8px;letter-spacing:.26em;display:block;color:#d4b778}
.gold-announcement>strong{display:block;font-family:var(--serif);font-size:clamp(48px,10vw,80px);font-weight:400;line-height:1.2;letter-spacing:.07em;color:#ffe6a2}
.gold-announcement>b{display:block;font-size:10px;letter-spacing:.18em;margin-top:6px;font-weight:400}
.gold-reveal-stars{position:absolute;inset:0}.gold-reveal-stars>i{position:absolute;left:calc(8% + var(--n)*12%);top:calc(40% + var(--row,0)*12%);width:13px;height:13px;background:#ffedbd;clip-path:polygon(50% 0,58% 40%,100% 50%,58% 59%,50% 100%,41% 58%,0 50%,41% 41%);opacity:0}
body[data-phase=plating][data-rating=Gold] .gold-announcement{animation:gold-arrival 1.2s .5s both}
body[data-phase=plating][data-rating=Gold] .gold-reveal-halo{animation:gold-light 5.7s ease both}
body[data-phase=plating][data-rating=Gold] .gold-reveal-stars>i{animation:gold-spark 3.3s calc(.5s + var(--n)*.09s) both}
body[data-phase=plating][data-rating=Gold] .plating-title{top:29%;animation-duration:6.2s}
body[data-phase=plating][data-rating=Gold] .plating-title span{font-size:clamp(20px,4vw,30px)}
body[data-phase=result][data-rating=Gold] .gold-announcement{top:37px}body[data-phase=result][data-rating=Gold] .gold-announcement>strong{font-size:27px}
body[data-phase=result][data-rating=Gold] .gold-announcement>span{display:none}body[data-phase=result][data-rating=Gold] .gold-announcement>b{font-size:8px;margin-top:0}
body[data-phase=result][data-rating=Gold] .gold-reveal-orbit{opacity:.3}body[data-phase=result][data-rating=Gold] .gold-reveal-halo{opacity:.35}
body[data-rating=Gold] .result-rating{border-color:#f3cc71;background:linear-gradient(135deg,#8b642139,#1a1f17 52%,#d8a13c28);box-shadow:inset 0 0 0 3px #241e14,0 0 28px #e2ac3622}
body[data-rating=Gold] .result-rating strong{font-size:40px;letter-spacing:-.03em;color:#ffe29a}body[data-rating=Gold] .result-title,body[data-rating=Gold] .result-heading h2{color:#ffe4a1}
.book-card[data-rating=Gold]{border-color:#dcb45d}.book-card[data-rating=Gold]>small{color:#f5d68b}
@keyframes gold-arrival{from{opacity:0;transform:translateY(10px) scale(.94)}to{opacity:1;transform:none}}
@keyframes gold-light{0%{opacity:0;transform:scale(.7)}25%{opacity:1;transform:scale(1.1)}65%,100%{opacity:.7;transform:scale(1)}}
@keyframes gold-spark{0%,100%{opacity:0;transform:scale(.3) rotate(0deg)}25%,65%{opacity:.8;transform:scale(1) rotate(30deg)}}
@media(max-width:600px){.fry-deadline{font-size:8px}.gold-announcement>span{font-size:7px}.gold-announcement>b{font-size:9px}body[data-rating=Gold] .result-rating strong{font-size:32px}}
@media(prefers-reduced-motion:reduce){.gold-revelation *{animation:none!important}.gold-reveal-stars>i:nth-child(3n){opacity:.45}}

.egg-result-note{margin:18px 0 0;padding:12px 14px;border-left:2px solid #b4c1a16b;border-radius:0 5px 5px 0;background:#afc09d08}.egg-result-note h3{margin:0 0 5px;font-size:11px;font-weight:600;letter-spacing:.04em;color:#c9d2bb}.egg-result-note p{margin:0;color:#bbc2b0;font-size:12px;line-height:1.85;overflow-wrap:anywhere}.egg-result-note[data-state=warning]{border-left-color:#c79f6570;background:#c79f6508}.egg-result-note[data-state=warning] h3{color:#dac29e}

/* One stroke, one verdict. Reserve the row so repeated returns never shift it. */
.toss-grade{display:flex;position:relative;align-items:center;justify-content:center;flex-shrink:0;width:100%;height:39px;min-height:39px;margin:0;padding:0;visibility:hidden;pointer-events:none;contain:layout style}
.toss-grade[data-visible=true]{visibility:visible}.toss-grade[data-paused=true]{visibility:hidden}
.toss-grade-word{display:block;font-family:Georgia,'Times New Roman',serif;font-size:32px;line-height:1.1;font-weight:700;font-style:italic;letter-spacing:.015em;color:#e1edca;text-shadow:0 2px 4px #071109,0 0 8px #bfd4a31f;transform-origin:center}
.toss-grade[data-level=excellent] .toss-grade-word{color:#ffe5a0;text-shadow:0 2px 4px #071109,0 0 10px #e5ba4b55}
.toss-grade[data-level=bad] .toss-grade-word{color:#e9a793;text-shadow:0 2px 4px #071109}
.toss-grade[data-level=excellent]:before,.toss-grade[data-level=excellent]:after{content:'';position:absolute;top:14px;width:11px;height:11px;background:#f8d883;clip-path:polygon(50% 0,62% 36%,100% 50%,62% 63%,50% 100%,37% 63%,0 50%,37% 36%);opacity:.8}
.toss-grade[data-level=excellent]:before{left:calc(50% - 101px)}.toss-grade[data-level=excellent]:after{right:calc(50% - 101px)}
.toss-grade[data-visible=true][data-beat=odd] .toss-grade-word{animation:toss-grade-a .62s cubic-bezier(.14,.7,.24,1) both}
.toss-grade[data-visible=true][data-beat=even] .toss-grade-word{animation:toss-grade-b .62s cubic-bezier(.14,.7,.24,1) both}
.toss-grade[data-paused=true] .toss-grade-word,.is-paused .toss-grade-word{animation-play-state:paused!important}
@keyframes toss-grade-a{0%{opacity:0;transform:translateY(5px) scale(.88)}16%,68%{opacity:1;transform:translateY(0) scale(1)}100%{opacity:0;transform:translateY(-5px) scale(.99)}}
@keyframes toss-grade-b{0%{opacity:0;transform:translateY(5px) scale(.88)}16%,68%{opacity:1;transform:translateY(0) scale(1)}100%{opacity:0;transform:translateY(-5px) scale(.99)}}
@media(max-width:600px){.toss-grade{height:35px;min-height:35px}.toss-grade-word{font-size:28px}.toss-grade[data-level=excellent]:before,.toss-grade[data-level=excellent]:after{top:12px;width:10px;height:10px}.toss-grade[data-level=excellent]:before{left:calc(50% - 91px)}.toss-grade[data-level=excellent]:after{right:calc(50% - 91px)}}
@media(max-height:550px)and(orientation:landscape){.toss-grade{height:29px;min-height:29px}.toss-grade-word{font-size:24px}.toss-grade[data-level=excellent]:before,.toss-grade[data-level=excellent]:after{top:10px;width:8px;height:8px}.toss-grade[data-level=excellent]:before{left:calc(50% - 79px)}.toss-grade[data-level=excellent]:after{right:calc(50% - 79px)}}
@media(prefers-reduced-motion:reduce){.toss-grade .toss-grade-word{animation:none!important;transform:none!important;opacity:1}}

/* A single warm-to-cool cooking clock, above the three food-state marks. */
.stage .measurement-dock #riceStatus .cooking-metric{grid-column:1/-1;margin:0 0 2px;padding:7px 10px 6px;border:1px solid #f4bb5e40;border-radius:5px;background:linear-gradient(110deg,#d99c2c12,#121b15);min-width:0}
.stage .measurement-dock .cooking-metric .metric-caption>span{color:#ffe3a1;font-size:12px;font-weight:700;letter-spacing:.08em}.stage .measurement-dock .cooking-metric .metric-caption>b{color:#ead8b4;font-size:10px;font-weight:500}
.stage .measurement-dock .cooking-metric .readout-track{height:10px;margin:9px 0 6px;border-radius:3px;background:linear-gradient(90deg,#e44b38,#f6a238 12.5%,#e5cb49 25%,#63b96b 50%,#42b8c5 75%,#477de3);box-shadow:inset 0 1px 2px #0005}
.stage .measurement-dock .cooking-metric .readout-track>i{background:transparent}.stage .measurement-dock .cooking-metric .readout-track>em{top:-3px;height:16px;border:0;background:#ffe7a0;box-shadow:0 0 5px #ffce7366}
.stage .measurement-dock .cooking-metric .meter-needle{height:18px;top:-4px;width:3px;background:#fff;box-shadow:0 0 0 1px #16231b99,0 1px 3px #000;transform:translateX(-1.5px)}
.cooking-ends{display:flex;justify-content:space-between;gap:5px;color:#aab39d;font-size:8px;line-height:11px}.cooking-ends>span:nth-child(2){color:#dcc392}.cooking-metric[data-state=overcooked] .metric-caption>b{color:#f4ae91}
.combo-burst,.combo-burst[data-broken=true]{top:171px}
@media(max-width:600px){.stage .measurement-dock #riceStatus .cooking-metric{padding:6px 8px 5px}.stage .measurement-dock #riceStatus .cooking-metric .metric-caption>span{font-size:11px}.stage .measurement-dock #riceStatus .cooking-metric .metric-caption>b{font-size:9px}.cooking-ends{font-size:7px}.combo-burst,.combo-burst[data-broken=true]{top:169px}}
@media(max-height:550px)and(orientation:landscape){.stage .measurement-dock #riceStatus .cooking-metric{padding:4px 7px}.stage .measurement-dock .cooking-metric .readout-track{height:8px;margin:6px 0 3px}.stage .measurement-dock .cooking-metric .metric-caption>span{font-size:10px}.cooking-ends{font-size:7px;line-height:9px}.combo-burst,.combo-burst[data-broken=true]{top:152px}}

/* Glanceable conditions leave the attention on the wok, without moving needles
   or percentages. Fixed symbol widths keep a level change from shifting text. */
.stage .measurement-dock .rice-conditions{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;min-width:0}
.rice-condition{display:flex;align-items:center;justify-content:space-between;gap:6px;min-width:0;min-height:26px;line-height:1}
.rice-condition+.rice-condition{border-left:1px solid #c9d2b821;padding-left:14px}
.rice-conditions .rice-condition>span{color:#c3ccb7;font-size:10px;white-space:nowrap}
.rice-condition>b{display:block;flex:0 0 26px;height:26px;color:#d4b987;line-height:0}
.condition-symbols{position:absolute;width:0;height:0;overflow:hidden;pointer-events:none}
.rice-condition .condition-icon{display:block;width:100%;height:100%;overflow:visible}
.rice-condition[data-level=fair]>b{color:#d4b987}.rice-condition[data-level=good]>b{color:#b9d7b4}.rice-condition[data-level=optimal]>b{color:#ffe1a0}
@media(max-width:600px){.stage .measurement-dock .rice-conditions{gap:10px}.rice-condition+.rice-condition{padding-left:10px}.rice-condition{gap:4px;min-height:25px}.rice-conditions .rice-condition>span{font-size:9px}.rice-condition>b{flex-basis:25px;height:25px}}
@media(max-width:355px){.stage .measurement-dock .rice-conditions{gap:7px}.rice-condition+.rice-condition{padding-left:7px}.rice-conditions .rice-condition>span{font-size:8px}}
@media(max-height:550px)and(orientation:landscape){.rice-condition{min-height:23px}.rice-conditions .rice-condition>span{font-size:9px}.rice-condition>b{flex-basis:24px;height:24px}}

/* Share the dish where its name is read, with generous touch targets. */
.result-share-area{margin:13px 0 18px;max-width:560px}
.result-share-actions{display:grid;grid-template-columns:1.1fr 1fr;gap:10px}
.result-share-actions>a,.result-share-actions>button{display:flex;align-items:center;justify-content:center;gap:9px;min-width:0;min-height:52px;padding:13px 17px;border-radius:7px;font-family:var(--sans);font-size:13px;font-weight:600;line-height:1.5;letter-spacing:.015em;text-align:center;text-decoration:none;touch-action:manipulation;cursor:pointer;transition:filter .15s,transform .15s}
.result-share-primary{color:#1a241a;background:linear-gradient(135deg,#f5dfa5,#d6b46b);border:1px solid #f4dda5;box-shadow:0 4px 15px #0a10094d,inset 0 1px 0 #fff4d880}
.result-share-secondary{color:#e6d5ad;background:#232c20;border:1px solid #c9b27b80;box-shadow:inset 0 1px 0 #fff0c008}
.result-share-actions svg{flex:0 0 18px;width:18px;height:22px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.result-share-actions span{min-width:0;overflow-wrap:anywhere}
.result-share-actions>a:hover,.result-share-actions>button:not(:disabled):hover{filter:brightness(1.08);transform:translateY(-1px)}
.result-share-actions>a:focus-visible,.result-share-actions>button:focus-visible{outline:2px solid #fff0bd;outline-offset:3px}
.result-share-actions>button:disabled{opacity:.5;cursor:default}
.result-share-area .control-note{margin:8px 0 0;line-height:1.7;font-size:10px;color:#aeb7a1}
.result-share-area #photoPreview{margin-top:12px}
@media(max-width:600px){.result-share-area{margin:12px 0 16px}.result-share-actions{gap:8px}.result-share-actions>a,.result-share-actions>button{font-size:11px;min-height:50px;padding:11px 10px;gap:7px}.result-share-actions svg{flex-basis:16px;width:16px;height:20px}.result-share-area .control-note{font-size:9px}}
@media(prefers-reduced-motion:reduce){.result-share-actions>a,.result-share-actions>button{transition:none}.result-share-actions>a:hover,.result-share-actions>button:hover{transform:none}}
@media(max-width:355px){.result-share-actions>a,.result-share-actions>button{padding-left:8px;padding-right:8px;gap:6px}}

/* A low-profile readout keeps the airborne rice clear, without shrinking the
   cooking clock into an unreadable line. All marks remain on one compact row. */
.stage>.measurement-dock{grid-template-rows:auto;top:34px;padding:5px 10px 6px}
.stage .measurement-dock #riceStatus{row-gap:4px;column-gap:12px}
.stage .measurement-dock .status-heading{min-height:10px;line-height:10px}
.stage .measurement-dock .status-heading h3,.stage .measurement-dock .status-heading small{font-size:8px;line-height:10px}
.stage .measurement-dock #riceStatus .cooking-metric{display:grid;grid-template-columns:48px minmax(0,1fr) 80px;grid-template-rows:14px 9px;align-items:center;gap:1px 8px;padding:4px 7px;margin:0}
.stage .measurement-dock #riceStatus .cooking-metric .metric-caption{display:contents}
.stage .measurement-dock #riceStatus .cooking-metric .metric-caption>span{grid-column:1;grid-row:1;font-size:10px;line-height:12px;letter-spacing:.03em}
.stage .measurement-dock #riceStatus .cooking-metric .metric-caption>b{grid-column:3;grid-row:1;font-size:9px;line-height:12px;text-align:right;white-space:nowrap}
.stage .measurement-dock #riceStatus .cooking-metric .readout-track{grid-column:2;grid-row:1;height:7px;margin:0}
.stage .measurement-dock #riceStatus .cooking-metric .readout-track>em{height:12px;top:-2.5px}
.stage .measurement-dock #riceStatus .cooking-metric .meter-needle{height:13px;top:-3px}
.stage .measurement-dock .cooking-ends{grid-column:1/-1;grid-row:2;font-size:7px;line-height:9px}
.stage .measurement-dock .rice-conditions{gap:10px}
.stage .measurement-dock .rice-condition{min-height:20px;gap:4px}
.stage .measurement-dock .rice-condition+.rice-condition{padding-left:10px}
.stage .measurement-dock .rice-conditions .rice-condition>span{font-size:9px}
.stage .measurement-dock .rice-condition>b{flex-basis:20px;height:20px}
@media(max-width:600px){.stage>.measurement-dock{top:31px;padding:4px 8px 5px}.stage .measurement-dock #riceStatus{row-gap:3px}.stage .measurement-dock #riceStatus .cooking-metric{grid-template-columns:44px minmax(0,1fr) 76px;grid-template-rows:13px 9px;padding:3px 6px;column-gap:7px}.stage .measurement-dock #riceStatus .cooking-metric .metric-caption>b{font-size:8px}}
@media(max-width:355px){.stage .measurement-dock .rice-conditions{gap:7px}.stage .measurement-dock .rice-condition+.rice-condition{padding-left:7px}.stage .measurement-dock .rice-conditions .rice-condition>span{font-size:8px}.stage .measurement-dock .rice-condition>b{flex-basis:19px;height:19px}}
@media(max-height:550px)and(orientation:landscape){.stage>.measurement-dock{top:29px;padding:4px 8px 5px}.stage .measurement-dock #riceStatus{row-gap:2px}.stage .measurement-dock #riceStatus .cooking-metric{grid-template-rows:12px 9px;padding:3px 6px}.stage .measurement-dock .rice-condition{min-height:19px}.stage .measurement-dock .rice-condition>b{flex-basis:19px;height:19px}}
