/* =========================================================
   Portfolyo â€” admin paneliyle aynÄ± tasarÄ±m dili
   ========================================================= */
:root {
  --accent: #2f5d50;
  --bg: #f6f5f2;
  --surface: #ffffff;
  --surface-2: #fbfaf8;
  --text: #1a1a18;
  --text-2: #4a4a46;
  --muted: #6b6a65;
  --border: #e6e4df;
  --border-2: #d6d3cc;
  --chip: #f0eee9;
  --shadow: 0 1px 2px rgba(26, 26, 24, .04), 0 8px 24px -16px rgba(26, 26, 24, .12);
  --shadow-lg: 0 2px 4px rgba(26, 26, 24, .04), 0 18px 40px -20px rgba(26, 26, 24, .25);
  --radius: 14px;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --side-w: 264px;
  color-scheme: light;
}
html { --accent-text: var(--accent); }
html[data-theme="dark"] {
  --bg: #111110;
  --surface: #191918;
  --surface-2: #1d1d1c;
  --text: #ecebe7;
  --text-2: #b9b8b2;
  --muted: #96958f;
  --border: #282826;
  --border-2: #383835;
  --chip: #232321;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3);
  --shadow-lg: 0 18px 40px -20px rgba(0, 0, 0, .6);
  --accent-text: color-mix(in srgb, var(--accent) 50%, white);
  color-scheme: dark;
}

/* ---------- Temel ---------- */
[hidden] { display: none !important; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 14.5px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.015em; line-height: 1.25; }
p { margin: 0; }
button { font: inherit; color: inherit; }
.icon { width: 17px; height: 17px; flex-shrink: 0; }
.muted { color: var(--muted); }
.small { font-size: 12.5px; }
.label { font-size: 12px; font-weight: 500; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin: 16px 0 8px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--text); color: var(--bg); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
::selection { background: color-mix(in srgb, var(--accent) 22%, transparent); }

/* ---------- Ä°lerleme Ã§ubuÄŸu ---------- */
#progress { position: fixed; top: 0; left: 0; height: 2px; width: 0; background: var(--accent); z-index: 300; opacity: 0; transition: width .25s ease, opacity .3s ease; }
#progress.on { opacity: 1; }

/* ---------- YerleÅŸim ---------- */
.site { display: flex; min-height: 100vh; }
.sidebar {
  width: var(--side-w); flex-shrink: 0; position: sticky; top: 0; height: 100vh;
  background: var(--surface); border-right: 1px solid var(--border);
  display: flex; flex-direction: column; overflow-y: auto; z-index: 60;
}
.app { flex: 1; min-width: 0; display: flex; flex-direction: column; outline: none; }
.content { flex: 1; width: 100%; max-width: 1140px; padding: 26px 32px 40px; }

/* ---------- Sidebar ---------- */
.profile { display: flex; align-items: center; gap: 12px; padding: 20px 18px 16px; }
.profile-img { width: 42px; height: 42px; border-radius: 12px; object-fit: cover; flex-shrink: 0; }
.logo { display: grid; place-items: center; background: var(--text); color: var(--bg); font-weight: 600; font-size: 17px; }
.profile-text { display: flex; flex-direction: column; min-width: 0; }
.profile-text strong { font-size: 14.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.profile-text small { color: var(--muted); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.side-status { margin: 0 18px 6px; display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--text-2); padding: 7px 11px; border-radius: 9px; background: var(--surface-2); border: 1px solid var(--border); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 20%, transparent); flex-shrink: 0; animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 8%, transparent); } }
.side-label { font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: 0 10px; margin: 0 0 6px; }
.side-nav { padding: 14px 10px 4px; display: flex; flex-direction: column; gap: 2px; }
.side-nav a { position: relative; display: flex; align-items: center; gap: 11px; padding: 9px 10px; border-radius: 9px; color: var(--text-2); transition: background .12s, color .12s; }
.side-nav a:hover { background: var(--bg); color: var(--text); }
.side-nav a.active { background: var(--bg); color: var(--text); font-weight: 500; }
.side-nav a.active::before { content: ""; position: absolute; left: -10px; top: 9px; bottom: 9px; width: 3px; border-radius: 0 3px 3px 0; background: var(--accent); }
.side-nav span { flex: 1; }
.side-links .ext { display: inline-flex; opacity: 0; transition: opacity .12s; }
.side-links .ext .icon { width: 13px; height: 13px; }
.side-links a:hover .ext { opacity: .6; }
.side-foot { margin-top: auto; padding: 14px; border-top: 1px solid var(--border); }
.theme-switch { width: 100%; display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 9px; border: 0; background: none; cursor: pointer; color: var(--text-2); }
.theme-switch:hover { background: var(--bg); color: var(--text); }
.ts-icon { display: inline-grid; }
.ts-icon span { display: inline-grid; }
.ts-icon .i-moon { display: none; }
[data-theme="dark"] .ts-icon .i-sun { display: none; }
[data-theme="dark"] .ts-icon .i-moon { display: inline-grid; }
.ts-label { flex: 1; text-align: left; font-size: 13.5px; }
.ts-track { width: 32px; height: 18px; border-radius: 999px; background: var(--border-2); position: relative; transition: background .2s; }
.ts-thumb { position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.2); transition: transform .2s; }
[data-theme="dark"] .ts-track { background: var(--accent); }
[data-theme="dark"] .ts-thumb { transform: translateX(14px); }
.side-backdrop { display: none; }

/* ---------- Topbar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 40; height: 60px; display: flex; align-items: center; gap: 12px; padding: 0 32px;
  background: color-mix(in srgb, var(--bg) 85%, transparent); backdrop-filter: saturate(140%) blur(10px); -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.crumbs { flex: 1; display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 14px; color: var(--muted); white-space: nowrap; overflow: hidden; }
.crumbs a:hover { color: var(--text); }
.crumb-sep { color: var(--border-2); }
.crumb-current { color: var(--text); font-weight: 600; font-size: 15px; overflow: hidden; text-overflow: ellipsis; }
.menu-btn { display: none; width: 36px; height: 36px; border-radius: 9px; border: 1px solid var(--border); background: var(--surface); cursor: pointer; place-items: center; }

/* ---------- Butonlar ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 10px 16px; border-radius: 10px;
  border: 1px solid var(--text); background: var(--text); color: var(--bg); font: 500 13.5px/1.2 var(--sans);
  cursor: pointer; white-space: nowrap; transition: opacity .12s, transform .12s, border-color .12s, background .12s;
}
.btn:hover { opacity: .86; }
.btn:active { transform: translateY(1px); }
.btn .icon { width: 15px; height: 15px; }
.btn-ghost { background: var(--surface); color: var(--text); border-color: var(--border-2); }
.btn-ghost:hover { opacity: 1; border-color: var(--text-2); }
.btn-sm { padding: 7px 12px; font-size: 13px; border-radius: 9px; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 8px; }
.stack-btns { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }

/* ---------- Kartlar ---------- */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.card-head h2 { font-size: 15px; }
.card-head a, .section-head a { font-size: 13px; color: var(--muted); transition: color .12s; }
.card-head a:hover, .section-head a:hover { color: var(--text); }
.side-title { font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); margin-bottom: 14px; }
.stack { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.section { margin: 30px 0 18px; }
.section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.section-head h2 { font-size: 16px; }
.page-intro { margin: 6px 0 20px; }
.page-intro h1 { font-size: 30px; letter-spacing: -0.03em; margin-bottom: 6px; }
.content > .card, .content > section { margin-bottom: 18px; }

/* ---------- Hero ---------- */
.hero { display: grid; grid-template-columns: 1fr 200px; gap: 36px; align-items: center; padding: 38px 40px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(var(--border) 1px, transparent 1px); background-size: 18px 18px;
  -webkit-mask-image: radial-gradient(ellipse at 100% 0%, #000 0%, transparent 55%); mask-image: radial-gradient(ellipse at 100% 0%, #000 0%, transparent 55%);
}
.hero > * { position: relative; }
.pill-status { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--text-2); padding: 5px 11px 5px 9px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface-2); margin-bottom: 18px; }
.hero h1 { font-size: clamp(34px, 4.6vw, 52px); font-weight: 700; letter-spacing: -0.045em; line-height: 1.05; }
.hero-role { margin-top: 8px; font-size: 15px; font-weight: 500; color: var(--text-2); }
.hero-lead { margin: 16px 0 26px; font-size: 16.5px; line-height: 1.6; color: var(--text-2); max-width: 560px; }
.hero-visual img, .hero-mono { width: 200px; height: 200px; border-radius: 22px; object-fit: cover; border: 1px solid var(--border); }
.hero-mono { display: grid; place-items: center; font-size: 84px; font-weight: 700; letter-spacing: -0.05em; background: var(--text); color: var(--bg); }

/* ---------- Ä°statistikler ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 18px 0; }
.stat { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 18px; display: flex; flex-direction: column; box-shadow: var(--shadow); transition: border-color .15s, transform .15s; }
.stat:hover { border-color: var(--border-2); transform: translateY(-1px); }
.stat span { display: flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--muted); }
.stat span .icon { width: 15px; height: 15px; }
.stat strong { font-size: 28px; font-weight: 600; letter-spacing: -0.03em; margin: 6px 0 0; }
.stat strong em { font-style: normal; font-size: 15px; font-weight: 500; color: var(--muted); margin-left: 2px; }
.stat small { color: var(--muted); font-size: 12px; }

.now { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--border); }
.now-icon { width: 34px; height: 34px; border-radius: 9px; background: var(--surface); border: 1px solid var(--border); display: grid; place-items: center; color: var(--text-2); flex-shrink: 0; }
.now strong { font-weight: 600; }

/* ---------- Chip & pill ---------- */
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.chips li { font-size: 12px; font-weight: 500; padding: 4px 9px; border-radius: 7px; background: var(--chip); color: var(--text-2); }
.pills { display: flex; flex-wrap: wrap; gap: 6px; }
.pill { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--text-2); transition: all .12s; }
.pill:hover { border-color: var(--border-2); color: var(--text); }
.pill em { font-style: normal; font-size: 11.5px; color: var(--muted); }
.pill.on { background: var(--text); border-color: var(--text); color: var(--bg); }
.pill.on em { color: inherit; opacity: .6; }
.tag-row { display: flex; flex-wrap: wrap; gap: 6px 10px; margin-top: 10px; position: relative; z-index: 2; }
.tag { font-size: 12.5px; color: var(--muted); }
.tag:hover { color: var(--text); }
.detail-side .tag-row { margin-top: 14px; gap: 6px; }

/* ---------- AraÃ§ Ã§ubuÄŸu ---------- */
.toolbar { display: flex; flex-direction: column; gap: 12px; margin-bottom: 18px; }
.search { position: relative; max-width: 420px; }
.search .icon { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.search input { width: 100%; padding: 10px 12px 10px 38px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface); color: var(--text); font: inherit; font-size: 14px; box-shadow: var(--shadow); }
.search input:focus { outline: none; border-color: var(--text-2); box-shadow: 0 0 0 3px color-mix(in srgb, var(--text) 7%, transparent); }

