:root {
  --bg: #faf9ff; --bg2: #f1effc; --card: #fff; --line: #e8e5f5; --text: #1b1736; --muted: #645f86; --faint: #9a96b6;
  --brand: #6d4aff; --brand-soft: #efeaff;
  --g: linear-gradient(135deg, #6d4aff 0%, #a23cf6 50%, #ff4d8d 100%);
  --shadow: 0 1px 2px rgba(40,30,90,.05), 0 6px 22px rgba(40,30,90,.07); --shadow-h: 0 16px 40px rgba(90,50,200,.16);
  --serif: "Newsreader", Georgia, serif; --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}
:root[data-theme="dark"] { --bg: #0e0c1d; --bg2: #17142e; --card: #17142d; --line: #2a2550; --text: #eeebff; --muted: #a8a2cf; --faint: #746e9b; --brand: #a18bff; --brand-soft: #2a2160; --shadow: 0 8px 26px rgba(0,0,0,.35); --shadow-h: 0 16px 40px rgba(0,0,0,.55); color-scheme: dark; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --bg: #0e0c1d; --bg2: #17142e; --card: #17142d; --line: #2a2550; --text: #eeebff; --muted: #a8a2cf; --faint: #746e9b; --brand: #a18bff; --brand-soft: #2a2160; --shadow: 0 8px 26px rgba(0,0,0,.35); --shadow-h: 0 16px 40px rgba(0,0,0,.55); color-scheme: dark; } }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: var(--brand); text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.muted { color: var(--muted); }
[hidden] { display: none !important; }

/* Üst kısım */
.site-head { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 78%, transparent); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent); }
.head-in { display: flex; align-items: center; gap: 22px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; color: var(--text); letter-spacing: -.3px; white-space: nowrap; }
.logo-mark { width: 36px; height: 36px; border-radius: 11px; background: var(--g); color: #fff; display: grid; place-items: center; box-shadow: 0 8px 18px rgba(162,60,246,.4); }
.nav { display: flex; gap: 4px; flex: 1; overflow-x: auto; scrollbar-width: none; }
.nav a { color: var(--muted); font-weight: 600; font-size: 14.5px; padding: 8px 12px; border-radius: 10px; white-space: nowrap; }
.nav a:hover { background: var(--bg2); color: var(--text); }
.head-tools { display: flex; align-items: center; gap: 8px; }
.site-head .search input[name=q] { margin: 0; height: 38px; width: 190px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); color: var(--text); padding: 0 14px; font: inherit; font-size: 14px; outline: none; transition: width .2s, box-shadow .2s; }
.site-head .search input[name=q]:focus { width: 240px; border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 16%, transparent); }
.theme-btn { width: 38px; height: 38px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); color: var(--text); cursor: pointer; font-size: 17px; }

/* Karşılama */
.hero { position: relative; overflow: hidden; padding: 84px 0 72px; color: #fff; background: var(--g); margin-bottom: 44px; }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.hero::before { width: 520px; height: 520px; right: -140px; top: -260px; background: radial-gradient(circle, rgba(255,255,255,.3), transparent 65%); }
.hero::after { width: 420px; height: 420px; left: 10%; bottom: -300px; background: radial-gradient(circle, rgba(255,214,102,.45), transparent 65%); }
.hero-in { position: relative; z-index: 1; }
.eyebrow { display: inline-block; padding: 6px 14px; border-radius: 999px; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.3); font-weight: 700; font-size: 13px; letter-spacing: .5px; text-transform: uppercase; }
.hero h1 { font-size: clamp(36px, 6vw, 64px); line-height: 1.05; margin: 18px 0 14px; letter-spacing: -1.5px; font-weight: 800; max-width: 800px; }
.hero p { font-size: 19px; max-width: 620px; margin: 0; color: rgba(255,255,255,.88); }
.page-title { padding: 54px 0 30px; }
.page-title h1 { font-size: clamp(30px, 4vw, 44px); margin: 0; letter-spacing: -1px; background: var(--g); -webkit-background-clip: text; background-clip: text; color: transparent; display: inline-block; }
.page-title p { color: var(--muted); margin: 6px 0 0; }

