/* ============================================================
   THE HICKORY ALGORITHM NETWORK HUB — app.css
   Mobile-first, no external frameworks.
   Design language matches thehickoryalgorithm.com.
   Brand fonts: Vogue (display), Voguella (brand wordmark),
   Cormorant Garamond (body), Montserrat (UI labels).
   ============================================================ */

/* ── Custom Fonts ───────────────────────────────────────────── */
@font-face {
  font-family: 'Vogue';
  src: url('../fonts/Vogue.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Voguella';
  src: url('../fonts/Voguella.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* ── CSS Variables ─────────────────────────────────────────── */
:root {
  /* Brand palette */
  --navy:        #0B1F3A;
  --navy-light:  #132848;
  --gold:        #C9A84C;
  --gold-light:  #E8C97A;
  --gold-pale:   #F5E9CC;
  --cream:       #F5F0E8;
  --white:       #FFFFFF;
  --dark-text:   #1A1A2E;
  --mid-text:    #4A4A6A;
  --light-text:  #7A7A9A;
  --card-bg:     #FFFFFF;
  --page-bg:     #F5F0E8;
  --border:      rgba(11,31,58,0.12);
  --border-gold: rgba(201,168,76,0.35);

  /* Fonts */
  --font-display: 'Vogue', 'Didot', 'Bodoni MT', Georgia, serif;
  --font-brand:   'Voguella', 'Didot', Georgia, serif;
  --font-body:    'Cormorant Garamond', 'Palatino Linotype', Georgia, serif;
  --font-ui:      'Montserrat', 'Gill Sans', Arial, sans-serif;

  /* Spacing scale */
  --s1: .25rem;  --s2: .5rem;   --s3: .75rem;  --s4: 1rem;
  --s5: 1.5rem;  --s6: 2rem;    --s7: 3rem;    --s8: 4.5rem;

  /* Radii */
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-xl: 32px;

  /* Shadows */
  --shadow-card:  0 2px 12px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 28px rgba(11,31,58,0.16);
  --shadow-gold:  0 4px 20px rgba(201,168,76,0.25);

  /* Transitions */
  --tx: all 0.2s ease;

  /* Bottom nav height (mobile) */
  --nav-bottom-h: 64px;

  /* Top nav height (desktop) */
  --nav-top-h: 68px;

  /* Max content width */
  --max-w: 1160px;
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--dark-text);
  background: var(--page-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  /* Bottom padding for fixed mobile nav */
  padding-bottom: var(--nav-bottom-h);
}
img { display: block; max-width: 100%; height: auto; }
ul { list-style: none; }
a { color: var(--gold); text-decoration: none; transition: var(--tx); }
a:hover { color: var(--gold-light); }
a:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: var(--r-sm); }
button { cursor: pointer; font-family: var(--font-ui); }
input, textarea, select {
  font-family: var(--font-body);
  font-size: 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  padding: 0.65rem 0.9rem;
  width: 100%;
  background: var(--white);
  color: var(--dark-text);
  transition: border-color 0.2s;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.15);
}
textarea { resize: vertical; min-height: 100px; }
label {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mid-text);
  margin-bottom: var(--s2);
}

/* ── Layout ─────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--s4);
}
.page {
  min-height: 100vh;
  padding-top: var(--s4);
  padding-bottom: calc(var(--nav-bottom-h) + var(--s5));
}

/* ── Typography ─────────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: 0.03em;
  color: var(--navy);
}
h1 { font-size: clamp(1.9rem, 5vw, 3rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }
h4 { font-size: 1.05rem; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--s2);
}
.text-gold  { color: var(--gold); }
.text-navy  { color: var(--navy); }
.text-muted { color: var(--light-text); }
.text-mid   { color: var(--mid-text); }
.text-sm    { font-size: 0.88rem; }
.text-xs    { font-size: 0.75rem; }

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s2);
  padding: 0.72rem 1.6rem;
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: none;
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: var(--tx);
  white-space: nowrap;
  min-height: 44px;
}
.btn-primary {
  background: var(--navy);
  color: var(--gold);
  box-shadow: var(--shadow-card);
}
.btn-primary:hover {
  background: var(--navy-light);
  color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}
.btn-gold {
  background: var(--gold);
  color: var(--navy);
}
.btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}
.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.btn-ghost {
  background: transparent;
  color: var(--gold);
  padding-inline: 0;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  min-height: auto;
}
.btn-ghost::after { content: ' →'; transition: transform 0.2s; display: inline-block; }
.btn-ghost:hover::after { transform: translateX(4px); }
.btn-danger {
  background: #c0392b;
  color: #fff;
}
.btn-danger:hover { background: #a93226; }
.btn-sm {
  padding: 0.4rem 0.9rem;
  font-size: 0.62rem;
  min-height: 36px;
}
.btn-full { width: 100%; }
.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* ── Cards ───────────────────────────────────────────────────── */
.card {
  background: var(--card-bg);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover { box-shadow: var(--shadow-hover); }
.card-body { padding: var(--s5); }
.card-header {
  padding: var(--s4) var(--s5);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s3);
}
.card-footer {
  padding: var(--s3) var(--s5);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: var(--s3);
}

