/* Board v6 isolated screen stylesheet. No shared app.css is loaded on /board.
   The board is a normal scrollable page on desktop and mobile. */

* { box-sizing: border-box; }
html { margin: 0; padding: 0; font-family: "Avenir Next", "Segoe UI Variable", "Segoe UI", "Helvetica Neue", Arial, sans-serif; }
body { margin: 0; }
img, video { display: block; max-width: 100%; }
h1, h2, p { margin-top: 0; }

/* Board v5 hard repair.
   This stylesheet is loaded only by board.html and intentionally overrides the
   older shared board rules. The old board used 100vh + overflow:hidden, which
   clipped content and blocked scrolling on many desktop and mobile viewports. */

html,
body.board-body {
  min-height: 100%;
  height: auto !important;
  max-height: none !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  overscroll-behavior-y: auto;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: auto;
}

body.board-body {
  margin: 0;
  background:
    radial-gradient(circle at 16% 14%, rgba(255, 199, 98, .16), transparent 32rem),
    linear-gradient(135deg, #160907 0%, #35110d 46%, #120706 100%);
  color: #fff;
  line-height: 1.35;
}

body.board-body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 78% 0%, rgba(183, 37, 36, .24), transparent 28rem),
    linear-gradient(90deg, rgba(255,255,255,.03), transparent 32%);
}

body.board-body .board {
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  display: grid;
  grid-template-columns: minmax(250px, 24vw) minmax(0, 1fr);
  align-items: start;
  background: transparent !important;
}

body.board-body .board-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  min-height: 0 !important;
  max-height: 100dvh;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  padding: clamp(16px, 1.6vw, 34px);
  display: grid;
  grid-template-rows: auto minmax(160px, 1fr) auto;
  gap: clamp(12px, 1.2vw, 22px);
  border-right: 1px solid rgba(255,255,255,.13);
}

body.board-body .board-brand {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1vw, 18px);
  min-width: 0;
}

body.board-body .board-brand img {
  width: clamp(52px, 4.2vw, 82px);
  height: clamp(52px, 4.2vw, 82px);
  border-radius: 999px;
  background: #fff;
  flex: 0 0 auto;
}

body.board-body .board-location {
  margin: 0 0 6px;
  color: #ffcf68;
  font-size: clamp(.68rem, .76vw, .95rem);
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}

body.board-body .board-brand h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(2rem, 3.05vw, 3.7rem);
  line-height: .92;
  letter-spacing: -.065em;
}

body.board-body .board-featured {
  min-height: 0 !important;
  overflow: visible !important;
}

body.board-body .board-feature-card {
  position: relative;
  height: 100%;
  min-height: 170px;
  border-radius: clamp(18px, 1.8vw, 32px);
  overflow: hidden;
  background: rgba(255,255,255,.08);
  box-shadow: 0 24px 70px rgba(0,0,0,.34);
}

body.board-body .board-feature-card img,
body.board-body .board-feature-card video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .92;
}

body.board-body .board-feature-copy {
  position: absolute;
  inset: auto 0 0 0;
  padding: clamp(14px, 1.35vw, 24px);
  background: linear-gradient(transparent, rgba(0,0,0,.88));
}

body.board-body .board-feature-copy p {
  margin: 0 0 6px;
  color: #ffd687;
  font-size: clamp(.86rem, .9vw, 1.12rem);
}

body.board-body .board-feature-copy h2 {
  font-size: clamp(1.45rem, 2.2vw, 3rem);
}

body.board-body .board-clock {
  color: #ffe5b7;
  font-size: clamp(1rem, 1.3vw, 1.6rem);
  font-weight: 950;
}

body.board-body .board-main {
  min-width: 0;
  min-height: 100vh;
  min-height: 100dvh;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  display: block !important;
  padding: clamp(16px, 1.65vw, 34px);
}

body.board-body .board-topline {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  margin: 0 0 clamp(14px, 1.2vw, 24px);
  color: #ffe0a0;
  font-size: clamp(.96rem, 1.15vw, 1.4rem);
  font-weight: 900;
  line-height: 1.15;
}

body.board-body #board-phones {
  white-space: nowrap;
  text-align: right;
}

body.board-body .board-menu-grid {
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: visible !important;
  flex: none !important;
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 430px), 1fr));
  grid-auto-rows: auto !important;
  align-content: start !important;
  align-items: start;
  gap: clamp(14px, 1.4vw, 26px);
}

body.board-body .board-category {
  min-width: 0;
  min-height: 0 !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  display: block !important;
  padding: clamp(15px, 1.18vw, 24px);
  border-radius: clamp(18px, 1.55vw, 28px);
  background: rgba(255,255,255,.085);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 22px 50px rgba(0,0,0,.14);
}

