:root{--paper:#f6f2e8;--surface:#fffcf5;--ink:#263c32;--red:#ab422f;--muted:#657151;--line:#d8d2c2;--body:"Zen Maru Gothic","Yu Gothic",sans-serif;--display:"Shippori Mincho","Yu Mincho",serif}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:24px}body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--body);font-weight:500;line-height:1.8;line-break:strict;-webkit-font-smoothing:antialiased}
body:before{content:"";position:fixed;inset:0;z-index:10;pointer-events:none;opacity:.035;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23263c32' filter='url(%23n)' opacity='.7' d='M0 0h180v180H0z'/%3E%3C/svg%3E")}
button,input{font:inherit;color:inherit}button,a,input,summary{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}a{color:inherit;text-decoration:none}a:hover{text-decoration:underline;text-underline-offset:5px}button{transition:transform .16s ease-out,background-color .16s ease-out}button:active:not(:disabled){transform:translateY(2px)}:focus-visible{outline:3px solid var(--red);outline-offset:4px}input:focus-visible{outline-offset:1px}fieldset{padding:0;margin:0;border:0;min-width:0}h1,h2,p{margin:0}h1,h2{font-family:var(--display);font-weight:800;line-height:1.45}input{min-width:0;font-variant-numeric:tabular-nums}b,strong,output{font-variant-numeric:tabular-nums}input[aria-invalid=true]{color:var(--red)}[hidden]{display:none!important}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:fixed;left:20px;top:-100px;background:var(--surface);padding:16px;z-index:30}.skip-link:focus{top:12px}
.site-header{border-top:5px solid var(--ink);border-bottom:1px solid var(--line);background:var(--surface)}.header-inner{max-width:1200px;margin:auto;min-height:88px;display:flex;align-items:center;justify-content:space-between;padding:12px 24px;gap:16px}.brand{display:flex;gap:12px;align-items:center;font-family:var(--display);font-size:23px;font-weight:800;line-height:1.4;letter-spacing:.05em}.brand:hover{text-decoration:none}.brand-bowl{width:48px;height:48px}.brand-sub{font:500 11px/1.8 var(--body);letter-spacing:.15em;display:block;margin-top:4px}.header-inner nav{display:flex;gap:28px;align-items:center;font-size:13px}.header-inner nav a{padding:12px 0}.unofficial{font-size:11px;border:1px solid var(--muted);border-radius:3px;padding:2px 8px;white-space:nowrap}
main{max-width:1200px;margin:0 auto;padding:0 24px}.hero{display:grid;grid-template-columns:1.05fr 1fr;align-items:center;position:relative;min-height:310px;padding:40px 0 32px}.hero-copy{position:relative;z-index:1}.eyebrow{font-size:12px;font-weight:700;letter-spacing:.14em;display:flex;align-items:center;gap:8px}.eyebrow>span{width:18px;height:1px;background:var(--red)}h1{font-size:clamp(32px,3.3vw,46px);letter-spacing:.03em;margin:12px 0 16px}h1 span{color:var(--red)}.hero-description{font-size:13px;line-height:1.9}.hero-art{position:relative;align-self:stretch;display:flex;align-items:center;justify-content:center}.hero-art img{width:100%;height:270px;object-fit:contain;mix-blend-mode:multiply}.art-note{position:absolute;left:4%;top:12px;font-size:12px;line-height:1.6;transform:rotate(-8deg);font-weight:700;z-index:1}
.workspace{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:32px;align-items:start}.controls-column{min-width:0}.section{background:var(--surface);border-radius:8px;padding:28px 32px 24px;margin-bottom:24px;box-shadow:0 1px 1px #263c3210,0 4px 20px #263c3205}.section-heading{display:flex;align-items:center;gap:14px;margin-bottom:24px}.step-number{width:38px;height:44px;display:grid;place-items:center;color:var(--red);background:#ab422f0b;font-family:var(--display);font-size:23px;border:1px solid #ab422f35;border-radius:5px}.section-heading h2{font-size:24px;letter-spacing:.04em}.section-eyebrow{font-size:11px;letter-spacing:.08em;color:var(--muted);margin-bottom:2px}.section-tag{font-size:11px;color:var(--muted);margin-left:auto;white-space:nowrap}
.walk-inputs{display:grid;grid-template-columns:1fr 1fr .85fr;gap:20px;align-items:start}.field label,.refill-row label{display:block;font-size:13px;font-weight:700;margin-bottom:8px}.number-field{display:flex;align-items:center;border:1px solid var(--muted);border-radius:6px;background:var(--surface);padding-right:16px;height:54px}.number-field input{border:0;background:transparent;width:100%;font-size:26px;font-weight:700;padding:5px 12px;text-align:center;height:100%;border-radius:6px}.number-field span{font-size:13px}.roundtrip-note{display:flex;gap:8px;align-items:center;justify-content:center;padding:30px 0 0;color:var(--muted);font-size:11px}.roundtrip-note svg{width:30px;height:30px}.roundtrip-note strong{display:block;color:var(--ink);font-size:24px;line-height:1.3}.roundtrip-note strong span{font-size:12px;font-weight:500}.speed-field{margin-top:22px}.speed-field legend,.portion-field legend{font-size:13px;font-weight:700;margin-bottom:10px}.speed-field legend>span{font-weight:400;color:var(--muted);font-size:11px;margin-left:4px}.speed-options{display:grid;grid-template-columns:repeat(5,1fr);gap:8px}.speed-options label{position:relative;cursor:pointer}.speed-options input,.meal-option input{position:absolute;width:1px;height:1px;opacity:0}.speed-options label>span{display:flex;flex-direction:column;align-items:center;justify-content:center;border:1px solid var(--muted);border-radius:6px;min-height:64px;transition:background .16s}.speed-options b{font-size:20px;line-height:1.2}.speed-options small{font-size:10px;margin-top:4px}.speed-options input:checked+span{background:var(--ink);border-color:var(--ink);color:var(--surface)}.speed-options input:focus-visible+span,.meal-option input:focus-visible+.meal-card{outline:3px solid var(--red);outline-offset:3px}.speed-options label:hover>span{background:#263c3209}.speed-options label:hover input:checked+span{background:var(--ink)}
.walking-route{display:flex;align-items:center;gap:12px;margin-top:24px;font-size:10px;color:var(--muted)}.route-line{flex:1;border-bottom:2px dotted #65715160;height:24px;position:relative}.walker{position:absolute;width:22px;height:30px;left:45%;bottom:0;color:var(--ink)}.walker.walking{animation:walk-hop .4s ease-out}.route-home,.route-shop{padding:2px 5px;border-bottom:1px solid var(--muted)}.route-distance{margin-left:4px;white-space:nowrap;font-variant-numeric:tabular-nums}
.menu-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:-6px 0 16px}.filters{display:flex;gap:4px}.filter{border:0;background:transparent;font-size:12px;font-weight:700;border-radius:4px;padding:8px 14px;min-height:44px}.filter.active{color:var(--surface);background:var(--ink)}.filter:not(.active):hover{background:#263c3209}.micro{font-size:11px;color:var(--muted);line-height:1.8}.menu-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.meal-option{position:relative;cursor:pointer;display:block}.meal-card{position:relative;height:100%;min-height:142px;padding:10px 10px 12px;border:1px solid var(--line);border-radius:6px;text-align:center;background:var(--surface);display:flex;flex-direction:column;align-items:center;transition:background-color .16s}.meal-option:hover .meal-card{background:#6571510b}.meal-option input:checked+.meal-card{border:2px solid var(--red);padding:9px 9px 11px;background:#ab422f05}.selection-check{position:absolute;right:5px;top:5px;display:none;background:var(--red);color:var(--surface);border-radius:50%;width:18px;height:18px;font-size:11px;line-height:18px}.meal-option input:checked+.meal-card .selection-check{display:block}.dish-art{height:51px;width:78px;flex-shrink:0;margin:2px 0 7px}.meal-name{font-size:12px;font-weight:700;line-height:1.55;flex:1;display:flex;align-items:center;justify-content:center;min-height:38px}.meal-calories{font-size:11px;color:var(--muted);margin-top:5px}.meal-calories b{font-size:16px;color:var(--ink)}.menu-note{font-size:11px;color:var(--muted);margin-top:14px}.rice-section{position:relative}.rice-stamp{margin-left:auto;border:2px solid var(--red);color:var(--red);border-radius:50%;font-family:var(--display);font-size:12px;line-height:1.3;width:56px;height:56px;display:grid;align-content:center;text-align:center;transform:rotate(9deg);opacity:.85}
.rice-counter-scene{background:#65715108;border-radius:8px;padding:20px 16px 12px;margin-bottom:24px;min-height:130px;position:relative;overflow:hidden}.bowls{display:flex;flex-wrap:wrap;align-items:end;justify-content:center;gap:10px;min-height:65px}.bowl{width:60px;height:62px;position:relative;flex:0 0 60px}.bowl svg{width:100%;height:100%;overflow:visible}.bowl-first{opacity:.65}.bowl-pop{animation:bowl-pop .36s cubic-bezier(.2,.85,.35,1.2)}.bowl-count-extra{font-size:18px;font-weight:700;align-self:center}.bowl-caption{font-size:12px;text-align:center;margin-top:10px}.bowl-caption strong{color:var(--red)}.refill-row{display:flex;align-items:end;justify-content:space-between;gap:20px}.stepper{display:flex;align-items:center;height:54px;border:1px solid var(--muted);border-radius:6px;overflow:hidden;background:var(--surface)}.stepper button{border:0;border-right:1px solid var(--line);background:transparent;font-size:24px;width:48px;height:100%;flex-shrink:0}.stepper input{font-size:26px;font-weight:700;border:0;background:transparent;text-align:center;width:64px;height:100%}.stepper>span{font-size:12px;padding-right:16px}.refill-button{background:var(--red);color:var(--surface);border:0;border-bottom:4px solid #263c3280;border-radius:8px;height:58px;padding:8px 20px;display:flex;align-items:center;gap:10px;font-size:20px;font-weight:700;box-shadow:0 2px 1px #263c3210;white-space:nowrap}.refill-button svg{width:28px;height:28px}.refill-button>span{font-size:12px;font-weight:500;opacity:.9}.refill-button:active:not(:disabled){border-bottom-width:2px;transform:translateY(2px)}.portion-field{margin-top:24px}.portion-options{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.portion-options button{display:flex;align-items:center;flex-direction:column;justify-content:center;border:1px solid var(--muted);border-radius:6px;min-height:64px;background:transparent}.portion-options button>span{font-size:11px}.portion-options b{font-size:18px;line-height:1.4}.portion-options small{font-size:11px;font-weight:400}.portion-options button.selected{background:var(--ink);color:var(--surface);border-color:var(--ink)}.portion-options button:hover:not(.selected){background:#263c3209}.custom-rice{display:flex;align-items:center;gap:12px;font-size:12px;margin-top:16px}.small-number{display:flex;align-items:center;border:1px solid var(--muted);border-radius:4px;padding-right:8px;background:var(--surface)}.small-number input{width:60px;border:0;background:transparent;text-align:center;font-size:16px;height:44px}.custom-rice>span{color:var(--muted);margin-left:auto;font-size:11px}.rice-footnote{margin-top:16px}
.result-column{position:sticky;top:24px;min-width:0;padding-top:7px}.receipt{background:var(--surface);position:relative;padding:26px 26px 20px;filter:drop-shadow(0 5px 8px #263c320d)}.receipt:before,.receipt:after{position:absolute;content:"";height:8px;left:0;right:0;background:var(--surface);clip-path:polygon(0 100%,0 0,2% 70%,4% 0,6% 70%,8% 0,10% 70%,12% 0,14% 70%,16% 0,18% 70%,20% 0,22% 70%,24% 0,26% 70%,28% 0,30% 70%,32% 0,34% 70%,36% 0,38% 70%,40% 0,42% 70%,44% 0,46% 70%,48% 0,50% 70%,52% 0,54% 70%,56% 0,58% 70%,60% 0,62% 70%,64% 0,66% 70%,68% 0,70% 70%,72% 0,74% 70%,76% 0,78% 70%,80% 0,82% 70%,84% 0,86% 70%,88% 0,90% 70%,92% 0,94% 70%,96% 0,98% 70%,100% 0,100% 100%)}.receipt:before{top:-7px}.receipt:after{bottom:-7px;transform:rotate(180deg)}.receipt-top{text-align:center;border-bottom:1px dashed var(--muted);padding-bottom:16px;margin-bottom:20px}.receipt-kicker{font-size:10px;letter-spacing:.18em;color:var(--muted)}.receipt h2{font-size:22px;margin:10px 0 18px;line-height:1.6;letter-spacing:.04em}.receipt h2 span{position:relative}.receipt h2 span:after{position:absolute;bottom:-3px;left:0;right:0;content:"";height:3px;background:var(--red);opacity:.5;transform:rotate(-2deg)}.receipt-meta{display:flex;justify-content:space-between;font-size:9px;color:var(--muted)}.receipt-line{display:flex;justify-content:space-between;gap:12px;font-size:12px;margin:16px 0;align-items:baseline}.receipt-line>span:first-child{min-width:0}.receipt-line>span:last-child{white-space:nowrap;flex-shrink:0;font-size:10px}.receipt-line b{font-size:17px}.receipt-line small{display:block;font-size:10px;color:var(--muted)}.meal-line{font-size:12px}.subtotal{border-top:1px solid var(--line);padding-top:14px;font-weight:700}.subtotal b{font-size:24px}.walk-line{padding-top:16px;margin-top:16px;border-top:1px dashed var(--muted);padding-bottom:18px;margin-bottom:0}.walk-line b{font-size:24px}.receipt-total{border-top:3px double var(--ink);padding:22px 0 16px;text-align:center}.receipt-total>p:first-child{font-size:12px;font-weight:700;letter-spacing:.08em}.receipt-total>div{display:flex;justify-content:center;align-items:baseline;gap:6px;margin-top:4px;color:var(--red);white-space:nowrap}.receipt-total output{font-size:clamp(36px,4vw,52px);line-height:1.3;font-weight:700;letter-spacing:-.055em}.receipt-total .approx{font-size:12px}.receipt-total .kcal{font-size:14px}.balance-caption{font-size:11px;margin-top:8px;color:var(--muted)}.receipt-bottom{text-align:center;border-top:1px dashed var(--line);padding-top:18px}.receipt-bottom svg{width:66px;height:32px;color:var(--muted)}.receipt-bottom p{font-family:var(--display);font-size:13px;font-weight:700;margin:0 0 14px}.receipt-disclaimer{font-size:10px;text-align:center;line-height:1.8;color:var(--muted)}.calculation-details{margin-top:18px;border-top:1px solid var(--line);font-size:11px}.calculation-details summary{display:flex;align-items:center;justify-content:space-between;cursor:pointer;min-height:48px;list-style:none}.calculation-details summary::-webkit-details-marker{display:none}.calculation-details summary>span{font-size:18px}.calculation-details[open] summary>span{transform:rotate(45deg)}.calculation-details>div{padding:8px 0}.calculation-details p{margin:8px 0}.calculation-details code{font:500 11px/1.8 var(--body);display:block;overflow-wrap:anywhere;background:#6571510a;padding:8px;border-radius:4px}.reset-button{display:block;margin:18px auto 0;border:0;background:transparent;font-size:12px;color:var(--muted);padding:10px 20px;min-height:44px}.reset-button span{font-size:18px;margin-right:5px}.reset-button:hover{color:var(--ink)}
.field-error{font-size:11px;color:var(--red);line-height:1.7;margin-top:6px}.result-error{border:1px solid var(--red);padding:12px;color:var(--red);background:#ab422f08;margin:12px 0;font-size:12px}.result-error strong{font-size:13px}.receipt.invalid .receipt-line,.receipt.invalid .receipt-total{opacity:.5}
.about{display:grid;grid-template-columns:1fr 1.5fr;gap:64px;padding:48px 0 56px;border-top:1px solid var(--line);margin-top:24px}.about .eyebrow{color:var(--muted);font-size:11px}.about h2{font-size:25px;line-height:1.7;margin-top:12px}.about-copy{font-size:12px;line-height:1.9}.about-copy>p+p{margin-top:12px}.sources{border-top:1px solid var(--line);margin-top:20px}.sources summary{cursor:pointer;padding:12px 0;min-height:48px;font-size:12px}.sources summary span{float:right;color:var(--muted);font-size:10px}.sources ul{padding-left:18px;font-size:11px;line-height:2.5}.sources a{text-decoration:underline;text-underline-offset:3px}.sources a:hover{color:var(--red)}
footer{border-top:1px solid var(--line);padding:28px 24px 32px;text-align:center;background:var(--surface)}.footer-brand{font-family:var(--display);font-size:16px;font-weight:700;letter-spacing:.1em}footer p{font-size:10px;color:var(--muted);margin-top:12px;line-height:1.9}.mobile-result{display:none}.no-script{position:fixed;bottom:0;left:0;right:0;z-index:50;padding:24px;background:var(--surface);color:var(--red);border:2px solid var(--red)}
@keyframes bowl-pop{0%{transform:translateY(-12px) scale(.7);opacity:0}65%{transform:translateY(2px) scale(1.05);opacity:1}100%{transform:translateY(0) scale(1);opacity:1}}@keyframes walk-hop{0%,100%{transform:translateY(0)}30%{transform:translate(4px,-5px) rotate(-6deg)}65%{transform:translate(8px,0) rotate(3deg)}}
@media(min-width:1250px){.hero{min-height:330px}.hero-art img{height:290px}.hero h1{font-size:48px}}
@media(max-width:1000px){.workspace{grid-template-columns:minmax(0,1fr) 300px;gap:20px}.section{padding:24px}.receipt{padding:24px 20px 18px}.walk-inputs{gap:12px}.hero-description{font-size:12px}.hero-art img{height:240px}.art-note{top:5px;font-size:11px}.refill-button{padding:8px 14px;font-size:18px}.refill-button>span{display:none}.menu-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.section-heading h2{font-size:22px}.section-tag{display:none}.roundtrip-note{gap:4px}.roundtrip-note svg{display:none}}
@media(max-width:760px){.header-inner{min-height:76px;padding:12px 20px}.brand{font-size:19px;gap:8px}.brand-bowl{width:40px;height:40px}.brand-sub{font-size:9px}.header-inner nav{gap:12px}.header-inner nav a{font-size:11px}.unofficial{font-size:10px;padding:1px 6px}main{padding:0 20px;max-width:600px}.hero{grid-template-columns:1fr;padding:28px 0 20px;min-height:0;gap:4px}.hero h1{font-size:36px;margin:10px 0 12px}.hero-description{font-size:12px}.hero-art{height:175px;margin-top:8px;justify-content:flex-end}.hero-art img{height:205px;width:80%;object-fit:contain}.art-note{left:2%;top:34px;font-size:11px}.eyebrow{font-size:10px}.workspace{display:block}.section{padding:24px 20px;margin-bottom:20px}.section-heading{gap:12px;margin-bottom:20px}.section-heading h2{font-size:22px}.step-number{width:34px;height:40px;font-size:21px}.section-tag{display:block;font-size:10px}.section-eyebrow{font-size:10px}.walk-inputs{grid-template-columns:1fr 1fr;gap:16px}.roundtrip-note{grid-column:1/-1;justify-content:flex-end;padding:0;margin-top:-8px;font-size:11px}.roundtrip-note svg{display:block;width:22px;height:22px}.roundtrip-note>span{display:flex;align-items:center;gap:10px}.roundtrip-note strong{font-size:20px}.speed-field{margin-top:16px}.speed-options{gap:6px}.speed-options small{font-size:9px}.speed-options b{font-size:19px}.walking-route{gap:8px;margin-top:20px}.route-distance{font-size:9px}.menu-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.menu-toolbar{flex-wrap:wrap;gap:8px}.menu-toolbar .micro{font-size:10px}.filter{padding:8px 12px}.meal-card{min-height:140px}.meal-name{font-size:12px}.menu-note{font-size:10px}.rice-stamp{width:50px;height:50px;font-size:11px}.rice-counter-scene{padding:16px 8px 12px}.bowls{gap:4px}.bowl{width:52px;flex-basis:52px;height:58px}.bowl-caption{font-size:11px}.refill-row{gap:12px}.refill-button{font-size:18px;padding:8px 14px;gap:8px}.refill-button svg{width:24px}.refill-button>span{display:none}.stepper input{width:46px}.stepper button{width:44px}.stepper>span{padding-right:12px}.portion-options{gap:6px}.custom-rice{gap:8px;font-size:11px}.custom-rice>span{font-size:10px}.rice-footnote{font-size:10px}.result-column{position:static;padding-top:12px;margin-bottom:32px}.receipt{padding:28px 28px 20px;max-width:400px;margin:auto}.receipt h2{font-size:24px}.receipt-line{font-size:13px}.receipt-total output{font-size:56px}.receipt-disclaimer{font-size:11px}.receipt-meta{font-size:10px}.about{grid-template-columns:1fr;gap:24px;padding:32px 0 36px;margin-top:12px}.about h2{font-size:24px}.about-copy{font-size:12px}footer{padding-bottom:108px}.mobile-result{display:flex;position:fixed;z-index:20;left:12px;right:12px;bottom:max(12px,env(safe-area-inset-bottom));max-width:560px;margin:auto;align-items:center;justify-content:space-between;gap:12px;background:var(--ink);color:var(--surface);padding:12px 16px;border-radius:8px;box-shadow:0 3px 16px #263c3226;min-height:60px}.mobile-result:hover{text-decoration:none}.mobile-result>span{font-size:10px}.mobile-result strong{font-size:22px;font-weight:700;white-space:nowrap}.mobile-result small{font-size:11px;font-weight:500}.mobile-result>span:last-child{font-size:10px}.mobile-result.is-hidden{display:none}}
@media(max-width:374px){main{padding:0 12px}.header-inner{padding:12px}.header-inner nav a{display:none}.hero h1{font-size:32px}.section{padding:22px 16px}.refill-button{padding:8px 12px}.mobile-result{gap:8px;padding:12px}.mobile-result strong{font-size:20px}.section-tag{display:none}}
/* Readability pass: keep menu tickets compact while giving labels a clear voice. */
.brand>span{white-space:nowrap}
.meal-card{min-height:126px}
.dish-art{height:40px;width:68px;margin:0 0 6px}
.meal-name{font-size:13px}
.hero-description{font-size:14px}
.field label,.refill-row label,.speed-field legend,.portion-field legend{font-size:14px}
.receipt-disclaimer{font-size:11px}
.about-copy{font-size:16px;line-height:1.85}
.about{grid-template-columns:1fr 1.7fr}
.sources ul{font-size:12px;line-height:2.4}
@media(max-width:760px){
  .hero-description{font-size:13px}
  .meal-card{min-height:120px}
  .meal-name{font-size:13px}
  .about{grid-template-columns:1fr}
  .about-copy{font-size:15px}
  .rice-footnote,.menu-note{font-size:11px}
  .receipt-disclaimer{font-size:12px}
}
@media(max-width:480px){
  .header-inner nav a{display:none}
  .header-inner nav{gap:0}
  .brand{font-size:19px}
  .brand-sub{font-size:9px}
  .hero-art{height:150px}
  .hero-art img{height:180px}
  .hero{padding-bottom:20px}
}
.brand-sub,.unofficial,.section-eyebrow,.section-tag,.micro,.menu-toolbar .micro,
.speed-options small,.walking-route,.route-distance,.speed-field legend>span,
.meal-calories,.menu-note,.bowl-caption,.portion-options button>span,.portion-options small,
.custom-rice,.custom-rice>span,.rice-footnote,.receipt-kicker,.receipt-meta,
.receipt-line>span:last-child,.receipt-line small,.balance-caption,.receipt-disclaimer,
.calculation-details,.calculation-details code,.sources summary span,.field-error,footer p,
.mobile-result>span,.mobile-result>span:last-child,.mobile-result small{font-size:12px}
.custom-rice{flex-wrap:wrap}.brand-sub{letter-spacing:.05em}
@media(max-width:480px){.brand-sub{font-size:10px}.mobile-result>span:last-child{font-size:11px}.section-tag{display:none}.hero-description .intro-break{display:block}}
/* Copy simplification: a compact functional title replaces the illustrated hero. */
.page-intro{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:128px;padding:20px 8px}
.page-intro h1{font-size:28px;margin:0;letter-spacing:.04em}
.page-mascot{width:68px;height:81px;object-fit:contain;flex-shrink:0}
.walker{width:34px;height:37px;object-fit:contain}
.speed-options label>span{min-height:52px}
.receipt h2{font-size:24px;margin:0 0 16px}
.receipt-total{padding-bottom:22px}
.about{display:block;padding:0;margin:24px 0 32px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.about>summary{cursor:pointer;min-height:64px;padding:20px 4px;font-size:14px;font-weight:700}
.about-copy{max-width:none;padding:0 4px 24px}
footer p{margin-top:0}
@media(max-width:760px){.page-intro{min-height:104px;padding:16px 0}.page-intro h1{font-size:24px}.page-mascot{width:54px;height:64px}.about{margin:12px 0 24px}}
/* Three inputs followed by one full-width result. */
main,.header-inner{max-width:1328px}
.page-intro{min-height:88px;padding:20px 0}
.workspace{display:block}
.controls-column{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;align-items:start}
.section{min-width:0;padding:24px;margin:0}
.section-heading{gap:12px;margin-bottom:24px;min-height:44px}
.section-heading h2{font-size:22px;letter-spacing:0}
.step-number{width:32px;height:40px;font-size:21px;flex-shrink:0}
.section-tag{display:none}
.walk-inputs{grid-template-columns:1fr 1fr;gap:16px}
.roundtrip-note{grid-column:1/-1;justify-content:flex-end;padding:0;font-size:12px}
.roundtrip-note svg{display:block;width:24px;height:24px}
.roundtrip-note>span{display:flex;align-items:center;gap:8px}
.roundtrip-note strong{font-size:20px}
.speed-field{margin-top:24px}
.speed-options{gap:6px}
.walking-distance{font-size:12px;color:var(--muted);margin-top:20px;text-align:right}
.menu-toolbar{display:block;margin:-8px 0 12px}
.menu-toolbar .micro{display:block;margin-top:8px}
.filters{gap:4px}
.filter{padding:8px 16px}
.menu-grid{display:block;max-height:280px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--muted) var(--paper);padding:4px 8px 4px 4px;margin:-4px -8px -4px -4px}
.meal-option+.meal-option{margin-top:8px}
.meal-card{display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:8px;padding:8px;min-height:48px;text-align:left}
.meal-option input:checked+.meal-card{padding:7px}
.dish-art{width:42px;height:30px;margin:0}
.meal-name{display:block;min-height:0;font-size:13px;line-height:1.5}
.meal-calories{font-size:10px;margin:0;white-space:nowrap}
.meal-calories b{font-size:15px}
.selection-check{width:12px;height:12px;font-size:8px;line-height:12px;right:auto;left:3px;top:3px}
.rice-stamp{width:44px;height:44px;font-size:10px;flex-shrink:0}
.rice-section .section-heading{margin-bottom:16px}
.rice-counter-scene{padding:8px;margin-bottom:12px;min-height:80px}
.bowls{gap:4px;min-height:40px;flex-wrap:nowrap}
.bowl{width:44px;height:40px;flex:0 1 44px;min-width:0}
.bowl-count-extra{flex-shrink:0;white-space:nowrap;font-size:14px}
.bowl-caption{font-size:12px;margin-top:8px}
.refill-row{gap:12px}
.stepper input{width:40px}
.stepper button{width:44px}
.stepper>span{padding-right:10px}
.refill-button{font-size:18px;padding:8px 12px;gap:6px;justify-content:center;flex:1}
.refill-button svg{width:24px;height:24px}
.refill-button>span{display:none}
.portion-field{margin-top:16px}
.portion-field legend{line-height:1.5;margin-bottom:8px}
.portion-options{gap:6px}
.custom-rice{gap:8px}
.rice-footnote{font-size:12px;line-height:1.7;margin-top:12px}
.result-column{position:static;padding-top:0;margin:40px 0 32px}
.receipt{max-width:none;margin:0;padding:24px 40px 16px}
.receipt-top{display:flex;align-items:center;justify-content:space-between;padding:0 0 16px;margin:0;border-bottom:1px dashed var(--line)}
.receipt h2{margin:0;font-size:22px}
.receipt-meta{font-size:12px}
.receipt-total{border:0;padding:20px 0 16px}
.receipt-total output{font-size:96px;line-height:1.15;letter-spacing:0}
.receipt-total>div{gap:12px;margin-top:0}
.receipt-total .kcal{font-size:20px}
.receipt-total .approx{font-size:14px}
.result-equation{display:flex;align-items:center;justify-content:center;gap:32px;padding:16px 0;margin:0 auto 16px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);max-width:480px;text-align:center}
.result-equation>div{min-width:120px}
.result-equation span{font-size:12px;color:var(--muted)}
.result-equation p{line-height:1.4}
.result-equation b{font-size:24px}
.result-equation small{font-size:12px}
.result-equation .equation-minus{font-size:24px;transform:translateY(12px)}
.receipt.invalid .result-equation{opacity:.5}
.calculation-details{max-width:640px;margin:16px auto 0;font-size:12px}
.calculation-details code{font-size:12px}
.receipt-line{margin:12px 0}
.receipt-disclaimer{font-size:12px}
.reset-button{margin-top:16px}
@media(max-width:1079px){
  main{max-width:640px;padding:0 24px}
  .controls-column{grid-template-columns:1fr;gap:20px}
  .section{padding:24px}
  .page-intro{min-height:80px}
  .page-intro h1{font-size:24px}
  .result-column{margin-top:32px}
  .receipt{padding:24px}
  .receipt-total output{font-size:72px}
  .mobile-result{display:flex;position:fixed;z-index:20;left:12px;right:12px;bottom:max(12px,env(safe-area-inset-bottom));max-width:560px;margin:auto;align-items:center;justify-content:space-between;gap:12px;background:var(--ink);color:var(--surface);padding:12px 16px;border-radius:8px;box-shadow:0 3px 16px #263c3226;min-height:60px}
  .mobile-result:hover{text-decoration:none}
  .mobile-result>span{font-size:12px}
  .mobile-result strong{font-size:22px;white-space:nowrap}
  .mobile-result small{font-size:12px;font-weight:500}
  .mobile-result.is-hidden{display:none}
  footer{padding-bottom:108px}
}
@media(max-width:480px){
  main{padding:0 16px}
  .section{padding:20px}
  .section-heading{gap:10px;margin-bottom:20px}
  .section-heading h2{font-size:21px}
  .rice-stamp{width:40px;height:40px}
  .receipt{padding:24px 20px 16px}
  .receipt-total output{font-size:64px}
  .receipt-total>div{gap:8px}
  .receipt-total .kcal{font-size:16px}
  .result-equation{gap:20px}
  .result-equation>div{min-width:88px}
  .mobile-result>span:last-child{font-size:11px}
}
@media(max-width:374px){
  main{padding:0 12px}
  .section{padding:20px 16px}
  .section-heading h2{font-size:19px}
  .receipt{padding:20px 16px 12px}
  .receipt-total output{font-size:52px}
  .mobile-result{padding:12px;gap:8px}
  .mobile-result strong{font-size:20px}
  .refill-button{font-size:17px;padding:8px}
}
.extras{margin-top:16px;border-top:1px solid var(--line)}
.extras>summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:64px;padding:12px 0 0;cursor:pointer;font-size:14px;font-weight:700}
.extras>summary::-webkit-details-marker{display:none}
.extras>summary small{display:block;font-size:12px;font-weight:500;color:var(--muted);margin-top:2px}
.extras.has-selection>summary small{color:var(--red)}
.extras-toggle{font-size:22px;flex-shrink:0}
.extras[open] .extras-toggle{transform:rotate(45deg)}
.extras-list{max-height:156px;overflow-y:auto;overscroll-behavior:contain;padding:4px 4px 0;margin:12px -4px 0;scrollbar-width:thin;scrollbar-color:var(--muted) var(--paper)}
.extras-list legend{font-size:12px;font-weight:700;color:var(--muted)}
.extras-list fieldset+fieldset{margin-top:20px}
.extras-note{font-size:12px;color:var(--muted);line-height:1.7;margin:8px 0}
.extra-row{display:flex;gap:8px;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding:8px 0}
.extra-row label{display:flex;gap:8px;align-items:center;min-width:0;flex:1;min-height:44px;cursor:pointer;font-size:13px;font-weight:700;line-height:1.6}
.extra-row input{width:18px;height:18px;flex-shrink:0;accent-color:var(--red)}
.extra-row small{display:block;font-size:12px;font-weight:500;color:var(--muted)}
.extra-row select{font:500 16px var(--body);color:var(--ink);min-height:44px;width:72px;flex-shrink:0;padding:4px;border:1px solid var(--muted);border-radius:6px;background:var(--surface)}
.extra-row select:disabled{opacity:.45}
.menu-section .menu-grid{transition:max-height .24s ease-out}
.menu-section{overflow-anchor:none}
.menu-section:has(.extras[open]) .menu-grid{max-height:112px}
/* Walking feedback and optional daily reference retain the existing palette. */
.walk-preview{--walk-trip:8s;--walk-step:.6s;height:68px;margin-top:16px;padding-top:8px;overflow:hidden;border-bottom:2px dotted var(--line)}
.walk-runner{width:calc(100% - 48px);height:55px;animation:walk-travel var(--walk-trip) linear infinite alternate}
.walk-character{display:block;width:48px;height:55px;object-fit:contain;transform-origin:50% 90%;animation:walk-step var(--walk-step) ease-in-out infinite}
@keyframes walk-travel{from{transform:translateX(0)}to{transform:translateX(100%)}}
@keyframes walk-step{0%,100%{transform:translateY(0) rotate(-5deg)}25%{transform:translateY(-4px) rotate(0)}50%{transform:translateY(0) rotate(5deg)}75%{transform:translateY(-4px) rotate(0)}}
.walk-preview.paused .walk-runner,.walk-preview.paused .walk-character{animation-play-state:paused}
.walk-preview-meta{display:flex;align-items:center;justify-content:space-between;gap:8px}
.walk-preview-meta .walking-distance{margin:0}
#motion-toggle{font-size:12px;min-height:44px;padding:8px 0 8px 12px;border:0;background:transparent;color:var(--muted)}
.extra-row{border:0;padding:4px 0}
.extra-row label{position:relative;display:block;min-width:0}
.extra-row input{position:absolute;inset:0;width:100%;height:100%;opacity:0;margin:0;cursor:pointer;z-index:1}
.extra-card{display:flex;align-items:center;justify-content:space-between;gap:6px;position:relative;padding:12px;min-height:44px;border:1px solid var(--line);border-radius:6px;background:var(--surface)}
.extra-card small{flex-shrink:0;white-space:nowrap}
.extra-row label:hover .extra-card{background:#6571510b}
.extra-row input:checked+.extra-card{border:2px solid var(--red);padding:11px;background:#ab422f05}
.extra-row input:focus-visible+.extra-card{outline:3px solid var(--red);outline-offset:2px}
.extra-check{display:none;position:absolute;right:4px;top:3px;width:12px;height:12px;border-radius:50%;background:var(--red);color:var(--surface);text-align:center;font-size:8px;line-height:12px}
.extra-row input:checked+.extra-card .extra-check{display:block}
.profile{border-top:1px solid var(--line);margin-top:8px}
.profile>summary{min-height:56px;padding:16px 0;cursor:pointer;font-size:13px;font-weight:700}
.profile>summary>span{font-size:12px;color:var(--muted);font-weight:500;margin-left:4px}
.profile-fields{display:grid;grid-template-columns:1fr 1fr;gap:16px;max-height:272px;overflow-y:auto;padding:4px;margin:0 -4px 12px;scrollbar-width:thin}
.profile-wide{grid-column:1/-1}
.profile input,.profile select{font:500 16px var(--body);color:var(--ink);width:100%;min-height:44px;padding:8px;border:1px solid var(--muted);border-radius:6px;background:var(--surface)}
.profile label{font-size:13px}
.profile label small{font-size:12px;font-weight:500}
.profile .field-error{margin-bottom:8px}
.daily-reference{max-width:640px;margin:24px auto 0;padding:20px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);text-align:center}
.daily-reference h3{font-family:var(--display);font-size:18px;margin:0 0 16px}
.daily-values{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:16px}
.daily-values span{font-size:12px;color:var(--muted)}
.daily-values p{font-size:12px}
.daily-values output{font-size:24px;font-weight:700;white-space:nowrap}
#daily-prompt{font-size:12px;color:var(--muted);margin-bottom:12px}
@media(max-width:374px){.daily-values{gap:8px}.daily-values output{font-size:22px}}
/* Native details keep keyboard operation and animate both opening and closing. */
@supports (interpolate-size:allow-keywords){
  details{interpolate-size:allow-keywords}
  details::details-content{block-size:0;overflow:clip;transition:block-size .24s ease-out,content-visibility .24s allow-discrete}
  details[open]::details-content{block-size:auto}
}
.extras-toggle,.calculation-details summary>span{transition:transform .24s ease-out}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}details::details-content{transition:none!important}#motion-toggle{display:none}.walk-runner{margin:auto}}

.site-description{max-width:none;font-size:14px;line-height:1.9;margin-bottom:24px}
@media(max-width:760px){.brand-simulator{display:block;font-size:13px;line-height:1.6}.site-description{font-size:13px}}

.page-intro{display:block;min-height:0;padding:24px 0}
.page-intro .site-description{margin:0}

@media(min-width:1080px){.intro-last-sentence{display:block}}

.receipt-total .result-label{display:flex;align-items:center;justify-content:center;gap:12px;margin-bottom:4px}
.result-character{display:block;width:48px;height:64px;object-fit:contain;flex-shrink:0}

.receipt-total>div .result-character{align-self:center;margin-left:4px}
.daily-reference+.calculation-details{border-top:0;margin-top:0}
@media(max-width:480px){.receipt-total output{font-size:clamp(32px,12vw,64px)}.receipt-total>div{gap:6px}.result-character{width:32px;height:44px}}

/* Keep the calorie group centered independently of the reaction character. */
.receipt-total>div{position:relative;width:max-content;max-width:100%;margin-left:auto;margin-right:auto}
.receipt-total>div .result-character{position:absolute;left:calc(100% + 20px);top:50%;transform:translateY(-50%);width:96px;height:128px;margin:0}
@media(max-width:760px){.receipt-total>div .result-character{left:calc(100% + 8px);width:64px;height:86px}}
@media(max-width:480px){.receipt-total>div .result-character{left:auto;right:-12px;top:-12px;transform:translateY(-100%);width:64px;height:86px}}

@media(max-width:480px){.receipt-total{padding-top:76px}}

@media(max-width:480px){
  .receipt-total{padding-top:20px}
  .receipt-total>div{max-width:calc(100% - 96px);gap:5px}
  .receipt-total output{font-size:clamp(28px,10vw,40px)}
  .receipt-total>div .result-character{left:calc(100% + 8px);right:auto;top:50%;transform:translateY(-50%);width:48px;height:64px}
}

.calculator-toolbar{display:flex;justify-content:flex-end;margin:-8px 0 12px}
.calculator-toolbar .reset-button{margin:0;padding:8px 12px;min-height:44px;font-size:13px;color:var(--ink);border:1px solid var(--line);border-radius:6px;background:var(--surface)}

.page-intro{display:flex;align-items:center;gap:24px;padding:24px 0 20px}
.page-intro .site-description{flex:1;min-width:0}
.page-intro .calculator-toolbar{flex-shrink:0;margin:0}
@media(max-width:1079px){.page-intro{display:block;padding:20px 0 16px}.page-intro .calculator-toolbar{margin-top:8px;justify-content:flex-end}}

.share-entry{text-align:center;margin-top:20px}
.share-entry button,.share-actions button{font:700 14px var(--body);min-height:44px;padding:10px 20px;border:1px solid var(--ink);border-radius:6px;background:var(--ink);color:var(--surface)}
#share-dialog{width:min(600px,calc(100% - 24px));max-height:calc(100dvh - 32px);overflow:auto;border:1px solid var(--line);border-radius:12px;padding:20px;background:var(--surface);color:var(--ink)}
#share-dialog::backdrop{background:#263c3280}
.share-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.share-heading h2{font-size:20px}.share-heading button{width:44px;height:44px;background:none;border:0;font-size:28px}
#share-preview{display:block;width:100%;height:auto;margin:16px 0;border:1px solid var(--line);border-radius:6px}
#share-status{font-size:13px;margin:12px 0}#share-status:empty{display:none}.share-actions{display:flex;flex-wrap:wrap;gap:12px;justify-content:center}
.share-actions #share-save{background:transparent;color:var(--ink)}

.walk-preview-meta .walking-distance{display:flex;flex-wrap:wrap;gap:4px 12px;text-align:left}
.walking-distance>span{white-space:nowrap}
.walk-preview-meta #motion-toggle{flex-shrink:0}
