*{box-sizing:border-box} :root{color-scheme:dark;font-family:Arial,Helvetica,sans-serif;color:#f5f2e9;background:#080909}body{margin:0;overflow:hidden}button,textarea{font:inherit}button{cursor:pointer}#board{width:1920px;height:1080px;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%) scale(var(--board-scale,1));background:#121212;overflow:hidden;transform-origin:center}.masthead{height:160px;margin:0 64px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #393933}.brand{display:flex;align-items:center;gap:21px}.brand-mark{color:#eab569;font-size:84px;line-height:1}.brand h1{font-size:42px;letter-spacing:4px;margin:0 0 10px}.brand p{font-size:16px;letter-spacing:4px;color:#a8a89d;margin:0}.header-right{display:flex;align-items:center;gap:42px}.status{border:1px solid #424638;background:#24291f;border-radius:30px;padding:13px 22px;color:#d2dabb;font-size:20px;letter-spacing:2px}.status i{display:inline-block;width:9px;height:9px;background:#b9cd85;border-radius:50%;margin-right:10px}#clock{font-size:28px;font-variant-numeric:tabular-nums}.main-grid{display:grid;grid-template-columns:65% 35%;height:830px;padding:34px 64px 0;gap:0}.menu-area{padding-right:48px;position:relative}.menu-heading{display:flex;justify-content:space-between;align-items:center;height:188px}.eyebrow{font-size:17px;font-weight:700;letter-spacing:3px;color:#d5ad71;margin:0 0 16px}.menu-heading h2{font-size:52px;line-height:1.1;letter-spacing:-1px;margin:0}.service-note{font-size:15px;line-height:1.8;letter-spacing:2px;text-align:right;color:#d0b383}.service-note b{font-size:12px;color:#898b80;font-weight:400}#menu-pages{position:relative;height:532px;margin-top:23px}.menu-page{position:absolute;inset:0;display:grid;grid-template-columns:1fr 1fr;gap:44px;opacity:0;transition:opacity .5s ease;pointer-events:none}.menu-page.active{opacity:1}.category-heading{display:flex;align-items:center;gap:14px;border-bottom:1px solid #55503e;padding-bottom:18px;margin-bottom:8px}.category-heading .category-number{color:#d5ad71;font-size:18px}.category-heading h3{font-size:29px;letter-spacing:1px;margin:0;text-transform:uppercase;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.menu-item{padding:24px 0 21px;border-bottom:1px solid #2c2e28;min-height:120px}.item-top{display:flex;align-items:baseline;justify-content:space-between;gap:12px}.item-top h4{font-size:26px;font-weight:600;margin:0;line-height:1.2}.price{color:#e6ba76;font-size:26px;white-space:nowrap}.menu-item p{font-size:24px;line-height:1.3;color:#a4a69b;margin:10px 0 0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.tag{font-size:24px;margin-left:7px}.vegan{color:#b6c884}.spicy{color:#dc9572}.menu-bottom{position:absolute;bottom:22px;left:0;right:48px;display:flex;justify-content:space-between;align-items:center}.dietary-key{display:flex;gap:26px;font-size:18px;color:#969b8c}.dietary-key b{font-size:25px;margin-right:5px}#pagination{display:flex;align-items:center;gap:10px;color:#959789;font-size:16px}.page-dot{height:7px;width:7px;border-radius:50%;background:#53554a}.page-dot.active{width:24px;border-radius:6px;background:#dab279}.feature{position:relative;border-radius:4px;overflow:hidden;background:radial-gradient(ellipse at center,#57523c,#242921);isolation:isolate}.photo-stage,.food-photo,.photo-shade{position:absolute;inset:0;width:100%;height:100%}.food-photo{object-fit:cover;opacity:0;transition:opacity 1s ease}.food-photo.active{opacity:1}.photo-shade{background:linear-gradient(180deg,rgba(0,0,0,.32),transparent 30%,rgba(0,0,0,.2) 45%,rgba(0,0,0,.93) 100%)}.feature-top{position:absolute;left:32px;right:32px;top:30px;display:flex;justify-content:space-between;font-size:15px;letter-spacing:2px}.feature-copy{position:absolute;bottom:34px;left:34px;right:34px}.feature-label{display:inline-block;background:#e6b575;color:#22251c;font-size:14px;letter-spacing:2px;padding:10px 14px;font-weight:bold}.feature-copy h2{font-size:54px;line-height:1.02;letter-spacing:-1px;margin:22px 0 16px;max-width:470px}.feature-copy p{font-size:24px;line-height:1.4;color:#d3d0c6;margin:0;max-width:440px}.feature-price-line{display:flex;justify-content:space-between;align-items:center;margin-top:24px}#feature-price{font-size:40px;color:#ecc18b}.made-to-order{font-size:13px;line-height:1.6;letter-spacing:2px;color:#c9c9b9}#slide-dots{display:flex;gap:8px;margin-top:27px}#slide-dots i{height:3px;width:30px;background:#77766a}#slide-dots i.active{background:#efc085}footer{height:90px;margin:0 64px;display:flex;align-items:center;justify-content:space-between;color:#969b8c;font-size:17px}footer>span:first-child{font-size:13px;letter-spacing:2px}#manager-button{background:none;border:0;color:#c9c8b6;font-weight:700;letter-spacing:2px;font-size:20px}#manager-button span{color:#dcb17a;margin-left:10px}.modal[hidden]{display:none}.modal{position:fixed;inset:0;background:#000c;display:flex;align-items:center;justify-content:center;padding:24px;z-index:5}.editor-card{width:min(900px,96vw);max-height:94vh;overflow:auto;background:#20221e;border:1px solid #535548;padding:30px;border-radius:12px;box-shadow:0 24px 90px #0009}.editor-heading{display:flex;justify-content:space-between;align-items:center}.editor-heading h2{font-size:32px;margin:0}.editor-card p{color:#bbbeb0;line-height:1.5}.editor-card label{display:block;margin:18px 0 10px}.editor-card textarea{width:100%;height:42vh;resize:vertical;font:15px/1.5 Consolas,monospace;padding:16px;border:1px solid #616451;background:#121410;color:#f0efdf;border-radius:5px}.editor-actions{display:flex;justify-content:flex-end;gap:12px}.editor-card button{padding:12px 18px;background:#35382f;color:#eeeee5;border:1px solid #62664e;border-radius:5px}.editor-card .primary{background:#e6b575;color:#191c15;border-color:#e6b575}.editor-card #reset-config{margin-right:auto}#editor-message{min-height:24px;color:#efbc85}button:focus-visible,textarea:focus-visible{outline:3px solid #f3c481;outline-offset:4px}@media(prefers-reduced-motion:reduce){.menu-page,.food-photo{transition:none}}

/* Per-TV presentation templates */
#board[data-template="menu-only"] .main-grid{grid-template-columns:1fr}
#board[data-template="menu-only"] .feature{display:none}
#board[data-template="menu-only"] .menu-area{padding-right:0}
#board[data-template="menu-only"] .menu-bottom{right:0}
#board[data-template="menu-only"] .menu-page{gap:80px}
#board[data-template="menu-only"] .item-top h4,#board[data-template="menu-only"] .price{font-size:32px}
#board[data-template="menu-only"] .category-heading h3{font-size:36px}
#board[data-template="spotlight"] .main-grid{grid-template-columns:35% 65%}
#board[data-template="spotlight"] .feature{grid-column:1;grid-row:1}
#board[data-template="spotlight"] .menu-area{grid-column:2;grid-row:1;padding-right:0;padding-left:48px}
#board[data-template="spotlight"] .menu-bottom{left:48px;right:0}

.menu-area{min-width:0}.menu-page{grid-template-columns:repeat(2,minmax(0,1fr))}.menu-page>section{min-width:0}.menu-page>section:only-child{grid-column:1/-1}

#fullscreen-photos {
  position: fixed;
  inset: 0;
  overflow: hidden;
  background: #000;
}
#fullscreen-photos img, #fullscreen-photos video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
}
#fullscreen-photos .fade { animation: fullscreen-fade .55s ease both; }
#fullscreen-photos :is(.slide, .slide-right, .slide-up, .slide-down) { animation: fullscreen-slide .55s ease both; }
#fullscreen-photos .slide { --slide-x: 100%; }
#fullscreen-photos .slide-right { --slide-x: -100%; }
#fullscreen-photos .slide-up { --slide-y: 100%; }
#fullscreen-photos .slide-down { --slide-y: -100%; }
#fullscreen-photos :is(.zoom-in, .zoom-out) { animation: fullscreen-zoom .65s ease both; }
#fullscreen-photos .zoom-in { --slide-scale: .85; }
#fullscreen-photos .zoom-out { --slide-scale: 1.18; }
#fullscreen-photos :is(.wipe-left, .wipe-up) { animation: fullscreen-wipe .55s ease both; }
#fullscreen-photos .wipe-left { --slide-clip: inset(0 0 0 100%); }
#fullscreen-photos .wipe-up { --slide-clip: inset(100% 0 0 0); }

