:root {
  --bg: #07070A;
  --bg2: #0C0C10;
  --panel: #111116;
  --panel2: #17171E;
  --panel3: #1E1E27;
  --line: rgba(255, 255, 255, .07);
  --line2: rgba(255, 255, 255, .12);
  --text: #F5F5F7;
  --muted: #9C9CA8;
  --dim: #6B6B78;
  --red: #E11D48;
  --red2: #FF3B5C;
  --red-deep: #7A0C25;
  --red-soft: rgba(var(--acc-rgb), .14);
  --acc-rgb: 225, 29, 72;
  --acc2-rgb: 255, 59, 92;
  --acc-text: #ff9aae;
  --gold: #F5C451;
  --silver: #C9CDD6;
  --bronze: #D08A55;
  --green: #22C55E;
  --amber: #F59E0B;
  --r: 16px;
  --r-sm: 11px;
  --shadow: 0 10px 30px -12px rgba(0, 0, 0, .7);
  --display: 'Barlow Condensed', 'Oswald', Impact, sans-serif;
  --body: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--body); font-size: 15px; line-height: 1.45; -webkit-font-smoothing: antialiased; }
body { min-height: 100vh; overflow-x: hidden; }
a { color: var(--red2); text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
input, select, textarea { font: inherit; color: var(--text); }
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0; }
img { max-width: 100%; display: block; }
.ic { flex: none; }

