@font-face { font-family: "Nunito Brand"; src: url("/assets/nunito-brand.ttf") format("truetype"); font-style: normal; font-weight: 700; font-display: swap; }
:root {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #303823;
  background: #f2ece2;
  font-synthesis: none;
  --olive: #303823;
  --sage: #d1d5ba;
  --gold: #c4a34d;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; min-height: 100svh; }
main {
  max-width: 500px;
  margin: 0 auto;
  padding: max(12px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
}
.icon-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.brand { position: relative; height: 116px; isolation: isolate; }
.brand-name { position: absolute; top: 24px; left: 6px; font-family: "Nunito Brand", sans-serif; font-size: clamp(30px, 8.8vw, 41px); letter-spacing: .045em; font-weight: 700; line-height: 1; z-index: 1; }
.river { position: absolute; top: 63px; left: 1px; width: 46%; height: 28px; }
.brand-bird { position: absolute; width: 58%; height: 116px; object-fit: contain; object-position: right top; right: -8px; top: -8px; z-index: -1; }
.intro { display: grid; grid-template-columns: minmax(0, 1fr) max-content; align-items: center; gap: 10px; margin: 6px 2px 24px; }
h1 { font-size: clamp(20px, 5.7vw, 28px); font-weight: 650; letter-spacing: -.025em; line-height: 1.2; white-space: nowrap; margin: 0; }
.stay-times { display: grid; grid-template-columns: max-content max-content max-content; column-gap: 10px; row-gap: 0; align-items: baseline; border-left: 1px solid #969d7f; padding: 1px 0 1px 12px; font-size: 12px; line-height: 1.15; white-space: nowrap; }
.stay-times > span { color: #838171; }
.stay-times time { font-variant-numeric: tabular-nums; }
.stay-times time:nth-child(3n) { text-align: right; font-weight: 650; font-size: 13px; min-width: 3.35em; }
.mode-switch { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid #919a7c; border-radius: 11px; margin: 0 0 16px; padding: 0; overflow: hidden; }
.mode-switch button { appearance: none; min-height: 40px; padding: 8px; border: 0; border-radius: 9px; color: var(--olive); background: transparent; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
.mode-switch button[aria-selected="true"] { background: #657947; color: #faf7ef; }
.mode-switch button:focus-visible { outline-offset: -3px; }
.lights { display: grid; gap: 9px; }
.light {
  appearance: none; -webkit-tap-highlight-color: transparent;
  width: 100%; min-height: 64px; min-height: clamp(60px, 9svh, 72px);
  padding: 11px 14px 11px 12px;
  display: grid; grid-template-columns: 64px minmax(0, 1fr) 46px; gap: 14px; align-items: center;
  background: #f8f4ec; border: 1px solid #919a7c; border-radius: 13px;
  color: var(--olive); text-align: left; font: inherit; cursor: pointer;
  transition: background-color .15s;
}
.lights[data-many="true"] { gap: 6px; }
.lights[data-many="true"] .light { min-height: 60px; min-height: clamp(58px, 7.8svh, 64px); padding-top: 8px; padding-bottom: 8px; }
main.many-lights .brand { height: 100px; }
.light-art { min-height: 42px; margin-left: -12px; display: flex; align-items: center; justify-content: center; border-right: 1px solid #969d7f; }
.light-icon { width: 47px; height: 43px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.light-icon--perimeter { width: 50px; height: 35px; }
.light-copy { display: flex; min-width: 0; flex-direction: column; gap: 4px; }
.light-name { font-size: 18px; font-weight: 600; line-height: 1.2; overflow-wrap: anywhere; }
.light-state { color: #848172; font-size: 15px; line-height: 1.2; }
.light[data-state="on"] { background: var(--sage); --lamp-fill: var(--gold); --lamp-rays: #b89940; --perimeter-light: 1; }
.light[data-state="on"] .light-state { color: #5c713f; }
.switch-mark { display: block; position: relative; width: 46px; height: 26px; background: #c9c2b3; border-radius: 20px; padding: 3px; }
.switch-mark::after { content: ""; display: block; width: 20px; height: 20px; background: #f8f5ed; border-radius: 50%; }
.light[data-state="on"] .switch-mark { background: #61763f; }
.light[data-state="on"] .switch-mark::after { transform: translateX(20px); }
.light:disabled { cursor: default; }
.light[data-state="unavailable"] { background: #e8e6dc; border-style: dashed; }
.light[data-state="unavailable"] .light-art { opacity: .6; }
.light[data-busy="true"] .switch-mark { background: transparent; border: 2px solid #61763f; border-right-color: transparent; width: 23px; height: 23px; justify-self: center; animation: rotate .8s linear infinite; }
.light[data-busy="true"] .switch-mark::after { display: none; }
.all-off { margin-top: 20px; width: 100%; min-height: 54px; padding: 12px; display: flex; align-items: center; justify-content: center; gap: 14px; color: #f8f4ec; background: #536239; border: 1px solid #536239; border-radius: 13px; font: inherit; font-size: 18px; font-weight: 550; cursor: pointer; }
.all-off svg { width: 28px; height: 28px; padding-right: 12px; box-sizing: content-box; border-right: 1px solid #bac1a5; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; fill: none; }
.all-off:disabled { cursor: default; color: #e9e8dd; background: #68744e; border-color: #68744e; }
.lights[data-many="true"] + .all-off { margin-top: 14px; }
button { touch-action: manipulation; }
button:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.notice { position: fixed; z-index: 10; bottom: max(16px, env(safe-area-inset-bottom)); left: 16px; right: 16px; width: max-content; max-width: min(468px, calc(100% - 32px)); margin: 0 auto; border: 1px solid #969d7f; border-radius: 12px; background: #f8f4ec; box-shadow: 0 4px 24px #30382324; color: var(--olive); padding: 12px 16px; font-size: 14px; line-height: 1.5; }
.notice[data-kind="error"] { border-color: #a27c55; }
.catalog-heading { font-size: 14px; line-height: 1.3; font-weight: 600; color: #787666; margin: 0 2px 10px; }
.catalog { display: grid; gap: 8px; }
.product-card { display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 12px; align-items: center; padding: 12px; border: 1px solid #919a7c; border-radius: 12px; background: #f8f4ec; }
.product-picture { --picture-size: 80px; display: block; width: var(--picture-size); background-image: url('/assets/menu-illustrations.png'); background-size: 300% auto; background-repeat: no-repeat; }
.product-picture-pizza { height: calc(var(--picture-size) * .7); background-position: 0 calc(var(--picture-size) * -.54); }
.product-picture-dumplings { height: calc(var(--picture-size) * .58); background-position: 50% calc(var(--picture-size) * -.62); }
.product-picture-pancakes { height: calc(var(--picture-size) * .64); background-position: 100% calc(var(--picture-size) * -.59); }
.product-picture-cheburek { height: calc(var(--picture-size) * .52); background-position: 0 calc(var(--picture-size) * -1.8); }
.product-picture-drinks { height: calc(var(--picture-size) * .82); background-position: 50% calc(var(--picture-size) * -1.62); }
.product-picture-kitchen { height: calc(var(--picture-size) * .7); background-position: 100% calc(var(--picture-size) * -1.68); }
.product-copy { min-width: 0; border-left: 1px solid #a6ad92; padding-left: 12px; }
.product-copy h3 { margin: 0 0 5px; font-size: 18px; font-weight: 600; line-height: 21px; }
.product-copy dl, .product-copy p { margin: 0; font-size: 16px; line-height: 20px; }
.product-copy dl > div { display: grid; grid-template-columns: minmax(0, 1fr) max-content; gap: 10px; }
.product-copy dt { color: #787666; }
.product-copy dd { margin: 0; font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.drinks-heading { margin-top: 16px; }
.reception-note { margin: 16px 2px; font-size: 14px; line-height: 1.5; }
.kitchen-card { grid-template-columns: 48px minmax(0, 1fr); background: #e3e5d2; }
.kitchen-card .product-picture { --picture-size: 48px; }
.kitchen-card p { color: #787666; }
[hidden] { display: none !important; }
@keyframes rotate { to { transform: rotate(360deg); } }
@media (max-width: 350px) {
  .brand { height: 102px; }
  .brand-bird { height: 105px; }
  .brand-name { top: 23px; }
  .river { top: 56px; }
  h1 { font-size: 19px; }
  .intro { gap: 7px; margin-bottom: 19px; }
  .stay-times { font-size: 11px; column-gap: 7px; padding-left: 9px; }
  .stay-times time:nth-child(3n) { font-size: 12px; }
  .light { grid-template-columns: 49px minmax(0, 1fr) 40px; gap: 11px; padding-left: 10px; padding-right: 11px; }
  .light-icon { width: 37px; height: 39px; }
  .light-icon--perimeter { width: 43px; height: 32px; }
  .light-art { margin-left: -10px; }
  .all-off svg { stroke-width: 2.2; }
  .light-name { font-size: 16px; }
  .light-state { font-size: 14px; }
  .product-card { grid-template-columns: 64px minmax(0, 1fr); gap: 9px; padding: 10px; }
  .product-picture { --picture-size: 64px; }
  .kitchen-card { grid-template-columns: 35px minmax(0, 1fr); }
  .kitchen-card .product-picture { --picture-size: 35px; }
  .product-copy { padding-left: 9px; }
  .switch-mark { width: 40px; height: 24px; }
  .switch-mark::after { width: 18px; height: 18px; }
  .light[data-state="on"] .switch-mark::after { transform: translateX(16px); }
  .all-off { font-size: 16px; }
}
@media (max-height: 650px) {
  main { padding-top: max(6px, env(safe-area-inset-top)); }
  .brand { height: 88px; }
  .brand-bird { height: 96px; }
  .brand-name { top: 17px; }
  .river { top: 50px; }
  .intro { margin-top: 2px; margin-bottom: 16px; }
  .lights { gap: 6px; }
  .light { min-height: 60px; padding-top: 8px; padding-bottom: 8px; }
  .all-off { margin-top: 13px; min-height: 48px; }
  main.many-lights .brand { height: 88px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation-duration: 2s !important; } }