/* ---------- YazÄ± listesi ---------- */
.list-card { padding: 8px 22px; }
.list-card .card-head { margin: 14px 0 4px; }
.post-list { display: flex; flex-direction: column; }
.post-row { position: relative; display: grid; grid-template-columns: 1fr auto auto; gap: 20px; align-items: center; padding: 18px 0; border-top: 1px solid var(--border); }
.post-list .post-row:first-child { border-top: 0; }
.post-row-text { min-width: 0; }
.meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12.5px; color: var(--muted); }
.meta span { display: inline-flex; align-items: center; gap: 5px; }
.meta .icon { width: 13px; height: 13px; }
.post-row h3 { font-size: 16.5px; margin: 6px 0 4px; }
.post-row p { color: var(--text-2); font-size: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.stretched::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.post-row:hover h3 { color: var(--accent-text); }
.post-row-thumb img { width: 132px; height: 88px; object-fit: cover; border-radius: 10px; border: 1px solid var(--border); }
.row-arrow { color: var(--muted); opacity: 0; transform: translateX(-4px); transition: all .15s; }
.post-row:hover .row-arrow { opacity: 1; transform: none; }

/* ---------- Proje kartlarÄ± ---------- */
.project-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.project-grid.three { grid-template-columns: repeat(3, 1fr); }
.project-card { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease, border-color .2s; }
.project-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--border-2); }
.pc-cover { position: relative; aspect-ratio: 16 / 10; background: var(--chip); overflow: hidden; border-bottom: 1px solid var(--border); }
.pc-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.project-card:hover .pc-cover img { transform: scale(1.04); }
.pc-placeholder { display: grid; place-items: center; height: 100%; font-size: 52px; font-weight: 700; letter-spacing: -0.04em; color: var(--border-2); }
.pc-count, .pc-badge { position: absolute; top: 10px; display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 500; padding: 4px 9px; border-radius: 999px; background: rgba(20, 20, 18, .62); color: #fff; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.pc-count { right: 10px; }
.pc-count .icon { width: 12px; height: 12px; }
.pc-badge { left: 10px; }
.pc-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.pc-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.pc-head h3 { font-size: 15.5px; }
.pc-body p { color: var(--text-2); font-size: 13.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pc-body .chips { margin-top: auto; padding-top: 4px; }

/* ---------- Detay sayfalarÄ± ---------- */
.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 18px; align-items: start; }
.detail-side { display: flex; flex-direction: column; gap: 14px; position: sticky; top: 78px; }
.article { padding: 36px 44px 40px; }
.article-head { margin-bottom: 26px; }
.article-head h1 { font-size: clamp(28px, 3.6vw, 38px); font-weight: 700; letter-spacing: -0.035em; line-height: 1.12; margin: 12px 0 0; }
.article-head .chips { margin-bottom: -2px; }
.article-lead { margin-top: 12px; font-size: 17px; color: var(--text-2); line-height: 1.55; }
.article-cover { margin: 0 0 30px; }
.article-cover img { width: 100%; border-radius: 12px; border: 1px solid var(--border); }
.notice { padding: 10px 14px; border-radius: 10px; background: var(--surface-2); border: 1px dashed var(--border-2); font-size: 13.5px; margin-bottom: 20px; }
.facts { margin: 0; display: flex; flex-direction: column; }
.facts > div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid var(--border); font-size: 13.5px; }
.facts > div:first-child { border-top: 0; padding-top: 0; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 500; text-align: right; }
.share { display: flex; flex-direction: column; gap: 8px; }
.share .btn { justify-content: flex-start; }
.mini-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.mini-list li + li { border-top: 1px solid var(--border); }
.mini-list a, .mini-static { display: flex; flex-direction: column; gap: 2px; padding: 10px 0; }
.mini-list li:first-child a, .mini-list li:first-child .mini-static { padding-top: 0; }
.mini-list strong { font-size: 13.5px; font-weight: 500; transition: color .12s; }
.mini-list a:hover strong { color: var(--accent-text); }
.mini-list small { font-size: 12px; color: var(--muted); }
.mini-list.with-thumb a { flex-direction: row; align-items: center; gap: 12px; }
.mini-list.with-thumb a > span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mini-list.with-thumb img, .mini-ph { width: 54px; height: 40px; border-radius: 7px; object-fit: cover; flex-shrink: 0; background: var(--chip); display: grid; place-items: center; color: var(--muted); font-weight: 600; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 36px; padding-top: 26px; border-top: 1px solid var(--border); }
.post-nav a { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border-radius: 11px; border: 1px solid var(--border); background: var(--surface-2); transition: border-color .12s; }
.post-nav a:hover { border-color: var(--border-2); }
.post-nav a.right { text-align: right; grid-column: 2; align-items: flex-end; }
.post-nav small { display: inline-flex; align-items: center; gap: 4px; color: var(--muted); font-size: 12px; }
.post-nav small .icon { width: 13px; height: 13px; }
.post-nav strong { font-size: 14px; font-weight: 500; }