@keyframes fullscreen-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes fullscreen-slide {
  from { transform: translate(var(--slide-x, 0), var(--slide-y, 0)); }
  to { transform: translate(0, 0); }
}
@keyframes fullscreen-zoom {
  from { opacity: 0; transform: scale(var(--slide-scale)); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes fullscreen-wipe {
  from { clip-path: var(--slide-clip); }
  to { clip-path: inset(0); }
}
@media (prefers-reduced-motion: reduce) {
  #fullscreen-photos :is(img, video)[class] { animation: none; }
}

#ranger-standby:not([hidden]) {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse at center, #242920, #0c100e 72%);
  color: #f5f2e9;
  text-align: center;
  font-family: "Segoe UI", sans-serif;
}
.standby-mark {
  color: #eab569;
  font-size: clamp(52px, 10vmin, 160px);
  line-height: 1;
}
#ranger-standby h1 {
  margin: .12em 0 .22em;
  padding-left: .18em;
  letter-spacing: .18em;
  font-size: clamp(42px, 9vmin, 145px);
}
#ranger-standby p {
  margin: 0;
  color: #c5c8b9;
  font-size: clamp(16px, 3vmin, 42px);
}

#board.reference-layout[data-template="item-photos"] .menu-page {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
}
#board.reference-layout[data-template="item-photos"] .reference-panel {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  padding: 24px;
}
#board.reference-layout[data-template="item-photos"] .menu-item { flex: 1; min-width: 0; border: 0; }
#board.reference-layout[data-template="item-photos"] .item-top h4 { white-space: normal; font-size: 34px; }
#board.reference-layout[data-template="item-photos"] .dish-photo-frame:not([hidden]) {
  flex: 0 0 42%;
  height: 100%;
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
}
#board.reference-layout[data-template="item-photos"] .dish-photo-frame[hidden] { display: none; }
#board.reference-layout[data-template="item-photos"] .dish-photo { width: 100%; height: 100%; object-fit: cover; }
#board.reference-layout[data-template="item-photos"] .offer-category {
  display: block;
  margin-bottom: 10px;
  color: #3b6738;
  font-weight: bold;
  text-transform: uppercase;
}
#board.reference-layout[data-template="item-photos"] .menu-page {
  grid-template-columns: repeat(var(--grid-columns, 2), minmax(0, 1fr));
  grid-template-rows: repeat(var(--grid-rows, 2), minmax(0, 1fr));
}
#board.reference-layout[data-template="item-photos"] [data-columns="1"] { --grid-columns: 1; }
#board.reference-layout[data-template="item-photos"] [data-columns="3"] { --grid-columns: 3; }
#board.reference-layout[data-template="item-photos"] [data-columns="4"] { --grid-columns: 4; }
#board.reference-layout[data-template="item-photos"] [data-rows="1"] { --grid-rows: 1; }
#board.reference-layout[data-template="item-photos"] [data-rows="3"] { --grid-rows: 3; }
#board.reference-layout[data-template="item-photos"] :is([data-columns="3"], [data-columns="4"], [data-rows="3"]) .reference-panel {
  padding: 12px;
  gap: 10px;
}
#board.reference-layout[data-template="item-photos"] :is([data-columns="3"], [data-columns="4"], [data-rows="3"]) .item-top {
  flex-wrap: wrap;
  gap: 4px;
}
#board.reference-layout[data-template="item-photos"] :is([data-columns="3"], [data-columns="4"], [data-rows="3"]) :is(.item-top h4, .menu-item p, .price) {
  font-size: 20px;
}
#board.reference-layout[data-template="item-photos"] [data-columns="4"] .dish-photo-frame:not([hidden]) { flex-basis: 32%; }

