/* Varsy · design system
   Neon, toned down: one dark field, three signal colors used sparingly.
   Broadcast type: Teko for scoreboard numbers and headlines, Rubik for everything you read. */
:root {
  --bg: #0B0C0E;
  --s1: #121418;
  --s2: #181B20;
  --s3: #1F2329;
  --line: #262A31;
  --line2: #323740;
  --t: #ECEEF1;
  --t2: #A3A9B3;
  --t3: #6E7580;
  --blue: #22A6FF;
  --blue-d: rgba(34, 166, 255, .12);
  --yellow: #FFE500;
  --yellow-d: rgba(255, 229, 0, .10);
  --red: #FF3355;
  --red-d: rgba(255, 51, 85, .12);
  --green: #2BD67B;
  --green-d: rgba(43, 214, 123, .12);
  --f-d: 'Teko', 'Arial Narrow', sans-serif;
  --f-b: 'Rubik', system-ui, -apple-system, sans-serif;
  --r: 8px;
  --r-lg: 12px;
  --side: 232px;
  --aside: 300px;
  --top: 56px;
  --tab: 64px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--t); font: 400 15px/1.5 var(--f-b); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

/* ---------- type ---------- */
.d { font-family: var(--f-d); font-weight: 600; text-transform: uppercase; letter-spacing: .01em; line-height: .9; }
h1, h2, h3 { margin: 0; }
.h1 { font: 600 44px/0.9 var(--f-d); text-transform: uppercase; letter-spacing: .01em; }
.h2 { font: 600 30px/0.95 var(--f-d); text-transform: uppercase; letter-spacing: .01em; }
.h3 { font: 500 15px/1.3 var(--f-b); }
.eyebrow { font: 600 11px/1 var(--f-b); letter-spacing: .1em; text-transform: uppercase; color: var(--t3); }
.muted { color: var(--t2); }
.dim { color: var(--t3); }
.small { font-size: 13px; }
.tiny { font-size: 12px; }
.num { font-family: var(--f-d); font-weight: 600; font-size: 28px; line-height: .9; }

/* ---------- buttons, fields, chips ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 38px; padding: 0 16px; border-radius: var(--r);
  border: 1px solid var(--line2); background: var(--s2); font-weight: 500; font-size: 14px; white-space: nowrap; text-decoration: none !important; color: var(--t); }
.btn:hover { background: var(--s3); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn.pri { background: var(--blue); border-color: var(--blue); color: #04121F; }
.btn.pri:hover { background: #4DB7FF; }
.btn.ghost { background: none; border-color: transparent; color: var(--t2); }
.btn.ghost:hover { background: var(--s2); color: var(--t); }
.btn.danger { color: var(--red); border-color: rgba(255, 51, 85, .35); background: none; }
.btn.danger:hover { background: var(--red-d); }
.btn.sm { height: 32px; padding: 0 12px; font-size: 13px; }
.btn.lg { height: 46px; padding: 0 22px; font-size: 15px; }
.btn.icon { width: 38px; padding: 0; }
.btn.sm.icon { width: 32px; }
.btn.block { width: 100%; }
.btn svg { width: 16px; height: 16px; flex: none; }
.row { display: flex; align-items: center; gap: 8px; }
.row.wrap { flex-wrap: wrap; }
.row.between { justify-content: space-between; }
.stack { display: grid; gap: 12px; }
.stack.lg { gap: 20px; }
.grow { flex: 1; min-width: 0; }

.field { display: grid; gap: 6px; }
.field > span { font-size: 13px; font-weight: 500; color: var(--t2); }
.field small { color: var(--t3); font-size: 12px; }
.in { width: 100%; height: 40px; padding: 0 12px; border-radius: var(--r); border: 1px solid var(--line2); background: var(--bg); color: var(--t); }
textarea.in { height: auto; min-height: 84px; padding: 10px 12px; resize: vertical; line-height: 1.45; }
select.in { appearance: none; padding-right: 32px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23A3A9B3' stroke-width='1.6'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; }
.in:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-d); }
.in::placeholder { color: var(--t3); }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 520px) { .grid3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--t2); cursor: pointer; }
.check input { margin: 3px 0 0; width: 16px; height: 16px; accent-color: var(--blue); flex: none; }
.err { color: var(--red); font-size: 13px; margin: 0; }

.chip { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--line2);
  background: none; font-size: 12px; font-weight: 500; color: var(--t2); white-space: nowrap; }
button.chip:hover { color: var(--t); border-color: var(--t3); }
.chip[aria-pressed="true"], .chip.on { background: var(--t); border-color: var(--t); color: var(--bg); }
.tag { display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 8px; border-radius: 4px; font: 600 11px/1 var(--f-b);
  letter-spacing: .04em; text-transform: uppercase; background: var(--s3); color: var(--t2); white-space: nowrap; }
.tag.blue { background: var(--blue-d); color: var(--blue); }
.tag.yellow { background: var(--yellow-d); color: var(--yellow); }
.tag.red { background: var(--red-d); color: var(--red); }
.tag.green { background: var(--green-d); color: var(--green); }
.badge { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--red); color: #fff; font: 600 11px/18px var(--f-b); text-align: center; }
.vf { display: inline-block; width: 15px; height: 15px; vertical-align: -2px; color: var(--blue); flex: none; }

/* ---------- surfaces ---------- */
.card { background: var(--s1); border: 1px solid var(--line); border-radius: var(--r-lg); }
.card.pad { padding: 18px; }
.card-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.card-b { padding: 18px; }
.sec-h { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin: 0 0 12px; }
.divider { height: 1px; background: var(--line); margin: 4px 0; }
.list > * + * { border-top: 1px solid var(--line); }
.empty { text-align: center; padding: 40px 20px; color: var(--t2); display: grid; justify-items: center; gap: 10px; }
.empty svg { width: 28px; height: 28px; color: var(--t3); }
.empty b { color: var(--t); font-weight: 500; font-size: 16px; }
.empty p { margin: 0; max-width: 360px; font-size: 14px; }
.note { display: flex; gap: 10px; padding: 12px 14px; border-radius: var(--r); background: var(--s2); border: 1px solid var(--line); font-size: 13px; color: var(--t2); }
.note svg { width: 16px; height: 16px; flex: none; margin-top: 1px; color: var(--blue); }
.note.warn svg { color: var(--yellow); }
.note.bad svg { color: var(--red); }
.note b { color: var(--t); font-weight: 500; }

