/* Shared by every club theme. Themes set the --c-* tokens and their own layout. */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  min-height: 100vh;
  background: var(--c-bg, #0b0a09);
  color: var(--c-fg, #f3ede2);
  font-family: var(--c-font-body, system-ui, -apple-system, sans-serif);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
img {
  max-width: 100%;
}
button {
  font: inherit;
  color: inherit;
}
.club-root {
  max-width: 560px;
  margin: 0 auto;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.club-status {
  padding: 40vh 24px 0;
  text-align: center;
  color: var(--c-muted, #8f877b);
}
.club-logo {
  display: block;
  margin: 0 auto;
  height: auto;
}
.bottle-img {
  display: block;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: 50% 100%;
}
.club-footer {
  text-align: center;
  font-size: 12px;
  color: var(--c-muted, #8f877b);
  padding: 8px 16px 32px;
}
:focus-visible {
  outline: 2px solid var(--c-accent, #d4ae5a);
  outline-offset: 2px;
}

/* Bottle detail sheet */
.club-sheet {
  position: fixed;
  inset: auto 0 0 0;
  margin: 0 auto;
  width: 100%;
  max-width: 560px;
  max-height: 88vh;
  overflow-y: auto;
  border: 0;
  border-radius: 24px 24px 0 0;
  padding: 18px 24px calc(28px + env(safe-area-inset-bottom, 0px));
  background: var(--c-sheet, #16130f);
  color: var(--c-fg, #f3ede2);
  text-align: center;
}
.club-sheet::backdrop {
  background: rgba(0, 0, 0, 0.6);
}
.club-sheet[open] {
  animation: sheet-up 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
}
@keyframes sheet-up {
  from {
    transform: translateY(40px);
    opacity: 0;
  }
}
.sheet-close {
  position: absolute;
  top: 10px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--c-line, #3a332a);
  background: transparent;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.sheet-media {
  height: 270px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin-top: 14px;
}
.sheet-cat {
  margin: 18px 0 0;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-accent, #d4ae5a);
}
.sheet-name {
  margin: 6px 0 4px;
  font-family: var(--c-font-display, serif);
  font-weight: 500;
  font-size: 30px;
  line-height: 1.1;
  text-wrap: balance;
}
.sheet-desc {
  margin: 0 auto;
  max-width: 34ch;
  font-size: 14px;
  color: var(--c-muted, #8f877b);
}
.sheet-desc:empty {
  display: none;
}
.sheet-price {
  margin: 14px 0 0;
  font-size: 22px;
  font-weight: 600;
  color: var(--c-accent, #d4ae5a);
  font-variant-numeric: tabular-nums;
}
@media (prefers-reduced-motion: reduce) {
  .club-sheet[open] {
    animation: none;
  }
  html {
    scroll-behavior: auto;
  }
}
