/* O021 — Herkese Açık Profil Sayfası (S027–S030) · Admina belirteçleri (kf-theme.css). */
.kf-profile{max-width:880px;margin:1rem auto;box-sizing:border-box;border:1px solid var(--kf-border,#e5e7eb);border-radius:var(--kf-radius,10px);background:#fff;box-shadow:var(--kf-shadow,0 1px 2px rgba(0,0,0,.05));overflow:hidden;color:var(--kf-text,#1f2937)}
.kf-profile *,.kf-profile *::before,.kf-profile *::after{box-sizing:border-box}
.kf-profile--notice{padding:1.5rem;max-width:560px}
.kf-profile__message{margin:0;padding:.75em 1em;border-radius:var(--kf-radius-md,6px);border:1px solid var(--kf-info-border,#bfdbfe);background:var(--kf-info-soft,#eff6ff);color:var(--kf-info-text,#1e40af)}
.kf-profile__message[data-type=error]{border-color:var(--kf-danger-border,#fecaca);background:var(--kf-danger-soft,#fef2f2);color:var(--kf-danger-text,#991b1b)}
.kf-profile__message a{font-weight:600;margin-left:.25em}
.kf-profile__cover{height:96px;background:linear-gradient(120deg,var(--kf-primary,#465fff),var(--kf-primary-strong,#3641f5) 60%,#7a5af8)}
.kf-profile__cover--image{position:relative;overflow:hidden;height:clamp(120px,18vw,220px)}
.kf-profile__cover--image img{display:block;width:100%;height:100%;max-width:none;object-fit:cover}
.kf-profile__head{display:flex;flex-wrap:wrap;align-items:flex-end;gap:1rem 1.25rem;padding:0 1.5rem;margin-top:-48px}
.kf-profile__avatar{width:96px;height:96px;border-radius:50%;border:4px solid #fff;background:var(--kf-surface,#f9fafb);box-shadow:0 2px 6px rgba(16,24,40,.12);flex:none}
.kf-profile__id{flex:1 1 220px;min-width:0;padding-top:52px}
.kf-profile__name{margin:0;font-size:1.45rem;line-height:1.25;color:var(--kf-heading,#101828);overflow-wrap:anywhere}
.kf-profile__name:focus{outline:none}
.kf-profile__handle,.kf-profile__meta{display:flex;flex-wrap:wrap;align-items:center;gap:.35rem .6rem;margin:.25rem 0 0;color:var(--kf-muted,#667085);font-size:.9em}
.kf-profile__meta a{color:var(--kf-primary,#465fff);font-weight:500}
.kf-profile__role{--kf-role:var(--kf-primary,#465fff);display:inline-flex;align-items:center;gap:.35em;padding:.1em .6em;border-radius:999px;border:1px solid color-mix(in srgb,var(--kf-role) 35%,#fff);background:color-mix(in srgb,var(--kf-role) 10%,#fff);color:color-mix(in srgb,var(--kf-role) 80%,#000);font-size:.85em;font-weight:600}
.kf-profile__role::before{content:"";width:.5em;height:.5em;border-radius:50%;background:var(--kf-role)}
.kf-profile__actions{display:flex;flex-wrap:wrap;gap:.5rem;padding-bottom:.25rem}
.kf-profile__actions .kf-button{min-height:44px;justify-content:center}
.kf-profile .kf-profile__following{background:var(--kf-primary-soft,#ecf3ff)!important;border-color:var(--kf-primary,#465fff)!important;color:var(--kf-primary-text,#2a31d8)!important}
.kf-profile .kf-profile__report{color:var(--kf-danger-text,#b42318)}
.kf-profile .kf-button:focus-visible,.kf-profile__tab:focus-visible,.kf-profile__panel:focus-visible,.kf-profile a:focus-visible,.kf-profile-modal :focus-visible{outline:var(--kf-focus,2px solid #2271b1);outline-offset:2px}
.kf-profile .kf-button[aria-pressed]{transition:background .15s,color .15s}
.kf-profile__status{margin:1rem 1.5rem 0;padding:.6em .9em;border-radius:var(--kf-radius-md,6px);border:1px solid var(--kf-success-border,#a6f4c5);background:var(--kf-success-soft,#ecfdf3);color:var(--kf-success-text,#027a48);font-size:.9em}
.kf-profile__status[data-type=error]{border-color:var(--kf-danger-border,#fecdca);background:var(--kf-danger-soft,#fef3f2);color:var(--kf-danger-text,#b42318)}
.kf-profile__status[hidden]{display:none}
.kf-profile__stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:0;margin:1.25rem 1.5rem 0;padding:0;list-style:none;border:1px solid var(--kf-line,#e4e7ec);border-radius:var(--kf-radius-md,8px);background:var(--kf-surface,#f9fafb)}
.kf-profile__stats li{display:flex;flex-direction:column;align-items:center;padding:.7rem .25rem;text-align:center}
.kf-profile__stats li+li{border-left:1px solid var(--kf-line,#e4e7ec)}
.kf-profile__stats strong{font-size:1.15rem;color:var(--kf-heading,#101828)}
.kf-profile__stats span{font-size:.8em;color:var(--kf-muted,#667085)}
.kf-profile__tabs{margin:1.25rem 0 0;padding:0 1.5rem;border-bottom:1px solid var(--kf-line,#e4e7ec)}
.kf-profile__tabs [role=tablist]{display:flex;gap:.25rem;overflow-x:auto;scrollbar-width:thin}
.kf-profile .kf-profile__tabs .kf-profile__tab[role=tab]{display:inline-flex;align-items:center;gap:.4em;min-height:44px;padding:.5rem .9rem;border-bottom:2px solid transparent;color:var(--kf-muted,#667085);font-weight:500;text-decoration:none;white-space:nowrap}
.kf-profile .kf-profile__tabs .kf-profile__tab[role=tab]:hover{color:var(--kf-heading,#101828)}
.kf-profile .kf-profile__tabs .kf-profile__tab[role=tab][aria-selected=true]{border-bottom-color:var(--kf-primary,#465fff);color:var(--kf-primary,#465fff)}
.kf-profile__count{min-width:1.6em;padding:0 .45em;border-radius:999px;background:var(--kf-surface,#f2f4f7);color:var(--kf-muted,#667085);font-size:.78em;text-align:center}
.kf-profile__tab[aria-selected=true] .kf-profile__count{background:var(--kf-primary-soft,#ecf3ff);color:var(--kf-primary,#465fff)}
.kf-profile__panel{padding:1.25rem 1.5rem 1.5rem}
.kf-profile__panel[hidden]{display:none}
.kf-profile__paneltitle{margin:0 0 .75rem;font-size:1rem;color:var(--kf-heading,#101828)}
.kf-profile__bio{margin:0 0 1rem;line-height:1.6;overflow-wrap:anywhere}
.kf-profile__bio p{margin:0 0 .6em}
.kf-profile__empty{margin:0 0 1rem;padding:1.25rem;border:1px dashed var(--kf-border,#d0d5dd);border-radius:var(--kf-radius-md,8px);color:var(--kf-muted,#667085);text-align:center}
.kf-profile__details{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:.75rem;margin:0}
.kf-profile__details div{padding:.65rem .8rem;border:1px solid var(--kf-line,#e4e7ec);border-radius:var(--kf-radius-md,8px)}
.kf-profile__details dt{font-size:.78em;color:var(--kf-muted,#667085);text-transform:uppercase;letter-spacing:.03em}
.kf-profile__details dd{margin:.15rem 0 0;font-weight:600;overflow-wrap:anywhere}
.kf-profile__list{margin:0;padding:0;list-style:none}
.kf-profile__list li{padding:.75rem 0;border-bottom:1px solid var(--kf-line,#e4e7ec)}
.kf-profile__list a{font-weight:600}
.kf-profile__itemmeta{display:block;font-size:.82em;color:var(--kf-muted,#667085)}
.kf-profile__list p{margin:.3rem 0 0}
.kf-profile__badges{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:.75rem;margin:0;padding:0;list-style:none}
.kf-profile__badge{display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto auto;column-gap:.7rem;align-items:center;padding:.8rem;border:1px solid var(--kf-line,#e4e7ec);border-radius:var(--kf-radius-md,8px)}
.kf-profile__badge strong{color:var(--kf-heading,#101828)}
.kf-profile__badge span:last-child{grid-column:2;font-size:.82em;color:var(--kf-muted,#667085)}
.kf-profile__badgeicon{grid-row:1/3;display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:var(--kf-info-soft,#eff8ff);color:var(--kf-info-text,#175cd3);font-size:1.1rem}
.kf-profile__badge[data-tone=success] .kf-profile__badgeicon{background:var(--kf-success-soft,#ecfdf3);color:var(--kf-success-text,#027a48)}
.kf-profile__badge[data-tone=warning] .kf-profile__badgeicon{background:var(--kf-warning-soft,#fffaeb);color:var(--kf-warning-text,#b54708)}
.kf-profile__badge[data-tone=danger] .kf-profile__badgeicon{background:var(--kf-danger-soft,#fef3f2);color:var(--kf-danger-text,#b42318)}
.kf-profile__badge[data-tone=primary] .kf-profile__badgeicon{background:var(--kf-primary-soft,#ecf3ff);color:var(--kf-primary,#465fff)}
/* B043 iletişim kutusu */
.kf-profile-modal{width:min(480px,calc(100vw - 2rem));max-height:calc(100vh - 2rem);padding:0;border:1px solid var(--kf-border,#e4e7ec);border-radius:var(--kf-radius,12px);box-shadow:0 20px 40px rgba(16,24,40,.2);color:var(--kf-text,#1f2937)}
.kf-profile-modal::backdrop{background:rgba(16,24,40,.45)}
.kf-profile-modal__form{margin:0;padding:1.25rem 1.5rem}
.kf-profile-modal__title{margin:0 0 .35rem;font-size:1.15rem;color:var(--kf-heading,#101828)}
.kf-profile-modal__title:focus{outline:none}
.kf-profile-modal__desc{margin:0 0 1rem;color:var(--kf-muted,#667085);font-size:.88em}
.kf-profile-modal__message{margin:0 0 1rem;padding:.6em .8em;border-radius:var(--kf-radius-md,6px);border:1px solid var(--kf-danger-border,#fecdca);background:var(--kf-danger-soft,#fef3f2);color:var(--kf-danger-text,#b42318);font-size:.9em}
.kf-profile-modal__message[hidden],.kf-profile-modal__error[hidden]{display:none}
.kf-profile-modal__reasons{margin:0 0 1rem;padding:0;border:0}
.kf-profile-modal__reasons legend{margin-bottom:.4rem;font-weight:600}
.kf-profile-modal__reasons label{display:flex;align-items:center;gap:.55rem;min-height:40px;padding:0 .6rem;border:1px solid var(--kf-line,#e4e7ec);border-radius:var(--kf-radius-md,6px);margin-bottom:.35rem;cursor:pointer}
.kf-profile-modal__reasons label:has(input:checked){border-color:var(--kf-primary,#465fff);background:var(--kf-primary-soft,#ecf3ff)}
.kf-profile-modal__reasons[aria-invalid=true] label{border-color:var(--kf-danger,#d92d20)}
.kf-profile-modal__reasons input{width:18px;height:18px;margin:0;accent-color:var(--kf-primary,#465fff)}
.kf-profile-modal__field{display:flex;flex-direction:column;gap:.35rem;margin:0 0 1rem}
.kf-profile-modal__field label{font-weight:600}
.kf-profile-modal__opt{font-weight:400;color:var(--kf-muted,#667085);font-size:.85em}
.kf-profile-modal__field textarea{width:100%;padding:.55em .75em;border:1px solid var(--kf-input,#d0d5dd);border-radius:var(--kf-radius-md,6px);font:inherit;resize:vertical}
.kf-profile-modal__field textarea[aria-invalid=true]{border-color:var(--kf-danger,#d92d20);box-shadow:0 0 0 1px var(--kf-danger,#d92d20)}
.kf-profile-modal__count{align-self:flex-end;font-size:.78em;color:var(--kf-muted,#667085)}
.kf-profile-modal__error{color:var(--kf-danger-text,#b42318);font-size:.85em;font-weight:600}
.kf-profile-modal__actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:.6rem;margin:0}
.kf-profile-modal__actions .kf-button{min-height:44px;min-width:120px;justify-content:center}
.kf-profile-modal [data-kf-button=cancel]{background:#fff!important;border:1px solid var(--kf-input,#d0d5dd)!important;color:var(--kf-heading,#101828)!important}
/* Yönetim (Profil sekmesi) */
.kf-profile-admin__scroll{overflow-x:auto}
.kf-profile-admin__login,.kf-profile-admin__note{color:var(--kf-muted,#667085);font-size:.85em}
.kf-profile-admin__table th,.kf-profile-admin__table td{vertical-align:top}
@media (max-width:600px){
	.kf-profile{margin:.5rem 0;border-radius:var(--kf-radius-md,8px)}
	.kf-profile__cover{height:72px}
	.kf-profile__cover--image{height:120px}
	.kf-profile__head{padding:0 1rem;margin-top:-40px;align-items:flex-start}
	.kf-profile__avatar{width:80px;height:80px}
	.kf-profile__id{padding-top:0;flex-basis:100%}
	.kf-profile__actions{width:100%}
	.kf-profile__actions .kf-button{flex:1 1 auto}
	.kf-profile__stats{grid-template-columns:repeat(3,minmax(0,1fr));margin:1rem 1rem 0}
	.kf-profile__stats li:nth-child(4){border-left:0}
	.kf-profile__stats li:nth-child(n+4){border-top:1px solid var(--kf-line,#e4e7ec)}
	.kf-profile__status{margin:1rem 1rem 0}
	.kf-profile__tabs{padding:0 .5rem}
	.kf-profile__tabs [role=tablist]{flex-wrap:wrap;overflow:visible}
	.kf-profile .kf-profile__tabs .kf-profile__tab[role=tab]{padding:.5rem .6rem}
	.kf-profile__panel{padding:1rem}
	.kf-profile-modal__form{padding:1rem}
	.kf-profile-modal__actions .kf-button{flex:1 1 auto}
}
@media (prefers-reduced-motion:reduce){.kf-profile .kf-button[aria-pressed]{transition:none}}
/* O024 — profilde imza */
.kf-profile__signature{margin:1rem 0}
.kf-profile__subtitle{margin:0 0 .35rem;font-size:.85em;text-transform:uppercase;letter-spacing:.04em;color:var(--kf-muted,#667085)}
.kf-profile .kf-signature{padding-top:.6rem;border-top:1px dashed var(--kf-line,#d0d5dd);color:var(--kf-muted,#667085);font-size:.9em;line-height:1.55;overflow-wrap:anywhere}
.kf-profile .kf-signature a{color:var(--kf-primary,#487fff)}
/* O026: çevrimiçi durumu + e-posta notu. */
.kf-profile__online{display:inline-flex;align-items:center;gap:.35rem;font-size:.8rem;color:var(--kf-muted,#667085)}
.kf-profile__onlinedot{width:.55rem;height:.55rem;border-radius:50%;background:#98a2b3}
.kf-profile__online[data-state=online]{color:var(--kf-success-text,#027a48);font-weight:500}
.kf-profile__online[data-state=online] .kf-profile__onlinedot{background:#12b76a;box-shadow:0 0 0 3px rgba(18,183,106,.18)}
.kf-profile__note{color:var(--kf-muted,#667085);font-size:.8em}
.kf-profile__badgeimg{grid-row:1/3;width:40px;height:40px;object-fit:contain;filter:drop-shadow(0 1px 2px rgba(16,24,40,.18))} /* O076 kütüphane görseli */