/* ---------- Galeri ---------- */
.gallery-block { margin-top: 36px; padding-top: 26px; border-top: 1px solid var(--border); }
.block-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.block-head h2 { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; }
.gallery { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.g-item { position: relative; display: block; overflow: hidden; border-radius: 10px; background: var(--chip); cursor: zoom-in; }
.g-item.span-6 { grid-column: span 6; aspect-ratio: 16 / 9; }
.g-item.span-3 { grid-column: span 3; aspect-ratio: 3 / 2; }
.g-item.span-2 { grid-column: span 2; aspect-ratio: 1; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease, filter .3s; }
.g-item:hover img { transform: scale(1.05); }
.g-item::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(0,0,0,.06); pointer-events: none; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 500; display: flex; align-items: center; justify-content: center; background: rgba(12, 12, 11, .92); opacity: 0; pointer-events: none; transition: opacity .22s ease; }
.lightbox.open { opacity: 1; pointer-events: auto; }
.lb-stage { max-width: calc(100vw - 160px); max-height: calc(100vh - 190px); display: grid; place-items: center; margin-bottom: 70px; }
.lb-stage img { max-width: 100%; max-height: calc(100vh - 190px); border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,.5); transform: scale(.97); transition: transform .25s ease, opacity .2s ease; user-select: none; -webkit-user-drag: none; }
.lightbox.open .lb-stage img { transform: none; }
.lb-stage img.swap { opacity: 0; }
.lb-btn { position: absolute; width: 44px; height: 44px; border-radius: 999px; border: 1px solid rgba(255,255,255,.15); background: rgba(255,255,255,.08); color: #fff; display: grid; place-items: center; cursor: pointer; transition: background .15s; }
.lb-btn:hover { background: rgba(255,255,255,.18); }
.lb-btn .icon { width: 20px; height: 20px; }
.lb-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 24px; top: 50%; transform: translateY(-50%); }
.lb-close { right: 20px; top: 20px; }
.lb-count { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); color: rgba(255,255,255,.75); font-size: 13px; font-variant-numeric: tabular-nums; }
.lb-thumbs { position: absolute; left: 50%; bottom: 50px; transform: translateX(-50%); display: flex; gap: 6px; max-width: 90vw; overflow-x: auto; padding: 4px; }
.lb-thumbs button { width: 46px; height: 34px; border-radius: 6px; overflow: hidden; border: 2px solid transparent; padding: 0; cursor: pointer; opacity: .5; background: none; flex-shrink: 0; transition: opacity .15s, border-color .15s; }
.lb-thumbs button.on { opacity: 1; border-color: #fff; }
.lb-thumbs img { width: 100%; height: 100%; object-fit: cover; }
body.lb-lock { overflow: hidden; }

/* ---------- Prose ---------- */
.prose { font-size: 16px; line-height: 1.75; color: var(--text-2); }
.prose > * + * { margin-top: 1.05em; }
.prose h1, .prose h2, .prose h3, .prose h4 { color: var(--text); margin-top: 1.7em; letter-spacing: -0.02em; }
.prose h2 { font-size: 22px; }
.prose h3 { font-size: 18px; }
.prose strong { color: var(--text); font-weight: 600; }
.prose a { color: var(--accent-text); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.25em; }
.prose li + li { margin-top: .35em; }
.prose li::marker { color: var(--muted); }
.prose blockquote { margin: 1.4em 0; padding: 14px 18px; border-left: 3px solid var(--accent); background: var(--surface-2); border-radius: 0 10px 10px 0; color: var(--text); font-size: 17px; }
.prose blockquote > * { margin: 0; }
.prose code { font: .86em var(--mono); background: var(--chip); padding: 2px 6px; border-radius: 6px; }
.prose pre { position: relative; background: var(--surface-2); border: 1px solid var(--border); border-radius: 12px; padding: 16px 18px; overflow-x: auto; line-height: 1.55; }
.prose pre code { background: none; padding: 0; font-size: 13.5px; }
.prose img { border-radius: 12px; border: 1px solid var(--border); margin: 1.4em auto; }
.prose hr { border: 0; height: 1px; background: var(--border); margin: 2.2em 0; }
.prose > :first-child { margin-top: 0; }
.prose-sm { font-size: 14.5px; line-height: 1.7; }
.prose-sm > * + * { margin-top: .7em; }
.copy-code { position: absolute; top: 8px; right: 8px; font: 500 12px var(--sans); padding: 4px 10px; border-radius: 7px; border: 1px solid var(--border); background: var(--surface); color: var(--muted); cursor: pointer; opacity: 0; transition: opacity .15s; }
.prose pre:hover .copy-code, .copy-code:focus { opacity: 1; }

/* ---------- CV ---------- */
.cv-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; padding: 28px; margin-bottom: 18px; }
.cv-id { display: flex; gap: 20px; align-items: flex-start; }
.cv-avatar { width: 76px; height: 76px; border-radius: 16px; object-fit: cover; flex-shrink: 0; font-size: 30px; }
.cv-head h1 { font-size: 28px; font-weight: 700; letter-spacing: -0.035em; }
.cv-head .hero-role { margin-top: 2px; }
.cv-contact { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.cv-contact li { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-2); padding: 5px 10px; border-radius: 8px; background: var(--surface-2); border: 1px solid var(--border); }
.cv-contact .icon { width: 14px; height: 14px; color: var(--muted); }
.cv-contact a:hover { color: var(--text); }
.cv-actions { display: flex; gap: 8px; flex-shrink: 0; }
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.tl-item { position: relative; padding: 0 0 22px 26px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before { content: ""; position: absolute; left: 4px; top: 8px; width: 9px; height: 9px; border-radius: 50%; background: var(--surface); border: 2px solid var(--border-2); z-index: 1; }
.tl-item.is-current::before { border-color: var(--accent); background: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 15%, transparent); }
.tl-item::after { content: ""; position: absolute; left: 8px; top: 20px; bottom: -6px; width: 1px; background: var(--border); }
.tl-item:last-child::after { display: none; }
.tl-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.tl-top h3 { font-size: 15.5px; }
.tl-date { font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.tl-sub { color: var(--text-2); font-size: 14px; margin: 2px 0 8px; }
.skill-group:first-of-type .label { margin-top: 0; }

/* ---------- Ä°letiÅŸim ---------- */
.form { display: flex; flex-direction: column; gap: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 500; color: var(--text-2); }
.field em { font-style: normal; font-weight: 400; color: var(--muted); }
.field input, .field textarea { font: 400 14.5px/1.5 var(--sans); color: var(--text); background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; transition: border-color .12s, box-shadow .12s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--text-2); box-shadow: 0 0 0 3px color-mix(in srgb, var(--text) 7%, transparent); }
.field textarea { resize: vertical; min-height: 150px; }
.form .btn { align-self: flex-start; }
.err { color: #c0553f; font-weight: 400; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.alert { padding: 11px 14px; border-radius: 10px; font-size: 13.5px; margin-bottom: 16px; border: 1px solid; }
.alert.error { background: rgba(192, 85, 63, .08); border-color: rgba(192, 85, 63, .3); }
.contact-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.contact-list li { display: flex; gap: 12px; align-items: center; }
.contact-list .ci { width: 36px; height: 36px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--border); display: grid; place-items: center; color: var(--text-2); flex-shrink: 0; }
.contact-list div { display: flex; flex-direction: column; min-width: 0; font-size: 13.5px; }
.contact-list small { font-size: 12px; color: var(--muted); }
.contact-list a { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.contact-list a:hover { color: var(--accent-text); }
.sent-state { text-align: center; padding: 36px 10px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.sent-icon { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; font-size: 24px; color: #fff; background: var(--accent); margin-bottom: 6px; animation: pop .4s ease; }
.sent-state .btn { margin-top: 12px; }
@keyframes pop { from { transform: scale(.6); opacity: 0; } }

/* ---------- BoÅŸ durumlar ---------- */
.empty-state { padding: 48px 20px; text-align: center; color: var(--muted); display: flex; flex-direction: column; align-items: center; gap: 10px; }
.empty-state .icon { width: 26px; height: 26px; opacity: .6; }
.empty-card { text-align: center; padding: 60px 20px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.big-num { font-size: 64px; font-weight: 700; letter-spacing: -0.05em; color: var(--border-2); line-height: 1; }
.empty-card .btn { margin-top: 10px; }
.pagination { display: flex; justify-content: space-between; align-items: center; margin-top: 4px; }

/* ---------- Footer ---------- */
.foot { display: flex; justify-content: space-between; gap: 12px; padding: 18px 32px 26px; max-width: 1140px; width: 100%; font-size: 12.5px; color: var(--muted); }
.foot a:hover { color: var(--text); }

/* ---------- Sayfa geÃ§iÅŸ animasyonu ---------- */
.content.enter { animation: enter .35s cubic-bezier(.2, .7, .2, 1); }
@keyframes enter { from { opacity: 0; transform: translateY(8px); } }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .2s; }
@media (prefers-reduced-motion: reduce) {
  .content.enter, .dot, .sent-icon { animation: none; }
  .project-card, .project-card:hover, .stat:hover { transform: none; }
}

/* ---------- DuyarlÄ± ---------- */
@media (max-width: 1180px) {
  .project-grid.three { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1020px) {
  .detail-layout { grid-template-columns: 1fr; }
  .detail-side { position: static; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .hero { grid-template-columns: 1fr 150px; }
  .hero-visual img, .hero-mono { width: 150px; height: 150px; font-size: 60px; }
}
@media (max-width: 860px) {
  .sidebar { position: fixed; left: 0; top: 0; transform: translateX(-100%); transition: transform .25s ease; box-shadow: none; }
  .sidebar.open { transform: none; box-shadow: 0 0 60px rgba(0,0,0,.2); }
  .side-backdrop { display: block; position: fixed; inset: 0; z-index: 55; background: rgba(0,0,0,.3); opacity: 0; pointer-events: none; transition: opacity .25s; }
  .side-backdrop.show { opacity: 1; pointer-events: auto; }
  .menu-btn { display: inline-grid; }
  .topbar { padding: 0 16px; }
  .topbar-cta span { display: none; }
  .content { padding: 18px 16px 32px; }
  .foot { padding: 14px 16px 24px; }
  .grid-2, .project-grid, .project-grid.three, .field-row { grid-template-columns: 1fr; }
  .hero { grid-template-columns: 1fr; padding: 26px 22px; gap: 20px; }
  .hero-visual { order: -1; }
  .hero-visual img, .hero-mono { width: 76px; height: 76px; border-radius: 18px; font-size: 34px; }
  .article { padding: 24px 20px 28px; }
  .cv-head { flex-direction: column; padding: 22px; }
  .cv-id { flex-direction: column; gap: 14px; }
  .post-row { grid-template-columns: 1fr auto; gap: 14px; }
  .post-row-thumb img { width: 84px; height: 64px; }
  .row-arrow { display: none; }
  .post-nav { grid-template-columns: 1fr; }
  .post-nav a.right { grid-column: auto; }
  .g-item.span-2, .g-item.span-3 { grid-column: span 3; aspect-ratio: 1; }
  .g-item:first-child:not(.span-6) { grid-column: span 6; aspect-ratio: 16 / 10; }
  .gallery .g-item:first-child:nth-last-child(odd) ~ .g-item:last-child { grid-column: span 3; }
  .gallery .g-item:first-child:nth-last-child(even) ~ .g-item:last-child { grid-column: span 6; aspect-ratio: 16 / 10; }
  .lb-stage { max-width: 100vw; padding: 0 8px; }
  .lb-prev, .lb-next { top: auto; bottom: 14px; transform: none; }
  .lb-prev { left: 14px; } .lb-next { right: 14px; }
  .lb-thumbs { display: none; }
  .page-intro h1 { font-size: 26px; }
}

/* ---------- YazdÄ±rma (CV) ---------- */
@media print {
  :root, html[data-theme="dark"] { --bg: #fff; --surface: #fff; --surface-2: #fff; --text: #000; --text-2: #222; --muted: #555; --border: #ddd; --chip: #f2f2f2; --shadow: none; }
  .sidebar, .topbar, .foot, .no-print, .skip, #progress, .side-backdrop { display: none !important; }
  .content { padding: 0; max-width: none; }
  .card { box-shadow: none; border: 0; padding: 10px 0; }
  .detail-layout { grid-template-columns: 1fr 220px; }
  .detail-side { position: static; }
  .tl-item, .card { break-inside: avoid; }
  body { font-size: 12px; }
}

/* ---------- Mobil taÅŸma dÃ¼zeltmeleri ---------- */
/* Yatay taÅŸmayÄ± gizle ama sabit menÃ¼yÃ¼/Ã¼st barÄ± bozma (overflow: hidden yerine clip) */
.app { overflow-x: clip; }
.detail-layout > *, .grid-2 > *, .project-grid > *, .stack > *, .post-row > * { min-width: 0; }
.prose, .article-head h1, .article-lead, .post-row h3, .pc-head h3, .facts dd, .mini-list strong, .cv-contact li { overflow-wrap: anywhere; word-break: break-word; }
.prose pre { max-width: 100%; }
.prose img, .article-cover img { max-width: 100%; height: auto; }
@media (max-width: 1020px) {
  .detail-layout { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 860px) {
  .grid-2, .project-grid, .project-grid.three, .field-row { grid-template-columns: minmax(0, 1fr); }
  .post-row { grid-template-columns: minmax(0, 1fr) auto; }
  /* iPhone'da inputa dokununca sayfanÄ±n yakÄ±nlaÅŸmasÄ±nÄ± engelle (16px altÄ± yazÄ± boyutunda yakÄ±nlaÅŸÄ±r) */
  .search input, .field input, .field textarea { font-size: 16px; }
  .cv-contact li { max-width: 100%; }
  .cv-actions { width: 100%; }
  .cv-actions .btn { flex: 1; }
}

/* ---------- Tepki butonlarÄ± ---------- */
.reactions { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 32px; padding: 16px 18px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--border); }
.react-q { font-size: 14px; font-weight: 500; color: var(--text-2); }
.react-btns { display: flex; gap: 8px; }
.react-btn { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--border-2); background: var(--surface); cursor: pointer; font: 500 14px var(--sans); color: var(--text-2); transition: border-color .15s, color .15s, background .15s, transform .15s; font-variant-numeric: tabular-nums; }
.react-btn .icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; transition: fill .15s; }
.react-btn:hover { border-color: var(--text-2); color: var(--text); }
.react-btn.like.on { color: #d6405b; border-color: rgba(214, 64, 91, .45); background: rgba(214, 64, 91, .07); }
.react-btn.like.on .icon { fill: #d6405b; stroke: #d6405b; }
.react-btn.dislike.on { color: var(--text); border-color: var(--text-2); background: var(--chip); }
.react-btn.dislike.on .icon { fill: var(--chip); }
.react-btn.pop { animation: reactPop .35s ease; }
@keyframes reactPop { 40% { transform: scale(1.15); } }
.reactions.busy { pointer-events: none; }
.meta-like { color: #d6405b; }

/* ---------- Dil deÄŸiÅŸtirici ---------- */
.lang-switch { display: flex; padding: 3px; border-radius: 9px; background: var(--bg); border: 1px solid var(--border); margin-bottom: 8px; }
.lang-switch a { flex: 1; text-align: center; font-size: 12.5px; font-weight: 600; letter-spacing: .04em; padding: 5px 0; border-radius: 7px; color: var(--muted); transition: background .15s, color .15s; }
.lang-switch a:hover { color: var(--text); }
.lang-switch a.on { background: var(--surface); color: var(--text); box-shadow: 0 1px 2px rgba(0, 0, 0, .08); }
.topbar-lang { display: none; font-size: 12.5px; font-weight: 600; letter-spacing: .04em; padding: 7px 10px; border-radius: 9px; border: 1px solid var(--border); background: var(--surface); }
@media (max-width: 860px) {
  .topbar-lang { display: inline-block; }
  .reactions { flex-direction: column; align-items: flex-start; }
}
@media print { .reactions, .lang-switch { display: none !important; } }

/* ---------- Footer linkleri, KVKK ---------- */
.foot-links { display: inline-flex; gap: 16px; }
.form-note { font-size: 12.5px; color: var(--muted); margin-top: -4px; }
.form-note a { color: var(--text-2); text-decoration: underline; text-underline-offset: 2px; }
.check-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 13.5px; }
.check-list li { display: flex; gap: 9px; align-items: flex-start; }
.check-list li::before { content: "âœ“"; width: 18px; height: 18px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; font-size: 10px; font-weight: 700; color: #fff; background: var(--accent); margin-top: 1px; }

/* ---------- Sabit kenar menÃ¼ (masaÃ¼stÃ¼): sayfa ne kadar uzun olursa olsun tam boy ---------- */
@media (min-width: 861px) {
  .sidebar { position: fixed; left: 0; top: 0; bottom: 0; height: auto; }
  .app { margin-left: var(--side-w); }
}
@media print { .app { margin-left: 0 !important; } }

/* ---------- Proje yorumlarÄ± ---------- */
.comments { margin-top: 36px; padding-top: 26px; border-top: 1px solid var(--border); }
.comment-list { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.comment { display: flex; gap: 12px; }
.c-avatar { width: 36px; height: 36px; border-radius: 10px; background: var(--chip); color: var(--text-2); display: grid; place-items: center; font-weight: 600; flex-shrink: 0; }
.c-body { flex: 1; min-width: 0; }
.c-head { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.c-head strong { font-size: 14px; font-weight: 600; }
.c-body > p { margin-top: 4px; font-size: 14.5px; line-height: 1.65; color: var(--text-2); overflow-wrap: anywhere; }
.c-reply { margin-top: 12px; padding: 12px 14px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--border); border-left: 3px solid var(--accent); }
.c-reply p { margin-top: 4px; font-size: 14px; line-height: 1.6; color: var(--text-2); }
.c-badge { font-size: 11px; font-weight: 600; padding: 2px 7px; border-radius: 6px; background: var(--accent); color: #fff; }
.c-empty { margin-bottom: 18px; font-size: 14px; }
.comment-form { padding: 18px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--border); }
.comment-form textarea { min-height: 100px; }
.c-submit { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.c-submit .form-note { margin: 0; }
.c-sent { display: flex; gap: 12px; align-items: center; padding: 16px 18px; border-radius: 12px; background: color-mix(in srgb, var(--accent) 8%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); }
.c-sent > span { width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; flex-shrink: 0; animation: pop .4s ease; }

/* ---------- Åu an & KullandÄ±klarÄ±m ---------- */
.now-updated { display: inline-flex; align-items: center; gap: 7px; margin-left: 10px; font-size: 12.5px; color: var(--text-2); }
.now-tabs { margin-top: 14px; }
.now-tabs .pill { gap: 6px; }
.now-tabs .icon { width: 14px; height: 14px; }
.now-section { margin-bottom: 30px; scroll-margin-top: 80px; }
.now-section .section-head h2 { display: inline-flex; align-items: center; gap: 8px; }
.now-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.now-card .label { margin-top: 0; }
.now-text { font-size: 15px; font-weight: 500; line-height: 1.5; }
.now-note { margin-top: 14px; }
.uses-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.uses-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.uses-list li { display: flex; flex-direction: column; gap: 2px; padding: 10px 0; border-top: 1px solid var(--border); }
.uses-list li:first-child { border-top: 0; padding-top: 0; }
.uses-name { font-weight: 500; font-size: 14.5px; }
.uses-name a { display: inline-flex; align-items: center; gap: 4px; }
.uses-name a:hover { color: var(--accent-text); }
.uses-name .icon { width: 12px; height: 12px; opacity: .5; }
.uses-note { font-size: 13px; color: var(--muted); }

/* ---------- Okuma ilerleme Ã§ubuÄŸu ---------- */
.read-progress { position: fixed; top: 60px; left: 0; right: 0; height: 3px; z-index: 39; pointer-events: none; }
.read-progress span { display: block; height: 100%; background: var(--accent); transform: scaleX(0); transform-origin: 0 50%; transition: transform .08s linear; }
@media (min-width: 861px) { .read-progress { left: var(--side-w); } }

/* ---------- Sesli dinle ---------- */
.listen { display: flex; align-items: center; gap: 8px; margin-top: 18px; flex-wrap: wrap; }
.listen-btn .tts-ico { font-size: 11px; width: 14px; display: inline-block; text-align: center; }
.listen-btn.playing { border-color: var(--accent); color: var(--accent-text); }
.listen-btn.playing .tts-ico { animation: ttsPulse 1.2s ease-in-out infinite; }
@keyframes ttsPulse { 50% { opacity: .35; } }
.tts-on { background: color-mix(in srgb, var(--accent) 12%, transparent); border-radius: 6px; box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent) 12%, transparent); transition: background .2s; }

/* ---------- 404 oyunu ---------- */
.game-card { margin-top: 18px; }
.game404 { width: 100%; display: flex; justify-content: center; }
.game404 canvas { display: block; border-radius: 12px; touch-action: manipulation; cursor: pointer; user-select: none; -webkit-user-select: none; }
@media print { .read-progress, .listen, .game-card { display: none !important; } }

/* ---------- Genel CSS taramasÄ± dÃ¼zeltmeleri ---------- */
/* Ã‡apalara (#yorumlar, #simdiâ€¦) kayÄ±nca baÅŸlÄ±k sabit Ã¼st barÄ±n altÄ±nda kalmasÄ±n */
[id] { scroll-margin-top: 84px; }
/* HatalÄ± form alanlarÄ± kÄ±rmÄ±zÄ± Ã§erÃ§eve */
.field:has(.err) input, .field:has(.err) textarea { border-color: #c0553f; }
.field:has(.err) input:focus, .field:has(.err) textarea:focus { box-shadow: 0 0 0 3px rgba(192, 85, 63, .15); }
.err { font-size: 12.5px; }
/* Yorum formu: alanlar kart zemininden ayrÄ±ÅŸsÄ±n, gÃ¶nder satÄ±rÄ± hizalÄ± olsun */
.comment-form .field input, .comment-form .field textarea { background: var(--surface); }
.comment-form .field-row { align-items: start; }
.comment-form .form-note { line-height: 1.5; }
.comments .block-head { align-items: center; }
.comments .block-head > .small { flex: 1 1 auto; text-align: right; min-width: 0; }
/* Dekoratif Ã¶ÄŸeler */
.crumb-sep, .big-num { user-select: none; }
/* Telefonda parmakla basÄ±labilir boyutlar (en az ~36px) */
@media (max-width: 860px) {
  .btn-sm { min-height: 38px; }
  .pill { padding: 8px 13px; }
  .tag { display: inline-block; padding: 4px 0; }
  .cv-contact li { padding: 7px 11px; }
  .now-tabs .pill, .pills .pill { min-height: 36px; }
  .comments .block-head > .small { text-align: left; flex-basis: 100%; }
  .c-submit .btn { flex: 0 0 auto; }
}
@media (max-width: 860px) {
  .card-head a, .section-head a { display: inline-block; padding: 9px 0; margin: -9px 0; }
  .uses-name a, .contact-list a, .cv-contact a { display: inline-block; padding: 6px 0; margin: -6px 0; }
}

/* ---------- MÃ¼zik ---------- */
.music-filter { margin-bottom: 16px; }
.music-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.music-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: border-color .15s, box-shadow .2s, transform .2s; }
.music-card:hover { border-color: var(--border-2); box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.music-card.is-featured { border-color: color-mix(in srgb, var(--accent) 45%, var(--border)); }
.mc-media { position: relative; aspect-ratio: 1; background: var(--chip); overflow: hidden; }
.mc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.music-card:hover .mc-media img { transform: scale(1.04); }
.music-card[data-platform="youtube"] .mc-media, .music-card[data-platform="ytmusic"] .mc-media { aspect-ratio: 16 / 10; }
.mc-ph { display: grid; place-items: center; height: 100%; color: var(--border-2); }
.mc-ph .icon { width: 56px; height: 56px; }
.mc-play { position: absolute; inset: 0; margin: auto; width: 60px; height: 60px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center; background: rgba(255, 255, 255, .94); color: #111; box-shadow: 0 10px 30px rgba(0, 0, 0, .35); transform: scale(.92); opacity: .92; transition: transform .2s, opacity .2s; }
.mc-play svg { width: 26px; height: 26px; margin-left: 3px; }
.music-card:hover .mc-play, .mc-play:focus-visible { transform: scale(1); opacity: 1; }
.mc-badge, .mc-pin { position: absolute; top: 10px; font-size: 11.5px; font-weight: 600; padding: 4px 9px; border-radius: 999px; color: #fff; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.mc-badge { left: 10px; background: rgba(20, 20, 18, .66); }
.mc-badge.mc-spotify { background: #1db954; color: #04130a; }
.mc-badge.mc-ytmusic, .mc-badge.mc-youtube { background: #e62117; }
.mc-pin { right: 10px; background: rgba(20, 20, 18, .66); }
.mc-media.playing { aspect-ratio: auto; background: transparent; }
.mc-media.playing iframe { display: block; width: 100%; height: 100%; border: 0; }
.mc-media.is-video { aspect-ratio: 16 / 9; }
.mc-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.mc-kind { font-size: 12px; color: var(--muted); }
.mc-body h3 { font-size: 15.5px; line-height: 1.3; overflow-wrap: anywhere; }
.mc-artist { font-size: 14px; color: var(--text-2); font-weight: 500; }
.mc-note { font-size: 14px; color: var(--text-2); line-height: 1.6; margin-top: 6px; padding-top: 10px; border-top: 1px solid var(--border); overflow-wrap: anywhere; }
.mc-open { margin-top: auto; padding-top: 10px; font-size: 13px; color: var(--muted); display: inline-flex; align-items: center; gap: 5px; align-self: flex-start; }
.mc-open:hover { color: var(--text); }
.mc-open .icon { width: 13px; height: 13px; }
.music-privacy { margin-top: 14px; }

/* Spotify canlÄ± */
.spotify-live { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 16px; margin-bottom: 8px; align-items: start; }
.spotify-live:has(.sp-recent[hidden]) { grid-template-columns: minmax(0, 1fr); max-width: 640px; }
.sp-now { display: flex; gap: 18px; align-items: center; padding: 18px; position: relative; overflow: hidden; }
.sp-now.is-playing { border-color: color-mix(in srgb, #1db954 40%, var(--border)); }
.sp-now.is-playing::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 0% 0%, rgba(29, 185, 84, .10), transparent 60%); pointer-events: none; }
.sp-art { flex-shrink: 0; width: 120px; height: 120px; border-radius: 10px; overflow: hidden; background: var(--chip); box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .45); }
.sp-art img { width: 100%; height: 100%; object-fit: cover; }
.sp-info { min-width: 0; flex: 1; position: relative; }
.sp-label { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: #128a3e; }
[data-theme="dark"] .sp-label { color: #3ddc7a; }
.sp-info h3 { font-size: 18px; margin-top: 6px; overflow-wrap: anywhere; }
.sp-info h3 a:hover { text-decoration: underline; text-underline-offset: 3px; }
.sp-artist { font-size: 14px; color: var(--text-2); margin-top: 2px; }
.sp-bar { height: 4px; border-radius: 999px; background: var(--chip); margin-top: 12px; overflow: hidden; }
.sp-bar span { display: block; height: 100%; width: 0; background: #1db954; border-radius: inherit; transition: width 1s linear; }
.sp-times { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--muted); margin-top: 4px; font-variant-numeric: tabular-nums; }
.sp-open { display: inline-block; margin-top: 10px; font-size: 13px; color: var(--muted); }
.sp-open:hover { color: var(--text); }
.sp-idle { padding: 6px 0; }
.sp-skel { display: flex; gap: 18px; align-items: center; width: 100%; }
.sk { display: block; background: var(--chip); border-radius: 8px; animation: skel 1.2s ease-in-out infinite; }
.sk-cover { width: 120px; height: 120px; flex-shrink: 0; }
.sk-lines { flex: 1; display: flex; flex-direction: column; gap: 10px; }
.sk-l1 { height: 14px; width: 70%; } .sk-l2 { height: 12px; width: 45%; }
@keyframes skel { 50% { opacity: .5; } }
.eq { display: inline-flex; gap: 2px; align-items: flex-end; height: 11px; }
.eq i { width: 3px; background: #1db954; border-radius: 1px; animation: eq 1s ease-in-out infinite; }
.eq i:nth-child(1) { height: 60%; } .eq i:nth-child(2) { height: 100%; animation-delay: .2s; } .eq i:nth-child(3) { height: 40%; animation-delay: .4s; }
@keyframes eq { 50% { transform: scaleY(.35); } }
.eq i { transform-origin: bottom; }
.sp-recent .card-head h2 { display: inline-flex; align-items: center; gap: 8px; }
.sp-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.sp-list li + li { border-top: 1px solid var(--border); }
.sp-list a { display: flex; align-items: center; gap: 12px; padding: 8px 0; }
.sp-list li:first-child a { padding-top: 0; }
.sp-list img, .sp-ph { width: 40px; height: 40px; border-radius: 6px; object-fit: cover; flex-shrink: 0; background: var(--chip); display: grid; place-items: center; color: var(--muted); }
.sp-row { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.sp-row strong { font-size: 13.5px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sp-row small { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sp-list time { font-size: 11.5px; color: var(--muted); white-space: nowrap; }
.sp-list a:hover strong { color: var(--accent-text); }

/* Kenar menÃ¼: ÅŸu an Ã§alÄ±yor */
.side-np { display: flex; align-items: center; gap: 10px; margin: 6px 12px 10px; padding: 9px; border-radius: 11px; background: var(--surface-2); border: 1px solid var(--border); transition: border-color .15s; }
.side-np:hover { border-color: color-mix(in srgb, #1db954 45%, var(--border)); }
.np-cover { width: 38px; height: 38px; border-radius: 7px; overflow: hidden; flex-shrink: 0; background: var(--chip); }
.np-cover img { width: 100%; height: 100%; object-fit: cover; }
.np-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.np-text small { display: flex; align-items: center; gap: 6px; font-size: 10.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: #128a3e; }
[data-theme="dark"] .np-text small { color: #3ddc7a; }
.np-text strong { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }
.np-text em { font-style: normal; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 860px) {
  .spotify-live { grid-template-columns: minmax(0, 1fr); }
  .sp-art, .sk-cover { width: 84px; height: 84px; }
  .sp-now { gap: 14px; padding: 14px; }
  .sp-info h3 { font-size: 16px; }
  .music-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) { .eq i, .sk { animation: none; } }

/* Kapak yÃ¼klenemezse nota simgesi gÃ¶rÃ¼nsÃ¼n */
.mc-ph { position: absolute; inset: 0; }
.mc-media img { position: relative; z-index: 1; }
.mc-media .mc-play, .mc-media .mc-badge, .mc-media .mc-pin { z-index: 2; }
.sp-art { position: relative; display: grid; place-items: center; color: var(--muted); }
.sp-art::before { content: "â™ª"; font-size: 34px; position: absolute; }
.sp-art img { position: relative; z-index: 1; }
.sp-thumb { position: relative; width: 40px; height: 40px; flex-shrink: 0; }
.sp-thumb .sp-ph, .sp-thumb img { position: absolute; inset: 0; width: 40px; height: 40px; }
.sp-thumb img { z-index: 1; border-radius: 6px; object-fit: cover; }
.np-cover { position: relative; display: grid; place-items: center; color: var(--muted); font-size: 16px; }
.np-cover::before { content: "â™ª"; position: absolute; }
.np-cover img { position: relative; z-index: 1; }
@media (max-width: 860px) { .mc-open { min-height: 38px; padding-top: 10px; padding-bottom: 6px; } }

/* =========================================================
   MÃ¼zik â€” yeni tasarÄ±m (favori vitrin + ÅŸarkÄ± listesi)
   ========================================================= */
/* BaÅŸlÄ±klardaki ikon yazÄ±yla aynÄ± hizada */
.section-head h2, .card-head h2 { display: inline-flex; align-items: center; gap: 8px; }
.section-head h2 .icon, .card-head h2 .icon { width: 18px; height: 18px; flex-shrink: 0; }

.mi-count { display: inline-flex; align-items: center; gap: 5px; margin-left: 10px; padding: 3px 10px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); font-size: 12.5px; color: var(--text-2); vertical-align: 1px; }
.mi-count .icon { width: 13px; height: 13px; }
.music-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; align-items: start; }
.music-layout:not(.has-aside) { max-width: 920px; }
.music-layout.has-aside { grid-template-columns: minmax(0, 1fr) 320px; }
.music-aside { position: sticky; top: 78px; }
.m-section { margin-top: 26px; }
.m-section:first-child { margin-top: 0; }
.music-privacy { margin-top: 14px; }

/* Play / pause simgesi */
.pi { position: relative; width: 14px; height: 14px; display: inline-block; flex-shrink: 0; }
.pi::before { content: ""; position: absolute; inset: 0; background: currentColor; clip-path: polygon(18% 6%, 92% 50%, 18% 94%); transition: clip-path .15s; }
.is-playing .pi::before, .is-open .pi::before { clip-path: polygon(14% 8%, 40% 8%, 40% 92%, 14% 92%, 14% 8%, 60% 8%, 86% 8%, 86% 92%, 60% 92%, 60% 8%); }

/* Favori vitrin kartÄ± */
.mf-hero { position: relative; overflow: hidden; display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 26px; padding: 24px; align-items: center; }
.mf-hero::before { content: ""; position: absolute; inset: -40px; background-image: var(--cover, none); background-size: cover; background-position: center; filter: blur(48px) saturate(1.3); opacity: .22; pointer-events: none; }
[data-theme="dark"] .mf-hero::before { opacity: .3; }
.mf-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 0%, var(--surface) 75%); opacity: .55; pointer-events: none; }
.mf-hero > * { position: relative; z-index: 1; }
.mfh-cover { position: relative; aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: var(--chip); box-shadow: 0 22px 40px -22px rgba(0, 0, 0, .55); }
.mfh-cover img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
.mfh-ph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--border-2); }
.mfh-ph .icon { width: 64px; height: 64px; }
.mfh-eyebrow { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--accent-text); }
.mfh-eyebrow .star { font-size: 13px; }
.mf-hero h2 { font-size: clamp(26px, 3.2vw, 36px); font-weight: 700; letter-spacing: -0.035em; line-height: 1.1; margin-top: 8px; overflow-wrap: anywhere; }
.mfh-artist { margin-top: 6px; font-size: 16px; font-weight: 500; color: var(--text-2); }
.mfh-note { margin: 16px 0 0; padding: 2px 0 2px 14px; border-left: 3px solid var(--accent); font-size: 15px; line-height: 1.6; color: var(--text-2); font-style: italic; }
.mfh-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.mfh-play { gap: 9px; padding: 11px 20px; border-radius: 999px; }
.mfh-play .pi { width: 12px; height: 12px; }
.mf-hero .mr-progress { margin-top: 14px; border-radius: 999px; }
.mf-hero .m-embed-slot { grid-column: 1 / -1; }
.mf-hero.is-open .m-embed-slot { margin-top: -6px; }

/* Platform linkleri */
.music-links { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.ml { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 500; color: var(--text-2); transition: color .15s, border-color .15s, background .15s; }
.ml svg { width: 18px; height: 18px; flex-shrink: 0; }
.music-links.compact .ml { padding: 7px 12px 7px 9px; border-radius: 999px; border: 1px solid var(--border-2); background: var(--surface); }
.music-links.compact .ml:hover { border-color: var(--text-2); color: var(--text); }
.music-links.icons { gap: 4px; }
.music-links.icons .ml { width: 30px; height: 30px; justify-content: center; border-radius: 50%; opacity: .55; filter: grayscale(.6); }
.music-links.icons .ml span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.music-links.icons .ml svg { width: 20px; height: 20px; }
.m-row:hover .music-links.icons .ml, .music-links.icons .ml:focus-visible { opacity: 1; filter: none; }

/* ÅarkÄ± listesi */
.m-list { list-style: none; margin: 0; padding: 6px 0; }
.m-row { position: relative; }
.m-row + .m-row { border-top: 1px solid var(--border); }
.mr-main { display: grid; grid-template-columns: 26px 56px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 10px 18px; transition: background .15s; }
.m-row:hover .mr-main { background: var(--surface-2); }
.mr-num { font-size: 13px; color: var(--muted); text-align: center; font-variant-numeric: tabular-nums; }
.mr-cover { position: relative; width: 56px; height: 56px; border-radius: 8px; overflow: hidden; background: var(--chip); }
.mr-cover img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
.mr-ph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--border-2); }
.mr-ph .icon { width: 22px; height: 22px; }
.mr-play { position: absolute; inset: 0; z-index: 2; border: 0; cursor: pointer; display: grid; place-items: center; color: #fff; background: rgba(10, 10, 9, .45); opacity: 0; transition: opacity .15s; }
.mr-play .pi { width: 16px; height: 16px; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .4)); }
.m-row:hover .mr-play, .mr-play:focus-visible, .m-row.is-playing .mr-play, .m-row.is-paused .mr-play, .m-row.is-open .mr-play { opacity: 1; }
.mr-text { min-width: 0; }
.mr-text h3 { font-size: 15px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color .15s; }
.m-row.is-playing .mr-text h3, .m-row.is-open .mr-text h3 { color: #128a3e; }
[data-theme="dark"] .m-row.is-playing .mr-text h3, [data-theme="dark"] .m-row.is-open .mr-text h3 { color: #3ddc7a; }
.mr-artist { font-size: 13.5px; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 1px; }
.mr-album { color: var(--muted); }
.mr-note { font-size: 13px; color: var(--muted); font-style: italic; margin-top: 4px; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.mr-side { display: flex; align-items: center; gap: 14px; }
.mr-side time { font-size: 12px; color: var(--muted); white-space: nowrap; }
.mr-progress { height: 2px; background: var(--chip); margin: 0 18px; overflow: hidden; }
.mr-progress span { display: block; height: 100%; width: 0; background: #1db954; }
.m-row .mr-progress { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; background: transparent; }
.m-embed-slot:empty { display: none; }
.m-row .m-embed-slot { padding: 2px 18px 14px 114px; }
.m-embed-slot iframe { display: block; width: 100%; border: 0; border-radius: 12px; background: var(--chip); animation: enter .3s ease; }
.m-embed-slot iframe.is-video { aspect-ratio: 16 / 9; height: auto; max-width: 640px; }

/* Yan sÃ¼tun: Spotify */
.music-aside .spotify-live { display: flex; flex-direction: column; gap: 14px; margin: 0; max-width: none; }
.music-aside .sp-now { padding: 16px; gap: 14px; }
.music-aside .sp-art, .music-aside .sk-cover { width: 76px; height: 76px; }
.music-aside .sp-info h3 { font-size: 16px; }
.music-aside .sp-label { font-size: 11px; }
.music-aside .sp-open { margin-top: 6px; font-size: 12.5px; }
.sp-credit { margin-top: 10px; font-size: 11.5px; }

@media (max-width: 1100px) {
  .music-layout.has-aside { grid-template-columns: minmax(0, 1fr); }
  .music-aside { position: static; order: 2; }
  .music-aside .spotify-live { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (max-width: 860px) {
  .mf-hero { grid-template-columns: 104px minmax(0, 1fr); gap: 16px; padding: 18px; align-items: start; }
  .mf-hero h2 { font-size: 22px; margin-top: 4px; }
  .mfh-artist { font-size: 14.5px; }
  .mfh-note, .mfh-actions, .mf-hero .mr-progress { grid-column: 1 / -1; }
  .mf-hero .mfh-body { display: contents; }
  .mfh-eyebrow { grid-column: 2; }
  .mfh-note { margin-top: 2px; }
  .mfh-actions { margin-top: 4px; }
  .mr-main { grid-template-columns: 52px minmax(0, 1fr); gap: 12px; padding: 10px 14px; }
  .mr-num { display: none; }
  .mr-cover { width: 52px; height: 52px; }
  .mr-play { opacity: 1; background: rgba(10, 10, 9, .3); }
  .mr-side { grid-column: 2; justify-content: space-between; gap: 8px; margin-top: -4px; }
  .music-links.icons .ml { opacity: .85; filter: none; }
  .m-row .m-embed-slot { padding: 0 14px 14px; }
  .music-aside .spotify-live { grid-template-columns: minmax(0, 1fr); }
}

/* DÃ¼zeltmeler: Ã§alan satÄ±rda ekolayzÄ±r, ilerleme Ã§izgisi sadece Ã§alarken, mobil vitrin */
.mr-num { display: grid; place-items: center; }
.mr-num b { font-weight: 400; }
.mr-num .eq { display: none; height: 13px; }
.m-row.is-playing .mr-num b, .m-row.is-open .mr-num b { display: none; }
.m-row.is-playing .mr-num .eq, .m-row.is-open .mr-num .eq { display: inline-flex; }
.m-row.is-paused .mr-num .eq i, .m-row.is-open:not(.is-playing) .mr-num .eq i { animation-play-state: paused; }
.mf-hero .mr-progress { display: none; height: 3px; background: var(--chip); }
.mf-hero.is-playing .mr-progress, .mf-hero.is-paused .mr-progress { display: block; }
.m-row .mr-progress { display: none; height: 2px; }
.m-row.is-playing .mr-progress, .m-row.is-paused .mr-progress { display: block; }
@media (max-width: 860px) {
  .mf-hero { grid-template-columns: 96px minmax(0, 1fr); column-gap: 16px; row-gap: 4px; align-items: center; }
  .mfh-cover { grid-row: 1 / span 3; align-self: start; }
  .mf-hero .mfh-body > * { position: relative; z-index: 1; }
  .mfh-eyebrow, .mf-hero h2, .mfh-artist { grid-column: 2; }
  .mfh-eyebrow { align-self: end; }
  .mf-hero h2 { margin-top: 2px; font-size: 21px; }
  .mfh-artist { align-self: start; margin-top: 0; }
  .mfh-note { margin-top: 12px; }
  .mfh-actions { margin-top: 12px; }
  .mfh-actions .mfh-play { flex: 1 1 100%; justify-content: center; }
  .music-links.compact { flex: 1 1 100%; }
  .music-links.compact .ml { flex: 1 1 0; justify-content: center; padding: 8px 6px; font-size: 12.5px; }
  .music-links.compact .ml span { white-space: nowrap; }
  .mf-hero::after { background: var(--surface); opacity: .4; }
}
@media (max-width: 860px) { .mr-num { display: none; } }
.music-links.compact { flex-wrap: wrap; }
.music-links.compact .ml span { overflow: visible; text-overflow: clip; }
@media (max-width: 860px) {
  .music-links.compact .ml { flex: 1 1 auto; }
  .music-links.icons .ml { width: 36px; height: 36px; }
}

/* Åu an dinliyorum â€” sayfanÄ±n Ã¼stÃ¼nde tek ÅŸerit */
.np-strip { display: block; max-width: 920px; margin: 0 0 22px; }
.np-strip .sp-now { padding: 14px 16px; gap: 14px; }
.np-strip .sp-art, .np-strip .sk-cover { width: 64px; height: 64px; flex: 0 0 64px; }
.np-strip .sp-info { flex: 1; min-width: 0; }
.np-strip .sp-info h3 { font-size: 16px; margin: 1px 0 0; }
.np-strip .sp-label { font-size: 11px; }
.np-strip .sp-open { margin-top: 4px; font-size: 12.5px; }
.np-strip[hidden] { display: none; }
.music-layout { max-width: 920px; }

/* Kapaktaki oynat dÃ¼ÄŸmesi (vitrin) */
.mfh-cover { position: relative; }
.mfh-cover-play { position: absolute; inset: 0; display: grid; place-items: center; border: 0; border-radius: inherit; background: rgba(0,0,0,0); color: #fff; cursor: pointer; transition: background .2s; z-index: 2; }
.mfh-cover-play .pi { width: 26px; height: 26px; opacity: 0; transform: scale(.85); transition: opacity .2s, transform .2s; filter: drop-shadow(0 2px 8px rgba(0,0,0,.4)); }
.mfh-cover-play::before { content: ""; position: absolute; width: 64px; height: 64px; border-radius: 50%; background: rgba(0,0,0,.55); backdrop-filter: blur(6px); opacity: 0; transform: scale(.85); transition: opacity .2s, transform .2s; }
.mfh-cover-play .pi { position: relative; }
.mfh-cover:hover .mfh-cover-play::before, .mfh-cover:hover .mfh-cover-play .pi, .mfh-cover-play:focus-visible::before, .mfh-cover-play:focus-visible .pi,
.mf-hero.is-playing .mfh-cover-play::before, .mf-hero.is-playing .mfh-cover-play .pi, .mf-hero.is-paused .mfh-cover-play::before, .mf-hero.is-paused .mfh-cover-play .pi { opacity: 1; transform: none; }
@media (hover: none) { .mfh-cover-play::before, .mfh-cover-play .pi { opacity: 1; transform: none; } .mfh-cover-play::before { width: 46px; height: 46px; } .mfh-cover-play .pi { width: 18px; height: 18px; } }
.mf-hero.is-open .mr-progress, .m-row.is-open .mr-progress { display: block; }
[data-music].is-loading .pi { animation: piPulse 1s ease-in-out infinite; }
@keyframes piPulse { 50% { opacity: .35; } }
.np-strip .sp-now.is-playing .sp-label { color: #12823b; }
:root[data-theme="dark"] .np-strip .sp-now.is-playing .sp-label { color: #3ddc75; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .np-strip .sp-now.is-playing .sp-label { color: #3ddc75; } }
.np-strip .sp-open { display: inline-flex; align-items: center; min-height: 28px; }

.rate-note { position: fixed; left: 50%; bottom: 22px; transform: translate(-50%, 20px); z-index: 300; max-width: calc(100% - 32px); padding: 11px 16px; border-radius: 12px; background: var(--text, #1a1a18); color: var(--bg, #fff); font-size: 14px; box-shadow: 0 10px 30px rgba(0,0,0,.18); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
.rate-note.on { opacity: 1; transform: translate(-50%, 0); }

/* Form alanlarÄ±: Safari dahil her tarayÄ±cÄ±da aynÄ± boy ve geniÅŸlik */
.field { min-width: 0; }
.field input, .field textarea, .field select { -webkit-appearance: none; appearance: none; box-sizing: border-box; width: 100%; max-width: 100%; min-width: 0; }
.field input { height: 44px; }
.field textarea { resize: vertical; }
.field select { height: 44px; padding: 0 36px 0 12px; font: 400 14.5px/1.5 var(--sans); color: var(--text); background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b6a65' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center; border: 1px solid var(--border); border-radius: 10px; }
.field-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.field input[type="email"]::-webkit-contacts-auto-fill-button, .field input::-webkit-credentials-auto-fill-button { visibility: hidden; position: absolute; right: 0; }
@media (max-width: 640px) { .field-row { grid-template-columns: minmax(0, 1fr); } }

/* ======================= Ana sayfa (sade) ======================= */
.home { max-width: 720px; margin: 8px auto 0; padding-bottom: 24px; }
.h-intro { padding: 28px 0 8px; }
.h-top { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }
.h-avatar { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 4px var(--surface), 0 0 0 5px var(--border); }
.h-mono { display: grid; place-items: center; background: var(--text); color: var(--bg); font-size: 28px; font-weight: 700; }
.avail { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 10px; border-radius: 999px; background: color-mix(in srgb, #1d9a54 9%, var(--surface)); border: 1px solid color-mix(in srgb, #1d9a54 26%, var(--border)); color: color-mix(in srgb, #157a42 80%, var(--text)); font-size: 13px; font-weight: 500; }
.avail-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #22a35b; flex: 0 0 8px; }
.avail-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; background: #22a35b; opacity: .35; animation: availPing 2s ease-out infinite; }
@keyframes availPing { 0% { transform: scale(.5); opacity: .5; } 80%, 100% { transform: scale(1.6); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .avail-dot::after { animation: none; } }
.h-intro h1 { font-size: clamp(34px, 5.4vw, 52px); line-height: 1.05; letter-spacing: -.035em; margin: 0; }
.h-role { margin: 12px 0 0; font-size: 17px; font-weight: 500; color: var(--text); }
.h-role span { color: var(--muted); font-weight: 400; }
.h-lead { margin: 18px 0 0; font-size: 19px; line-height: 1.6; color: var(--text-2); max-width: 600px; }
.h-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 28px; }
.h-socials { display: inline-flex; gap: 2px; margin-left: 6px; }
.h-socials a { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; color: var(--muted); transition: color .15s, background .15s; }
.h-socials a:hover { color: var(--text); background: var(--chip); }
.h-socials .icon { width: 18px; height: 18px; }
.h-sec { margin-top: 64px; }
.h-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.h-head a { font-size: 13.5px; color: var(--muted); }
.h-head a:hover { color: var(--text); }
.h-label { margin: 0 0 14px; font-size: 12px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
.h-head .h-label { margin: 0; }
.h-about { font-size: 16.5px; line-height: 1.75; color: var(--text-2); }
.h-about p:first-child { margin-top: 0; }
.h-works { display: grid; gap: 4px; margin: 0 -12px; }
.h-work { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 12px; border-radius: 14px; color: inherit; text-decoration: none; transition: background .15s; }
.h-work:hover { background: var(--surface); box-shadow: 0 0 0 1px var(--border); }
.hw-thumb { width: 64px; height: 48px; border-radius: 9px; overflow: hidden; background: var(--chip); display: grid; place-items: center; color: var(--muted); }
.hw-thumb img { width: 100%; height: 100%; object-fit: cover; }
.hw-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.hw-text strong { font-size: 15.5px; font-weight: 600; }
.hw-text small { font-size: 13.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hw-year { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.h-work:hover .hw-text strong { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.h-posts { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--border); }
.h-posts li a { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 15px 2px; border-bottom: 1px solid var(--border); color: inherit; text-decoration: none; }
.h-posts li a span { font-size: 15.5px; font-weight: 500; }
.h-posts li a:hover span { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.h-posts time { flex-shrink: 0; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.h-quotes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.h-quotes.one { grid-template-columns: minmax(0, 1fr); }
.h-cta { margin-top: 64px; padding: 26px 0 0; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.h-cta p { margin: 0; color: var(--text-2); font-size: 15.5px; }
.h-cta a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--text); }
.h-cta a .icon { width: 16px; height: 16px; transition: transform .15s; }
.h-cta a:hover .icon { transform: translateX(3px); }
@media (max-width: 640px) {
  .h-intro { padding-top: 12px; }
  .h-lead { font-size: 17px; }
  .h-sec { margin-top: 48px; }
  .h-quotes { grid-template-columns: minmax(0, 1fr); }
  .h-work { grid-template-columns: 52px minmax(0, 1fr); }
  .hw-thumb { width: 52px; height: 40px; }
  .hw-year { display: none; }
  .h-socials { margin-left: 0; width: 100%; }
}
/* MenÃ¼de "iÅŸe aÃ§Ä±ÄŸÄ±m" noktasÄ± */
.profile { position: relative; }
.profile-avail { position: absolute; left: 50px; top: 18px; width: 11px; height: 11px; border-radius: 50%; background: #22a35b; box-shadow: 0 0 0 2.5px var(--surface); }

/* ======================= Referanslar ======================= */
.tm-grid { columns: 2 320px; column-gap: 16px; margin-bottom: 22px; }
.tm-grid .tm-card { break-inside: avoid; margin-bottom: 16px; }
.tm-card { position: relative; margin: 0; padding: 22px 22px 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.tm-card.is-featured { border-color: color-mix(in srgb, var(--accent) 35%, var(--border)); }
.tm-q { position: absolute; top: 6px; right: 18px; font: 700 64px/1 Georgia, serif; color: var(--chip); pointer-events: none; }
.tm-card blockquote { position: relative; margin: 0; font-size: 15px; line-height: 1.7; color: var(--text); }
.tm-card.is-compact blockquote { display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.tm-card figcaption { display: flex; align-items: center; gap: 10px; margin-top: 16px; }
.tm-av { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--chip); color: var(--text); font-weight: 600; font-size: 14px; flex-shrink: 0; }
.tm-who { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.tm-who strong { font-size: 14px; font-weight: 600; }
.tm-who small { font-size: 12.5px; color: var(--muted); }
.tm-form-card .card-head h2 { display: inline-flex; align-items: center; gap: 8px; }
.tm-form { margin-top: 14px; }
.tm-form .check { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--text-2); margin: 4px 0 14px; }
.tm-form .check input { margin-top: 3px; accent-color: var(--text); }

/* ======================= Etiket sayfasÄ± ======================= */
.tag-intro h1 { display: flex; align-items: baseline; gap: 2px; }
.tag-hash { color: var(--muted); font-weight: 500; }
.tag-back { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.tag-back:hover { color: var(--text); }
.tag-back .icon { width: 14px; height: 14px; }

/* ======================= Yolculuk (zaman Ã§izgisi) ======================= */
.jr-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.jr-filter .pill { cursor: pointer; font: inherit; font-size: 13px; }
.jr-filter .pill em { font-style: normal; opacity: .6; margin-left: 2px; }
.journey { position: relative; max-width: 760px; }
.jr-year { position: relative; padding-left: 0; margin-bottom: 8px; }
.jr-y { position: sticky; top: 70px; z-index: 2; margin: 0 0 14px; font-size: 13px; font-weight: 700; letter-spacing: .04em; }
.jr-y span { display: inline-block; padding: 5px 12px; border-radius: 999px; background: var(--text); color: var(--bg); }
.jr-list { list-style: none; margin: 0 0 28px; padding: 0 0 0 22px; position: relative; }
.jr-list::before { content: ""; position: absolute; left: 21px; top: 6px; bottom: 6px; width: 2px; background: var(--border); border-radius: 2px; }
.jr-item { position: relative; padding: 0 0 18px 34px; }
.jr-item[hidden] { display: none; }
.jr-dot { position: absolute; left: -12px; top: 12px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 2px solid var(--border); color: var(--muted); z-index: 1; }
.jr-dot .icon { width: 13px; height: 13px; }
.t-work .jr-dot { color: var(--accent-text); border-color: color-mix(in srgb, var(--accent) 45%, var(--border)); }
.t-project .jr-dot { color: #2c5ea8; border-color: color-mix(in srgb, #2c5ea8 40%, var(--border)); }
.t-edu .jr-dot { color: #8a5a12; border-color: color-mix(in srgb, #c08a2b 45%, var(--border)); }
.t-cert .jr-dot { color: #8b3fa8; border-color: color-mix(in srgb, #8b3fa8 35%, var(--border)); }
.t-mile .jr-dot { color: #b4412b; border-color: color-mix(in srgb, #b4412b 35%, var(--border)); }
.jr-item.is-current .jr-dot { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 16%, transparent); }
.jr-card { display: block; padding: 14px 16px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); color: inherit; text-decoration: none; transition: border-color .15s, transform .15s; }
a.jr-card:hover { border-color: var(--text-2); transform: translateX(2px); }
.jr-meta { display: flex; justify-content: space-between; gap: 10px; font-size: 12px; color: var(--muted); }
.jr-kind { font-weight: 600; text-transform: uppercase; letter-spacing: .06em; font-size: 11px; }
.jr-card h3 { margin: 6px 0 0; font-size: 15.5px; font-weight: 600; line-height: 1.35; }
.jr-sub { margin: 3px 0 0; font-size: 13.5px; color: var(--text-2); }
.jr-text { margin: 8px 0 0; font-size: 13.5px; line-height: 1.6; color: var(--muted); }
@media (max-width: 640px) { .jr-y { top: 62px; } .jr-list { padding-left: 14px; } .jr-list::before { left: 13px; } .jr-item { padding-left: 28px; } }

/* ======================= PaylaÅŸ ======================= */
.share-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 22px; padding: 14px 16px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--border); }
.sb-title { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; }
.sb-title .icon { width: 16px; height: 16px; color: var(--muted); }
.sb-btns { display: flex; gap: 6px; flex-wrap: wrap; }
.sb-btn { height: 36px; min-width: 36px; padding: 0 10px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface); color: var(--text-2); font: 500 13px/1 var(--sans); cursor: pointer; text-decoration: none; transition: border-color .15s, color .15s, background .15s; }
.sb-btn .icon { width: 16px; height: 16px; }
.sb-btn:hover { color: var(--text); border-color: var(--text-2); }
.sb-whatsapp:hover { color: #128c4b; border-color: #25d366; }
.sb-telegram:hover { color: #1d8fd1; border-color: #2aa6e8; }
.sb-linkedin:hover { color: #0a66c2; border-color: #0a66c2; }
.sb-native { background: var(--text); color: var(--bg); border-color: var(--text); }
.sb-native:hover { color: var(--bg); opacity: .9; }
@media (max-width: 640px) { .sb-copy span { display: none; } .share-bar { padding: 12px; } }
.ml-share { width: 30px; height: 30px; display: inline-grid; place-items: center; border-radius: 50%; border: 0; background: transparent; color: var(--muted); cursor: pointer; transition: color .15s, background .15s; }
.ml-share:hover { color: var(--text); background: var(--chip); }
.ml-share .icon { width: 15px; height: 15px; }
.ml-share.is-compact { width: auto; height: 36px; padding: 0 12px; gap: 7px; display: inline-flex; align-items: center; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); font: 500 13px/1 var(--sans); color: var(--text-2); }
@media (max-width: 860px) { .ml-share { width: 36px; height: 36px; } .ml-share.is-compact { flex: 1 1 100%; justify-content: center; } }
.share-pop { position: absolute; z-index: 400; min-width: 190px; padding: 6px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); box-shadow: 0 14px 40px rgba(0, 0, 0, .14); display: flex; flex-direction: column; animation: popIn .12s ease-out; }
.share-pop a, .share-pop button { display: block; width: 100%; text-align: left; padding: 9px 12px; border: 0; border-radius: 8px; background: none; color: var(--text); font: 500 13.5px/1.3 var(--sans); text-decoration: none; cursor: pointer; }
.share-pop a:hover, .share-pop button:hover { background: var(--chip); }
.share-pop button { border-top: 1px solid var(--border); border-radius: 0 0 8px 8px; margin-top: 4px; padding-top: 11px; }
@keyframes popIn { from { opacity: 0; transform: translateY(-4px); } }
[data-music].is-target { box-shadow: 0 0 0 2px var(--accent); background: color-mix(in srgb, var(--accent) 6%, var(--surface)); transition: box-shadow .4s, background .4s; }
.tm-card { padding-top: 46px; }
.tm-q { top: 12px; left: 20px; right: auto; font-size: 54px; line-height: 1; color: color-mix(in srgb, var(--accent) 35%, var(--border)); }
.tm-form .check input { width: 18px; height: 18px; flex: 0 0 18px; }
.tag-back { min-height: 32px; }
.np-strip .sp-open { min-height: 32px; }

/* Proje dosyalarÄ± (ziyaretÃ§i) */
.pf-files ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.pf-files a { display: grid; grid-template-columns: 40px minmax(0, 1fr) 30px; gap: 10px; align-items: center; padding: 8px; margin: 0 -8px; border-radius: 10px; color: inherit; text-decoration: none; transition: background .15s; }
.pf-files a:hover { background: var(--chip); }
.pf-ext { width: 40px; height: 40px; border-radius: 9px; display: grid; place-items: center; background: var(--chip); font: 700 10.5px/1 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--text-2); letter-spacing: .02em; }
.pf-zip, .pf-rar, .pf-7z, .pf-tar, .pf-gz { background: color-mix(in srgb, #c08a2b 16%, var(--surface)); color: #8a5a12; }
.pf-pdf { background: color-mix(in srgb, #c0392b 13%, var(--surface)); color: #a33; }
.pf-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pf-txt strong { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pf-txt small { font-size: 12px; color: var(--muted); }
.pf-dl { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--border); color: var(--text-2); }
.pf-dl svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pf-files a:hover .pf-dl { background: var(--text); color: var(--bg); border-color: var(--text); }
.tm-submit { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 4px; }
.tm-submit small { font-size: 12.5px; }
.tm-card { padding: 20px 20px 16px; }
.tm-q { display: none; }
.tm-card blockquote { font-size: 14.5px; line-height: 1.65; }
.tm-card blockquote::before { content: "â€œ"; } .tm-card blockquote::after { content: "â€"; }
.tm-card figcaption { margin-top: 12px; }
.tm-av { width: 28px; height: 28px; font-size: 12px; }
.tm-who strong { font-size: 13.5px; }

/* CV: Ã–zgeÃ§miÅŸ / Yolculuk sekmeleri */
.cv-tabs { display: inline-flex; gap: 4px; padding: 4px; margin: 0 0 18px; border-radius: 12px; background: var(--chip); }
.cv-tabs button { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 16px; border: 0; border-radius: 9px; background: transparent; color: var(--text-2); font: 500 14px/1 var(--sans); cursor: pointer; transition: background .15s, color .15s, box-shadow .15s; }
.cv-tabs button .icon { width: 16px; height: 16px; }
.cv-tabs button.on { background: var(--surface); color: var(--text); box-shadow: 0 1px 2px rgba(0,0,0,.06), 0 0 0 1px var(--border); }
.cv-pane[hidden], .cv-layout[hidden] { display: none !important; }
.cv-pane .journey { max-width: none; }
@media print { .cv-pane { display: none !important; } .cv-layout[hidden] { display: grid !important; } }

/* ======================= Ana sayfa: bento ======================= */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; max-width: 1080px; }
.b-card { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 24px; border-radius: 18px; background: var(--surface); border: 1px solid var(--border); color: inherit; text-decoration: none; }
a.b-card { transition: border-color .18s, transform .18s, box-shadow .18s; }
a.b-card:hover { border-color: var(--border-2); transform: translateY(-2px); box-shadow: 0 12px 30px -18px rgba(0, 0, 0, .25); }
.b-label { display: inline-flex; align-items: center; gap: 7px; font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.b-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.b-head a, .b-more { font-size: 13px; color: var(--muted); }
.b-head a:hover, .b-more:hover { color: var(--text); }
.b-hero { grid-column: span 4; padding: 30px; justify-content: space-between; gap: 22px; }
.bh-top { display: flex; align-items: center; gap: 16px; }
.bh-avatar { width: 64px; height: 64px; border-radius: 18px; object-fit: cover; flex-shrink: 0; }
.bh-mono { display: grid; place-items: center; background: var(--text); color: var(--bg); font-size: 26px; font-weight: 700; }
.bh-id h1 { margin: 0; font-size: clamp(26px, 3.2vw, 36px); line-height: 1.1; letter-spacing: -.03em; }
.bh-id p { margin: 6px 0 0; font-size: 15px; font-weight: 500; }
.bh-id p span { color: var(--muted); font-weight: 400; }
.bh-lead { margin: 0; font-size: 18px; line-height: 1.6; color: var(--text-2); max-width: 560px; }
.bh-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.b-status { grid-column: span 2; justify-content: space-between; gap: 14px; background: var(--surface-2, var(--surface)); }
.b-status .avail { align-self: flex-start; }
.bs-kicker { font-size: 14px; font-weight: 600; }
.bs-text { margin: 0; font-size: 17px; font-weight: 600; line-height: 1.4; letter-spacing: -.01em; }
.bs-foot { display: flex; flex-direction: column; gap: 14px; }
.bs-link { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--text); }
.bs-link .icon { width: 15px; height: 15px; transition: transform .15s; }
.bs-link:hover .icon { transform: translateX(3px); }
.bs-socials { display: flex; gap: 4px; margin: 0 -6px; }
.bs-socials a { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; color: var(--muted); }
.bs-socials a:hover { color: var(--text); background: var(--chip); }
.bs-socials .icon { width: 17px; height: 17px; }
.b-project { grid-column: span 3; padding: 0; overflow: hidden; }
.b-project.is-solo { grid-column: span 6; flex-direction: row; }
.b-project.is-solo .bp-media { width: 55%; aspect-ratio: auto; }
.bp-media { display: block; aspect-ratio: 16 / 9; background: var(--chip); overflow: hidden; border-bottom: 1px solid var(--border); }
.bp-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
a.b-project:hover .bp-media img { transform: scale(1.03); }
.bp-ph { width: 100%; height: 100%; display: grid; place-items: center; color: var(--muted); }
.bp-body { display: flex; flex-direction: column; gap: 6px; padding: 18px 56px 20px 20px; }
.bp-body strong { font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.bp-body small { font-size: 13.5px; line-height: 1.55; color: var(--muted); }
.bp-go { position: absolute; right: 18px; bottom: 20px; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--border); color: var(--text-2); transition: background .18s, color .18s, border-color .18s; }
.bp-go .icon { width: 15px; height: 15px; transform: rotate(-45deg); }
a.b-project:hover .bp-go { background: var(--text); color: var(--bg); border-color: var(--text); }
.b-about { grid-column: span 3; gap: 12px; }
.ba-text { font-size: 15px; line-height: 1.7; color: var(--text-2); flex: 1; }
.ba-text p { margin: 0; display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.b-now { grid-column: span 3; gap: 14px; }
.b-now .pulse { width: 7px; height: 7px; border-radius: 50%; background: #22a35b; box-shadow: 0 0 0 3px color-mix(in srgb, #22a35b 22%, transparent); }
.b-now ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.b-now li { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 10px; font-size: 14px; line-height: 1.5; }
.b-now li b { font-weight: 600; color: var(--text); }
.b-now li span { color: var(--text-2); }
.b-posts { grid-column: span 4; gap: 6px; }
.b-posts ul { list-style: none; margin: 6px 0 0; padding: 0; }
.b-posts li a { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 12px 0; border-top: 1px solid var(--border); color: inherit; text-decoration: none; }
.b-posts li:first-child a { border-top: 0; }
.b-posts li a span { font-size: 15px; font-weight: 500; }
.b-posts li a:hover span { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.b-posts time { flex-shrink: 0; font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.b-quote { grid-column: span 2; gap: 12px; }
.b-quote blockquote { margin: 0; flex: 1; font-size: 14.5px; line-height: 1.65; color: var(--text); }
.b-quote blockquote::before { content: "â€œ"; } .b-quote blockquote::after { content: "â€"; }
.bq-who { font-size: 12.5px; color: var(--muted); }
.bq-who b { color: var(--text); font-weight: 600; }
/* Eksik kart olursa komÅŸusu geniÅŸler */
.bento:not(:has(.b-now)) .b-about, .bento:not(:has(.b-about)) .b-now { grid-column: span 6; }
.bento:not(:has(.b-quote)) .b-posts, .bento:not(:has(.b-posts)) .b-quote { grid-column: span 6; }
@media (max-width: 980px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .b-hero, .b-posts, .b-project.is-solo { grid-column: span 2; }
  .b-status, .b-project, .b-about, .b-now, .b-quote { grid-column: span 1; }
  .bento:not(:has(.b-now)) .b-about, .bento:not(:has(.b-about)) .b-now, .bento:not(:has(.b-quote)) .b-posts, .bento:not(:has(.b-posts)) .b-quote { grid-column: span 2; }
}
@media (max-width: 640px) {
  .bento { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .bento > .b-card { grid-column: 1 / -1 !important; }
  .b-card { padding: 20px; border-radius: 16px; }
  .b-hero { padding: 22px; }
  .bh-avatar { width: 56px; height: 56px; border-radius: 16px; }
  .bh-lead { font-size: 16.5px; }
  .b-project.is-solo { flex-direction: column; }
  .b-project.is-solo .bp-media { width: 100%; aspect-ratio: 16 / 9; }
  .b-now li { grid-template-columns: minmax(0, 1fr); gap: 0; }
}
@media (max-width: 640px) { .bento > .b-project { padding: 0; } }

/* Ä°letiÅŸim sayfasÄ±: Mesaj gÃ¶nder / Referanslar sekmeleri */
.tab-count { font-style: normal; font-size: 11px; font-weight: 600; min-width: 18px; height: 18px; padding: 0 6px; border-radius: 9px; background: var(--chip); color: var(--text-2); display: inline-flex; align-items: center; justify-content: center; }
.cv-tabs button.on .tab-count { background: var(--text); color: var(--surface); }
#referanslar, #referans-birak { scroll-margin-top: 90px; }
.cv-pane[data-cv-pane="refs"] > * + * { margin-top: 18px; }
/* CV â†’ Åu an sekmesi */
.cv-now .now-section + .now-section { margin-top: 28px; }
.cv-now .now-updated-line { margin: 0 0 14px; }
#kullandiklarim { scroll-margin-top: 90px; }

/* ===== Ã–zel sayfalar ===== */
.cp-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.cp-card { display: block; padding: 20px; color: inherit; text-decoration: none; transition: transform .15s, box-shadow .15s, border-color .15s; }
.cp-card h3 { font-size: 16px; margin: 0 0 6px; display: flex; align-items: center; gap: 6px; }
.cp-card h3 .icon { width: 14px; height: 14px; opacity: .6; }
.cp-card p { margin: 0; font-size: 14px; line-height: 1.55; }
.cp-card.is-link:hover { transform: translateY(-2px); border-color: var(--text-3, var(--border)); }
.cp-gallery { columns: 3 260px; column-gap: 14px; }
.cp-shot { break-inside: avoid; margin: 0 0 14px; }
.cp-shot img { width: 100%; height: auto; display: block; border-radius: 14px; border: 1px solid var(--border); }
.cp-shot figcaption { font-size: 13px; color: var(--text-2); margin-top: 6px; }
.cp-form-card { max-width: 640px; }

/* Proje dosyalarÄ±: canlÄ± demo butonu */
.pf-files li { display: flex; flex-direction: column; gap: 8px; }
.pf-demo { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 14px; border-radius: 10px; background: var(--text); color: var(--bg) !important; font-weight: 600; font-size: 14px; text-decoration: none; transition: opacity .15s, transform .15s; }
.pf-demo:hover { opacity: .9; transform: translateY(-1px); }
.pf-demo svg { width: 15px; height: 15px; fill: currentColor; }
.pf-demo span { opacity: .7; font-size: 13px; }
.pf-files a.pf-demo { display: flex; justify-content: center; gap: 8px; padding: 10px 14px; margin: 0; border: 0; background: var(--text); }
.pf-files a.pf-demo:hover { background: var(--text); }
.pf-files a.pf-demo > * { flex: none; margin: 0; }

/* NumaralÄ± sayfalama */
.pager { display: flex; justify-content: center; align-items: center; gap: 6px; margin: 28px 0 8px; flex-wrap: wrap; }
.pager .pg { min-width: 40px; height: 40px; padding: 0 12px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; font: 600 14px/1 inherit; color: var(--text-2); text-decoration: none; background: var(--surface); border: 1px solid var(--border); transition: background .15s, color .15s, border-color .15s; font-variant-numeric: tabular-nums; }
.pager a.pg:hover { color: var(--text); border-color: var(--text-3, var(--border)); }
.pager .pg.is-on { background: var(--text); color: var(--bg); border-color: var(--text); }
.pager .pg-gap { background: none; border: 0; min-width: 20px; padding: 0; }
.pager .pg-arrow .icon { width: 16px; height: 16px; }
.pager .pg.is-off { opacity: .35; }
.search-count { margin: -4px 0 14px; }
.m-section .pager { margin-top: 18px; }

/* ===== "Ammar'a sor" asistanÄ± ===== */
.asst { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; font-family: inherit; }
.asst-fab { display: inline-flex; align-items: center; gap: 9px; height: 50px; padding: 0 20px 0 16px; border: 0; border-radius: 999px; background: var(--text); color: var(--bg); font: 600 14.5px inherit; font-family: inherit; cursor: pointer; box-shadow: 0 10px 30px rgba(0,0,0,.18); transition: transform .15s, box-shadow .15s; }
.asst-fab:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(0,0,0,.22); }
.asst-fab svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.asst.is-open .asst-fab span { display: none; }
.asst.is-open .asst-fab { padding: 0; width: 50px; justify-content: center; }
.asst-panel { width: min(380px, calc(100vw - 32px)); height: min(560px, calc(100vh - 110px)); background: var(--surface); border: 1px solid var(--border); border-radius: 22px; box-shadow: 0 24px 60px rgba(0,0,0,.18); display: flex; flex-direction: column; overflow: hidden; animation: asstIn .18s ease-out; }
.asst-panel[hidden] { display: none; }
@keyframes asstIn { from { opacity: 0; transform: translateY(10px) scale(.98); } }
.asst-head { display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 16px; border-bottom: 1px solid var(--border); }
.asst-av { width: 38px; height: 38px; border-radius: 50%; overflow: hidden; background: var(--chip); display: grid; place-items: center; font-weight: 700; flex-shrink: 0; }
.asst-av img { width: 100%; height: 100%; object-fit: cover; }
.asst-title { flex: 1; display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.asst-title strong { font-size: 15px; }
.asst-title small { font-size: 12px; color: var(--text-3, var(--text-2)); }
.asst-x { width: 34px; height: 34px; border: 0; border-radius: 10px; background: none; color: var(--text-2); cursor: pointer; display: grid; place-items: center; }
.asst-x:hover { background: var(--chip); }
.asst-x .icon { width: 16px; height: 16px; }
.asst-body { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; overscroll-behavior: contain; }
.asst-msg { max-width: 88%; display: flex; flex-direction: column; gap: 8px; }
.asst-msg p { margin: 0; padding: 10px 14px; border-radius: 16px; font-size: 14.5px; line-height: 1.5; }
.asst-msg.bot p { background: var(--chip); color: var(--text); border-bottom-left-radius: 6px; }
.asst-msg.me { align-self: flex-end; }
.asst-msg.me p { background: var(--text); color: var(--bg); border-bottom-right-radius: 6px; }
.asst-links { display: flex; flex-direction: column; gap: 6px; }
.asst-links a { display: grid; grid-template-columns: 1fr auto; column-gap: 10px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); color: var(--text); text-decoration: none; transition: border-color .15s; }
.asst-links a:hover { border-color: var(--text-2); }
.asst-links strong { font-size: 13.5px; }
.asst-links small { grid-column: 1; font-size: 12px; color: var(--text-2); margin-top: 2px; }
.asst-links span { grid-column: 2; grid-row: 1 / span 2; align-self: center; color: var(--text-2); }
.asst-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.asst-chips button { border: 1px solid var(--border); background: var(--surface); color: var(--text); border-radius: 999px; padding: 7px 12px; font: 500 13px inherit; font-family: inherit; cursor: pointer; }
.asst-chips button:hover { border-color: var(--text-2); }
.asst-typing p { display: inline-flex; gap: 4px; padding: 13px 14px; }
.asst-typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--text-2); animation: asstDot 1s infinite; }
.asst-typing i:nth-child(2) { animation-delay: .15s; } .asst-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes asstDot { 0%, 80%, 100% { opacity: .3; transform: none; } 40% { opacity: 1; transform: translateY(-3px); } }
.asst-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--border); }
.asst-form input { flex: 1; min-width: 0; height: 44px; border-radius: 12px; border: 1px solid var(--border); background: var(--bg); color: var(--text); padding: 0 14px; font: 15px inherit; font-family: inherit; }
.asst-form input:focus { outline: none; border-color: var(--text-2); }
.asst-form button { width: 44px; height: 44px; border: 0; border-radius: 12px; background: var(--text); color: var(--bg); cursor: pointer; display: grid; place-items: center; }
.asst-form button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 640px) {
  .asst { right: 14px; bottom: 14px; }
  .asst-fab span { display: none; }
  .asst-fab { width: 52px; height: 52px; padding: 0; justify-content: center; }
  .asst.is-open { left: 10px; right: 10px; bottom: 10px; }
  .asst-panel { width: 100%; height: calc(100vh - 90px); height: calc(100dvh - 90px); }
}
@media print { .asst { display: none; } }

/* ================= Sertifikalar sekmesi ================= */
.cv-certs { margin-bottom: 24px; }
.cert-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.cert-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: 18px; overflow: hidden; transition: transform .2s, box-shadow .2s; }
.cert-card:hover { transform: translateY(-3px); box-shadow: 0 16px 34px -18px rgba(0,0,0,.28), 8px 8px 0 color-mix(in srgb, var(--text) 6%, transparent); }
.cert-media { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3; background-color: var(--chip); background-image: radial-gradient(color-mix(in srgb, var(--text) 12%, transparent) 1px, transparent 1px); background-size: 16px 16px; color: var(--text); text-decoration: none; overflow: hidden; }
.cert-media.has-img { background: #f3f2ee; }
.cert-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s; }
.cert-card:hover .cert-media img { transform: scale(1.04); }
.cert-doc { position: relative; width: 46%; aspect-ratio: 3 / 4; background: #fff; border-radius: 6px; box-shadow: 0 10px 22px rgba(0,0,0,.14), 6px 6px 0 color-mix(in srgb, var(--text) 8%, transparent); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; padding: 14px 12px; transform: rotate(-3deg); transition: transform .25s; }
.cert-card:hover .cert-doc { transform: rotate(0deg) scale(1.04); }
.cert-doc i { display: block; width: 78%; height: 5px; border-radius: 3px; background: #e7e5df; }
.cert-doc i:nth-of-type(2) { width: 58%; }
.cert-doc i:nth-of-type(3) { width: 68%; }
.cert-doc b { position: absolute; bottom: 9px; right: 10px; font: 700 10px/1 var(--sans); letter-spacing: .08em; color: #8a877f; }
.cert-ribbon { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; margin-bottom: 4px; box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, #fff); }
.cert-ribbon .icon { width: 18px; height: 18px; }
.cert-open { position: absolute; inset: auto 12px 12px auto; display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 999px; background: rgba(17,17,16,.78); color: #fff; font-size: 12.5px; font-weight: 600; opacity: 0; transform: translateY(4px); transition: opacity .2s, transform .2s; backdrop-filter: blur(4px); }
.cert-open .icon { width: 14px; height: 14px; }
.cert-media:hover .cert-open, .cert-media:focus-visible .cert-open { opacity: 1; transform: none; }
.cert-body { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px 16px; flex: 1; }
.cert-body h3 { margin: 0; font-size: 16px; line-height: 1.35; letter-spacing: -.2px; }
.cert-issuer { margin: 0; color: var(--text-2); font-size: 13.5px; }
.cert-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 12px; }
.cert-year { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--text-2); background: var(--chip); padding: 5px 10px; border-radius: 999px; }
.cert-year .icon { width: 13px; height: 13px; }
.cert-btns { display: inline-flex; gap: 6px; margin-left: auto; }
.cert-btns .btn .icon { width: 14px; height: 14px; }
.cert-dl { width: 34px; padding: 0; justify-content: center; }
.cv-tabs .tab-count { font-style: normal; }
@media (hover: none) { .cert-open { opacity: 1; transform: none; } }
@media (max-width: 560px) { .cert-grid { grid-template-columns: 1fr; } .cert-media { aspect-ratio: 16 / 9; } .cert-doc { width: 30%; } }
@media print { .cv-certs { display: none !important; } }
.cv-tabs { max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.cv-tabs::-webkit-scrollbar { display: none; }
.cv-tabs button { white-space: nowrap; flex: none; }
.cvd-paper { position: relative; }
.cvd-fallback { position: absolute; inset: 0; }
@media (max-width: 760px) { .cv-tabs button { padding: 0 12px; } }