/* ── Badge ────────────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-family: var(--font-ui);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.badge-gold    { background: var(--gold-pale); color: #7a5800; }
.badge-navy    { background: var(--navy); color: var(--gold); }
.badge-cream   { background: var(--cream); color: var(--mid-text); }
.badge-green   { background: #d4edda; color: #155724; }
.badge-red     { background: #f8d7da; color: #721c24; }

/* ── Gold Rule ─────────────────────────────────────────────── */
.rule {
  display: block;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin-block: var(--s4);
}

/* ── Divider ─────────────────────────────────────────────────── */
.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin-block: var(--s4);
}

/* ── Avatar ─────────────────────────────────────────────────── */
.avatar {
  border-radius: 50%;
  object-fit: cover;
  background: var(--cream);
  flex-shrink: 0;
}
.avatar-sm  { width: 36px;  height: 36px; }
.avatar-md  { width: 52px;  height: 52px; }
.avatar-lg  { width: 80px;  height: 80px; }
.avatar-xl  { width: 120px; height: 120px; }

.avatar-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  color: var(--gold);
  font-family: var(--font-display);
  font-weight: bold;
  flex-shrink: 0;
  border-radius: 50%;
}
.avatar-placeholder.avatar-sm  { width: 36px;  height: 36px;  font-size: 0.9rem; }
.avatar-placeholder.avatar-md  { width: 52px;  height: 52px;  font-size: 1.2rem; }
.avatar-placeholder.avatar-lg  { width: 80px;  height: 80px;  font-size: 1.8rem; }
.avatar-placeholder.avatar-xl  { width: 120px; height: 120px; font-size: 2.5rem; }

/* ── Form Group ─────────────────────────────────────────────── */
.form-group { margin-bottom: var(--s5); }
.form-row {
  display: grid;
  gap: var(--s4);
  grid-template-columns: 1fr;
}
.form-hint {
  font-size: 0.78rem;
  color: var(--light-text);
  margin-top: var(--s1);
  font-family: var(--font-ui);
}
.form-error {
  font-size: 0.78rem;
  color: #c0392b;
  margin-top: var(--s1);
  font-family: var(--font-ui);
}

/* ── Toast ───────────────────────────────────────────────────── */
#toast-container {
  position: fixed;
  top: var(--s4);
  right: var(--s4);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: var(--s2);
  pointer-events: none;
}
.toast {
  padding: 0.75rem 1.2rem;
  border-radius: var(--r-sm);
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 600;
  box-shadow: var(--shadow-hover);
  opacity: 1;
  transition: opacity 0.4s;
  pointer-events: auto;
  max-width: 320px;
}
.toast-success { background: #d4edda; color: #155724; }
.toast-error   { background: #f8d7da; color: #721c24; }
.toast-info    { background: var(--navy); color: var(--gold); border: 1px solid var(--gold); }
.toast.fade-out { opacity: 0; }

/* ── Modal ───────────────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11,31,58,0.7);
  z-index: 500;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: var(--s4);
  backdrop-filter: blur(4px);
}
.modal-overlay.center { align-items: center; }
.modal {
  background: var(--white);
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  padding: var(--s6) var(--s5);
}
.modal-overlay.center .modal { border-radius: var(--r-lg); }
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--s5);
}
.modal-close {
  background: none;
  border: none;
  font-size: 1.4rem;
  color: var(--light-text);
  line-height: 1;
  padding: 0.25rem;
  min-height: 44px;
  min-width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-sm);
  transition: var(--tx);
}
.modal-close:hover { background: var(--cream); color: var(--navy); }
.modal-hidden { display: none !important; }

/* ── Top Navigation (desktop) ─────────────────────────────── */
#top-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-top-h);
  background: var(--navy);
  z-index: 200;
  box-shadow: 0 2px 16px rgba(0,0,0,0.2);
}
.top-nav-inner {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--s5);
  height: 100%;
  display: flex;
  align-items: center;
  gap: var(--s5);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--s3);
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo img { width: 40px; height: 40px; object-fit: contain; }
.nav-logo-text {
  font-family: var(--font-brand);
  font-size: 1.1rem;
  color: var(--gold);
  letter-spacing: 0.05em;
  line-height: 1.1;
}
.nav-logo-sub {
  font-family: var(--font-ui);
  font-size: 0.52rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-pale);
  display: block;
}
.top-nav-links {
  display: flex;
  align-items: center;
  gap: var(--s2);
  flex: 1;
  justify-content: center;
}
.top-nav-links a {
  font-family: var(--font-ui);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245,240,232,0.75);
  padding: 0.5rem 0.75rem;
  border-radius: var(--r-sm);
  border-bottom: 2px solid transparent;
  transition: var(--tx);
}
.top-nav-links a:hover,
.top-nav-links a.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}
.top-nav-right {
  display: flex;
  align-items: center;
  gap: var(--s3);
  flex-shrink: 0;
}