#board.reference-layout[data-template="item-photos"] [data-columns="5"] { --grid-columns: 5; }
#board.reference-layout[data-template="item-photos"] [data-columns="6"] { --grid-columns: 6; }
#board.reference-layout[data-template="item-photos"] [data-rows="4"] { --grid-rows: 4; }
#board.reference-layout[data-template="item-photos"] [data-rows="5"] { --grid-rows: 5; }
#board.reference-layout[data-template="item-photos"] [data-rows="6"] { --grid-rows: 6; }
#board.reference-layout[data-template="item-photos"] :is([data-columns="5"], [data-columns="6"], [data-rows="4"], [data-rows="5"], [data-rows="6"]) {
  gap: 10px;
}
#board.reference-layout[data-template="item-photos"] :is([data-columns="5"], [data-columns="6"], [data-rows="4"], [data-rows="5"], [data-rows="6"]) .reference-panel { padding: 8px; gap: 8px; }
#board.reference-layout[data-template="item-photos"] :is([data-columns="5"], [data-columns="6"], [data-rows="4"], [data-rows="5"], [data-rows="6"]) .menu-item { padding: 0; }
#board.reference-layout[data-template="item-photos"] :is([data-columns="5"], [data-columns="6"], [data-rows="4"], [data-rows="5"], [data-rows="6"]) .item-top { flex-wrap: wrap; gap: 3px 6px; }
#board.reference-layout[data-template="item-photos"] :is([data-columns="5"], [data-columns="6"], [data-rows="4"], [data-rows="5"], [data-rows="6"]) .item-top h4 { font-size: 18px; }
#board.reference-layout[data-template="item-photos"] :is([data-columns="5"], [data-columns="6"], [data-rows="4"], [data-rows="5"], [data-rows="6"]) .offer-category { font-size: 12px; margin-bottom: 3px; }
#board.reference-layout[data-template="item-photos"] :is([data-columns="5"], [data-columns="6"], [data-rows="4"], [data-rows="5"], [data-rows="6"]) .price { font-size: 17px; padding: 2px 5px; }
#board.reference-layout[data-template="item-photos"] :is([data-columns="5"], [data-columns="6"], [data-rows="4"], [data-rows="5"], [data-rows="6"]) .menu-item p { font-size: 15px; margin: 3px 0; -webkit-line-clamp: 1; }
#board.reference-layout[data-template="item-photos"] :is([data-columns="5"], [data-columns="6"], [data-rows="4"], [data-rows="5"], [data-rows="6"]) .size-prices { gap: 4px; margin-top: 3px; }
#board.reference-layout[data-template="item-photos"] :is([data-columns="5"], [data-columns="6"], [data-rows="4"], [data-rows="5"], [data-rows="6"]) .size-pill { font-size: 12px; padding: 2px 4px; }
#board.reference-layout[data-template="item-photos"] :is([data-columns="5"], [data-columns="6"], [data-rows="4"], [data-rows="5"], [data-rows="6"]) .reference-tags { display: none; }
#board.reference-layout[data-template="item-photos"] :is([data-columns="5"], [data-columns="6"], [data-rows="4"], [data-rows="5"], [data-rows="6"]) .dish-photo-frame:not([hidden]) { flex-basis: 31%; }

