/* Tavern Trail websites — one cacheable stylesheet for every site (BP-08).
   Theme tokens arrive as CSS variables on <html>; the menu styles shared with the app
   are appended by the server between @shared-menu markers. */
:root {
  --s-dark: #1d1915; --s-accent: #c9852c; --s-paper: #f7f4ee; --s-ink: #1f1b17; --s-on-dark: #fff; --s-on-accent: #111;
  --s-radius: 10px; --s-head: "Young Serif", Georgia, serif;
  /* tokens the shared menu styles use */
  --paper: var(--s-paper); --ink: var(--s-ink); --sheet: color-mix(in srgb, var(--s-paper) 55%, #fff); --tint: color-mix(in srgb, var(--s-ink) 7%, var(--s-paper));
  --rule: color-mix(in srgb, var(--s-ink) 16%, var(--s-paper)); --muted: color-mix(in srgb, var(--s-ink) 68%, var(--s-paper));
  --ok: #2f6b3a; --ok-bg: #e3efe3; --warn: #8a5a00; --warn-bg: #f6ead2; --bad: #9b2c2c; --bad-bg: #f7e1df;
  --display: var(--s-head); --body: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 72px; }
body.site { margin: 0; background: var(--s-paper); color: var(--s-ink); font: 17px/1.6 var(--body); }
img { max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--s-head); font-weight: 400; line-height: 1.12; margin: 0 0 .45em; text-wrap: balance; }
:focus-visible { outline: 3px solid var(--s-accent); outline-offset: 2px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.s-skip { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--s-ink); color: #fff; padding: 10px 14px; border-radius: 6px; }
.s-skip:focus { top: 8px; }
.s-wrap { max-width: 1080px; margin: 0 auto; padding-left: max(18px, env(safe-area-inset-left)); padding-right: max(18px, env(safe-area-inset-right)); }
.s-muted { color: var(--muted); }
.chip { display: inline-block; font: 600 12px var(--body); padding: 2px 9px; border-radius: 99px; background: var(--tint); color: var(--muted); white-space: nowrap; }
.chip.ok { background: var(--ok-bg); color: var(--ok); } .chip.warn { background: var(--warn-bg); color: var(--warn); } .chip.bad { background: var(--bad-bg); color: var(--bad); }
.small { font-size: 14px; } .muted { color: var(--muted); } .empty { color: var(--muted); }
.ic { width: 20px; height: 20px; }

.s-announce { background: var(--s-accent); color: var(--s-on-accent); text-align: center; padding: 8px 16px; font-weight: 600; font-size: 15px; }
.s-header { background: var(--s-dark); color: var(--s-on-dark); position: sticky; top: 0; z-index: 20; }
.s-header .s-wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; flex-wrap: wrap; }
.s-brand { font: 400 clamp(20px, 3vw, 26px) var(--s-head); text-decoration: none; padding: 10px 0; min-width: 0; overflow-wrap: anywhere; }
.s-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; flex-wrap: wrap; }
.s-nav a { display: block; padding: 10px 12px; border-radius: var(--s-radius); text-decoration: none; font-weight: 600; font-size: 15.5px; }
.s-nav a:hover { background: rgba(255,255,255,.1); }
.s-nav a[aria-current="page"] { background: var(--s-accent); color: var(--s-on-accent); }
.s-nav-toggle { display: none; background: none; border: 1.5px solid currentColor; color: inherit; border-radius: var(--s-radius); padding: 8px 14px; font: 600 15px var(--body); min-height: 44px; cursor: pointer; }
@media (max-width: 720px) {
  .s-nav-toggle { display: inline-flex; gap: 6px; align-items: center; }
  .s-nav { display: none; width: 100%; padding-bottom: 12px; }
  .s-nav.open { display: block; }
  .s-nav ul { flex-direction: column; }
  .s-nav a { padding: 12px; }
}

.s-page-head { padding-top: 40px; }
.s-page-head h1 { font-size: clamp(34px, 6vw, 54px); margin: 0; }
.s-hero { background: var(--s-dark); color: var(--s-on-dark); }
.s-hero .s-wrap { padding-top: clamp(48px, 9vw, 104px); padding-bottom: clamp(48px, 9vw, 104px); }
.s-hero h1, .s-hero h2 { font-size: clamp(40px, 8vw, 80px); max-width: 16ch; letter-spacing: -.01em; }
.s-eyebrow { font: 700 13px var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--s-accent); margin: 0 0 14px; }
.s-hero .s-eyebrow { filter: brightness(1.25); }
.s-lede { font-size: clamp(18px, 2.2vw, 21px); max-width: 58ch; opacity: .9; }
.s-ctas { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; margin-top: 24px; }
.s-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 22px; border-radius: var(--s-radius); background: var(--s-accent); color: var(--s-on-accent); font: 700 16px var(--body); text-decoration: none; border: 2px solid transparent; }
.s-btn:hover { filter: brightness(1.07); }
.s-btn.ghost { background: transparent; color: inherit; border-color: currentColor; }
.s-open { font-weight: 600; font-size: 15px; padding: 6px 12px; border-radius: 99px; background: rgba(255,255,255,.12); }
.s-open.is-open::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #4cc26a; margin-right: 8px; }