/* ── Bottom Navigation (mobile) ──────────────────────────── */
#bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--nav-bottom-h);
  background: var(--navy);
  display: flex;
  align-items: stretch;
  z-index: 200;
  box-shadow: 0 -2px 16px rgba(0,0,0,0.2);
  /* Safe area for iPhone home indicator */
  padding-bottom: env(safe-area-inset-bottom);
}
.bottom-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: rgba(245,240,232,0.55);
  text-decoration: none;
  font-family: var(--font-ui);
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s;
  min-height: 44px;
  position: relative;
}
.bottom-nav-item svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
}
.bottom-nav-item.active {
  color: var(--gold);
}
.bottom-nav-item.active::before {
  content: '';
  position: absolute;
  top: 0;
  left: 25%;
  right: 25%;
  height: 2px;
  background: var(--gold);
  border-radius: 0 0 2px 2px;
}

/* ── Page Header ─────────────────────────────────────────── */
.page-header {
  background: var(--navy);
  color: var(--cream);
  padding: var(--s6) var(--s4) var(--s5);
  margin-bottom: var(--s5);
  position: relative;
  overflow: hidden;
}
.page-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: var(--s4);
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
}
.page-header h1 { color: var(--cream); margin-bottom: var(--s2); }
.page-header .eyebrow { color: var(--gold-light); }
.page-header p { color: rgba(245,240,232,0.7); max-width: 55ch; }

/* ── Hero Section (dashboard) ───────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  display: flex;
  align-items: flex-end;
  background: var(--navy);
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: var(--s7) var(--s4) var(--s5);
  width: 100%;
}
.hero-logo {
  width: 72px;
  margin-bottom: var(--s3);
}
.hero h1 { color: var(--cream); }
.hero p  { color: var(--gold-pale); font-size: 1rem; }

/* ── Stats Row ───────────────────────────────────────────── */
.stats-row {
  display: flex;
  gap: var(--s4);
  overflow-x: auto;
  padding-block: var(--s4);
  scrollbar-width: none;
}
.stats-row::-webkit-scrollbar { display: none; }
.stat-card {
  flex-shrink: 0;
  background: var(--navy);
  color: var(--cream);
  border-radius: var(--r-md);
  padding: var(--s4) var(--s5);
  min-width: 120px;
  text-align: center;
}
.stat-number {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--gold);
  line-height: 1;
  display: block;
  margin-bottom: var(--s1);
}
.stat-label {
  font-family: var(--font-ui);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(245,240,232,0.6);
}

/* ── Section header ──────────────────────────────────────── */
.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--s3);
  margin-bottom: var(--s4);
}
.section-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--navy);
  letter-spacing: 0.02em;
}

/* ── Tip of the Day Card ─────────────────────────────────── */
.tip-card {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: var(--r-md);
  padding: var(--s5);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.tip-card::before {
  content: '"';
  position: absolute;
  top: -20px;
  right: var(--s4);
  font-family: var(--font-display);
  font-size: 8rem;
  color: rgba(201,168,76,0.12);
  line-height: 1;
  pointer-events: none;
}
.tip-category {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.7rem;
  background: rgba(201,168,76,0.2);
  border: 1px solid rgba(201,168,76,0.4);
  border-radius: 999px;
  font-family: var(--font-ui);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: var(--s3);
}
.tip-text {
  font-family: var(--font-body);
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--cream);
  font-style: italic;
}
.tip-label {
  font-family: var(--font-ui);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(201,168,76,0.7);
  margin-top: var(--s3);
}

