/* V7.259: unified layout and accessible cover viewer without crop changes. */
.cadde-profile-shell{width:100%;max-width:1060px;margin:0 auto;min-width:0}
.cadde-profile-shell .cadde-enhanced-profile-card{width:100%!important;max-width:100%!important;margin:0 0 18px!important}
.cadde-profile-shell .cadde-sp3-tabs,.cadde-profile-shell .cadde-sp3-panels{width:100%;max-width:100%;min-width:0;box-sizing:border-box}
.cadde-profile-shell .cadde-sp3-tabs{margin:8px 0 15px;scrollbar-width:thin;overflow-x:auto;overscroll-behavior-inline:contain}
.cadde-profile-shell .cadde-sp3-panel{min-width:0;max-width:100%;box-sizing:border-box}
.cadde-profile-shell .cadde-enhanced-profile-card .cadde-profile-main{align-items:center;gap:16px}
.cadde-profile-shell .cadde-enhanced-profile-card .cadde-profile-main-content{padding-top:28px!important}
.cadde-profile-shell .cadde-enhanced-profile-card .cadde-profile-title-row{row-gap:9px;column-gap:11px}
.cadde-profile-shell .cadde-enhanced-profile-card .cadde-profile-actions{gap:12px}
.cadde-profile-shell .cadde-enhanced-profile-card .cadde-profile-button-row{gap:8px}
.cadde-profile-shell .cadde-enhanced-profile-card .cadde-profile-button-row .btn{padding:10px 13px;font-size:12px;white-space:normal;text-align:center}
.cadde-profile-shell .cadde-enhanced-profile-card .cadde-profile-meta-row{gap:8px}
.cadde-cover-view-actions{display:flex;justify-content:flex-end;margin:-6px 0 10px}
.cadde-cover-view-trigger,.cadde-visitor-preview-btn{background:#22364a;color:#dce9f7;border:1px solid #49647e;border-radius:9px;cursor:pointer;font-family:inherit;font-weight:700;font-size:11px;line-height:1.4;padding:8px 12px;min-height:36px}
.cadde-cover-view-trigger:hover,.cadde-visitor-preview-btn:hover{border-color:#f97316;color:#fff}
.cadde-profile-preview-tools{display:flex;flex-wrap:wrap;align-items:center;gap:9px;margin:0 0 14px}
.cadde-profile-preview-tools p{margin:0;font-size:11px;color:#f8c88a;line-height:1.45;max-width:58ch}
.cadde-profile-shell.cadde-visitor-preview .cadde-v253-cover-form,
.cadde-profile-shell.cadde-visitor-preview .cadde-profile-button-row a[href*="profil-duzenle.php"],
.cadde-profile-shell.cadde-visitor-preview .cadde-profile-button-row a[href*="sifre-degistir.php"],
.cadde-profile-shell.cadde-visitor-preview .cadde-v253-manage,
.cadde-profile-shell.cadde-visitor-preview .cadde-avatar-photo-menu,
.cadde-profile-shell.cadde-visitor-preview .cadde-profile-founder-link{display:none!important}
.cadde-visitor-preview .cadde-avatar-hover{display:none!important}
.cadde-profile-shell.cadde-visitor-preview .cadde-editable-avatar{pointer-events:none}
.cadde-profile-preview-tools:has(.cadde-visitor-preview-btn[aria-pressed=true]) .cadde-visitor-preview-btn{background:#f97316;color:#fff;border-color:#f97316}
.cadde-cover-view-dialog[hidden]{display:none!important}
.cadde-cover-view-dialog{position:fixed;inset:0;z-index:100001;background:rgba(5,13,25,.92);display:grid;place-items:center;padding:clamp(10px,3vw,28px);overflow:auto}
.cadde-cover-view-panel{width:min(100%,1200px);max-height:calc(100dvh - 20px);display:grid;gap:10px;justify-items:end;outline:0}
.cadde-cover-view-panel img{display:block;width:100%;height:auto;aspect-ratio:10/3;object-fit:contain;border-radius:12px;background:#14273c;box-shadow:0 12px 42px rgba(0,0,0,.4)}
.cadde-cover-view-close{font-family:inherit;font-weight:700;font-size:12px;line-height:1.4;background:#263a50;color:#fff;border:1px solid #7990a7;border-radius:10px;cursor:pointer;padding:9px 13px;min-height:40px}
.cadde-cover-view-trigger:focus-visible,.cadde-visitor-preview-btn:focus-visible,.cadde-cover-view-close:focus-visible{outline:2px solid #ff9b55;outline-offset:3px}
body.cadde-cover-view-open{overflow:hidden}
@media(max-width:760px){
 .cadde-profile-shell{max-width:100%}
 .cadde-profile-shell .cadde-enhanced-profile-card .cadde-profile-main{align-items:center;gap:10px}
 .cadde-profile-shell .cadde-enhanced-profile-card .cadde-profile-main-content{padding-top:0!important}
 .cadde-profile-shell .cadde-enhanced-profile-card .cadde-profile-title-row{justify-content:center;gap:8px}
 .cadde-profile-shell .cadde-enhanced-profile-card .cadde-profile-actions{display:flex;flex-direction:column;align-items:stretch;gap:12px}
 .cadde-profile-shell .cadde-enhanced-profile-card .cadde-profile-follow,.cadde-profile-shell .cadde-enhanced-profile-card .cadde-profile-button-row{justify-content:center}
 .cadde-profile-shell .cadde-sp3-tabs{scroll-padding-inline:10px}
 .cadde-cover-view-actions,.cadde-profile-preview-tools{justify-content:center}
 .cadde-profile-preview-tools p{text-align:center}
 .cadde-cover-view-dialog{padding:12px}
 .cadde-cover-view-panel img{border-radius:8px}
}
@media(max-width:400px){
 .cadde-profile-shell .cadde-enhanced-profile-card .cadde-profile-button-row{display:grid;grid-template-columns:1fr 1fr}
 .cadde-profile-shell .cadde-enhanced-profile-card .cadde-profile-button-row .btn{min-width:0;width:100%}
 .cadde-profile-shell .cadde-enhanced-profile-card .cadde-profile-button-row .btn:last-child:nth-child(odd){grid-column:1/-1}
}
@media(prefers-reduced-motion:reduce){.cadde-cover-view-dialog *{transition:none!important}}