.s-sec { padding: clamp(36px, 6vw, 64px) 0; }
.s-sec + .s-sec { border-top: 1px solid var(--rule); }
.s-sec h2 { font-size: clamp(28px, 4.5vw, 40px); }
.s-band { background: var(--s-accent); color: var(--s-on-accent); border-top: 0 !important; }
.s-band .s-btn { background: var(--s-dark); color: var(--s-on-dark); }
.st-follow .s-btn { color: var(--s-ink); }
.s-rich { max-width: 68ch; } .s-rich ul { padding-left: 1.2em; } .s-rich p { margin: 0 0 1em; }
.s-hours { display: grid; grid-template-columns: auto 1fr; gap: 6px 24px; font-size: 17px; max-width: 420px; }
.s-hours .today { font-weight: 700; }
.s-visit p { margin: 0 0 12px; } .s-tel { font-weight: 700; font-size: 20px; }
.s-faq details { border: 1px solid var(--rule); border-radius: var(--s-radius); background: var(--sheet); margin-bottom: 10px; max-width: 760px; }
.s-faq summary { cursor: pointer; padding: 14px 16px; font-weight: 700; min-height: 48px; }
.s-faq details > div { padding: 0 16px 6px; }
.s-legal { padding-top: 12px; padding-bottom: 56px; max-width: 760px; }
.s-legal h2 { font-size: 24px; margin-top: 28px; }
.s-specials, .specials { margin: 0; }
.specials > h2, .specials > h3 { font-size: clamp(28px, 4.5vw, 40px); }

.s-footer { background: var(--s-dark); color: var(--s-on-dark); padding: 36px 0 calc(24px + env(safe-area-inset-bottom)); margin-top: 0; font-size: 15px; }
.s-footer > .s-wrap:first-child { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.s-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.s-footer p { margin: 8px 0 0; opacity: .85; }
.s-powered { opacity: .65; font-size: 13px; margin-top: 24px !important; }
body.is-preview .s-header { position: static; }

@media print { .s-header, .s-footer, .s-announce, .s-nav-toggle { display: none !important; } body.site { background: #fff; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }

/* photos */
.s-hero { position: relative; overflow: hidden; isolation: isolate; }
.s-hero.has-photo { color: #fff; }
.s-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.s-hero.has-photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.62) 55%, rgba(0,0,0,.58) 100%); }
.s-hero.has-photo .s-eyebrow, .s-hero.has-photo .s-lede { color: #fff; filter: none; }
.s-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 48px); align-items: center; }
@media (max-width: 760px) { .s-split { grid-template-columns: minmax(0, 1fr); } }
.s-photo { margin: 0; }
.s-photo img, .s-gallery img { width: 100%; height: auto; display: block; border-radius: 12px; }
.s-gallery { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 12px; }
.s-gallery img { aspect-ratio: 4 / 3; object-fit: cover; }
.s-gallery a { display: block; border-radius: 12px; }

/* follow button in the header */
.s-follow { margin-left: auto; }
.s-follow .s-btn.sm { min-height: 40px; padding: 8px 16px; font-size: 15px; }
.s-header .s-follow + .s-nav-toggle { margin-left: 0; }
.s-btn[aria-pressed="true"] { background: transparent; color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; }
button.s-btn { border: 0; cursor: pointer; font: inherit; }
.s-btn[aria-disabled="true"] { cursor: default; }

