:root {
  --bg: #0b0a09;
  --bg-elev: #141210;
  --bg-soft: #1c1915;
  --line: #2c2822;
  --gold: #d4b483;
  --gold-dim: #8f7344;
  --cream: #f4eee4;
  --muted: #9a9286;
  --font-sans: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-serif: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--cream);
}

body {
  min-height: 100dvh;
  font-family: var(--font-sans);
}

.guest-modules {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  gap: 0.35rem;
  margin: calc(-2.15rem - env(safe-area-inset-top, 0px)) -1.25rem 1rem;
  padding: calc(0.45rem + env(safe-area-inset-top, 0px)) 1.25rem 0.45rem;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(12px);
}

.guest-module {
  flex: 1;
  min-height: 2.75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--cream);
  font: inherit;
  font-size: 1rem;
}

.guest-module[aria-pressed="true"] {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--bg);
}

.guest-diet {
  margin-top: 1rem;
  text-align: left;
}

.guest-diet-row {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
}

.guest-diet-chip {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  min-height: 2.75rem;
  padding: 0 0.9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--cream);
  font: inherit;
  font-size: 0.9375rem;
}

.guest-diet-chip[aria-pressed="true"] {
  border-color: var(--gold);
  color: var(--gold);
}

.guest-diet-count {
  margin: 0.45rem 0 0;
  color: var(--muted);
  font-size: 0.875rem;
}

.guest-diet-badges {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin-left: 0.35rem;
}

.guest-diet-badge {
  display: inline-flex;
  align-items: center;
  min-height: 1.25rem;
  padding: 0 0.35rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--gold);
  font-size: 0.6875rem;
  letter-spacing: 0.04em;
}

.guest-portion {
  margin: 0.2rem 0 0;
  color: var(--muted);
  font-size: 0.8125rem;
}

.guest-shell {
  margin: 0 auto;
  min-height: 100dvh;
  max-width: 32rem;
  padding:
    calc(2.5rem + env(safe-area-inset-top, 0px))
    1.25rem
    calc(4rem + env(safe-area-inset-bottom, 0px));
}

.guest-brand {
  margin: 2.75rem 0 0;
  text-align: center;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.guest-brand a {
  color: var(--gold-dim);
  text-decoration: none;
}

.guest-missing {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  min-height: 100dvh;
}

.guest-offline {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 50;
  margin: calc(-2.5rem - env(safe-area-inset-top, 0px)) -1.25rem 1.25rem;
  padding: 0.5rem 1rem;
  border-bottom: 1px solid color-mix(in srgb, var(--gold-dim) 40%, transparent);
  background: var(--bg-elev);
  color: var(--gold);
  font-size: 0.875rem;
  text-align: center;
}

.guest-saved,
.guest-tip {
  margin: 0.75rem 0 0;
  font-size: 0.75rem;
  color: var(--gold-dim);
  text-align: center;
}

.guest-specials {
  margin: 0 0 1.35rem;
  padding: 0.85rem 1rem 0.15rem;
  border: 1px solid color-mix(in srgb, var(--gold) 35%, transparent);
  border-radius: 1rem;
  background: color-mix(in srgb, var(--gold) 8%, transparent);
}

.guest-until,
.guest-upcoming {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  letter-spacing: 0.03em;
  color: var(--gold-dim);
}

.guest-upcoming {
  color: var(--muted);
}

.guest-upcoming-kicker {
  margin: 0 0 0.2rem;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.guest-upcoming-row {
  margin: 0 0 0.2rem;
}

.guest-badges {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin-left: 0.4rem;
  vertical-align: middle;
}

.guest-badges[hidden],
.guest-beer[hidden] {
  display: none;
}

.guest-badge {
  padding: 0.05rem 0.4rem;
  border-radius: 999px;
  background: var(--gold);
  color: var(--bg);
  font-size: 0.62rem;
  letter-spacing: 0.04em;
  vertical-align: middle;
}

.guest-badge[data-badge="Last pour"],
.guest-badge[data-badge="Almost gone"] {
  background: transparent;
  color: var(--gold);
  box-shadow: inset 0 0 0 1px var(--gold);
}

.guest-beer {
  margin: 0.15rem 0 0;
  color: var(--gold);
  font-size: 0.78rem;
}

.guest-updated {
  margin: 0.2rem 0 0;
  color: var(--muted);
  font-size: 0.7rem;
}

.guest-header {
  text-align: center;
}

.guest-logo {
  display: block;
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1.25rem;
  border-radius: 999px;
  object-fit: cover;
  box-shadow: 0 0 0 1px var(--line);
}

.guest-mark {
  display: flex;
  width: 3.5rem;
  height: 3.5rem;
  margin: 0 auto 1.25rem;
  align-items: center;
  justify-content: center;
  border: 1px solid color-mix(in srgb, var(--gold-dim) 50%, transparent);
  border-radius: 999px;
  color: var(--gold);
}

.guest-kicker {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-dim);
}

.guest-title {
  margin: 0.5rem 0 0;
  font-family: var(--font-serif);
  font-size: 2.25rem;
  font-weight: 500;
  line-height: 1.15;
  color: var(--cream);
}

.guest-tagline {
  margin: 0.75rem 0 0;
  font-size: 0.875rem;
  color: var(--muted);
}

.guest-langs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  margin-top: 1.25rem;
}

.guest-lang {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.75rem;
  min-height: 2.75rem;
  padding: 0 0.85rem;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
}

.guest-lang::after {
  content: "";
  position: absolute;
  top: 0.4rem;
  right: 0;
  bottom: 0.4rem;
  left: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  pointer-events: none;
}

