[hidden] { display: none !important; }
.system-bar { margin: 18px auto 0; max-width: 1144px; padding: 0 22px; display: flex; gap: 10px; justify-content: space-between; align-items: center; }
.system-nav { display: flex; gap: 5px; border: 1px solid var(--line); border-radius: 12px; padding: 4px; background: #fffaf0; }
.system-nav button { background: transparent; border: 0; border-radius: 8px; padding: 6px 13px; color: #675b51; font-size: 13px; font-weight: 750; cursor: pointer; }
.system-nav button span { color: inherit; opacity: .75; font-size: 9px; }
.system-nav button[aria-pressed="true"] { background: var(--moss); color: white; }
.system-nav #show-kitchen[aria-pressed="true"] { background: #8e543f; }
.system-wallet { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; justify-content: flex-end; color: #685d53; font-size: 11px; }
.system-wallet span { padding: 4px 7px; border: 1px solid var(--line); border-radius: 8px; background: #fbf7ee; white-space: nowrap; }
.system-wallet b { color: #4c3a33; font-variant-numeric: tabular-nums; }
.kitchen-column { display: grid; gap: 14px; min-width: 0; }
.kitchen-card, .auto-card { background: var(--paper); border: 1px solid var(--line); border-radius: 21px; box-shadow: 0 3px 0 #b9a78312; overflow: hidden; }
.counter-scene { position: relative; display: grid; justify-items: center; padding: 17px 14px 26px; isolation: isolate; background: linear-gradient(to bottom,#f9e9d6 0 71%,#f2d0ad 71% 72%,#edbb91 72% 73%,#efd0ae 73% 100%); }
.counter-scene::before { content: ''; position: absolute; z-index: -1; inset: 2px 2px 27%; background: linear-gradient(90deg,#e7b88f30 2px,transparent 2px) 10px 0 / 72px 72px, linear-gradient(#e7b88f30 2px,transparent 2px) 0 8px / 72px 72px; mask-image: linear-gradient(90deg,#000,transparent 27%,transparent 74%,#000); pointer-events: none; }
.counter-scene .wallet { margin-top: 17px; }
.counter-scene .scene-tags span { color: #84583f; background: #fff8e9ca; border-color: #bb86552d; }
.counter-scene .wallet-label { color: #84583f; }
.counter-scene .balance { color: #683e36; }
.counter-scene .rate { color: #81503a; background: #fff5dfbb; }
.steamer { position: relative; display: grid; justify-items: center; margin: 3px 0 7px; }
.steamer img { width: min(216px, 58vw); height: auto; margin-top: -2px; }
.steamer i { position: absolute; width: 12px; height: 20px; background: #fffaf1c9; left: calc(50% - 8px); bottom: 82%; clip-path: polygon(26% 0,67% 0,67% 20%,100% 20%,100% 53%,72% 53%,72% 72%,38% 72%,38% 100%,8% 100%,8% 50%,32% 50%,32% 35%,0 35%,0 16%,26% 16%); opacity: 0; pointer-events: none; }
.steamer i:nth-child(2) { left: 43%; animation-delay: -.55s !important; }
.steamer i:nth-child(3) { left: 55%; animation-delay: -1.05s !important; }
.steamer[data-cooking="true"] i { animation: steam-rise 1.7s infinite ease-out; }
@keyframes steam-rise { from { transform: translateY(14px); opacity: .9; } to { transform: translateY(-35px) scale(1.25); opacity: 0; } }
.batch-meter { width: min(230px,90%); height: 11px; border: 1px solid #a26e5060; background: #f9ebd8; border-radius: 20px; overflow: hidden; }
.batch-meter > div { height: 100%; width: 0; background: #a9644a; transition: width .2s linear; }
.kitchen-state { display: grid; place-items: center; text-align: center; min-height: 35px; font-size: 12px; color: #694c3f; }
.steam-button { border: 1px solid #844b39; border-radius: 11px; padding: 8px 17px; background: #995a42; color: #fff8e9; font-weight: 800; font-size: 13px; min-height: 41px; cursor: pointer; }
.steam-button:hover:not(:disabled) { background: #854633; }
.steam-button:disabled { background: #f9ead9; border-color: #b7816159; color: #746155; cursor: default; }
.kitchen-stats { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); padding: 12px 10px; gap: 5px; }
.kitchen-stats div { text-align: center; }
.kitchen-stats span, .kitchen-stats b { display: block; }
.kitchen-stats span { font-size: 10px; color: var(--muted); }
.kitchen-stats b { font-size: 13px; color: #754735; margin: 3px 0; overflow-wrap: anywhere; }
.kitchen-stats div + div { border-left: 1px dashed var(--line); }
.auto-card { padding: 12px 15px; }
.auto-header { display: flex; gap: 7px; align-items: center; justify-content: space-between; }
.auto-header h2 { font-size: 14px; }
.auto-card button { background: #faf1e3; border: 1px solid #e9d8c3; border-radius: 7px; color: #744c3b; padding: 5px 7px; font-size: 11px; font-weight: 800; cursor: pointer; }
.auto-card button[aria-pressed="true"] { background: #8c533f; color: #fff8e9; border-color: #8c533f; }
#reserve-form { margin-top: 8px; display: flex; align-items: center; flex-wrap: wrap; gap: 5px 8px; color: var(--muted); font-size: 11px; }
#reserve-form div { display: flex; gap: 4px; }
#reserve { min-width: 0; width: 98px; font: inherit; background: #fffdfa; border: 1px solid #dfcbb7; color: #503b32; padding: 4px 5px; border-radius: 6px; }
.kitchen-currency { background: #f8e8d5; color: #79503d; font-weight: 750; font-size: 11px; border-radius: 6px; padding: 4px 7px; white-space: nowrap; }
#kitchen-shop-list { padding: 3px 11px; }
.next-study { margin: 9px 11px; color: #6d6055; font-size: 12px; line-height: 1.5; }
.next-study { padding: 8px; border: 1px dashed #e7d5c3; border-radius: 8px; }
.kitchen-shop .boost-archive { margin-inline: 12px; }
.kitchen-shop .upgrade-icon { background: #f4e4d1; color: #995c43; }
.kitchen-shop .buy:not(:disabled) { background: #995c43; border-color: #854b38; }
.kitchen-shop .buy:hover:not(:disabled) { background: #854b38; }
.kitchen-shop .owned { color: #7f5b45; }
@media (max-width: 800px) {
  .system-bar { margin-top: 12px; padding-inline: 12px; max-width: 590px; }
  .system-nav button { padding-inline: 7px; white-space: nowrap; }
  .counter-scene { padding-bottom: 18px; }
  .kitchen-stats b { font-size: 12px; }
}
.recipe-card select { padding: 4px 8px; min-height: 32px; border: 1px solid var(--line); border-radius: 6px; background: #fffbf1; color: var(--ink); font: inherit; }
.recipe-card p { margin-top: 7px; color: var(--muted); font-size: 12px; }