#board.reference-layout[data-template="item-photos"] .reference-panel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr) auto;
  align-items: stretch;
  column-gap: 0;
}
#board.reference-layout[data-template="item-photos"] .reference-panel .menu-item {
  grid-area: 1 / 2;
  align-self: center;
  max-height: 100%;
  overflow: hidden;
}
#board.reference-layout[data-template="item-photos"] .reference-panel .dish-photo-frame:not([hidden]) {
  grid-area: 1 / 1;
  width: 260px;
  margin-right: 20px;
}
#board.reference-layout[data-template="item-photos"] :is([data-columns="3"], [data-columns="4"], [data-columns="5"], [data-columns="6"]) .dish-photo-frame:not([hidden]) {
  width: 80px;
  margin-right: 8px;
}
#board.reference-layout[data-template="item-photos"] .grid-item-pricing {
  grid-column: 1 / -1;
  justify-self: end;
}
#board.reference-layout[data-template="item-photos"] .grid-item-pricing .price { display: block; }
#board.reference-layout[data-template="item-photos"] .grid-item-pricing .size-prices {
  justify-content: flex-end;
  margin: 0;
}

#board.reference-layout[data-template="item-photos"] :is([data-rows="4"], [data-rows="5"], [data-rows="6"]) .reference-panel {
  row-gap: 2px;
}
#board.reference-layout[data-template="item-photos"] :is([data-rows="4"], [data-rows="5"], [data-rows="6"]) .menu-item {
  align-self: start;
}
#board.reference-layout[data-template="item-photos"] :is([data-rows="4"], [data-rows="5"], [data-rows="6"]) .offer-category {
  line-height: 14px;
  margin-bottom: 2px;
}
#board.reference-layout[data-template="item-photos"] :is([data-rows="4"], [data-rows="5"], [data-rows="6"]) .item-top h4 {
  display: block;
  line-height: 20px;
  white-space: nowrap;
}
#board.reference-layout[data-template="item-photos"] :is([data-rows="4"], [data-rows="5"], [data-rows="6"]) .menu-item p {
  display: block;
  line-height: 17px;
  white-space: nowrap;
  text-overflow: ellipsis;
  margin: 1px 0 0;
}
#board.reference-layout[data-template="item-photos"] .grid-item-pricing {
  grid-row: 2;
  min-width: 0;
  max-width: 100%;
}

