/* Campaign page (js/campaign.js; design-refs/campaign-merge, variant 3):
   the old profile Campaign tab merged in. «You» bar on top — your rank,
   what you brought, invite link — then one board at a time. */
.camp-you-bar{
  --you-bg:#effbe0; --you-ring:#b7e07a; --you-ink:#0a2540; --you-sub:#3f5a1e;
  display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:20px;
  margin:0 0 18px;padding:14px 18px;border-radius:20px;background:var(--you-bg);box-shadow:inset 0 0 0 2px var(--you-ring);color:var(--you-ink)}
html:is([data-theme="dark"],[data-scheme="dark"],[data-theme="voidtype"]) .camp-you-bar{
  --you-bg:rgba(124,174,18,.14); --you-ring:rgba(166,222,19,.45); --you-ink:#f2f4f7; --you-sub:#c7e98a}
.camp-you-rank span,.camp-you-nums span{display:block;font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--you-sub)}
.camp-you-rank b{display:block;font-size:34px;font-weight:700;line-height:1.05;letter-spacing:-.04em;font-variant-numeric:tabular-nums}
.camp-you-nums{display:flex;flex-wrap:wrap;gap:8px 28px}
.camp-you-nums b{display:block;font-size:22px;font-weight:700;letter-spacing:-.02em;font-variant-numeric:tabular-nums}
.camp-you-nums span{text-transform:none;letter-spacing:0;font-size:13px;font-weight:500}
.camp-you-acts{display:flex;gap:8px}
.camp-you-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:48px;padding:0 18px;border:0;border-radius:14px;
  font:700 16px/1 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;white-space:nowrap;cursor:pointer;transition:filter .15s ease,transform .1s ease}
.camp-you-btn:active{transform:scale(.97)}
.camp-you-btn:focus-visible{outline:2px solid #0077C2;outline-offset:2px}
.camp-you-btn--pri{background:#0077C2;color:#fff}
.camp-you-btn--tg{background:#e3f1fc;color:#005f9e}
html:is([data-theme="dark"],[data-scheme="dark"],[data-theme="voidtype"]) .camp-you-btn--tg{background:rgba(0,152,234,.16);color:#4DB8FF}
@media(hover:hover){.camp-you-btn:hover{filter:brightness(1.06)}}
.camp-you-bar--guest{grid-template-columns:minmax(0,1fr) auto}
.camp-you-guest{margin:0;font-size:16px;font-weight:600}
.camp-you-bar--skel{min-height:84px;box-shadow:none;background:var(--bg2)}

/* tabs + totals, then a single board */
.camp-board-bar{display:flex;align-items:center;justify-content:space-between;gap:10px 16px;flex-wrap:wrap;margin:0 0 12px}
.camp-board-bar .camp-mtabs{display:flex;margin:0}
.camp-board-bar .camp-mtab{padding:10px 18px;font-size:14px}
.camp-totals{margin:0;font-size:14px;color:var(--t2);font-variant-numeric:tabular-nums}
.camp-boards.camp-boards--one{grid-template-columns:1fr}
.camp-boards--one[data-mobile="infl"] .camp-board:nth-child(2),
.camp-boards--one[data-mobile="act"] .camp-board:nth-child(1){display:none}

@media(max-width:720px){
  .camp-you-bar{grid-template-columns:auto minmax(0,1fr);gap:14px 18px;padding:14px 16px}
  .camp-you-acts{grid-column:1/-1}
  .camp-you-acts .camp-you-btn{flex:1}
  .camp-you-rank b{font-size:30px}
  .camp-you-nums{gap:8px 18px}
  .camp-you-nums b{font-size:19px}
  .camp-you-bar--guest{grid-template-columns:1fr}
}
/* dark theme: the accent is near-white there, so the active tab needs dark text */
html:is([data-theme="dark"],[data-scheme="dark"],[data-theme="voidtype"]) .camp-mtab.active{color:#0a0a0a}