/* ── Member Card (directory) ─────────────────────────────── */
.member-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s4);
}
.member-card {
  background: var(--card-bg);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
}
.member-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.member-card-header {
  background: var(--navy);
  padding: var(--s4);
  display: flex;
  align-items: center;
  gap: var(--s3);
}
.member-card-body { padding: var(--s4); flex: 1; }
.member-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--cream);
  line-height: 1.2;
}
.member-business { color: var(--gold-light); font-size: 0.82rem; font-family: var(--font-ui); }
.member-tagline { color: var(--mid-text); font-size: 0.95rem; margin-bottom: var(--s3); }
.member-card-footer {
  padding: var(--s3) var(--s4);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ── Spotlight Card (dashboard) ─────────────────────────── */
.spotlight-card {
  background: var(--navy);
  border-radius: var(--r-md);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
}
.spotlight-img-wrap {
  aspect-ratio: 16/7;
  overflow: hidden;
  position: relative;
}
.spotlight-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
}
.spotlight-content { padding: var(--s5); color: var(--cream); }
.spotlight-content h3 { color: var(--cream); }
.spotlight-content p { color: rgba(245,240,232,0.7); font-size: 0.95rem; }

/* ── Post Cards (board) ──────────────────────────────────── */
.post-list { display: flex; flex-direction: column; gap: var(--s3); }
.post-card {
  background: var(--card-bg);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-card);
  padding: var(--s4);
  cursor: pointer;
  transition: box-shadow 0.2s, transform 0.2s;
  border-left: 3px solid transparent;
}
.post-card:hover { box-shadow: var(--shadow-hover); transform: translateX(2px); border-left-color: var(--gold); }
.post-card-meta {
  display: flex;
  align-items: center;
  gap: var(--s3);
  margin-bottom: var(--s3);
  flex-wrap: wrap;
}
.post-author-line {
  display: flex;
  align-items: center;
  gap: var(--s2);
}
.post-author-name { font-family: var(--font-ui); font-size: 0.75rem; font-weight: 700; color: var(--navy); }
.post-business    { font-family: var(--font-ui); font-size: 0.65rem; color: var(--light-text); }
.post-time        { font-family: var(--font-ui); font-size: 0.65rem; color: var(--light-text); margin-left: auto; }
.post-title { font-family: var(--font-display); font-size: 1.1rem; color: var(--navy); margin-bottom: var(--s2); }
.post-body {
  color: var(--mid-text);
  font-size: 0.95rem;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.post-body.expanded { -webkit-line-clamp: unset; overflow: visible; }
.post-actions {
  display: flex;
  align-items: center;
  gap: var(--s4);
  margin-top: var(--s3);
  padding-top: var(--s3);
  border-top: 1px solid var(--border);
}
.post-action-btn {
  display: flex;
  align-items: center;
  gap: var(--s1);
  background: none;
  border: none;
  font-family: var(--font-ui);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--light-text);
  padding: 0.3rem 0.5rem;
  border-radius: var(--r-sm);
  transition: var(--tx);
  min-height: 36px;
}
.post-action-btn:hover { background: var(--cream); color: var(--navy); }
.post-action-btn.upvoted { color: var(--gold); }
.post-action-btn svg { width: 16px; height: 16px; stroke: currentColor; fill: none; }

/* ── Channel Filter Bar ──────────────────────────────────── */
.filter-bar {
  display: flex;
  gap: var(--s2);
  overflow-x: auto;
  padding-block: var(--s3);
  scrollbar-width: none;
  flex-wrap: nowrap;
}
.filter-bar::-webkit-scrollbar { display: none; }
.filter-chip {
  flex-shrink: 0;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  background: var(--white);
  font-family: var(--font-ui);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mid-text);
  cursor: pointer;
  transition: var(--tx);
  min-height: 36px;
}
.filter-chip:hover,
.filter-chip.active {
  background: var(--navy);
  color: var(--gold);
  border-color: var(--navy);
}

/* ── Search Input ─────────────────────────────────────────── */
.search-wrap {
  position: relative;
  margin-bottom: var(--s4);
}
.search-wrap svg {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  stroke: var(--light-text);
  fill: none;
  pointer-events: none;
}
.search-wrap input {
  padding-left: 2.6rem;
  border-radius: var(--r-xl);
  font-family: var(--font-ui);
  font-size: 0.88rem;
}

/* ── Sort / Filter Row ─────────────────────────────────────── */
.controls-row {
  display: flex;
  gap: var(--s3);
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: var(--s4);
}
.controls-row select {
  width: auto;
  min-height: 44px;
  font-family: var(--font-ui);
  font-size: 0.75rem;
}

