/* LCAM Member Hub — public components. Themes can override the variables. */
:root {
	--lc-navy: #0b1b3f; --lc-ink: #0f172a; --lc-muted: #5b6478; --lc-line: #e3e7f0; --lc-soft: #f4f6fb;
	--lc-red: #ff4d3d; --lc-gold: #ffb703; --lc-green: #18b26b;
	--lc-grad: linear-gradient(135deg, #ff4d3d 0%, #ff7a2f 55%, #ffb703 100%);
	--lc-r: 18px; --lc-display: 'Bricolage Grotesque', Inter, system-ui, sans-serif;
}
.lc-btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 14px; border: 0; background: var(--lc-grad); color: #fff !important; font-weight: 800; text-decoration: none; cursor: pointer; box-shadow: 0 8px 20px rgba(255,77,61,.25); transition: transform .15s, box-shadow .15s; }
.lc-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(255,77,61,.35); }
.lc-btn--ghost { background: transparent; color: inherit !important; border: 2px solid currentColor; box-shadow: none; }
.lc-btn--small { padding: 8px 14px; font-size: 14px; }
.lc-btn--big { padding: 16px 26px; font-size: 18px; }
.lc-empty { color: var(--lc-muted); text-align: center; padding: 18px; border: 2px dashed var(--lc-line); border-radius: var(--lc-r); }