.av { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; overflow: hidden; background: var(--s3);
  color: var(--t2); font: 600 14px/1 var(--f-b); border: 1px solid var(--line2); }
.av img { width: 100%; height: 100%; object-fit: cover; }
.av.sm { width: 32px; height: 32px; font-size: 12px; }
.av.xs { width: 24px; height: 24px; font-size: 10px; }
.av.lg { width: 72px; height: 72px; font-size: 22px; }
.av.xl { width: 104px; height: 104px; font-size: 32px; border-width: 3px; border-color: var(--bg); }
.av.sq { border-radius: var(--r); }
.who { display: flex; align-items: center; gap: 10px; min-width: 0; text-decoration: none !important; color: inherit; }
.who .nm { font-weight: 500; color: var(--t); display: flex; align-items: center; gap: 5px; min-width: 0; }
.who .nm span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.who .sub { font-size: 13px; color: var(--t3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
a.who:hover .nm span { text-decoration: underline; }

/* ---------- app shell ---------- */
.top { position: sticky; top: 0; z-index: 30; height: var(--top); display: flex; align-items: center; gap: 12px; padding: 0 16px;
  background: rgba(11, 12, 14, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.logo { display: flex; align-items: center; gap: 8px; color: var(--t); text-decoration: none !important; flex: none; }
.logo svg { width: 22px; height: 22px; }
.logo b { font: 600 24px/1 var(--f-d); letter-spacing: .03em; text-transform: uppercase; padding-top: 3px; }
.top .search { flex: 1; max-width: 420px; position: relative; }
.top .search svg { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); width: 15px; height: 15px; color: var(--t3); pointer-events: none; }
.top .search input { padding-left: 34px; height: 36px; background: var(--s1); }
.top .acts { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.iconbtn { position: relative; display: grid; place-items: center; width: 38px; height: 38px; border-radius: var(--r); border: 0; background: none; color: var(--t2); }
.iconbtn:hover { background: var(--s2); color: var(--t); }
.iconbtn svg { width: 20px; height: 20px; }
.iconbtn .badge { position: absolute; top: 3px; right: 2px; }
.menubtn { display: flex; align-items: center; gap: 8px; padding: 3px 8px 3px 3px; border-radius: 999px; border: 1px solid var(--line2); background: none; }
.menubtn:hover { background: var(--s2); }
.menubtn .nm { font-size: 14px; font-weight: 500; max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.shell { display: grid; grid-template-columns: var(--side) minmax(0, 1fr); min-height: calc(100dvh - var(--top)); }
.side { position: sticky; top: var(--top); height: calc(100dvh - var(--top)); overflow-y: auto; padding: 16px 12px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; }
.nav { display: flex; align-items: center; gap: 12px; height: 40px; padding: 0 12px; border-radius: var(--r); color: var(--t2); font-weight: 500;
  text-decoration: none !important; border: 0; background: none; width: 100%; text-align: left; font-size: 14px; }
.nav svg { width: 18px; height: 18px; flex: none; }
.nav:hover { background: var(--s1); color: var(--t); }
.nav.on { background: var(--s2); color: var(--t); box-shadow: inset 2px 0 0 var(--blue); }
.nav .badge { margin-left: auto; }
.side .grp { margin: 18px 12px 6px; }
.side .foot { margin-top: auto; padding: 16px 12px 4px; font-size: 12px; color: var(--t3); display: grid; gap: 6px; }
.side .foot a { color: var(--t3); }
.main { min-width: 0; padding: 24px 24px 64px; }
.page { max-width: 1080px; margin: 0 auto; }
.page.narrow { max-width: 680px; }
.cols { display: grid; grid-template-columns: minmax(0, 1fr) var(--aside); gap: 24px; align-items: start; }
.cols > aside { position: sticky; top: calc(var(--top) + 24px); display: grid; gap: 16px; }
.ph { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.ph p { margin: 6px 0 0; color: var(--t2); }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 16px; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { position: relative; height: 40px; padding: 0 12px; border: 0; background: none; color: var(--t2); font-weight: 500; font-size: 14px; white-space: nowrap; display: flex; align-items: center; gap: 6px; }
.tabs button:hover { color: var(--t); }
.tabs button[aria-selected="true"] { color: var(--t); }
.tabs button[aria-selected="true"]::after { content: ""; position: absolute; left: 8px; right: 8px; bottom: -1px; height: 2px; background: var(--blue); border-radius: 2px; }
.tabs .count { font-size: 12px; color: var(--t3); }
.tabbar { display: none; }

@media (max-width: 1100px) { .cols { grid-template-columns: minmax(0, 1fr); } .cols > aside { position: static; } }
@media (max-width: 900px) {
  .shell { grid-template-columns: minmax(0, 1fr); }
  .side { display: none; }
  .main { padding: 16px 16px calc(var(--tab) + 32px + env(safe-area-inset-bottom)); }
  .top .search { display: none; }
  .top .menubtn .nm { display: none; }
  .top .menubtn { padding: 3px; }
  .tabbar { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    height: calc(var(--tab) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
    background: rgba(11, 12, 14, .96); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line); }
  .tabbar a { position: relative; display: grid; place-items: center; align-content: center; gap: 4px; color: var(--t3); font-size: 11px; font-weight: 500; text-decoration: none !important; }
  .tabbar a svg { width: 22px; height: 22px; }
  .tabbar a.on { color: var(--t); }
  .tabbar a.on svg { color: var(--blue); }
  .tabbar .badge { position: absolute; top: 6px; left: calc(50% + 4px); }
  .h1 { font-size: 36px; }
}

/* ---------- menus, sheets, toasts ---------- */
.pop { position: absolute; z-index: 60; min-width: 220px; padding: 6px; border-radius: var(--r-lg); background: var(--s2); border: 1px solid var(--line2);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .5); }
.pop .mi { display: flex; align-items: center; gap: 10px; width: 100%; height: 38px; padding: 0 10px; border: 0; border-radius: 6px; background: none;
  color: var(--t); font-size: 14px; text-align: left; text-decoration: none !important; }
.pop .mi:hover { background: var(--s3); }
.pop .mi svg { width: 16px; height: 16px; color: var(--t2); }
.pop .mi.bad { color: var(--red); }
.pop .mi.bad svg { color: var(--red); }
.pop .sep { height: 1px; background: var(--line2); margin: 6px 4px; }
.pop .hd { padding: 8px 10px 10px; }

.scrim { position: fixed; inset: 0; z-index: 80; background: rgba(0, 0, 0, .6); display: grid; place-items: center; padding: 20px; animation: fade .15s ease; }
.sheet { width: 100%; max-width: 520px; max-height: calc(100dvh - 40px); display: flex; flex-direction: column; background: var(--s1); border: 1px solid var(--line2);
  border-radius: 14px; box-shadow: 0 24px 64px rgba(0, 0, 0, .6); animation: rise .18s ease; }
.sheet.wide { max-width: 680px; }
.sheet-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.sheet-b { padding: 20px; overflow-y: auto; }
.sheet-f { display: flex; justify-content: flex-end; gap: 8px; padding: 14px 20px; border-top: 1px solid var(--line); }
@media (max-width: 600px) {
  .scrim { place-items: end stretch; padding: 0; }
  .sheet { max-width: none; max-height: 92dvh; border-radius: 16px 16px 0 0; padding-bottom: env(safe-area-inset-bottom); }
}
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }
.toasts { position: fixed; z-index: 100; left: 50%; bottom: 24px; transform: translateX(-50%); display: grid; gap: 8px; pointer-events: none; width: max-content; max-width: calc(100vw - 32px); }
.toast { padding: 11px 16px; border-radius: var(--r); background: var(--t); color: var(--bg); font-weight: 500; font-size: 14px; box-shadow: 0 8px 24px rgba(0, 0, 0, .4); animation: rise .18s ease; }
.toast.bad { background: var(--red); color: #fff; }
@media (max-width: 900px) { .toasts { bottom: calc(var(--tab) + 16px + env(safe-area-inset-bottom)); } }

/* ---------- athlete stat card (the signature element) ---------- */
.acard { position: relative; display: grid; gap: 14px; padding: 16px; border-radius: var(--r-lg); background: var(--s1); border: 1px solid var(--line);
  color: inherit; text-decoration: none !important; overflow: hidden; transition: border-color .15s; }
a.acard:hover { border-color: var(--line2); }
.acard .jn { position: absolute; right: 10px; top: -6px; font: 600 88px/1 var(--f-d); color: var(--s3); pointer-events: none; }
.acard .top-r { position: relative; display: flex; gap: 12px; align-items: center; }
.acard .nm { font: 600 26px/0.9 var(--f-d); text-transform: uppercase; letter-spacing: .01em; display: flex; align-items: center; gap: 6px; padding-top: 3px; }
.acard .meta { font-size: 13px; color: var(--t2); }
.acard .meta2 { font-size: 12px; color: var(--t3); }
.strip { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); padding-top: 12px; gap: 8px; }
.strip > div { min-width: 0; }
.strip b { display: block; font: 600 26px/0.9 var(--f-d); color: var(--yellow); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.strip span { display: block; margin-top: 4px; font-size: 11px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--t3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.strip .none { grid-column: 1 / -1; font-size: 13px; color: var(--t3); }
.agrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }

/* ---------- profile ---------- */
.prof { overflow: hidden; }
.prof .ban { position: relative; height: 132px; background: linear-gradient(180deg, #13202C 0%, var(--s1) 100%); border-bottom: 1px solid var(--line); overflow: hidden; }
.prof .ban .jn { position: absolute; right: 24px; bottom: -22px; font: 600 180px/1 var(--f-d); color: rgba(255, 255, 255, .05); }
.prof .ban .line { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--blue); }
.prof .body { padding: 0 20px 20px; }
.prof .idrow { display: flex; align-items: flex-end; gap: 16px; margin-top: -52px; flex-wrap: wrap; }
.prof .idrow .acts { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; }
.prof h1 { font: 600 44px/0.9 var(--f-d); text-transform: uppercase; letter-spacing: .01em; margin-top: 14px; display: flex; align-items: center; gap: 8px; }
.prof h1 .vf { width: 22px; height: 22px; }
.prof .line1 { margin-top: 6px; color: var(--t2); }
.prof .line2 { margin-top: 2px; color: var(--t3); font-size: 13px; }
.prof .bigstats { display: grid; grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); gap: 1px; margin-top: 18px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.prof .bigstats > div { background: var(--s1); padding: 12px 14px; min-width: 0; }
.prof .bigstats b { display: block; font: 600 32px/0.9 var(--f-d); color: var(--yellow); }
.prof .bigstats span { display: block; margin-top: 6px; font-size: 11px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--t3); }
.kv { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 14px 16px; }
.kv dt { font-size: 12px; color: var(--t3); margin-bottom: 2px; }
.kv dd { margin: 0; font-weight: 500; }
.soc { display: flex; flex-wrap: wrap; gap: 8px; }
.soc a { display: inline-flex; align-items: baseline; gap: 6px; padding: 8px 12px; border-radius: var(--r); background: var(--s2); border: 1px solid var(--line); color: var(--t); font-size: 14px; text-decoration: none !important; }
.soc a:hover { border-color: var(--line2); }
.soc a b { font: 600 20px/1 var(--f-d); color: var(--yellow); }
.soc a span { color: var(--t3); font-size: 12px; }
.rates { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.rates > div { padding: 12px; border-radius: var(--r); background: var(--s2); border: 1px solid var(--line); }
.rates b { display: block; font: 600 28px/0.9 var(--f-d); color: var(--t); }
.rates span { display: block; font-size: 12px; color: var(--t3); margin-top: 4px; }
.pgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
.pgrid a { position: relative; aspect-ratio: 1; background: var(--s2); border-radius: 4px; overflow: hidden; display: block; }
.pgrid img { width: 100%; height: 100%; object-fit: cover; }
.pgrid .txt { position: absolute; inset: 0; padding: 10px; font-size: 13px; color: var(--t2); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; }

/* ---------- posts ---------- */
.post { overflow: hidden; }
.post .ph2 { display: flex; align-items: center; gap: 10px; padding: 14px 16px; }
.post .ph2 .row { margin-left: auto; }
.post .media { background: #000; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.post .media img { width: 100%; max-height: 640px; object-fit: contain; margin: 0 auto; }
.post .bd { padding: 14px 16px 6px; }
.post .cap { white-space: pre-wrap; word-wrap: break-word; }
.post .kicker { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.post .ad { font-size: 12px; color: var(--t3); margin-top: 8px; }
.post .ft { display: flex; align-items: center; gap: 4px; padding: 8px 10px 10px; flex-wrap: wrap; }
.prop { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--line); background: none; color: var(--t2); font-size: 13px; font-weight: 500; }
.prop:hover { border-color: var(--line2); color: var(--t); }
.prop b { font: 600 16px/1 var(--f-d); padding-top: 2px; }
.prop[aria-pressed="true"] { border-color: var(--yellow); color: var(--yellow); background: var(--yellow-d); }
.cmts { padding: 4px 16px 14px; display: grid; gap: 10px; border-top: 1px solid var(--line); }
.cmt { display: flex; gap: 10px; font-size: 14px; }
.cmt .b { min-width: 0; }
.cmt .b a { color: var(--t); font-weight: 500; }
.cmt .b p { margin: 2px 0 0; color: var(--t2); word-wrap: break-word; }

/* ---------- landing ---------- */
.land { min-height: 100dvh; }
.land .top { background: rgba(11, 12, 14, .8); }
.hero { position: relative; padding: 96px 20px 72px; border-bottom: 1px solid var(--line); overflow: hidden; }
.hero .in2 { max-width: 1080px; margin: 0 auto; position: relative; }
.hero h1 { font: 600 clamp(52px, 9vw, 112px)/0.85 var(--f-d); text-transform: uppercase; letter-spacing: .005em; max-width: 900px; }
.hero h1 em { font-style: normal; color: var(--yellow); }
.hero p { font-size: 18px; color: var(--t2); max-width: 560px; margin: 22px 0 32px; }
.hero .score { position: absolute; right: -40px; top: 40px; font: 600 360px/0.8 var(--f-d); color: rgba(255, 255, 255, .03); pointer-events: none; }
.hero .rail { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--blue) 0 33%, var(--yellow) 33% 66%, var(--red) 66%); opacity: .8; }
.lsec { max-width: 1080px; margin: 0 auto; padding: 72px 20px; }
.lsec + .lsec { border-top: 1px solid var(--line); }
.aud { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; margin-top: 28px; }
.aud .card { padding: 22px; display: grid; gap: 14px; align-content: start; }
.aud h3 { font: 600 32px/0.9 var(--f-d); text-transform: uppercase; }
.aud .k { font: 600 11px/1 var(--f-b); letter-spacing: .1em; text-transform: uppercase; }
.aud ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; font-size: 14px; color: var(--t2); }
.aud li { display: flex; gap: 10px; }
.aud li svg { width: 16px; height: 16px; flex: none; margin-top: 2px; color: var(--green); }
.rules { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1px; margin-top: 28px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.rules > div { background: var(--s1); padding: 20px; }
.rules b { display: block; font: 600 24px/0.95 var(--f-d); text-transform: uppercase; margin-bottom: 8px; }
.rules p { margin: 0; color: var(--t2); font-size: 14px; }
.lfoot { border-top: 1px solid var(--line); padding: 28px 20px 40px; }
.lfoot .in2 { max-width: 1080px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; color: var(--t3); font-size: 13px; }
.lfoot a { color: var(--t2); }

/* ---------- messages ---------- */
.msg { display: grid; grid-template-columns: 320px minmax(0, 1fr); height: calc(100dvh - var(--top) - 48px); min-height: 480px; overflow: hidden; }
.msg .lst { border-right: 1px solid var(--line); display: flex; flex-direction: column; min-height: 0; }
.msg .lst .scroll { overflow-y: auto; flex: 1; }
.th { display: flex; gap: 10px; align-items: center; padding: 12px 14px; color: inherit; text-decoration: none !important; border-left: 2px solid transparent; }
.th:hover { background: var(--s2); }
.th.on { background: var(--s2); border-left-color: var(--blue); }
.th .b { min-width: 0; flex: 1; }
.th .l1 { display: flex; gap: 8px; align-items: baseline; }
.th .l1 .n { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; display: flex; align-items: center; gap: 4px; }
.th .l1 .tm { font-size: 12px; color: var(--t3); flex: none; }
.th .l2 { font-size: 13px; color: var(--t3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.th.unread .l2 { color: var(--t); }
.th .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); flex: none; }
.conv { display: flex; flex-direction: column; min-height: 0; min-width: 0; }
.conv .ch { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.conv .log { flex: 1; overflow-y: auto; padding: 20px 16px; display: flex; flex-direction: column; gap: 6px; }
.bub { max-width: min(520px, 80%); padding: 9px 13px; border-radius: 16px 16px 16px 4px; background: var(--s3); align-self: flex-start; white-space: pre-wrap; word-wrap: break-word; font-size: 14px; }
.bub.me { align-self: flex-end; background: var(--blue); color: #04121F; border-radius: 16px 16px 4px 16px; }
.bub a { color: inherit; text-decoration: underline; }
.stamp { font-size: 11px; color: var(--t3); align-self: center; margin: 10px 0 4px; }
.ocard { align-self: flex-start; width: min(340px, 90%); border-radius: var(--r-lg); border: 1px solid var(--line2); background: var(--s2); padding: 14px; display: grid; gap: 8px; }
.ocard.me { align-self: flex-end; }
.ocard .amt { font: 600 40px/0.85 var(--f-d); color: var(--yellow); }
.conv .cmp { display: flex; gap: 8px; padding: 12px 16px; border-top: 1px solid var(--line); align-items: flex-end; }
.conv .cmp textarea { min-height: 40px; max-height: 140px; height: 40px; resize: none; }
.reqbar { padding: 12px 16px; border-top: 1px solid var(--line); background: var(--s1); display: grid; gap: 10px; }
@media (max-width: 900px) {
  .msg { grid-template-columns: minmax(0, 1fr); height: calc(100dvh - var(--top) - var(--tab) - 32px - env(safe-area-inset-bottom)); border-radius: 0; border-left: 0; border-right: 0; margin: -16px -16px 0; }
  .msg.has .lst { display: none; }
  .msg:not(.has) .conv { display: none; }
}

/* ---------- deals, board, admin, misc ---------- */
.deal { display: grid; gap: 12px; padding: 16px 18px; }
.deal .amt { font: 600 34px/0.85 var(--f-d); color: var(--yellow); }
.checks { display: grid; gap: 8px; }
.ck { display: flex; gap: 10px; font-size: 13px; }
.ck svg { width: 16px; height: 16px; flex: none; margin-top: 1px; }
.ck.ok svg { color: var(--green); }
.ck.no svg { color: var(--red); }
.ck b { display: block; font-weight: 500; color: var(--t); }
.ck span { color: var(--t2); }
.steps { display: flex; gap: 4px; }
.steps i { flex: 1; height: 4px; border-radius: 2px; background: var(--s3); }
.steps i.on { background: var(--blue); }
.steps i.done { background: var(--green); }
.stat { padding: 16px 18px; }
.stat b { display: block; font: 600 40px/0.85 var(--f-d); }
.stat span { display: block; margin-top: 6px; font-size: 12px; color: var(--t3); font-weight: 500; letter-spacing: .04em; text-transform: uppercase; }
.stats4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 760px) { .stats4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.board { display: grid; grid-template-columns: repeat(4, minmax(240px, 1fr)); gap: 12px; overflow-x: auto; padding-bottom: 8px; }
.lane { background: var(--s1); border: 1px solid var(--line); border-radius: var(--r-lg); display: flex; flex-direction: column; min-height: 200px; }
.lane-h { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.lane-b { padding: 10px; display: grid; gap: 8px; align-content: start; }
.bcard { padding: 12px; border-radius: var(--r); background: var(--s2); border: 1px solid var(--line); display: grid; gap: 8px; }
.bcard .nt { font-size: 13px; color: var(--t2); white-space: pre-wrap; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.filters { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin-bottom: 16px; }
.nrow { display: flex; gap: 12px; padding: 14px 16px; align-items: flex-start; color: inherit; text-decoration: none !important; }
.nrow:hover { background: var(--s2); }
.nrow .b { flex: 1; min-width: 0; font-size: 14px; color: var(--t2); }
.nrow .b b { color: var(--t); font-weight: 500; }
.nrow .tm { font-size: 12px; color: var(--t3); flex: none; }
.nrow.hot { box-shadow: inset 2px 0 0 var(--blue); }
.meter { height: 6px; border-radius: 3px; background: var(--s3); overflow: hidden; }
.meter i { display: block; height: 100%; background: var(--blue); border-radius: 3px; }
.todo { display: flex; gap: 10px; align-items: center; font-size: 14px; color: var(--t2); text-decoration: none !important; padding: 6px 0; }
.todo svg { width: 18px; height: 18px; flex: none; color: var(--t3); }
.todo.done { color: var(--t3); text-decoration: line-through !important; }
.todo.done svg { color: var(--green); }
a.todo:hover { color: var(--t); }
.pairs { display: grid; gap: 8px; }
.pairs .pr { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) 32px; gap: 8px; }
.drop { display: grid; place-items: center; gap: 8px; padding: 28px; border: 1px dashed var(--line2); border-radius: var(--r-lg); color: var(--t2); text-align: center; cursor: pointer; background: var(--bg); }
.drop:hover { border-color: var(--t3); }
.drop svg { width: 24px; height: 24px; }
.preview { position: relative; border-radius: var(--r-lg); overflow: hidden; background: #000; }
.preview img { width: 100%; max-height: 360px; object-fit: contain; }
.preview .btn { position: absolute; top: 8px; right: 8px; }
.legal { max-width: 760px; }
.boot { display: grid; place-items: center; min-height: 100dvh; color: var(--t3); }
.savebar { position: sticky; bottom: 12px; justify-content: flex-end; padding: 12px; margin: 0 -12px; border-radius: var(--r-lg); background: rgba(11, 12, 14, .9); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
@media (max-width: 900px) { .savebar { bottom: calc(var(--tab) + 8px + env(safe-area-inset-bottom)); } }
@media (max-width: 560px) { .hide-sm { display: none !important; } }
/* review fixes */
.prof .idrow { position: relative; z-index: 1; }
.prof .bigstats { background: none; border: 0; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); }
.prof .bigstats > div { border: 1px solid var(--line); border-radius: var(--r); background: var(--s2); }
.row > .who { flex: 1; min-width: 0; }
.row > .who + * { flex: none; }
.ck.info svg { color: var(--blue); }
.acard .jn { color: rgba(255, 255, 255, .045); }
@media (max-width: 700px) { .board { grid-template-columns: minmax(0, 1fr); overflow: visible; } .lane { min-height: 0; } }
button.todo { width: 100%; border: 0; background: none; text-align: left; font: inherit; cursor: pointer; }
/* toasts sit under the top bar so they never cover sheet buttons */
.toasts { top: calc(var(--top) + 12px); bottom: auto !important; }
button.media { display: block; width: 100%; padding: 0; border: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #000; cursor: zoom-in; }
.av svg { width: 16px; height: 16px; }

/* ---------- sport field art and broadcast plates ---------- */
.fieldart { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.fieldart g { stroke: rgba(236, 238, 241, .09); }
.fieldart .hot { stroke: var(--blue); stroke-opacity: .55; stroke-width: 2; }
.fieldart.mini { height: 92px; inset: 0 0 auto 0; opacity: .7; -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent); mask-image: linear-gradient(180deg, #000 30%, transparent); }
.acard > *:not(.fieldart):not(.jn) { position: relative; }
.prof .ban { height: 168px; background: linear-gradient(180deg, #0F1B27 0%, var(--s1) 100%); }
.prof .ban .fieldart g { stroke: rgba(236, 238, 241, .12); }
.prof .ban .line { background: var(--blue); }
.prof-coach .ban .line { background: var(--yellow); }
.prof-brand .ban .line { background: var(--red); }
.prof-brand .ban .fieldart .hot, .prof-coach .ban .fieldart .hot { stroke: var(--t3); }
.prof h1 { flex-wrap: wrap; }
.plate { display: inline-flex; align-items: stretch; gap: 0; min-width: 0; }
.plate .num { display: grid; place-items: center; min-width: 52px; padding: 6px 10px 0; margin-right: 12px; background: var(--yellow); color: #0B0C0E; border-radius: 6px; font: 600 40px/1 var(--f-d); }
.plate .nmtxt { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 600px) { .plate .num { min-width: 42px; font-size: 32px; } .prof .ban { height: 132px; } }

/* ---------- hero ---------- */
.hero { padding: 72px 20px 64px; }
.hero .herofield { opacity: .9; -webkit-mask-image: radial-gradient(ellipse at 70% 50%, #000 0%, transparent 75%); mask-image: radial-gradient(ellipse at 70% 50%, #000 0%, transparent 75%); }
.hero .herofield g { stroke: rgba(236, 238, 241, .07); }
.herogrid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr); gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(56px, 8.4vw, 116px); }
.demo { margin: 0; display: grid; gap: 10px; justify-items: center; }
.demo-card { position: relative; width: 100%; max-width: 380px; padding: 20px; border-radius: 16px; background: var(--s1); border: 1px solid var(--line2); overflow: hidden; display: grid; gap: 16px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .55), 0 0 0 1px rgba(34, 166, 255, .08); transform: rotate(-1.5deg); }
.demo-card > *:not(.fieldart) { position: relative; }
.demo-top { display: flex; gap: 14px; align-items: center; }
.demo-num { display: grid; place-items: center; width: 56px; height: 56px; padding-top: 6px; border-radius: 8px; background: var(--yellow); color: #0B0C0E; font: 600 40px/1 var(--f-d); }
.demo-nm { font: 600 34px/0.9 var(--f-d); text-transform: uppercase; padding-top: 4px; }
.demo-meta { font-size: 13px; color: var(--t2); margin-top: 4px; }
.demo-check { display: flex; gap: 8px; align-items: center; padding: 10px 12px; border-radius: 8px; background: var(--green-d); color: var(--t2); font-size: 13px; }
.demo-check svg { width: 16px; height: 16px; color: var(--green); flex: none; }
.demo-check b { color: var(--t); font-weight: 500; }
.demo figcaption { font-size: 12px; color: var(--t3); }
@media (max-width: 860px) { .herogrid { grid-template-columns: minmax(0, 1fr); gap: 36px; } .demo-card { transform: none; } .hero { padding-top: 48px; } }
.hero .herofield { left: auto; right: 0; width: 62%; -webkit-mask-image: linear-gradient(90deg, transparent, #000 35%); mask-image: linear-gradient(90deg, transparent, #000 35%); }
.hero .herofield .hot { stroke-opacity: .35; }
.fieldart.mini { opacity: .45; }
.numchip { display: inline-grid; place-items: center; min-width: 30px; height: 26px; padding: 3px 6px 0; border-radius: 4px; background: var(--yellow); color: #0B0C0E; font: 600 22px/1 var(--f-d); }
@media (max-width: 860px) { .hero .herofield { width: 100%; opacity: .5; } }
/* film */
.film { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; background: #000; border: 1px solid var(--line); }
.film iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
/* empty states sit on faint field lines */
.card > .empty { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='64' viewBox='0 0 160 64'%3E%3Cg fill='none' stroke='%23ECEEF1' stroke-opacity='.05'%3E%3Cpath d='M0 .5h160M0 32.5h160M40.5 0v64M120.5 0v64'/%3E%3Ccircle cx='80' cy='32' r='12'/%3E%3C/g%3E%3C/svg%3E"); background-position: center; border-radius: inherit; }
/* one-pager: printing an athlete profile gives a clean single page for brands and coaches */
@media print {
  @page { margin: 12mm; }
  body { background: #fff !important; color: #111 !important; }
  .top, .side, .tabbar, .toasts, .note, .prof .acts, .pgrid, .sec-h, .film, .scrim, .card-h a, .savebar { display: none !important; }
  .shell { display: block !important; } .main { padding: 0 !important; } .page { max-width: none !important; }
  .cols { grid-template-columns: 1fr 1fr !important; } .cols > aside { position: static !important; }
  .card, .prof .bigstats > div, .rates > div, .soc a { background: #fff !important; border-color: #ccc !important; color: #111 !important; box-shadow: none !important; }
  .prof .ban { height: 70px !important; background: #f2f4f6 !important; } .fieldart g { stroke: rgba(0,0,0,.12) !important; }
  .prof .bigstats b, .rates b, .soc a b { color: #111 !important; } .muted, .dim, .kv dt, .prof .line1, .prof .line2 { color: #555 !important; }
  .plate .num { border: 1px solid #111; } a { color: #111 !important; text-decoration: none !important; }
  .post, .empty { display: none !important; }
}
.conv .ch .who { flex: 1; min-width: 0; }
.printonly { display: none; }
@media print {
  .noprint, .film + .btn, .prof .bigstats + .note { display: none !important; }
  .printonly { display: block !important; color: #333 !important; margin-top: 6px; word-break: break-all; }
  .cols { display: block !important; } .cols > div:first-child { display: none !important; }
  .cols > aside { display: grid !important; grid-template-columns: 1fr 1fr; gap: 10px !important; margin-top: 12px; }
  .prof b, .prof h1 { color: #111 !important; } .card-h { padding: 8px 12px !important; } .card-b { padding: 10px 12px !important; }
  .h2 { font-size: 22px !important; } .card { break-inside: avoid; }
}
/* compare */
.cmptray { position: sticky; top: calc(var(--top) + 8px); z-index: 20; display: flex; align-items: center; gap: 10px; max-width: 1080px; margin: 0 auto 16px; padding: 10px 14px; border-radius: var(--r-lg); background: var(--s2); border: 1px solid var(--blue); font-size: 14px; }
.cmptray span { margin-right: auto; }
.cmpwrap { overflow-x: auto; }
.cmp { width: 100%; border-collapse: collapse; min-width: 560px; }
.cmp th, .cmp td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 14px; }
.cmp thead th { vertical-align: bottom; }
.cmp tbody th { color: var(--t3); font-weight: 500; width: 160px; white-space: nowrap; }
.cmp tr.grp th { padding-top: 20px; font: 600 20px/1 var(--f-d); text-transform: uppercase; color: var(--t); border-bottom-color: var(--line2); }
.cmp .cv { font: 600 24px/1 var(--f-d); color: var(--yellow); }
.cmp thead th { font-weight: 400; }
.cmp thead .btn { justify-self: start; }
.cmp thead .stack { justify-items: start; }
.acard .pitch { position: relative; margin: 0; padding: 10px 12px; border-radius: var(--r); background: var(--s2); font-size: 13px; color: var(--t2); white-space: pre-wrap; }
.splash { display: grid; justify-items: center; gap: 12px; color: var(--t); animation: fade .4s ease; }
.splash svg { width: 48px; height: 48px; }
.splash span { font: 600 28px/1 var(--f-d); text-transform: uppercase; letter-spacing: .04em; }
.how { list-style: none; counter-reset: how; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.how li { counter-increment: how; position: relative; padding: 56px 20px 20px; border-radius: var(--r-lg); background: var(--s1); border: 1px solid var(--line); }
.how li::before { content: counter(how); position: absolute; left: 20px; top: 14px; display: grid; place-items: center; width: 34px; height: 34px; padding-top: 4px; border-radius: 6px; background: var(--yellow); color: #0B0C0E; font: 600 26px/1 var(--f-d); }
.how b { display: block; font: 600 26px/0.95 var(--f-d); text-transform: uppercase; margin-bottom: 8px; }
.how p { margin: 0; color: var(--t2); font-size: 14px; }
.card > .empty { background-size: 160px 64px; opacity: 1; }
@media (max-width: 600px) { .cmp tbody th { width: 96px; white-space: normal; } .cmp { min-width: 420px; } .stat { padding: 12px; } .stat span { font-size: 11px; } }
/* program pages */
.sch-hero { position: relative; overflow: hidden; padding: 28px 24px; }
.sch-hero .fieldart { opacity: .8; }
.sch-hero > *:not(.fieldart) { position: relative; }
.sch-hero h1 { font: 600 52px/0.9 var(--f-d); text-transform: uppercase; }
.sch-stats { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 16px; }
.sch-stats b { display: block; font: 600 34px/0.9 var(--f-d); color: var(--yellow); }
.sch-stats span { font-size: 12px; color: var(--t3); text-transform: uppercase; letter-spacing: .05em; }
a.schl { color: inherit; } a.schl:hover { color: var(--blue); }
.sch-hero .fieldart { -webkit-mask-image: linear-gradient(90deg, transparent 0 40%, #000 75%); mask-image: linear-gradient(90deg, transparent 0 40%, #000 75%); }
.who .sub { display: block; }
a.card.deal > .row > svg { width: 20px; height: 20px; flex: none; color: var(--t3); }
@media (max-width: 600px) { .stats4 .stat b { font-size: 30px; } .stat b { white-space: nowrap; } }
.stat { min-width: 0; } .stat b { overflow: hidden; text-overflow: clip; }
.stats3 { display: flex; flex-wrap: wrap; gap: 12px; } .stats3 > .stat { flex: 1 1 auto; min-width: 96px; } .stats3 .stat b { white-space: nowrap; overflow: visible; }
/* photo editor */
.crop { position: relative; width: min(100%, 360px); aspect-ratio: 1; margin: 0 auto; border-radius: var(--r-lg); overflow: hidden; background: #000; touch-action: none; }
.crop canvas { display: block; width: 100%; height: 100%; cursor: grab; }
.crop canvas:active { cursor: grabbing; }
.crop canvas:focus-visible { outline: 2px solid var(--blue); outline-offset: -2px; }
.crop-mask { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle closest-side, transparent calc(100% - 2px), rgba(236, 238, 241, .9) calc(100% - 2px), rgba(236, 238, 241, .9) 100%, rgba(11, 12, 14, .66) 100%); }
.crop.sq .crop-mask { background: none; border: 2px solid rgba(236, 238, 241, .9); border-radius: 14px; }
input[type=range] { accent-color: var(--blue); height: 28px; }
/* news */
.nb { position: relative; overflow: hidden; margin: 0 16px; padding: 18px; border-radius: var(--r-lg); background: linear-gradient(180deg, #11202E, var(--s2)); border: 1px solid var(--line2); display: grid; gap: 6px; }
.nb > *:not(.fieldart) { position: relative; }
.nb .fieldart.mini { height: 100%; opacity: .5; }
.nb-k { font: 600 15px/1 var(--f-b); letter-spacing: .02em; color: var(--yellow); }
.nb-commitment .nb-k, .nb-signing .nb-k { display: inline-block; justify-self: start; padding: 6px 10px 4px; border-radius: 4px; background: var(--yellow); color: #0B0C0E; font: 600 22px/1 var(--f-d); text-transform: uppercase; }
.nb-transfer .nb-k { color: var(--blue); }
.nb-h { font: 600 clamp(34px, 7vw, 48px)/0.92 var(--f-d); text-transform: uppercase; overflow-wrap: anywhere; }
.nb-h .arrow { color: var(--blue); }
.nb-award { background: linear-gradient(180deg, #2A2610, var(--s2)); }
.nb-prog .nb-h { font-size: clamp(28px, 6vw, 38px); }
.nb-score { gap: 12px; }
.nb-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.sb { display: grid; gap: 1px; background: var(--line2); border-radius: var(--r); overflow: hidden; }
.sbr { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; background: var(--s1); color: var(--t2); }
.sbr span { font: 600 26px/1 var(--f-d); text-transform: uppercase; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding-top: 3px; }
.sbr b { font: 600 40px/0.9 var(--f-d); min-width: 2ch; text-align: right; }
.sbr.w { color: var(--t); } .sbr.w b { color: var(--yellow); }
.post .nb + .bd { padding-top: 12px; }
.freeline { display: flex; gap: 10px; align-items: flex-start; margin-top: 18px; color: var(--t2); font-size: 15px; max-width: 560px; }
.freeline svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--green); }
.freeline b { color: var(--t); font-weight: 500; }
.freeline.sm { margin: 0; padding: 10px 12px; border-radius: var(--r); background: var(--green-d); font-size: 13px; }
/* the official Varsy account wears the logo instead of initials */
.av.team { background: #0B0C0E; border-color: rgba(34, 166, 255, .45); }
.av.team svg { width: 64%; height: 64%; }

/* ---------- polish: softer geometry, pill controls, photo-first posts ----------
   Rounder surfaces and pill controls read as a modern social app; the broadcast type and signal colors stay. */
:root { --r: 12px; --r-lg: 22px; --edge: rgba(255, 255, 255, .06); }
.card { border-color: var(--edge); box-shadow: 0 1px 0 rgba(255, 255, 255, .03) inset, 0 10px 30px rgba(0, 0, 0, .25); }
.card-h { border-bottom-color: var(--edge); padding: 16px 20px; }
.card-b { padding: 20px; }
.list > * + * { border-top-color: var(--edge); }
.btn { border-radius: 999px; height: 40px; padding: 0 18px; border-color: var(--edge); background: var(--s2); }
.btn.sm { height: 34px; padding: 0 14px; }
.btn.lg { height: 50px; padding: 0 26px; }
.btn.icon { width: 40px; padding: 0; }
.btn.sm.icon { width: 34px; }
.btn.pri { box-shadow: 0 6px 20px rgba(34, 166, 255, .28); }
.btn.ghost { border-color: transparent; background: none; }
.in { height: 44px; border-radius: 14px; border-color: var(--line); background: var(--s1); padding: 0 14px; }
textarea.in { padding: 12px 14px; }
.top .search input { border-radius: 999px; height: 40px; background: var(--s1); border-color: var(--edge); }
.tag { border-radius: 999px; height: 24px; padding: 0 10px; }
.chip { height: 32px; padding: 0 14px; font-size: 13px; border-color: var(--edge); background: var(--s1); }
.note { border-radius: 16px; border-color: var(--edge); padding: 14px 16px; }
.pop { border-radius: 18px; border-color: var(--edge); }
.pop .mi { border-radius: 12px; height: 40px; }
.sheet { border-radius: 26px; border-color: var(--edge); }
.sheet-h, .sheet-f { border-color: var(--edge); }
.nav { height: 44px; border-radius: 14px; }
.nav.on { background: var(--s2); box-shadow: none; }
.nav.on svg { color: var(--blue); }
.side { border-right-color: var(--edge); }
.top { border-bottom-color: var(--edge); }
.tabs { border-bottom: 0; gap: 6px; padding: 4px; background: var(--s1); border-radius: 999px; width: max-content; max-width: 100%; border: 1px solid var(--edge); }
.tabs button { height: 36px; padding: 0 16px; border-radius: 999px; }
.tabs button[aria-selected="true"] { background: var(--s3); }
.tabs button[aria-selected="true"]::after { display: none; }

/* posts: photo inset in the card with its own rounding, actions as pills */
.post .ph2 { padding: 16px 18px 12px; }
.post .media { margin: 0 12px; width: calc(100% - 24px); border: 0; border-radius: 18px; overflow: hidden; background: #000; }
.post .media img { max-height: 680px; }
.post .bd { padding: 14px 18px 8px; }
.post .cap { font-size: 15px; line-height: 1.55; }
.post .ft { padding: 8px 14px 14px; gap: 6px; }
.prop { height: 34px; padding: 0 12px; border-color: var(--edge); background: var(--s2); }
.cmts { border-top-color: var(--edge); padding: 12px 18px 16px; }
.post .nb { margin: 0 12px; border-radius: 18px; overflow: hidden; }

/* athletes to watch, like stories */
.rail { display: grid; gap: 12px; }
.rail-h { display: flex; align-items: baseline; justify-content: space-between; }
.rail-h .h3 { font-weight: 600; }
.rail-row { display: flex; gap: 14px; overflow-x: auto; padding: 2px 2px 6px; scroll-snap-type: x proximity; scrollbar-width: none; }
.rail-row::-webkit-scrollbar { display: none; }
.rail-i { flex: none; width: 84px; display: grid; justify-items: center; gap: 2px; text-align: center; color: var(--t); text-decoration: none !important; scroll-snap-align: start; }
.rail-i .ring { padding: 3px; border-radius: 50%; background: var(--line2); margin-bottom: 6px; transition: transform .15s; }
.rail-i .ring.vfd { background: conic-gradient(from 200deg, var(--blue), var(--yellow), var(--blue)); }
.rail-i .ring .av { border: 3px solid var(--bg); width: 70px; height: 70px; }
.rail-i:hover .ring { transform: scale(1.04); }
.rail-i b { font-size: 13px; font-weight: 500; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rail-i span:last-child { font-size: 11px; color: var(--t3); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* profile: ringed photo and a big count row */
.prof .ban { height: 168px; border-bottom: 0; }
.prof .ban .line { height: 2px; opacity: .8; }
.prof .body { padding: 0 24px 24px; }
.prof .idrow { margin-top: -60px; }
.prof .av.xl { width: 120px; height: 120px; border: 4px solid var(--s1); box-shadow: 0 0 0 2px var(--blue), 0 12px 30px rgba(0, 0, 0, .45); }
.prof .av.xl.sq { border-radius: 28px; }
.pcounts { display: flex; gap: 28px; margin-top: 18px; flex-wrap: wrap; }
.pcounts div { display: grid; gap: 2px; }
.pcounts b { font: 600 32px/.9 var(--f-d); color: var(--t); padding-top: 2px; }
.pcounts span { font-size: 12px; color: var(--t3); }
.prof .bigstats { border-radius: 18px; border-color: var(--edge); background: var(--edge); }
.pgrid { gap: 6px; }
.pgrid a { border-radius: 14px; }
.acard { border-color: var(--edge); }

/* phones: a floating pill tab bar */
@media (max-width: 900px) {
  .tabbar { left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); height: var(--tab); padding-bottom: 0; border-radius: 26px;
    border: 1px solid var(--line2); background: rgba(18, 20, 24, .88); box-shadow: 0 14px 40px rgba(0, 0, 0, .55); }
  .main { padding-bottom: calc(var(--tab) + 48px + env(safe-area-inset-bottom)); }
  .tabbar a.on::before { content: ""; position: absolute; top: 8px; width: 40px; height: 32px; border-radius: 12px; background: var(--blue-d); }
  .tabbar a svg, .tabbar a span { position: relative; }
  .prof .body { padding: 0 18px 20px; }
  .prof .av.xl { width: 104px; height: 104px; }
  .pcounts { gap: 22px; }
}
.prof .bigstats { background: none; border: 0; gap: 8px; }
.prof .bigstats > div { background: var(--s2); border: 1px solid var(--edge); border-radius: 16px; }
/* live community band under the landing hero */
.live { border-bottom: 1px solid var(--edge); background: linear-gradient(90deg, rgba(34,166,255,.08), transparent 60%); }
.live .in2 { max-width: 1080px; margin: 0 auto; padding: 18px 20px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.live .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(43,214,123,.6); animation: livepulse 2s infinite; flex: none; }
@keyframes livepulse { 70% { box-shadow: 0 0 0 10px rgba(43,214,123,0); } 100% { box-shadow: 0 0 0 0 rgba(43,214,123,0); } }
.livenums { display: flex; gap: 28px; flex-wrap: wrap; margin-left: auto; }
.livenums div { display: grid; }
.livenums b { font: 600 34px/.9 var(--f-d); padding-top: 3px; }
.livenums span { font-size: 12px; color: var(--t3); }
.live .btn { margin-left: auto; }
