/* V39 · Görünüm portalı, canlı veriler ve profil medyası */
.systemV39{--v39-ink:#102733;--v39-muted:#647b87;--v39-line:#d8e4e9;--v39-card:#fff;--v39-soft:#f2f7f9;--v39-red:#ef3340;--v39-navy:#082532;--v39-green:#25bf8b}

/* Görünüm penceresi body düzeyinde çalışır; başlık ve yan menü katmanlarına takılmaz. */
body.themePortalOpenV39{overflow:hidden!important}
.themePortalOpenV39 .themeBackdropV34{z-index:20000!important;opacity:1!important;visibility:visible!important;background:rgba(3,20,29,.74)!important;backdrop-filter:blur(9px) saturate(.85)!important}
.themeMenuPortalV39{display:flex!important;flex-direction:column!important;position:fixed!important;z-index:20001!important;left:50%!important;right:auto!important;top:50%!important;bottom:auto!important;width:min(680px,calc(100vw - 30px))!important;max-height:min(820px,calc(100vh - 30px))!important;overflow:auto!important;margin:0!important;padding:24px!important;border:1px solid var(--v39-line)!important;border-radius:26px!important;background:var(--v39-card)!important;color:var(--v39-ink)!important;box-shadow:0 38px 120px rgba(0,0,0,.38)!important;transform:translate(-50%,-47%) scale(.96)!important;opacity:0!important;visibility:visible!important;gap:9px!important;transition:transform .2s ease,opacity .2s ease!important}
.themeMenuPortalV39.isOpenV39{transform:translate(-50%,-50%) scale(1)!important;opacity:1!important}
.themeMenuPortalV39 .themeDialogHeadV34{position:sticky;z-index:2;top:-24px;margin:-2px -2px 9px;padding:4px 2px 18px;background:var(--v39-card);border-bottom:1px solid var(--v39-line)}
.themeMenuPortalV39 .themeDialogHeadV34 b{font-size:24px!important;line-height:1.15!important;color:var(--v39-ink)!important}
.themeMenuPortalV39 .themeDialogHeadV34 small{font-size:13px!important;line-height:1.5!important;color:var(--v39-muted)!important}
.themeMenuPortalV39 .themeCloseV34{width:44px!important;height:44px!important;min-width:44px!important;border:1px solid var(--v39-line)!important;border-radius:13px!important;background:var(--v39-soft)!important;color:var(--v39-ink)!important;font-size:22px!important;cursor:pointer!important}
.themeMenuPortalV39>button:not(.themeCloseV34){display:grid!important;grid-template-columns:46px 1fr 25px!important;align-items:center!important;gap:13px!important;width:100%!important;min-height:68px!important;padding:10px 13px!important;border:1px solid var(--v39-line)!important;border-radius:15px!important;background:var(--v39-soft)!important;color:var(--v39-ink)!important;text-align:left!important;cursor:pointer!important}
.themeMenuPortalV39>button:not(.themeCloseV34):hover,.themeMenuPortalV39>button.selected{border-color:var(--v39-red)!important;background:#fff5f6!important;transform:translateY(-1px)}
.themeMenuPortalV39>button>i{display:grid!important;place-items:center!important;width:42px!important;height:42px!important;border-radius:12px!important;background:#e4eef2!important;font-size:18px!important;font-style:normal!important}
.themeMenuPortalV39>button span b{display:block;font-size:15px!important;color:var(--v39-ink)!important}.themeMenuPortalV39>button span small{display:block;margin-top:3px;font-size:12px!important;line-height:1.4!important;color:var(--v39-muted)!important}.themeMenuPortalV39>button em{font-size:14px!important;color:var(--v39-red)!important}
.themeMenuPortalV39 .smartPacksV29{display:grid!important;grid-template-columns:1fr 1fr!important;gap:9px!important;margin-top:8px!important;padding-top:18px!important;border-top:1px solid var(--v39-line)!important}.themeMenuPortalV39 .smartPacksV29>span{grid-column:1/-1;font-size:11px!important;letter-spacing:1.2px!important;color:var(--v39-muted)!important;font-weight:900!important}.themeMenuPortalV39 .smartPacksV29>button{min-height:58px!important;padding:11px!important;border:1px solid var(--v39-line)!important;border-radius:13px!important;background:var(--v39-soft)!important;color:var(--v39-ink)!important;font-size:13px!important;cursor:pointer!important}
.themeMenuPortalV39 .uiCustomize{display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px 14px!important;margin-top:8px!important;padding-top:18px!important;border-top:1px solid var(--v39-line)!important}.themeMenuPortalV39 .uiCustomize>span{grid-column:auto;font-size:11px!important;line-height:1.4!important;color:var(--v39-muted)!important;font-weight:900!important;letter-spacing:.8px!important}.themeMenuPortalV39 .uiCustomize>div{display:flex!important;grid-column:auto!important;gap:6px!important}.themeMenuPortalV39 .uiCustomize button{flex:1;min-height:39px!important;border:1px solid var(--v39-line)!important;border-radius:10px!important;background:var(--v39-soft)!important;color:var(--v39-ink)!important;font-size:12px!important;font-weight:800!important}.themeMenuPortalV39 .uiCustomize button.selected{background:var(--v39-navy)!important;color:#fff!important;border-color:var(--v39-navy)!important}

/* Profil görsel yönetimi */
.systemV39.proApp .v39PageHead{display:flex;align-items:flex-end;justify-content:space-between;gap:28px;margin:0 0 24px;padding:10px 0 4px}.systemV39.proApp .v39PageHead>div{max-width:820px}.systemV39.proApp .v39PageHead span,.systemV39.proApp .profileMediaSectionV39>header span{display:block;margin-bottom:8px;color:var(--ui-accent,var(--v39-red));font-size:11px!important;line-height:1.4!important;font-weight:950;letter-spacing:1.5px}.systemV39.proApp .v39PageHead h1{margin:0;color:var(--ui-heading,var(--v39-ink));font-size:clamp(38px,4vw,56px);line-height:1;letter-spacing:-2px}.systemV39.proApp .v39PageHead p{max-width:760px;margin:15px 0 0;color:var(--ui-muted,var(--v39-muted));font-size:15px!important;line-height:1.65!important}.systemV39.proApp .v39PageHead aside{flex:0 0 170px;min-height:112px;padding:20px;border:1px solid var(--ui-border,var(--v39-line));border-radius:20px;background:linear-gradient(145deg,var(--ui-surface,#fff),var(--ui-accent-soft,#f1f7fa));display:grid;align-content:center}.systemV39.proApp .v39PageHead aside b{font-size:38px;line-height:1;color:var(--ui-heading,var(--v39-ink))}.systemV39.proApp .v39PageHead aside small{margin-top:8px;font-size:10px!important;line-height:1.4!important;color:var(--ui-muted,var(--v39-muted));font-weight:900;letter-spacing:.9px}
.systemV39.proApp .profileMediaIntroV39{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:18px}.systemV39.proApp .profileMediaIntroV39 article{min-height:92px;padding:18px;border:1px solid var(--ui-border,var(--v39-line));border-radius:18px;background:var(--ui-surface,#fff);display:grid;grid-template-columns:42px 1fr;align-items:center;gap:13px}.systemV39.proApp .profileMediaIntroV39 i{width:42px;height:42px;border-radius:13px;background:var(--ui-accent-soft,#fff0f1);color:var(--ui-accent,var(--v39-red));display:grid;place-items:center;font-style:normal;font-weight:950}.systemV39.proApp .profileMediaIntroV39 b{display:block;color:var(--ui-heading,var(--v39-ink));font-size:14px}.systemV39.proApp .profileMediaIntroV39 small{display:block;margin-top:4px;color:var(--ui-muted,var(--v39-muted));font-size:11px!important;line-height:1.45!important}
.systemV39.proApp .profileMediaSectionV39{margin:18px 0;padding:24px;border:1px solid var(--ui-border,var(--v39-line));border-radius:24px;background:var(--ui-surface,#fff);box-shadow:0 14px 45px rgba(10,47,61,.055)}.systemV39.proApp .profileMediaSectionV39>header{display:flex;align-items:end;justify-content:space-between;gap:18px;padding:0 2px 19px;border-bottom:1px solid var(--ui-border,var(--v39-line))}.systemV39.proApp .profileMediaSectionV39 h2{margin:0;color:var(--ui-heading,var(--v39-ink));font-size:27px;letter-spacing:-.7px}.systemV39.proApp .profileMediaSectionV39>header>b{padding:8px 12px;border-radius:999px;background:var(--ui-accent-soft,#fff0f1);color:var(--ui-accent,var(--v39-red));font-size:12px}
.systemV39.proApp .profileMediaGridV39{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:18px}.systemV39.proApp .profileMediaGridV39>article{display:grid;grid-template-columns:82px minmax(0,1fr);gap:15px;padding:15px;border:1px solid var(--ui-border,var(--v39-line));border-radius:18px;background:color-mix(in srgb,var(--ui-surface,#fff) 86%,var(--ui-surface-2,#f4f8fa));transition:.2s}.systemV39.proApp .profileMediaGridV39>article:hover{border-color:color-mix(in srgb,var(--ui-accent,var(--v39-red)) 35%,var(--ui-border,var(--v39-line)));transform:translateY(-2px);box-shadow:0 15px 35px rgba(8,37,50,.07)}
.systemV39.proApp .profileMediaVisualV39{grid-row:1/3;width:82px;height:82px;border-radius:20px;background:linear-gradient(145deg,#0b3444,#176174);display:grid;place-items:center;overflow:hidden;color:#fff}.systemV39.proApp .profileMediaVisualV39.athlete{border-radius:50%}.systemV39.proApp .profileMediaVisualV39 img{width:100%;height:100%;display:block;object-fit:cover}.systemV39.proApp .profileMediaVisualV39.club img{object-fit:contain;padding:8px;background:#fff}.systemV39.proApp .profileMediaVisualV39 span{font-size:24px;font-weight:950}.systemV39.proApp .profileMediaGridV39 article>div:nth-child(2){min-width:0}.systemV39.proApp .profileMediaGridV39 article small{display:block;color:var(--ui-muted,var(--v39-muted));font-size:11px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.systemV39.proApp .profileMediaGridV39 h3{margin:5px 0 6px;color:var(--ui-heading,var(--v39-ink));font-size:17px;line-height:1.25}.systemV39.proApp .profileMediaGridV39 em{color:var(--v39-green);font-size:11px;font-style:normal;font-weight:800}
.systemV39.proApp .profileMediaGridV39 form{grid-column:2;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px;margin-top:4px}.systemV39.proApp .profileMediaGridV39 form label{position:relative;min-width:0;min-height:42px;border:1px dashed var(--ui-border,var(--v39-line));border-radius:11px;background:var(--ui-surface,#fff);display:grid;place-items:center;overflow:hidden;cursor:pointer}.systemV39.proApp .profileMediaGridV39 form input[type=file]{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.systemV39.proApp .profileMediaGridV39 form label span{max-width:100%;padding:0 10px;color:var(--ui-muted,var(--v39-muted));font-size:12px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.systemV39.proApp .profileMediaGridV39 form button{min-height:42px;padding:0 14px;border:0;border-radius:11px;background:var(--ui-accent,var(--v39-red));color:var(--ui-on-accent,#fff);font-size:12px!important;font-weight:900;cursor:pointer}

/* Yüklenen görseller her yüzeyde aynı kuralla görünür. */
.systemV39 .clubLogoV39,.systemV39 .clubMark,.systemV39 .clubIdentityV38>i,.systemV39 .clubMonogramV29{overflow:hidden!important}.systemV39 :is(.clubLogoV39,.clubMark,.clubIdentityV38>i,.clubMonogramV29)>img{display:block;width:100%;height:100%;object-fit:contain;background:#fff;padding:7px}.systemV39 :is(.athletePhoto,.athleteHeroAvatar)>img{display:block;width:100%;height:100%;object-fit:cover}.systemV39 .athletePhoto{overflow:hidden}.systemV39 .athletePhoto>img+small{z-index:2}.systemV39 .clubVisualLinkV39{display:inline-flex!important;width:max-content;margin-top:15px;padding:10px 13px;border:1px solid var(--ui-border,var(--v39-line));border-radius:11px;color:var(--ui-accent,var(--v39-red))!important;background:var(--ui-surface,#fff);font-size:12px!important;font-weight:900}

/* Bütün sayfalarda daha dengeli yüzey ve hareket. */
.systemV39.proApp .proCard,.systemV39.proApp .metricCards article,.systemV39.proApp .v13Table,.systemV39.portalV5 :is(.clubGrid,.athleteGrid,.achievementGrid)>article{transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}.systemV39.proApp .proCard:hover,.systemV39.proApp .metricCards article:hover{border-color:color-mix(in srgb,var(--ui-accent,var(--v39-red)) 22%,var(--ui-border,var(--v39-line)));box-shadow:0 18px 45px rgba(9,43,57,.075)}
.systemV39.proApp .proContent :is(p,label,input,select,textarea,button,a){text-rendering:optimizeLegibility}.systemV39.proApp .proContent p{font-size:14px!important}.systemV39.proApp .proContent small{font-size:11px!important;line-height:1.45!important}.systemV39.proApp .proSide nav a{min-height:40px!important}.systemV39.proApp .proSide nav>small{margin-top:13px!important}
.systemV39.proApp .v39HeadActions{display:flex;align-items:center;justify-content:flex-end;gap:9px;flex-wrap:wrap}.systemV39.proApp .v39HeadActions .outlineAction{display:inline-flex;align-items:center;justify-content:center;min-height:47px;padding:0 16px;border:1px solid var(--ui-border,var(--v39-line));border-radius:13px;background:var(--ui-surface,#fff);color:var(--ui-heading,var(--v39-ink));font-weight:900}
.systemV39.proApp .v39PageHead aside small{font-size:11px!important}

html[data-theme="dark"] .themeMenuPortalV39{--v39-card:#0c2631;--v39-ink:#eff8fa;--v39-muted:#a0b3bc;--v39-line:#2b4955;--v39-soft:#12313d;background:#0c2631!important;border-color:#2b4955!important;color:#eff8fa!important}html[data-theme="dark"] .themeMenuPortalV39 .themeDialogHeadV34{background:#0c2631!important}html[data-theme="dark"] .themeMenuPortalV39>button:not(.themeCloseV34):hover,html[data-theme="dark"] .themeMenuPortalV39>button.selected{background:#26313b!important}html[data-theme="dark"] .themeMenuPortalV39>button>i{background:#183b48!important}

@media(max-width:1050px){.systemV39.proApp .profileMediaGridV39{grid-template-columns:1fr}.systemV39.proApp .profileMediaIntroV39{grid-template-columns:1fr}}
@media(max-width:720px){.themeMenuPortalV39{padding:17px!important;border-radius:20px!important}.themeMenuPortalV39 .themeDialogHeadV34{top:-17px}.themeMenuPortalV39 .smartPacksV29,.themeMenuPortalV39 .uiCustomize{grid-template-columns:1fr!important}.themeMenuPortalV39 .uiCustomize>span,.themeMenuPortalV39 .uiCustomize>div{grid-column:1!important}.systemV39.proApp .v39PageHead{align-items:flex-start;flex-direction:column}.systemV39.proApp .v39PageHead aside{width:100%;min-height:90px}.systemV39.proApp .profileMediaSectionV39{padding:17px}.systemV39.proApp .profileMediaGridV39>article{grid-template-columns:68px minmax(0,1fr)}.systemV39.proApp .profileMediaVisualV39{width:68px;height:68px}.systemV39.proApp .profileMediaGridV39 form{grid-column:1/-1}.systemV39.proApp .v39HeadActions{width:100%;justify-content:stretch}.systemV39.proApp .v39HeadActions>*{flex:1}.systemV39.portalV5 :is(.clubLogoV39,.clubMark)>img{padding:5px}}
@media(max-width:430px){.systemV39.proApp .profileMediaGridV39 form{grid-template-columns:1fr}.systemV39.proApp .profileMediaGridV39 form button{width:100%}.themeMenuPortalV39>button:not(.themeCloseV34){grid-template-columns:42px 1fr 20px!important}}
