:root{color:#3d2932;--ink:#3d2932;--paper:#fff7e5;--accent:#ffd17f;background:#f4e5cb;font:16px system-ui,sans-serif}*{box-sizing:border-box}body{background:radial-gradient(#bc895046 1px,#0000 1px) 0 0/14px 14px;margin:0}main{grid-template-rows:auto minmax(190px,1fr) auto auto;align-content:start;gap:8px;width:min(940px,100%);min-height:100dvh;margin:auto;padding:10px;display:grid}header,.traffic,.row,.revenue,.dialog-head,dl>div{justify-content:space-between;align-items:center;gap:6px;display:flex}h1,h2,p{margin:0}h1,h2{letter-spacing:-.045em;font:700 clamp(23px,5vw,38px)/1.06 Georgia,serif}h2{font-size:clamp(20px,4.5vw,30px)}h2:focus{outline:none}small{display:block}header small{font-size:11px;font-weight:800}button{font:inherit;color:inherit;cursor:pointer;border:1px solid var(--ink);background:var(--paper);touch-action:manipulation;border-radius:7px;min-height:44px;padding:4px 7px;font-size:clamp(11px,2.8vw,15px);font-weight:750}button:focus-visible{outline-offset:2px;outline:3px solid #8056b0}button:disabled{opacity:.55;cursor:not-allowed}button:active:not(:disabled){transform:translateY(1px)}.primary{background:var(--accent)}.cash{color:#fff3cc;background:#432c38;border-width:2px;min-width:94px;padding:4px 9px;box-shadow:0 2px #2d1c25}.cash strong{white-space:nowrap;font-variant-numeric:tabular-nums;font-size:clamp(20px,5vw,31px)}.shop{border:2px solid var(--ink);box-shadow:0 3px var(--ink);background:repeating-linear-gradient(90deg,#ffedc7 0 24px,#f8e0b8 24px 48px);border-radius:14px;flex-direction:column;gap:4px;padding:5px 5px 38px;display:flex;position:relative;overflow:hidden}.traffic{font-size:clamp(10px,2.9vw,14px)}.stations{flex:1;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;display:grid}.station{border:1px solid var(--ink);background:var(--paper);border-radius:7px;grid-template-rows:minmax(32px,1fr) auto minmax(34px,auto) auto;gap:2px;min-width:0;padding:3px;display:grid}.station svg{width:100%;height:100%;max-height:230px;display:block}.station-details{font-size:clamp(9px,2.4vw,14px);line-height:1.16}.station button{background:#ffda94;font-size:clamp(9px,2.6vw,14px)}.station.shelf button{background:#c9e5bc}.station.counter button{background:#efd5ed}meter{width:100%;height:8px;display:block}.panel{border:2px solid var(--ink);background:var(--paper);box-shadow:0 3px var(--ink);border-radius:11px;gap:4px;padding:7px;display:grid}.hint,.demand{font-size:clamp(11px,3vw,14px)}.hint{font-weight:650}.demand{background:#ffe49e;border-radius:4px;padding:3px 5px;font-weight:800}.options{flex-wrap:wrap;gap:4px;display:flex}.options button{flex:1}.options small{font-size:.85em}.panel>.primary{width:100%}.rows{gap:3px;display:grid}.row{background:#f5e3c2;border-radius:6px;padding:2px 4px;font-size:clamp(10px,2.8vw,15px);line-height:1.13}.row small{font-size:.91em}.stepper{text-align:center;flex:none;grid-template-columns:44px 18px 44px;align-items:center;display:grid}.stepper button{font-size:13px}.shelf-editor{grid-template-columns:minmax(55px,.65fr) minmax(0,2fr);align-items:start;gap:5px;display:grid}.shelf-grid{grid-template-columns:repeat(var(--columns), minmax(0, 1fr));background:#ead2a8;border:1px solid #9b744a;border-radius:4px;grid-auto-rows:clamp(9px,3.1vw,22px);gap:1px;padding:2px;display:grid}.shelf-grid span{border-radius:2px;place-items:center;min-width:0;font-size:clamp(6px,2vw,15px);display:grid;overflow:hidden}.shelf-grid .bread{background:#e9b389}.shelf-grid .croissant{background:#ffdf90}.shelf-grid .brioche{background:#dcb4d3}.shelf-grid .empty{background:#fff3dc}.station .shelf-grid{grid-auto-rows:clamp(5px,1.6vw,12px);margin-top:2px}.station .shelf-grid span{font-size:clamp(4px,1.3vw,10px)}.revenue{background:#cde9c6;border-radius:6px;padding:4px 6px;font-size:clamp(11px,3vw,15px)}.revenue strong{font-size:1.5em}.revenue>div:last-child{text-align:right}.negative{color:#8b322b}.positive{color:#245536}.ingredient-counters{grid-template-columns:1fr 1fr;gap:4px;display:grid}.ingredient-counters>div{background:#ffdfa3;border:1px solid #9b744a;border-radius:5px;align-items:center;gap:4px;padding:4px;display:flex}.ingredient-counters>div>span{font-size:24px}.ingredient-counters small{font-size:10px}.ingredient-counters strong{margin-left:auto}.ingredient-counters b{font-size:18px}.bounce{animation:.3s ease-out bounce}.street{pointer-events:none;justify-content:space-between;align-items:end;gap:4px;font-size:11px;font-weight:750;display:flex;position:absolute;bottom:3px;left:5px;right:5px}.guests{align-items:end;display:flex}.guests svg{width:clamp(18px,6vw,42px)}.guests [data-active]{animation:.3s ease-out bounce}.ticket{background:var(--paper);border-radius:5px;padding:3px 5px}.popup{z-index:3;border:2px solid var(--ink);pointer-events:none;background:#cbf2aa;border-radius:8px;padding:4px 8px;animation:.34s ease-out bounce;position:absolute;bottom:34px;right:8px}.popup.debit{background:#ffd2bd}.popup small{font-size:10px}@keyframes bounce{0%{opacity:.65;transform:translateY(4px)scale(.87)}to{opacity:1;transform:none}}footer{min-height:17px;font-size:11px;font-weight:800}.sr-only{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}dialog{background:var(--paper);border:2px solid var(--ink);width:min(94vw,460px);max-height:80dvh;color:var(--ink);border-radius:11px}dialog::backdrop{background:#392a3a99}dialog summary{cursor:pointer;padding:4px}dl{margin:5px 0}dl>div{border-bottom:1px solid #dbc9b4;padding:4px 0;font-size:13px}dd{margin:0;font-weight:800}@media (width>=700px){main{gap:10px;max-height:850px;padding:14px}.station{padding:7px}.shop{padding:8px 8px 58px}}@media (prefers-reduced-motion:reduce){*,:before,:after{transition:none!important;animation:none!important}}:root{color:#302423;--ink:#3c2928;--paper:#fffaf0;--accent:#f7bc55;background:#f6ecdd}body{background:radial-gradient(#9c632024 1px,#0000 1px) 0 0/16px 16px}main{width:min(740px,100%);min-height:100dvh;max-height:none;padding:12px 12px max(12px, env(safe-area-inset-bottom));flex-direction:column;gap:10px;display:flex}header{padding:1px 0 4px}header small{letter-spacing:.045em;text-transform:uppercase}.cash{color:#fff9e4;background:#234637;border-color:#162d24;border-radius:10px;box-shadow:0 3px #162d24}.promise{border:2px solid var(--ink);box-shadow:0 3px var(--ink);background:#f9e4ae;border-radius:12px;grid-template-columns:auto 1fr;align-items:center;gap:3px 10px;padding:9px;display:grid}.promise small{font-size:11px;font-weight:700}.promise b{font-family:Georgia,serif;font-size:17px}.promise progress{appearance:none;background:#fff8e6;border:0;border-radius:6px;grid-column:2;width:100%;height:8px;overflow:hidden}.promise progress::-webkit-progress-bar{background:#fff8e6}.promise progress::-webkit-progress-value{background:#4b7e5b}.promise progress::-moz-progress-bar{background:#4b7e5b}.pledge-icon{background:#fff6de;border:1px solid #72502e;border-radius:9px;place-items:center;width:42px;height:42px;font-size:23px;display:grid}.shop{background:repeating-linear-gradient(90deg,#f6deb9 0 24px,#f9e8cb 24px 48px);gap:6px;padding:7px 7px 9px}.shop:has(.street){padding-bottom:37px}.traffic{color:#53392d;font-size:clamp(11px,3vw,14px)}.stations{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.station{background:#fff9eb;border-color:#967b61;grid-template-rows:auto minmax(16px,1fr) auto;grid-template-columns:45px minmax(0,1fr);align-items:center;gap:2px 5px;padding:4px}.station>svg{border-radius:5px;grid-area:1/1/3;align-self:center;height:auto}.station h2,.station-details{grid-column:2}.station h2{font-size:clamp(14px,3.6vw,19px)}.station-details{font-size:clamp(10px,2.8vw,13px)}.station button{grid-column:1/-1;min-height:44px;font-size:12px}.station .shelf-grid{grid-auto-rows:6px}.shop-intro .station-details,.shop-intro .traffic{display:none}.shop-intro .station{grid-template-rows:1fr;grid-template-columns:minmax(40px,64px) minmax(0,1fr)}.panel{gap:6px;padding:10px}.panel h2{font-size:clamp(22px,5.5vw,30px)}.panel .hint{line-height:1.35}.promise-options{gap:7px;display:grid}.pledge-choice{text-align:left;background:#fff0cc;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:9px;min-height:62px;padding:7px;display:grid}.pledge-choice:nth-child(2n){background:#e4efdb}.pledge-choice b,.pledge-choice small{display:block}.pledge-choice b{font-size:15px}.pledge-choice small{font-size:11px;line-height:1.2}.promise-outcome{font-size:14px;font-weight:850}.launch{z-index:4;padding:5px 0 max(4px, env(safe-area-inset-bottom));background:#f6ecdd;position:sticky;bottom:0}.launch button{border:2px solid var(--ink);width:100%;min-height:50px;box-shadow:0 3px var(--ink);border-radius:10px;justify-content:space-between;align-items:center;padding-inline:12px;font-size:16px;display:flex}.launch button span{font-size:20px}footer{color:#644c3f}@media (width>=640px){main{padding:18px}.stations{grid-template-columns:repeat(4,minmax(0,1fr))}.station{grid-template-columns:40px minmax(0,1fr)}.shop-intro .station{grid-template-columns:55px minmax(0,1fr)}}.shop.editing{display:none}.promise-picker{order:-1}main>header{order:-2}.shop-intro{background:repeating-linear-gradient(90deg,#edb45c 0 22px,#fff0c9 22px 44px) top/100% 9px no-repeat,#f2dab8;padding-top:15px}.shop-intro .station{min-height:52px}.pledge-choice{outline-offset:2px;transition:background .2s}.pledge-choice:hover{background:#ffdc9a}.station:has(button:hover){background:#fff1cb}@media (width<=360px){main{gap:7px;padding-block:8px}.panel{padding:7px}.station{grid-template-columns:32px minmax(0,1fr)}.station button{grid-area:3/2}.station>svg{grid-row:1/4}.shop-intro .station>svg{grid-row:1}.launch+footer{display:none}}.station:has(.station-button){background:0 0;border:0;padding:0;display:block}.station .station-button{text-align:left;border-color:#967b61;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:5px;width:100%;height:100%;min-height:70px;padding:5px;display:grid}.station-button .station-details{gap:2px;min-width:0;display:grid}.station-button .station-name{font:700 clamp(13px,3.5vw,18px)/1 Georgia,serif}.station-button svg{border-radius:4px;height:auto}.station-arrow{font-size:19px}@media (width<=360px){.station .station-button{grid-template-columns:29px minmax(0,1fr) auto;gap:3px;min-height:60px}.station.shelf .station-button small{display:none}}
