/* Maraş Spor Ağı — V38 visibility, directory and identity update */
:root{--v38-paper:#f5f8f8;--v38-card:#fff;--v38-ink:#102733;--v38-muted:#607985;--v38-line:#d8e4e8;--v38-red:#ef3346;--v38-navy:#072735;--v38-mint:#57dca9;--v38-sky:#80cde7;--v38-shadow:0 18px 48px rgba(7,39,53,.09)}
body.systemV38{background:var(--v38-paper)}

/* Guaranteed contrast on every public page hero */
.systemV38.portalV5 .pageHero{background:radial-gradient(circle at 82% 0,rgba(128,205,231,.2),transparent 32%),linear-gradient(130deg,#062634,#0d4152)!important;color:#fff!important;border:0!important;border-radius:0 0 32px 32px!important;box-shadow:inset 0 -1px rgba(255,255,255,.08)!important}
.systemV38.portalV5 .pageHero:before{color:rgba(255,255,255,.035)!important}
.systemV38.portalV5 .pageHero>div>span{color:#75e0b7!important;background:rgba(255,255,255,.06)!important;border:1px solid rgba(255,255,255,.14)!important;padding:8px 11px!important;border-radius:999px!important;display:inline-flex!important}
.systemV38.portalV5 .pageHero h1,.systemV38.portalV5 .pageHero h1 *{color:#fff!important;text-shadow:0 2px 18px rgba(0,0,0,.1)!important}
.systemV38.portalV5 .pageHero h1 em{color:#ff6674!important}
.systemV38.portalV5 .pageHero p{color:#c7d9df!important;opacity:1!important}
.systemV38.portalV5 .pageHero aside{background:rgba(255,255,255,.075)!important;border-color:rgba(255,255,255,.16)!important;color:#fff!important;box-shadow:0 18px 50px rgba(0,0,0,.08)!important}
.systemV38.portalV5 .pageHero aside b{color:#fff!important}.systemV38.portalV5 .pageHero aside small{color:#74dfb6!important}

/* Public directory controls */
.systemV38.portalV5 .directoryFilterV38{position:relative!important;top:auto!important;display:grid!important;grid-template-columns:minmax(175px,.8fr) minmax(210px,1.2fr) repeat(3,minmax(145px,.8fr)) auto auto!important;gap:9px!important;padding:13px!important;border:1px solid var(--v38-line)!important;border-radius:18px!important;background:#fff!important;box-shadow:var(--v38-shadow)!important;align-items:center!important}
.systemV38.portalV5 .directoryFilterV38>b{display:grid!important;gap:3px!important;font-size:12px!important;letter-spacing:1px!important;color:var(--v38-ink)!important}.systemV38.portalV5 .directoryFilterV38>b small{font-size:11px!important;color:var(--v38-muted)!important;letter-spacing:0!important;font-weight:650!important}
.systemV38.portalV5 .directoryFilterV38 :is(input,select){width:100%!important;min-width:0!important;min-height:48px!important;padding:0 13px!important;border:1px solid var(--v38-line)!important;border-radius:12px!important;background:#f5f8f9!important;color:var(--v38-ink)!important;font-size:13px!important;outline:0!important}.systemV38.portalV5 .directoryFilterV38 :is(input,select):focus{border-color:#7899a7!important;background:#fff!important;box-shadow:0 0 0 4px rgba(120,153,167,.1)!important}
.systemV38.portalV5 .directoryFilterV38 button{min-height:48px!important;padding:0 18px!important;border:0!important;border-radius:12px!important;background:linear-gradient(135deg,var(--v38-red),#d3263b)!important;color:#fff!important;font-size:12px!important;font-weight:900!important;cursor:pointer!important}.systemV38.portalV5 .directoryFilterV38>a{min-height:48px!important;padding:0 13px!important;border:1px solid var(--v38-line)!important;border-radius:12px!important;background:#fff!important;color:var(--v38-ink)!important;font-size:12px!important;font-weight:850!important;display:flex!important;align-items:center!important;justify-content:center!important}

/* Clubs and athletes */
.systemV38.portalV5 .clubGrid,.systemV38.portalV5 .athleteGrid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important}.systemV38.portalV5 .clubGrid>article,.systemV38.portalV5 .athleteGrid>article{min-height:330px!important;border:1px solid var(--v38-line)!important;border-radius:21px!important;background:#fff!important;box-shadow:0 10px 30px rgba(7,39,53,.05)!important;overflow:hidden!important}.systemV38.portalV5 .clubGrid>article:hover,.systemV38.portalV5 .athleteGrid>article:hover{transform:translateY(-4px)!important;box-shadow:0 20px 50px rgba(7,39,53,.11)!important}
.systemV38.portalV5 .clubGrid>article>i{width:58px!important;height:58px!important;border-radius:17px!important;background:linear-gradient(145deg,var(--v38-red),#d1263b)!important;box-shadow:0 12px 24px rgba(239,51,70,.17)!important}.systemV38.portalV5 .clubGrid h2,.systemV38.portalV5 .athleteGrid h2{font-size:23px!important;color:var(--v38-ink)!important;line-height:1.15!important}.systemV38.portalV5 .clubGrid p,.systemV38.portalV5 .athleteGrid p{font-size:13px!important;color:var(--v38-muted)!important;line-height:1.65!important}.systemV38.portalV5 .clubGrid>article>a,.systemV38.portalV5 .athleteGrid>article>a{margin-top:auto!important;font-size:12px!important;color:var(--v38-red)!important;font-weight:900!important}
.systemV38.portalV5 .clubCardMetaV38{display:flex;gap:8px;margin:15px 0 4px}.systemV38.portalV5 .clubCardMetaV38 span{padding:7px 9px;border-radius:9px;background:#edf4f6;color:var(--v38-muted);font-size:11px}.systemV38.portalV5 .clubCardMetaV38 b{color:var(--v38-ink);font-size:13px}
.systemV38.portalV5 .athletePhoto{height:190px!important;margin:-24px -24px 21px!important;position:relative!important;background:radial-gradient(circle at 72% 18%,rgba(128,205,231,.25),transparent 30%),linear-gradient(145deg,#082b39,#105065)!important}.systemV38.portalV5 .athletePhoto>span{font-size:55px!important;color:#fff!important}.systemV38.portalV5 .athletePhoto>small{position:absolute!important;top:14px!important;right:14px!important;min-width:33px!important;height:28px!important;padding:0 8px!important;border:1px solid rgba(255,255,255,.18)!important;border-radius:9px!important;background:rgba(255,255,255,.08)!important;color:#fff!important;display:grid!important;place-items:center!important;font-size:10px!important}
.systemV38.portalV5 .athleteCardActionsV38{margin-top:auto;padding-top:16px;border-top:1px solid var(--v38-line);display:flex;justify-content:space-between;align-items:center;gap:12px}.systemV38.portalV5 .athleteCardActionsV38 a{font-size:11px!important;font-weight:900!important;color:var(--v38-muted)!important}.systemV38.portalV5 .athleteCardActionsV38 a:last-child{color:var(--v38-red)!important}

/* Complete club profile */
.systemV38.portalV5 .clubProfileV38{display:grid;gap:18px;padding-top:48px!important}.systemV38.portalV5 .clubProfileOverviewV38{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(330px,.7fr);gap:16px}.systemV38.portalV5 .clubIdentityV38,.systemV38.portalV5 .clubProfileOverviewV38>aside,.systemV38.portalV5 .clubBranchesV38,.systemV38.portalV5 .clubAthletesV38{border:1px solid var(--v38-line);border-radius:22px;background:#fff;box-shadow:0 10px 35px rgba(7,39,53,.05)}
.systemV38.portalV5 .clubIdentityV38{min-height:360px;padding:34px;display:grid;grid-template-columns:100px 1fr;gap:25px;align-items:start}.systemV38.portalV5 .clubIdentityV38>i{width:100px;height:100px;border-radius:28px;background:linear-gradient(145deg,var(--v38-red),#cb2439);box-shadow:0 18px 35px rgba(239,51,70,.2);display:grid;place-items:center;color:#fff;font-style:normal;font-size:30px;font-weight:950}.systemV38.portalV5 .clubIdentityV38 span,.systemV38.portalV5 :is(.clubBranchesV38,.clubAthletesV38)>header span{font-size:11px;letter-spacing:1.1px;color:var(--v38-red);font-weight:950}.systemV38.portalV5 .clubIdentityV38 h2{margin:9px 0 14px;font-size:clamp(31px,3vw,48px);line-height:1.04;letter-spacing:-1.5px;color:var(--v38-ink)}.systemV38.portalV5 .clubIdentityV38 p{font-size:14px;line-height:1.75;color:var(--v38-muted)}
.systemV38.portalV5 .clubProfileOverviewV38>aside{padding:24px;display:flex;flex-direction:column}.systemV38.portalV5 .clubProfileStatsV38{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.systemV38.portalV5 .clubProfileStatsV38 article{padding:14px;border-radius:14px;background:#edf4f6;display:grid}.systemV38.portalV5 .clubProfileStatsV38 b{font-size:24px;color:var(--v38-ink)}.systemV38.portalV5 .clubProfileStatsV38 span{font-size:10px;color:var(--v38-muted)}.systemV38.portalV5 .clubProfileOverviewV38 dl{margin:18px 0;display:grid;grid-template-columns:1fr 1fr;gap:8px}.systemV38.portalV5 .clubProfileOverviewV38 dl>div{padding:11px;border:1px solid var(--v38-line);border-radius:11px;display:grid}.systemV38.portalV5 .clubProfileOverviewV38 dt{font-size:10px;color:var(--v38-muted)}.systemV38.portalV5 .clubProfileOverviewV38 dd{margin:3px 0 0;font-size:12px;color:var(--v38-ink);font-weight:800;overflow-wrap:anywhere}.systemV38.portalV5 .clubProfileOverviewV38 .portalPrimary{margin-top:auto;min-height:50px;border-radius:12px;background:var(--v38-red);color:#fff;font-size:12px}
.systemV38.portalV5 .clubBranchesV38{padding:26px}.systemV38.portalV5 :is(.clubBranchesV38,.clubAthletesV38)>header{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:21px}.systemV38.portalV5 :is(.clubBranchesV38,.clubAthletesV38)>header h2{margin:6px 0 0;font-size:27px;color:var(--v38-ink)}.systemV38.portalV5 .clubBranchesV38>header>b{font-size:12px;color:var(--v38-muted)}.systemV38.portalV5 .clubBranchesV38>div{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.systemV38.portalV5 .clubBranchesV38>div>a{min-height:56px;padding:0 14px;border:1px solid var(--v38-line);border-radius:13px;background:#f7fafb;color:var(--v38-ink);display:grid;grid-template-columns:22px 1fr auto;align-items:center;gap:9px;font-size:12px;font-weight:850}.systemV38.portalV5 .clubBranchesV38>div>a i{color:var(--v38-red);font-style:normal}.systemV38.portalV5 .clubBranchesV38>div>a span{color:var(--v38-red)}
.systemV38.portalV5 .clubAthletesV38{padding:26px}.systemV38.portalV5 .clubAthletesV38>header p{font-size:13px;color:var(--v38-muted);margin:5px 0 0}.systemV38.portalV5 .clubAthletesV38>header>a{min-height:42px;padding:0 14px;border:1px solid var(--v38-line);border-radius:11px;display:flex;align-items:center;color:var(--v38-ink);font-size:11px;font-weight:900}.systemV38.portalV5 .clubAthletesV38 .athleteGrid>article{min-height:310px!important}

/* A focused, non-overflowing sign-in experience */
body.systemV38.loginV8{padding:28px!important;display:grid!important;place-items:center!important;overflow:auto!important;background:radial-gradient(circle at 10% 15%,rgba(128,205,231,.16),transparent 30%),linear-gradient(135deg,#061f2b,#0d3b4a)!important}
body.systemV38.loginV8:before{display:none!important}
body.systemV38.loginV8>main{width:min(1380px,100%)!important;min-height:min(790px,calc(100vh - 56px))!important;height:auto!important;display:grid!important;grid-template-columns:minmax(0,1.05fr) minmax(450px,.75fr)!important;border:1px solid rgba(255,255,255,.12)!important;border-radius:30px!important;overflow:hidden!important;box-shadow:0 36px 110px rgba(0,0,0,.36)!important;background:#fff!important}
.systemV38.loginV8 .loginStory{min-width:0!important;padding:42px!important;background-image:radial-gradient(circle at 80% 10%,rgba(128,205,231,.22),transparent 33%),linear-gradient(145deg,rgba(5,34,46,.92),rgba(11,69,85,.94)),url('/assets/maras-heritage-maintenance-v33.png')!important;background-size:cover!important;background-position:center!important}.systemV38.loginV8 .loginStory:after{width:470px!important;height:470px!important;right:-190px!important;top:-170px!important;box-shadow:0 0 0 70px rgba(255,255,255,.025),0 0 0 140px rgba(255,255,255,.018)!important}
.systemV38.loginV8 .portalLogo{grid-template-columns:58px minmax(0,1fr)!important}.systemV38.loginV8 .portalLogo .brandEmblem{width:58px!important;height:58px!important;border-radius:17px!important}.systemV38.loginV8 .portalLogo .brandEmblem img{width:44px!important;height:44px!important}.systemV38.loginV8 .brandWordmarkV35 strong{font-size:17px!important}.systemV38.loginV8 .brandWordmarkV35 small{font-size:10px!important}
.systemV38.loginV8 .storyBody{max-width:680px!important}.systemV38.loginV8 .storyBody h1{margin:22px 0 16px!important;font-size:clamp(47px,4.6vw,72px)!important;line-height:.96!important;letter-spacing:-3px!important}.systemV38.loginV8 .storyBody h1 em{color:#ff6573!important;font-style:normal!important}.systemV38.loginV8 .storyBody>p{font-size:15px!important;max-width:570px!important;color:#c1d3da!important}.systemV38.loginV8 .loginBenefits{margin-top:28px!important;grid-template-columns:1fr!important;gap:7px!important}.systemV38.loginV8 .loginBenefits article{min-height:68px!important;padding:12px 14px!important;border-radius:13px!important;display:grid!important;grid-template-columns:35px 1fr!important;gap:10px!important;align-items:center!important;background:rgba(255,255,255,.055)!important}.systemV38.loginV8 .loginBenefits article>i{width:35px;height:35px;border-radius:10px;background:rgba(255,255,255,.07);display:grid;place-items:center;font-size:15px!important}.systemV38.loginV8 .loginBenefits b{font-size:12px!important}.systemV38.loginV8 .loginBenefits small{font-size:11px!important}.systemV38.loginV8 .loginStory footer{margin-top:20px!important;font-size:10px!important}
.systemV38.loginV8 .loginPanel{width:auto!important;min-width:0!important;min-height:0!important;margin:0!important;padding:34px!important;border:0!important;border-radius:0!important;background:linear-gradient(160deg,#fff,#f2f6f7)!important;box-shadow:none!important;display:grid!important;place-items:center!important;overflow:visible!important}.systemV38.loginV8 .loginFormBox{width:min(500px,100%)!important;max-width:none!important;padding:32px!important;border:1px solid var(--v38-line)!important;border-radius:23px!important;background:rgba(255,255,255,.92)!important;box-shadow:0 22px 65px rgba(7,39,53,.1)!important}.systemV38.loginV8 .loginFormBrandV38{display:none;align-items:center;gap:10px;margin-bottom:18px}.systemV38.loginV8 .loginFormBrandV38 img{width:42px;height:42px;object-fit:contain}.systemV38.loginV8 .loginFormBrandV38 span{display:grid}.systemV38.loginV8 .loginFormBrandV38 b{font-size:13px;color:var(--v38-ink)}.systemV38.loginV8 .loginFormBrandV38 small{font-size:10px!important;color:var(--v38-muted)}.systemV38.loginV8 .loginFormBox>.backLink{margin-bottom:16px!important;font-size:11px!important;color:var(--v38-muted)!important}.systemV38.loginV8 .loginAccessHeaderV38{margin-bottom:21px;padding:11px 12px;border:1px solid var(--v38-line);border-radius:12px;background:#f5f9fa;display:grid;grid-template-columns:35px 1fr;gap:10px;align-items:center}.systemV38.loginV8 .loginAccessHeaderV38>i{width:35px;height:35px;border-radius:10px;background:#e7f8f1;color:#16825d;display:grid;place-items:center;font-style:normal;font-weight:950}.systemV38.loginV8 .loginAccessHeaderV38 span{display:grid}.systemV38.loginV8 .loginAccessHeaderV38 b{font-size:11px;color:var(--v38-ink)}.systemV38.loginV8 .loginAccessHeaderV38 small{font-size:10px!important;color:var(--v38-muted)}.systemV38.loginV8 .sectionLabel{font-size:10px!important;color:var(--v38-red)!important}.systemV38.loginV8 .loginFormBox h2{margin:11px 0 8px!important;font-size:36px!important;line-height:1.04!important;color:var(--v38-ink)!important}.systemV38.loginV8 .loginFormBox>p{margin-bottom:24px!important;font-size:13px!important}.systemV38.loginV8 .loginFormBox form>label{font-size:12px!important;margin:14px 0!important}.systemV38.loginV8 .modernInput{min-height:52px!important;border:1px solid var(--v38-line)!important;border-radius:12px!important;background:#f5f8f9!important}.systemV38.loginV8 .modernInput input{min-height:50px!important;background:transparent!important;border:0!important;font-size:13px!important}.systemV38.loginV8 .modernInput button{font-size:11px!important}.systemV38.loginV8 .loginMeta{font-size:11px!important}.systemV38.loginV8 .loginSubmit{min-height:52px!important;margin-top:17px!important;font-size:12px!important}.systemV38.loginV8 .loginTrust{margin-top:14px!important;font-size:10px!important}.systemV38.loginV8 .loginHelp{margin-top:16px!important;padding:13px!important}.systemV38.loginV8 .loginHelp b{font-size:11px!important}.systemV38.loginV8 .loginHelp p{font-size:10px!important}.systemV38.loginV8 .loginHelp>a{font-size:10px!important}

/* More dimensional management theme */
.systemV38.proApp .proContent{background:radial-gradient(circle at 92% 0,rgba(128,205,231,.09),transparent 22%),#f2f6f7!important}.systemV38.proApp .proWelcome{position:relative;overflow:hidden;border-color:#d6e3e7!important;background:linear-gradient(135deg,#fff,#f5f9fa)!important}.systemV38.proApp .proWelcome:after{content:"46";position:absolute;right:28px;bottom:-30px;font-size:125px;font-weight:950;color:rgba(7,39,53,.03);pointer-events:none}.systemV38.proApp .proWelcome>*{position:relative;z-index:1}.systemV38.proApp .proCard,.systemV38.proApp .moduleWorkspace,.systemV38.proApp .metricCards article{border-color:#d7e4e8!important}.systemV38.proApp .metricCards article{position:relative;overflow:hidden}.systemV38.proApp .metricCards article:after{content:"";position:absolute;right:-25px;top:-25px;width:80px;height:80px;border-radius:50%;background:rgba(128,205,231,.08)}.systemV38.proApp .newModules article:hover{transform:translateY(-3px);border-color:#9cb7c2!important;box-shadow:0 15px 35px rgba(7,39,53,.09)}

/* Dark theme */
html[data-theme="dark"] body.systemV38{--v38-paper:#071b24;--v38-card:#0d2a36;--v38-ink:#eff8fa;--v38-muted:#9eb7c1;--v38-line:#284754;background:var(--v38-paper)}
html[data-theme="dark"] .systemV38.portalV5 :is(.directoryFilterV38,.clubGrid>article,.athleteGrid>article,.clubIdentityV38,.clubProfileOverviewV38>aside,.clubBranchesV38,.clubAthletesV38){background:var(--v38-card)!important;color:var(--v38-ink)!important;border-color:var(--v38-line)!important}
html[data-theme="dark"] .systemV38.portalV5 .directoryFilterV38 :is(input,select){background:#12313d!important;color:#eff8fa!important;border-color:#2b4a57!important}html[data-theme="dark"] .systemV38.portalV5 :is(.clubGrid h2,.athleteGrid h2,.clubIdentityV38 h2,.clubBranchesV38 h2,.clubAthletesV38 h2,.clubProfileStatsV38 b,.clubProfileOverviewV38 dd){color:#eff8fa!important}html[data-theme="dark"] .systemV38.portalV5 .clubProfileStatsV38 article,html[data-theme="dark"] .systemV38.portalV5 .clubCardMetaV38 span{background:#12313d!important}html[data-theme="dark"] .systemV38.portalV5 .clubBranchesV38>div>a{background:#102e39!important;color:#eff8fa!important;border-color:#294957!important}
html[data-theme="dark"] .systemV38.proApp .proContent{background:radial-gradient(circle at 92% 0,rgba(128,205,231,.06),transparent 22%),#071b24!important}html[data-theme="dark"] .systemV38.proApp .proWelcome{background:linear-gradient(135deg,#0d2a36,#102f3b)!important;border-color:#294956!important}

@media(max-width:1400px){.systemV38.portalV5 .directoryFilterV38{grid-template-columns:repeat(4,minmax(0,1fr))!important}.systemV38.portalV5 .directoryFilterV38>b{grid-column:span 2}.systemV38.portalV5 .directoryFilterV38 input{grid-column:span 2}.systemV38.portalV5 .clubGrid,.systemV38.portalV5 .athleteGrid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:1050px){.systemV38.portalV5 .directoryFilterV38{grid-template-columns:1fr 1fr!important}.systemV38.portalV5 .directoryFilterV38>b{grid-column:1/-1}.systemV38.portalV5 .clubProfileOverviewV38{grid-template-columns:1fr}.systemV38.portalV5 .clubBranchesV38>div{grid-template-columns:repeat(2,1fr)}body.systemV38.loginV8>main{grid-template-columns:1fr!important;max-width:760px!important}.systemV38.loginV8 .loginStory{display:none!important}.systemV38.loginV8 .loginPanel{min-height:720px!important}.systemV38.loginV8 .loginFormBrandV38{display:flex!important}}
@media(max-width:680px){body.systemV38.loginV8{padding:0!important}body.systemV38.loginV8>main{min-height:100vh!important;border:0!important;border-radius:0!important}.systemV38.loginV8 .loginPanel{padding:20px!important}.systemV38.loginV8 .loginFormBox{padding:24px 18px!important;border:0!important;box-shadow:none!important;background:transparent!important}.systemV38.loginV8 .loginFormBox h2{font-size:32px!important}.systemV38.portalV5 .directoryFilterV38{grid-template-columns:1fr!important}.systemV38.portalV5 .directoryFilterV38>*{grid-column:1!important}.systemV38.portalV5 .clubGrid,.systemV38.portalV5 .athleteGrid{grid-template-columns:1fr!important}.systemV38.portalV5 .clubIdentityV38{grid-template-columns:1fr;padding:24px}.systemV38.portalV5 .clubIdentityV38>i{width:78px;height:78px;border-radius:22px}.systemV38.portalV5 .clubProfileStatsV38{grid-template-columns:1fr 1fr 1fr}.systemV38.portalV5 .clubBranchesV38>div{grid-template-columns:1fr}.systemV38.portalV5 :is(.clubBranchesV38,.clubAthletesV38)>header{align-items:flex-start;flex-direction:column}.systemV38.portalV5 .clubProfileOverviewV38 dl{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.systemV38 *{animation:none!important;transition:none!important}}
