: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-shell {
  margin: 0 auto;
  min-height: 100dvh;
  max-width: 32rem;
  padding: 2.5rem 1.25rem 4rem;
}

.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: 0;
  z-index: 50;
  margin: -2.5rem -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-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 {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.25rem 0.65rem;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
}

.guest-lang[aria-current="true"] {
  border-color: var(--gold);
  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;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.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;
  gap: 0.5rem;
}

.guest-chip {
  flex-shrink: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  background: transparent;
  color: color-mix(in srgb, var(--cream) 80%, transparent);
  font: inherit;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  cursor: pointer;
}

.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: 0;
  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-row {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
}

.guest-nav-link {
  flex-shrink: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  color: color-mix(in srgb, var(--cream) 80%, transparent);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
}

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

.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-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;
}
