/* Lumibet-free — assets/css/style.css
   INTL-social / _core/social-v2 track. Hero theme: "Backyard Dog House Pack"
   (user-requested override). Prefix: lbf. Mobile-first — every media query
   below is min-width, never max-width (root CLAUDE.md Golden Rule #1). */

/* ===================== Reset ===================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; }
img { max-width: 100%; display: block; }
button, input { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }

/* ===================== Design tokens ===================== */
:root {
  /* Backyard Dog House Pack palette */
  --lbf-lawn: #3f8f4a;
  --lbf-lawn-deep: #2c6b37;
  --lbf-wood: #8a5a35;
  --lbf-wood-deep: #5f3c22;
  --lbf-fence-white: #fbf8f0;
  --lbf-sky: #4fb4e0;
  --lbf-sky-deep: #2a86b3;
  --lbf-cream: #fff6e6;
  --lbf-ink: #24301f;
  --lbf-ink-soft: #4c5a44;

  /* Required --sv2-* aliases (auth-modal / cookie-consent CSS contract) */
  --sv2-gold: var(--lbf-sky);
  --sv2-gold-deep: var(--lbf-sky-deep);
  --sv2-white: #ffffff;
  --sv2-ink: var(--lbf-ink);
  --sv2-text-dim: #6f7f68;
  --sv2-card-bg: #ffffff;
  --sv2-card-border: rgba(36, 48, 31, 0.12);
  --sv2-radius-lg: 26px;

  --lbf-font-display: "Fredoka", system-ui, sans-serif;
  --lbf-font-body: "Nunito", system-ui, sans-serif;
  --lbf-shadow: 0 12px 30px rgba(36, 48, 31, 0.16);
  --lbf-shadow-sm: 0 4px 12px rgba(36, 48, 31, 0.14);
  --lbf-radius: 18px;
}

body {
  font-family: var(--lbf-font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--lbf-ink);
  background: var(--lbf-cream);
}

h1, h2, h3, h4 { font-family: var(--lbf-font-display); color: var(--lbf-ink); }

.lbf-container { width: 100%; max-width: 1220px; margin: 0 auto; padding: 0 20px; }

.lbf-section { padding: 48px 0; }
.lbf-section--tight { padding: 32px 0; }
.lbf-section--alt { background: var(--lbf-fence-white); }

.lbf-eyebrow {
  display: inline-block;
  font-family: var(--lbf-font-display);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lbf-lawn-deep);
  background: rgba(63, 143, 74, 0.12);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.lbf-section-head { margin-bottom: 28px; max-width: 640px; }
.lbf-section-head h2 { font-size: 28px; margin-bottom: 8px; }
.lbf-section-head p { color: var(--lbf-ink-soft); font-size: 16px; }
@media (min-width: 700px) { .lbf-section-head h2 { font-size: 34px; } }

