/* Cocoa gold shell — dark espresso pages, gold controls, flat 2D marks. */
:root {
  --lx-ink: #f6efe6;
  --lx-muted: rgba(246, 239, 230, 0.62);
  --lx-cream: #120c09;
  --lx-card: rgba(36, 20, 12, 0.9);
  --lx-line: rgba(232, 184, 104, 0.32);
  --lx-green: #e8b568;
  --lx-green-deep: #8d5a1c;
  --lx-gold: #f0c27a;
  --lx-gold-soft: #f6d48a;
  --cc-pod: #5c3317;
  --cc-btn: linear-gradient(180deg, #f8e2b0 0%, #e2b15a 42%, #b8862f 100%);
  --cc-bg-image: url("../Luxury Cocoa Splash Background.png");
}

body:not(.admin-body) {
  color: var(--lx-ink);
}
body:not(.admin-body)::before {
  background: transparent;
}

.lx-pagehead,
.lx-top,
.lx-grid a,
.lx-plan,
.lx-me__stats article,
.lx-me__menu,
.lx-info-card,
.tff-sheet,
.tff-sheet--wallet,
.tff-spin-card,
.tff-hist,
.tff-hist-card,
.tff-fee-card,
.pf-sum,
.fx-team__metric,
.fx-team__pass,
.fx-team__ring,
.pf-slot__card,
.pf-alert,
.pf-empty,
.flux-auth-form,
.fiesta-frame__inner,
.tff-info__article {
  background: rgba(36, 20, 12, 0.9);
  border-color: rgba(232, 184, 104, 0.28);
  color: #f6efe6;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.35);
}

.lx-balance,
.lx-me__wallet {
  background:
    radial-gradient(circle at 88% 0%, rgba(255, 214, 140, 0.28), transparent 36%),
    linear-gradient(155deg, #4a2a14 0%, #24140c 58%, #140c08 100%);
  border: 1px solid rgba(240, 194, 122, 0.35);
  color: #f6efe6;
}

.lx-home--v2 .lx-top,
.lx-sub__head {
  background: transparent;
  border: 0;
  box-shadow: none;
  color: #f6efe6;
}

.lx-tools a,
.lx-back,
.tff-wal-back,
.tff-info__back,
.fx-team__back,
.pf-nav__back,
.lx-sub__head .lx-back,
.tff-wal-side,
.lx-home--v2 .lx-tools a {
  background: rgba(240, 194, 122, 0.12);
  color: #f0c27a;
  border: 1px solid rgba(240, 194, 122, 0.35);
}

.lx-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
.lx-grid a {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  padding: 8px 4px;
  background: transparent;
  border: 0;
  box-shadow: none;
}
.lx-grid a > svg,
.lx-me__menu svg,
.lx-dock__item svg {
  width: 46px;
  height: 46px;
  padding: 10px;
  border-radius: 16px;
  background: linear-gradient(180deg, #5a3418, #2a160e);
  border: 1px solid rgba(240, 194, 122, 0.4);
  box-shadow: inset 0 1px 0 rgba(255, 230, 180, 0.25), 0 8px 16px rgba(0, 0, 0, 0.35);
  stroke: #f6d48a;
  fill: rgba(246, 212, 138, 0.16);
}
.lx-me__menu svg,
.lx-dock__item svg {
  width: 22px;
  height: 22px;
  padding: 0;
  background: none;
  border: 0;
  box-shadow: none;
  fill: currentColor;
}
.lx-grid strong { font-size: 11px; }
.lx-grid span { display: none; }

.lx-sec h2,
.lx-brand .cc-mark--sm {
  width: 52px;
  height: 52px;
}
.lx-brand strong,
.lx-me__phone,
.lx-balance__amt,
.lx-me__wallet strong,
.pf-nav__title,
.fx-team__brand-title,
.tff-wal-head__title,
.lx-sub__titles strong {
  color: #f6efe6;
}
.lx-sec a,
.lx-plan__price,
.pf-slot__foot,
.fx-team__pass-code,
.fx-team__pill,
.tff-info a { color: #f0c27a; }

.lx-plan button,
.lx-submit,
.tff-btn,
button.tff-btn,
.nv-err__btn,
.lx-support-step__btn,
.lx-balance__row a:first-child,
.lx-me__wallet a:first-child,
.fx-team__pass-btn--fill {
  background: var(--cc-btn);
  color: #3a2410;
  border: 0;
  box-shadow: 0 8px 18px rgba(184, 134, 47, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
.lx-plan .lx-owned,
.lx-balance__row a:last-child,
.lx-me__wallet a:last-child,
.fx-team__pass-btn--line {
  background: transparent;
  color: #f6d48a;
  border: 1px solid rgba(240, 194, 122, 0.45);
}

.lx-dock {
  background: rgba(22, 12, 8, 0.94);
  border: 1px solid rgba(240, 194, 122, 0.28);
}
.lx-dock__item { color: rgba(246, 239, 230, 0.55); }
.lx-dock__item.is-on {
  color: #f6d48a;
  background: transparent;
}

.lx-me__menu { background: rgba(36, 20, 12, 0.9); }
.lx-me__menu a { color: #f6efe6; }
.lx-me__menu svg { color: #f0c27a; }
.lx-me__out, .lx-me__out svg { color: #ffb4a2 !important; }

input, select, textarea,
.flux-auth-form__row,
.tff-amount__row,
.tff-gift-input,
.tff-channel,
.tff-chip,
.tff-hist-filter,
.fx-team__seg-btn {
  background: rgba(16, 8, 6, 0.72);
  color: #f6efe6;
  border-color: rgba(232, 184, 104, 0.35);
}
.tff-channel.is-on,
.tff-chip.is-on,
.tff-hist-filter.is-active,
.fx-team__seg-btn.is-active,
.pf-nav__badge,
.fx-team__badge,
.tff-ghost,
.tff-spin-credits {
  background: rgba(240, 194, 122, 0.16);
  color: #f6d48a;
  border-color: rgba(240, 194, 122, 0.45);
}
.tff-info__note,
.lx-support-step,
.tff-empty,
.tff-rules,
.tff-hist-empty {
  background: rgba(240, 194, 122, 0.08);
  color: rgba(246, 239, 230, 0.78);
}
.tff-hist-card__amt--in,
.tff-hist-card__amt--income { color: #d8ff9a; }
.tff-hist-card__amt--out { color: #f0c27a; }
.pf-ring__track { stroke: rgba(240, 194, 122, 0.2); }
.pf-ring__fill { stroke: #e8b568; }
.fx-team__avatar,
.fiesta-me__avatar { background: #5c3317; color: #f6d48a; }
.tff-cycle__dot { background: rgba(240, 194, 122, 0.12); color: #f6d48a; }
.tff-cycle__dot.is-done,
.tff-cal .day.is-claimed { background: #5c3317; color: #f6d48a; }
.tff-spin-rotor {
  background: conic-gradient(
    #5c3317 0deg 30deg,
    #f6d48a 30deg 60deg,
    #8d5a1c 60deg 90deg,
    #f0c27a 90deg 120deg,
    #24140c 120deg 150deg,
    #e2b15a 150deg 180deg,
    #3a2410 180deg 210deg,
    #f8e2b0 210deg 240deg,
    #5c3317 240deg 270deg,
    #f6d48a 270deg 300deg,
    #8d5a1c 300deg 330deg,
    #f0c27a 330deg 360deg
  );
  border-color: #f0c27a;
}
.tff-spin-hub { background: #24140c; border-color: #f0c27a; }
.tff-spin-lab { color: #3a2410; }

/* Auth — centered COCOLA brand, bean band, gold glass form (distinct from splash mockups). */
body.tff-page--flux-auth {
  overflow: auto;
}
body.tff-page--flux-auth .tff-phone,
body.tff-page--flux-auth .tff-stage {
  height: auto;
  min-height: 100dvh;
  overflow: visible;
}
.cc-auth.lx-auth {
  box-sizing: border-box;
  width: 100%;
  height: auto;
  max-height: none;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 16px;
  overflow: visible;
  padding:
    calc(18px + env(safe-area-inset-top))
    18px
    calc(22px + env(safe-area-inset-bottom));
  max-width: 440px;
  margin: 0 auto;
}
.cc-auth { position: relative; }
.cc-deco {
  position: absolute;
  top: 8%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  opacity: 0.45;
  pointer-events: none;
  z-index: 0;
}
.cc-deco svg { width: 36px; height: 36px; }
.cc-deco--l { left: 4px; }
.cc-deco--r { right: 4px; top: 14%; }

.cc-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 1;
}
.cc-brand--stack {
  flex-direction: column;
  text-align: center;
  gap: 6px;
  margin-bottom: 4px;
}
.cc-mark {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  filter: drop-shadow(0 8px 20px rgba(232, 184, 104, 0.35));
}
.cc-mark--sm { width: 48px; height: 48px; }

.cc-hero-band {
  position: relative;
  height: 56px;
  margin: 0 -4px 4px;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(90deg, rgba(58, 32, 18, 0.5), rgba(20, 12, 8, 0.2), rgba(58, 32, 18, 0.5));
  border: 1px solid rgba(240, 194, 122, 0.22);
  z-index: 1;
}
.cc-hero-band__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 100%, rgba(232, 184, 104, 0.25), transparent 70%);
}
.cc-hero-band__beans {
  position: relative;
  width: 100%;
  height: 100%;
  opacity: 0.85;
}
.cc-word {
  margin: 0;
  font-family: "Cinzel", var(--lx-display), serif;
  font-size: 28px;
  letter-spacing: 0.14em;
  font-weight: 700;
  color: #f6efe6;
}
.cc-tag {
  margin: 2px 0 0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #e8b568;
}
.cc-panel {
  border-radius: 28px;
  padding: 20px 16px 16px;
  background:
    linear-gradient(180deg, rgba(58, 32, 18, 0.55), rgba(18, 10, 8, 0.2)),
    rgba(20, 12, 8, 0.72);
  border: 1px solid rgba(240, 194, 122, 0.38);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 220, 160, 0.16);
}
.cc-hello {
  margin: 0;
  font-family: "Cinzel", serif;
  font-size: 24px;
  font-weight: 700;
  color: #f8e7c4;
  font-style: normal;
}
.cc-hello__gold {
  font-style: normal;
  color: #f6d48a;
  text-shadow: 0 0 24px rgba(246, 212, 138, 0.45);
}
.cc-hello__sub { margin: 6px 0 18px; font-size: 13px; font-weight: 700; color: rgba(246, 239, 230, 0.7); }
.cc-panel { position: relative; z-index: 1; backdrop-filter: blur(10px); }
.cc-form .lx-field { margin-bottom: 12px; }
.cc-form .lx-field > span:not(.lx-field__box) { display: none; }
.cc-ico {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}
.lx-auth .lx-field__box {
  min-height: 52px;
  border-radius: 16px;
  background: rgba(10, 6, 4, 0.72);
  border: 1px solid rgba(232, 184, 104, 0.45);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.35);
}
.lx-auth .lx-dial { color: #f6d48a; }
.lx-submit {
  min-height: 52px;
  margin-top: 8px;
  border-radius: 999px;
  font-size: 16px;
  letter-spacing: 0.04em;
}
.cc-switch {
  margin: 14px 0 0;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: rgba(246, 239, 230, 0.7);
}
.cc-switch a { color: #f6d48a; font-weight: 800; text-decoration: none; }
.cc-trust {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: auto;
  padding-top: 8px;
  font-size: 11px;
  font-weight: 800;
  color: rgba(246, 239, 230, 0.72);
}
.cc-trust span { display: inline-flex; align-items: center; gap: 6px; }
.cc-trust svg { width: 16px; height: 16px; }