/* ── Event Cards ─────────────────────────────────────────── */
.event-card {
  background: var(--card-bg);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.event-card:hover { box-shadow: var(--shadow-hover); }
.event-card.pinned { border-top: 3px solid var(--gold); }
.event-img {
  width: 100%;
  aspect-ratio: 16/7;
  object-fit: cover;
  background: var(--cream);
}
.event-body { padding: var(--s4); }
.event-date-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  background: var(--navy);
  color: var(--gold);
  border-radius: var(--r-sm);
  padding: 0.3rem 0.6rem;
  margin-bottom: var(--s3);
  min-width: 52px;
  text-align: center;
}
.event-date-month { font-family: var(--font-ui); font-size: 0.55rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.event-date-day   { font-family: var(--font-display); font-size: 1.4rem; line-height: 1; }
.event-title { font-family: var(--font-display); font-size: 1.15rem; color: var(--navy); margin-bottom: var(--s2); }
.event-meta  { font-family: var(--font-ui); font-size: 0.72rem; color: var(--mid-text); }
.event-meta span { display: block; margin-bottom: var(--s1); }
.event-footer {
  padding: var(--s3) var(--s4);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s3);
}
.past-events-toggle {
  display: flex;
  align-items: center;
  gap: var(--s2);
  background: none;
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  padding: var(--s3) var(--s4);
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mid-text);
  width: 100%;
  justify-content: center;
  margin-top: var(--s4);
  min-height: 44px;
}
.past-events-toggle:hover { border-color: var(--gold); color: var(--gold); }

/* ── Profile Page ────────────────────────────────────────── */
.profile-hero {
  background: var(--navy);
  padding: var(--s7) var(--s4) var(--s6);
  text-align: center;
  position: relative;
}
.profile-hero-img {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--gold);
  margin: 0 auto var(--s4);
}
.profile-name { font-family: var(--font-display); font-size: 1.8rem; color: var(--cream); }
.profile-business { font-family: var(--font-ui); font-size: 0.78rem; color: var(--gold-light); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: var(--s2); }
.profile-tagline { color: rgba(245,240,232,0.75); font-size: 1rem; max-width: 45ch; margin: 0 auto; }
.profile-links {
  display: flex;
  gap: var(--s3);
  justify-content: center;
  flex-wrap: wrap;
  margin-top: var(--s4);
}

/* ── Complementary Section ───────────────────────────────── */
.complementary-section {
  padding: var(--s5) var(--s4);
  background: var(--cream);
  border-top: 1px solid var(--border);
}

/* ── Admin Panel ─────────────────────────────────────────── */
.admin-section {
  background: var(--card-bg);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-card);
  margin-bottom: var(--s4);
  overflow: hidden;
}
.admin-section-header {
  background: var(--navy);
  color: var(--cream);
  padding: var(--s3) var(--s5);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.admin-section-header h3 { color: var(--gold); font-size: 0.9rem; font-family: var(--font-ui); letter-spacing: 0.1em; text-transform: uppercase; }
.admin-table { width: 100%; border-collapse: collapse; font-family: var(--font-ui); font-size: 0.82rem; }
.admin-table th {
  text-align: left;
  padding: 0.6rem var(--s4);
  background: var(--cream);
  color: var(--mid-text);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  border-bottom: 1px solid var(--border);
}
.admin-table td { padding: 0.75rem var(--s4); border-bottom: 1px solid var(--border); vertical-align: middle; }
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: var(--page-bg); }

/* ── Reply Thread ────────────────────────────────────────── */
.reply-list { padding-left: var(--s5); border-left: 2px solid var(--border-gold); margin-top: var(--s3); }
.reply-item { padding: var(--s3) 0; border-bottom: 1px solid var(--border); }
.reply-item:last-child { border-bottom: none; }
.reply-author { font-family: var(--font-ui); font-size: 0.72rem; font-weight: 700; color: var(--navy); }
.reply-time   { font-family: var(--font-ui); font-size: 0.62rem; color: var(--light-text); }
.reply-body   { color: var(--mid-text); font-size: 0.93rem; margin-top: var(--s1); }

/* ── Compose Box ─────────────────────────────────────────── */
.compose-box {
  background: var(--card-bg);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-card);
  padding: var(--s4);
  margin-bottom: var(--s4);
}

