@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/manrope-latin.woff2") format("woff2");
}

:root {
  --nav: #101722;
  --page: #f3f2ef;
  --card: #ffffff;
  --text: #181818;
  --muted: #666666;
  --line: #d8d8d8;
  --blue: #0a66c2;
  --blue-hover: #004182;
  --green: #237a57;
  --radius: 13px;
  --shell: min(1128px, calc(100vw - 32px));
  --header: 62px;
  --sans: "Manrope", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: "Manrope", ui-sans-serif, system-ui, sans-serif;
}

[hidden] { display: none !important; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 14px); }
body { margin: 0; color: var(--text); background: #fff; font-family: var(--sans); font-size: 15px; line-height: 1.45; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid rgba(10,102,194,.35); outline-offset: 3px; }

.skip-link { position: fixed; top: 7px; left: 7px; z-index: 100; padding: 9px 13px; color: var(--text); background: white; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.site-header { position: sticky; top: 0; z-index: 50; height: var(--header); color: white; background: rgba(16,23,34,.98); border-bottom: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(14px); }
.topbar { width: var(--shell); height: 100%; margin: 0 auto; display: grid; grid-template-columns: auto minmax(180px, 270px) 1fr auto; align-items: center; gap: 19px; }
.brand { display: flex; align-items: center; gap: 10px; min-width: max-content; }
.brand img { width: 27px; height: 31px; object-fit: contain; }
.brand-wordmark { font-size: .69rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.search-box { position: relative; }
.search-box::before { position: absolute; top: 50%; left: 13px; content: "⌕"; color: #a9b0b8; font-size: 1.1rem; transform: translateY(-52%); }
.search-box input { width: 100%; height: 38px; padding: 0 13px 0 38px; color: white; background: #263242; border: 1px solid transparent; border-radius: 7px; outline: 0; }
.search-box input::placeholder { color: #bbc1c7; }
.search-box input:focus { background: #303d4d; border-color: #6f7c89; }
.primary-nav { justify-self: end; align-self: stretch; display: flex; }
.primary-nav a { position: relative; min-width: 78px; padding: 11px 8px 6px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #b7bec6; font-size: .66rem; font-weight: 700; }
.nav-glyph { display: block; font-size: 1.03rem; line-height: 1; }
.primary-nav a:hover, .primary-nav a[aria-current="page"] { color: white; }
.primary-nav a[aria-current="page"]::after { position: absolute; right: 8px; bottom: 0; left: 8px; height: 2px; content: ""; background: white; }
.account-link { width: 38px; height: 38px; display: grid; place-items: center; color: white; background: var(--blue); border: 2px solid rgba(255,255,255,.48); border-radius: 50%; font-size: .72rem; font-weight: 800; }
.nav-toggle { display: none; width: 40px; height: 40px; padding: 0; color: white; background: transparent; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; cursor: pointer; }
.nav-toggle-lines, .nav-toggle-lines::before, .nav-toggle-lines::after { width: 16px; height: 1px; background: currentColor; transition: transform 180ms ease; }
.nav-toggle-lines { position: relative; display: block; margin: auto; }
.nav-toggle-lines::before, .nav-toggle-lines::after { position: absolute; left: 0; content: ""; }
.nav-toggle-lines::before { top: -5px; }
.nav-toggle-lines::after { top: 5px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-lines { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-lines::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-lines::after { top: 0; transform: rotate(-45deg); }

.page-shell { width: var(--shell); margin: 24px auto 72px; display: grid; grid-template-columns: minmax(0, 2.05fr) minmax(280px, .95fr); gap: 48px; align-items: start; }
.profile-column, .sidebar { min-width: 0; display: grid; gap: 0; }
.card { background: transparent; border: 0; border-radius: 0; box-shadow: none; overflow: visible; }
.section-card { padding: 34px 0; border-top: 1px solid var(--line); }
.activity-card { margin: 28px 0; padding: 26px; background: white; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 2px 10px rgba(16,23,34,.05); }
.section-heading { margin: 0 0 18px; font-family: var(--serif); font-size: 1.35rem; font-weight: 750; line-height: 1.15; letter-spacing: -.035em; }
.section-heading-row { margin-bottom: 18px; display: flex; align-items: baseline; justify-content: space-between; gap: 20px; }
.section-heading-row .section-heading { margin: 0; }
.section-link { color: var(--blue); font-size: .77rem; font-weight: 750; }

.profile-cover { position: relative; height: 205px; border-radius: var(--radius); overflow: hidden; background: linear-gradient(118deg, #101722 0%, #26364b 62%, #48637c 100%); }
.profile-cover::before, .profile-cover::after { position: absolute; content: ""; }
.profile-cover::before { width: 390px; height: 390px; top: -260px; right: -30px; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; box-shadow: 0 0 0 70px rgba(255,255,255,.025), 0 0 0 140px rgba(255,255,255,.02); }
.profile-cover::after { inset: 0; opacity: .13; background: repeating-linear-gradient(90deg, transparent 0 115px, rgba(255,255,255,.28) 116px 117px); }
.provider-cover { background: linear-gradient(118deg, #111722 0%, #303947 62%, #596879 100%); }
.provider-cover::before { border-radius: 0; transform: rotate(45deg); }
.cover-code { position: absolute; right: 24px; bottom: 19px; z-index: 2; color: rgba(255,255,255,.68); font-size: .61rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.cover-brand { position: absolute; top: 21px; left: 24px; z-index: 2; display: flex; align-items: center; gap: 10px; color: white; font-size: .65rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.cover-brand img { width: 24px; height: 28px; }

.identity { position: relative; padding: 0 0 36px; border-bottom: 1px solid var(--line); }
.avatar { width: 150px; height: 150px; margin-top: -78px; display: grid; place-items: center; color: white; background: linear-gradient(145deg, #35485b, #142231); border: 5px solid white; border-radius: 50%; box-shadow: 0 1px 4px rgba(0,0,0,.14); font-family: var(--serif); font-size: 2.35rem; font-weight: 750; letter-spacing: -.07em; }
.avatar img, .person-avatar img, .feed-profile-avatar img { width: 100%; height: 100%; aspect-ratio: 1 / 1; display: block; object-fit: cover; border-radius: inherit; }
.provider-avatar { background: linear-gradient(145deg, #525e69, #1a222b); }
.identity-grid { margin-top: 14px; display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 24px; align-items: start; }
.profile-name { margin: 0; font-family: var(--serif); font-size: 2.35rem; font-weight: 750; line-height: 1; letter-spacing: -.055em; }
.profile-headline { max-width: 620px; margin: 10px 0 0; color: #303030; font-size: 1rem; }
.status.profile-status { margin-top: 11px; color: var(--green); }
.profile-meta { margin: 7px 0 0; color: var(--muted); font-size: .81rem; }
.profile-meta a { color: var(--blue); font-weight: 750; }
.connections { margin: 9px 0 0; color: var(--blue); font-size: .79rem; font-weight: 750; }
.affiliation { min-width: 180px; padding-top: 3px; display: grid; gap: 12px; }
.affiliation-item { display: flex; align-items: center; gap: 10px; font-size: .77rem; font-weight: 750; line-height: 1.25; }
.affiliation-mark { width: 34px; height: 34px; display: grid; flex: 0 0 auto; place-items: center; color: white; background: var(--nav); border-radius: 6px; font-size: .6rem; font-weight: 900; }
.affiliation-mark img { width: 28px; height: 28px; display: block; object-fit: contain; }
.verified { display: inline-flex; align-items: center; gap: 5px; color: var(--blue); }
.verified::before { width: 15px; height: 15px; display: grid; place-items: center; color: white; background: var(--blue); border-radius: 50%; content: "✓"; font-size: .59rem; font-weight: 900; }
.profile-actions { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.button { min-height: 38px; padding: 0 18px; display: inline-flex; align-items: center; justify-content: center; color: var(--blue); background: white; border: 1.5px solid var(--blue); border-radius: 999px; cursor: pointer; font-size: .78rem; font-weight: 750; transition: background 150ms ease, color 150ms ease, transform 150ms ease; }
.button:hover { background: #eef5fc; transform: translateY(-1px); }
.button.primary { color: white; background: var(--blue); }
.button.primary:hover { background: var(--blue-hover); border-color: var(--blue-hover); }
.button.muted { color: #555; border-color: #777; }
.quick-stats { margin-top: 24px; padding-top: 19px; display: grid; grid-template-columns: repeat(5,1fr); border-top: 1px solid var(--line); }
.quick-stat { padding: 0 16px; border-left: 1px solid var(--line); }
.quick-stat:first-child { padding-left: 0; border-left: 0; }
.quick-stat strong { display: block; font-family: var(--serif); font-size: 1.45rem; font-weight: 750; line-height: 1; letter-spacing: -.05em; }
.quick-stat span { display: block; margin-top: 7px; color: var(--muted); font-size: .61rem; font-weight: 750; letter-spacing: .07em; text-transform: uppercase; }
.profile-facts { margin-top: 22px; padding-top: 21px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.fact-group { min-width: 0; padding: 0 20px; border-left: 1px solid var(--line); }
.fact-group:first-child { padding-left: 0; border-left: 0; }
.fact-group:last-child { padding-right: 0; }
.fact-title { margin: 0 0 12px; color: var(--muted); font-size: .63rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.fact-copy { margin: 0; color: #3f3f3f; font-size: .74rem; }
.player-facts { grid-template-columns: minmax(230px, .78fr) minmax(330px, 1.22fr); }
.player-pitch-group { min-width: 0; }
.football-pitch { position: relative; width: min(100%, 228px); margin: 0 auto; aspect-ratio: .66; overflow: hidden; color: var(--nav); background: repeating-linear-gradient(0deg, #f8fcff 0 12.5%, #eaf5fc 12.5% 25%); border: 1px solid #b9d7ea; border-radius: 8px; box-shadow: inset 0 0 0 8px #fff; transform: rotate(180deg); }
.football-pitch::before { position: absolute; inset: 9px; content: ""; border: 1px solid #8ebbd7; }
.pitch-halfway { position: absolute; right: 9px; left: 9px; top: 50%; height: 1px; background: #8ebbd7; }
.pitch-centre { position: absolute; top: 50%; left: 50%; width: 39%; aspect-ratio: 1; border: 1px solid #8ebbd7; border-radius: 50%; transform: translate(-50%,-50%); }
.pitch-centre::after { position: absolute; top: 50%; left: 50%; width: 4px; height: 4px; content: ""; background: #6fa8cb; border-radius: 50%; transform: translate(-50%,-50%); }
.pitch-box { position: absolute; right: 27%; left: 27%; height: 14%; border: 1px solid #8ebbd7; }
.pitch-box-top { top: 9px; border-top: 0; }
.pitch-box-bottom { bottom: 9px; border-bottom: 0; }
.position-marker { position: absolute; z-index: 2; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; box-shadow: 0 4px 14px rgba(10,24,32,.3); font-size: .58rem; font-weight: 850; transform: translate(-50%,-50%) rotate(180deg); }
.position-lw { top: 24%; left: 22%; color: white; background: var(--blue); border: 3px solid white; }
.position-cam { top: 35%; left: 50%; color: var(--nav); background: white; border: 2px solid var(--nav); }
.position-data { color: white; background: var(--blue); border: 3px solid white; }
.pitch-key { margin: 10px 0 0; display: flex; flex-wrap: wrap; gap: 12px 18px; color: var(--muted); font-size: .64rem; font-weight: 700; }
.pitch-key span { display: inline-flex; align-items: center; gap: 6px; }
.pitch-key i { width: 9px; height: 9px; display: inline-block; border-radius: 50%; }
.key-primary { background: var(--blue); }
.key-secondary { background: white; border: 1px solid var(--nav); }

.about-copy { margin: 0; color: #383838; white-space: pre-line; }
.skill-list { margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.skill-list li { padding: 7px 11px; color: #404040; background: #f3f4f5; border: 1px solid #e1e1e1; border-radius: 999px; font-size: .71rem; font-weight: 700; }
.services-section { padding: 34px 0; display: grid; gap: 14px; border-top: 1px solid var(--line); }
.services-section > .section-heading { margin: 4px 0 2px; }
.service-list { margin: 0; padding: 0; display: grid; gap: 14px; list-style: none; }
.service-item { min-height: 195px; display: grid; grid-template-columns: 210px minmax(0, 1fr); background: white; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 5px 18px rgba(16, 23, 34, .07); overflow: hidden; }
.service-visual { position: relative; min-height: 195px; isolation: isolate; color: white; background: linear-gradient(135deg, #111925, #40566d); overflow: hidden; }
.service-visual::before { position: absolute; inset: 0; z-index: -1; content: ""; opacity: .18; background: repeating-linear-gradient(90deg, transparent 0 39px, rgba(255,255,255,.32) 40px 41px); }
.service-visual::after { position: absolute; right: -20px; bottom: -48px; z-index: -1; content: "01"; color: rgba(255,255,255,.09); font-size: 9rem; font-weight: 800; line-height: 1; letter-spacing: -.12em; }
.service-item:nth-child(2) .service-visual { background: linear-gradient(135deg, #1c2632, #677480); }
.service-item:nth-child(2) .service-visual::after { content: "02"; }
.service-item:nth-child(3) .service-visual { background: linear-gradient(135deg, #151c25, #38414b); }
.service-item:nth-child(3) .service-visual::after { content: "03"; }
.service-badge { position: absolute; top: 14px; left: 14px; padding: 7px 11px; color: white; background: var(--blue); border-radius: 999px; font-size: .67rem; font-weight: 800; }
.service-visual-label { position: absolute; right: 15px; bottom: 14px; left: 15px; color: rgba(255,255,255,.76); font-size: .58rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.service-content { position: relative; min-width: 0; padding: 22px 56px 20px 24px; display: flex; flex-direction: column; }
.service-save { position: absolute; top: 14px; right: 15px; width: 36px; height: 36px; padding: 0; color: #29343e; background: transparent; border: 0; border-radius: 50%; cursor: pointer; font-size: 1.65rem; line-height: 1; }
.service-save:hover { background: #f1f3f4; }
.service-save[aria-pressed="true"] { color: var(--blue); }
.service-title { max-width: 90%; margin: 0; font-size: 1.02rem; font-weight: 800; line-height: 1.25; }
.service-description { margin: 9px 0 0; color: #474747; font-size: .79rem; line-height: 1.45; }
.service-meta { margin: 10px 0 0; color: var(--muted); font-size: .74rem; }
.service-price { margin-top: auto; padding-top: 14px; color: var(--green); font-size: 1.12rem; font-weight: 800; }
.activity-head { display: flex; align-items: center; gap: 11px; }
.mini-avatar { width: 42px; height: 42px; display: grid; flex: 0 0 auto; place-items: center; color: white; background: var(--nav); border-radius: 50%; font-family: var(--serif); font-size: .76rem; font-weight: 750; }
.activity-author { margin: 0; font-size: .82rem; font-weight: 750; }
.activity-time { margin: 1px 0 0; color: var(--muted); font-size: .69rem; }
.post-copy { margin: 17px 0; }
.social-art { position: relative; min-height: 235px; padding: 24px; display: flex; flex-direction: column; justify-content: space-between; color: white; background: linear-gradient(120deg, #111925, #32485f); border-radius: 11px; overflow: hidden; }
.social-art::after { position: absolute; right: -15px; bottom: -65px; content: "XI"; color: rgba(255,255,255,.07); font-size: 11rem; font-weight: 900; letter-spacing: -.18em; }
.provider-art { background: linear-gradient(120deg, #171d25, #4a5662); }
.social-kicker, .social-caption { position: relative; z-index: 1; }
.social-kicker { font-size: .61rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.social-caption { max-width: 470px; font-family: var(--serif); font-size: clamp(1.8rem,4vw,3.1rem); font-weight: 750; line-height: .98; letter-spacing: -.055em; }
.engagement { margin-top: 13px; padding-top: 12px; display: flex; justify-content: space-between; color: var(--muted); border-top: 1px solid var(--line); font-size: .71rem; }

.experience-list { margin: 0; padding: 0; list-style: none; }
.experience-item { padding: 20px 0; display: grid; grid-template-columns: 52px minmax(0,1fr); gap: 15px; border-top: 1px solid var(--line); }
.experience-item:first-child { padding-top: 0; border-top: 0; }
.experience-item:last-child { padding-bottom: 0; }
.experience-logo { width: 48px; height: 48px; display: grid; place-items: center; color: white; background: var(--nav); border-radius: 7px; font-size: .63rem; font-weight: 900; }
.experience-title { margin: 0; font-size: .91rem; font-weight: 750; }
.experience-org, .experience-date, .experience-description { margin: 3px 0 0; }
.experience-org { font-size: .79rem; }
.experience-date { color: var(--muted); font-size: .74rem; }
.experience-description { color: #444; font-size: .79rem; }

.sidebar { padding-left: 30px; border-left: 1px solid var(--line); }
.sidebar-card { padding: 26px 0; border-bottom: 1px solid var(--line); }
.sidebar-card:first-child { padding-top: 0; }
.sidebar-title { margin: 0 0 16px; font-family: var(--serif); font-size: 1.05rem; font-weight: 750; letter-spacing: -.03em; }
.detail-list { margin: 0; }
.detail-row { padding: 11px 0; display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; border-top: 1px solid #ededed; }
.detail-row:first-child { padding-top: 0; border-top: 0; }
.detail-row dt { color: var(--muted); font-size: .74rem; }
.detail-row dd { margin: 0; font-size: .74rem; font-weight: 750; text-align: right; }
.status { display: flex; align-items: center; gap: 9px; margin: 0; font-size: .79rem; font-weight: 750; }
.status::before { width: 9px; height: 9px; content: ""; background: var(--green); border-radius: 50%; box-shadow: 0 0 0 4px rgba(35,122,87,.12); }
.people-list { display: grid; gap: 18px; }
.person { display: grid; grid-template-columns: 46px minmax(0,1fr); gap: 11px; align-items: start; }
.person-avatar { width: 46px; aspect-ratio: 1 / 1; display: grid; flex: 0 0 46px; place-items: center; color: white; background: #46515d; border-radius: 50%; overflow: hidden; font-family: var(--serif); font-size: .73rem; font-weight: 750; }
.person-name { margin: 0; font-size: .79rem; font-weight: 750; }
.person-role { margin: 2px 0 7px; color: var(--muted); font-size: .69rem; line-height: 1.3; }
.small-button { padding: 5px 11px; color: #444; background: white; border: 1px solid #777; border-radius: 999px; cursor: pointer; font-size: .67rem; font-weight: 700; }
.privacy-note { margin: 0; color: var(--muted); font-size: .71rem; }
.privacy-note strong { color: var(--text); }
.aside-links { display: grid; }
.aside-links a { padding: 11px 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; color: #3d3d3d; border-top: 1px solid #ededed; font-size: .76rem; font-weight: 700; }
.aside-links a:first-child { padding-top: 0; border-top: 0; }
.aside-links a::after { color: var(--blue); content: "→"; }

.site-footer { padding: 34px 0 44px; color: var(--muted); }
.footer-inner { width: var(--shell); margin: 0 auto; display: flex; justify-content: space-between; gap: 20px; font-size: .69rem; }
.toast { position: fixed; right: 22px; bottom: 22px; z-index: 70; max-width: calc(100vw - 44px); padding: 12px 17px; color: white; background: var(--nav); border-radius: 999px; box-shadow: 0 12px 40px rgba(0,0,0,.2); font-size: .74rem; font-weight: 700; transform: translateY(150%); transition: transform 200ms ease; }
.toast.show { transform: translateY(0); }

.feed-page { background: #f4f4f2; }
.feed-shell { width: var(--shell); margin: 22px auto 70px; display: grid; grid-template-columns: 218px minmax(0, 1fr) 270px; gap: 20px; align-items: start; }
.feed-stream { min-width: 0; display: grid; gap: 14px; }
.feed-rail { min-width: 0; display: grid; gap: 14px; position: sticky; top: calc(var(--header) + 18px); }
.feed-profile-card, .feed-quick-links, .composer, .feed-post, .feed-side-section { background: white; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.feed-profile-cover { height: 62px; background: linear-gradient(118deg, #101722, #48637c); }
.feed-profile-main { padding: 0 16px 17px; display: grid; justify-items: center; text-align: center; }
.feed-profile-avatar { width: 72px; height: 72px; margin-top: -38px; display: grid; place-items: center; color: white; background: linear-gradient(145deg, #35485b, #142231); border: 4px solid white; border-radius: 50%; font-size: 1.15rem; font-weight: 800; }

.directory-shell { width: var(--shell); margin: 34px auto 70px; }
.directory-header { padding-bottom: 25px; display: flex; align-items: end; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); }
.directory-title { margin: 0; font-family: var(--serif); font-size: clamp(2rem, 5vw, 3.65rem); line-height: .95; letter-spacing: -.055em; }
.directory-summary { margin: 10px 0 0; color: var(--muted); font-size: .76rem; }
.directory-controls { display: grid; grid-template-columns: minmax(210px, 300px) 180px; gap: 10px; }
.directory-control { min-height: 44px; padding: 0 14px; color: var(--text); background: white; border: 1px solid #b9b9b9; border-radius: 999px; font: inherit; font-size: .72rem; }
.user-grid { margin-top: 24px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.user-card { min-width: 0; padding: 13px; display: block; color: inherit; background: white; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color 160ms ease, transform 160ms ease; }
.user-card:hover { border-color: #9abbd6; transform: translateY(-2px); }
.user-card-image { width: 100%; aspect-ratio: 1 / 1; display: grid; place-items: center; color: white; background: linear-gradient(145deg, #35485b, #142231); border-radius: 9px; overflow: hidden; font-family: var(--serif); font-size: 2rem; }
.user-card-image img { width: 100%; height: 100%; aspect-ratio: 1 / 1; display: block; object-fit: cover; }
.user-card-name { margin: 13px 0 0; font-size: .88rem; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.user-card-role { margin: 3px 0 0; min-height: 2.7em; color: var(--muted); font-size: .68rem; line-height: 1.35; }
.user-card-club { margin: 11px 0 0; padding-top: 10px; color: var(--blue); border-top: 1px solid #ededed; font-size: .63rem; font-weight: 800; }
.directory-empty { grid-column: 1 / -1; padding: 50px 0; color: var(--muted); text-align: center; }
.club-shell { width: var(--shell); margin: 34px auto 72px; }
.club-hero { min-height: 350px; padding: clamp(34px,6vw,72px); display: flex; align-items: center; justify-content: space-between; gap: 48px; color: white; background: #101722; border-radius: 28px; overflow: hidden; }
.club-hero-copy { max-width: 700px; }
.club-eyebrow { margin: 0 0 18px; color: #a8b8cc; font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.club-hero h1 { max-width: 700px; margin: 0; font-family: var(--serif); font-size: clamp(3rem,8vw,6.7rem); line-height: .88; letter-spacing: -.065em; }
.club-location { margin: 20px 0 0; color: #c7d0db; font-size: 1rem; }
.club-actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 10px; }
.club-actions .muted { color: white; border-color: #5a6573; background: transparent; }
.club-crest { width: clamp(150px,23vw,260px); aspect-ratio: 1; flex: 0 0 auto; display: grid; place-items: center; padding: 22px; color: #101722; background: white; border-radius: 26px; font-size: 3rem; font-weight: 900; }
.club-crest img { width: 100%; height: 100%; object-fit: contain; }
.club-facts { margin: 18px 0 64px; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.club-facts > div { min-height: 110px; padding: 24px; display: flex; flex-direction: column; justify-content: space-between; gap: 12px; background: white; border-right: 1px solid var(--line); }
.club-facts > div:last-child { border-right: 0; }
.club-facts span { color: var(--muted); font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.club-facts strong { font-size: .92rem; }
.club-section-heading { margin-bottom: 22px; padding-bottom: 22px; display: flex; align-items: end; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); }
.club-section-heading p { margin: 0 0 8px; color: var(--blue); font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.club-section-heading h2 { margin: 0; font-family: var(--serif); font-size: clamp(2.2rem,5vw,4rem); line-height: .95; letter-spacing: -.05em; }
.club-section-heading > span { color: var(--muted); font-size: .76rem; }
.club-squad-grid { margin-top: 0; }
.feed-profile-main strong { margin-top: 9px; font-size: .92rem; }
.feed-profile-main > span:last-child { margin-top: 3px; color: var(--muted); font-size: .68rem; line-height: 1.35; }
.feed-profile-stats { margin: 0; padding: 12px 16px; border-top: 1px solid var(--line); }
.feed-profile-stats div { padding: 5px 0; display: flex; justify-content: space-between; gap: 12px; }
.feed-profile-stats dt, .feed-profile-stats dd { font-size: .69rem; }
.feed-profile-stats dd { margin: 0; color: var(--blue); font-weight: 800; }
.feed-rail-link { padding: 12px 16px; display: flex; justify-content: space-between; color: var(--blue); border-top: 1px solid var(--line); font-size: .7rem; font-weight: 800; }
.feed-quick-links { padding: 8px 15px; }
.feed-quick-links a { padding: 10px 0; display: flex; justify-content: space-between; gap: 12px; color: #3e3e3e; border-top: 1px solid #ededed; font-size: .7rem; font-weight: 700; }
.feed-quick-links a:first-child { border-top: 0; }
.feed-quick-links span { color: var(--muted); }

.composer { padding: 16px 18px 10px; }
.composer-row { display: grid; grid-template-columns: 42px 1fr; gap: 11px; align-items: center; }
.composer-prompt { height: 43px; padding: 0 17px; color: #555; background: white; border: 1px solid #8b8b8b; border-radius: 999px; cursor: pointer; font-size: .77rem; font-weight: 700; text-align: left; }
.composer-prompt:hover { background: #f5f5f4; }
.composer-actions { padding-top: 10px; display: grid; grid-template-columns: repeat(3, 1fr); }
.composer-actions button { min-height: 38px; padding: 5px 8px; color: #4b4b4b; background: transparent; border: 0; border-radius: 7px; cursor: pointer; font-size: .68rem; font-weight: 750; }
.composer-actions button:hover { background: #f3f4f5; }
.composer-actions span { margin-right: 5px; color: var(--blue); font-size: .9rem; }
.composer-form { padding: 15px 0 6px; }
.composer-form label { display: block; margin-bottom: 7px; font-size: .72rem; font-weight: 800; }
.composer-form textarea { width: 100%; padding: 12px; resize: vertical; color: var(--text); background: white; border: 1px solid var(--line); border-radius: 8px; font: inherit; font-size: .78rem; }
.composer-form > div { margin-top: 9px; display: flex; justify-content: flex-end; gap: 8px; }
.feed-sort { height: 28px; display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: .67rem; }
.feed-sort::before { height: 1px; flex: 1; content: ""; background: var(--line); }
.feed-sort span { color: var(--text); font-weight: 800; }
.feed-sort button { padding: 0; color: var(--muted); background: transparent; border: 0; cursor: pointer; font-size: inherit; }

.feed-post { padding: 20px 20px 8px; }
.post-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; }
.post-header .activity-head { min-width: 0; }
.activity-head > span:last-child { min-width: 0; }
.activity-context, .activity-time { display: block; }
.activity-context { margin-top: 1px; overflow: hidden; color: var(--muted); font-size: .68rem; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }
.post-menu { padding: 4px 2px; color: #5a5a5a; background: transparent; border: 0; cursor: pointer; font-weight: 800; letter-spacing: .08em; }
.feed-post .post-copy { margin: 18px 0; font-size: .83rem; }
.feed-post .social-art { margin-right: -20px; margin-left: -20px; border-radius: 0; }
.feed-post .engagement { margin-top: 0; padding: 12px 0; }
.feed-post .engagement b { font-weight: 650; }
.post-actions { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.post-actions button { min-height: 43px; color: #505050; background: transparent; border: 0; border-radius: 6px; cursor: pointer; font-size: .67rem; font-weight: 750; }
.post-actions button:hover { background: #f3f4f5; }
.post-actions button[aria-pressed="true"] { color: var(--blue); }
.club-avatar { font-size: .6rem; }
.opportunity { min-height: 112px; padding: 19px 20px; display: flex; align-items: center; justify-content: space-between; gap: 22px; color: white; background: linear-gradient(120deg, #111925, #33475d); border-radius: 10px; }
.opportunity span { display: grid; }
.opportunity small { color: #aebdca; font-size: .58rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.opportunity strong { margin-top: 6px; font-size: 1rem; }
.opportunity em { margin-top: 4px; color: #cbd4dc; font-size: .65rem; font-style: normal; }
.opportunity > b { flex: 0 0 auto; font-size: .7rem; }

.feed-side-section { padding: 18px; }
.feed-side-section h2 { margin: 0 0 16px; font-size: .86rem; }
.feed-side-kicker { margin: 0 0 10px; color: var(--blue); font-size: .59rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.fixture { min-height: 115px; padding: 16px; display: flex; justify-content: space-between; gap: 15px; color: white; background: linear-gradient(135deg, #101722, #354b62); border-radius: 9px; }
.fixture > span:first-child { display: grid; align-content: center; gap: 5px; }
.fixture small { margin-bottom: 4px; color: #bac6d2; font-size: .59rem; }
.fixture strong { font-size: .74rem; }
.fixture-mark { align-self: center; color: rgba(255,255,255,.16); font-size: 1.65rem; font-weight: 900; line-height: .8; text-align: right; }
.feed-side-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 15px; }
.feed-side-heading a { color: var(--blue); font-size: .64rem; font-weight: 800; }
.feed-side-section .person { grid-template-columns: 40px minmax(0,1fr); }
.feed-side-section .person-avatar { width: 40px; height: 40px; }
.network-topics { margin: 0; padding: 0 0 0 18px; }
.network-topics li { margin-top: 12px; padding-left: 4px; }
.network-topics li:first-child { margin-top: 0; }
.network-topics a { display: grid; }
.network-topics strong { font-size: .71rem; }
.network-topics span { margin-top: 2px; color: var(--muted); font-size: .63rem; }

.directory { width: var(--shell); margin: 54px auto 90px; }
.directory-kicker { margin: 0 0 10px; color: var(--blue); font-size: .71rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.directory-title { max-width: 760px; margin: 0; font-family: var(--serif); font-size: clamp(2.8rem,7vw,5.4rem); font-weight: 750; line-height: .92; letter-spacing: -.07em; }
.directory-intro { max-width: 620px; margin: 22px 0 38px; color: var(--muted); font-size: 1.03rem; }
.profile-picker { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.picker-card { position: relative; min-height: 370px; background: white; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform 180ms ease, box-shadow 180ms ease; }
.picker-card:hover { transform: translateY(-3px); box-shadow: 0 14px 35px rgba(0,0,0,.08); }
.picker-cover { height: 150px; background: linear-gradient(118deg, #101722, #48637c); }
.picker-cover.provider-cover { background: linear-gradient(118deg, #111722, #596879); }
.picker-body { padding: 0 24px 24px; }
.picker-avatar { width: 94px; height: 94px; margin-top: -48px; display: grid; place-items: center; color: white; background: linear-gradient(145deg,#35485b,#142231); border: 4px solid white; border-radius: 50%; font-family: var(--serif); font-size: 1.45rem; font-weight: 750; }
.picker-name { margin: 15px 0 4px; font-family: var(--serif); font-size: 1.65rem; font-weight: 750; letter-spacing: -.045em; }
.picker-role { margin: 0; color: #3f3f3f; }
.picker-meta { margin: 8px 0 0; color: var(--muted); font-size: .77rem; }
.picker-open { position: absolute; right: 24px; bottom: 24px; color: var(--blue); font-size: .74rem; font-weight: 800; }

@media (max-width: 900px) {
  .topbar { grid-template-columns: auto minmax(150px,1fr) auto; }
  .primary-nav { position: absolute; top: var(--header); right: 0; left: 0; height: auto; padding: 9px 16px; display: grid; background: var(--nav); border-bottom: 1px solid rgba(255,255,255,.12); transform: translateY(-140%); transition: transform 190ms ease; }
  .primary-nav[data-open="true"] { transform: translateY(0); }
  .primary-nav a { min-height: 43px; padding: 9px 4px; flex-direction: row; justify-content: flex-start; gap: 12px; border-bottom: 1px solid rgba(255,255,255,.08); }
  .primary-nav a[aria-current="page"]::after { display: none; }
  .nav-toggle { display: block; }
  .account-link { display: none; }
  .page-shell { grid-template-columns: 1fr; }
  .sidebar { padding: 28px 0 0; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 28px; border-top: 1px solid var(--line); border-left: 0; }
  .sidebar-card, .sidebar-card:first-child { padding: 0; border-bottom: 0; }
  .feed-shell { grid-template-columns: minmax(0, 1fr) 250px; }
  .feed-rail-left { display: none; }
  .user-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .feed-shell { grid-template-columns: 1fr; }
  .feed-rail-right { display: none; }
}

@media (max-width: 640px) {
  :root { --shell: calc(100vw - 20px); --header: 60px; }
  .topbar { gap: 12px; }
  .brand-wordmark { display: none; }
  .search-box input { height: 36px; }
  .page-shell { margin-top: 10px; gap: 0; }
  .profile-column { gap: 0; }
  .profile-cover { height: 132px; }
  .cover-code { right: 16px; bottom: 13px; }
  .cover-brand { top: 15px; left: 16px; }
  .identity { padding: 0 0 28px; }
  .avatar { width: 108px; height: 108px; margin-top: -56px; border-width: 4px; font-size: 1.85rem; }
  .identity-grid { grid-template-columns: 1fr; gap: 13px; }
  .profile-name { font-size: 2rem; }
  .affiliation { min-width: 0; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .profile-actions .button { flex: 1; }
  .quick-stats { grid-template-columns: repeat(5,100px); margin-right: -18px; padding-right: 18px; overflow-x: auto; }
  .profile-facts { grid-template-columns: 1fr; gap: 18px; }
  .player-facts { grid-template-columns: 1fr; }
  .fact-group, .fact-group:first-child, .fact-group:last-child { padding: 0; border-left: 0; }
  .fact-group + .fact-group { padding-top: 18px; border-top: 1px solid var(--line); }
  .section-card { padding: 28px 0; }
  .activity-card { margin: 22px 0; padding: 20px 18px; border: 1px solid var(--line); border-radius: 11px; }
  .service-item { grid-template-columns: 1fr; }
  .service-visual { min-height: 145px; }
  .service-content { min-height: 210px; padding: 20px 50px 18px 20px; }
  .sidebar { grid-template-columns: 1fr; gap: 26px; }
  .social-art { min-height: 200px; }
  .profile-picker { grid-template-columns: 1fr; }
  .directory { margin-top: 34px; }
  .directory-title { font-size: 3rem; }
  .footer-inner { flex-direction: column; }
  .feed-shell { width: calc(100vw - 16px); margin-top: 8px; grid-template-columns: 1fr; }
  .feed-rail-right { display: none; }
  .composer { padding: 13px 13px 8px; }
  .composer-actions button { font-size: .62rem; }
  .feed-post { padding: 17px 14px 7px; }
  .feed-post .social-art { margin-right: -14px; margin-left: -14px; }
  .post-actions button { font-size: .62rem; }
  .opportunity { padding: 16px; align-items: flex-start; flex-direction: column; }
  .directory-shell { margin-top: 24px; }
  .directory-header { align-items: stretch; flex-direction: column; }
  .directory-controls { grid-template-columns: 1fr; }
  .user-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .club-shell { margin-top: 10px; }
  .club-hero { min-height: 0; padding: 30px 24px; align-items: flex-start; flex-direction: column-reverse; gap: 28px; border-radius: 20px; }
  .club-crest { width: 116px; padding: 14px; border-radius: 18px; }
  .club-facts { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .club-facts > div:nth-child(2) { border-right: 0; }
  .club-facts > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 390px) {
  .search-box { display: none; }
  .topbar { grid-template-columns: 1fr auto; }
  .affiliation { grid-template-columns: 1fr; }
  .user-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; } }

/* Profile Editor Modal */
.editor-backdrop { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; background: rgba(16,23,34,.55); backdrop-filter: blur(6px); transition: opacity 200ms ease; }
.editor-panel { width: min(540px, calc(100vw - 32px)); max-height: calc(100vh - 48px); overflow-y: auto; background: white; border-radius: 16px; box-shadow: 0 24px 60px rgba(0,0,0,.25); }
.editor-panel-sm { width: min(420px, calc(100vw - 32px)); }
.editor-header { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.editor-header h2 { margin: 0; font-size: 1.15rem; font-weight: 800; }
.close-btn { width: 36px; height: 36px; display: grid; place-items: center; color: #555; background: transparent; border: 0; border-radius: 50%; cursor: pointer; font-size: 1.3rem; }
.close-btn:hover { background: #f3f4f5; }
.editor-body { padding: 24px; }

/* Avatar Section */
.avatar-section { display: flex; align-items: center; gap: 20px; margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.avatar-preview { width: 80px; height: 80px; flex: 0 0 80px; display: grid; place-items: center; color: white; background: linear-gradient(145deg, #35485b, #142231); border-radius: 50%; overflow: hidden; }
.avatar-preview img { width: 100%; height: 100%; object-fit: cover; }
.avatar-actions { display: flex; flex-direction: column; gap: 4px; }
.avatar-hint { margin: 0; color: var(--muted); font-size: .65rem; }

/* Form */
.editor-form { display: grid; gap: 18px; }
.form-group { position: relative; }
.form-group label { display: block; margin-bottom: 6px; font-size: .74rem; font-weight: 750; color: var(--muted); }
.form-group input[type="text"],
.form-group input[type="password"],
.form-group input[type="url"],
.form-group textarea { width: 100%; padding: 10px 13px; color: var(--text); background: #fafafa; border: 1.5px solid #d8d8d8; border-radius: 8px; font-size: .85rem; outline: none; transition: border-color 150ms ease, background 150ms ease; }
.form-group input:focus,
.form-group textarea:focus { border-color: var(--blue); background: white; }
.form-group textarea { resize: vertical; min-height: 80px; }
.form-group input[disabled] { background: #f0f0f0; color: #999; cursor: default; }
.char-count { position: absolute; right: 13px; bottom: -18px; font-size: .62rem; color: var(--muted); }
.field-hint { margin: 4px 0 0; font-size: .65rem; color: var(--muted); }

/* Form Actions */
.form-actions { display: flex; gap: 10px; padding-top: 6px; border-top: 1px solid var(--line); }
.primary-button { min-height: 40px; padding: 0 24px; color: white; background: var(--blue); border: 1.5px solid var(--blue); border-radius: 999px; cursor: pointer; font-size: .82rem; font-weight: 750; transition: background 150ms ease; }
.primary-button:hover { background: var(--blue-hover); }
.primary-button:disabled { opacity: .5; cursor: not-allowed; }
.form-actions .small-button { min-height: 40px; padding: 0 18px; }

/* Password Section */
.password-section { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.password-section h3 { margin: 0 0 12px; font-size: .9rem; font-weight: 750; }

/* Toast for form feedback */
.form-toast { position: fixed; right: 22px; bottom: 22px; z-index: 200; padding: 12px 20px; color: white; background: var(--green); border-radius: 999px; box-shadow: 0 8px 30px rgba(0,0,0,.2); font-size: .8rem; font-weight: 700; transform: translateY(150%); transition: transform 250ms ease; }
.form-toast.show { transform: translateY(0); }
.form-toast.error { background: #d32f2f; }