/* @shared-menu-start: also bundled into /site.css for websites */
/* Public menu (guest page, /menu, print) */
.menu-page { padding-top: 32px; padding-bottom: 64px; max-width: 860px; }
.menu-head { display: flex; justify-content: space-between; align-items: end; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.menu-head h1 { font-size: clamp(36px, 6vw, 56px); margin: 0; }
.menu-head .eyebrow a { text-decoration: none; }
.menu-jump { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 8px; }
.menu-jump a { padding: 6px 12px; border-radius: 999px; background: var(--tint); text-decoration: none; font-weight: 600; font-size: 14px; }
.menu-block { margin-top: 28px; }
.menu-block > h2 { font-size: clamp(28px, 4vw, 36px); border-bottom: 2px solid var(--brand-dark); padding-bottom: 6px; }
.menu-card .menu-block > h3 { font-size: 26px; border-bottom: 2px solid var(--brand-dark); padding-bottom: 4px; }
.menu-sec { margin-top: 18px; break-inside: avoid-page; }
.menu-sec > h3, .menu-sec > h4 { font-family: var(--body); font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-accent); margin: 0 0 6px; }
.mi-list { list-style: none; margin: 0; padding: 0; }
.mi { padding: 10px 0; border-bottom: 1px dotted var(--rule); break-inside: avoid; }
.mi:last-child { border-bottom: 0; }
.mi-row { display: flex; justify-content: space-between; gap: 6px 16px; align-items: baseline; flex-wrap: wrap; }
.mi-name { font-weight: 700; font-size: 16.5px; min-width: 0; overflow-wrap: anywhere; }
.mi .price, .special .price { font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.mi .tags { display: inline-flex; gap: 3px; vertical-align: 2px; }
.mi .tags abbr { font: 700 10.5px var(--body); padding: 1px 4px; border: 1px solid currentColor; border-radius: 4px; color: var(--muted); }
.mi-desc { margin: 2px 0 0; color: var(--muted); font-size: 15px; }
.mi-mods { margin: 2px 0 0; font-size: 13.5px; color: var(--muted); font-style: italic; }
.mi.sold .mi-name, .mi.sold .price { color: var(--muted); text-decoration: line-through; }
.mi.sold .chip { margin-top: 4px; }
.legend { margin-top: 22px; }
.menu-foot { margin-top: 10px; color: var(--muted); border-top: 1px solid var(--rule); padding-top: 10px; }
.specials { margin: 8px 0 18px; }
.specials > h2 { font-size: clamp(24px, 3.4vw, 30px); }
.specials > h3 { font-size: 20px; }
.special-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.special { background: #fff; border: 1px solid var(--rule); border-radius: 10px; padding: 12px 14px; min-width: 0; break-inside: avoid; }
.special.on { border-color: var(--ok); box-shadow: inset 4px 0 0 var(--ok); }
.special p { margin: 4px 0 0; font-size: 14.5px; color: var(--muted); }
.sp-top { display: flex; justify-content: space-between; gap: 8px; align-items: center; margin-bottom: 2px; }
.sp-kind { font: 700 11px var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--brand-accent); }
.sp-title { font-size: 16px; }
.sp-when { display: block; font-size: 13px; margin-top: 6px; font-weight: 600; }
.feed-item.on-now { border-color: var(--ok); }


/* Leagues: shared by the app, the public league page and website League sections */
.league-block > h2, .league-block > h3 { margin-bottom: 2px; }
.standings { width: 100%; border-collapse: collapse; font-size: 15px; }
.standings th, .standings td { padding: 8px 10px; border-bottom: 1px solid var(--rule); text-align: left; }
.standings th { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); background: var(--tint); }
.standings td.num, .standings th.num { text-align: right; font-variant-numeric: tabular-nums; }
.standings tr:first-child td { font-weight: 600; }
.standings abbr { text-decoration: none; }
.matchups, .results { list-style: none; margin: 6px 0 14px; padding: 0; display: grid; gap: 6px; }
.matchups li { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 10px; align-items: center; padding: 8px 10px; border: 1px solid var(--rule); border-radius: 8px; background: var(--sheet); }
.matchups li span:last-child { text-align: right; }
.matchups li .score { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--muted); }
.matchups li .won { font-weight: 700; }
.matchups li span { min-width: 0; overflow-wrap: anywhere; }
.matchups li.bye { opacity: .7; }
.results li { display: flex; justify-content: space-between; gap: 10px; padding: 6px 10px; border-bottom: 1px dotted var(--rule); }
.results { counter-reset: r; } .results li::before { counter-increment: r; content: counter(r); color: var(--muted); width: 1.5em; }
.results li span { flex: 1; }
.weeks { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 12px; }
.week-card { border: 1px solid var(--rule); border-radius: 10px; padding: 10px 12px; background: var(--sheet); min-width: 0; }
.week-card.current { border-color: var(--brand-accent); box-shadow: inset 4px 0 0 var(--brand-accent); }
.week-card h3 { font-size: 16px; font-family: var(--body); font-weight: 700; margin: 0 0 4px; }
.rules p { max-width: 70ch; }
@media (max-width: 560px) { .standings .hide-sm { display: none; } }
@media print { .week-card { break-inside: avoid; } }
/* menu item photos */
.mi.has-photo { display: grid; grid-template-columns: 1fr 72px; column-gap: 12px; }
.mi.has-photo > :not(.mi-photo) { grid-column: 1; }
.mi-photo { grid-column: 2; grid-row: 1 / span 4; width: 72px; height: 72px; object-fit: cover; border-radius: 8px; align-self: start; }
@media print { .mi-photo { display: none; } .mi.has-photo { display: block; } }
/* @shared-menu-end */