/* ── Loading / Empty States ─────────────────────────────── */
.loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--border);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: var(--s7) auto;
}
@keyframes spin { to { transform: rotate(360deg); } }
.empty-state {
  text-align: center;
  padding: var(--s7) var(--s4);
  color: var(--light-text);
}
.empty-state svg { width: 48px; height: 48px; stroke: var(--border); fill: none; margin: 0 auto var(--s3); }
.empty-state p { font-size: 0.92rem; }

/* ── Auth / Login Screen ─────────────────────────────────── */
.auth-screen {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--s5);
  background: var(--navy);
  text-align: center;
}
.auth-screen img.auth-logo { width: 80px; margin: 0 auto var(--s5); }
.auth-screen img.auth-hero {
  width: 100%;
  max-width: 440px;
  height: 240px;
  object-fit: cover;
  border-radius: var(--r-md);
  margin: 0 auto var(--s5);
  opacity: 0.8;
}
.auth-screen h1 { color: var(--gold); font-size: clamp(1.6rem, 5vw, 2.4rem); margin-bottom: var(--s2); }
.auth-screen p  { color: rgba(245,240,232,0.7); max-width: 38ch; margin: 0 auto var(--s5); font-size: 0.98rem; }
.auth-form {
  width: 100%;
  max-width: 340px;
  margin: 0 auto;
  text-align: left;
}
.auth-form label { color: rgba(245,240,232,0.7); }
.auth-form input { margin-bottom: var(--s4); min-height: 48px; }
.auth-form .btn  { margin-top: var(--s2); min-height: 52px; }
.auth-screen .auth-form-hint {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  color: rgba(245,240,232,0.5);
  margin: calc(var(--s3) * -1) 0 var(--s4);
}
.auth-screen .auth-form-error {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  color: #ff9d8f;
  min-height: 1.2em;
  margin: var(--s3) 0 0;
  max-width: none;
}
.auth-form-links {
  display: flex;
  justify-content: space-between;
  gap: var(--s3);
  flex-wrap: wrap;
  margin-top: var(--s4);
}
.auth-form-links button {
  background: none;
  border: none;
  padding: var(--s2) 0;
  color: var(--gold);
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ── Profile Setup Form ──────────────────────────────────── */
.profile-setup {
  min-height: 100vh;
  background: var(--page-bg);
  padding: var(--s5) var(--s4) calc(var(--nav-bottom-h) + var(--s5));
}
.profile-setup-inner {
  max-width: 560px;
  margin: 0 auto;
}
.photo-upload-wrap {
  display: flex;
  align-items: center;
  gap: var(--s4);
  margin-bottom: var(--s5);
}
.photo-preview {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--gold);
  background: var(--cream);
}
.photo-upload-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  padding: 0.5rem 1rem;
  background: var(--cream);
  border: 1.5px dashed var(--border-gold);
  border-radius: var(--r-sm);
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mid-text);
  cursor: pointer;
  transition: var(--tx);
}
.photo-upload-btn:hover { border-color: var(--gold); color: var(--gold); }
#photo-file-input { display: none; }

/* ── Pinned Event Indicator ─────────────────────────────── */
.pin-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-ui);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--s2);
}
.pin-badge::before { content: '📌'; font-size: 0.75rem; }