/* ===================== Buttons ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  min-width: 44px;
  padding: 12px 26px;
  border-radius: 999px;
  border: none;
  font-family: var(--lbf-font-display);
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:active { transform: scale(0.97); }
.btn--gold {
  background: linear-gradient(135deg, var(--lbf-sky), var(--lbf-lawn));
  color: #fff;
  box-shadow: var(--lbf-shadow-sm);
}
.btn--gold:hover { box-shadow: var(--lbf-shadow); }
.btn--ghost {
  background: #fff;
  color: var(--lbf-ink);
  border: 2px solid rgba(36, 48, 31, 0.16);
}
.btn--sm { min-height: 44px; padding: 8px 18px; font-size: 14px; }
.btn--block { width: 100%; }

/* ===================== Cookie consent (tokens from cookie-consent.template) ===================== */
.lbf-cookie { position: fixed; inset: auto 0 0 0; z-index: 900; }
.lbf-cookie__panel {
  background: #fff;
  border-radius: 20px 20px 0 0;
  padding: 20px;
  box-shadow: var(--lbf-shadow);
  max-height: 80vh;
  overflow-y: auto;
}
.lbf-cookie__panel-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.lbf-cookie__panel-intro { color: var(--lbf-ink-soft); font-size: 14px; margin-bottom: 14px; }
.lbf-cookie__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid rgba(36,48,31,0.1); }
.lbf-cookie__row-copy { display: flex; flex-direction: column; gap: 2px; }
.lbf-cookie__row-copy span { font-size: 13px; color: var(--lbf-ink-soft); }
.lbf-cookie__locked-badge { font-size: 12px; background: rgba(36,48,31,0.08); padding: 4px 10px; border-radius: 999px; }
.lbf-cookie__toggle {
  width: 46px; height: 28px; border-radius: 999px; border: none; background: #d8dcd4;
  position: relative; cursor: pointer; min-width: 44px; min-height: 44px; padding: 0;
  display: flex; align-items: center;
}
.lbf-cookie__toggle-dot { position: absolute; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: left 0.2s; box-shadow: 0 1px 3px rgba(0,0,0,0.3); }
.lbf-cookie__toggle.is-on { background: var(--lbf-lawn); }
.lbf-cookie__toggle.is-on .lbf-cookie__toggle-dot { left: 21px; }
.lbf-cookie__panel-actions { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.lbf-cookie__bar {
  background: var(--lbf-ink);
  color: #fff;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.lbf-cookie__text { font-size: 13px; color: #dbe3d6; margin: 0; }
.lbf-cookie__text a { color: var(--lbf-sky); text-decoration: underline; }
.lbf-cookie__actions { display: flex; flex-wrap: wrap; gap: 10px; }
@media (min-width: 700px) {
  .lbf-cookie__bar { flex-direction: row; align-items: center; justify-content: space-between; }
  .lbf-cookie__panel { max-width: 440px; margin-left: auto; border-radius: 20px; margin-bottom: 10px; margin-right: 10px; }
}

/* ===================== Nav: "leash-line-charm-nav" ===================== */
.lbf-nav {
  position: sticky; top: 0; z-index: 500;
  background: var(--lbf-fence-white);
  border-bottom: 2px solid rgba(63,143,74,0.15);
  height: 64px;
}
.lbf-nav__inner { position: relative; height: 100%; display: flex; align-items: center; justify-content: space-between; }
.lbf-nav__brand { display: flex; align-items: center; gap: 8px; position: relative; z-index: 2; min-height: 44px; }
.lbf-nav__brand-mark { width: 34px; height: 34px; flex-shrink: 0; }
.lbf-nav__wordmark { font-family: var(--lbf-font-display); font-size: 19px; color: var(--lbf-lawn-deep); }
.lbf-nav__brand-tag {
  position: relative;
  margin-left: 2px;
  background: var(--lbf-wood);
  color: #fff;
  font-size: 10px;
  font-family: var(--lbf-font-display);
  padding: 2px 7px 2px 8px;
  border-radius: 3px 8px 8px 3px;
  transform: rotate(-6deg);
  box-shadow: var(--lbf-shadow-sm);
}
.lbf-nav__brand-tag::before {
  content: ""; position: absolute; left: -3px; top: 50%; width: 5px; height: 5px;
  background: var(--lbf-cream); border: 1px solid var(--lbf-wood-deep); border-radius: 50%;
  transform: translateY(-50%);
}
.lbf-nav__rope, .lbf-nav__links { display: none; }
.lbf-nav__auth { display: flex; align-items: center; gap: 8px; z-index: 2; }
.lbf-nav__balance {
  display: none;
  align-items: center; gap: 6px;
  background: #fff; border: 2px solid var(--lbf-wood); border-radius: 999px;
  padding: 6px 12px; font-family: var(--lbf-font-display); font-size: 13px;
}
.lbf-nav__fab {
  position: fixed; right: 18px; bottom: 18px; z-index: 600;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--lbf-lawn); color: #fff; border: none;
  box-shadow: var(--lbf-shadow); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  min-width: 44px; min-height: 44px;
}
.lbf-nav__fab svg { width: 26px; height: 26px; }

.lbf-bowl-sheet {
  position: fixed; inset: 0; z-index: 590; display: none;
}
.lbf-bowl-sheet:not([hidden]) { display: block; }
.lbf-bowl-sheet__backdrop { position: absolute; inset: 0; background: rgba(36,48,31,0.5); }
.lbf-bowl-sheet__bowl {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: var(--lbf-fence-white);
  border-radius: 46% 46% 0 0 / 60px 60px 0 0;
  padding: 34px 24px 28px;
  max-height: 78vh; overflow-y: auto;
  box-shadow: 0 -10px 30px rgba(36,48,31,0.25);
  transform: translateY(100%);
  transition: transform 0.3s ease;
}
.lbf-bowl-sheet:not([hidden]) .lbf-bowl-sheet__bowl { transform: translateY(0); }
.lbf-bowl-sheet__close {
  position: absolute; top: 10px; right: 14px;
  min-width: 44px; min-height: 44px; border: none; background: none; font-size: 20px; cursor: pointer;
}
.lbf-bowl-sheet__kibble { display: flex; flex-direction: column; gap: 10px; }
.lbf-bowl-sheet__kibble a {
  display: flex; align-items: center; min-height: 44px;
  background: #fff; border-radius: 999px; padding: 10px 20px;
  font-family: var(--lbf-font-display); font-size: 15px;
  box-shadow: var(--lbf-shadow-sm);
}

@media (min-width: 900px) {
  .lbf-nav { height: 88px; }
  .lbf-nav__fab, .lbf-bowl-sheet { display: none; }
  .lbf-nav__balance { display: flex; }
  .lbf-nav__rope {
    display: block; position: absolute; left: 140px; right: 260px; top: 50%;
    height: 3px; background: repeating-linear-gradient(90deg, var(--lbf-wood) 0 10px, transparent 10px 16px);
    border-radius: 3px; transform: translateY(-50%);
  }
  .lbf-nav__links {
    display: flex; position: absolute; left: 150px; right: 270px; top: 50%;
    transform: translateY(-50%);
    justify-content: space-evenly; align-items: center; z-index: 2;
  }
  .lbf-nav__charm {
    background: #fff; border: 2px solid var(--lbf-wood);
    border-radius: 999px; padding: 6px 16px; min-height: 40px;
    display: flex; align-items: center;
    font-family: var(--lbf-font-display); font-size: 14px;
    box-shadow: var(--lbf-shadow-sm);
  }
  .lbf-nav__charm:nth-child(odd) { transform: translateY(-6px) rotate(-2deg); }
  .lbf-nav__charm:nth-child(even) { transform: translateY(6px) rotate(2deg); }
  .lbf-nav__charm.is-current { background: var(--lbf-lawn); color: #fff; border-color: var(--lbf-lawn-deep); }
}

/* ===================== Hero: hero-split-copy-visual, left-anchored ===================== */
.lbf-hero { padding: 32px 0 44px; overflow: hidden; }
.lbf-hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
.lbf-hero__copy { order: 1; }
.lbf-hero__visual { order: 2; position: relative; }
.lbf-hero__visual img { border-radius: 26px; box-shadow: var(--lbf-shadow); width: 100%; }
.lbf-hero__visual-link {
  position: absolute; right: 16px; bottom: 16px;
  background: rgba(24,32,20,0.72); color: #fff;
  font-family: var(--lbf-font-display); font-size: 13px;
  padding: 8px 14px; border-radius: 999px; min-height: 44px; min-width: 44px;
  display: inline-flex; align-items: center; justify-content: center;
}
.lbf-hero__headline-row { display: flex; flex-direction: column; gap: 14px; margin-bottom: 14px; }
.lbf-hero__copy h1 { font-size: 30px; line-height: 1.15; }
.lbf-hero__cta-btn { align-self: flex-start; }
.lbf-hero__lead { font-size: 16px; color: var(--lbf-ink-soft); margin-bottom: 16px; max-width: 52ch; }
.lbf-hero__cta-notes { display: flex; flex-direction: column; gap: 6px; margin-bottom: 22px; }
.lbf-hero__reassure { font-size: 13.5px; color: var(--lbf-ink-soft); }
.lbf-hero__trustline { font-size: 12px; color: var(--lbf-ink-soft); letter-spacing: 0.01em; }
.lbf-hero__stats { display: grid; grid-template-columns: 1fr; gap: 10px; }
@media (min-width: 480px) { .lbf-hero__stats { grid-template-columns: repeat(3, 1fr); } }
.lbf-hero__stat {
  background: #fff; border-radius: 16px; padding: 14px 10px; text-align: center; box-shadow: var(--lbf-shadow-sm);
}
.lbf-hero__stat strong { display: block; font-family: var(--lbf-font-display); font-size: 20px; color: var(--lbf-lawn-deep); }
.lbf-hero__stat span { font-size: 11.5px; color: var(--lbf-ink-soft); }

@media (min-width: 900px) {
  .lbf-hero__grid { grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: 40px; }
  .lbf-hero__copy { order: 1; }
  .lbf-hero__visual { order: 2; }
  .lbf-hero__headline-row { flex-direction: row; align-items: center; flex-wrap: wrap; }
  .lbf-hero__copy h1 { font-size: 40px; flex: 1 1 auto; }
  .lbf-hero__cta-btn { flex-shrink: 0; }
}

/* ===================== Stats strip (standalone) ===================== */
.lbf-statstrip { display: grid; grid-template-columns: 1fr; gap: 12px; }
.lbf-statstrip__item {
  background: var(--lbf-lawn); color: #fff; border-radius: 18px; padding: 18px; text-align: center;
}
.lbf-statstrip__item strong { display: block; font-family: var(--lbf-font-display); font-size: 24px; }
.lbf-statstrip__item span { font-size: 13px; opacity: 0.9; }
@media (min-width: 700px) { .lbf-statstrip { grid-template-columns: repeat(4, 1fr); } }

/* ===================== Game catalog stack + dogtag-chain-flip cards ===================== */
.lbf-catalog__row { margin-bottom: 30px; }
.lbf-catalog__row-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; gap: 10px; }
.lbf-catalog__row-head h3 { font-size: 19px; }
.lbf-catalog__count { font-size: 13px; color: var(--lbf-ink-soft); background: #fff; border-radius: 999px; padding: 4px 12px; white-space: nowrap; }
.lbf-catalog__track { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x proximity; }
.lbf-catalog__track::-webkit-scrollbar { height: 6px; }
.lbf-catalog__track > * { scroll-snap-align: start; flex: 0 0 auto; }

.lbf-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 480px) { .lbf-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 640px) { .lbf-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .lbf-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1200px) { .lbf-grid { grid-template-columns: repeat(5, 1fr); } }

.lbf-card {
  width: 168px;
  perspective: 900px;
}
.lbf-grid .lbf-card { width: auto; }
.lbf-card__flip {
  position: relative; aspect-ratio: 1 / 1; border-radius: 16px;
  transform-style: preserve-3d; transition: transform 0.5s;
  box-shadow: var(--lbf-shadow-sm);
}
.lbf-card:hover .lbf-card__flip, .lbf-card:focus-within .lbf-card__flip { transform: rotateY(180deg); }
.lbf-card__face {
  position: absolute; inset: 0; backface-visibility: hidden; border-radius: 16px; overflow: hidden;
}
.lbf-card__face--front img { width: 100%; height: 100%; object-fit: cover; }
.lbf-card__ring {
  position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  width: 16px; height: 10px; border: 3px solid rgba(255,255,255,0.85); border-bottom: none;
  border-radius: 10px 10px 0 0; z-index: 2;
}
.lbf-card__tagname {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(0deg, rgba(36,48,31,0.85), transparent);
  color: #fff; padding: 8px 10px 6px; font-family: var(--lbf-font-display); font-size: 13px;
}
.lbf-card__face--back {
  background: var(--lbf-wood); color: #fff; transform: rotateY(180deg);
  padding: 14px; display: flex; flex-direction: column; justify-content: center; gap: 8px; text-align: center;
}
.lbf-card__face--back .theme-tag { font-size: 11px; opacity: 0.85; }
.lbf-card__face--back h4 { font-family: var(--lbf-font-display); font-size: 15px; color: #fff; }
.lbf-card__play {
  min-height: 44px; min-width: 44px; border: none; border-radius: 999px;
  background: var(--lbf-sky); color: #fff; font-family: var(--lbf-font-display); font-size: 13px;
  padding: 10px 14px; cursor: pointer;
}
/* touch devices can't hover — tapping the card toggles .is-flipped via JS */
.lbf-card.is-flipped .lbf-card__flip { transform: rotateY(180deg); }

/* ===================== Leaderboard band: "This Week's Top Dogs" ===================== */
.lbf-leaderboard { background: var(--lbf-ink); border-radius: 20px; padding: 10px 18px; color: #fff; }
.lbf-leaderboard__row {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.lbf-leaderboard__rank { flex: 0 0 34px; }
.lbf-leaderboard__name { flex: 1 1 auto; min-width: 0; }
.lbf-leaderboard__row:last-child { border-bottom: none; }
.lbf-leaderboard__rank {
  font-family: var(--lbf-font-display); font-size: 26px; color: rgba(255,255,255,0.28);
  line-height: 1;
}
.lbf-leaderboard__row:nth-child(1) .lbf-leaderboard__rank { color: #ffd166; }
.lbf-leaderboard__row:nth-child(2) .lbf-leaderboard__rank { color: #d9dee0; }
.lbf-leaderboard__row:nth-child(3) .lbf-leaderboard__rank { color: #d7a26a; }
.lbf-leaderboard__name { font-size: 14.5px; font-family: var(--lbf-font-display); }
.lbf-leaderboard__amount { font-family: var(--lbf-font-display); font-size: 14px; color: #ffd166; white-space: nowrap; }

/* ===================== Slot showcase: "picket-fence-reel-frame" ===================== */
.lbf-slot { position: relative; padding: 40px 0; overflow: hidden; }
.lbf-slot__bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.lbf-slot__scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(36,48,31,0.72), rgba(36,48,31,0.88)); }
.lbf-slot__inner { position: relative; z-index: 1; color: #fff; }
.lbf-slot__head { text-align: center; margin-bottom: 22px; }
.lbf-slot__head h2 { color: #fff; font-size: 26px; }
.lbf-slot__cabinet { position: relative; max-width: 560px; margin: 0 auto; }

.lbf-slot__fence { display: flex; justify-content: space-between; margin-bottom: -6px; padding: 0 2px; }
.lbf-slot__picket {
  width: 14px; height: 26px; background: var(--lbf-fence-white);
  clip-path: polygon(0 30%, 50% 0, 100% 30%, 100% 100%, 0 100%);
  opacity: 0.9;
}

.lbf-slot__plaque {
  position: relative; margin: 0 auto 10px; width: fit-content;
  background: var(--lbf-wood); color: #fff; border-radius: 10px;
  padding: 8px 20px; font-family: var(--lbf-font-display); font-size: 15px;
  min-height: 32px; opacity: 0; transform: translateY(-6px); transition: opacity 0.25s, transform 0.25s;
}
.lbf-slot__plaque.is-visible { opacity: 1; transform: translateY(0); }
.lbf-slot__plaque::before {
  content: ""; position: absolute; top: -8px; left: 50%; transform: translateX(-50%);
  width: 3px; height: 8px; background: #cfae7d;
}

/* game-ui */
.lbf-slot__grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px;
  background: var(--lbf-wood-deep); border: 6px solid var(--lbf-fence-white);
  border-radius: 14px; padding: 8px; box-shadow: var(--lbf-shadow);
}
.lbf-slot__cell { aspect-ratio: 1/1; border-radius: 8px; overflow: hidden; background: #1c2418; position: relative; }
.lbf-slot__cell img { width: 100%; height: 100%; object-fit: cover; }
.lbf-slot__grid.is-spinning .lbf-slot__cell img { filter: blur(2px); }
.lbf-slot__cell.is-win { outline: 3px solid #ffd166; outline-offset: -3px; }

.lbf-slot__gauges { display: flex; justify-content: center; gap: 12px; margin: 16px 0 10px; flex-wrap: wrap; }
.lbf-slot__gauge { background: rgba(255,255,255,0.1); border-radius: 12px; padding: 8px 16px; text-align: center; min-width: 100px; }
.lbf-slot__gauge .label { display: block; font-size: 11px; color: #d8e3d3; }
.lbf-slot__gauge .value { font-family: var(--lbf-font-display); font-size: 16px; }
.lbf-slot__gauge.is-pulsing { animation: lbfGaugePulse 0.6s; }
@keyframes lbfGaugePulse { 0% { transform: scale(1); } 40% { transform: scale(1.08); } 100% { transform: scale(1); } }

.lbf-slot__bet { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 16px; }
.lbf-bone-btn {
  width: 44px; height: 44px; border-radius: 14px; border: none; background: var(--lbf-fence-white);
  color: var(--lbf-ink); font-family: var(--lbf-font-display); font-size: 18px; cursor: pointer;
  clip-path: polygon(20% 0%,80% 0%,100% 20%,100% 80%,80% 100%,20% 100%,0% 80%,0% 20%);
}
.lbf-bone-btn:disabled { opacity: 0.4; cursor: not-allowed; }

.lbf-slot__controls { display: flex; align-items: center; justify-content: center; gap: 16px; }
.lbf-slot__spin {
  width: 84px; height: 84px; border-radius: 50%; border: 5px solid var(--lbf-fence-white);
  background: radial-gradient(circle at 35% 30%, var(--lbf-sky), var(--lbf-sky-deep));
  color: #fff; font-size: 30px; cursor: pointer; box-shadow: var(--lbf-shadow);
}
.lbf-slot__spin.is-spinning { animation: lbfSpinPulse 0.9s infinite; }
@keyframes lbfSpinPulse { 0%,100% { transform: scale(1); } 50% { transform: scale(0.94); } }
.lbf-slot__auto, .lbf-slot__info {
  width: 48px; height: 48px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.1); color: #fff; cursor: pointer; font-size: 16px;
}
.lbf-slot__auto.is-active { background: var(--lbf-lawn); border-color: var(--lbf-lawn); }
.lbf-slot__note--legal { text-align: center; color: #d8e3d3; font-size: 13px; margin-top: 18px; max-width: 560px; margin-left: auto; margin-right: auto; }

/* ===================== Win animation: "paw-print-hop-trail" ===================== */
.lbf-pawtrail { position: absolute; inset: 0; pointer-events: none; overflow: visible; z-index: 5; }
.lbf-pawprint {
  position: absolute; left: 50%; top: 50%; width: 22px; height: 22px;
  background: radial-gradient(circle at 50% 40%, #ffd166 0 55%, transparent 60%);
  opacity: 0;
  animation: lbfPawHop var(--lbf-paw-dur, 700ms) ease-out forwards;
  animation-delay: var(--lbf-paw-delay, 0ms);
}
.lbf-pawprint::before {
  content: "🐾"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 18px;
}
@keyframes lbfPawHop {
  0% { opacity: 0; transform: translate(-50%,-50%) translate(0,0) scale(0.4) rotate(var(--lbf-paw-rot,0deg)); }
  15% { opacity: 1; }
  60% { opacity: 1; transform: translate(-50%,-50%) translate(var(--lbf-paw-tx,0px), calc(var(--lbf-paw-ty,0px) - 14px)) scale(1) rotate(var(--lbf-paw-rot,0deg)); }
  100% { opacity: 0; transform: translate(-50%,-50%) translate(calc(var(--lbf-paw-tx,0px) * 1.15), calc(var(--lbf-paw-ty,0px) + 6px)) scale(0.85) rotate(var(--lbf-paw-rot,0deg)); }
}

/* ===================== How it works steps ===================== */
.lbf-steps { display: grid; grid-template-columns: 1fr; gap: 16px; }
.lbf-steps__item { background: #fff; border-radius: 16px; padding: 18px; display: flex; gap: 14px; align-items: flex-start; box-shadow: var(--lbf-shadow-sm); }
.lbf-steps__num {
  flex-shrink: 0; width: 38px; height: 38px; border-radius: 50%; background: var(--lbf-lawn); color: #fff;
  display: flex; align-items: center; justify-content: center; font-family: var(--lbf-font-display); font-size: 16px;
}
.lbf-steps__item h4 { font-size: 16px; margin-bottom: 4px; }
.lbf-steps__item p { font-size: 14px; color: var(--lbf-ink-soft); }
@media (min-width: 900px) { .lbf-steps { grid-template-columns: repeat(4, 1fr); } }

/* ===================== Footer: "clothesline-pennant-footer" ===================== */
.lbf-footer { background: var(--lbf-ink); color: #dbe3d6; padding: 44px 0 0; margin-top: 40px; }
.lbf-footer__doghouse { text-align: center; margin-bottom: 30px; }
.lbf-footer__doghouse .lbf-nav__wordmark { color: #fff; font-size: 22px; }
.lbf-footer__doghouse p { font-size: 13px; color: #a9b6a3; max-width: 440px; margin: 10px auto 0; }

.lbf-footer__line { position: relative; padding: 0 0 30px; }
.lbf-footer__line::before {
  content: ""; position: absolute; top: 12px; left: 6%; right: 6%; height: 2px;
  background: repeating-linear-gradient(90deg, #6b5539 0 10px, transparent 10px 16px);
}
.lbf-footer__pennants { display: grid; grid-template-columns: 1fr; gap: 24px; position: relative; }
.lbf-footer__pennant-group h5 {
  font-family: var(--lbf-font-display); color: #fff; font-size: 13px; text-transform: uppercase;
  letter-spacing: 0.05em; margin-bottom: 10px; text-align: center;
}
.lbf-footer__pennant-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.lbf-footer__pennant {
  position: relative; background: #33422a; color: #dbe3d6; font-size: 12.5px;
  padding: 8px 12px 10px; border-radius: 3px 3px 3px 3px;
  clip-path: polygon(0 0, 100% 0, 100% 70%, 50% 100%, 0 70%);
  min-height: 44px; display: flex; align-items: center; justify-content: center;
}

.lbf-footer__vet { background: #1a2115; border-radius: 16px; padding: 20px; margin-bottom: 30px; }
.lbf-footer__vet h5 { font-family: var(--lbf-font-display); color: #fff; font-size: 14px; margin-bottom: 8px; }
.lbf-footer__vet p { font-size: 12.5px; color: #a9b6a3; margin-bottom: 14px; }
.lbf-footer__orgs { display: flex; flex-wrap: wrap; gap: 10px; }
/* Rule A0 (root CLAUDE.md #13): GamCare/GambleAware SVGs use white-fill
   wordmarks — the badge background must stay dark or the logo is invisible. */
.lbf-footer__org { background: #1a2115; border: 1px solid rgba(255,255,255,0.08); border-radius: 10px; padding: 8px 12px; display: flex; align-items: center; min-height: 44px; }
.lbf-footer__org img { height: 26px; width: auto; }
.lbf-footer__org--text { font-size: 12px; color: #fff; font-family: var(--lbf-font-display); }

.lbf-footer__walkway { background: #171e12; padding: 16px 0; }
.lbf-footer__walkway-inner { display: flex; flex-direction: column; gap: 8px; align-items: center; text-align: center; font-size: 12px; color: #93a08c; }
.lbf-footer__walkway a { color: #93a08c; min-height: 44px; display: inline-flex; align-items: center; }

@media (min-width: 900px) {
  .lbf-footer__pennants { grid-template-columns: 1fr 1fr; }
  .lbf-footer__walkway-inner { flex-direction: row; justify-content: space-between; }
}

/* ===================== Auth modal: "kibble-bowl-fill-rise" ===================== */
.lbf-auth { position: fixed; inset: 0; z-index: 800; display: flex; align-items: flex-end; justify-content: center; }
.lbf-auth[hidden] { display: none; }
.lbf-auth__backdrop { position: absolute; inset: 0; background: rgba(36,48,31,0.6); }
.lbf-auth__bowl {
  position: relative; z-index: 1; width: 100%; max-width: 420px;
  background: #fff; color: var(--lbf-ink);
  border-radius: 46% 46% 8% 8% / 60px 60px 20px 20px;
  padding: 34px 24px 28px;
  max-height: 88vh; overflow-y: auto;
  box-shadow: 0 -10px 40px rgba(36,48,31,0.3);
  margin-bottom: 0;
  animation: lbfBowlFill 0.5s ease-out;
}
@media (min-width: 700px) {
  .lbf-auth { align-items: center; }
  .lbf-auth__bowl { border-radius: 40px 40px 10% 10% / 60px 60px 24px 24px; margin-bottom: 20px; }
}
@keyframes lbfBowlFill {
  from { clip-path: inset(100% 0 0 0); opacity: 0.4; }
  to { clip-path: inset(0 0 0 0); opacity: 1; }
}
.lbf-auth__bowl.is-pouring { animation: lbfPour 0.28s ease-in-out; }
@keyframes lbfPour { 0% { opacity: 1; } 45% { opacity: 0.35; clip-path: inset(0 0 40% 0); } 100% { opacity: 1; clip-path: inset(0 0 0 0); } }
.lbf-auth__rim {
  width: 60px; height: 6px; border-radius: 999px; background: var(--lbf-wood); margin: 0 auto 14px;
}
.lbf-auth__header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.lbf-auth__header h3 { font-size: 21px; }
.lbf-auth__close { min-width: 44px; min-height: 44px; border: none; background: none; font-size: 18px; cursor: pointer; }
.lbf-auth__tabs { display: flex; gap: 8px; margin-bottom: 14px; }
.lbf-auth__tab {
  flex: 1; min-height: 40px; border-radius: 999px; border: 2px solid var(--lbf-lawn);
  background: #fff; color: var(--lbf-lawn-deep); font-family: var(--lbf-font-display); font-size: 14px; cursor: pointer;
}
.lbf-auth__tab.is-active { background: var(--lbf-lawn); color: #fff; }
.lbf-auth__lead { font-size: 14px; color: var(--lbf-ink-soft); margin-bottom: 14px; }
.lbf-auth__provider {
  width: 100%; display: flex; align-items: center; gap: 10px; min-height: 48px;
  border: 2px solid rgba(36,48,31,0.14); border-radius: 999px; background: #fff;
  padding: 0 16px; margin-bottom: 10px; cursor: pointer; font-size: 14.5px; position: relative;
  transition: box-shadow 0.15s;
}
.lbf-auth__provider.is-glow { box-shadow: 0 0 0 3px rgba(79,180,224,0.4); }
.lbf-auth__provider-icon { width: 20px; height: 20px; flex-shrink: 0; display: flex; }
.lbf-auth__provider--email { background: var(--lbf-fence-white); border-color: var(--lbf-lawn); }

.lbf-auth__wagcallout {
  position: absolute; left: 50%; bottom: calc(100% + 8px); transform: translate(-50%, 4px);
  background: var(--lbf-ink); color: #fff; font-size: 12.5px; padding: 8px 12px; border-radius: 10px;
  white-space: normal; width: 220px; max-width: 60vw; text-align: center;
  opacity: 0; pointer-events: none; transition: opacity 0.2s, transform 0.2s;
  box-shadow: var(--lbf-shadow-sm);
}
.lbf-auth__wagcallout::after {
  content: ""; position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  border: 6px solid transparent; border-top-color: var(--lbf-ink);
}
.lbf-auth__wagcallout.is-visible { opacity: 1; transform: translate(-50%, 0); }
.lbf-auth__provider--email.is-wag { animation: lbfTailWag 0.5s ease-in-out; }
@keyframes lbfTailWag { 0%,100% { transform: rotate(0deg); } 25% { transform: rotate(-3deg); } 75% { transform: rotate(3deg); } }

.lbf-auth__fine { font-size: 12px; color: var(--lbf-ink-soft); margin-top: 12px; }
.lbf-auth__field { display: block; margin-bottom: 14px; font-size: 13px; }
.lbf-auth__field span { display: block; margin-bottom: 6px; font-family: var(--lbf-font-display); }
.lbf-auth__field input {
  width: 100%; min-height: 48px; border-radius: 14px; border: 2px solid rgba(36,48,31,0.16);
  padding: 0 14px; font-size: 16px;
}
.lbf-auth__back { min-height: 40px; border: none; background: none; color: var(--lbf-lawn-deep); font-family: var(--lbf-font-display); cursor: pointer; padding: 0; margin-bottom: 10px; }
[data-auth-error] { display: block; color: #c23b3b; font-size: 13px; min-height: 16px; margin-top: 4px; }

/* ===================== Paytable dialog ===================== */
.lbf-paytable { position: fixed; inset: 0; z-index: 850; display: flex; align-items: flex-end; justify-content: center; }
.lbf-paytable[hidden] { display: none; }
.lbf-paytable__backdrop { position: absolute; inset: 0; background: rgba(36,48,31,0.6); }
.lbf-paytable__sheet {
  position: relative; z-index: 1; background: #fff; width: 100%; max-width: 480px;
  border-radius: 24px 24px 0 0; padding: 22px; max-height: 82vh; overflow-y: auto;
}
@media (min-width: 700px) { .lbf-paytable { align-items: center; } .lbf-paytable__sheet { border-radius: 24px; margin-bottom: 20px; } }
.lbf-paytable__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
/* game-ui */
.lbf-slot__row { display: grid; grid-template-columns: 40px 1fr repeat(3, 50px); align-items: center; gap: 8px; padding: 8px 0; border-bottom: 1px solid rgba(36,48,31,0.08); font-size: 13px; }
.lbf-slot__row img { width: 36px; height: 36px; border-radius: 8px; object-fit: cover; }
.lbf-slot__row .val { text-align: right; }
.lbf-slot__lines-head { font-family: var(--lbf-font-display); margin: 16px 0 8px; font-size: 15px; }
.lbf-slot__line-row { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: 12.5px; }
/* game-ui */
.lbf-slot__line-grid { display: grid; grid-template-columns: repeat(5, 6px); grid-template-rows: repeat(3, 6px); gap: 2px; }
.lbf-slot__line-dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(36,48,31,0.15); }
.lbf-slot__line-dot.is-on { background: var(--lbf-sky); }

/* ===================== Legal pages: "collar-tag-index" bespoke layout ===================== */
.lbf-legal { display: grid; grid-template-columns: 1fr; gap: 24px; }
.lbf-legal__toc { background: #fff; border-radius: 16px; padding: 18px; box-shadow: var(--lbf-shadow-sm); }
.lbf-legal__toc h4 { font-size: 14px; margin-bottom: 10px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--lbf-ink-soft); }
.lbf-legal__toc ul { display: flex; flex-direction: column; gap: 4px; }
.lbf-legal__toc a {
  display: flex; align-items: center; gap: 8px; min-height: 40px; font-size: 14px; border-radius: 10px; padding: 0 8px;
}
.lbf-legal__toc a::before {
  content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--lbf-sky); flex-shrink: 0;
}
.lbf-legal__toc a.is-active { background: rgba(63,143,74,0.1); font-family: var(--lbf-font-display); }
.lbf-legal__body { background: #fff; border-radius: 20px; padding: 24px; box-shadow: var(--lbf-shadow-sm); }
.lbf-legal__body h2 { font-size: 19px; margin: 26px 0 10px; scroll-margin-top: 90px; }
.lbf-legal__body h2:first-child { margin-top: 0; }
.lbf-legal__body p, .lbf-legal__body li { font-size: 15px; color: var(--lbf-ink-soft); margin-bottom: 8px; }
.lbf-legal__body ul { padding-left: 4px; }
.lbf-legal__body li { display: flex; gap: 8px; }
.lbf-legal__body li::before { content: "•"; color: var(--lbf-lawn); }
@media (min-width: 900px) {
  .lbf-legal { grid-template-columns: 240px 1fr; align-items: start; }
  .lbf-legal__toc { position: sticky; top: 100px; }
}

.lbf-page-intro { text-align: center; max-width: 640px; margin: 0 auto 28px; }
.lbf-page-intro h1 { font-size: 28px; margin-bottom: 8px; }
.lbf-page-intro p { color: var(--lbf-ink-soft); }
@media (min-width: 700px) { .lbf-page-intro h1 { font-size: 34px; } }

.lbf-page-footnote { text-align: center; color: var(--lbf-ink-soft); font-size: 13px; max-width: 560px; margin: 24px auto 0; }

/* ===================== FAQ accordion ===================== */
.lbf-faq__item { background: #fff; border-radius: 14px; margin-bottom: 10px; box-shadow: var(--lbf-shadow-sm); overflow: hidden; }
.lbf-faq__q { width: 100%; min-height: 52px; display: flex; align-items: center; justify-content: space-between; padding: 0 16px; border: none; background: none; cursor: pointer; font-family: var(--lbf-font-display); font-size: 15px; text-align: left; }
.lbf-faq__q::after { content: "+"; font-size: 20px; transition: transform 0.2s; }
.lbf-faq__item.is-open .lbf-faq__q::after { transform: rotate(45deg); }
.lbf-faq__a { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; padding: 0 16px; }
.lbf-faq__item.is-open .lbf-faq__a { max-height: 300px; padding-bottom: 16px; }
.lbf-faq__a p { font-size: 14.5px; color: var(--lbf-ink-soft); }

/* ===================== Simple content cards (promotions / rewards / achievements / community) ===================== */
.lbf-cardgrid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 700px) { .lbf-cardgrid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .lbf-cardgrid { grid-template-columns: repeat(3, 1fr); } }
.lbf-tile { background: #fff; border-radius: 18px; padding: 20px; box-shadow: var(--lbf-shadow-sm); }
.lbf-tile h3 { font-size: 17px; margin-bottom: 8px; }
.lbf-tile p { font-size: 14px; color: var(--lbf-ink-soft); margin-bottom: 10px; }
.lbf-tile .tag { display: inline-block; font-size: 11.5px; font-family: var(--lbf-font-display); background: rgba(79,180,224,0.14); color: var(--lbf-sky-deep); padding: 3px 10px; border-radius: 999px; margin-bottom: 8px; }
.lbf-badge-tile { text-align: center; }
.lbf-badge-tile .icon { font-size: 34px; margin-bottom: 8px; }

/* Contact form */
.lbf-form { max-width: 520px; margin: 0 auto; background: #fff; border-radius: 20px; padding: 24px; box-shadow: var(--lbf-shadow-sm); }
.lbf-form label { display: block; margin-bottom: 14px; font-size: 13px; }
.lbf-form label span { display: block; margin-bottom: 6px; font-family: var(--lbf-font-display); }
.lbf-form input, .lbf-form textarea {
  width: 100%; min-height: 48px; border-radius: 14px; border: 2px solid rgba(36,48,31,0.16); padding: 12px 14px; font-size: 16px;
}
.lbf-form textarea { min-height: 120px; resize: vertical; }
#contact-form-note { margin-top: 12px; font-size: 13.5px; color: var(--lbf-lawn-deep); min-height: 18px; }

/* ===================== Age note (side/near-CTA, small non-dominant) ===================== */
.lbf-age-note { font-size: 12.5px; color: var(--lbf-ink-soft); display: flex; align-items: center; gap: 6px; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