/* Avatars */
.lc-ava { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: none; display: inline-grid; place-items: center; background: #dde3ef; }
.lc-ava--ini { background: hsl(var(--h), 70%, 92%); color: hsl(var(--h), 55%, 30%); font-weight: 800; font-family: var(--lc-display); }
.lc-ava--sm { width: 36px; height: 36px; font-size: 13px; }
.lc-ava--xl { width: 128px; height: 128px; font-size: 40px; }
.lc-ava--hero { width: 220px; height: 220px; font-size: 72px; border: 6px solid #fff; box-shadow: 0 20px 50px rgba(0,0,0,.3); }

/* Stats */
.lc-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; }
@media (max-width: 420px) { .lc-stat { padding: 16px; } .lc-stat__num { font-size: 30px; } }
.lc-stat { padding: 22px; border-radius: var(--lc-r); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.lc-stats--light .lc-stat { background: #fff; border-color: var(--lc-line); }
.lc-stat__num { display: block; font: 800 clamp(34px, 4vw, 48px)/1 var(--lc-display); background: var(--lc-grad); -webkit-background-clip: text; background-clip: text; color: transparent; letter-spacing: -.03em; }
.lc-stat__label { display: block; margin-top: 8px; font-size: 14px; opacity: .8; }

/* Feed */
.lc-feed { list-style: none; margin: 0; padding: 0; }
.lc-feed__item { display: grid; grid-template-columns: 40px 1fr; gap: 2px 12px; padding: 12px 0; border-top: 1px solid var(--lc-line); animation: lc-in .5s both; }
.lc-feed__item:first-child { border-top: 0; }
.lc-feed__icon { grid-row: span 2; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--lc-soft); font-size: 20px; }
.lc-feed__text { font-weight: 600; }
.lc-feed__meta { font-size: 13px; color: var(--lc-muted); }
.lc-feed__meta b { color: var(--lc-green); }
@keyframes lc-in { from { opacity: 0; transform: translateY(6px); } }

/* Leaderboard */
.lc-board { list-style: none; margin: 0; padding: 0; }
.lc-board__row { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 14px; margin-bottom: 6px; background: #fff; border: 1px solid var(--lc-line); }
.lc-board__row.is-top { border-color: #ffe29a; background: linear-gradient(90deg, #fff8e6, #fff); }
.lc-board__rank { width: 34px; text-align: center; font-weight: 800; color: var(--lc-muted); font-size: 18px; }
.lc-board__name { flex: 1; min-width: 0; font-weight: 700; text-decoration: none; color: var(--lc-ink); }
.lc-board__name small { display: block; font-weight: 500; font-size: 13px; color: var(--lc-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lc-board__pts { font: 800 22px var(--lc-display); color: var(--lc-ink); }
.lc-board__pts small { font: 600 12px Inter, sans-serif; color: var(--lc-muted); margin-left: 3px; }

/* Goals */
.lc-goals { display: grid; gap: 16px; }
.lc-goal { padding: 18px; border-radius: var(--lc-r); background: #fff; border: 1px solid var(--lc-line); color: var(--lc-ink); }
.lc-goal__top { display: flex; justify-content: space-between; gap: 10px; align-items: center; margin-bottom: 12px; }
.lc-goal__pill { font-size: 12px; font-weight: 800; padding: 4px 10px; border-radius: 99px; white-space: nowrap; flex: none; }
.lc-goal__pill.is-on { background: #e1f7ec; color: #0b7a47; }
.lc-goal__pill.is-behind { background: #ffe9e6; color: #c2261a; }
.lc-goal__bar { position: relative; height: 14px; border-radius: 99px; background: #edf0f7; }
.lc-goal__bar span { display: block; height: 100%; border-radius: 99px; background: var(--lc-grad); }
.lc-goal__bar i { position: absolute; top: -4px; bottom: -4px; width: 3px; border-radius: 2px; background: var(--lc-navy); opacity: .45; }
.lc-goal__nums { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 12px; margin-top: 8px; font-size: 13px; color: var(--lc-muted); }

/* Members */
.lc-search { margin-bottom: 22px; }
.lc-search input { width: 100%; padding: 16px 20px; font-size: 17px; border-radius: 16px; border: 2px solid var(--lc-line); background: #fff; }
.lc-search input:focus { outline: none; border-color: var(--lc-red); }
.lc-members { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
.lc-member { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 26px 18px 18px; background: #fff; border: 1px solid var(--lc-line); border-radius: 22px; transition: transform .2s, box-shadow .2s; }
.lc-member:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(11,27,63,.12); }
.lc-member__photo { display: block; margin-bottom: 12px; }
.lc-member__role { position: absolute; top: 14px; right: 14px; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; background: var(--lc-navy); color: var(--lc-gold); padding: 4px 9px; border-radius: 99px; }
.lc-member__name { margin: 0; font: 800 20px/1.2 var(--lc-display); }
.lc-member__name a { color: var(--lc-ink); text-decoration: none; }
.lc-member__cat { margin: 6px 0 0; font-weight: 700; color: var(--lc-red); font-size: 14px; }
.lc-member__biz { margin: 2px 0 12px; color: var(--lc-muted); font-size: 14px; }
.lc-member__foot { margin-top: auto; display: flex; gap: 10px; justify-content: center; align-items: center; font-size: 13px; }
.lc-member__level { background: var(--lc-soft); padding: 4px 10px; border-radius: 99px; font-weight: 600; }
.lc-member__web { font-weight: 700; color: var(--lc-navy); }

/* Events */
.lc-events { display: grid; gap: 14px; }
.lc-event { display: flex; gap: 18px; padding: 18px; background: #fff; border: 1px solid var(--lc-line); border-radius: var(--lc-r); color: var(--lc-ink); }
.lc-event__date { flex: none; width: 72px; height: 80px; border-radius: 16px; background: var(--lc-navy); color: #fff; display: grid; place-content: center; text-align: center; }
.lc-event__date span { color: var(--lc-gold); text-transform: uppercase; font-weight: 800; font-size: 13px; }
.lc-event__date b { font: 800 32px/1 var(--lc-display); }
.lc-event__type { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--lc-red); }
.lc-event h3 { margin: 4px 0; font: 800 21px/1.2 var(--lc-display); }
.lc-event p { margin: 4px 0 8px; }
.lc-event__meta { color: var(--lc-muted); font-size: 14px; }

/* Seats, meeting, speaker */
.lc-seats { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.lc-seats li { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 99px; background: #fff; color: var(--lc-ink); border: 2px solid var(--lc-line); font-weight: 700; }
.lc-seats__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--lc-green); box-shadow: 0 0 0 0 rgba(24,178,107,.6); animation: lc-ping 1.8s infinite; }
@keyframes lc-ping { 70% { box-shadow: 0 0 0 10px rgba(24,178,107,0); } 100% { box-shadow: 0 0 0 0 rgba(24,178,107,0); } }
.lc-meeting { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 18px; align-items: center; }
.lc-meeting > div { display: grid; }
.lc-meeting__k { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; opacity: .7; }
.lc-meeting b { font: 800 20px/1.25 var(--lc-display); }
.lc-meeting small { opacity: .8; }
.lc-speaker { display: grid; padding: 16px 20px; border-radius: var(--lc-r); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); }
.lc-speaker__k { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--lc-gold); }
.lc-speaker b { font: 800 22px var(--lc-display); }

/* Quotes */
.lc-quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.lc-quotes--stack { grid-template-columns: 1fr; }
.lc-quote { margin: 0; padding: 22px; background: #fff; border: 1px solid var(--lc-line); border-radius: var(--lc-r); color: var(--lc-ink); }
.lc-quote blockquote { margin: 0 0 14px; font-size: 17px; line-height: 1.5; }
.lc-quote figcaption { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--lc-muted); }
.lc-quote figcaption a { color: var(--lc-red); font-weight: 700; }

/* Points / badges / levels */
.lc-points { display: grid; gap: 10px; }
.lc-points__row { display: flex; align-items: center; gap: 16px; padding: 14px 18px; border-radius: 16px; background: #fff; border: 1px solid var(--lc-line); color: var(--lc-ink); }
.lc-points__icon { font-size: 28px; }
.lc-points__row div { flex: 1; } .lc-points__row b { display: block; } .lc-points__row small { color: var(--lc-muted); }
.lc-points__val { font: 800 18px var(--lc-display); color: var(--lc-green); white-space: nowrap; }
.lc-badges { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.lc-badge { display: grid; justify-items: center; text-align: center; gap: 4px; padding: 18px 12px; border-radius: 18px; background: linear-gradient(160deg, #fff, #fff6e0); border: 1px solid #ffe29a; color: var(--lc-ink); }
.lc-badge__icon { font-size: 36px; line-height: 1; }
.lc-badge small { color: var(--lc-muted); font-size: 13px; }
.lc-badges--mini { grid-template-columns: repeat(3, 1fr); }
.lc-badges--mini .lc-badge { padding: 10px 6px; }
.lc-badges--mini .lc-badge b { font-size: 12px; }
.lc-levels { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; counter-reset: lv; }
.lc-levels li { display: grid; justify-items: center; padding: 16px 8px; border-radius: 16px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); text-align: center; }
.lc-levels span { font-size: 32px; }
.lc-levels small { opacity: .75; }

/* Forms */
.lc-form { display: grid; gap: 18px; }
.lc-form__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.lc-form__full { grid-column: 1 / -1; }
.lc-form label { display: grid; gap: 6px; font-weight: 700; font-size: 14px; }
.lc-form input, .lc-form select, .lc-form textarea { width: 100%; padding: 14px 16px; border-radius: 14px; border: 2px solid var(--lc-line); background: #fff; font: 16px Inter, system-ui, sans-serif; color: var(--lc-ink); }
.lc-form input:focus, .lc-form select:focus, .lc-form textarea:focus { outline: none; border-color: var(--lc-red); box-shadow: 0 0 0 4px rgba(255,77,61,.12); }
.lc-form__note { margin: 0; padding: 12px 14px; border-radius: 12px; background: #fff4d6; color: #7a5300; font-size: 14px; }
.lc-form__status { margin: 0; font-weight: 600; }
.lc-form__status.is-err { color: #c2261a; }
.lc-form__done { text-align: center; padding: 30px 10px; }
.lc-form__done span { font-size: 64px; }
.lc-form__done h3 { font: 800 30px var(--lc-display); margin: 8px 0; }
.lc-hp { position: absolute !important; left: -9999px !important; height: 1px; overflow: hidden; }
@media (max-width: 640px) { .lc-form__grid { grid-template-columns: 1fr; } .lc-event { gap: 12px; } .lc-ava--hero { width: 160px; height: 160px; } }

/* Member profile page (plugin template) */
.lc-wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.lc-profile__hero { background: radial-gradient(800px 400px at 90% 0%, rgba(255,183,3,.25), transparent), var(--lc-navy); color: #fff; padding: 70px 0 60px; }
.lc-profile__grid { display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: center; }
.lc-profile__role { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--lc-gold); margin-bottom: 8px; }
.lc-profile h1 { font: 800 clamp(36px, 5vw, 64px)/1 var(--lc-display); margin: 0 0 10px; letter-spacing: -.03em; color: #fff; }
.lc-profile__biz { font-size: 20px; opacity: .85; margin: 0 0 16px; }
.lc-profile__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.lc-chip { padding: 6px 12px; border-radius: 99px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); font-weight: 700; font-size: 14px; }
.lc-chip--gold { background: var(--lc-gold); color: var(--lc-navy); border-color: var(--lc-gold); }
.lc-profile__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.lc-profile__body { display: grid; grid-template-columns: 1fr 340px; gap: 40px; padding: 60px 0 80px; }
.lc-profile__main h2 { font: 800 28px var(--lc-display); margin: 0 0 14px; }
.lc-profile__main h2:not(:first-child) { margin-top: 40px; }
.lc-callout { padding: 22px 24px; border-radius: var(--lc-r); background: var(--lc-navy); color: #fff; margin: 24px 0; }
.lc-callout span { color: var(--lc-gold); font-weight: 800; }
.lc-callout p { font-size: 20px; margin: 6px 0 0; }
.lc-card { padding: 22px; border-radius: var(--lc-r); background: #fff; border: 1px solid var(--lc-line); margin-bottom: 18px; }
.lc-card h3 { margin: 0 0 12px; font: 800 20px var(--lc-display); }
.lc-card--cta { background: var(--lc-grad); color: #fff; border: 0; }
.lc-card--cta .lc-btn { background: #fff; color: var(--lc-navy) !important; }
.lc-kv { list-style: none; margin: 0; padding: 0; }
.lc-kv li { display: flex; justify-content: space-between; padding: 8px 0; border-top: 1px solid var(--lc-line); }
.lc-kv li:first-child { border-top: 0; }
.lc-kv b { font: 800 18px var(--lc-display); }
@media (max-width: 860px) { .lc-profile__grid, .lc-profile__body { grid-template-columns: 1fr; } .lc-profile__grid { text-align: center; justify-items: center; } .lc-profile__chips, .lc-profile__actions { justify-content: center; } }
