:root {
  --ink: #18342d;
  --muted: #63746e;
  --line: #dce5dc;
  --paper: #f7f6ef;
  --card: #fffefa;
  --green: #176b4a;
  --mint: #dff0e4;
  --coral: #d86345;
  --gold: #e0a83b;
  --blue: #527b99;
  font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
}

.club-dashboard a { color: inherit; }

.dashboard-page > #header-container header {
  background: #176b4a;
  box-shadow: 0 5px 22px rgba(24, 52, 45, .14);
}

.dashboard-page > #header-container nav a.active {
  border-bottom-color: #f3cf77;
}

.dashboard-page .mobile-nav-content {
  border: 1px solid var(--line);
  background: var(--card);
}

.club-dashboard {
  display: block;
  width: min(100%, 1120px);
  margin: 0 auto;
  padding: 34px 16px max(42px, env(safe-area-inset-bottom));
  font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
}

.welcome { display: grid; justify-items: center; margin-bottom: 26px; padding: 0; border: 0; border-radius: 0; background: transparent; text-align: center; }
.eyebrow { margin: 0 0 7px; color: var(--green); font-size: .72rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.club-dashboard :is(h1, h2, h3, p) { margin-top: 0; }
.club-dashboard h1 { max-width: 620px; margin-bottom: 24px; font-size: clamp(2.2rem, 9vw, 4.6rem); line-height: .95; letter-spacing: -.065em; }
.welcome-image { display: block; width: clamp(150px, 48vw, 220px); aspect-ratio: 1; border-radius: 50%; object-fit: cover; }

.dashboard-section { margin-bottom: 18px; border: 1px solid var(--line); border-radius: 20px; background: var(--card); overflow: hidden; }

.dashboard-section { padding: 21px; }
.section-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.section-heading h2 { margin: 0; font-size: 1.4rem; letter-spacing: -.04em; }
.section-icon { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 50%; color: var(--coral); background: #fff0e8; font-size: 1.55rem; font-weight: 800; }

.birthday-list, .appointment-list, .highlight-list { display: grid; gap: 2px; }
.birthday { display: grid; grid-template-columns: 39px 1fr; align-items: center; column-gap: 11px; width: 100%; min-height: 58px; padding: 8px 0; border: 0; border-top: 1px solid #edf0ea; color: inherit; background: transparent; font: inherit; text-align: left; cursor: pointer; }
.birthday:first-child, .appointment:first-child { border-top: 0; }
.birthday strong, .appointment strong { display: block; font-size: .94rem; }.birthday div span, .appointment div span { display: block; margin-top: 2px; color: var(--muted); font-size: .8rem; }
.birthday-past { opacity: .58; }
.birthday-today { position: relative; grid-template-columns: 53px 39px 1fr; margin: 2px -8px; padding: 9px 8px; border: 0; border-radius: 12px; background: var(--mint); }
.birthday:hover { color: var(--green); }.birthday:focus-visible { outline: 3px solid rgba(23, 107, 74, .35); outline-offset: 2px; border-radius: 10px; }
.birthday-status { padding: 12px 0 3px; color: var(--muted); font-size: .9rem; line-height: 1.45; }.birthday-status .btn-login { margin-top: 10px; background: var(--green); }
.today-badge { color: var(--green); font-size: .7rem; font-weight: 900; text-transform: uppercase; }
.avatar { display: grid; width: 39px; height: 39px; place-items: center; border-radius: 50%; color: #fff; font-size: .75rem; font-weight: 800; }.avatar-blue { background: var(--blue); }.avatar-coral { background: var(--coral); }.avatar-gold { background: #c58e22; }.avatar-green { background: #398168; }

.appointments { background: #1d4d43; color: #f9faef; border-color: #1d4d43; }.appointments .eyebrow, .appointments .quiet-link { color: #c7e5bd; }.appointments .appointment { border-color: rgba(255,255,255,.16); }.appointments .appointment div span { color: #c5d4cc; }.appointment { display: grid; grid-template-columns: 43px 1fr auto; align-items: center; gap: 11px; padding: 11px 0; }.appointment time { display: grid; width: 41px; height: 44px; place-content: center; border-radius: 7px; color: var(--ink); background: #f3cf77; text-align: center; line-height: 1; }.appointment time b { font-size: 1.15rem; }.appointment time span { margin-top: 3px; font-size: .56rem; font-weight: 900; letter-spacing: .08em; }.appointment-kind { display: none; padding: 5px 7px; border: 1px solid rgba(255,255,255,.25); border-radius: 99px; color: #d8e7de; font-size: .67rem; white-space: nowrap; }

.highlight-list, .highlight-podium { gap: 9px; }.highlight-podium { display: grid; }.highlight { display: grid; grid-template-columns: 43px 1fr; gap: 12px; padding: 14px; border-radius: 13px; background: #f3f6ef; }.highlight-champion { background: #fff3da; }.highlight-runner-up { background: #edf0f1; }.highlight-third { background: #f6e9df; }.highlight-symbol { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 50%; color: #fff; background: var(--gold); font-family: Georgia, serif; font-size: 1.2rem; font-weight: 700; }.highlight-symbol-silver { color: #fff; background: #89959b; }.highlight-symbol-bronze { background: #ae704f; }.highlight-type { margin-bottom: 3px; color: var(--muted); font-size: .67rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }.highlight h3 { margin-bottom: 0; font-size: .98rem; letter-spacing: -.02em; }

@media (min-width: 680px) {
  .club-dashboard { padding: 42px 28px 60px; }.dashboard-section { padding: 25px; }.birthday-today { grid-template-columns: 72px 42px 1fr; }.appointment-kind { display: inline; }
}

@media (min-width: 930px) {
  .club-dashboard { display: grid; grid-template-columns: 1fr 1fr; column-gap: 18px; }.welcome { grid-column: 1 / -1; margin-bottom: 31px; }.birthdays { grid-column: 1; }.appointments { grid-column: 2; }.highlights { grid-column: 1 / -1; padding: 27px; }.highlight-list { grid-template-columns: repeat(2, 1fr); }.highlight-podium { grid-column: 1 / -1; grid-template-columns: repeat(2, 1fr); }.highlight-podium .highlight-third { grid-column: 2; }
}

@media (prefers-reduced-motion: no-preference) {
  .dashboard-section { animation: rise-in .5s both; }.birthdays { animation-delay: .06s; }.appointments { animation-delay: .12s; }.highlights { animation-delay: .18s; } @keyframes rise-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
}
