/* SJTFA membership pages: join / login / account / athlete profile / spotlight */
:root {
  --pf-gold: #8a6a1c; --pf-gold-line: #d9c48a; --pf-tan: #fbf3df; --pf-blue-tint: #e9f0fb;
  --pf-navy: #0b1530; --pf-card: #fff; --pf-bg: #f4f6fa;
  --font-cond: 'Barlow Condensed', 'Bebas Neue', Impact, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}
.m-hidden, [hidden] { display: none !important; }
body[data-view] { background: var(--pf-bg); }
body[data-view="spotlight-article"], body[data-view="spotlight-index"] { background: #fff; }

/* ───────── generic page hero + forms ───────── */
.m-hero { background: linear-gradient(135deg, #0052CC 0%, #003D99 100%); color: #fff; padding: 56px 0 44px; }
.m-hero h1 { color: #fff; margin: 6px 0 10px; }
.m-hero .eyebrow { color: #b3d1ff; }
.m-hero p { color: #cce0ff; max-width: 62ch; font-size: 1.05rem; margin: 0; }
.m-wrap { max-width: 760px; margin: -28px auto 64px; padding: 0 16px; position: relative; }
.m-wrap.narrow { max-width: 460px; }
.m-card { background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 28px; box-shadow: 0 12px 34px rgba(10, 15, 30, .08); }
.m-card h2 { margin: 0 0 6px; }
.m-card .sub { color: var(--gray-500); margin: 0 0 20px; font-size: .95rem; }
.m-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.m-grid .full { grid-column: 1 / -1; }
@media (max-width: 620px) { .m-grid { grid-template-columns: 1fr; } .m-card { padding: 20px; } }
.m-card label.lbl { display: block; font-weight: 600; font-size: .88rem; margin-bottom: 6px; color: var(--charcoal); }
.m-card input[type=text], .m-card input[type=email], .m-card input[type=password], .m-card input[type=number], .m-card select, .m-card textarea {
  width: 100%; min-height: 46px; padding: 10px 14px; border: 1px solid var(--gray-300); border-radius: var(--radius); font: inherit; background: #fff; color: var(--charcoal);
}
.m-card input:focus, .m-card select:focus, .m-card textarea:focus { outline: none; border-color: var(--crimson); box-shadow: 0 0 0 3px rgba(0, 82, 204, .15); }
.m-err { background: #FEF2F2; border: 1px solid #FECACA; color: #991B1B; border-radius: var(--radius); padding: 10px 14px; margin: 0 0 16px; font-size: .92rem; }
.m-ok { background: #ECFDF5; border: 1px solid #A7F3D0; color: #065F46; border-radius: var(--radius); padding: 10px 14px; margin: 0 0 16px; font-size: .92rem; }
.m-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.m-links { margin-top: 16px; font-size: .92rem; color: var(--gray-500); display: flex; gap: 14px; flex-wrap: wrap; }
.m-submit { width: 100%; margin-top: 6px; }

/* role switch */
.role-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 22px; }
.role-switch button { border: 2px solid var(--gray-200); background: #fff; border-radius: var(--radius-lg); padding: 14px 12px; text-align: left; cursor: pointer; font: inherit; transition: all .15s; }
.role-switch button b { display: block; font-size: 1.05rem; }
.role-switch button span { font-size: .82rem; color: var(--gray-500); }
.role-switch button.on { border-color: var(--crimson); background: #f2f7ff; box-shadow: 0 0 0 3px rgba(0, 82, 204, .12); }

/* age group live badge */
.age-live { display: flex; align-items: center; gap: 10px; background: #f2f7ff; border: 1px dashed #9cc0f5; border-radius: var(--radius); padding: 10px 14px; margin-top: 8px; font-size: .92rem; min-height: 46px; }
.age-live b { color: var(--crimson-700); font-size: 1.05rem; }
.age-live.empty { color: var(--gray-500); background: var(--gray-100, #f5f6f8); border-color: var(--gray-300); }

/* photo picker */
.photo-pick { display: flex; gap: 16px; align-items: center; }
.photo-pick .prev { width: 96px; height: 96px; border-radius: 50%; background: var(--gray-100, #f1f3f6) center/cover no-repeat; border: 2px dashed var(--gray-300); flex: none; display: grid; place-items: center; color: var(--gray-500); font-size: 1.6rem; overflow: hidden; }
.photo-pick .prev.has { border-style: solid; border-color: var(--crimson); }
.photo-pick .meta { font-size: .85rem; color: var(--gray-500); }
.check-row { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--gray-700, #374151); margin: 6px 0 16px; line-height: 1.45; }
.check-row input { margin-top: 3px; width: 18px; height: 18px; flex: none; }

.m-perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 20px; }
.m-perks div { background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 16px; font-size: .9rem; color: var(--gray-600, #4b5563); }
.m-perks b { display: block; color: var(--charcoal); margin-bottom: 4px; }
@media (max-width: 620px) { .m-perks { grid-template-columns: 1fr; } }

/* ───────── account dashboard ───────── */
.acct { max-width: 980px; margin: 0 auto 64px; padding: 28px 16px; }
.acct-head { display: flex; justify-content: space-between; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 18px; }
.acct-head h1 { margin: 0; font-size: 2rem; }
.acct-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.acct-card { background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 18px; display: flex; gap: 14px; align-items: center; box-shadow: 0 4px 14px rgba(10, 15, 30, .05); }
.acct-card .av { width: 64px; height: 64px; border-radius: 50%; background: var(--gray-100, #eef0f4) center/cover; flex: none; }
.acct-card .nm { font-weight: 700; font-size: 1.05rem; }
.acct-card .mt { font-size: .84rem; color: var(--gray-500); }
.acct-card .go { margin-top: 8px; display: flex; gap: 8px; flex-wrap: wrap; }
.acct h2 { margin: 30px 0 12px; font-size: 1.3rem; }
.ver-badge { display: inline-block; font-size: .72rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: #ECFDF5; color: #047857; margin-left: 6px; }
.ver-badge.pend { background: #FEF3C7; color: #92400E; }

/* ───────── athlete profile (mirrors the TOE reference) ───────── */
.pf-wrap { max-width: 1160px; margin: 0 auto; padding: 28px 16px 56px; }
.pf-card { display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr); background: var(--pf-card); border: 1px solid #e3e7ef; border-radius: 22px; overflow: hidden; box-shadow: 0 10px 40px rgba(11, 21, 48, .09); }
.pf-left { padding: 20px 24px 22px; min-width: 0; }
.pf-eyebrow { font-family: var(--font-mono); font-size: .68rem; font-weight: 600; letter-spacing: .14em; color: var(--pf-gold); text-transform: uppercase; }
.pf-name { font-family: var(--font-cond); font-weight: 800; font-size: clamp(2.1rem, 4.6vw, 2.9rem); line-height: .98; letter-spacing: .01em; text-transform: uppercase; color: var(--pf-navy); margin: 3px 0 4px; word-break: break-word; }
.pf-tag { font-family: var(--font-mono); font-size: .76rem; font-weight: 600; color: var(--pf-gold); letter-spacing: .02em; }
.pf-pills { display: flex; gap: 8px; flex-wrap: wrap; margin: 10px 0 10px; }
.pf-pills span { font-family: var(--font-mono); font-size: .62rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #3d4a66; background: #eef1f7; border: 1px solid #d9dfeb; border-radius: 999px; padding: 6px 12px; }
.pf-agebox { display: inline-flex; gap: 10px; align-items: center; background: #f6f8fc; border: 1px solid #e0e5ef; border-radius: 12px; padding: 9px 22px 9px 12px; margin-bottom: 12px; min-width: 168px; }
.pf-agebox svg { width: 18px; height: 18px; color: #51607f; }
.pf-agebox small { display: block; font-family: var(--font-mono); font-size: .56rem; letter-spacing: .12em; color: #6b7794; text-transform: uppercase; }
.pf-agebox b { font-family: var(--font-cond); font-weight: 800; font-size: 1.2rem; color: var(--pf-navy); letter-spacing: .02em; }
.pf-sec { display: flex; align-items: center; justify-content: space-between; gap: 10px; border-bottom: 1.5px solid var(--pf-gold-line); padding-bottom: 6px; margin: 8px 0 10px; }
.pf-sec h2 { margin: 0; font-family: var(--font-mono); font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--pf-navy); display: flex; align-items: center; gap: 8px; }
.pf-sec h2 i { color: #e0384b; font-style: normal; font-size: .8rem; }
.pf-sec h2 svg { width: 13px; height: 13px; color: #e0384b; }
.pf-chip-btn { font-family: var(--font-mono); font-size: .62rem; font-weight: 600; background: #fff; border: 1px solid #cfd6e4; border-radius: 8px; padding: 6px 12px; color: var(--pf-navy); cursor: pointer; box-shadow: 0 1px 2px rgba(11, 21, 48, .06); }
.pf-chip-btn:hover { background: #f3f6fb; }
.pf-prs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 14px; }
.pf-pr { padding: 2px 12px 6px; border-left: 1px solid #e3e7ef; min-width: 0; }
.pf-pr:first-child { border-left: 0; padding-left: 0; }
.pf-pr .ev { font-family: var(--font-mono); font-size: .6rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #3d4a66; display: flex; justify-content: space-between; gap: 6px; align-items: center; }
.pf-pr .ev svg { width: 12px; height: 12px; color: #e0384b; flex: none; }
.pf-pr .mk { font-family: var(--font-cond); font-weight: 800; font-size: 1.55rem; color: var(--pf-navy); line-height: 1.15; margin: 6px 0 2px; }
.pf-pr .wh { font-size: .6rem; color: #6b7794; line-height: 1.35; margin-bottom: 5px; }
.pf-pr.more { display: none; }
.pf-prs.all .pf-pr.more { display: block; }
.pf-prs.all { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 8px; }
.pf-prs.all .pf-pr:nth-child(3n+1) { border-left: 0; padding-left: 0; }
.pf-src { display: inline-block; font-family: var(--font-mono); font-size: .52rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #3c5ca0; background: #eaf0fc; border: 1px solid #c9d6f0; border-radius: 999px; padding: 2px 7px; }
.pf-empty { color: #6b7794; font-size: .88rem; padding: 12px 0 16px; line-height: 1.5; }
.pf-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.pf-filters select { width: auto; flex: 0 0 auto; max-width: 100%; font-size: .72rem; padding: 7px 28px 7px 10px; border: 1px solid #cfd6e4; border-radius: 9px; background: #fff; color: #1f2a44; font-family: inherit; min-height: 34px; }
.pf-table-wrap { overflow-x: auto; }
.pf-table { width: 100%; border-collapse: collapse; font-size: .74rem; min-width: 440px; }
.pf-table th { text-align: left; font-family: var(--font-mono); font-size: .56rem; font-weight: 600; letter-spacing: .12em; color: #6b7794; text-transform: uppercase; padding: 8px 8px 6px; border-bottom: 1px solid #e3e7ef; }
.pf-table td { padding: 9px 8px; border-bottom: 1px solid #edf0f6; color: #1f2a44; vertical-align: middle; }
.pf-table tr.pr-a td { background: var(--pf-tan); }
.pf-table tr.pr-b td { background: var(--pf-blue-tint); }
.pf-table .pill { font-family: var(--font-mono); font-size: .5rem; font-weight: 700; letter-spacing: .08em; border: 1px solid #b99b4a; color: #8a6a1c; background: #fff8e1; border-radius: 999px; padding: 1px 6px; margin-left: 5px; vertical-align: 1px; }
.pf-table .mk { font-weight: 600; white-space: nowrap; }
.pf-table td.nv { color: #8892aa; }
.pf-table .bad { color: #9b2c2c; }
.pf-more { display: flex; justify-content: center; margin: 14px 0 12px; }
.pf-more button { font-weight: 600; font-size: .85rem; background: #fff; border: 1px solid #cfd6e4; border-radius: 10px; padding: 12px 26px; cursor: pointer; box-shadow: 0 2px 6px rgba(11, 21, 48, .08); color: var(--pf-navy); }
.pf-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pf-btn { display: flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--font-mono); font-size: .64rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; padding: 14px 10px; border-radius: 10px; text-decoration: none; cursor: pointer; border: 1px solid #cfd6e4; background: #fff; color: var(--pf-navy); }
.pf-btn:hover { text-decoration: none; background: #f6f8fc; }
.pf-btn.red { background: linear-gradient(180deg, #ee4559, #d8263c); border-color: #c61f35; color: #fff; box-shadow: 0 6px 14px rgba(216, 38, 60, .28); }
.pf-btn.red:hover { background: linear-gradient(180deg, #f1566a, #dd2c42); }
.pf-btn svg { width: 14px; height: 14px; }
.pf-share { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; background: linear-gradient(180deg, #ee4559, #d8263c); color: #fff; border: 0; border-radius: 999px; padding: 9px 16px; font-family: var(--font-mono); font-size: .62rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; box-shadow: 0 4px 10px rgba(216, 38, 60, .28); }
.pf-share svg { width: 13px; height: 13px; }
.pf-share[disabled] { opacity: .6; cursor: wait; }
.pf-note { font-size: .6rem; color: #6b7794; margin: 6px 0 0; line-height: 1.4; }
.pf-right { position: relative; min-height: 460px; background: linear-gradient(160deg, #1c3a78, #0b1530); }
.pf-right img.hero { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.pf-right .ph-empty { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; color: #c8d4f0; padding: 24px; }
.pf-right .ph-empty img { width: 120px; opacity: .9; margin-bottom: 10px; }
.pf-upload { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px; background: rgba(20, 24, 34, .72); color: #fff; border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(6px); padding: 9px 18px; border-radius: 999px; font-size: .78rem; font-weight: 600; cursor: pointer; }
.pf-upload svg { width: 14px; height: 14px; }
.pf-below { max-width: 1160px; margin: 18px auto 0; }
.pf-spot { background: linear-gradient(135deg, #0b1530, #14306b); color: #fff; border-radius: 18px; padding: 20px 24px; display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.pf-spot h3 { margin: 0 0 2px; color: #fff; font-family: var(--font-cond); font-size: 1.5rem; letter-spacing: .02em; }
.pf-spot p { margin: 0; color: #c8d4f0; font-size: .9rem; }
.pf-state { text-align: center; padding: 80px 20px; }
@media (max-width: 860px) {
  .pf-card { grid-template-columns: 1fr; }
  .pf-right { order: -1; min-height: 360px; max-height: 440px; }
  .pf-left { padding: 18px 16px 20px; }
  .pf-prs, .pf-prs.all { grid-template-columns: 1fr 1fr; row-gap: 10px; }
  .pf-pr:nth-child(odd) { border-left: 0; padding-left: 0; }
  .pf-prs.all .pf-pr:nth-child(3n+1) { border-left: 1px solid #e3e7ef; padding-left: 12px; }
  .pf-prs.all .pf-pr:nth-child(odd) { border-left: 0; padding-left: 0; }
}
@media (max-width: 520px) { .pf-actions { grid-template-columns: 1fr; } }

/* ───────── spotlight index ───────── */
.sp-hero { background: radial-gradient(1200px 400px at 85% -10%, rgba(255, 215, 120, .22), transparent 60%), linear-gradient(135deg, #07102a 0%, #0a2a66 60%, #0052CC 100%); color: #fff; padding: 72px 0 56px; }
.sp-hero h1 { font-family: var(--font-cond); font-weight: 800; font-size: clamp(2.6rem, 7vw, 4.6rem); line-height: .95; letter-spacing: .01em; text-transform: uppercase; color: #fff; margin: 8px 0 14px; }
.sp-hero h1 span { color: #FFD166; }
.sp-hero .eyebrow { color: #FFD166; }
.sp-hero p { color: #cfe0ff; max-width: 60ch; font-size: 1.08rem; }
.sp-index { padding: 36px 16px 70px; }
.sp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.sp-card { display: block; background: #fff; border: 1px solid var(--gray-200); border-radius: 16px; overflow: hidden; text-decoration: none; color: inherit; box-shadow: 0 4px 16px rgba(10, 15, 30, .06); transition: transform .15s, box-shadow .15s; }
.sp-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(10, 15, 30, .14); text-decoration: none; }
.sp-photo { position: relative; aspect-ratio: 4 / 4.2; background: linear-gradient(160deg, #1c3a78, #0b1530); }
.sp-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; display: block; }
.sp-photo .pr-tag { position: absolute; left: 12px; top: 12px; background: #FFD166; color: #3b2a00; font-family: var(--font-mono); font-weight: 700; font-size: .66rem; letter-spacing: .1em; padding: 5px 10px; border-radius: 999px; }
.sp-info { padding: 14px 16px 18px; }
.sp-name { font-family: var(--font-cond); font-weight: 800; font-size: 1.35rem; text-transform: uppercase; letter-spacing: .02em; color: var(--pf-navy); line-height: 1.05; }
.sp-club { font-size: .8rem; color: var(--gray-500); margin: 2px 0 6px; }
.sp-head { font-weight: 600; font-size: .95rem; line-height: 1.3; color: var(--charcoal); }
.sp-meet { font-size: .76rem; color: var(--gray-500); margin-top: 8px; }

/* ───────── spotlight article ───────── */
.sa-hero { position: relative; color: #fff; background: #07102a; overflow: hidden; }
.sa-hero-bg { position: absolute; inset: 0; background:
  radial-gradient(700px 420px at 82% 30%, rgba(255, 209, 102, .30), transparent 62%),
  radial-gradient(900px 500px at 0% 110%, rgba(0, 120, 255, .45), transparent 60%),
  linear-gradient(135deg, #07102a 0%, #0a2a66 70%, #0b3c94 100%); }
.sa-hero-bg::after { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, rgba(255, 255, 255, .035) 0 2px, transparent 2px 26px); }
.sa-hero-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 36px; align-items: center; padding-top: 56px; padding-bottom: 56px; }
.sa-kicker { display: inline-block; font-family: var(--font-mono); font-weight: 700; font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: #3b2a00; background: #FFD166; padding: 6px 12px; border-radius: 4px; transform: skew(-8deg); }
.sa-headline { font-family: var(--font-cond); font-weight: 800; font-size: clamp(2.5rem, 6.4vw, 4.8rem); line-height: .94; letter-spacing: .005em; text-transform: uppercase; color: #fff; margin: 18px 0 14px; text-wrap: balance; text-shadow: 0 4px 24px rgba(0, 0, 0, .35); }
.sa-deck { font-size: clamp(1.05rem, 2vw, 1.3rem); line-height: 1.45; color: #d6e4ff; max-width: 38ch; margin: 0 0 18px; }
.sa-byline { font-weight: 500; color: #fff; font-size: .98rem; }
.sa-byline strong { color: #FFD166; }
.sa-meet { color: #9db8ea; font-size: .86rem; margin-top: 4px; font-family: var(--font-mono); letter-spacing: .03em; }
.sa-photo { position: relative; margin: 0; aspect-ratio: 4 / 5; border-radius: 22px; overflow: hidden; box-shadow: 0 30px 60px rgba(0, 0, 0, .5), 0 0 0 4px rgba(255, 209, 102, .9); transform: rotate(2deg); background: linear-gradient(160deg, #1c3a78, #0b1530); }
.sa-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; display: block; }
.sa-photo img.logo { object-fit: contain; padding: 18%; }
.sa-photo-badge { position: absolute; right: 14px; bottom: 14px; background: #FFD166; color: #3b2a00; font-family: var(--font-cond); font-weight: 800; font-size: 1.15rem; letter-spacing: .04em; text-transform: uppercase; padding: 8px 14px; border-radius: 10px; box-shadow: 0 6px 16px rgba(0, 0, 0, .35); }
.sa-photo-badge b { font-size: 1.5rem; margin-right: 4px; }
.sa-stats { background: #fff; border-bottom: 1px solid var(--gray-200); }
.sa-stats ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; }
.sa-stats li { flex: 1 1 140px; text-align: center; padding: 20px 10px; border-left: 1px solid var(--gray-200); }
.sa-stats li:first-child { border-left: 0; }
.sa-stats .v { display: block; font-family: var(--font-cond); font-weight: 800; font-size: 2.3rem; color: var(--crimson); line-height: 1; }
.sa-stats .l { display: block; font-family: var(--font-mono); font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gray-500); margin-top: 6px; }
.sa-body { max-width: 900px; padding: 40px 16px 70px; }
.hl-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-bottom: 34px; }
.hl-card { position: relative; background: linear-gradient(160deg, #0b1530, #14306b); color: #fff; border-radius: 16px; padding: 22px 20px 18px; overflow: hidden; }
.hl-card.pr { background: linear-gradient(160deg, #1d1500, #5c4300 70%, #8a6a1c); box-shadow: 0 0 0 2px #FFD166, 0 14px 30px rgba(138, 106, 28, .35); }
.hl-flag { position: absolute; top: 0; right: 0; background: #FFD166; color: #3b2a00; font-family: var(--font-mono); font-weight: 700; font-size: .62rem; letter-spacing: .14em; padding: 6px 12px; border-bottom-left-radius: 12px; }
.hl-flag.debut { background: #7dd3fc; color: #06324a; }
.hl-event { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: #bcd0f5; }
.hl-card.pr .hl-event { color: #ffe3a0; }
.hl-mark { font-family: var(--font-cond); font-weight: 800; font-size: 3rem; line-height: 1.05; margin: 6px 0 8px; letter-spacing: .01em; }
.hl-meta { display: flex; gap: 8px; flex-wrap: wrap; font-size: .82rem; }
.hl-place { background: rgba(255, 255, 255, .14); padding: 3px 10px; border-radius: 999px; font-weight: 600; }
.hl-imp { background: rgba(125, 255, 170, .18); color: #b9ffd0; padding: 3px 10px; border-radius: 999px; font-weight: 600; }
.hl-imp em { font-style: normal; opacity: .8; font-weight: 400; }
.sa-text { font-size: 1.12rem; line-height: 1.75; color: #1f2937; }
.sa-text p { margin: 0 0 1.15em; }
.sa-text p:first-child::first-letter { font-family: var(--font-cond); font-weight: 800; font-size: 3.6em; float: left; line-height: .85; padding: 6px 10px 0 0; color: var(--crimson); }
.sa-closing { margin: 28px 0 0; padding: 18px 22px; border-left: 6px solid #FFD166; background: #fffaf0; font-family: var(--font-cond); font-weight: 700; font-size: 1.5rem; line-height: 1.25; color: var(--pf-navy); border-radius: 0 12px 12px 0; }
.share-panel { margin: 44px 0 30px; background: linear-gradient(135deg, #f2f7ff, #fff8e6); border: 1px solid #d5e3fb; border-radius: 20px; padding: 28px 24px; text-align: center; }
.share-panel h2 { font-family: var(--font-cond); font-weight: 800; text-transform: uppercase; font-size: 2rem; margin: 0 0 4px; color: var(--pf-navy); }
.share-sub { color: var(--gray-600, #4b5563); margin: 0 0 18px; }
.share-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 16px; }
.sh-btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 16px; border-radius: 999px; color: #fff; font-weight: 600; font-size: .9rem; border: 0; cursor: pointer; text-decoration: none; font-family: inherit; }
.sh-btn:hover { filter: brightness(1.1); text-decoration: none; color: #fff; }
.sh-btn svg { width: 18px; height: 18px; fill: currentColor; flex: none; }
.sh-fb { background: #1877F2; } .sh-x { background: #111; } .sh-wa { background: #25D366; } .sh-ms { background: linear-gradient(135deg, #00B2FF, #A334FA 60%, #FF5C87); }
.sh-li { background: #0A66C2; } .sh-rd { background: #FF4500; } .sh-pi { background: #E60023; } .sh-sn { background: #FFFC00; color: #111; }
.sh-sn:hover { color: #111; } .sh-tg { background: #26A5E4; } .sh-em { background: #6b7280; } .sh-sm { background: #10b981; }
.sh-ig { background: linear-gradient(45deg, #F9CE34, #EE2A7B 55%, #6228D7); } .sh-tt { background: #010101; box-shadow: 2px 2px 0 #25F4EE, -2px -2px 0 #FE2C55; }
.share-extra { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.share-preview { margin: 20px auto 0; max-width: 320px; }
.share-preview img { width: 100%; border-radius: 14px; box-shadow: 0 14px 34px rgba(0, 0, 0, .25); }
.share-note { min-height: 1.4em; margin: 12px 0 0; font-size: .88rem; color: #0f5132; font-weight: 600; }
.sa-cta { display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; background: linear-gradient(135deg, #0052CC, #003D99); color: #fff; border-radius: 20px; padding: 28px; margin: 34px 0; }
.sa-cta h2 { color: #fff; margin: 0 0 6px; font-family: var(--font-cond); font-size: 2rem; text-transform: uppercase; }
.sa-cta p { margin: 0; color: #cfe0ff; max-width: 52ch; }
.sa-more h2 { font-family: var(--font-cond); text-transform: uppercase; font-size: 1.7rem; }
.sa-more .sp-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
@media (max-width: 800px) {
  .sa-hero-inner { grid-template-columns: 1fr; padding-top: 34px; padding-bottom: 40px; gap: 26px; }
  .sa-photo { max-width: 340px; margin: 0 auto; transform: rotate(1.5deg); order: -1; width: 100%; }
  .sa-headline { font-size: clamp(2.3rem, 11vw, 3.4rem); }
  .sa-stats li { flex-basis: 45%; border-left: 0; }
  .sa-text { font-size: 1.05rem; }
}

/* ───────── admin members pages ───────── */
.ad-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.ad-tabs button { border: 1px solid var(--gray-300); background: #fff; border-radius: 999px; padding: 7px 14px; font: inherit; font-size: .86rem; cursor: pointer; }
.ad-tabs button.on { background: var(--crimson); color: #fff; border-color: var(--crimson); }
.ad-pad { padding: 18px 20px; }
.ad-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.ad-row select, .ad-row input[type=text], .ad-row input[type=date] { min-height: 40px; padding: 8px 12px; border: 1px solid var(--gray-300); border-radius: var(--radius); font: inherit; background: #fff; }
.ad-drop { border: 2px dashed var(--gray-300); border-radius: 12px; padding: 18px; text-align: center; color: var(--gray-500); background: #fafbfd; }
.ad-drop.over { border-color: var(--crimson); background: #f2f7ff; }
.ad-text { width: 100%; min-height: 150px; font-family: var(--font-mono); font-size: .8rem; padding: 10px; border: 1px solid var(--gray-300); border-radius: 8px; }
.ad-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; margin: 14px 0; }
.ad-stat { background: #f6f8fc; border: 1px solid var(--gray-200); border-radius: 10px; padding: 10px 12px; }
.ad-stat b { display: block; font-size: 1.5rem; }
.ad-stat span { font-size: .75rem; color: var(--gray-500); text-transform: uppercase; letter-spacing: .06em; }
.ad-stat.good b { color: #047857; } .ad-stat.warn b { color: #b45309; } .ad-stat.bad b { color: #b91c1c; }
.st-pill { display: inline-block; font-size: .72rem; font-weight: 700; padding: 2px 9px; border-radius: 999px; }
.st-matched, .st-manual, .st-Published { background: #ECFDF5; color: #047857; }
.st-ambiguous, .st-Draft { background: #FEF3C7; color: #92400E; }
.st-unmatched, .st-Hidden, .st-Suspended { background: #F3F4F6; color: #4B5563; }
.st-Active { background: #ECFDF5; color: #047857; }
.ad-art-edit label { display: block; font-weight: 600; font-size: .82rem; margin: 12px 0 4px; }
.ad-art-edit input, .ad-art-edit textarea { width: 100%; padding: 9px 12px; border: 1px solid var(--gray-300); border-radius: 8px; font: inherit; }
.ad-art-edit textarea { min-height: 90px; }

/* profile table: on phones the date moves under the meet name so every column fits */
.pf-table .meet-sub { display: none; color: #6b7794; font-size: .66rem; margin-top: 2px; }
@media (max-width: 560px) {
  .pf-table { min-width: 0; font-size: .7rem; }
  .pf-table th.c-date, .pf-table td.c-date { display: none; }
  .pf-table .meet-sub { display: block; }
  .pf-table td, .pf-table th { padding-left: 5px; padding-right: 5px; }
  .pf-table td.c-ev { width: 28%; }
  .pf-table .mk .pf-src { display: none; }
}

/* White button for dark/blue bands (shell pages) */
.btn-on-blue { background: #fff; color: #0052CC; border-color: #fff; font-weight: 700; }
.btn-on-blue:hover { background: #e8f1ff; text-decoration: none; }

/* Mobile: stop form fields from pushing the card wider than the screen */
.m-card, .m-card * { box-sizing: border-box; }
.m-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.m-grid > * { min-width: 0; }
@media (max-width: 620px) { .m-grid { grid-template-columns: minmax(0, 1fr); } }
.photo-pick > div:not(.prev) { min-width: 0; flex: 1 1 0; }
.photo-pick input[type=file] { max-width: 100%; width: 100%; font-size: .85rem; }
.photo-pick .meta { overflow-wrap: anywhere; }

/* ───────── All-Time Meet Records ───────── */
.rc-hero .rc-stamp { display: inline-block; margin-top: 16px; font-family: var(--font-mono); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3); color: #fff; padding: 6px 12px; border-radius: 999px; }
.rc-main { padding-top: 28px; padding-bottom: 64px; }
.rc-bar { background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 16px; margin: -48px 0 24px; position: relative; box-shadow: 0 12px 34px rgba(10,15,30,.08); display: grid; gap: 14px; }
.rc-bar-row { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: flex-end; }
.rc-seg { display: inline-flex; border: 1px solid var(--gray-300, #d1d5db); border-radius: 10px; overflow: hidden; }
.rc-seg button { appearance: none; border: 0; background: #fff; padding: 10px 18px; font: 600 .92rem Inter, sans-serif; color: var(--charcoal, #1f2937); cursor: pointer; min-height: 44px; }
.rc-seg button + button { border-left: 1px solid var(--gray-300, #d1d5db); }
.rc-seg button.on { background: #0052CC; color: #fff; }
.rc-sel { display: grid; gap: 4px; font-size: .78rem; font-weight: 600; color: var(--gray-500); }
.rc-sel select, .rc-sel input { font: 500 .95rem Inter, sans-serif; padding: 10px 12px; border: 1px solid var(--gray-300, #d1d5db); border-radius: 8px; min-height: 44px; background: #fff; color: var(--charcoal, #1f2937); }
.rc-search { flex: 1 1 240px; } .rc-search input { width: 100%; box-sizing: border-box; }
.rc-sec { margin: 0 0 30px; }
.rc-div { font-family: var(--font-cond); font-size: 1.9rem; letter-spacing: .02em; margin: 0 0 10px; color: var(--pf-navy); display: flex; align-items: baseline; gap: 10px; border-bottom: 3px solid #0052CC; padding-bottom: 6px; }
.rc-div small { font: 600 .8rem Inter, sans-serif; color: var(--gray-500); text-transform: uppercase; letter-spacing: .12em; }
.rc-list { display: grid; gap: 8px; }
.rc-row { display: grid; grid-template-columns: 170px 110px minmax(0, 1fr) minmax(0, 1.1fr); gap: 14px; align-items: center; background: #fff; border: 1px solid var(--gray-200); border-radius: 12px; padding: 10px 14px; }
.rc-ev { font-weight: 700; color: var(--pf-navy); }
.rc-mark { font-family: var(--font-mono); font-weight: 600; font-size: 1.15rem; color: #0052CC; }
.rc-holder { display: flex; align-items: center; gap: 12px; min-width: 0; }
.rc-holder > div { min-width: 0; }
.rc-av { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: none; background: var(--pf-blue-tint); border: 2px solid #fff; box-shadow: 0 0 0 2px var(--pf-gold-line); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; color: #0052CC; }
.rc-av-relay { font-size: .8rem; letter-spacing: -.02em; }
.rc-name { font-weight: 700; color: var(--charcoal, #1f2937); text-decoration: none; overflow-wrap: anywhere; }
a.rc-name:hover { text-decoration: underline; color: #0052CC; }
.rc-member { display: inline-block; margin-left: 8px; font-size: .68rem; font-weight: 700; color: var(--pf-gold); background: var(--pf-tan); border: 1px solid var(--pf-gold-line); border-radius: 999px; padding: 1px 8px; vertical-align: middle; }
.rc-club { font-size: .84rem; color: var(--gray-500); overflow-wrap: anywhere; }
.rc-when { font-size: .85rem; color: var(--charcoal, #374151); } .rc-when span { color: var(--gray-500); }
.rc-hist { background: #fafafa; } .rc-hist .rc-mark { color: #6b7280; }
.rc-empty { background: #fff; border: 1px dashed var(--gray-300, #d1d5db); border-radius: 12px; padding: 40px 20px; text-align: center; color: var(--gray-600, #4b5563); line-height: 1.6; }
.rc-foot { font-size: .85rem; color: var(--gray-500); margin-top: 28px; max-width: 70ch; }
@media (max-width: 760px) {
  .rc-row { grid-template-columns: 1fr auto; gap: 8px 12px; padding: 12px; }
  .rc-ev { grid-column: 1; } .rc-mark { grid-column: 2; grid-row: 1; text-align: right; }
  .rc-holder, .rc-when { grid-column: 1 / -1; }
  .rc-bar { margin-top: -36px; } .rc-seg { width: 100%; } .rc-seg button { flex: 1; padding: 10px 6px; }
  .rc-sel { flex: 1 1 100%; } .rc-sel select { width: 100%; }
}
/* record-holder card */
.rcc { max-width: 760px; padding-top: 28px; padding-bottom: 64px; }
.rcc-back { display: inline-block; margin-bottom: 14px; font-weight: 600; color: #0052CC; text-decoration: none; }
.rcc-card { display: flex; gap: 24px; align-items: center; background: linear-gradient(135deg, #0052CC, #003D99); color: #fff; border-radius: 18px; padding: 24px; }
.rcc-card .rc-av { width: 160px; height: 160px; font-size: 3rem; box-shadow: 0 0 0 4px var(--pf-gold-line); }
.rcc-card h1 { color: #fff; margin: 4px 0 6px; } .rcc-card .pf-eyebrow { color: #f4dc9a; }
.rcc-sub { color: #cce0ff; } .rcc-count { margin-top: 12px; color: #fff; }
.rcc h2 { font-family: var(--font-cond); font-size: 1.6rem; margin: 28px 0 10px; color: var(--pf-navy); }
.rcc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.rcc-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; background: #fff; border: 1px solid var(--gray-200); border-radius: 12px; padding: 12px 14px; }
.rcc-item b { display: block; } .rcc-item span { font-size: .85rem; color: var(--gray-500); }
.rcc-mark { font-family: var(--font-mono); font-weight: 600; font-size: 1.2rem; color: #0052CC; }
.rcc-when { grid-column: 1 / -1; font-size: .84rem; color: var(--gray-500); }
@media (max-width: 560px) { .rcc-card { flex-direction: column; text-align: center; } .rcc-card .rc-av { width: 128px; height: 128px; } }

/* Profile: share to Facebook / Instagram / TikTok */
.pf-social { margin-top: 14px; padding: 14px; border: 1px solid #dfe6f3; border-radius: 14px; background: #f7f9fd; }
.pf-social-t { font-family: var(--font-mono); font-size: .66rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #3a4a70; margin-bottom: 10px; }
.pf-social-b { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.pf-social-b .sh-btn { padding: 9px 14px; font-size: .82rem; }
.pf-social-b .sh-btn svg { width: 16px; height: 16px; }
.pf-social-b button[disabled] { opacity: .6; cursor: wait; }
.pf-social-b .pf-share { margin-top: 0; }
.pf-open { color: #0052CC; font-weight: 700; text-decoration: none; margin-left: 4px; white-space: nowrap; }
@media (max-width: 560px) { .pf-social-b .sh-btn, .pf-social-b .pf-share { flex: 1 1 calc(50% - 8px); justify-content: center; } }

.pf-linkrow { word-break: break-all; }
.pf-linkrow[hidden] { display: none; }
.pf-lk { border: 0; background: none; color: #0052CC; font: inherit; font-weight: 700; cursor: pointer; padding: 0 0 0 8px; text-decoration: underline; }
.pf-lk:last-child { color: #b42318; }
.sc-wrap { max-width: 640px; margin: 0 auto; padding: 28px 16px 60px; text-align: center; }
.sc-img { width: 100%; height: auto; border-radius: 18px; box-shadow: 0 18px 50px rgba(7,16,42,.25); display: block; }
.sc-cta { margin-top: 22px; }
.sc-cta p { color: #3a4a70; line-height: 1.5; margin: 0 0 14px; }
.sc-cta .pf-btn { display: inline-flex; margin: 4px; }
.sc-gone { padding: 60px 10px; }
.sc-gone h1 { font-size: 1.6rem; margin: 0 0 8px; }

.sc-name { font-family: var(--font-cond); font-weight: 800; font-size: 2rem; line-height: 1.1; margin: 20px 0 4px; color: #07102a; text-transform: uppercase; }
.sc-facts { margin: 0 0 6px; color: #5a6786; font-size: .9rem; }
.sc-sec { text-align: left; margin-top: 26px; }
.sc-sec h2 { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: #3a4a70; border-bottom: 1px solid #e0c97a; padding-bottom: 6px; margin: 0 0 12px; }
.sc-prs { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.sc-pr { background: #f7f9fd; border: 1px solid #dfe6f3; border-radius: 12px; padding: 10px 12px; }
.sc-pr .ev { font-family: var(--font-mono); font-size: .62rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #3d4a66; }
.sc-pr .mk { font-family: var(--font-cond); font-weight: 800; font-size: 1.7rem; color: #07102a; line-height: 1.15; margin: 4px 0 2px; }
.sc-pr .wh { font-size: .66rem; color: #6b7794; line-height: 1.35; }
.sc-tw { overflow-x: auto; }
.sc-table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.sc-table th { text-align: left; font-family: var(--font-mono); font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; color: #6b7794; padding: 6px 8px; border-bottom: 1px solid #e3e7ef; }
.sc-table td { padding: 9px 8px; border-bottom: 1px solid #eef1f7; vertical-align: top; }
.sc-table td.mk { font-weight: 700; white-space: nowrap; }
.sc-sub { font-size: .7rem; color: #6b7794; }
.sc-pill { display: inline-block; margin-left: 6px; padding: 1px 6px; border-radius: 99px; background: #fde8eb; color: #c22a3d; font-size: .6rem; font-weight: 700; letter-spacing: .06em; }
.sc-empty { color: #6b7794; margin: 22px 0 0; }
