:root{
  --bg:#f4f5fa;--card:#ffffff;--soft:#f3f4fb;--line:#e7e8f0;--text:#14151a;--muted:#6b6f80;
  --acc:#4f46e5;--acc2:#7c3aed;--acc-soft:#eef0ff;--ok:#22c55e;--shadow:0 1px 3px rgba(20,21,40,.05),0 4px 18px rgba(20,21,40,.04);
}
[data-theme="dark"]{
  --bg:#0d0e13;--card:#16171e;--soft:#1e2029;--line:#262833;--text:#ecedf3;--muted:#9a9db0;
  --acc:#7c83ff;--acc2:#a78bfa;--acc-soft:#23254a;--shadow:0 1px 2px rgba(0,0,0,.4);
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{background:var(--bg);color:var(--text);font-family:"Plus Jakarta Sans",system-ui,-apple-system,"Segoe UI",sans-serif;font-size:15px;line-height:1.5;-webkit-font-smoothing:antialiased;transition:background .25s,color .25s}
a{color:inherit;text-decoration:none}
button{font:inherit;color:inherit;background:none;border:0;cursor:pointer}
svg{flex:none}
.ico{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

.app{display:grid;grid-template-columns:240px minmax(0,1fr) 380px;gap:24px;max-width:1560px;margin:0 auto;padding:16px 20px 60px}

/* ---------- sol menü ---------- */
.nav{position:sticky;top:16px;height:calc(100vh - 32px);display:flex;flex-direction:column}
.brand{display:flex;align-items:center;gap:12px;padding:10px 12px 26px;font-weight:800;font-size:20px;letter-spacing:-.02em}
.brand i{font-style:normal;font-size:34px;font-weight:800;line-height:1;background:linear-gradient(135deg,var(--acc),var(--acc2));-webkit-background-clip:text;background-clip:text;color:transparent;transform:skewX(-10deg)}
.nav a.it{display:flex;align-items:center;gap:14px;padding:13px 16px;border-radius:12px;font-weight:600;font-size:16px;color:var(--text);margin-bottom:4px;transition:background .2s}
.nav a.it:hover{background:var(--card)}
.nav a.it.on{background:var(--acc-soft);color:var(--acc)}
.nav hr{border:0;border-top:1px solid var(--line);margin:14px 12px}
.cta-card{margin-top:auto;border-radius:18px;padding:20px;color:#fff;background:linear-gradient(160deg,#6366f1,#7c3aed 55%,#c026d3);position:relative;overflow:hidden}
.cta-card::after{content:"";position:absolute;right:-30px;bottom:-30px;width:140px;height:140px;border-radius:50%;background:rgba(255,255,255,.12)}
.cta-card b{display:block;font-size:19px;line-height:1.25;margin:10px 0 4px}
.cta-card p{opacity:.85;font-size:14px}
.cta-card a{position:relative;z-index:1;margin-top:14px;display:flex;align-items:center;justify-content:center;gap:8px;background:#fff;color:#1e1b4b;border-radius:10px;height:42px;font-weight:700}
.theme{display:flex;align-items:center;gap:10px;padding:12px 16px;margin-top:12px;border-radius:12px;font-weight:600;color:var(--muted)}
.theme:hover{background:var(--card)}

/* ---------- orta ---------- */
.mid{min-width:0;display:grid;gap:18px;align-content:start}
.card{background:var(--card);border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow)}
.prof{overflow:hidden}
.cover{height:240px;position:relative;background:linear-gradient(180deg,#312e81 0%,#7c3aed 32%,#f472b6 62%,#fb923c 85%,#fdba74 100%);overflow:hidden}
.cover svg.mt{position:absolute;left:0;right:0;bottom:0;width:100%;height:150px}
.cover .sun{position:absolute;left:62%;bottom:42px;width:70px;height:70px;border-radius:50%;background:radial-gradient(circle,#fff7d6,#fde68a 40%,rgba(253,186,116,0) 70%)}
.p-head{display:flex;gap:22px;padding:0 26px;position:relative}
.av{width:164px;height:164px;border-radius:50%;margin-top:-70px;border:5px solid var(--card);background:linear-gradient(135deg,#1f2937,#4b5563);display:grid;place-items:center;color:#fff;font-weight:800;font-size:54px;flex:none;position:relative;box-shadow:0 6px 20px rgba(0,0,0,.15)}
.av img{width:100%;height:100%;border-radius:50%;object-fit:cover}
.p-info{flex:1;padding-top:16px;min-width:0}
.p-row{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}
.p-name{display:flex;align-items:center;gap:8px;font-size:30px;font-weight:800;letter-spacing:-.02em;line-height:1.15}
.badge{width:24px;height:24px}
.handle{color:var(--muted);font-size:15px}
.roles{margin-top:4px;font-size:15px;font-weight:500}
.meta{display:flex;flex-wrap:wrap;gap:6px 18px;margin-top:8px;color:var(--muted);font-size:14px}
.meta span,.meta a{display:inline-flex;align-items:center;gap:6px}
.meta a{color:var(--acc);text-decoration:underline;text-underline-offset:3px}
.meta .ico{width:17px;height:17px}
.p-btns{display:flex;gap:8px;flex:none}
.btn{height:42px;padding:0 16px;border-radius:12px;display:inline-flex;align-items:center;gap:8px;font-weight:700;font-size:14.5px;border:1px solid var(--line);background:var(--card);transition:.2s}
.btn:hover{border-color:var(--muted)}
.btn.pri{background:var(--acc);border-color:var(--acc);color:#fff}
.btn.pri:hover{filter:brightness(1.08)}
.btn.sq{width:42px;padding:0;justify-content:center}
.btn .ico{width:19px;height:19px}
.p-bio{padding:18px 26px 4px}
.p-bio h2{font-size:22px;font-weight:800;letter-spacing:-.015em}
.p-bio p{color:var(--muted);margin-top:6px;font-size:15.5px;max-width:64ch}

/* hikâye halkaları */
.stories{display:flex;gap:14px;padding:20px 26px 22px;overflow-x:auto;scrollbar-width:none}
.stories::-webkit-scrollbar{display:none}
.st{display:flex;flex-direction:column;align-items:center;gap:7px;width:78px;flex:none;text-align:center}
.st .ring{width:72px;height:72px;border-radius:50%;padding:3px;background:linear-gradient(135deg,var(--acc),var(--acc2),#ec4899);transition:transform .2s}
.st .in{width:100%;height:100%;border-radius:50%;border:3px solid var(--card);display:grid;place-items:center;font-size:28px;overflow:hidden}
.st .in img{width:100%;height:100%;object-fit:cover}
.st small{font-size:12.5px;line-height:1.25;font-weight:600}
.st small em{display:block;font-style:normal;font-weight:500;color:var(--muted)}
.st:hover .ring{transform:scale(1.05)}
.st.on .ring{background:var(--text)}

/* sekmeler */
.tabs{display:flex;border-top:1px solid var(--line);overflow-x:auto;scrollbar-width:none}
.tabs::-webkit-scrollbar{display:none}
.tab{flex:1;min-width:max-content;display:flex;align-items:center;justify-content:center;gap:9px;padding:16px 18px;font-weight:600;color:var(--muted);position:relative;font-size:15.5px}
.tab .ico{width:20px;height:20px}
.tab:hover{color:var(--text)}
.tab.on{color:var(--acc)}
.tab.on::after{content:"";position:absolute;left:12px;right:12px;bottom:0;height:3px;border-radius:3px 3px 0 0;background:var(--acc)}

.filterbar{display:none;align-items:center;justify-content:space-between;padding:12px 18px;font-weight:600}
.filterbar.on{display:flex}
.filterbar button{color:var(--acc)}

/* gönderi */
.post{padding:20px 22px 12px}
.post-h{display:flex;gap:12px;align-items:center}
.mav{width:46px;height:46px;border-radius:50%;background:linear-gradient(135deg,#1f2937,#4b5563);color:#fff;display:grid;place-items:center;font-weight:800;font-size:15px;flex:none;overflow:hidden}
.mav img{width:100%;height:100%;object-fit:cover}
.who{flex:1;min-width:0}
.who b{display:inline-flex;align-items:center;gap:5px;font-size:16px}
.who b .badge{width:18px;height:18px}
.who b span{font-weight:500;color:var(--muted);font-size:14.5px}
.who small{display:flex;align-items:center;gap:6px;color:var(--muted);font-size:13.5px}
.who small .ico{width:14px;height:14px}
.more{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;color:var(--muted)}
.more:hover{background:var(--soft)}
.post h3{font-size:20px;font-weight:800;letter-spacing:-.015em;margin-top:14px;line-height:1.3}
.post .tx{margin-top:6px;font-size:16px;line-height:1.6}
.post .tx p+p{margin-top:8px}
.post .tx .tg{color:var(--acc);font-weight:600}
.post .big{font-size:21px;font-weight:700;line-height:1.4;letter-spacing:-.01em;margin-top:14px}
.gal{display:grid;gap:8px;margin-top:14px}
.gal.n1{grid-template-columns:1fr}
.gal.n2{grid-template-columns:1fr 1fr}
.gal.n3{grid-template-columns:1.2fr 1fr 1fr}
.gal.n4{grid-template-columns:1fr 1fr}
.ph{border-radius:14px;aspect-ratio:16/10;position:relative;overflow:hidden;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;color:#fff;text-align:center;padding:12px}
.gal.n1 .ph{aspect-ratio:16/9}
.gal.n3 .ph,.gal.n4 .ph{aspect-ratio:4/3}
.ph::before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 30% 20%,rgba(255,255,255,.25),transparent 55%)}
.ph span{font-size:36px;position:relative}
.ph small{position:relative;font-size:12.5px;font-weight:600;opacity:.9;max-width:28ch}
.ph img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.life{margin-top:14px;border-radius:16px;background:var(--soft);padding:26px 18px;text-align:center}
.life .ic{width:60px;height:60px;border-radius:50%;margin:0 auto 10px;display:grid;place-items:center;font-size:28px;background:linear-gradient(135deg,var(--acc),var(--acc2))}
.life h4{font-size:20px;font-weight:800}
.life p{color:var(--muted);font-size:14px;margin-top:2px}
.post-tag{display:inline-flex;align-items:center;gap:6px;margin-top:10px;padding:4px 10px;border-radius:999px;background:var(--acc-soft);color:var(--acc);font-size:12.5px;font-weight:700}

/* görünümler */
.view[hidden]{display:none}
.vhead{padding:20px 22px 6px}
.vhead h2{font-size:22px;font-weight:800;letter-spacing:-.015em}
.vhead p{color:var(--muted);margin-top:2px}
.pgrid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.pc{overflow:hidden;display:flex;flex-direction:column}
.pc .top{height:130px;display:grid;place-items:center;font-size:48px;position:relative}
.pc .top::before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 30% 20%,rgba(255,255,255,.25),transparent 55%)}
.pc .bd{padding:16px 18px 18px;display:flex;flex-direction:column;gap:6px;flex:1}
.pc .yr{font-size:12.5px;font-weight:700;color:var(--acc);letter-spacing:.02em}
.pc h3{font-size:18px;font-weight:800;letter-spacing:-.01em}
.pc p{color:var(--muted);font-size:14.5px;flex:1}
.pc button{align-self:flex-start;margin-top:8px;color:var(--acc);font-weight:700;display:inline-flex;gap:6px;align-items:center}
.mgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;padding:12px 18px 18px}
.mgrid .ph{aspect-ratio:1;cursor:pointer}
.mgrid .ph span{font-size:28px}
.list{padding:6px 22px 18px}
.li{display:flex;gap:14px;padding:16px 0;border-top:1px solid var(--line)}
.li:first-child{border-top:0}
.li .ic{width:48px;height:48px;border-radius:14px;display:grid;place-items:center;font-size:22px;flex:none;background:var(--soft)}
.li b{display:block;font-size:16px}
.li small{color:var(--acc);font-weight:700;font-size:12.5px}
.li p{color:var(--muted);font-size:14.5px;margin-top:2px}
.tgroup{padding:14px 22px;border-top:1px solid var(--line)}
.tgroup:first-of-type{border-top:0}
.tgroup h4{font-size:14px;color:var(--muted);font-weight:700;margin-bottom:10px}
.chips{display:flex;flex-wrap:wrap;gap:8px}
.chip{display:inline-flex;align-items:center;gap:8px;padding:9px 14px;border-radius:12px;border:1px solid var(--line);background:var(--card);font-weight:600;font-size:14px}
.chip .ico{width:18px;height:18px}
.note{padding:22px;border-top:1px solid var(--line)}
.note:first-of-type{border-top:0}
.note q{display:block;font-size:22px;font-weight:800;letter-spacing:-.015em;line-height:1.3;quotes:"“" "”"}
.note small{display:block;margin-top:6px;color:var(--muted)}
.empty{padding:40px 22px;text-align:center;color:var(--muted)}
.empty b{display:block;color:var(--text);font-size:17px;margin-bottom:4px}

/* ---------- sağ ---------- */
.side{position:sticky;top:16px;display:grid;gap:18px;align-content:start;max-height:calc(100vh - 32px);overflow-y:auto;scrollbar-width:none;padding-bottom:4px}
.side::-webkit-scrollbar{display:none}
.side .card{padding:20px}
.side h2{font-size:19px;font-weight:800;letter-spacing:-.01em;margin-bottom:12px;display:flex;justify-content:space-between;align-items:center}
.side h2 a{font-size:13.5px;color:var(--acc);font-weight:700}
.about p{color:var(--muted);font-size:14.5px;line-height:1.6}
.about .rw{display:flex;gap:12px;align-items:center;margin-top:12px;font-size:14.5px}
.about .rw .ico{width:20px;height:20px;color:var(--muted)}
.about .rw a{color:var(--acc);text-decoration:underline;text-underline-offset:3px}
.stats{display:grid;grid-template-columns:repeat(3,1fr);padding:18px 8px!important}
.stats div{text-align:center;padding:0 6px;border-left:1px solid var(--line)}
.stats div:first-child{border-left:0}
.stats b{display:block;font-size:26px;font-weight:800;letter-spacing:-.02em}
.stats span{font-size:13px;color:var(--muted)}
.now .pill{display:inline-flex;align-items:center;gap:6px;font-size:13px;font-weight:700;color:#15803d;background:#dcfce7;padding:4px 10px;border-radius:999px}
[data-theme="dark"] .now .pill{background:#14331f;color:#4ade80}
.now .pill::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--ok)}
.now-img{border-radius:14px;height:150px;display:grid;place-items:center;font-size:52px;color:#fff;background:linear-gradient(135deg,#78350f,#b45309 50%,#f59e0b);position:relative;overflow:hidden}
.now-img::before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 30% 20%,rgba(255,255,255,.25),transparent 55%)}
.now h3{font-size:18px;font-weight:800;margin-top:12px;line-height:1.25}
.now p{color:var(--muted);font-size:14px;margin-top:4px}
.contact p{color:var(--muted);font-size:14.5px}
.contact .big-btn{margin-top:14px;height:50px;border-radius:12px;display:flex;align-items:center;justify-content:center;gap:10px;font-weight:800;font-size:16px;background:var(--text);color:var(--card)}
.contact .rw{display:flex;justify-content:space-between;font-size:14px;padding:10px 0 0;color:var(--muted)}
.contact .rw b{color:var(--text);font-weight:600}
.copy{font-size:12.5px;color:var(--muted);text-align:center}

.toast{position:fixed;left:50%;bottom:24px;transform:translate(-50%,20px);background:var(--text);color:var(--card);font-weight:700;padding:11px 18px;border-radius:12px;opacity:0;transition:.25s;pointer-events:none;z-index:90}
.toast.on{opacity:1;transform:translate(-50%,0)}
.mobbar{display:none}

/* ---------- responsive ---------- */
@media (max-width:1380px){.app{grid-template-columns:84px minmax(0,1fr) 340px}.brand b,.nav a.it span,.cta-card,.theme span{display:none}.brand{justify-content:center;padding:10px 0 26px}.nav a.it{justify-content:center;padding:13px 0}.theme{justify-content:center}}
@media (max-width:1060px){
  .app{grid-template-columns:minmax(0,1fr);padding:0 0 80px;gap:16px}
  .nav{display:none}
  .side{position:static;max-height:none;overflow:visible;padding:0 12px}
  .mid{padding:0 12px}
  .mobbar{display:flex;position:sticky;top:0;z-index:60;height:58px;align-items:center;justify-content:space-between;padding:0 16px;background:var(--card);border-bottom:1px solid var(--line)}
  .mobbar .brand{padding:0;font-size:18px;justify-content:flex-start}
  .mobbar .brand b{display:inline}
  .mobbar .brand i{font-size:28px}
  .mobbar div{display:flex;gap:8px}
}
@media (max-width:640px){
  .cover{height:170px}
  .p-head{flex-direction:column;align-items:center;text-align:center;gap:6px;padding:0 16px}
  .av{width:128px;height:128px;margin-top:-64px;font-size:42px}
  .p-info{padding-top:0}
  .p-row{flex-direction:column;align-items:center}
  .p-name{font-size:25px;justify-content:center}
  .meta{justify-content:center}
  .p-bio{padding:14px 16px 0;text-align:center}
  .p-bio h2{font-size:19px}
  .stories{padding:16px}
  .tab{padding:14px 14px;font-size:14.5px}
  .tab span{display:none}
  .tab.on span{display:inline}
  .post{padding:16px 14px 10px}
  .post h3{font-size:18px}
  .pgrid{grid-template-columns:1fr}
  .gal.n3{grid-template-columns:1fr 1fr}.gal.n3 .ph:first-child{grid-column:1/-1}
}

/* --- PHP sürümü ekleri --- */
.stack{display:grid;gap:18px}
.av img,.mav img{width:100%;height:100%;border-radius:50%;object-fit:cover}
.cover.foto{background-size:cover;background-position:center}
.pc .top img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.st .in img{width:100%;height:100%;object-fit:cover}
.now-row{display:flex;gap:12px;align-items:center;padding:12px 0 0;margin-top:12px;border-top:1px solid var(--line);text-align:left;width:100%}
.now-row i{width:46px;height:46px;border-radius:12px;display:grid;place-items:center;font-style:normal;font-size:22px;flex:none}
.now-row b{display:block;font-size:15px}
.now-row small{color:var(--muted);font-size:13px;line-height:1.35;display:block}
.now-img img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.now .first{display:block;width:100%;text-align:left}