.guest-lang[aria-current="true"] {
  color: var(--gold);
}

.guest-lang[aria-current="true"]::after {
  border-color: var(--gold);
}

.guest-chips {
  margin-top: 1.5rem;
  text-align: left;
}

.guest-chips-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.guest-chips-kicker,
.guest-chips-sub {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-dim);
}

.guest-chips-sub {
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.guest-chips-clear {
  border: 0;
  background: none;
  color: var(--muted);
  font: inherit;
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  padding: 0 0.85rem;
  font-size: 0.8125rem;
  cursor: pointer;
}

.guest-chips-clear[hidden] {
  display: none;
}

.guest-chip-scroll {
  overflow-x: auto;
  margin: 0.75rem -1.25rem 0;
  padding: 0 1.25rem;
  -webkit-overflow-scrolling: touch;
}

.guest-pairings {
  margin-top: 0.75rem;
}

.guest-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.guest-chip {
  flex-shrink: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  padding: 0 0.85rem;
  background: transparent;
  color: color-mix(in srgb, var(--cream) 80%, transparent);
  font: inherit;
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  cursor: pointer;
}

.guest-chip[hidden] {
  display: none;
}

.guest-chip-count {
  margin: 0.65rem 0 0;
  font-size: 0.8125rem;
  color: var(--cream);
}

.guest-chip-count[hidden] {
  display: none;
}

.guest-chip[aria-pressed="true"] {
  border-color: var(--gold);
  background: color-mix(in srgb, var(--gold) 15%, transparent);
  color: var(--gold);
}

.guest-nav {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 20;
  margin: 2rem -1.25rem 0;
  padding: 0.75rem 1.25rem;
  border-top: 1px solid color-mix(in srgb, var(--line) 80%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 80%, transparent);
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  backdrop-filter: blur(10px);
}

.guest-nav::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 100%;
  left: 0;
  height: env(safe-area-inset-top, 0px);
  background: color-mix(in srgb, var(--bg) 90%, transparent);
}

.guest-nav-row {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
}

.guest-nav-link {
  position: relative;
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  min-height: 2.75rem;
  padding: 0 0.85rem;
  border: 0;
  color: color-mix(in srgb, var(--cream) 80%, transparent);
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
}

.guest-nav-link::after {
  content: "";
  position: absolute;
  top: 0.4rem;
  right: 0;
  bottom: 0.4rem;
  left: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  pointer-events: none;
}

.guest-empty {
  margin: 2.5rem 0 0;
  text-align: center;
  font-size: 0.875rem;
  color: var(--muted);
}

.guest-empty[hidden] {
  display: none;
}

.guest-empty p {
  margin: 0;
}

.guest-sections {
  margin-top: 2rem;
}

.guest-section + .guest-section {
  margin-top: 3rem;
}

.guest-section-title {
  margin: 0 0 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--gold);
}

.guest-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.guest-item + .guest-item {
  margin-top: 1.25rem;
}

.guest-row {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}

.guest-name {
  font-weight: 500;
  letter-spacing: 0.02em;
}

.guest-leader {
  flex: 1;
  min-width: 1.5rem;
  align-self: center;
  height: 2px;
  background-image: radial-gradient(circle, var(--line) 1px, transparent 1.2px);
  background-size: 6px 2px;
  background-position: center;
  background-repeat: repeat-x;
}

.guest-price {
  flex-shrink: 0;
  font-family: var(--font-serif);
  font-size: 1.125rem;
  color: var(--gold);
}

.guest-price-slot {
  flex-shrink: 0;
}

.guest-pours {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  flex-shrink: 0;
  gap: 0.2rem;
}

.guest-pour {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 0.4rem;
  white-space: nowrap;
}

.guest-pour-label {
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.guest-pour-price {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--gold);
}

.guest-was {
  margin-right: 0.35rem;
  color: var(--muted);
  font-size: 0.92em;
}

.guest-was s {
  text-decoration: line-through;
}

.guest-desc {
  margin: 0.25rem 0 0;
  max-width: 36ch;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--muted);
}

.guest-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

[hidden] {
  display: none !important;
}

html[data-embed],
html[data-embed] body {
  min-height: 0;
  height: auto;
}

html[data-embed] .guest-shell {
  width: 100%;
  max-width: none;
  min-height: 0;
  height: auto;
  padding: 1.25rem 1rem 1.5rem;
}

html[data-embed-bg="transparent"],
html[data-embed-bg="transparent"] body,
html[data-embed-bg="transparent"] .guest-shell {
  background: transparent !important;
}

html[data-embed-bg="neutral"] {
  --bg: #f4f1ea !important;
  --bg-elev: #fffdf8 !important;
  --bg-soft: #ebe6dc !important;
  --cream: #1c1915 !important;
  --muted: #5c564c !important;
  --line: #e4ddd2 !important;
  --color-bg: #f4f1ea !important;
  --color-cream: #1c1915 !important;
  --color-muted: #5c564c !important;
  background: #f4f1ea !important;
  color: #1c1915 !important;
}

html[data-embed-bg="neutral"] body,
html[data-embed-bg="neutral"] .guest-shell {
  background: #f4f1ea !important;
  color: #1c1915 !important;
}

.guest-thumb {
  width: 2.5rem;
  height: 2.5rem;
  flex: none;
  align-self: center;
  object-fit: cover;
  border-radius: 0.35rem;
}

.guest-more {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-width: 2.75rem;
  min-height: 2.75rem;
  margin: -0.55rem 0;
  padding: 0 0.25rem;
  border: 0;
  background: none;
  color: var(--gold);
  font: inherit;
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}