/* Kartlar */
.card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.featured { margin-bottom: 30px; }
.post-card { position: relative; overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-h); }
.card-link { position: absolute; inset: 0; z-index: 2; }
.cover { aspect-ratio: 16 / 9; overflow: hidden; display: grid; place-items: center; }
.cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.post-card:hover .cover img { transform: scale(1.04); }
.cover span { font-size: 64px; font-weight: 800; color: rgba(255,255,255,.9); text-shadow: 0 6px 24px rgba(0,0,0,.18); }
.g1 { background: linear-gradient(135deg, #6d4aff, #ff4d8d); } .g2 { background: linear-gradient(135deg, #06b6d4, #3b82f6); }
.g3 { background: linear-gradient(135deg, #f59e0b, #ef4444); } .g4 { background: linear-gradient(135deg, #10b981, #06b6d4); }
.g5 { background: linear-gradient(135deg, #8b5cf6, #ec4899); } .g6 { background: linear-gradient(135deg, #f97316, #facc15); }
.card-body { padding: 20px 22px 24px; }
.post-card h2 { font-size: 20px; line-height: 1.3; margin: 10px 0 8px; letter-spacing: -.3px; }
.post-card p { color: var(--muted); margin: 0; font-size: 15px; }
.post-card.big { flex-direction: row; }
.post-card.big .cover { flex: 1.15; aspect-ratio: auto; min-height: 340px; }
.post-card.big .cover span { font-size: 110px; }
.post-card.big .card-body { flex: 1; padding: 36px 38px; display: flex; flex-direction: column; justify-content: center; }
.post-card.big h2 { font-size: clamp(24px, 3vw, 34px); letter-spacing: -.8px; }
.post-card.big p { font-size: 16.5px; }
.meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; color: var(--faint); font-size: 13.5px; font-weight: 600; }
.chip { display: inline-block; padding: 3px 11px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); font-weight: 700; font-size: 12.5px; position: relative; z-index: 3; }
.chip.ok { background: #dcfce7; color: #047857; } .chip.warn { background: #fef3c7; color: #b45309; }

/* Yazı sayfası */
.post-head { padding: 56px 20px 28px; }
.post-head h1 { font-size: clamp(32px, 5vw, 50px); line-height: 1.12; letter-spacing: -1.4px; margin: 16px 0 14px; }
.lead { font-family: var(--serif); font-size: 22px; line-height: 1.5; color: var(--muted); margin: 0 0 22px; }
.author { display: flex; align-items: center; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line); }
.author > div { flex: 1; } .author small { display: block; color: var(--muted); }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--g); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 18px; }
.post-cover { margin-bottom: 36px; } .post-cover img { width: 100%; max-height: 560px; object-fit: cover; border-radius: 24px; box-shadow: var(--shadow); }
.prose { font-family: var(--serif); font-size: 20.5px; line-height: 1.75; }
.prose > * { margin-top: 0; margin-bottom: 0; } .prose > * + * { margin-top: 1.1em; }
.prose > h2, .prose > h3, .prose > h4, .prose > h5 { font-family: var(--sans); letter-spacing: -.5px; line-height: 1.25; margin-top: 1.7em; }
.prose > h2 + *, .prose > h3 + *, .prose > h4 + * { margin-top: .6em; }
.prose h2 { font-size: 30px; } .prose h3 { font-size: 24px; } .prose h4 { font-size: 20px; }
.prose a { text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--brand) 40%, transparent); text-underline-offset: 3px; }
.prose img { border-radius: 16px; margin: 1.6em auto; }
.prose blockquote { margin-left: 0; margin-right: 0; padding: 4px 0 4px 22px; border-left: 4px solid; border-image: var(--g) 1; font-style: italic; color: var(--muted); }
.prose code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .8em; background: var(--brand-soft); color: var(--brand); padding: 2px 7px; border-radius: 6px; }
.prose pre { background: #120f26; color: #e6e1ff; padding: 20px 22px; border-radius: 16px; overflow-x: auto; font-size: 15px; line-height: 1.6; }
.prose pre code { background: none; color: inherit; padding: 0; font-size: 1em; }
.prose ul, .prose ol { padding-left: 1.3em; } .prose li + li { margin-top: .35em; }
.prose hr { border: 0; height: 4px; width: 80px; margin: 2.4em auto; background: var(--g); border-radius: 4px; }
.share { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-weight: 600; }
.related { margin-top: 70px; }
.sec-title { font-size: 26px; letter-spacing: -.5px; margin: 0 0 22px; }

/* Düğmeler / formlar */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 42px; padding: 0 18px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); color: var(--text); font: inherit; font-weight: 700; font-size: 14.5px; cursor: pointer; transition: transform .12s, box-shadow .15s; white-space: nowrap; }
.btn:hover { box-shadow: var(--shadow); } .btn:active { transform: translateY(1px); }
.btn.pri { background: var(--g); color: #fff; border-color: transparent; box-shadow: 0 8px 20px rgba(130,60,240,.32); }
.btn.sm { height: 34px; padding: 0 12px; font-size: 13.5px; border-radius: 10px; }
.btn.ghost { background: transparent; }
.btn.danger { color: #e11d48; }
.btn.full { width: 100%; }
label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 14px; }
input:not([type=checkbox]):not([type=file]), select, textarea { display: block; width: 100%; margin-top: 6px; padding: 11px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); color: var(--text); font: inherit; font-size: 15px; font-weight: 500; outline: none; }
input:focus, select:focus, textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 16%, transparent); }
label.check { display: flex; gap: 8px; align-items: center; font-weight: 600; margin: 10px 0; }
.flash { margin: 18px 0; padding: 14px 18px; border-radius: 14px; font-weight: 600; background: #dcfce7; color: #065f46; }
.flash.err { background: #ffe4e6; color: #9f1239; }
.pager { display: flex; justify-content: center; align-items: center; gap: 16px; margin: 44px 0 0; color: var(--muted); font-weight: 700; }
.empty-state { text-align: center; padding: 70px 20px; }
.big-num { font-size: 120px; font-weight: 800; line-height: 1; background: var(--g); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Yönetim */
.admin { padding-top: 36px; }
.admin-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.admin-head h1 { margin: 0; letter-spacing: -.8px; font-size: 30px; } .admin-head p { margin: 4px 0 0; }
.btn-row { display: flex; gap: 8px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 22px; }
.stat { padding: 20px 22px; position: relative; overflow: hidden; } .stat b { font-size: 34px; display: block; letter-spacing: -1px; } .stat span { color: var(--muted); font-weight: 600; }
.stat::after { content: ""; position: absolute; right: -30px; top: -30px; width: 110px; height: 110px; border-radius: 50%; opacity: .16; }
.s1::after { background: var(--g); } .s2::after { background: linear-gradient(135deg, #10b981, #06b6d4); } .s3::after { background: linear-gradient(135deg, #f59e0b, #ef4444); }
.table-card { overflow-x: auto; }
.tbl { width: 100%; border-collapse: collapse; font-size: 15px; }
.tbl th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .6px; color: var(--faint); padding: 14px 18px; border-bottom: 1px solid var(--line); }
.tbl td { padding: 14px 18px; border-bottom: 1px solid var(--line); } .tbl tr:last-child td { border-bottom: 0; }
.tbl .act { text-align: right; white-space: nowrap; } .strong { font-weight: 700; color: var(--text); }
.pad { padding: 22px; } .card + .card { margin-top: 18px; }
.grid > .card, .featured > .card { margin-top: 0; }
.inline-form { display: flex; gap: 10px; align-items: center; margin-bottom: 18px; } .inline-form input { margin: 0; }
.editor-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 20px; align-items: start; }
.editor-side .card + .card { margin-top: 16px; }
.editor-main { overflow: hidden; }
.title-input { border: 0 !important; box-shadow: none !important; font-size: 28px !important; font-weight: 800 !important; padding: 22px 24px 12px !important; margin: 0 !important; letter-spacing: -.5px; border-radius: 0 !important; }
.ed-tabs { display: flex; align-items: center; gap: 4px; padding: 6px 14px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg2); flex-wrap: wrap; }
.ed-tabs > button { background: none; border: 0; padding: 8px 12px; font: inherit; font-weight: 700; color: var(--muted); cursor: pointer; border-radius: 9px; }
.ed-tabs > button.on { background: var(--card); color: var(--brand); box-shadow: var(--shadow); }
.ed-tools { margin-left: auto; display: flex; gap: 2px; }
.ed-tools button, .upl-btn { width: 34px; height: 32px; border: 0; background: none; border-radius: 8px; cursor: pointer; color: var(--text); font: inherit; font-size: 14px; display: grid; place-items: center; margin: 0; }
.ed-tools button:hover, .upl-btn:hover { background: var(--card); }
#body { border: 0; border-radius: 0; margin: 0; min-height: 520px; resize: vertical; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 14.5px; line-height: 1.7; padding: 20px 24px; box-shadow: none; }
.preview { padding: 24px 28px; min-height: 520px; }
.cover-prev { border-radius: 12px; margin: 12px 0 4px; }
.editor-side input[type=file] { margin: 12px 0 6px; font-size: 13px; max-width: 100%; }
.danger-zone p { margin: 6px 0 12px; font-size: 14px; }
.login { display: grid; place-items: center; min-height: 64vh; padding-top: 30px; } .login-card { width: 100%; max-width: 420px; padding: 34px; } .login-card h1 { margin: 0 0 4px; letter-spacing: -.6px; } .login-card p { margin: 0 0 20px; }

/* Alt kısım */
.site-foot { margin-top: 90px; background: var(--bg2); border-top: 1px solid var(--line); padding: 44px 0 28px; }
.foot-in { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.foot-in p { color: var(--muted); margin: 6px 0 0; max-width: 460px; }
.foot-links { display: flex; gap: 18px; font-weight: 700; }
.copy { color: var(--faint); font-size: 13.5px; margin-top: 28px; }

@media (max-width: 960px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .editor-grid { grid-template-columns: 1fr; } .post-card.big { flex-direction: column; } .post-card.big .cover { min-height: 0; aspect-ratio: 16/9; } }
@media (max-width: 680px) {
  .grid, .stats { grid-template-columns: 1fr; }
  .head-in { flex-wrap: wrap; height: auto; padding-top: 12px; padding-bottom: 10px; gap: 10px; }
  .nav { order: 3; width: 100%; flex: none; }
  .head-tools { margin-left: auto; } .site-head .search input[name=q], .site-head .search input[name=q]:focus { width: 104px; } .logo { font-size: 17px; } .logo-mark { width: 32px; height: 32px; }
  .hero { padding: 56px 0 50px; } .post-card.big .card-body { padding: 22px; }
  .prose { font-size: 18.5px; } .hide-sm { display: none; }
}

/* ---------- Gündem ---------- */
.nav a.nav-hot { color: var(--brand); }
.nav a.nav-hot::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #ff4d8d; margin-right: 7px; vertical-align: 2px; box-shadow: 0 0 0 3px rgba(255,77,141,.2); }
.live-dot { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 12.5px; text-transform: uppercase; letter-spacing: .8px; color: #e11d48; }
.live-dot::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #f43f5e; box-shadow: 0 0 0 0 rgba(244,63,94,.6); animation: pulse 1.8s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(244,63,94,.55); } 70% { box-shadow: 0 0 0 10px rgba(244,63,94,0); } 100% { box-shadow: 0 0 0 0 rgba(244,63,94,0); } }
.gundem-title h1 { display: block; margin-top: 10px; }
.faint { color: var(--faint); }
.data-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-bottom: 22px; }
.data-card { padding: 22px 24px; color: #fff; border: 0; position: relative; overflow: hidden; }
.data-card::after { content: ""; position: absolute; right: -50px; top: -50px; width: 160px; height: 160px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.3), transparent 65%); }
.dc-k { font-weight: 700; font-size: 13.5px; opacity: .9; }
.dc-v { font-size: 42px; font-weight: 800; letter-spacing: -1.5px; margin: 6px 0 4px; }
.dc-s { font-size: 14px; opacity: .92; } .dc-s b { font-weight: 800; }
.dc-list { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 8px; }
.dc-list span { background: rgba(255,255,255,.2); border-radius: 999px; padding: 2px 10px; font-size: 13px; font-weight: 700; }
.kev-card { margin-bottom: 30px; overflow-x: auto; }
.kev-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px 6px; gap: 12px; }
.kev-head h2 { margin: 0; font-size: 19px; letter-spacing: -.3px; } .kev-head a { font-weight: 700; font-size: 14px; white-space: nowrap; }
.mono { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 13.5px; white-space: nowrap; }
.tabs-nav { display: flex; gap: 6px; flex-wrap: wrap; margin: 6px 0 26px; }
.tabs-nav a { padding: 9px 16px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); color: var(--muted); font-weight: 700; font-size: 14px; }
.tabs-nav a.on { background: var(--g); color: #fff; border-color: transparent; box-shadow: 0 6px 16px rgba(130,60,240,.3); }
.feed-sec + .feed-sec { margin-top: 44px; }
.feed-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.feed-head > div { flex: 1; } .feed-head h2 { margin: 0; font-size: 24px; letter-spacing: -.5px; } .feed-head p { margin: 2px 0 0; font-size: 14.5px; }
.feed-dot { width: 14px; height: 40px; border-radius: 8px; flex: none; }
.feed-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.feed-item { display: flex; flex-direction: column; padding: 18px 20px; color: var(--text); transition: transform .18s, box-shadow .18s, border-color .18s; margin: 0 !important; }
.feed-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-h); border-color: color-mix(in srgb, var(--brand) 35%, var(--line)); }
.fi-meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 12.5px; color: var(--faint); font-weight: 600; }
.feed-item h3 { font-size: 16.5px; line-height: 1.35; margin: 12px 0 8px; letter-spacing: -.2px; }
.feed-item p { color: var(--muted); font-size: 14px; margin: 0 0 12px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.fi-more { margin-top: auto; font-weight: 700; font-size: 13.5px; color: var(--brand); }
.sources { font-size: 13px; margin-top: 40px; text-align: center; }
.ticker { margin-top: -18px; margin-bottom: 34px; }
.ticker-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; } .ticker-head a { font-weight: 700; font-size: 14px; }
.ticker-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.tick { padding: 16px 16px 14px; color: var(--text); margin: 0 !important; transition: transform .18s, box-shadow .18s; position: relative; overflow: hidden; border-radius: 16px; }
.tick::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--g); }
.tick:hover { transform: translateY(-2px); box-shadow: var(--shadow-h); }
.tick small { display: block; color: var(--faint); font-weight: 700; font-size: 12px; margin-bottom: 6px; }
.tick b { font-size: 14.5px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 960px) { .feed-grid, .data-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ticker-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .feed-grid, .data-grid, .ticker-grid { grid-template-columns: 1fr; } .dc-v { font-size: 34px; } }

.data-grid > .card, .feed-grid > .card, .ticker-grid > .card, .kev-card { margin-top: 0 !important; }
.kev-card { margin-bottom: 30px !important; }
