/* «Таверна» — оформление мини-аппа: тёмные доски, бумажные панели с пиксельными
   («ступенчатыми») углами, объёмные кирпичные кнопки, золотые заголовки.
   Заголовки и кнопки — Russo One, текст — Golos Text. Палитра — base.css (:root).
   Макет: design/miniapp-merge-2026-11-05. Подключается последним. */

@font-face { font-family: "Russo One"; font-weight: 400; font-display: swap; src: url("/fonts/russo-one-cyrillic.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Russo One"; font-weight: 400; font-display: swap; src: url("/fonts/russo-one-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Golos Text"; font-weight: 400 700; font-display: swap; src: url("/fonts/golos-text-cyrillic.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Golos Text"; font-weight: 400 700; font-display: swap; src: url("/fonts/golos-text-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --display: "Russo One", "Golos Text", sans-serif;
  /* Пиксельная рамка: четыре сдвинутые тени дают ступенчатые углы */
  --pbox: 0 -3px 0 0 var(--ink), 0 3px 0 0 var(--ink), -3px 0 0 0 var(--ink), 3px 0 0 0 var(--ink),
    inset 0 3px 0 0 var(--paper-hi), inset 0 -3px 0 0 var(--paper-lo), 0 7px 0 0 rgba(0, 0, 0, .35);
  --pbox-quiet: 0 -2px 0 0 var(--ink), 0 2px 0 0 var(--ink), -2px 0 0 0 var(--ink), 2px 0 0 0 var(--ink),
    inset 0 2px 0 0 var(--paper-hi), inset 0 -1px 0 0 var(--paper-lo);
  --pbox-flat: 0 -3px 0 0 var(--ink), 0 3px 0 0 var(--ink), -3px 0 0 0 var(--ink), 3px 0 0 0 var(--ink),
    inset 0 3px 0 0 var(--paper-hi), inset 0 -3px 0 0 var(--paper-lo);
  --pbox-sm: 0 -2px 0 0 var(--ink), 0 2px 0 0 var(--ink), -2px 0 0 0 var(--ink), 2px 0 0 0 var(--ink),
    inset 0 2px 0 0 var(--paper-hi), inset 0 -2px 0 0 var(--paper-lo), 0 4px 0 0 rgba(0, 0, 0, .3);
  --brick: 0 -3px 0 0 var(--ink), 0 9px 0 0 var(--ink), -3px 0 0 0 var(--ink), 3px 0 0 0 var(--ink),
    -3px 6px 0 0 var(--ink), 3px 6px 0 0 var(--ink), 0 6px 0 0 var(--accent-deep), inset 0 3px 0 0 var(--accent-hi);
  --brick-sm: 0 -2px 0 0 var(--ink), 0 6px 0 0 var(--ink), -2px 0 0 0 var(--ink), 2px 0 0 0 var(--ink),
    -2px 4px 0 0 var(--ink), 2px 4px 0 0 var(--ink), 0 4px 0 0 var(--accent-deep), inset 0 2px 0 0 var(--accent-hi);
  --gold-sm: 0 -2px 0 0 var(--ink), 0 6px 0 0 var(--ink), -2px 0 0 0 var(--ink), 2px 0 0 0 var(--ink),
    -2px 4px 0 0 var(--ink), 2px 4px 0 0 var(--ink), 0 4px 0 0 #a8781f, inset 0 2px 0 0 #fbe09a;
  --outline: 2px 0 0 var(--ink), -2px 0 0 var(--ink), 0 2px 0 var(--ink), 0 -2px 0 var(--ink),
    2px 2px 0 var(--ink), -2px 2px 0 var(--ink), 2px -2px 0 var(--ink), -2px -2px 0 var(--ink), 0 4px 0 var(--ink);
}

/* ── Основа ─────────────────────────────────────────── */

html, body {
  font-family: "Golos Text", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-weight: 400;
  color: var(--on-wood);
  background: #1e0f09;
  -webkit-font-smoothing: antialiased;
}
button, input, select, textarea { font-family: inherit; }
#app {
  color: var(--on-wood);
  background:
    repeating-linear-gradient(90deg, rgba(0, 0, 0, .16) 0 2px, transparent 2px 110px),
    repeating-linear-gradient(0deg, #3d2216 0 26px, #331b11 26px 28px, #42261a 28px 54px, #2c170e 54px 56px);
}
@media (min-width: 480px) {
  body { background: #140a06; }
  #app { border: 0; box-shadow: 0 0 60px rgba(0, 0, 0, .7); }
}
h1, h2, h3 { font-family: var(--display); font-weight: 400; letter-spacing: .2px; }
b, strong { font-weight: 700; }
.ico { display: block; flex: none; }
.inline-ico { display: inline-block; vertical-align: -2px; margin-right: 4px; }
.screen-icon { display: inline-flex; vertical-align: middle; margin-right: 8px; }
.muted { color: var(--on-wood-dim); }

/* Всё, что лежит на бумаге, — тёмным текстом */
.card, .shop-item, .cb-item, .pass-reward, .pass-quest, .item-details, .cook-dialog,
.incident-dialog, .cafe-item, .room-tile, .menu-row, .toast, .cafe-activity, .warehouse-btn, .edit-hint, .view-note {
  color: var(--text);
}
.card .muted, .shop-item .muted, .pass-reward .muted, .pass-quest .muted, .incident-card .muted,
.item-details .muted, .cook-dialog .muted, .incident-dialog .muted, .cafe-item .muted { color: var(--text-dim); }
.card h1, .card h2, .card h3 { color: var(--text); }

.card {
  background: var(--bg-card);
  border: 0;
  border-radius: 0;
  box-shadow: var(--pbox-quiet);
  padding: 14px 16px;
  margin: 3px 3px 18px;
}

/* Кнопки: основная — объёмный кирпич, второстепенная — бумага */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  margin: 3px;
  padding: 10px 16px;
  border: 0;
  border-radius: 0;
  background: var(--accent);
  color: var(--accent-text);
  font-family: var(--display);
  font-weight: 400;
  font-size: 15px;
  text-shadow: 0 2px 0 var(--accent-deep);
  box-shadow: var(--brick-sm);
  transition: transform .06s ease;
}
.btn:active:not(:disabled) { transform: translateY(3px); }
.btn:disabled { opacity: .55; cursor: default; }
.btn.secondary, .btn.btn-secondary {
  background: var(--bg-card);
  color: var(--text);
  text-shadow: none;
  border: 0;
  box-shadow: var(--pbox-quiet);
}
.button-stack > .btn { width: calc(100% - 6px); }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 0;
  background: var(--sunk);
  color: var(--text-dim);
  box-shadow: inset 0 0 0 2px var(--paper-lo);
  font-size: 12px;
  font-weight: 600;
}

.progress-bar { height: 12px; border-radius: 0; background: var(--sunk); box-shadow: 0 0 0 2px var(--ink); overflow: hidden; }
.progress-fill { border-radius: 0; background: var(--sage); }
progress { appearance: none; -webkit-appearance: none; border: 0; border-radius: 0; overflow: hidden; background: var(--sunk); accent-color: var(--sage); box-shadow: 0 0 0 2px var(--ink); }
progress::-webkit-progress-bar { background: var(--sunk); }
progress::-webkit-progress-value { background: var(--sage); }
progress::-moz-progress-bar { background: var(--sage); }

.kv-row { border-bottom: 2px dashed var(--line); font-size: 14.5px; gap: 10px; }
.kv-row:last-child { border-bottom: 0; }
.kv-row > span:first-child { display: flex; align-items: center; gap: 10px; }
.kv-row .kv-value { font-weight: 700; font-variant-numeric: tabular-nums; }

.skeleton { border-radius: 0; background: linear-gradient(100deg, rgba(246, 227, 192, .06) 40%, rgba(246, 227, 192, .14) 50%, rgba(246, 227, 192, .06) 60%); background-size: 200% 100%; }

#toast-holder { bottom: calc(var(--nav-h) + 16px + env(safe-area-inset-bottom)); }
.toast {
  max-width: calc(100% - 40px);
  background: var(--bg-card);
  border-radius: 0;
  padding: 10px 16px;
  box-shadow: var(--pbox-sm);
  font-weight: 600;
}
.toast.error { background: var(--accent); color: var(--accent-text); border-left: 0; }

.center-note { color: var(--on-wood-dim); }
.center-note h2 { color: var(--on-wood); font-size: 19px; }
.center-note .big-emoji { display: flex; justify-content: center; margin-bottom: 12px; }
.dev-banner { background: var(--gold); color: var(--ink); font-weight: 700; }

.edit-hint, .view-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 3px 3px 16px;
  padding: 10px 12px;
  border: 0;
  border-radius: 0;
  background: var(--bg-card);
  box-shadow: var(--pbox-flat);
  font-size: 13px;
}
.edit-hint { display: block; }
.edit-hint.hidden { display: none; }
.view-note b { font-weight: 700; }

button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

/* ── Шапка ──────────────────────────────────────────── */

#header, #header.has-pass-back {
  grid-template-columns: 90px minmax(0, 1fr) 90px;
  gap: 4px;
  padding-left: 16px;
  padding-right: 16px;
  background: linear-gradient(rgba(30, 15, 9, .92), rgba(30, 15, 9, .78));
  border-bottom: 0;
  backdrop-filter: none;
}
.header-leading { justify-content: flex-start; gap: 10px; }
.header-btn, .header-leading .header-btn {
  width: 38px; height: 38px; margin: 0;
  display: grid; place-items: center;
  border: 0; border-radius: 0;
  background: var(--bg-card);
  color: var(--text);
  box-shadow: var(--pbox-sm);
  font-size: 18px;
  font-weight: 800;
}
.header-pass svg { width: auto; height: auto; }
.cafe-header-btn { flex-direction: column; gap: 1px; min-height: 0; padding: 2px 4px; }
.cafe-header-btn .header-cafe-name { max-width: 100%; color: var(--on-wood); font-family: var(--display); font-weight: 400; font-size: 16px; text-shadow: 0 2px 0 var(--ink); }
.cafe-header-level { color: var(--on-wood-dim); font-size: 12px; }
.cafe-header-level[hidden] { display: none; }
.user-header-btn { justify-self: end; position: relative; overflow: hidden; background: #e2c49a; }
.user-header-btn .avatar-circle { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: 0; background: none; color: var(--text); font-size: 16px; overflow: hidden; }
.user-header-btn .avatar-circle img { width: 100%; height: 100%; object-fit: cover; }
.user-header-btn .avatar-circle img.avatar-chef { position: absolute; left: -5px; top: -3px; width: 48px; height: 80px; object-fit: none; image-rendering: pixelated; }
.user-header-gear { display: none; }

/* ── Нижнее меню: тёмная полка с вкладками ────────────
   Кремовые плашки — только у кнопок действий; меню зон спокойное и тёмное. */

:root { --nav-h: 66px; }
#zone-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  height: calc(var(--nav-h) + env(safe-area-inset-bottom));
  padding: 0 10px env(safe-area-inset-bottom);
  background: #1a0e08;
  border-top: 0;
  box-shadow: 0 -3px 0 0 var(--ink), 0 -6px 0 0 rgba(255, 220, 160, .07);
  backdrop-filter: none;
}
.nav-item {
  position: relative;
  height: var(--nav-h);
  margin: 0;
  flex-direction: column;
  gap: 3px;
  border-radius: 0;
  background: none;
  color: var(--on-wood-dim);
  box-shadow: none;
  font-family: var(--display);
  font-size: 13px;
  font-weight: 400;
}
.nav-item .nav-emoji { display: flex; position: relative; font-size: 0; opacity: .6; filter: saturate(.6); }
.nav-item.active { background: none; color: var(--gold); box-shadow: none; font-weight: 400; text-shadow: 0 2px 0 var(--ink); }
.nav-item.active .nav-emoji { opacity: 1; filter: none; transform: none; }
/* Активная вкладка: золотая пиксельная «скобка» сверху */
.nav-item.active::before {
  display: block;
  content: "";
  position: absolute;
  top: -3px; left: 50%;
  width: 36px; height: 4px;
  transform: translateX(-50%);
  background: var(--gold);
  border-radius: 0;
  box-shadow: 0 2px 0 0 var(--ink);
}
.nav-item.is-locked { opacity: .55; }
.nav-lock { position: absolute; right: -9px; bottom: -4px; }
.incident-zone-badge { right: -12px; top: -6px; }

.cafe-activity {
  bottom: calc(var(--nav-h) + 10px + env(safe-area-inset-bottom));
  border: 0;
  border-radius: 0;
  background: var(--bg-card);
  box-shadow: var(--pbox-sm);
  font-weight: 600;
}
.cafe-activity-label { color: var(--text-faint); }

/* ── Экран зоны ─────────────────────────────────────── */

#screen.zone-screen { padding: 4px 16px 10px; gap: 14px; }
.zone-heading { justify-content: flex-start; min-height: 40px; }
.zone-heading-text { display: flex; align-items: baseline; gap: 10px; min-width: 0; }
.zone-heading h1 { font-size: 30px; line-height: 1.05; color: var(--gold); text-shadow: var(--outline); }
.zone-heading-text > span { color: var(--on-wood-dim); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Комната без рамки — прямо на досках, с жёсткой «пиксельной» тенью */
.floor-card { margin: 0; border-radius: 0; background: none; box-shadow: none; }
.floor-card .floor-host { inset: 0; background: none; }
.floor-card .floor-canvas { filter: drop-shadow(0 8px 0 rgba(0, 0, 0, .38)); }
.floor-hud, .floor-seat-badge {
  z-index: 2;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  color: var(--on-wood-dim);
  font-size: 12.5px;
  text-shadow: 0 1px 0 var(--ink);
}
.floor-hud { left: 4px; top: 2px; }
.floor-seat-badge { left: 4px; right: auto; top: 21px; }
.floor-zoom { z-index: 2; top: 4px; right: 4px; bottom: auto; flex-direction: column; gap: 10px; }
.floor-btn, .floor-route {
  width: 30px; height: 30px;
  border: 0; border-radius: 0;
  background: var(--bg-card);
  color: var(--text);
  box-shadow: var(--pbox-sm);
  font-size: 17px;
  font-weight: 800;
}
.floor-action-target::before { border-color: var(--gold); box-shadow: 0 0 10px rgba(242, 195, 90, .9); }
.furn-remove-btn { background: var(--accent); border-radius: 0; box-shadow: 0 0 0 2px var(--ink); }
.furn-rotate-btn { background: var(--sage); border-radius: 0; box-shadow: 0 0 0 2px var(--ink); }
.floor-failed::after { color: var(--text-dim); }

/* Ряд действий: «Декор» — большая кнопка — «Задания» */
.zone-actions { display: grid; grid-template-columns: 78px minmax(0, 1fr) 78px; gap: 16px; align-items: stretch; margin: 4px 3px 0; flex-shrink: 0; }
.action-slot { position: relative; display: flex; }
.action-slot > .room-tile { flex: 1; }
.cook-actions, .zone-screen .cook-actions { margin: 0; display: flex; }
.cook-btn {
  position: relative;
  width: 100%;
  min-height: 86px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 7px;
  padding: 10px 12px;
  border: 0;
  border-radius: 0;
  background: var(--accent);
  color: var(--accent-text);
  box-shadow: var(--brick);
  cursor: pointer;
  transition: transform .06s ease;
}
.cook-btn:active:not(:disabled) { transform: translateY(5px); }
.cook-btn:disabled { cursor: default; }
.cook-btn.is-cooldown { background: #a64a36; }
.cook-head { display: flex; align-items: center; justify-content: center; gap: 8px; min-width: 0; }
.cook-head b { font-family: var(--display); font-weight: 400; font-size: 21px; line-height: 1.1; text-shadow: 0 2px 0 var(--accent-deep); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cook-seg { display: flex; gap: 3px; }
.cook-seg i { flex: 1; height: 7px; background: var(--accent-deep); }
.cook-seg i.on { background: var(--gold); }
.cook-foot { display: flex; align-items: baseline; justify-content: center; gap: 5px; min-height: 16px; font-size: 12px; }
.cook-foot small { font-size: 12px; opacity: .85; }
.cook-foot small:empty { display: none; }
.cook-time { font-family: var(--display); font-size: 15px; text-shadow: 0 2px 0 var(--accent-deep); font-variant-numeric: tabular-nums; }
.cook-time:empty { display: none; }
.cook-status, .zone-screen .cook-status { margin: 0; text-align: center; color: var(--on-wood-dim); font-size: 12px; }

/* Меню «Декор»: всплывает над левой кнопкой */
.decor-menu {
  position: absolute;
  left: 0;
  bottom: calc(100% + 16px);
  z-index: 20;
  width: 224px;
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  color: var(--text);
  box-shadow: var(--pbox);
}
.decor-menu.hidden { display: none; }
.decor-menu button { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 8px 14px; border: 0; background: none; text-align: left; font-family: var(--display); font-size: 15px; color: var(--text); cursor: pointer; }
.decor-menu button + button { border-top: 2px dashed var(--paper-lo); }
.decor-menu button:active { background: var(--sunk); }

.cook-bonuses { margin: 0 3px; border-radius: 0; background: none; color: var(--on-wood); }
.cook-bonuses summary { display: flex; align-items: center; gap: 8px; min-height: 36px; padding: 2px 2px; list-style: none; font-size: 14px; font-weight: 600; }
.cook-bonuses summary::-webkit-details-marker { display: none; }
.cook-bonuses summary::after { content: "подробнее"; margin-left: auto; color: var(--on-wood-dim); font-size: 13px; font-weight: 400; }
.cook-bonuses[open] summary::after { content: "скрыть"; }
.cook-bonus-list { margin: 8px 3px 6px; padding: 4px 14px; background: var(--bg-card); color: var(--text); box-shadow: var(--pbox-flat); }
.cook-bonus-row + .cook-bonus-row { border-top: 2px dashed var(--line); }
.cook-bonus-row small { color: var(--text-dim); }

.room-tile { flex: 1; }
.cook-actions, .zone-screen .cook-actions { margin: 0; display: flex; }
.cook-btn {
  position: relative;
  width: 100%;
  min-height: 86px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 7px;
  padding: 10px 12px;
  border: 0;
  border-radius: 0;
  background: var(--accent);
  color: var(--accent-text);
  box-shadow: var(--brick);
  cursor: pointer;
  transition: transform .06s ease;
}
.cook-btn:active:not(:disabled) { transform: translateY(5px); }
.cook-btn:disabled { cursor: default; }
.cook-btn.is-cooldown { background: #a64a36; }
.cook-head { display: flex; align-items: center; justify-content: center; gap: 8px; min-width: 0; }
.cook-head b { font-family: var(--display); font-weight: 400; font-size: 21px; line-height: 1.1; text-shadow: 0 2px 0 var(--accent-deep); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cook-seg { display: flex; gap: 3px; }
.cook-seg i { flex: 1; height: 7px; background: var(--accent-deep); }
.cook-seg i.on { background: var(--gold); }
.cook-foot { display: flex; align-items: baseline; justify-content: center; gap: 5px; min-height: 16px; font-size: 12px; }
.cook-foot small { font-size: 12px; opacity: .85; }
.cook-foot small:empty { display: none; }
.cook-time { font-family: var(--display); font-size: 15px; text-shadow: 0 2px 0 var(--accent-deep); font-variant-numeric: tabular-nums; }
.cook-time:empty { display: none; }
.cook-status, .zone-screen .cook-status { margin: 0; text-align: center; color: var(--on-wood-dim); font-size: 12px; }

/* Меню «Декор»: всплывает над левой кнопкой */
.decor-menu {
  position: absolute;
  left: 0;
  bottom: calc(100% + 16px);
  z-index: 20;
  width: 224px;
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  color: var(--text);
  box-shadow: var(--pbox);
}
.decor-menu.hidden { display: none; }
.decor-menu button { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 8px 14px; border: 0; background: none; text-align: left; font-family: var(--display); font-size: 15px; color: var(--text); cursor: pointer; }
.decor-menu button + button { border-top: 2px dashed var(--paper-lo); }
.decor-menu button:active { background: var(--sunk); }

.cook-bonuses { margin: 0 3px; border-radius: 0; background: none; color: var(--on-wood); }
.cook-bonuses summary { display: flex; align-items: center; gap: 8px; min-height: 36px; padding: 2px 2px; list-style: none; font-size: 14px; font-weight: 600; }
.cook-bonuses summary::-webkit-details-marker { display: none; }
.cook-bonuses summary::after { content: "подробнее"; margin-left: auto; color: var(--on-wood-dim); font-size: 13px; font-weight: 400; }
.cook-bonuses[open] summary::after { content: "скрыть"; }
.cook-bonus-list { margin: 8px 3px 6px; padding: 4px 14px; background: var(--bg-card); color: var(--text); box-shadow: var(--pbox-flat); }
.cook-bonus-row + .cook-bonus-row { border-top: 2px dashed var(--line); }
.cook-bonus-row small { color: var(--text-dim); }

.room-actions, .zone-screen .room-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 4px 3px 0; }
.room-actions.is-viewer { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.room-tile {
  position: relative;
  min-height: 86px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px 2px;
  border: 0;
  border-radius: 0;
  background: var(--bg-card);
  box-shadow: var(--pbox-quiet);
  font-family: var(--display);
  font-size: 14px;
  cursor: pointer;
}
.room-tile:active { transform: translateY(3px); }
.room-tile.is-on { background: var(--gold); }
.room-tile.hidden { display: none; }
.room-tile { font-size: 13px; }

.zone-screen #zone-stats { min-height: 0; }
.stats-grid, .zone-screen .stats-grid { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 8px; margin: 6px 0 0; }
.stat-card, .zone-screen .stat-card { padding: 0 4px; border: 0; border-radius: 0; background: none; box-shadow: none; text-align: center; }
.stat-card .stat-value, .zone-screen .stat-value { font-family: var(--display); font-weight: 400; font-size: 20px; line-height: 1.2; color: var(--gold); text-shadow: 0 2px 0 var(--ink); }
.stat-card .stat-label, .zone-screen .stat-label { font-size: 11.5px; line-height: 1.25; color: var(--on-wood-dim); white-space: normal; }
.zone-screen .edit-hint { margin: 0 3px; font-size: 12px; padding: 8px 10px; }
.zone-locked { padding: 34px 20px; text-align: center; }
.zone-locked .lock-emoji { display: flex; justify-content: center; margin-bottom: 12px; }

/* ── Происшествия и диалоги ─────────────────────────── */

.incident-eyebrow { color: var(--accent-ink); font-family: var(--display); font-size: 12px; }
.incident-dialog, .item-details, .cook-dialog {
  border: 0;
  border-radius: 0;
  background: var(--bg-card);
  color: var(--text);
  box-shadow: var(--pbox);
}
.incident-dialog::backdrop, .item-details::backdrop { background: rgba(20, 10, 6, .72); }
.details-close, .incident-close, .cook-dismiss { border-radius: 0; background: var(--sunk); color: var(--text); box-shadow: 0 0 0 2px var(--ink); }
.cook-dismiss { width: 38px; height: 38px; padding: 0; font-size: 24px; line-height: 1; }
.cook-dialog h2, .item-details h2, .incident-dialog h2 { color: var(--text); }
.cook-motion-label { border-radius: 0; background: var(--sunk); color: var(--text-dim); }
.cook-pointer { color: var(--accent); filter: none; }
.cook-result-eyebrow { color: var(--text-dim); }
.cook-result h2 { color: var(--text); }
.cook-result-sticker { border-radius: 0; background: radial-gradient(circle, rgba(239, 192, 87, .3), transparent 70%); }
.cook-result-quality { border-radius: 0; border-width: 2px; background: var(--bg-card); font-weight: 700; }
.cook-result-rewards strong { border-radius: 0; background: var(--honey-soft); color: var(--honey-ink); box-shadow: 0 0 0 2px var(--ink); font-family: var(--display); font-weight: 400; }
.collection-details { border-radius: 0; background: var(--sunk); box-shadow: inset 0 0 0 2px var(--line); }

/* ── Профиль и настройки ────────────────────────────── */

.profile-hero { --profile-avatar-size: 88px; display: grid; grid-template-columns: var(--profile-avatar-size) minmax(0, 1fr); align-items: center; gap: 16px; margin: 6px 4px 22px; }
.profile-hero .profile-avatar {
  position: relative;
  width: var(--profile-avatar-size); height: var(--profile-avatar-size);
  display: grid; place-items: center;
  border: 0; border-radius: 0; background: var(--sunk); overflow: hidden; box-shadow: var(--pbox-quiet);
}
.profile-avatar-initials { color: var(--gold); font-family: var(--display); font-size: 32px; line-height: 1; }
.profile-hero .profile-avatar .profile-photo { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.profile-hero-text { min-width: 0; }
.profile-hero .profile-name { font-family: var(--display); font-size: clamp(22px, 7vw, 28px); line-height: 1.15; color: var(--gold); text-shadow: var(--outline); margin: 0; overflow-wrap: anywhere; }
.profile-username { margin-top: 6px; color: var(--on-wood-dim); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.profile-role { margin-top: 6px; color: var(--on-wood); font-size: 14px; }
.profile-role b { color: var(--gold); }
.profile-level { white-space: nowrap; }
.profile-progress { grid-column: 1 / -1; min-width: 0; }
.level-blocks { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 4px; padding: 2px; }
.level-blocks i { min-width: 0; height: 10px; background: #5a3a2a; box-shadow: 0 0 0 2px var(--ink); }
.level-blocks i.on { background: var(--sage); }
.profile-xp { margin-top: 8px; color: var(--on-wood-dim); font-size: 12px; text-align: center; }
@media (max-width: 360px) { .profile-hero { --profile-avatar-size: 72px; gap: 14px; } }

.receipt h2 { margin-bottom: 8px; text-align: center; color: var(--text-dim); font-size: 15px; }
.receipt-line { display: flex; align-items: baseline; gap: 6px; padding: 5px 0; font-size: 14.5px; }
.receipt-line::after { content: ""; order: 1; flex: 1; border-bottom: 2px dotted var(--paper-lo); transform: translateY(-4px); }
.receipt-line span { order: 0; }
.receipt-line b { order: 2; display: flex; align-items: center; gap: 5px; font-weight: 700; font-variant-numeric: tabular-nums; }

.menu-list { padding: 0; }
.menu-row {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 8px;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 62px;
  padding: 8px 16px;
  border: 0;
  background: none;
  text-align: left;
  font-family: var(--display);
  font-size: 15px;
  cursor: pointer;
}
.menu-row + .menu-row { border-top: 2px dashed var(--paper-lo); }
.menu-row > .ico { justify-self: center; }
/* The slot sprite has one transparent column on the right. */
#gacha-btn > .ico:first-child { transform: translateX(1.5px); }
.menu-row-text { min-width: 0; overflow-wrap: anywhere; }
.menu-row-text small { display: block; margin-top: 1px; font-family: "Golos Text", sans-serif; font-size: 12.5px; color: var(--text-dim); }
.section-label { margin: 0 6px 10px; color: var(--on-wood-dim); font-size: 13px; }

#personal-settings { margin-top: 4px; }
.settings-title, #personal-settings .settings-title { margin: 0 6px 10px; color: var(--on-wood); font-size: 16px; }
.toggle-row { border-bottom: 2px dashed var(--line); }
.toggle-label { font-weight: 600; }
.toggle-hint { color: var(--text-dim); }
.switch { width: 48px; height: 44px; border-radius: 0; }
.switch::before { inset: 10px 0; border-radius: 0; background: #cdb48d; box-shadow: 0 0 0 2px var(--ink); }
.switch.on::before { background: var(--sage); }
.switch::after { top: 13px; left: 3px; width: 18px; height: 18px; border-radius: 0; background: var(--paper-hi); box-shadow: 0 0 0 2px var(--ink); }
.switch.on::after { transform: translateX(24px); }
.admin-btn { width: calc(100% - 6px); }

/* ── Выбор кафе ─────────────────────────────────────── */

.picker-title { color: var(--gold); text-shadow: var(--outline); }
.picker-sub { color: var(--on-wood-dim); }
.cafe-item { margin: 3px; width: calc(100% - 6px); border: 0; border-radius: 0; background: var(--bg-card); box-shadow: var(--pbox); }
.cafe-item.is-primary { background: #fbefd5; }
.cafe-item-icon { flex: 0 0 44px; height: 44px; border-radius: 0; background: var(--sunk); box-shadow: inset 0 0 0 2px var(--paper-lo); }
.cafe-item-name { font-family: var(--display); font-weight: 400; }
.cafe-primary { border-radius: 0; background: var(--accent); color: var(--accent-text); font-weight: 700; }
.cafe-item .cafe-lvl { color: var(--text-dim); }
.picker-home { width: calc(100% - 6px); }

/* ── Магазин и склад ────────────────────────────────── */

.shop-head { display: flex; align-items: flex-end; justify-content: flex-start; gap: 12px; margin: 4px 4px 16px; flex-wrap: nowrap; }
.shop-head-text { min-width: 0; }
.shop-title { font-family: var(--display); font-weight: 400; font-size: 24px; line-height: 1.1; color: var(--gold); text-shadow: var(--outline); }
.shop-treasury { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; margin-top: 8px; color: var(--on-wood); font-size: 14px; }
.shop-treasury b { color: var(--gold); font-variant-numeric: tabular-nums; }
.wallet-badge { border: 0; background: none; padding: 0; }
.wallet-personal, .wallet-treasury { background: none; border: 0; padding: 0; }
.card > .shop-head { flex-wrap: wrap; gap: 4px; margin: 0 0 8px; }
.card > .shop-head .shop-title { color: var(--text); text-shadow: none; font-size: 18px; }
.card > .shop-head .shop-treasury { flex-basis: 100%; color: var(--text-dim); }
.card > .shop-head .shop-treasury b { color: var(--text); }

.warehouse-btn {
  width: calc(100% - 6px);
  margin: 3px 3px 18px;
  border: 0;
  border-radius: 0;
  background: var(--bg-card);
  box-shadow: var(--pbox-sm);
  font-family: var(--display);
  font-weight: 400;
}
.warehouse-btn.active { background: var(--gold); color: var(--ink); }
.warehouse-count { border-radius: 0; background: var(--accent); color: var(--accent-text); font-family: "Golos Text", sans-serif; }
.warehouse-btn.active .warehouse-count { background: var(--ink); color: var(--gold); }

.shop-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; padding: 3px; margin-bottom: 8px; overflow: visible; }
.shop-tab, .filter-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex: 1;
  min-width: 0;
  min-height: 44px;
  padding: 6px 4px;
  border: 0;
  border-radius: 0;
  background: #cdb48d;
  color: #4b3326;
  box-shadow: var(--pbox-quiet);
  font-family: var(--display);
  font-weight: 400;
  font-size: 13px;
}
.shop-tab.active, .filter-tab.active { background: var(--bg-card); color: var(--text); box-shadow: var(--pbox-quiet), inset 0 -3px 0 var(--gold); }
.shop-tab { font-size: 12px; }
@media (max-width: 360px) {
  .shop-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shop-tab { font-size: 13px; }
}
.filter-tabs { gap: 12px; margin: 12px 3px; }
.catalog-search {
  width: calc(100% - 6px);
  margin: 12px 3px;
  border: 0;
  border-radius: 0;
  background: var(--bg-card);
  color: var(--text);
  box-shadow: var(--pbox-sm);
}
.catalog-search::placeholder { color: var(--text-faint); }

.shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; padding: 3px; }
.shop-item {
  gap: 6px;
  padding: 8px;
  border: 0;
  border-radius: 0;
  background: var(--bg-card);
  box-shadow: var(--pbox-quiet);
  min-width: 0;
}
.shop-thumb {
  width: 100%;
  height: 100px;
  padding: 8px;
  border-radius: 0;
  background-color: #efe0c3;
  box-shadow: inset 0 0 0 2px var(--paper-lo);
  object-fit: contain;
}
.shop-thumb.is-furniture { padding: 8px 8px 22px; background: url("/assets/pixel/tiles/tile_wood_01.png") center calc(100% - 4px) / 96px 48px no-repeat, #efe0c3; }
.shop-item-name, .shop-details-trigger { font-family: var(--display); font-weight: 400; font-size: 13.5px; color: var(--text); line-height: 1.2; }
.shop-details-trigger { min-height: 44px; }
.shop-details-trigger::after { color: var(--accent-ink); }
.shop-item-bonus { display: inline-flex; align-items: center; gap: 2px; padding: 0; background: none; color: var(--sage-ink); font-size: 12px; font-weight: 600; text-align: center; }
.shop-item-desc { color: var(--text-dim); }
.shop-placed { color: var(--sage-ink); }
.shop-buy, .shop-apply { width: calc(100% - 4px); min-height: 44px; margin: 2px 2px 6px; padding: 6px 8px; font-size: 14px; gap: 4px; }
.btn.shop-apply { background: var(--bg-card); color: var(--text); text-shadow: none; box-shadow: var(--pbox-sm); }
.btn.shop-buy.secondary { background: #cdb48d; color: #4b3326; text-shadow: none; box-shadow: var(--pbox-sm); }
.shop-buy.unaffordable { opacity: .5; }
.shop-applied, .garden-note { display: block; width: 100%; margin-top: auto; padding: 8px 4px; border-radius: 0; background: none; color: var(--text-dim); text-align: center; font-size: 13px; font-weight: 600; }
.shop-applied { color: var(--sage-ink); }
.shop-item.is-applied { outline: 0; background: #e6ecd8; }
.shop-item-garden { outline: 0; background: #fbefd5; }
.garden-tag { border-radius: 0; background: var(--gold); color: var(--ink); border: 0; box-shadow: 0 0 0 2px var(--ink); }
.zone-expansion { border: 0; padding: 0 12px; margin: 3px 3px 18px; }
.zone-expansion summary { min-height: 52px; cursor: pointer; list-style: none; }
.zone-expansion summary::-webkit-details-marker { display: none; }
.zone-expansion summary::marker { content: ""; }
.zone-expansion-heading h2 { flex: 1; min-width: 0; margin: 0; }
.zone-expansion-heading > span { font-size: 13px; }
.zone-expansion .expansion-chevron { transition: transform .12s ease; }
.zone-expansion[open] .expansion-chevron { transform: rotate(90deg); }
.zone-expansion-body { padding: 4px 0 14px; border-top: 1px dashed var(--paper-lo); }
.zone-expansion .btn { width: calc(100% - 6px); }
.zone-expansion h2 { display: flex; align-items: center; gap: 8px; color: var(--text); }

/* ── Кулинарная книга ───────────────────────────────── */

.cb-top h1 { display: flex; align-items: center; font-size: 26px; color: var(--gold); text-shadow: var(--outline); }
.cb-overall { color: var(--on-wood-dim); }
.cb-overall b { color: var(--gold); }
.cb-bar { height: 12px; border-radius: 0; background: #5a3a2a; box-shadow: 0 0 0 2px var(--ink); }
.cb-fill { border-radius: 0; background: var(--gold); }
.cb-head { color: var(--on-wood-dim); }
.cb-grid { gap: 14px; padding: 3px; }
.cb-item, button.cb-item { border: 0; border-radius: 0; background: var(--bg-card); box-shadow: var(--pbox-sm); }
.cb-item.locked { opacity: .8; background: #cdb48d; }
.cb-item.locked .cb-name { color: #5c4033; }
.cb-item.rare { border: 0; box-shadow: var(--pbox-sm), inset 0 0 0 2px var(--honey); }
.cb-count { border-radius: 0; background: var(--honey-soft); color: var(--honey-ink); }
.book-more { width: calc(100% - 6px); }

/* ── Задания дня ────────────────────────────────────── */

.quests-heading { display: flex; align-items: center; gap: 14px; margin: 4px 4px 10px; }
.quests-heading h1 { margin: 0; font-size: 28px; color: var(--gold); text-shadow: var(--outline); }
.quests-heading p { margin: 3px 0; font-size: 13px; }
.quest-ring { position: relative; width: 58px; height: 58px; flex: none; }
.quest-ring svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.quest-ring circle { fill: none; stroke-width: 6; stroke: #5a3a2a; }
.quest-ring circle + circle { stroke: var(--gold); stroke-linecap: butt; }
.quest-ring b { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--display); font-weight: 400; font-size: 15px; color: var(--on-wood); }
.quest-bonus { display: flex; align-items: center; gap: 8px; margin: 6px 4px 12px; color: var(--gold); font-size: 14px; font-weight: 600; }
.quest-card { margin-top: 0; }
.quest-card.is-completed { background: #e6ecd8; }
.quest-heading { align-items: center; gap: 10px; }
.quest-heading h2 { flex: 1; font-size: 15px; line-height: 1.3; }
.quest-heading > span:last-child { color: var(--text-dim); font-weight: 700; font-size: 13px; }
.quest-check { width: 28px; height: 28px; flex: none; display: grid; place-items: center; background: none; box-shadow: none; }
.quest-card.is-completed .quest-check { background: var(--sage-soft); }
.quest-card .progress-bar { margin-top: 12px; }
.quest-rewards { align-items: center; gap: 8px; margin-top: 12px; color: inherit; font-size: 12px; }
.reward-tag, .quest-completed-note { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 0; background: var(--honey-soft); color: var(--honey-ink); box-shadow: inset 0 0 0 2px #e2c47e; font-size: 12px; font-weight: 700; }
.quest-completed-note { margin: 0 0 0 auto; background: var(--sage-soft); color: var(--sage-ink); box-shadow: inset 0 0 0 2px #b9c9a0; }

/* ── Карточка кафе ──────────────────────────────────── */

.cafe-card-hero { margin: 3px 3px 22px; padding: 22px 16px 18px; background: var(--bg-card); color: var(--text); box-shadow: var(--pbox); }
.cafe-card-emblem { border: 0; border-radius: 0; background: var(--sunk); box-shadow: inset 0 0 0 3px var(--paper-lo); }
.cafe-card-eyebrow { color: var(--accent-ink); font-family: var(--display); font-size: 11px; letter-spacing: 1px; }
.cafe-card-hero h1 { color: var(--text); font-size: 26px; }
.cafe-card-description { color: var(--text-dim); }
.cafe-card-title .muted { color: var(--text-dim); }
.cafe-card-chips span, .cafe-honor { border-radius: 0; background: var(--sunk); color: var(--text-dim); box-shadow: inset 0 0 0 2px var(--paper-lo); font-weight: 600; }
.cafe-honor { background: var(--honey-soft); color: var(--honey-ink); box-shadow: inset 0 0 0 2px #e2c47e; }
.cafe-card-section h2 { font-size: 16px; color: var(--text); }
.cafe-card-section .btn { width: calc(100% - 6px); }
.cafe-staff-row small { color: var(--text-faint); }
.cafe-management summary { display: flex; align-items: center; gap: 10px; list-style: none; font-family: var(--display); font-size: 15px; }
.cafe-management summary::-webkit-details-marker { display: none; }
.cafe-management summary small { margin-left: auto; font-family: "Golos Text", sans-serif; font-size: 12px; color: var(--text-dim); }
.cafe-management label { color: var(--text-dim); font-weight: 600; }
.cafe-management input:not([type=checkbox]), .cafe-management select { border: 0; border-radius: 0; background: var(--paper-hi); color: var(--text); box-shadow: 0 0 0 2px var(--ink); }
.cafe-card-refresh { width: calc(100% - 6px); }

.cafe-growth-heading > span { color: var(--text-dim); }
.cafe-growth-label > span:first-child { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.cafe-growth progress { height: 14px; border: 2px solid var(--ink); border-radius: 0; background: var(--sunk); box-shadow: none; }
.cafe-growth progress::-webkit-progress-bar { background: var(--sunk); }
.cafe-growth progress::-webkit-progress-value { border-radius: 0; }
.cafe-growth progress::-moz-progress-bar { border-radius: 0; }
.cafe-growth-numbers { color: var(--text-dim); }
.weekly-order { border: 0; }
.weekly-order-eyebrow { color: var(--accent-ink); font-family: var(--display); opacity: 1; }
.weekly-order-state { border-radius: 0; background: var(--honey-soft); color: var(--honey-ink); }
.weekly-order-state.is-complete { background: var(--sage-soft); color: var(--sage-ink); }
.weekly-order-department progress { accent-color: var(--sage); }
.weekly-order-reward { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.weekly-order-honor { border-radius: 0; background: var(--honey-soft); color: var(--honey-ink); }

/* ── Кафе-пасс ──────────────────────────────────────── */

/* Кафе-пасс — в cafe-pass.css (оформление «Лента сезона»). */

/* ── Кофе-слот ──────────────────────────────────────── */

.gacha-screen h1 { display: flex; align-items: center; font-size: 26px; color: var(--gold); text-shadow: var(--outline); }
.gacha-screen header p { color: var(--on-wood-dim); }
.gacha-machine { border: 0; background: #fbefd5; }
.gacha-screen summary { font-family: var(--display); font-weight: 400; }
.gacha-row { border-top: 2px dashed var(--line); }
.gacha-row small, .gacha-row span { color: var(--text-dim); }
.gacha-result { border: 0; box-shadow: var(--pbox), inset 0 0 0 3px var(--sage); }
.gacha-reel-window { border: 0; border-radius: 0; background: var(--sunk); box-shadow: inset 0 0 0 2px var(--ink); }
.gacha-reel-card { border-radius: 0; background: var(--paper-hi); }
.gacha-note { color: var(--on-wood); }

/* ── Личное кафе ────────────────────────────────────── */

.zone-hero.home-hero { margin: 3px 3px 22px; border-radius: 0; background: var(--bg-card); color: var(--text); box-shadow: var(--pbox); }
.home-hero .zone-emoji { display: flex; }
.home-hero h1 { color: var(--text); }
.home-hero .zone-tagline { color: var(--text-dim); opacity: 1; }
.room-actions { display: flex; margin: 0 3px; }
.room-actions .decorate-btn { flex: 1; }
.picker-home { gap: 8px; }
.btn.is-stars { background: var(--gold); color: var(--ink); text-shadow: none; box-shadow: var(--gold-sm); }

/* Экран зоны целиком помещается без прокрутки: комната забирает свободное место
   и сжимается на маленьких телефонах, остальное фиксированной высоты. */
#screen.zone-screen { gap: 8px; padding-bottom: 12px; }
.zone-screen .floor-card { flex: 1 1 0; height: auto; min-height: 140px; margin-inline: -8px; }
.zone-screen .zone-heading, .zone-screen .zone-actions, .zone-screen .edit-hint,
.zone-screen .cook-bonuses, .zone-screen .cook-status { flex-shrink: 0; }
@media (max-height: 640px) {
  .zone-heading h1 { font-size: 24px; }
  .zone-actions .room-tile, .cook-btn { min-height: 74px; }
  .room-tile .ico { transform: scale(.85); }
}
/* Узкие экраны: чтобы «Обслужить» помещалась рядом с иконкой */
.zone-actions { grid-template-columns: 72px minmax(0, 1fr) 72px; gap: 12px; }
.cook-head b { font-size: 19px; }
@media (max-width: 380px) { .cook-head .ico { display: none; } }

/* Контраст размеров, как в макете: маленькие квадраты по краям, крупная кнопка по центру */
.zone-actions { grid-template-columns: 66px minmax(0, 1fr) 66px; gap: 16px; align-items: center; }
.action-slot { align-self: center; }
.zone-actions .room-tile { min-height: 0; height: 70px; gap: 5px; padding: 4px 2px; font-size: 12px; }
.zone-actions .room-tile .ico { transform: scale(.82); margin: -2px 0; }
.cook-btn { min-height: 100px; gap: 8px; padding: 12px 14px 14px; }
.cook-head { gap: 10px; }
.cook-head b { font-size: 24px; }
.cook-foot { min-height: 18px; font-size: 13px; }
.cook-foot small { font-size: 13px; }
.cook-time { font-size: 17px; }
@media (max-height: 640px) {
  .cook-btn { min-height: 86px; }
  .zone-actions .room-tile { height: 64px; }
}
@media (max-width: 380px) { .cook-head b { font-size: 21px; } }
.cook-actions .cook-btn.is-cooldown, .cook-actions [data-cook].cook-btn.is-cooldown { background: #a64a36; color: var(--accent-text); border-color: transparent; opacity: 1; }

/* Служебные надписи комнаты (размер, места) — только в режиме «Двигать мебель» */
.floor-card:not(.is-editing) .floor-hud,
.floor-card:not(.is-editing) .floor-seat-badge { display: none; }

/* Большая кнопка: иконка над названием — всё строго по центру и не тесно на узких
   экранах. Пустая нижняя строка скрывается, чтобы название не уезжало вверх. */
.cook-foot[hidden] { display: none; }
.cook-btn { gap: 4px; padding: 10px 12px 12px; }
.cook-head { flex-direction: column; gap: 2px; }
.cook-head .ico { display: block; }
.cook-head b { max-width: 100%; }
@media (max-width: 380px) { .cook-head .ico { display: block; } }
@media (max-height: 680px) {
  .cook-btn { padding-top: 7px; padding-bottom: 9px; gap: 2px; }
}

/* Откат: кнопка тускнеет до серо-коричневой (как «неактивная»), время остаётся ярким */
.cook-actions .cook-btn.is-cooldown, .cook-actions [data-cook].cook-btn.is-cooldown {
  --accent-deep: #3b302c;
  --accent-hi: #85766f;
  background: #6a5b55;
  color: #e6dbd2;
  box-shadow: 0 -3px 0 0 var(--ink), 0 9px 0 0 var(--ink), -3px 0 0 0 var(--ink), 3px 0 0 0 var(--ink),
    -3px 6px 0 0 var(--ink), 3px 6px 0 0 var(--ink), 0 6px 0 0 #3b302c, inset 0 3px 0 0 #85766f;
}
.cook-btn.is-cooldown .cook-head .ico { opacity: .55; filter: grayscale(.8); }
.cook-btn.is-cooldown .cook-time { color: #fff3e0; }

/* Cafe navigation and the season reward destination. */
.cafe-card-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0 3px 22px}
.cafe-card-actions .btn{min-width:0;padding:10px 8px}
.cafe-item.is-current{background:#fbefd5}
