/* Top bar 11 to 13 (Opus, Nov 9, NEW, refine of 2). Preview only. Group "topbar", URL ?v-topbar=11 ... 13.
   Everything is scoped to #tbrBar (.tbr), the mini bar (.tbr-mini) and html.tbr-on, so Top bar 1 to 10 and the
   Nov 8 bar are untouched. Shared Top bar 2 refinements first, then one Order + logo pair per number:
     11 stamped plum + wax seal . 12 glazed gold + badge with wordmark . 13 ticket + hanging tag */

/* ---------- while a refine bar is on: the old nav row + Around Buffalo strip step aside ---------- */
html.tbr-on #mainNav, html.tbr-on #r2cBar, html.tbr-on #navOverlay, html.tbr-on #tb9Bar, html.tbr-on .tb9-mini, html.tbr-on #solTopbar, html.tbr-on #solRefineTopbar { display: none !important; }

/* ---------- frame (Top bar 2 cream bar, same 1200px container) ---------- */
.tbr, .tbr-mini {
  --tb-bg: #fbf3e8; --tb-ink: #2d1928; --tb-plum: #4a1942; --tb-plum-ink: #3a1234; --tb-gold: #e5be5e; --tb-gold-ink: #a8771c;
  --tb-cream: #fdf8f0; --tb-paper: #fffaf2; --tb-muted: #8f6f88; --tb-pad-y: 6px;
  width: 100%; box-sizing: border-box; flex: none; align-self: stretch;
  background: var(--tb-bg); color: var(--tb-ink);
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif; text-align: left;
}
.tbr { position: relative; z-index: 90; border-radius: 0 0 22px 22px; box-shadow: 0 1px 0 #eadcc8, 0 14px 30px -24px rgba(45, 25, 40, .5); }
.tbr[hidden], .tbr-mini[hidden] { display: none !important; }
.tbr *, .tbr-mini * { box-sizing: border-box; }
.tbr-in {
  max-width: 1200px; margin-inline: auto; padding: var(--tb-pad-y) clamp(16px, 3vw, 32px);
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; grid-template-areas: "logo rail board order";
  align-items: center; column-gap: clamp(12px, 1.6vw, 22px);
}
.tbr a:focus-visible, .tbr button:focus-visible, .tbr-mini a:focus-visible, .tbr-mini button:focus-visible { outline: 3px solid var(--tb-gold); outline-offset: 3px; }

/* ---------- logo (shared bones; each number dresses it) ---------- */
.tbr-logo { grid-area: logo; position: relative; display: flex; align-items: center; gap: 10px; flex: none; text-decoration: none; color: inherit; border-radius: 999px; line-height: 0; }
.tbr-seal { position: relative; display: block; flex: none; border-radius: 50%; }
.tbr-seal img { display: block; width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.tbr-name { display: none; }

/* ---------- photo rail: Top bar 2 fan, whole cards at rest, faded peek, arrows in their own column ---------- */
.tbr-rail { grid-area: rail; position: relative; display: flex; align-items: center; min-width: 0; }
.tbr-cards {
  flex: 1 1 auto; min-width: 0; display: flex; margin: 0; padding: 16px 0 18px 18px; list-style: none;
  overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scroll-padding-left: 18px;
  overscroll-behavior-x: contain; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  /* the peek, plus the overlap on both sides of it, melts into the cream: a hint, never a sliced card */
  --fl: 0px; --fr: calc(var(--peek, 26px) + 28px);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 var(--fl), #000 calc(100% - var(--fr)), rgba(0, 0, 0, .3) calc(100% - var(--fr) * .55), transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 var(--fl), #000 calc(100% - var(--fr)), rgba(0, 0, 0, .3) calc(100% - var(--fr) * .55), transparent 100%);
}
/* end spacer the width of the peek, so the last stop lines up on a whole card */
.tbr-cards::after { content: ""; flex: none; width: var(--peek, 26px); }
.tbr-cards::-webkit-scrollbar { display: none; }
.tbr-rail[data-start="0"] .tbr-cards { --fl: 18px; }
.tbr-rail[data-end="1"] .tbr-cards, .tbr-rail[data-over="0"] .tbr-cards { --fr: 0px; }
.tbr-cards.is-drag { scroll-snap-type: none; cursor: grabbing; }
.tbr-cards.is-drag a { pointer-events: none; }
.tbr-cards > li { flex: none; position: relative; z-index: 1; margin-left: -14px; scroll-snap-align: start; }
.tbr-cards > li:first-child { margin-left: 0; }
.tbr-cards > li:nth-child(3n+2) { --rot: 2.5deg; --lift: 3px; }
.tbr-cards > li:nth-child(3n) { --rot: -1.5deg; --lift: -2px; }
/* hover or focus lifts a card over its neighbours, same as Top bar 2 */
.tbr-cards > li:is(:hover, :focus-within) { z-index: 5; }

.tbr-card { display: block; position: relative; text-decoration: none; color: inherit; -webkit-tap-highlight-color: transparent; user-select: none; -webkit-user-drag: none; }
.tbr .tbr-card {
  --r: var(--rot, -3deg); --y: var(--lift, 0px);
  width: var(--cw, 172px); height: 112px; border-radius: 22px; overflow: hidden;
  background: #1c1118; border: 3px solid #f4e7d5;
  box-shadow: 0 14px 26px -14px rgba(45, 25, 40, .75);
  transform: rotate(var(--r)) translateY(var(--y)); transform-origin: 50% 90%;
  transition: transform .35s cubic-bezier(.22, 1, .36, 1), box-shadow .35s ease;
}
.tbr .tbr-card img, .tbr .tbr-card .tbr-ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; -webkit-user-drag: none; }
.tbr .tbr-card .tbr-ph { background: radial-gradient(120% 90% at 28% 18%, #7a3a6c 0%, #4a1942 45%, #2a0f26 100%); }
.tbr .tbr-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(28, 17, 24, .5) 0%, rgba(28, 17, 24, 0) 44%, rgba(28, 17, 24, .6) 100%); }
/* the photo stays fanned, the words sit straight */
.tbr .tbr-txt { position: absolute; inset: 0; z-index: 1; transform: rotate(calc(-1 * var(--r))); transition: transform .35s cubic-bezier(.22, 1, .36, 1); }
.tbr .tbr-card b {
  position: absolute; top: 10px; left: 10px; max-width: calc(100% - 20px);
  padding: 6px 11px; border-radius: 999px; background: var(--tb-bg); color: var(--tb-plum);
  font: 800 14px/1.1 'DM Sans', sans-serif; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  box-shadow: 0 4px 10px -6px rgba(28, 17, 24, .6);
}
.tbr .tbr-card small {
  position: absolute; left: 10px; bottom: 10px; max-width: calc(100% - 20px);
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 7px 5px 10px; border-radius: 999px; background: rgba(28, 17, 24, .82); color: var(--tb-cream);
  font: 600 12px/1.15 'DM Sans', sans-serif;
}
.tbr .tbr-card small span { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tbr .tbr-card small i { display: grid; flex: none; color: var(--tb-gold); transition: translate .3s cubic-bezier(.22, 1, .36, 1); }
.tbr .tbr-card small svg { width: 13px; height: 13px; }
@media (hover: hover) {
  .tbr .tbr-card:hover { --r: 0deg; --y: -6px; box-shadow: 0 22px 30px -14px rgba(45, 25, 40, .85); }
  .tbr .tbr-card:hover small i { translate: 3px 0; }
}
.tbr .tbr-card:focus-visible { --r: 0deg; --y: -6px; outline-offset: 2px; }

/* arrows: cream circles, thin plum ring, gold chevron; back appears after a scroll, next leaves at the end */
.tbr-arrows { position: relative; flex: none; display: grid; margin-left: 4px; }
/* next sits on the rail's centre line; back appears just above it once the cards have moved */
.tbr-arrows .tbr-prev { position: absolute; left: 0; bottom: calc(100% + 8px); }
.tbr-arrow {
  width: 36px; height: 36px; padding: 0; display: grid; place-items: center; cursor: pointer;
  border: 0; border-radius: 50%; background: var(--tb-paper); color: var(--tb-gold-ink);
  box-shadow: inset 0 0 0 1.5px var(--tb-plum), 0 8px 16px -10px rgba(45, 25, 40, .6);
  transition: opacity .2s ease, visibility .2s, background-color .2s ease, color .2s ease, transform .2s ease;
}
.tbr-arrow svg { width: 16px; height: 16px; }
@media (hover: hover) { .tbr-arrow:hover { background: var(--tb-plum); color: var(--tb-gold); transform: scale(1.06); } }
.tbr-rail[data-start="1"] .tbr-prev, .tbr-rail[data-end="1"] .tbr-next, .tbr-rail[data-over="0"] .tbr-arrow { opacity: 0; visibility: hidden; }
.tbr-rail[data-over="0"] .tbr-arrows { display: none; }
@media (hover: none) { .tbr-arrows { display: none; } }

/* ---------- day board: slim cream card, plum and gold edge, at most two lines, never a count ---------- */
.tbr-board { grid-area: board; position: relative; min-width: 0; }
.tbr-board-btn {
  appearance: none; display: flex; align-items: center; gap: 10px; margin: 0; cursor: pointer; text-align: left;
  padding: 10px 12px 10px 14px; border-radius: 16px; border: 1px solid rgba(74, 25, 66, .3);
  background: var(--tb-paper); color: var(--tb-ink); font: inherit;
  box-shadow: inset 0 0 0 3px var(--tb-paper), inset 0 0 0 4px rgba(229, 190, 94, .6), 0 10px 22px -16px rgba(45, 25, 40, .6);
  transition: border-color .2s ease, box-shadow .2s ease;
}
@media (hover: hover) { .tbr-board-btn:hover { border-color: var(--tb-plum); } }
.tbr-lines { display: flex; flex-direction: column; gap: 5px; }
.tbr-line, .tbr-short { display: flex; align-items: center; gap: 7px; white-space: nowrap; font: 700 13px/1.15 'DM Sans', sans-serif; }
.tbr-line.tbr-sold_out, .tbr-short:has(.tbr-dot-sold_out) { color: #6f5368; }
.tbr-short { display: none; }
.tbr-caret { display: grid; flex: none; color: var(--tb-muted); transition: transform .2s ease; }
.tbr-caret svg { width: 14px; height: 14px; }
.tbr-board-btn[aria-expanded="true"] .tbr-caret { transform: rotate(180deg); }
.tbr-dot { flex: none; display: grid; place-items: center; width: 10px; height: 10px; border-radius: 50%; }
.tbr-dot-sold_out { background: var(--tb-muted); }
.tbr-dot-open { box-shadow: inset 0 0 0 1.5px rgba(74, 25, 66, .45); }
.tbr-dot-low { width: 14px; height: 14px; border-radius: 0; color: #d99a22; }
.tbr-dot-low svg { width: 14px; height: 14px; }

.tbr-days {
  position: absolute; top: calc(100% + 10px); right: 0; z-index: 30; width: 232px;
  padding: 12px 14px 8px; border-radius: 16px; background: var(--tb-paper); color: var(--tb-ink);
  border: 1px solid rgba(74, 25, 66, .2);
  box-shadow: inset 0 0 0 3px var(--tb-paper), inset 0 0 0 4px rgba(229, 190, 94, .45), 0 22px 40px -18px rgba(45, 25, 40, .55);
}
.tbr-days[hidden] { display: none; }
.tbr-days b { display: block; margin-bottom: 4px; font: 800 11px/1 'DM Sans', sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--tb-plum); opacity: .7; }
.tbr-days ul { margin: 0; padding: 0; list-style: none; }
.tbr-days li { display: grid; grid-template-columns: 14px 1fr auto; align-items: center; gap: 8px; padding: 7px 0; font: 600 14px/1.2 'DM Sans', sans-serif; }
.tbr-days li + li { border-top: 1px solid rgba(74, 25, 66, .1); }
.tbr-days em { font: 700 12.5px/1 'DM Sans', sans-serif; font-style: normal; color: #6b5a52; }
.tbr-days li.tbr-sold_out { color: #6f5368; }
.tbr-days li.tbr-sold_out em { color: #6f5368; }
.tbr-days li.tbr-low em { color: var(--tb-gold-ink); }

/* ---------- Order (shared bones): "Order" with "Pickup or delivery" under it on desktop ---------- */
.tbr-order { grid-area: order; display: inline-flex; flex: none; text-decoration: none; color: inherit; white-space: nowrap; border-radius: 18px; -webkit-tap-highlight-color: transparent; }
.tbr-ticket { position: relative; display: flex; align-items: center; gap: 14px; min-height: 58px; transition: transform .2s ease, box-shadow .2s ease; }
.tbr-say { display: flex; flex-direction: column; gap: 4px; }
.tbr-say b { font: 800 18px/1 'DM Sans', sans-serif; letter-spacing: .01em; }
.tbr-say small { font: 600 11.5px/1.1 'DM Sans', sans-serif; letter-spacing: .02em; opacity: .8; }
.tbr-go { display: grid; place-items: center; flex: none; }
.tbr-go svg { width: 20px; height: 20px; transition: translate .25s cubic-bezier(.22, 1, .36, 1); }
@media (hover: hover) {
  .tbr-order:hover .tbr-ticket { transform: translateY(-1px); }
  .tbr-order:hover .tbr-go svg { translate: 3px 0; }
}

/* =====================================================================================
   Top bar 11 . Order A stamped plum + Logo A wax seal
   ===================================================================================== */
:is(.topbar-v11, .tbrm-v11) .tbr-ticket {
  padding: 0 20px 0 26px; border-radius: 16px; color: var(--tb-cream);
  background: linear-gradient(180deg, #5a2251 0%, #4a1942 55%, #3e1438 100%);
  box-shadow: 0 14px 26px -12px rgba(74, 25, 66, .7), inset 0 1px 0 rgba(255, 255, 255, .12);
}
/* the foil line, just inside the edge */
:is(.topbar-v11, .tbrm-v11) .tbr-ticket::before { content: ""; position: absolute; inset: 4px; border-radius: 12px; border: 1px solid rgba(229, 190, 94, .8); pointer-events: none; }
:is(.topbar-v11, .tbrm-v11) .tbr-go { color: var(--tb-gold); }
@media (hover: hover) { .topbar-v11 .tbr-order:hover .tbr-ticket { box-shadow: 0 18px 30px -12px rgba(74, 25, 66, .75), inset 0 1px 0 rgba(255, 255, 255, .12); } }

:is(.topbar-v11, .tbrm-v11) .tbr-seal {
  padding: 4px; background: radial-gradient(circle at 34% 28%, #6c2c62 0%, #4a1942 58%, #34102f 100%);
  box-shadow: 0 0 0 1.5px var(--tb-gold), 0 10px 20px -8px rgba(45, 25, 40, .55);
}
/* pressed in, like wax */
:is(.topbar-v11, .tbrm-v11) .tbr-seal::after {
  content: ""; position: absolute; inset: 4px; border-radius: 50%; pointer-events: none;
  box-shadow: inset 0 2px 6px rgba(28, 17, 24, .45), inset 0 -1px 2px rgba(255, 255, 255, .3);
}
.topbar-v11 .tbr-seal img { width: 60px; height: 60px; }

/* =====================================================================================
   Top bar 12 . Order B glazed gold + Logo B badge plus name
   ===================================================================================== */
:is(.topbar-v12, .tbrm-v12) .tbr-ticket {
  overflow: hidden; padding: 0 12px 0 26px; border-radius: 999px; color: var(--tb-plum-ink);
  background: linear-gradient(180deg, #f6da92 0%, #e9c368 48%, #d6a844 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .65), inset 0 -2px 0 rgba(150, 100, 20, .25), 0 14px 26px -12px rgba(190, 140, 40, .75);
}
/* icing highlight across the top */
:is(.topbar-v12, .tbrm-v12) .tbr-ticket::before {
  content: ""; position: absolute; top: 3px; left: 14px; right: 14px; height: 44%; border-radius: 999px; pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, .55), rgba(255, 255, 255, 0));
}
/* one slow shine on hover */
:is(.topbar-v12, .tbrm-v12) .tbr-ticket::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; pointer-events: none;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .6), rgba(255, 255, 255, 0));
  transform: skewX(-18deg); transition: left .9s cubic-bezier(.22, 1, .36, 1);
}
@media (hover: hover) { :is(.topbar-v12, .tbrm-v12) .tbr-order:hover .tbr-ticket::after { left: 130%; } }
:is(.topbar-v12, .tbrm-v12) .tbr-say, :is(.topbar-v12, .tbrm-v12) .tbr-go { position: relative; z-index: 1; }
:is(.topbar-v12, .tbrm-v12) .tbr-go { width: 36px; height: 36px; border-radius: 50%; background: var(--tb-plum); color: var(--tb-gold); }
:is(.topbar-v12, .tbrm-v12) .tbr-go svg { width: 18px; height: 18px; }

:is(.topbar-v12, .tbrm-v12) .tbr-seal { box-shadow: 0 0 0 2px var(--tb-paper), 0 0 0 3.5px var(--tb-plum), 0 10px 18px -8px rgba(45, 25, 40, .5); }
.topbar-v12 .tbr-seal img { width: 54px; height: 54px; }
.topbar-v12 .tbr-name { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; line-height: 1; }
/* official wordmark tinted plum; the mascot corner is clipped off, same as Glaze Core */
.topbar-v12 .tbr-word {
  display: block; width: 84px; height: 45px; background: var(--tb-plum);
  -webkit-mask: url('/assets/glaze/core/glaze-wordmark-official.png') center / contain no-repeat;
          mask: url('/assets/glaze/core/glaze-wordmark-official.png') center / contain no-repeat;
  clip-path: polygon(0 0, 74% 0, 74% 37.5%, 100% 37.5%, 100% 100%, 0 100%);
  margin-top: -8px;
}
.topbar-v12 .tbr-name small { padding-left: 3px; font: 800 9.5px/1 'DM Sans', sans-serif; letter-spacing: .3em; text-transform: uppercase; color: var(--tb-plum); opacity: .62; }

/* =====================================================================================
   Top bar 13 . Order C ticket + Logo C hanging tag
   ===================================================================================== */
.topbar-v13 .tbr-order, .tbrm-v13 .tbr-order { filter: drop-shadow(0 10px 12px rgba(74, 25, 66, .32)); }
:is(.topbar-v13, .tbrm-v13) .tbr-ticket {
  gap: 0; align-items: stretch; border-radius: 12px; background: var(--tb-plum); color: var(--tb-cream);
  -webkit-mask: radial-gradient(circle 8px at 0 50%, #0000 96%, #000) left / 51% 100% no-repeat, radial-gradient(circle 8px at 100% 50%, #0000 96%, #000) right / 51% 100% no-repeat;
          mask: radial-gradient(circle 8px at 0 50%, #0000 96%, #000) left / 51% 100% no-repeat, radial-gradient(circle 8px at 100% 50%, #0000 96%, #000) right / 51% 100% no-repeat;
}
:is(.topbar-v13, .tbrm-v13) .tbr-say { justify-content: center; padding: 0 16px 0 26px; }
/* perforation between the stub and the arrow */
:is(.topbar-v13, .tbrm-v13) .tbr-go { padding: 0 20px 0 16px; border-left: 2px dashed rgba(253, 248, 240, .35); color: var(--tb-gold); }

/* the tag hangs from the top edge of the bar and drops just below it */
.topbar-v13 .tbr-logo {
  align-self: stretch; align-items: flex-end; z-index: 4;
  margin-top: calc(-1 * var(--tb-pad-y)); margin-bottom: calc(-1 * var(--tb-pad-y) - 16px);
  padding: 0 8px 10px; border-radius: 0 0 26px 26px; background: var(--tb-paper);
  box-shadow: 0 0 0 1px rgba(74, 25, 66, .16), 0 18px 26px -16px rgba(45, 25, 40, .6);
}
.topbar-v13 .tbr-logo::before {
  content: ""; position: absolute; top: 0; left: 4px; right: 4px; bottom: 4px; pointer-events: none;
  border: 1px dashed rgba(201, 154, 46, .7); border-top: 0; border-radius: 0 0 22px 22px;
}
.topbar-v13 .tbr-logo:focus-visible { border-radius: 0 0 26px 26px; }
:is(.topbar-v13, .tbrm-v13) .tbr-seal { box-shadow: 0 0 0 2px var(--tb-plum), 0 6px 12px -6px rgba(45, 25, 40, .5); }
.topbar-v13 .tbr-seal img { width: 58px; height: 58px; }

/* ---------- narrower desktops: the board keeps one line ---------- */
@media (max-width: 1099.98px) and (min-width: 720px) {
  .tbr-line + .tbr-line { display: none; }
  .tbr-say small { display: none; }
  .topbar-v12 .tbr-name small { display: none; }
}

/* ---------- phones: logo, one urgent day, Order on top; the cards swipe edge to edge under them ---------- */
@media (max-width: 719.98px) {
  .tbr { --tb-pad-y: 10px; }
  .tbr-in { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "logo board order" "rail rail rail"; row-gap: 6px; column-gap: 10px; }
  .tbr-rail { margin-inline: calc(-1 * clamp(16px, 3vw, 32px)); width: calc(100% + 2 * clamp(16px, 3vw, 32px)); max-width: none; justify-self: start; }
  .tbr-cards { padding: 12px 0 14px 16px; scroll-padding-left: 16px; }
  .tbr-rail[data-start="0"] .tbr-cards { --fl: 16px; }
  .tbr .tbr-card { height: 100px; }
  .tbr-seal img, .topbar-v11 .tbr-seal img, .topbar-v12 .tbr-seal img, .topbar-v13 .tbr-seal img { width: 46px; height: 46px; }

  .tbr-board { justify-self: center; }
  .tbr-board-btn { gap: 6px; padding: 7px 10px 7px 11px; border-radius: 999px; box-shadow: inset 0 0 0 2px var(--tb-paper), inset 0 0 0 3px rgba(229, 190, 94, .6); }
  .tbr-lines { display: none; }
  .tbr-short { display: flex; gap: 6px; font-size: 12.5px; }
  .tbr-caret svg { width: 12px; height: 12px; }
  .tbr-days { left: 50%; right: auto; transform: translateX(-50%); width: min(232px, calc(100vw - 32px)); }

  .tbr-ticket { min-height: 48px; gap: 10px; }
  .tbr-say small { display: none; }
  .tbr-say b { font-size: 16px; }
  .tbr-go svg { width: 18px; height: 18px; }
  .topbar-v11 .tbr-ticket { padding: 0 14px 0 18px; border-radius: 14px; }
  .topbar-v11 .tbr-ticket::before { inset: 3px; border-radius: 11px; }
  .topbar-v12 .tbr-ticket { padding: 0 7px 0 18px; }
  .topbar-v12 .tbr-go { width: 32px; height: 32px; }
  .topbar-v12 .tbr-logo { gap: 8px; }
  .topbar-v12 .tbr-word { width: 64px; height: 34px; margin-top: -6px; }
  .topbar-v12 .tbr-name small { display: none; }
  .topbar-v13 .tbr-ticket { -webkit-mask-size: 51% 100%; mask-size: 51% 100%; }
  .topbar-v13 .tbr-say { padding: 0 12px 0 20px; }
  .topbar-v13 .tbr-go { padding: 0 15px 0 12px; }
  /* on phones the tag hangs over its own row only, so it never covers a card */
  .topbar-v13 .tbr-logo { margin-bottom: 0; padding: 0 6px 6px; border-radius: 0 0 22px 22px; }
  .topbar-v13 .tbr-logo::before { border-radius: 0 0 18px 18px; }
}
@media (max-width: 429.98px) { .topbar-v12 .tbr-name { display: none; } }
/* phones: Bon Bon floats top-center by default, right where the day board sits; move it down to the corner like the Sol bars do */
@media (max-width: 719.98px) { html.tbr-on #glazeAssistant { top: auto !important; bottom: 90px !important; right: 18px !important; left: auto !important; } }

/* ---------- mini bar: fixed, slides in on transform once the full bar has scrolled away ---------- */
.tbr-mini {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000; height: 62px;
  box-shadow: 0 12px 28px -16px rgba(45, 25, 40, .5);
  transform: translateY(-110%); transition: transform .35s cubic-bezier(.22, 1, .36, 1); will-change: transform;
}
html.tbr-stuck .tbr-mini { transform: none; }
.tbr-mini .tbr-in { height: 100%; padding-block: 0; column-gap: 14px; }
.tbr-mini .tbr-seal img { width: 40px; height: 40px; }
.tbr-mini .tbr-cards { gap: 6px; padding: 6px 2px; scroll-snap-type: x proximity; --peek: 22px; }
.tbr-mini .tbr-cards::after { display: none; }
.tbr-mini .tbr-cards > li { margin-left: 0; }
.tbr-mini .tbr-card { padding: 8px 14px; border-radius: 999px; font: 700 14px/1 'DM Sans', sans-serif; white-space: nowrap; color: var(--tb-plum); background: rgba(74, 25, 66, .08); }
@media (hover: hover) { .tbr-mini .tbr-card:hover { background: rgba(74, 25, 66, .14); } }
.tbr-mini .tbr-board-btn { padding: 7px 10px; border-radius: 999px; box-shadow: inset 0 0 0 2px var(--tb-paper), inset 0 0 0 3px rgba(229, 190, 94, .6); }
.tbr-mini .tbr-lines { display: none; }
.tbr-mini .tbr-short { display: flex; font-size: 12.5px; }
.tbr-mini .tbr-ticket { min-height: 42px; gap: 10px; }
.tbr-mini .tbr-say small { display: none; }
.tbr-mini .tbr-say b { font-size: 15px; }
.tbr-mini .tbr-go svg { width: 16px; height: 16px; }
.tbr-mini.tbrm-v11 .tbr-ticket { padding: 0 14px 0 18px; border-radius: 12px; }
.tbr-mini.tbrm-v11 .tbr-ticket::before { inset: 3px; border-radius: 9px; }
.tbr-mini.tbrm-v11 .tbr-seal { padding: 3px; }
.tbr-mini.tbrm-v11 .tbr-seal::after { inset: 3px; }
.tbr-mini.tbrm-v12 .tbr-ticket { padding: 0 6px 0 18px; }
.tbr-mini.tbrm-v12 .tbr-go { width: 30px; height: 30px; }
.tbr-mini.tbrm-v13 .tbr-say { padding: 0 12px 0 18px; }
.tbr-mini.tbrm-v13 .tbr-go { padding: 0 14px 0 12px; }
@media (max-width: 959.98px) and (min-width: 720px) { .tbr-mini .tbr-board { display: none; } }
@media (max-width: 719.98px) {
  .tbr-mini { height: 56px; }
  /* phones: the mini bar is just logo + Order (the Bon Bon button already sits top-center on phones) */
  .tbr-mini .tbr-in { grid-template-areas: "logo . order"; grid-template-columns: auto 1fr auto; }
  .tbr-mini .tbr-rail, .tbr-mini .tbr-board { display: none; }
}

/* ---------- calm modes: no movement ---------- */
html.glz-static .tbr-mini, html.glz-static .tbr *, html.glz-static .tbr-mini * { transition: none !important; animation: none !important; }
@media (prefers-reduced-motion: reduce) {
  .tbr-mini, .tbr *, .tbr-mini * { transition: none !important; animation: none !important; }
  :is(.topbar-v12, .tbrm-v12) .tbr-ticket::after { display: none; }
}
@media print { .tbr-mini { display: none; } }

/* ---------- hero shares the same 1200px container, same as Top bar 2 ---------- */
html.tbr-on body section.hero { padding-top: 40px; }
@media (min-width: 960px) {
  html.tbr-on body section.hero:has(> #r2cHero) {
    width: 100% !important; max-width: 1200px !important; margin-inline: auto !important; align-self: center !important;
    padding-inline: clamp(16px, 3vw, 32px) !important; box-sizing: border-box;
    grid-template-columns: minmax(0, 640px) minmax(0, 1fr) !important; column-gap: clamp(28px, 4vw, 56px) !important;
  }
  html.tbr-on body section.hero:has(> #r2cHero) > .hero-content { max-width: 640px; width: 100%; justify-self: start; margin-left: 0; }
  html.tbr-on body section.hero > .r2c-hero { justify-self: start; max-width: 480px; }
}
@media (max-width: 959.98px) {
  html.tbr-on body section.hero:has(> #r2cHero) { padding-inline: clamp(16px, 3vw, 32px) !important; }
}