/* utilities */
.row { display: flex; align-items: center; }
.between { justify-content: space-between; }
.wrap { flex-wrap: wrap; }
.grow { flex: 1; min-width: 0; }
.gap4 { gap: 4px; } .gap6 { gap: 6px; } .gap8 { gap: 8px; } .gap12 { gap: 12px; } .gap16 { gap: 16px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.block { display: block; }
.center { text-align: center; }
.pre { white-space: pre-wrap; word-break: break-word; }
.stack { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.only-mobile { display: none !important; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 11px; font-weight: 600; font-size: 14px; white-space: nowrap; transition: transform .12s, background .15s, box-shadow .15s, border-color .15s; border: 1px solid transparent; }
.btn:active { transform: translateY(1px) scale(.99); }
.btn.primary { background: linear-gradient(180deg, var(--red2), var(--red)); color: #fff; box-shadow: 0 6px 20px -8px rgba(var(--acc-rgb), .8), inset 0 1px 0 rgba(255, 255, 255, .22); }
.btn.primary:hover { box-shadow: 0 8px 26px -8px rgba(var(--acc2-rgb), .95), inset 0 1px 0 rgba(255, 255, 255, .3); }
.btn.ghost { background: rgba(255, 255, 255, .04); border-color: var(--line2); }
.btn.ghost:hover { background: rgba(255, 255, 255, .08); }
.btn.danger { color: var(--acc-text); }
.btn.lg { height: 50px; padding: 0 24px; font-size: 15px; border-radius: 13px; }
.btn.block { width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn.busy { position: relative; color: transparent !important; }
.btn.busy::after { content: ''; position: absolute; width: 16px; height: 16px; border: 2px solid rgba(255, 255, 255, .35); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
.icon-btn { width: 38px; height: 38px; display: inline-grid; place-items: center; border-radius: 10px; color: var(--muted); transition: background .15s, color .15s; font-size: 22px; }
.icon-btn:hover { background: rgba(255, 255, 255, .07); color: var(--text); }
.icon-btn.sm { width: 30px; height: 30px; border-radius: 8px; }
.link { color: var(--red2); font-weight: 600; font-size: 13px; }
.link:hover { text-decoration: underline; }

/* ---------- shell ---------- */
#shell { display: grid; grid-template-columns: 264px 1fr; min-height: 100vh; }
#side { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; gap: 14px; padding: 20px 14px; background: linear-gradient(180deg, #0D0D12, #09090C); border-right: 1px solid var(--line); overflow-y: auto; z-index: 40; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand b { font-family: var(--display); font-size: 22px; letter-spacing: .06em; font-weight: 800; }
.brand small { display: block; color: var(--dim); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; margin-top: -3px; }
.brand.big b { font-size: 28px; }
#side .brand { padding: 0 6px 6px; }
.team-switch { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 13px; background: var(--panel2); border: 1px solid var(--line); text-align: left; transition: border-color .15s; }
.team-switch:hover { border-color: var(--line2); }
.team-switch b { display: block; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.team-switch small { color: var(--muted); font-size: 12px; }
.team-av { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: linear-gradient(135deg, #2A0A13, #4D0C1E); color: var(--acc-text); font-family: var(--display); font-weight: 700; font-size: 16px; flex: none; overflow: hidden; border: 1px solid rgba(var(--acc2-rgb), .25); }
.team-av img { width: 100%; height: 100%; object-fit: cover; }
#nav { display: flex; flex-direction: column; gap: 2px; margin-top: 4px; }
#nav a { position: relative; display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 11px; color: var(--muted); font-weight: 500; font-size: 14px; transition: background .15s, color .15s; }
#nav a:hover { background: rgba(255, 255, 255, .04); color: var(--text); }
#nav a.on { background: linear-gradient(90deg, rgba(var(--acc-rgb), .2), rgba(var(--acc-rgb), .04)); color: #fff; }
#nav a.on::before { content: ''; position: absolute; left: -14px; top: 8px; bottom: 8px; width: 3px; border-radius: 0 3px 3px 0; background: var(--red2); box-shadow: 0 0 14px var(--red2); }
#nav a.on .ic { color: var(--red2); }
.side-foot { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); }
.me { display: flex; align-items: center; gap: 10px; }
.me b { display: block; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.me small { display: block; font-size: 11px; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.av { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; flex: none; background: linear-gradient(135deg, var(--red2), var(--red-deep)); color: #fff; font-weight: 700; font-size: 12px; letter-spacing: .02em; overflow: hidden; }
.av img { width: 100%; height: 100%; object-fit: cover; }
.av.sm { width: 30px; height: 30px; font-size: 11px; }
.av.lg { width: 46px; height: 46px; font-size: 15px; }
.av.xl { width: 64px; height: 64px; font-size: 20px; font-family: var(--display); }

#content { min-width: 0; position: relative; overflow-x: clip; }
#content::before { content: ''; position: absolute; top: -240px; right: -120px; width: 640px; height: 520px; background: radial-gradient(closest-side, rgba(var(--acc-rgb), .16), transparent); pointer-events: none; z-index: 0; }
.topbar { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 10px; height: 56px; padding: 0 28px; background: rgba(7, 7, 10, .72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.role-pill { text-transform: uppercase; font-size: 11px; letter-spacing: .1em; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: var(--red-soft); color: var(--acc-text); border: 1px solid rgba(var(--acc2-rgb), .25); }
#main { position: relative; z-index: 1; padding: 26px 28px 60px; max-width: 1320px; }
#main.fade { animation: rise .35s ease both; }
#bottom, #scrim { display: none; }

.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.eyebrow { font-size: 12px; text-transform: uppercase; letter-spacing: .14em; color: var(--red2); font-weight: 700; }
.page-head h1 { font-family: var(--display); font-size: 44px; line-height: 1; text-transform: uppercase; letter-spacing: .01em; font-weight: 800; margin-top: 4px; }
.page-head .sub { color: var(--muted); margin-top: 6px; }
.page-body { display: flex; flex-direction: column; gap: 18px; }

/* cards */
.card { background: linear-gradient(180deg, var(--panel), #0E0E13); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; min-width: 0; box-shadow: var(--shadow); }
.card.pad { padding: 22px; }
.card.click { cursor: pointer; transition: border-color .15s, transform .15s; }
.card.click:hover { border-color: rgba(var(--acc2-rgb), .35); transform: translateY(-2px); }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.card-head h3 { font-family: var(--display); text-transform: uppercase; font-size: 21px; letter-spacing: .03em; font-weight: 700; }
.cols { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.cols.wide-left { grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr); }
h4.sec { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 700; margin: 8px 0 -4px; }
.card h4.sec, .m-body h4.sec { margin: 20px 0 10px; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.stats.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stat { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--panel2), var(--panel)); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; }
.stat small { display: block; padding-right: 40px; font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 600; }
.stat b { display: block; font-family: var(--display); font-size: 40px; font-weight: 800; line-height: 1.05; margin-top: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stat span { font-size: 12px; color: var(--dim); display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stat-ic { position: absolute; right: 14px; top: 14px; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(255, 255, 255, .04); color: var(--muted); }
.stat.hot { border-color: rgba(var(--acc2-rgb), .35); background: radial-gradient(120% 120% at 100% 0%, rgba(var(--acc-rgb), .28), transparent 60%), linear-gradient(180deg, var(--panel2), var(--panel)); }
.stat.hot .stat-ic { background: var(--red-soft); color: var(--red2); }

/* events */
.ev-list { display: flex; flex-direction: column; }
.ev-row { display: flex; gap: 14px; padding: 12px 6px; border-radius: 12px; cursor: pointer; transition: background .15s; align-items: center; }
.ev-row + .ev-row { border-top: 1px solid var(--line); }
.ev-row:hover { background: rgba(255, 255, 255, .03); }
.ev-row h4 { font-size: 15px; margin: 3px 0 2px; }
.ev-row .ic { vertical-align: -2px; }
.ev-date { width: 52px; height: 56px; flex: none; border-radius: 12px; background: var(--panel3); border: 1px solid var(--line2); display: flex; flex-direction: column; align-items: center; justify-content: center; }
.ev-date small { font-size: 10px; letter-spacing: .12em; color: var(--red2); font-weight: 700; }
.ev-date b { font-family: var(--display); font-size: 26px; line-height: 1; }
.kind { display: inline-block; font-size: 10.5px; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; padding: 3px 8px; border-radius: 6px; }
.k-practice { background: rgba(255, 255, 255, .07); color: #d8d8e0; }
.k-meet { background: var(--red-soft); color: var(--acc-text); }
.k-fund { background: rgba(245, 196, 81, .13); color: var(--gold); }
.k-team { background: rgba(34, 197, 94, .12); color: #6ee7a0; }
.k-other { background: rgba(255, 255, 255, .05); color: var(--muted); }

/* fundraiser */
.fund-num { display: flex; align-items: baseline; gap: 8px; margin-bottom: 10px; }
.fund-num b { font-family: var(--display); font-size: 38px; font-weight: 800; line-height: 1; }
.fund-num span { color: var(--muted); font-size: 13px; }
.fund-num.big b { font-size: 60px; }
.bar { height: 10px; border-radius: 99px; background: rgba(255, 255, 255, .06); overflow: hidden; margin-bottom: 10px; }
.bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--red-deep), var(--red), var(--red2)); box-shadow: 0 0 16px rgba(var(--acc2-rgb), .6); transition: width .8s cubic-bezier(.2, .8, .2, 1); }
.mini-board { display: flex; flex-direction: column; gap: 2px; margin: 8px 0; }
.mb-row { display: flex; align-items: center; gap: 10px; padding: 7px 4px; font-size: 14px; }
.mb-row + .mb-row { border-top: 1px solid var(--line); }
.rk { width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; background: rgba(255, 255, 255, .06); font-size: 12px; font-weight: 700; flex: none; }
.rk.r1 { background: var(--gold); color: #2a1d00; }
.rk.r2 { background: var(--silver); color: #1b1d22; }
.rk.r3 { background: var(--bronze); color: #2a1300; }
.fund-hero { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; padding: 26px; background: radial-gradient(90% 140% at 100% 0%, rgba(var(--acc-rgb), .22), transparent 55%), linear-gradient(180deg, var(--panel2), var(--panel)); }
.fund-hero h2 { font-family: var(--display); font-size: 36px; text-transform: uppercase; margin: 6px 0; }
.fund-hero > .grow { min-width: 260px; }
.fund-actions { display: flex; flex-direction: column; gap: 8px; }
.ring { --p: 0; width: 132px; height: 132px; border-radius: 50%; flex: none; display: grid; place-items: center; background: conic-gradient(var(--red2) calc(var(--p) * 1%), rgba(255, 255, 255, .06) 0); position: relative; }
.ring::before { content: ''; position: absolute; inset: 11px; border-radius: 50%; background: var(--panel); }
.ring b { position: relative; font-family: var(--display); font-size: 34px; font-weight: 800; }
.leader { display: flex; flex-direction: column; }
.ld-row { display: flex; align-items: center; gap: 12px; padding: 10px 4px; }
.ld-row + .ld-row { border-top: 1px solid var(--line); }
.ld-row b { font-family: var(--display); font-size: 20px; }
.ld-row.top b { color: #fff; }
.sales { display: flex; flex-direction: column; max-height: 520px; overflow: auto; }
.sale { display: flex; align-items: center; gap: 10px; padding: 10px 2px; }
.sale + .sale { border-top: 1px solid var(--line); }
.sale .amt { color: #6ee7a0; font-family: var(--display); font-size: 19px; }

/* posts */
.post-mini { padding: 10px 0; }
.post-mini + .post-mini { border-top: 1px solid var(--line); }
.post-mini p { font-size: 14px; margin-bottom: 4px; }
.post-mini small { color: var(--dim); font-size: 12px; }
.pin { display: inline-flex; align-items: center; gap: 4px; font-size: 10.5px; text-transform: uppercase; letter-spacing: .1em; color: var(--gold); font-weight: 700; }
.composer { display: flex; gap: 12px; align-items: flex-start; }
.composer textarea { flex: 1; min-height: 44px; resize: vertical; background: var(--bg2); border: 1px solid var(--line2); border-radius: 12px; padding: 11px 13px; outline: none; }
.composer textarea:focus { border-color: var(--red); box-shadow: 0 0 0 3px var(--red-soft); }
.posts { display: flex; flex-direction: column; gap: 10px; }
.post { display: flex; gap: 12px; padding: 16px; border-radius: var(--r); background: var(--panel); border: 1px solid var(--line); }
.post.pinned { border-color: rgba(245, 196, 81, .3); background: linear-gradient(180deg, rgba(245, 196, 81, .06), var(--panel)); }
.post p { margin-top: 6px; }

/* roster */
.toolbar { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.search { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px; border-radius: 11px; background: var(--panel); border: 1px solid var(--line2); color: var(--muted); min-width: 240px; }
.search input { background: none; border: 0; outline: none; flex: 1; min-width: 0; }
.search:focus-within { border-color: var(--red); }
.chips-scroll { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; max-width: 100%; padding: 2px; }
.chips-scroll::-webkit-scrollbar { display: none; }
.fchip { height: 34px; padding: 0 14px; border-radius: 99px; border: 1px solid var(--line2); color: var(--muted); font-size: 13px; font-weight: 600; white-space: nowrap; transition: all .15s; }
.fchip:hover { color: var(--text); }
.fchip.on { background: var(--red); border-color: var(--red); color: #fff; box-shadow: 0 4px 16px -6px var(--red); }
.ath-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 12px; }
.ath { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: var(--r); background: linear-gradient(180deg, var(--panel), #0E0E13); border: 1px solid var(--line); text-align: left; transition: border-color .15s, transform .15s; }
.ath:hover { border-color: rgba(var(--acc2-rgb), .35); transform: translateY(-2px); }
.ath b { display: block; font-size: 15px; margin-bottom: 4px; }
.chip { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 7px; background: var(--red-soft); color: var(--acc-text); }
.chip.dim { background: rgba(255, 255, 255, .06); color: var(--muted); }
.chip.me { background: var(--red); color: #fff; }
.chip .x { color: inherit; opacity: .7; font-size: 14px; line-height: 1; }
.status { font-size: 10.5px; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; padding: 4px 8px; border-radius: 6px; }
.s-active { background: rgba(34, 197, 94, .12); color: #6ee7a0; }
.s-injured { background: rgba(245, 158, 11, .14); color: #fbbf24; }
.s-inactive { background: rgba(255, 255, 255, .06); color: var(--dim); }
.pb-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.pb { padding: 12px; border-radius: 12px; background: var(--panel2); border: 1px solid var(--line); text-align: center; }
.pb small { font-size: 10.5px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.pb b { display: block; font-family: var(--display); font-size: 26px; }
.pb.hot { background: linear-gradient(180deg, rgba(var(--acc-rgb), .25), var(--panel2)); border-color: rgba(var(--acc2-rgb), .35); }
.kv { display: flex; flex-direction: column; gap: 3px; }

/* families */
.fam-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.fam h4 { font-size: 16px; }
.fam .kids { margin: 14px 0 10px; }
.contact { display: flex; flex-direction: column; gap: 2px; font-size: 13px; }
.bal { font-size: 12px; font-weight: 700; padding: 4px 9px; border-radius: 7px; background: rgba(34, 197, 94, .12); color: #6ee7a0; white-space: nowrap; }
.bal.due { background: var(--red-soft); color: var(--acc-text); }

/* tables */
.table-wrap { overflow-x: auto; margin: 0 -4px; }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600; padding: 10px 8px; border-bottom: 1px solid var(--line2); white-space: nowrap; }
.tbl td { padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl .num { text-align: right; font-variant-numeric: tabular-nums; }
.tbl td.pbv { color: var(--gold); font-weight: 700; }
.scoresheet input.sc { width: 74px; height: 36px; text-align: right; border-radius: 9px; background: var(--bg2); border: 1px solid var(--line2); padding: 0 9px; outline: none; font-variant-numeric: tabular-nums; font-weight: 600; }
.scoresheet input.sc:focus { border-color: var(--red); box-shadow: 0 0 0 3px var(--red-soft); }
.scoresheet input.sc.bad { border-color: var(--amber); }
.scoresheet .aa { font-family: var(--display); font-size: 19px; }
.sel { height: 40px; border-radius: 11px; background: var(--panel); border: 1px solid var(--line2); padding: 0 12px; max-width: 280px; outline: none; }
.sel.sm { height: 32px; border-radius: 8px; font-size: 13px; padding: 0 8px; max-width: 150px; }
.podium { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; align-items: end; margin: 4px 0 14px; }
.pod { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.pod b { font-size: 13px; }
.pod span { font-family: var(--display); font-size: 20px; font-weight: 700; }
.pod .step { width: 100%; border-radius: 10px 10px 4px 4px; display: grid; place-items: center; font-family: var(--display); font-size: 26px; font-weight: 800; color: rgba(0, 0, 0, .65); }
.pod.p1 .step { height: 80px; background: linear-gradient(180deg, #ffe08a, var(--gold)); }
.pod.p2 .step { height: 58px; background: linear-gradient(180deg, #eef0f4, var(--silver)); }
.pod.p3 .step { height: 44px; background: linear-gradient(180deg, #f0b083, var(--bronze)); }
.pod.p1 .av { box-shadow: 0 0 0 3px var(--gold); }
.ev-win { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ev-win > div { padding: 10px 12px; border-radius: 11px; background: var(--panel2); }
.ev-win small { display: block; font-size: 10.5px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.ev-win b { display: block; font-size: 14px; }
.ev-win span { font-family: var(--display); color: var(--gold); font-size: 17px; }

/* calendar */
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.cal-head h3 { font-family: var(--display); text-transform: uppercase; font-size: 24px; }
.cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.cal-dow { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); padding: 4px 6px; font-weight: 600; }
.cal-cell { min-height: 104px; border-radius: 10px; background: var(--panel2); border: 1px solid var(--line); padding: 6px; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.cal-cell.off { opacity: .35; }
.cal-cell.today { border-color: var(--red); box-shadow: inset 0 0 0 1px var(--red); }
.cal-cell.today .dn { background: var(--red); color: #fff; }
.dn { font-size: 12px; font-weight: 700; width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; }
.cal-ev { text-align: left; font-size: 11px; font-weight: 600; padding: 3px 6px; border-radius: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* jobs */
.job-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.job-grid.past { opacity: .55; }
.job { display: flex; flex-direction: column; gap: 12px; }
.job h4 { font-size: 16px; }
.job-ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--red-soft); color: var(--red2); flex: none; }
.slots .bar { margin: 6px 0 0; height: 7px; }
.ok { color: #6ee7a0; font-weight: 700; }
.hotx { color: var(--acc-text); font-weight: 700; }

/* billing */
.status-btn { display: inline-block; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; padding: 5px 10px; border-radius: 7px; }
.status-btn.paid { background: rgba(34, 197, 94, .12); color: #6ee7a0; }
.status-btn.open { background: rgba(255, 255, 255, .07); color: #d8d8e0; }
.status-btn.od { background: var(--red-soft); color: var(--acc-text); }
button.status-btn:hover { filter: brightness(1.25); }
.seg { display: inline-flex; padding: 4px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line2); gap: 2px; }
.seg button { height: 34px; padding: 0 16px; border-radius: 9px; font-size: 13px; font-weight: 600; color: var(--muted); }
.seg button.on { background: var(--panel3); color: #fff; box-shadow: inset 0 0 0 1px var(--line2); }
.seg.sm button { height: 30px; padding: 0 12px; }

/* tvs */
.howto { display: grid; grid-template-columns: auto 1fr auto 1fr auto 1fr; gap: 12px 14px; align-items: start; }
.step-n { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--red); color: #fff; font-family: var(--display); font-weight: 800; font-size: 17px; }
.tv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 14px; }
.tv { display: flex; flex-direction: column; gap: 12px; }
.tv-prev { position: relative; aspect-ratio: 16/9; border-radius: 12px; overflow: hidden; background: #000; border: 1px solid var(--line2); }
.tv-prev iframe { position: absolute; top: 0; left: 0; width: 400%; height: 400%; transform: scale(.25); transform-origin: 0 0; border: 0; pointer-events: none; }
.live { position: absolute; left: 8px; top: 8px; font-size: 10.5px; font-weight: 700; letter-spacing: .08em; padding: 4px 8px; border-radius: 6px; background: rgba(0, 0, 0, .7); color: var(--muted); }
.live.on { color: #6ee7a0; }
.tv-url { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 10px; background: var(--bg2); border: 1px dashed var(--line2); color: var(--muted); font-size: 12.5px; text-align: left; font-family: ui-monospace, Menlo, monospace; }
.tv-url span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tv-url:hover { border-color: var(--red); color: var(--text); }

/* settings */
.codes { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.code { padding: 16px; border-radius: 14px; text-align: left; background: linear-gradient(135deg, rgba(var(--acc-rgb), .22), rgba(var(--acc-rgb), .04)); border: 1px solid rgba(var(--acc2-rgb), .3); }
.code.fam { background: linear-gradient(135deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .01)); border-color: var(--line2); }
.code small { font-size: 10.5px; letter-spacing: .14em; color: var(--muted); font-weight: 700; }
.code b { display: block; font-family: var(--display); font-size: 36px; letter-spacing: .12em; }
.code span { display: flex; gap: 5px; align-items: center; font-size: 12px; color: var(--muted); }
.members { display: flex; flex-direction: column; }
.member { display: flex; align-items: center; gap: 10px; padding: 10px 2px; flex-wrap: wrap; }
.member + .member { border-top: 1px solid var(--line); }

/* empty / loading */
.empty { text-align: center; padding: 34px 16px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.empty-ic { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; background: var(--red-soft); color: var(--red2); margin-bottom: 4px; }
.empty h4 { font-size: 17px; }
.empty p { color: var(--muted); max-width: 360px; font-size: 14px; }
.empty .btn { margin-top: 8px; }
.loading { display: grid; place-items: center; min-height: 50vh; }
.spinner { width: 34px; height: 34px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, .08); border-top-color: var(--red2); animation: spin .8s linear infinite; }

/* forms / modal */
#modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; opacity: 0; transition: opacity .18s; }
#modal.in { opacity: 1; }
.modal-back { position: absolute; inset: 0; background: rgba(0, 0, 0, .65); backdrop-filter: blur(4px); }
.modal-card { position: relative; width: min(520px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; background: linear-gradient(180deg, #16161D, #101015); border: 1px solid var(--line2); border-radius: 20px; padding: 22px; box-shadow: 0 30px 80px -20px #000, 0 0 0 1px rgba(var(--acc2-rgb), .06); transform: translateY(10px) scale(.98); transition: transform .2s; }
.modal-card.wide { width: min(760px, 100%); }
#modal.in .modal-card { transform: none; }
.m-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.m-head h3 { font-family: var(--display); text-transform: uppercase; font-size: 26px; font-weight: 800; letter-spacing: .02em; }
.m-head p { color: var(--muted); font-size: 14px; margin-top: 2px; }
.m-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 20px; flex-wrap: wrap; }
.m-err { margin-top: 12px; padding: 10px 12px; border-radius: 10px; background: var(--red-soft); color: var(--acc-text); font-size: 14px; border: 1px solid rgba(var(--acc2-rgb), .3); }
.m-ok { margin-top: 12px; padding: 10px 12px; border-radius: 10px; background: rgba(34, 197, 94, .1); color: #86efac; font-size: 14px; border: 1px solid rgba(34, 197, 94, .25); }
.grid-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.grid-fields > * { grid-column: 1 / -1; }
.grid-fields > .half { grid-column: auto; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field > span { font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.field small { color: var(--dim); font-size: 12px; }
.field input, .field select, .field textarea { width: 100%; background: var(--bg2); border: 1px solid var(--line2); border-radius: 11px; padding: 11px 12px; outline: none; transition: border-color .15s, box-shadow .15s; min-height: 44px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--red); box-shadow: 0 0 0 3px var(--red-soft); }
.field textarea { resize: vertical; }
.check { display: flex; align-items: center; gap: 10px; font-size: 14px; padding: 4px 0; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--red); }
.mform { display: flex; flex-direction: column; gap: 12px; }
.mform > .m-body { margin: 0; }
.m-body.list { display: flex; flex-direction: column; gap: 6px; }
.list-row { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 12px; border: 1px solid var(--line); text-align: left; }
.list-row:hover { background: rgba(255, 255, 255, .04); }
.list-row.on { border-color: rgba(var(--acc2-rgb), .45); background: var(--red-soft); }
.list-row b { display: block; }
.list-row small { color: var(--muted); text-transform: capitalize; }
.auth .seg { width: 100%; margin-bottom: 16px; }
.auth .seg button { flex: 1; }
.auth .link { align-self: center; margin-top: 4px; }

/* toast */
#toasts { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 200; display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; }
.toast { display: flex; align-items: center; gap: 8px; padding: 11px 16px; border-radius: 12px; background: #1B1B23; border: 1px solid var(--line2); box-shadow: 0 16px 40px -10px #000; font-size: 14px; font-weight: 500; opacity: 0; transform: translateY(10px); transition: all .25s; }
.toast.in { opacity: 1; transform: none; }
.toast.ok .ic { color: #6ee7a0; }
.toast.err { border-color: rgba(var(--acc2-rgb), .4); }
.toast.err .ic { color: var(--red2); }

/* ---------- landing / onboarding ---------- */
.landing, .onboard { position: relative; min-height: 100vh; overflow: hidden; }
.glow { position: absolute; width: 900px; height: 700px; top: -300px; right: -250px; background: radial-gradient(closest-side, rgba(var(--acc-rgb), .35), transparent); pointer-events: none; }
.glow.two { top: auto; bottom: -400px; left: -300px; right: auto; background: radial-gradient(closest-side, rgba(122, 12, 37, .45), transparent); }
.land-nav { position: relative; display: flex; justify-content: space-between; align-items: center; padding: 22px clamp(16px, 5vw, 64px); }
.hero { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; padding: 50px clamp(16px, 5vw, 64px) 70px; max-width: 1320px; margin: 0 auto; }
.tag { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; color: var(--acc-text); padding: 7px 12px; border-radius: 99px; background: var(--red-soft); border: 1px solid rgba(var(--acc2-rgb), .3); }
.hero h1 { font-family: var(--display); font-size: clamp(52px, 7.5vw, 104px); line-height: .92; text-transform: uppercase; font-weight: 800; margin: 20px 0 18px; letter-spacing: -.005em; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--red2), var(--acc-text)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { color: var(--muted); font-size: 18px; max-width: 520px; margin-bottom: 28px; }
.mock { border-radius: 20px; background: linear-gradient(180deg, #15151C, #0D0D12); border: 1px solid var(--line2); box-shadow: 0 40px 100px -30px rgba(var(--acc-rgb), .45), 0 0 0 1px rgba(var(--acc2-rgb), .08); transform: perspective(1400px) rotateY(-9deg) rotateX(4deg); overflow: hidden; }
.mock-top { display: flex; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.mock-top span { width: 10px; height: 10px; border-radius: 50%; background: #2a2a33; }
.mock-top span:first-child { background: var(--red); }
.mock-body { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 16px; }
.mock-stat { padding: 12px; border-radius: 12px; background: var(--panel2); border: 1px solid var(--line); }
.mock-stat small { font-size: 10px; letter-spacing: .12em; color: var(--muted); font-weight: 700; }
.mock-stat b { display: block; font-family: var(--display); font-size: 32px; font-weight: 800; }
.mock-stat.red { background: linear-gradient(180deg, rgba(var(--acc-rgb), .35), var(--panel2)); border-color: rgba(var(--acc2-rgb), .4); }
.mock-board { grid-column: 1 / -1; padding: 14px; border-radius: 12px; background: var(--panel2); border: 1px solid var(--line); }
.mb-title { font-family: var(--display); font-size: 15px; letter-spacing: .08em; color: var(--red2); font-weight: 700; margin-bottom: 6px; }
.mock-board .mb-row b { font-family: var(--display); font-size: 18px; }
.mock-board .lv { font-size: 11px; color: var(--muted); font-weight: 700; }
.mock-board .mb-row:nth-child(2) .rk { background: var(--gold); color: #2a1d00; }
.mock-board .mb-row:nth-child(3) .rk { background: var(--silver); color: #1b1d22; }
.mock-board .mb-row:nth-child(4) .rk { background: var(--bronze); color: #2a1300; }
.feat-grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; padding: 0 clamp(16px, 5vw, 64px) 60px; max-width: 1320px; margin: 0 auto; }
.feat { padding: 22px; border-radius: var(--r); background: linear-gradient(180deg, var(--panel), #0D0D12); border: 1px solid var(--line); transition: border-color .2s, transform .2s; }
.feat:hover { border-color: rgba(var(--acc2-rgb), .35); transform: translateY(-3px); }
.feat .ic { color: var(--red2); }
.feat h3 { font-family: var(--display); text-transform: uppercase; font-size: 22px; margin: 12px 0 6px; letter-spacing: .02em; }
.feat p { color: var(--muted); font-size: 14px; }
.land-foot { text-align: center; color: var(--dim); font-size: 13px; padding: 24px 16px 40px; border-top: 1px solid var(--line); }
.onboard { display: grid; place-items: center; padding: 16px; }
.onboard-card { position: relative; width: min(620px, 100%); padding: 36px; border-radius: 24px; background: linear-gradient(180deg, #15151C, #0E0E13); border: 1px solid var(--line2); box-shadow: 0 40px 100px -30px rgba(var(--acc-rgb), .35); text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.onboard-card h1 { font-family: var(--display); text-transform: uppercase; font-size: 44px; margin-top: 12px; }
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; width: 100%; margin: 14px 0 6px; }
.choice { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 26px 16px; border-radius: 16px; background: var(--panel2); border: 1px solid var(--line2); transition: all .15s; }
.choice .ic { color: var(--red2); }
.choice b { font-family: var(--display); text-transform: uppercase; font-size: 22px; }
.choice small { color: var(--muted); font-size: 13px; }
.choice:hover { border-color: var(--red); background: linear-gradient(180deg, rgba(var(--acc-rgb), .15), var(--panel2)); transform: translateY(-2px); }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cols, .cols.wide-left { grid-template-columns: minmax(0, 1fr); }
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .howto { grid-template-columns: auto 1fr; }
}
@media (max-width: 860px) {
  .only-mobile { display: inline-flex !important; }
  #shell { grid-template-columns: 1fr; }
  #side { position: fixed; left: 0; top: 0; bottom: 0; width: 280px; transform: translateX(-100%); transition: transform .25s ease; box-shadow: 20px 0 60px #000; }
  #shell.open #side { transform: none; }
  #scrim { display: block; position: fixed; inset: 0; background: rgba(0, 0, 0, .55); z-index: 35; opacity: 0; pointer-events: none; transition: opacity .2s; }
  #shell.open #scrim { opacity: 1; pointer-events: auto; }
  .topbar { padding: 0 12px; }
  .topbar .brand b { font-size: 19px; }
  #main { padding: 18px 16px 100px; }
  .page-head h1 { font-size: 36px; }
  #bottom { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: rgba(10, 10, 14, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--line); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
  #bottom a { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 0; color: var(--dim); font-size: 10.5px; font-weight: 600; }
  #bottom a.on { color: #fff; }
  #bottom a.on .ic { color: var(--red2); filter: drop-shadow(0 0 8px rgba(var(--acc2-rgb), .7)); }
  .hero { grid-template-columns: 1fr; padding-top: 24px; gap: 30px; }
  .mock { transform: none; }
  .search { min-width: 0; flex: 1; }
  .pb-grid { grid-template-columns: repeat(3, 1fr); }
  .cal-cell { min-height: 64px; padding: 3px; }
  .cal-ev { font-size: 0; height: 6px; padding: 0; }
  .fund-hero .ring { display: none; }
  .fund-num.big b { font-size: 46px; }
  .composer { flex-wrap: wrap; }
  .composer .av { display: none; }
  .composer .btn { width: 100%; }
}
@media (max-width: 560px) {
  .stats, .stats.three { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
  .stats.three .stat:last-child { grid-column: 1 / -1; }
  .stat b { font-size: 30px; }
  .feat-grid { grid-template-columns: 1fr; }
  .choice-grid, .codes { grid-template-columns: 1fr; }
  .grid-fields { grid-template-columns: 1fr; }
  .grid-fields > .half { grid-column: 1 / -1; }
  .page-head { align-items: flex-start; }
  .page-head > .row { width: 100%; }
  .page-head .sel { flex: 1; max-width: none; }
  .onboard-card { padding: 26px 18px; }
  .land-nav .btn.ghost { display: none; }
  .tv-grid { grid-template-columns: 1fr; }
  .ath-grid, .fam-grid, .job-grid { grid-template-columns: 1fr; }
  .modal-card { padding: 18px; border-radius: 18px; }
}

.import-help { display: flex; flex-direction: column; gap: 6px; padding: 14px; border-radius: 12px; background: var(--panel2); border: 1px solid var(--line); margin-bottom: 14px; }
.import-help code { font-family: ui-monospace, Menlo, monospace; font-size: 13px; color: var(--acc-text); }
#impText { font-family: ui-monospace, Menlo, monospace; font-size: 13px; }

/* real logo */
.tf-logo, .tf-mark { display: block; filter: drop-shadow(0 4px 14px rgba(0,0,0,.5)); }
#side .side-logo { padding: 2px 4px 8px; justify-content: center; }
.onboard-card .brand.big { justify-content: center; }
.hero-logo { margin-bottom: 8px; }

/* branding settings */
.brand-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 6px; }
.logo-drop { display: flex; gap: 14px; align-items: center; padding: 14px; border-radius: 14px; background: var(--panel2); border: 1px solid var(--line); }
.logo-prev { width: 76px; height: 76px; border-radius: 16px; flex: none; display: grid; place-items: center; overflow: hidden; background: linear-gradient(135deg, var(--red-deep), var(--red)); font-family: var(--display); font-size: 28px; font-weight: 800; }
.logo-prev img { width: 100%; height: 100%; object-fit: contain; background: #fff1; }
.color-pick { padding: 14px; border-radius: 14px; background: var(--panel2); border: 1px solid var(--line); }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.sw { width: 30px; height: 30px; border-radius: 50%; background: var(--c); border: 2px solid transparent; box-shadow: inset 0 0 0 2px rgba(0,0,0,.25); cursor: pointer; position: relative; }
.sw.on { border-color: #fff; box-shadow: 0 0 0 3px var(--c); }
.sw.custom { background: conic-gradient(red, orange, yellow, lime, cyan, blue, magenta, red); overflow: hidden; }
.sw.custom input { opacity: 0; width: 100%; height: 100%; cursor: pointer; }
.sm-btn { height: 32px; padding: 0 12px; font-size: 13px; }
@media (max-width: 700px) { .brand-row { grid-template-columns: 1fr; } }

.prize-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.prize { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 12px; background: var(--panel2); border: 1px solid var(--line); }
.prize.click { cursor: pointer; } .prize.click:hover { border-color: rgba(var(--acc2-rgb), .4); }
.prize img { width: 40px; height: 40px; border-radius: 8px; object-fit: cover; }
.prize-ic { width: 40px; height: 40px; border-radius: 8px; display: grid; place-items: center; background: var(--red-soft); color: var(--red2); }
.prize b { font-size: 14px; }
.toggles { display: flex; flex-direction: column; gap: 4px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }

/* ---------- TV admin ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.step { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: var(--r); background: linear-gradient(180deg, var(--panel), #0E0E13); border: 1px solid var(--line); text-align: left; transition: border-color .15s, transform .15s; }
.step:hover { transform: translateY(-2px); border-color: var(--line2); }
.step.on { border-color: rgba(var(--acc2-rgb), .55); background: radial-gradient(120% 140% at 100% 0%, rgba(var(--acc-rgb), .25), transparent 60%), linear-gradient(180deg, var(--panel2), var(--panel)); }
.step b { display: block; font-family: var(--display); text-transform: uppercase; font-size: 20px; letter-spacing: .03em; }
.step small { display: block; color: var(--muted); font-size: 12.5px; }
.step-num { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--panel3); border: 1px solid var(--line2); font-family: var(--display); font-weight: 800; font-size: 19px; }
.step.on .step-num { background: var(--red); border-color: var(--red); color: #fff; }
.step-count { font-family: var(--display); font-size: 22px; color: var(--muted); }
.card.inner { box-shadow: none; background: var(--panel2); }
.pl-chips { display: flex; flex-wrap: wrap; gap: 5px; }
.mono { font-family: ui-monospace, Menlo, monospace; font-size: 12.5px; }
.tvs-list { display: flex; flex-direction: column; margin-top: 16px; }
.tv-row { display: flex; align-items: center; gap: 10px; padding: 10px 4px; flex-wrap: wrap; }
.tv-row + .tv-row { border-top: 1px solid var(--line); }
.dot { width: 10px; height: 10px; border-radius: 50%; background: #444; flex: none; }
.dot.on { background: var(--green); box-shadow: 0 0 10px var(--green); }
.art-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.art { margin: 0; border-radius: 12px; overflow: hidden; background: var(--panel2); border: 1px solid var(--line); }
.art-img { aspect-ratio: 16/10; background: #000; display: grid; place-items: center; }
.art-img img { width: 100%; height: 100%; object-fit: contain; }
.art figcaption { display: flex; align-items: center; gap: 4px; padding: 6px 6px 6px 10px; font-size: 13px; }
.art figcaption span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ad-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.ad-card { display: flex; flex-direction: column; gap: 8px; }
.ad-frame { position: relative; aspect-ratio: 16/9; border-radius: 12px; overflow: hidden; border: 1px solid var(--line2); container-type: inline-size; }
.ad { position: absolute; inset: 0; background: var(--bg); color: var(--fg); overflow: hidden; }
.ad-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ad-img.contain { object-fit: contain; }
.ad-shade { position: absolute; inset: 0; }
.ad-shade.on { background: linear-gradient(90deg, rgba(0,0,0,.75), rgba(0,0,0,.15) 70%); }
.ad-copy { position: absolute; inset: 0; padding: 7cqw 7cqw; display: flex; flex-direction: column; justify-content: center; gap: 1.6cqw; max-width: 100%; }
.ad-copy.left { align-items: flex-start; text-align: left; padding-right: 30cqw; }
.ad-copy.center { align-items: center; text-align: center; }
.ad-copy.right { align-items: flex-end; text-align: right; padding-left: 30cqw; }
.ad-kick { font-family: var(--display); font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--ac); font-size: 2.6cqw; }
.ad-head { font-family: var(--display); font-weight: 800; text-transform: uppercase; line-height: .92; font-size: 8.5cqw; }
.ad-sub { font-size: 2.8cqw; opacity: .88; line-height: 1.3; }
.ad-cta { margin-top: 1cqw; font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: .06em; font-size: 2.6cqw; padding: 1.2cqw 2.4cqw; border-radius: 1.2cqw; background: var(--ac); color: #fff; }
.clr { display: flex; flex-direction: column; gap: 4px; font-size: 11px; color: var(--muted); }
.clr input { width: 54px; height: 34px; border: 1px solid var(--line2); border-radius: 8px; background: none; padding: 2px; }
.pl-list { display: flex; flex-direction: column; gap: 6px; }
.pl-item { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 10px; background: var(--panel2); border: 1px solid var(--line); }
.pl-item img, .pl-ic { width: 64px; height: 36px; border-radius: 6px; object-fit: cover; flex: none; background: var(--panel3); display: grid; place-items: center; color: var(--red2); }
.pl-n { width: 20px; text-align: center; color: var(--muted); font-weight: 700; font-size: 12px; }
.pl-add { display: flex; flex-direction: column; gap: 12px; }
.pl-pick { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.pick { display: inline-flex; align-items: center; gap: 4px; height: 32px; padding: 0 12px; border-radius: 99px; border: 1px solid var(--line2); font-size: 13px; font-weight: 600; }
.pick:hover { border-color: var(--red); color: #fff; }
.pl-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 6px; margin-top: 6px; }
.thumb { position: relative; aspect-ratio: 16/10; border-radius: 8px; overflow: hidden; background: #000; border: 1px solid var(--line2); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb span { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0,0,0,.5); opacity: 0; transition: opacity .15s; color: #fff; }
.thumb:hover span { opacity: 1; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Salute meets ---------- */
.sal-hero { display: flex; align-items: center; gap: 28px; padding: 26px; background: radial-gradient(120% 140% at 0% 0%, rgba(140, 16, 32, .28), transparent 55%), linear-gradient(180deg, #0d1626, #0a0f1a); border-color: rgba(255, 255, 255, .09); }
.sal-logo { width: min(340px, 42%); height: auto; flex-shrink: 0; }
.sal-hero-copy { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.sal-hero-copy p { color: #c9cfdb; line-height: 1.55; font-size: 14.5px; }
.sal-meet { display: flex; flex-direction: column; gap: 16px; }
.sal-top { display: flex; align-items: flex-start; gap: 14px; }
.sal-top h3 { font-family: var(--display); text-transform: uppercase; font-size: 24px; letter-spacing: .02em; margin: 6px 0 4px; }
.sal-code { color: var(--muted); letter-spacing: .08em; }
.sal-screens { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
@media (max-width: 1100px) { .sal-screens { grid-template-columns: repeat(3, 1fr); } }
.sal-screen { color: var(--text); display: flex; flex-direction: column; gap: 3px; padding: 13px 14px; border-radius: var(--r-sm); background: var(--panel2); border: 1px solid var(--line); transition: border-color .15s, transform .15s, background .15s; }
.sal-screen:hover { border-color: rgba(194, 30, 50, .55); background: var(--panel3); transform: translateY(-1px); }
.sal-screen b { font-size: 14px; }
.sal-screen small { color: var(--dim); font-size: 11.5px; }
.sal-ic { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; background: rgba(140, 16, 32, .25); color: #ff8b98; margin-bottom: 6px; }
.sal-foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 12px; }
.sal-foot .link { display: inline-flex; align-items: center; gap: 5px; }
.sal-foot .link.muted { color: var(--dim); }
.sal-pins { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.sal-pins div { background: var(--panel2); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 12px 14px; display: flex; flex-direction: column; gap: 4px; }
.sal-pins small { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.sal-pins b { font-size: 22px; letter-spacing: .12em; }
.feat.sal { grid-column: 1 / -1; display: flex; align-items: center; gap: 24px; background: linear-gradient(180deg, #0d1626, #0a0f1a); }
.feat.sal img { width: 260px; max-width: 45%; height: auto; }
@media (max-width: 720px) {
  .sal-hero { flex-direction: column; align-items: flex-start; gap: 18px; padding: 20px; }
  .sal-logo { width: 100%; max-width: 320px; }
  .sal-top { flex-direction: column; }
  .sal-top .btn { width: 100%; }
  .sal-screens { grid-template-columns: 1fr 1fr; }
  .feat.sal { flex-direction: column; align-items: flex-start; }
  .feat.sal img { max-width: 100%; }
}

/* ===== Waypoint HQ: registration, website, payments, RSVPs, results ===== */
.notice { display: flex; gap: 10px; align-items: center; margin-bottom: 16px; color: var(--muted); }
.notice a { color: var(--acc-text); }
.prog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; margin-bottom: 16px; }
.prog { text-align: left; display: flex; flex-direction: column; gap: 6px; cursor: pointer; color: inherit; font: inherit; border: 1px solid var(--line); }
.prog:hover { border-color: var(--line2); }
.prog.on { border-color: var(--red); box-shadow: 0 0 0 1px var(--red) inset; }
.prog .hot { color: var(--acc-text); font-weight: 600; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; color: var(--muted); }
.ticks li { display: flex; gap: 8px; align-items: flex-start; }
.ticks a { color: var(--acc-text); }
.hr { border: 0; border-top: 1px solid var(--line); margin: 18px 0; }
.slug-row { align-items: center; flex-wrap: nowrap; }
.slug-row input { flex: 1; min-width: 0; }
.rsvp { border-top: 1px solid var(--line); margin-top: 14px; padding-top: 12px; display: grid; gap: 10px; }
.rsvp-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.rsvp-list p { margin: 0 0 6px; }
.final { font-size: 18px; }
.res { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; font-weight: 800; font-size: 12px; }
.res-W { background: rgba(34, 197, 94, .18); color: #4ade80; }
.res-L { background: rgba(239, 68, 68, .18); color: #f87171; }
.res-T { background: rgba(255, 255, 255, .08); color: var(--muted); }
tr.click { cursor: pointer; }
tr.click:hover td { background: rgba(255, 255, 255, .02); }
.icon-btn.on { color: var(--acc-text); }
.web-chk { flex-basis: 100%; margin-left: 52px; }
.mform label.check { display: flex; gap: 8px; align-items: flex-start; margin: 8px 0; }

/* ===== Waypoint HQ part 2: chat, brackets, notifications, autopay ===== */
.err { color: #f87171; }
.autopay { margin-bottom: 14px; }
.av.sm { width: 30px; height: 30px; font-size: 11px; flex: none; }
.chat { display: grid; grid-template-columns: 280px 1fr; gap: 0; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--panel); height: calc(100vh - 230px); min-height: 460px; }
.chat-list { border-right: 1px solid var(--line); overflow-y: auto; padding: 6px; }
.chat-ch { all: unset; box-sizing: border-box; width: 100%; display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 10px; cursor: pointer; }
.chat-ch:hover { background: rgba(255, 255, 255, .03); }
.chat-ch.on { background: rgba(var(--acc-rgb), .14); }
.chat-ch b { display: block; font-size: 14px; }
.chat-ch small { font-size: 12px; }
.chat-ch .grow { min-width: 0; }
.chat-ch .grow b, .chat-ch .grow small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chat-ch .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--red); flex: none; }
.chat-main { display: flex; flex-direction: column; min-width: 0; }
.chat-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.chat-msgs { flex: 1; overflow-y: auto; padding: 14px 16px; display: flex; flex-direction: column; gap: 2px; }
.msg { display: flex; gap: 10px; align-items: flex-start; margin-top: 10px; }
.msg.cont { margin-top: 0; padding-left: 40px; }
.msg .bubble { max-width: 75%; }
.msg .bubble small { color: var(--muted); font-size: 12px; }
.msg .bubble p { margin: 2px 0 0; background: var(--panel2); border: 1px solid var(--line); border-radius: 12px; padding: 8px 12px; display: inline-block; }
.msg.mine { flex-direction: row-reverse; }
.msg.mine.cont { padding-left: 0; padding-right: 40px; }
.msg.mine .bubble { text-align: right; }
.msg.mine .bubble p { background: rgba(var(--acc-rgb), .18); border-color: rgba(var(--acc-rgb), .35); text-align: left; }
.chat-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); align-items: flex-end; }
.chat-form textarea { flex: 1; resize: none; background: var(--bg2); border: 1px solid var(--line2); border-radius: 10px; color: var(--text); font: inherit; padding: 10px 12px; max-height: 160px; }
.ppl { display: grid; gap: 2px; max-height: 280px; overflow-y: auto; margin: 10px 0; }
.bell { position: relative; }
.bell .badge { position: absolute; top: 2px; right: 2px; min-width: 16px; height: 16px; border-radius: 8px; background: var(--red); color: #fff; font: 700 10px/16px var(--body); padding: 0 4px; font-style: normal; }
.notif-list { display: grid; gap: 6px; max-height: 60vh; overflow-y: auto; }
.notif { all: unset; box-sizing: border-box; display: grid; gap: 2px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); cursor: pointer; }
.notif:hover { border-color: var(--line2); }
.notif.new { border-color: rgba(var(--acc-rgb), .5); background: rgba(var(--acc-rgb), .08); }
.notif span { color: var(--muted); font-size: 14px; }
.comp-head h3 { font-family: var(--display); font-size: 26px; text-transform: uppercase; }
.games .gm { display: flex; justify-content: space-between; align-items: center; gap: 10px; max-width: 360px; padding: 2px 0; }
.games .gm span { font-weight: 600; }
.sc { width: 64px; background: var(--bg2); border: 1px solid var(--line2); border-radius: 8px; color: var(--text); padding: 5px 8px; font: 700 15px var(--body); text-align: center; }
.bracket { display: flex; gap: 18px; overflow-x: auto; padding: 4px 2px 14px; }
.b-round { display: flex; flex-direction: column; justify-content: space-around; gap: 14px; min-width: 200px; }
.b-game { border: 1px solid var(--line); border-radius: 10px; background: var(--panel); overflow: hidden; }
.b-game > div { display: flex; justify-content: space-between; gap: 10px; padding: 8px 12px; font-size: 14px; }
.b-game > div + div { border-top: 1px solid var(--line); }
.b-game .win { background: rgba(var(--acc-rgb), .14); font-weight: 700; }
@media (max-width: 760px) {
  .chat { grid-template-columns: 1fr; height: auto; }
  .chat-list { border-right: 0; border-bottom: 1px solid var(--line); max-height: 200px; }
  .chat-msgs { max-height: 55vh; min-height: 300px; }
}