body.board-body .board-category h2 {
  margin: 0 0 clamp(9px, .75vw, 15px);
  color: #ffce62;
  font-size: clamp(1.45rem, 1.9vw, 2.65rem);
  line-height: .98;
  letter-spacing: -.055em;
}

body.board-body .board-lines {
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: visible !important;
  display: block !important;
}

body.board-body .board-line {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  gap: clamp(10px, 1vw, 18px);
  align-items: baseline;
  padding: clamp(7px, .46vw, 10px) 0;
  border-bottom: 1px dashed rgba(255,255,255,.19);
  color: #fff;
  font-size: clamp(.96rem, 1vw, 1.28rem);
  line-height: 1.16;
  font-weight: 900;
}

body.board-body .board-line:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

body.board-body .board-line > span:first-child {
  min-width: 0;
  overflow: visible !important;
}

body.board-body .board-line small {
  display: block !important;
  margin-top: 3px;
  color: rgba(255,255,255,.66);
  overflow: visible !important;
  -webkit-line-clamp: unset !important;
  -webkit-box-orient: unset !important;
  font-size: .52em;
  line-height: 1.2;
  font-weight: 650;
}

body.board-body .board-line .price {
  white-space: nowrap;
  color: #fff;
  background: transparent;
  padding: 0;
  font-size: .98em;
  font-weight: 950;
}

body.board-body .board-ticker {
  position: sticky;
  bottom: 10px;
  z-index: 3;
  height: auto !important;
  min-height: 42px;
  margin: clamp(14px, 1.4vw, 26px) 0 0;
  padding: 9px 0;
  overflow: hidden !important;
  border-radius: 999px;
  background: #b72524;
  font-size: clamp(.92rem, 1vw, 1.35rem);
  font-weight: 950;
}

body.board-body .board-scroll-hint {
  position: fixed;
  right: 14px;
  bottom: 14px;
  z-index: 20;
  display: none;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(0,0,0,.68);
  border: 1px solid rgba(255,255,255,.22);
  color: #fff4d8;
  font-size: 12px;
  font-weight: 900;
  pointer-events: none;
  backdrop-filter: blur(10px);
}

body.board-body.is-scrollable .board-scroll-hint {
  display: block;
}

@media (max-width: 1180px) {
  body.board-body .board {
    grid-template-columns: minmax(220px, 28vw) minmax(0, 1fr);
  }
  body.board-body .board-menu-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px), (orientation: portrait) {
  html,
  body.board-body {
    width: 100%;
    overflow-x: hidden !important;
    overflow-y: auto !important;
  }

  body.board-body .board {
    display: block !important;
    min-height: 100dvh;
  }

  body.board-body .board-sidebar {
    position: static;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.13);
    grid-template-rows: auto minmax(190px, 34vh) auto;
    padding: 16px;
  }

  body.board-body .board-brand {
    align-items: flex-start;
  }

  body.board-body .board-brand img {
    width: 60px;
    height: 60px;
  }

  body.board-body .board-brand h1 {
    font-size: clamp(2rem, 12vw, 3.8rem);
  }

  body.board-body .board-feature-card {
    min-height: 200px;
  }

  body.board-body .board-main {
    min-height: auto;
    padding: 16px;
  }

  body.board-body .board-topline {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  body.board-body #board-phones {
    white-space: normal;
    text-align: left;
  }

  body.board-body .board-menu-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  body.board-body .board-category {
    padding: 16px;
    border-radius: 22px;
  }

  body.board-body .board-line {
    grid-template-columns: minmax(0, 1fr) max-content;
    gap: 10px;
    font-size: clamp(.98rem, 4.2vw, 1.28rem);
  }

  body.board-body .board-line small {
    display: none !important;
  }

  body.board-body .board-ticker {
    position: static;
    min-height: 46px;
  }
}

@media (max-width: 460px) {
  body.board-body .board-line {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  body.board-body .board-line .price {
    justify-self: start;
  }
}


body.board-body .board-ticker span {
  display: inline-block;
  min-width: 100%;
  padding-inline-start: 100%;
  white-space: nowrap;
  animation: boardTicker 24s linear infinite;
}

@keyframes boardTicker {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

/* v13 typography: replace the old Inter stack with a warmer restaurant stack */
html,
body,
button,
input,
textarea,
select {
  font-family: "Avenir Next", "Segoe UI Variable", "Segoe UI", "Helvetica Neue", Arial, sans-serif !important;
}
.board-brand h1,
.board-category h2,
.board-feature-copy h2 {
  font-family: Georgia, "Times New Roman", serif !important;
  font-weight: 800;
}