/* ── Utility ─────────────────────────────────────────────── */
.flex          { display: flex; }
.flex-col      { flex-direction: column; }
.items-center  { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-2         { gap: var(--s2); }
.gap-3         { gap: var(--s3); }
.gap-4         { gap: var(--s4); }
.mb-2          { margin-bottom: var(--s2); }
.mb-3          { margin-bottom: var(--s3); }
.mb-4          { margin-bottom: var(--s4); }
.mb-5          { margin-bottom: var(--s5); }
.mt-3          { margin-top: var(--s3); }
.mt-4          { margin-top: var(--s4); }
.mt-5          { margin-top: var(--s5); }
.hidden        { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.truncate      { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ── Responsive — Tablet ─────────────────────────────────── */
@media (min-width: 600px) {
  .member-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row    { grid-template-columns: 1fr 1fr; }
  .modal       { border-radius: var(--r-lg); }
  .modal-overlay { align-items: center; }
}

/* ── Responsive — Desktop ────────────────────────────────── */
@media (min-width: 900px) {
  body {
    padding-bottom: 0;
    padding-top: var(--nav-top-h);
  }
  #top-nav    { display: flex; }
  #bottom-nav { display: none; }
  .member-grid { grid-template-columns: repeat(3, 1fr); }
  .page { padding-top: var(--s6); }
  .hero { min-height: 340px; }
  .spotlight-card { grid-template-columns: 280px 1fr; }
  .spotlight-img-wrap { aspect-ratio: unset; }
  .stats-row { flex-wrap: wrap; overflow-x: visible; }
}

@media (min-width: 1100px) {
  .member-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ── Animations ─────────────────────────────────────────── */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate-in { animation: fadeIn 0.35s ease both; }

@keyframes slideUp {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.slide-up { animation: slideUp 0.3s ease both; }

/* ── Notification opt-in bar ─────────────────────────────── */
.notif-prompt-bar {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-wrap: wrap;
  background: rgba(201,168,76,.12);
  border: 1px solid rgba(201,168,76,.35);
  border-radius: var(--radius);
  padding: .75rem 1rem;
  font-size: .82rem;
  font-family: var(--font-ui);
  color: var(--cream);
}

.notif-prompt-bar span { flex: 1; min-width: 0; }

.btn-ghost-sm {
  background: none;
  border: none;
  color: var(--text-mid);
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  padding: .25rem;
  flex-shrink: 0;
}

/* ── Collapsible sections (Profile page) ────────────────── */
.collapsible-section {
  border: 1px solid rgba(201,168,76,.18);
  border-radius: var(--radius);
  overflow: hidden;
}

.collapsible-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--card-bg);
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background .15s;
}

.collapsible-toggle:hover {
  background: rgba(201,168,76,.06);
}

.collapsible-meta {
  display: flex;
  align-items: center;
  gap: .6rem;
  flex-shrink: 0;
}

.collapsible-chevron {
  width: 18px;
  height: 18px;
  stroke: var(--gold-light);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .25s ease;
  flex-shrink: 0;
}

.collapsible-toggle[aria-expanded="true"] .collapsible-chevron {
  transform: rotate(180deg);
}

.collapsible-body {
  padding: 0 1.25rem;
  border-top: 1px solid rgba(201,168,76,.12);
}

.collapsible-body[hidden] {
  display: none;
}

/* ── Category Suggestion Blocks (Profile page) ──────────── */
.cat-block-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cat-suggestion-block {
  background: var(--card-bg);
  border: 1px solid rgba(201,168,76,.18);
  border-radius: var(--radius);
  overflow: hidden;
}

.cat-suggestion-header {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .75rem 1rem;
  background: rgba(11,31,58,.6);
  border-bottom: 1px solid rgba(201,168,76,.12);
}

.cat-member-count {
  font-size: .72rem;
  font-family: var(--font-ui);
  color: var(--gold-light);
  letter-spacing: .06em;
  margin-left: auto;
}

.cat-seek-prompt {
  padding: .75rem 1rem;
  font-size: .82rem;
  color: var(--text-mid);
  font-family: var(--font-ui);
}

.cat-seek-prompt strong {
  color: var(--cream);
}

.cat-member-mini-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.member-card-mini {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .6rem 1rem;
  border-top: 1px solid rgba(201,168,76,.08);
  transition: background .15s;
}

.member-card-mini:hover {
  background: rgba(201,168,76,.06);
}

.member-card-mini-info {
  min-width: 0;
}

.member-card-mini-info .member-name {
  font-size: .85rem;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.member-card-mini-info .member-business {
  font-size: .75rem;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ── Print ───────────────────────────────────────────────── */
@media print {
  #bottom-nav, #top-nav { display: none; }
  body { padding: 0; }
}

/* ── Win Wall ────────────────────────────────────────────── */
.win-compose-box {
  background: rgba(11,31,58,.95);
  border: 1px solid rgba(201,168,76,.25);
  border-radius: var(--radius);
  padding: 1rem;
  margin-bottom: 1.25rem;
}

.win-compose-box textarea {
  width: 100%;
  background: transparent;
  border: none;
  resize: none;
  color: #f5f0e8;
  -webkit-text-fill-color: #f5f0e8;
  font-family: var(--font-ui);
  font-size: .95rem;
  line-height: 1.5;
  outline: none;
}

.win-compose-box textarea::placeholder {
  color: rgba(245,240,232,.45);
  -webkit-text-fill-color: rgba(245,240,232,.45);
}

.win-compose-footer {
  display: flex;
  justify-content: flex-end;
  margin-top: .75rem;
}

.win-card {
  background: rgba(11,31,58,.92);
  border: 1px solid rgba(201,168,76,.2);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.win-card.animate-in {
  animation: fadeSlideIn .3s ease both;
}

.win-card-header {
  display: flex;
  align-items: center;
  gap: .7rem;
}

.win-card-author {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.win-author-name {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: .88rem;
  color: var(--gold-light);
  text-decoration: none;
}

.win-author-name:hover { text-decoration: underline; }

.win-time {
  font-size: .72rem;
  color: var(--text-mid);
  font-family: var(--font-ui);
  margin-top: .1rem;
}

.win-trophy {
  font-size: 1.1rem;
  margin-left: auto;
  flex-shrink: 0;
}

.win-text {
  font-family: var(--font-serif);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--cream);
  margin: 0;
}

.win-reactions {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}

.reaction-btn {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .3rem .65rem;
  border: 1px solid rgba(245,240,232,.2);
  border-radius: 2rem;
  background: transparent;
  cursor: pointer;
  transition: background .15s, border-color .15s;
  font-family: var(--font-ui);
  font-size: .72rem;
  color: rgba(245,240,232,.7);
  white-space: nowrap;
}

.reaction-btn:hover {
  background: rgba(201,168,76,.1);
  border-color: rgba(201,168,76,.4);
  color: var(--cream);
}

.reaction-btn.reacted {
  background: rgba(201,168,76,.15);
  border-color: var(--gold);
  color: var(--gold-light);
}

.reaction-emoji { font-size: .9rem; }

.reaction-label { font-size: .68rem; }

.reaction-count {
  font-weight: 700;
  font-size: .7rem;
  color: var(--gold-light);
}

/* ── Profile Hero ────────────────────────────────────────── */
.profile-hero {
  background: linear-gradient(160deg, rgba(11,31,58,.95) 0%, rgba(11,31,58,.75) 100%);
  border-bottom: 1px solid rgba(201,168,76,.15);
  padding: 2rem 0 1.5rem;
}

.profile-hero-inner {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

@media (max-width: 520px) {
  .profile-hero-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

.profile-photo-wrap {
  flex-shrink: 0;
}

.profile-photo-large {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(201,168,76,.4);
}

.profile-photo-placeholder {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: rgba(201,168,76,.15);
  border: 2px solid rgba(201,168,76,.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--gold-light);
  flex-shrink: 0;
}

.profile-hero-text {
  flex: 1;
  min-width: 0;
}

.profile-first-name {
  font-family: var(--font-serif);
  font-size: 1.9rem;
  font-weight: 400;
  color: var(--cream);
  margin: .1rem 0 .4rem;
  line-height: 1.15;
}

.profile-drives-me {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--text-mid);
  margin: 0 0 .75rem;
  line-height: 1.45;
}

.profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-bottom: .5rem;
}

.profile-links {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: .4rem;
}

/* ── Tag Pills ───────────────────────────────────────────── */
.tag-pill {
  display: inline-flex;
  align-items: center;
  padding: .25rem .65rem;
  background: rgba(201,168,76,.12);
  border: 1px solid rgba(201,168,76,.3);
  border-radius: 2rem;
  font-family: var(--font-ui);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--gold-light);
  white-space: nowrap;
}

.tag-pill-editable {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .25rem .55rem .25rem .65rem;
  background: rgba(201,168,76,.12);
  border: 1px solid rgba(201,168,76,.3);
  border-radius: 2rem;
  font-family: var(--font-ui);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.tag-pill-remove {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-mid);
  font-size: .75rem;
  padding: 0;
  line-height: 1;
  display: flex;
  align-items: center;
}

.tag-pill-remove:hover { color: var(--cream); }

.tags-editor {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  align-items: center;
  padding: .5rem .65rem;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(201,168,76,.25);
  border-radius: var(--r-sm);
  min-height: 2.5rem;
  cursor: text;
}

.tags-editor-input {
  background: none;
  border: none;
  outline: none;
  color: var(--cream);
  font-family: var(--font-ui);
  font-size: .85rem;
  flex: 1;
  min-width: 100px;
}

/* ── Member Card Tag Pills (directory) ───────────────────── */
.member-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .3rem;
  margin-top: .4rem;
}

/* ── Cookie Table Event Card ─────────────────────────────── */
.event-card--cookie-table {
  border-color: var(--gold) !important;
  box-shadow: 0 0 0 1px rgba(201,168,76,.35), var(--shadow-card);
}

.cookie-table-badge {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .2rem .55rem;
  background: rgba(201,168,76,.18);
  border: 1px solid var(--gold);
  border-radius: 2rem;
  font-family: var(--font-ui);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--gold-light);
}

@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.win-delete-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-mid);
  font-size: .75rem;
  padding: .2rem .35rem;
  border-radius: 50%;
  line-height: 1;
  transition: color .15s, background .15s;
  flex-shrink: 0;
}
.win-delete-btn:hover {
  color: #e05555;
  background: rgba(224,85,85,.1);
}