#ranger-standby .standby-image:not([hidden]) {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

#board.reference-layout[data-template="item-photos"] {
  background: var(--item-grid-background, #f3f7ec);
}
#business-brand[hidden] {
  display: none;
}
#grid-business-name:not([hidden]) {
  align-self: flex-start;
  margin-top: 20px;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 1px;
}
#board[data-template="item-photos"] .header-right { margin-left: auto; }
#board.item-grid-dark :is(.masthead, .menu-heading h2, .menu-heading .eyebrow, .service-note, .service-note b, .brand p, footer, .dietary-key, #manager-button) {
  color: #fff;
}

/* Keep the TV status and pagination while giving the grid more vertical space. */
#board.reference-layout[data-template="item-photos"] .masthead {
  height: 88px;
  margin-inline: 32px;
}
#board.reference-layout[data-template="item-photos"] .brand-mark { font-size: 54px; }
#board.reference-layout[data-template="item-photos"] .brand h1 { font-size: 32px; margin-bottom: 4px; }
#board.reference-layout[data-template="item-photos"] .brand p { font-size: 12px; }
#board.reference-layout[data-template="item-photos"] .main-grid {
  height: 949px;
  padding: 12px 32px 0;
}
#board.reference-layout[data-template="item-photos"] .menu-heading { height: 60px; }
#board.reference-layout[data-template="item-photos"] .menu-heading h2 { font-size: 38px; }
#board.reference-layout[data-template="item-photos"] .menu-heading .eyebrow { display: none; }
#board.reference-layout[data-template="item-photos"] #menu-pages { height: 832px; margin-top: 6px; }
#board.reference-layout[data-template="item-photos"] .menu-bottom { bottom: 2px; }
#board.reference-layout[data-template="item-photos"] footer { height: 43px; margin-inline: 32px; }

#board.reference-layout.item-grid-fullscreen :is(.masthead, .menu-heading, .menu-bottom, footer) {
  display: none;
}
#board.reference-layout[data-template="item-photos"].item-grid-fullscreen .main-grid {
  height: 100%;
  padding: 8px;
}
#board.reference-layout[data-template="item-photos"].item-grid-fullscreen #menu-pages {
  height: 100%;
  margin: 0;
}

#board[data-template="spotlight"] .header-right { margin-left: auto; }
#board[data-template="spotlight"].spotlight-compact .masthead { height: 84px; margin-inline: 32px; }
#board[data-template="spotlight"].spotlight-compact .brand h1 { font-size: 32px; margin-bottom: 4px; }
#board[data-template="spotlight"].spotlight-compact .brand-mark { font-size: 52px; }
#board[data-template="spotlight"].spotlight-compact .main-grid {
  grid-template-columns: 28% 72%;
  height: 952px;
  padding: 12px 32px 0;
}
#board[data-template="spotlight"].spotlight-compact .menu-area { padding-left: 24px; }
#board[data-template="spotlight"].spotlight-compact .menu-heading { display: none; }
#board[data-template="spotlight"].spotlight-compact #menu-pages { height: calc(100% - 34px); margin: 0; }
#board[data-template="spotlight"].spotlight-compact .menu-page { gap: 26px; }
#board[data-template="spotlight"].spotlight-compact .menu-item { min-height: 0; height: 75px; padding: 9px 0; }
#board[data-template="spotlight"].spotlight-compact .item-top h4 { min-width: 0; font-size: 23px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#board[data-template="spotlight"].spotlight-compact .price { flex-shrink: 0; font-size: 23px; }
#board[data-template="spotlight"].spotlight-compact .menu-item p { font-size: 15px; margin: 4px 0 0; -webkit-line-clamp: 1; }
#board[data-template="spotlight"].spotlight-compact .menu-bottom { left: 24px; bottom: 3px; }
#board[data-template="spotlight"].spotlight-compact footer { height: 44px; margin-inline: 32px; }

#board[data-template="spotlight"].spotlight-compact .menu-page {
  grid-template-columns: repeat(var(--spotlight-columns, 2), minmax(0, 1fr));
}
#board[data-template="spotlight"].spotlight-dense .menu-page { gap: 12px; }
#board[data-template="spotlight"].spotlight-dense .item-top { display: block; }
#board[data-template="spotlight"].spotlight-dense :is(.item-top h4, .price) { font-size: 18px; }
#board[data-template="spotlight"].spotlight-dense .menu-item { padding: 4px 0; }
#board[data-template="spotlight"].spotlight-dense .menu-item p { margin-top: 0; font-size: 13px; }
