:root {
  --brand: #E51B1B; --brand-dark: #C21515; --brand-soft: #FDEDED;
  --bg: #F5F6FA; --surface: #FFFFFF; --surface-2: #F1F2F7; --ink: #17171C; --body: #5B5D68; --muted: #8A8C97;
  --line: #E7E8EF; --shadow: 0 1px 2px rgba(20,20,40,.04), 0 6px 20px rgba(20,20,40,.05);
  --shadow-lift: 0 18px 50px rgba(20,20,40,.18);
  --radius: 16px; --tab-h: 62px; --top-h: 60px;
  color-scheme: light;
}
/* Varsayılan açık tema; karanlık tema yalnızca kullanıcı seçerse */
:root[data-theme="dark"] {
  --bg: #0E0E11; --surface: #17171C; --surface-2: #202027; --ink: #F2F2F5; --body: #B4B5BF; --muted: #80818C;
  --line: #2A2A33; --brand-soft: #3A1517; --shadow: 0 1px 2px rgba(0,0,0,.3); --shadow-lift: 0 18px 50px rgba(0,0,0,.6);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif; background: var(--bg); color: var(--ink); -webkit-font-smoothing: antialiased; line-height: 1.45; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
img { display: block; max-width: 100%; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 8px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ── Üst bar ───────────────────────────── */
.topbar { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--surface) 94%, transparent); backdrop-filter: saturate(1.6) blur(18px); -webkit-backdrop-filter: saturate(1.6) blur(18px); border-bottom: 1px solid var(--line); transition: box-shadow .3s ease; padding-top: env(safe-area-inset-top); }
.topbar-in { max-width: 1240px; margin: 0 auto; height: var(--top-h); display: flex; align-items: center; gap: 14px; padding: 0 16px; }
body.scrolled .topbar { box-shadow: 0 1px 0 var(--line), 0 6px 24px rgba(20,20,40,.05); }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 26px; width: auto; }
:root[data-theme="dark"] .brand img { filter: brightness(1.15); }
.brand-sub { font-weight: 800; font-size: 15px; letter-spacing: -.01em; padding-left: 10px; border-left: 1.5px solid var(--line); }
.live { display: flex; align-items: center; gap: 7px; font-size: 12px; color: var(--muted); font-weight: 500; margin-left: 4px; }
.live i { width: 7px; height: 7px; border-radius: 50%; background: #22C55E; box-shadow: 0 0 0 0 rgba(34,197,94,.5); animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 7px rgba(34,197,94,0); } 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); } }
.top-actions { margin-left: auto; display: flex; gap: 4px; }
.icon-btn { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: var(--body); }
.icon-btn:hover { background: var(--surface-2); color: var(--ink); }
@media (max-width: 520px) { .live span { display: none; } .brand-sub { font-size: 14px; } }

/* ── Yerleşim ──────────────────────────── */
.shell { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: 1fr; gap: 28px; padding: 0 0 calc(var(--tab-h) + 24px + env(safe-area-inset-bottom)); }
.view { min-width: 0; outline: none; }
.sidenav, .rail { display: none; }
@media (min-width: 1000px) {
  .shell { grid-template-columns: 220px minmax(0, 640px) minmax(0, 1fr); padding: 24px 16px 60px; }
  .sidenav { display: block; position: sticky; top: calc(var(--top-h) + 24px); align-self: start; }
  .rail { display: block; position: sticky; top: calc(var(--top-h) + 24px); align-self: start; max-height: calc(100vh - var(--top-h) - 48px); overflow: auto; scrollbar-width: none; }
  .tabbar { display: none !important; }
  .view.wide { grid-column: 2 / 4; }
  .shell:has(.view.wide) .rail { display: none; }
}
@media (min-width: 760px) and (max-width: 999px) { .shell { max-width: 680px; padding-top: 16px; } }

.sidenav h4, .rail h4 { margin: 0 0 10px; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; }
.navlist { display: flex; flex-direction: column; gap: 2px; margin-bottom: 22px; }
.navlist a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 12px; font-size: 14px; font-weight: 600; color: var(--body); transition: background-color .25s ease, color .25s ease, box-shadow .25s ease; }
.navlist a:hover { background: var(--surface); color: var(--ink); }
.navlist a.on { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.navlist .dot { width: 8px; height: 8px; border-radius: 3px; flex: none; }
.navlist .n { margin-left: auto; font-size: 11px; color: var(--muted); font-weight: 600; }
.navlist svg { width: 18px; height: 18px; }

.chips::-webkit-scrollbar, .hscroll::-webkit-scrollbar { display: none; }

/* ── Kategori çipleri ──────────────────── */
/* Sekme çubuğu: normalde sade, kaydırınca buzlu cam bir hap olarak havada durur */
.chips-wrap { position: sticky; top: calc(var(--top-h) + env(safe-area-inset-top) + 10px); z-index: 20; display: flex; margin: 14px 12px 14px; pointer-events: none; }
.chips-wrap > * { pointer-events: auto; }
.chips { position: relative; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; max-width: 100%; padding: 5px; border-radius: 999px; border: 1px solid transparent;
  transition: background-color .35s ease, border-color .35s ease, box-shadow .35s ease, backdrop-filter .35s ease; }
.chips-wrap.stuck .chips { background: color-mix(in srgb, var(--surface) 76%, transparent); -webkit-backdrop-filter: blur(22px) saturate(1.8); backdrop-filter: blur(22px) saturate(1.8);
  border-color: color-mix(in srgb, var(--line) 70%, transparent); box-shadow: 0 12px 36px rgba(20,20,40,.12), 0 2px 6px rgba(20,20,40,.05); }
.chips-wrap.stuck .chip:not(.on) { background: transparent; border-color: transparent; }
.chip { position: relative; z-index: 1; flex: none; display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--body); white-space: nowrap; transition: color .3s ease, background-color .3s ease, border-color .3s ease, transform .2s ease; -webkit-tap-highlight-color: transparent; }
.chip:hover { color: var(--ink); }
.chip:active { transform: scale(.96); }
.chip.on { background: transparent; color: var(--surface); border-color: transparent; }
/* Aktif sekmenin arkasında kayan hap */
.chip-ind { position: absolute; top: 5px; left: 0; width: 0; height: 36px; border-radius: 999px; background: var(--ink); z-index: 0; opacity: 0; pointer-events: none; box-shadow: 0 4px 14px rgba(20,20,40,.18);
  transition: transform .45s cubic-bezier(.32,.72,0,1), width .45s cubic-bezier(.32,.72,0,1), opacity .2s ease; }
.chip-ind.noanim { transition: none; }
@media (min-width: 1000px) { .chip.cat-chip:not(.on) { display: none; } }
.progress { position: absolute; left: 22px; right: 22px; bottom: -4px; height: 2px; width: 0; max-width: calc(100% - 44px); background: linear-gradient(90deg, var(--brand), #FF8A3D); opacity: 0; border-radius: 2px; pointer-events: none; }
.progress.run { opacity: 1; width: 75%; transition: width 1.6s cubic-bezier(.1,.6,.2,1), opacity .15s; }
.progress.done { width: 100%; opacity: 0; transition: width .2s ease, opacity .3s ease .15s; }
.chip .dot { width: 7px; height: 7px; border-radius: 50%; }
.chip svg { width: 16px; height: 16px; }
@media (min-width: 760px) { .chips-wrap { margin: 0 0 16px; } }

/* ── Akış kartları ─────────────────────── */
.feed { display: flex; flex-direction: column; gap: 10px; padding: 0 12px; }
@media (min-width: 760px) { .feed { padding: 0; } }
.card { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); overflow: hidden; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease; position: relative; }
.card:hover { box-shadow: 0 10px 30px rgba(20,20,40,.09); }
.card:active { transform: scale(.995); }
.card-row { display: flex; gap: 14px; padding: 14px; }
.card-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.meta { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); font-weight: 500; min-width: 0; }
.meta .src { font-weight: 700; color: var(--body); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 55%; }
.fav { width: 16px; height: 16px; border-radius: 4px; background: var(--surface-2); flex: none; object-fit: cover; }
.card h3 { margin: 0; font-size: 15.5px; line-height: 1.35; font-weight: 700; letter-spacing: -.01em; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card p.sum { margin: 0; font-size: 13px; color: var(--body); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.thumb { width: 96px; height: 96px; border-radius: 12px; flex: none; object-fit: cover; background: var(--surface-2); }
@media (max-width: 380px) { .thumb { width: 80px; height: 80px; } }
.card-foot { display: flex; align-items: center; gap: 8px; margin-top: 2px; flex-wrap: wrap; }
.pill { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 8px; border-radius: 999px; font-size: 11px; font-weight: 700; background: color-mix(in srgb, var(--c, var(--brand)) 12%, transparent); color: var(--c, var(--brand)); white-space: nowrap; }
.pill svg { width: 12px; height: 12px; }
.pill.hot { --c: var(--brand); }
.pill.ghost { background: var(--surface-2); color: var(--body); }
.card-actions { margin-left: auto; display: flex; gap: 2px; }
.mini-btn { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; color: var(--muted); }
.mini-btn:hover { background: var(--surface-2); color: var(--ink); }
.mini-btn svg { width: 17px; height: 17px; }
.mini-btn.on { color: var(--brand); }
.mini-btn.on svg { fill: currentColor; }

.card.hero .hero-media { aspect-ratio: 16 / 9; width: 100%; object-fit: cover; background: var(--surface-2); }
.card.hero .hero-body { padding: 16px 16px 14px; display: flex; flex-direction: column; gap: 8px; }
.card.hero h3 { font-size: 20px; line-height: 1.28; -webkit-line-clamp: 4; letter-spacing: -.02em; }
.card.hero p.sum { font-size: 14px; -webkit-line-clamp: 3; }
.card.hero .badge-top { position: absolute; top: 12px; left: 12px; background: var(--brand); color: #fff; font-size: 11px; font-weight: 800; padding: 5px 10px; border-radius: 999px; letter-spacing: .02em; display: flex; gap: 5px; align-items: center; }
.card.hero .badge-top svg { width: 13px; height: 13px; }

/* Yer tutucu görsel */
.ph { display: grid; place-items: center; position: relative; overflow: hidden; background: linear-gradient(135deg, color-mix(in srgb, var(--c) 92%, #000) 0%, color-mix(in srgb, var(--c) 70%, #FF8A3D) 100%); color: #fff; }
.ph svg { width: 34%; height: 34%; max-width: 64px; max-height: 64px; opacity: .95; stroke-width: 1.6; }
.ph .ph-brand { fill: #fff; stroke: none; }
.ph .ph-txt { position: absolute; bottom: 8px; left: 10px; right: 10px; font-size: 10px; font-weight: 700; opacity: .85; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ph::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 80% 10%, rgba(255,255,255,.25), transparent 50%); }

/* Modüller */
.module { background: var(--surface); border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); padding: 16px; }
.module-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.module-head h4 { margin: 0; font-size: 14px; font-weight: 800; display: flex; align-items: center; gap: 8px; }
.module-head h4 svg { color: var(--brand); width: 18px; height: 18px; }
.module-head a { font-size: 12px; font-weight: 700; color: var(--brand); }
.hscroll { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.company { flex: none; display: flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 999px; background: var(--surface-2); font-size: 13px; font-weight: 700; }
.company b { font-size: 11px; color: var(--muted); font-weight: 600; }
.logo-badge { width: 28px; height: 28px; border-radius: 50%; background: var(--surface); display: grid; place-items: center; flex: none; overflow: hidden; }
.logo-badge svg { width: 15px; height: 15px; stroke: none; }
.logo-badge .mono { font-size: 10px; font-weight: 800; color: var(--brand); letter-spacing: -.02em; }
.digest-teaser { background: linear-gradient(135deg, #17171C, #2B1214); color: #fff; border: 0; }
.digest-teaser .module-head h4 { color: #fff; }
.digest-teaser .module-head a { color: #FF8A8A; }
.digest-teaser h5 { margin: 0 0 8px; font-size: 18px; line-height: 1.3; letter-spacing: -.01em; }
.digest-teaser p { margin: 0 0 12px; font-size: 13px; color: rgba(255,255,255,.75); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.digest-teaser ol { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; counter-reset: h; }
.digest-teaser li { counter-increment: h; display: flex; gap: 10px; font-size: 13px; font-weight: 600; cursor: pointer; }
.digest-teaser li::before { content: counter(h); flex: none; width: 22px; height: 22px; border-radius: 7px; background: var(--brand); display: grid; place-items: center; font-size: 11px; font-weight: 800; }

.newpill { position: fixed; left: 50%; top: calc(var(--top-h) + 64px + env(safe-area-inset-top)); transform: translateX(-50%); z-index: 25; background: var(--brand); color: #fff; font-size: 13px; font-weight: 700; padding: 9px 16px; border-radius: 999px; box-shadow: var(--shadow-lift); display: flex; gap: 6px; align-items: center; animation: drop .35s ease; }
.newpill svg { width: 16px; height: 16px; }
@keyframes drop { from { transform: translate(-50%, -20px); opacity: 0; } }

.loader { padding: 26px; display: flex; justify-content: center; }
.spinner { width: 24px; height: 24px; border-radius: 50%; border: 2.5px solid var(--line); border-top-color: var(--brand); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.skeleton { background: linear-gradient(90deg, var(--surface-2) 25%, color-mix(in srgb, var(--surface-2) 50%, var(--surface)) 50%, var(--surface-2) 75%); background-size: 200% 100%; animation: sk 1.3s infinite; border-radius: 10px; }
@keyframes sk { to { background-position: -200% 0; } }
.empty { text-align: center; padding: 50px 24px; color: var(--muted); font-size: 14px; }
.empty b { display: block; color: var(--ink); font-size: 16px; margin-bottom: 6px; }
.section-title { display: flex; align-items: baseline; justify-content: space-between; padding: 6px 16px 10px; }
.section-title h1, .section-title h2 { margin: 0; font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.section-title span { font-size: 12px; color: var(--muted); font-weight: 600; }
@media (min-width: 760px) { .section-title { padding: 6px 2px 12px; } }

/* ── Sağ sütun ─────────────────────────── */
.rail > * + * { margin-top: 16px; }
.rail .module { padding: 16px; }
.rank { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.rank li { display: flex; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); cursor: pointer; }
.rank li:first-child { border-top: 0; padding-top: 0; }
.rank .no { font-size: 20px; font-weight: 800; color: var(--brand); width: 22px; line-height: 1; flex: none; }
.rank .t { font-size: 13px; font-weight: 600; line-height: 1.4; }
.rank .t small { display: block; color: var(--muted); font-weight: 500; font-size: 11px; margin-top: 3px; }
.foot-note { font-size: 11px; color: var(--muted); line-height: 1.6; }
.muted { font-size: 12px; color: var(--muted); font-weight: 600; }
.rail-headline { margin: -4px 0 12px; font-size: 15px; font-weight: 800; line-height: 1.35; letter-spacing: -.01em; }
.rail-digest { background: linear-gradient(170deg, color-mix(in srgb, var(--brand) 7%, var(--surface)), var(--surface) 55%); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 0 rgba(229,27,27,.5); animation: pulse-red 2s infinite; display: inline-block; }
@keyframes pulse-red { 70% { box-shadow: 0 0 0 7px rgba(229,27,27,0); } 100% { box-shadow: 0 0 0 0 rgba(229,27,27,0); } }
.latest { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.latest li { display: flex; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); cursor: pointer; }
.latest li:first-child { border-top: 0; padding-top: 0; }
.latest li:hover span { color: var(--brand); }
.latest time { flex: none; width: 38px; font-size: 11px; font-weight: 700; color: var(--brand); padding-top: 2px; }
.latest span { font-size: 13px; font-weight: 600; line-height: 1.4; transition: color .2s; display: block; }
.latest small { display: flex; align-items: center; gap: 5px; margin-top: 4px; font-size: 11px; color: var(--muted); font-weight: 500; }
.latest .fav { width: 12px; height: 12px; }
.bars { display: flex; flex-direction: column; gap: 7px; }
.bar { display: grid; grid-template-columns: 74px 1fr 26px; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; color: var(--body); }
.bar:hover { color: var(--ink); }
.bar-t { height: 8px; border-radius: 4px; background: var(--surface-2); overflow: hidden; }
.bar-t i { display: block; height: 100%; border-radius: 4px; background: var(--c); transition: width .6s cubic-bezier(.2,.8,.2,1); }
.bar b { text-align: right; font-size: 12px; color: var(--ink); }
.themes { display: flex; flex-wrap: wrap; gap: 6px; }
.theme { font-size: 12px; font-weight: 700; padding: 6px 10px; border-radius: 999px; background: var(--surface-2); color: var(--body); transition: background-color .2s, color .2s; }
.theme:hover { background: var(--brand-soft); color: var(--brand); }
.foot-note a { color: var(--body); font-weight: 600; }

/* ── Detay sayfası (alt panel) ─────────── */
.sheet-wrap { position: fixed; inset: 0; z-index: 50; display: flex; align-items: flex-end; justify-content: center; }
.sheet-backdrop { position: absolute; inset: 0; background: rgba(10,10,14,.45); animation: fade .2s ease; }
@keyframes fade { from { opacity: 0; } }
.sheet { position: relative; width: 100%; max-width: 680px; max-height: 92vh; background: var(--surface); border-radius: 22px 22px 0 0; box-shadow: var(--shadow-lift); display: flex; flex-direction: column; animation: up .28s cubic-bezier(.2,.8,.2,1); }
@keyframes up { from { transform: translateY(40px); opacity: .4; } }
@media (min-width: 760px) { .sheet-wrap { align-items: center; padding: 24px; } .sheet { border-radius: 22px; max-height: 88vh; } .sheet-grip { display: none; } }
.sheet-grip { width: 40px; height: 5px; border-radius: 3px; background: var(--line); margin: 8px auto 0; flex: none; }
.sheet-body { overflow-y: auto; padding: 0 0 calc(18px + env(safe-area-inset-bottom)); overscroll-behavior: contain; }
.sheet-close { position: absolute; top: 12px; right: 12px; z-index: 2; width: 36px; height: 36px; border-radius: 50%; background: rgba(0,0,0,.45); color: #fff; display: grid; place-items: center; backdrop-filter: blur(6px); }
.d-media { aspect-ratio: 16/8; width: 100%; object-fit: cover; }
.sheet .d-media { border-radius: 0; }
@media (min-width: 760px) { .sheet .d-media { border-radius: 22px 22px 0 0; } }
.d-body { padding: 18px 20px 4px; display: flex; flex-direction: column; gap: 14px; }
.d-body h1 { margin: 0; font-size: 23px; line-height: 1.25; letter-spacing: -.02em; font-weight: 800; }
.d-orig { font-size: 12px; color: var(--muted); font-style: italic; margin-top: -6px; }
.box { border-radius: 14px; background: var(--surface-2); padding: 14px 16px; }
.box h5 { margin: 0 0 8px; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 800; display: flex; align-items: center; gap: 6px; }
.box h5 svg { width: 14px; height: 14px; }
.box p { margin: 0; font-size: 14.5px; line-height: 1.6; }
.box ul { margin: 0; padding-left: 18px; font-size: 14px; line-height: 1.6; display: flex; flex-direction: column; gap: 4px; }
.box.why { background: var(--brand-soft); }
.box.why h5 { color: var(--brand); }
.metrics { display: flex; gap: 8px; flex-wrap: wrap; }
.metric { padding: 8px 12px; border-radius: 12px; border: 1px solid var(--line); font-size: 13px; font-weight: 700; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 18px; border-radius: 14px; font-weight: 700; font-size: 14px; }
.btn svg { width: 18px; height: 18px; }
.btn.primary { background: var(--brand); color: #fff; }
.btn.primary:hover { background: var(--brand-dark); }
.btn.soft { background: var(--surface-2); }
.btn-row { display: flex; gap: 8px; }
.btn-row .primary { flex: 1; }
.also { display: flex; flex-direction: column; gap: 6px; }
.also a { display: flex; align-items: center; gap: 10px; font-size: 13px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); }
.also a span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.also a b { font-weight: 700; flex: none; }
.ai-note { font-size: 11px; color: var(--muted); display: flex; gap: 6px; align-items: center; }
.ai-note svg { width: 13px; height: 13px; }

/* ── Arama ─────────────────────────────── */
.search-wrap { position: fixed; inset: 0; z-index: 60; background: rgba(10,10,14,.45); display: flex; justify-content: center; align-items: flex-start; }
.search-panel { width: 100%; max-width: 680px; height: 100%; background: var(--bg); display: flex; flex-direction: column; padding-top: env(safe-area-inset-top); }
@media (min-width: 760px) { .search-wrap { padding: 60px 24px; } .search-panel { height: auto; max-height: 80vh; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-lift); } }
.search-bar { display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: var(--surface); border-bottom: 1px solid var(--line); }
.search-bar svg { color: var(--muted); }
.search-bar input { flex: 1; border: 0; outline: 0; background: none; font: inherit; font-size: 16px; color: var(--ink); height: 40px; min-width: 0; }
.text-btn { font-weight: 700; color: var(--brand); font-size: 14px; }
.search-results { overflow-y: auto; padding: 12px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.suggest { display: flex; flex-wrap: wrap; gap: 8px; }


.toast { position: fixed; left: 50%; bottom: calc(var(--tab-h) + 20px + env(safe-area-inset-bottom)); transform: translate(-50%, 20px); background: var(--ink); color: var(--surface); padding: 10px 16px; border-radius: 12px; font-size: 13px; font-weight: 600; opacity: 0; pointer-events: none; transition: .25s; z-index: 80; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* ── Alt menü ──────────────────────────── */
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; height: calc(var(--tab-h) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--line); display: flex; }
.tabbar a, .tabbar button { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 10.5px; font-weight: 700; color: var(--muted); }
.tabbar svg { width: 22px; height: 22px; }
.tabbar .on { color: var(--brand); }

/* ── Bülten (rapor) ────────────────────── */
.report { padding: 16px 12px 0; display: flex; flex-direction: column; gap: 16px; }
@media (min-width: 760px) { .report { padding: 0; } }
.r-hero { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 22px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.r-hero::before { content: ''; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--brand) 18%, transparent), transparent 70%); }
.r-kicker { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 12px; font-weight: 700; color: var(--muted); }
.r-kicker .pill { --c: var(--brand); }
.r-hero h1 { margin: 12px 0 4px; font-size: clamp(24px, 4vw, 34px); line-height: 1.15; letter-spacing: -.03em; font-weight: 800; position: relative; }
.r-hero .r-sub { font-size: 13px; font-weight: 700; color: var(--brand); margin-bottom: 10px; }
.r-hero p { margin: 0; color: var(--body); font-size: 15px; line-height: 1.65; max-width: 720px; position: relative; }
.r-tools { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; position: relative; }
.r-tools select { height: 40px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; font-size: 13px; font-weight: 600; padding: 0 12px; max-width: 100%; }
.r-tools .btn { height: 40px; font-size: 13px; }
.stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; }
.stat b { display: block; font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.stat span { font-size: 11.5px; font-weight: 600; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.stat span i { width: 7px; height: 7px; border-radius: 50%; background: var(--c); }
.r-block { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 20px; box-shadow: var(--shadow); }
.r-block > h3 { margin: 0 0 14px; font-size: 17px; font-weight: 800; letter-spacing: -.01em; display: flex; align-items: center; gap: 10px; }
.r-block > h3 .ico { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: color-mix(in srgb, var(--c, var(--brand)) 12%, transparent); color: var(--c, var(--brand)); }
.r-block > h3 .ico svg { width: 17px; height: 17px; }
.hl { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; counter-reset: hl; }
.hl li { counter-increment: hl; display: flex; gap: 14px; padding: 12px; border-radius: 14px; cursor: pointer; }
.hl li:hover { background: var(--surface-2); }
.hl li::before { content: counter(hl, decimal-leading-zero); font-size: 22px; font-weight: 800; color: var(--brand); line-height: 1; letter-spacing: -.03em; flex: none; width: 32px; }
.hl h4 { margin: 0 0 4px; font-size: 15px; font-weight: 700; line-height: 1.35; }
.hl p { margin: 0; font-size: 13.5px; color: var(--body); line-height: 1.55; }
.trends { display: flex; flex-wrap: wrap; gap: 8px; }
.trend { border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; flex: 1 1 200px; }
.trend b { font-size: 13px; display: block; margin-bottom: 3px; }
.trend b::before { content: '#'; color: var(--brand); margin-right: 2px; }
.trend span { font-size: 12.5px; color: var(--body); line-height: 1.5; }
.r-items { display: grid; gap: 10px; }
@media (min-width: 900px) { .r-items { grid-template-columns: 1fr 1fr; } }
.r-item { border: 1px solid var(--line); border-radius: 16px; padding: 14px; display: flex; flex-direction: column; gap: 8px; cursor: pointer; }
.r-item:hover { border-color: color-mix(in srgb, var(--c) 40%, var(--line)); }
.r-item .top { display: flex; align-items: center; gap: 10px; }
.r-item .top .co { font-size: 12px; font-weight: 700; color: var(--body); }
.r-item h4 { margin: 0; font-size: 14.5px; line-height: 1.38; font-weight: 700; }
.r-item ul { margin: 0; padding-left: 16px; font-size: 12.5px; color: var(--body); line-height: 1.55; }
.r-item .why { font-size: 12.5px; line-height: 1.5; background: var(--surface-2); border-radius: 10px; padding: 8px 10px; }
.r-item .why b { color: var(--brand); }
.r-item .src { font-size: 11px; color: var(--muted); font-weight: 600; margin-top: auto; display: flex; gap: 6px; align-items: center; }
.tools { display: grid; gap: 10px; }
@media (min-width: 700px) { .tools { grid-template-columns: 1fr 1fr; } }
.tool { border-radius: 16px; padding: 16px; background: linear-gradient(160deg, color-mix(in srgb, #7C3AED 10%, var(--surface)), var(--surface)); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.tool h4 { margin: 0; font-size: 15px; font-weight: 800; }
.tool p { margin: 0; font-size: 13px; color: var(--body); line-height: 1.5; }
.tool .prompt { font-size: 12.5px; background: var(--surface-2); border-radius: 10px; padding: 9px 11px; font-style: italic; }
.timeline { list-style: none; margin: 0; padding: 0 0 0 6px; position: relative; }
.timeline::before { content: ''; position: absolute; left: 10px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.timeline li { position: relative; padding: 0 0 14px 28px; cursor: pointer; }
.timeline li::before { content: ''; position: absolute; left: 0; top: 4px; width: 10px; height: 10px; border-radius: 50%; background: var(--surface); border: 2.5px solid var(--brand); }
.timeline .when { font-size: 11px; font-weight: 700; color: var(--brand); text-transform: uppercase; letter-spacing: .05em; }
.timeline .what { font-size: 13.5px; line-height: 1.45; }
.timeline .what b { font-weight: 700; }
.actions { display: grid; gap: 10px; }
@media (min-width: 700px) { .actions { grid-template-columns: 1fr 1fr; } }
.action { border-radius: 16px; padding: 16px; border: 1px solid var(--line); display: flex; gap: 12px; }
.action .ico { width: 40px; height: 40px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; flex: none; }
.action h4 { margin: 0 0 4px; font-size: 14px; font-weight: 800; line-height: 1.35; }
.action p { margin: 0; font-size: 13px; color: var(--body); line-height: 1.55; }
.r-foot { text-align: center; font-size: 11.5px; color: var(--muted); padding: 8px 0 20px; }
.r-foot img { height: 20px; margin: 0 auto 8px; }

/* Yazdırma / PDF */
@media print {
  .no-print, .tabbar, .topbar, .sidenav, .rail, .r-tools, .newpill { display: none !important; }
  body { background: #fff !important; color: #111 !important; }
  .shell { display: block; padding: 0; }
  .r-block, .r-hero, .stat { box-shadow: none !important; break-inside: avoid; }
  .r-item, .action, .tool { break-inside: avoid; }
  a { text-decoration: none; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ── Alt bilgi ─────────────────────────── */
.site-foot { border-top: 1px solid var(--line); background: var(--surface); padding: 28px 16px calc(var(--tab-h) + 28px + env(safe-area-inset-bottom)); }
@media (min-width: 1000px) { .site-foot { padding-bottom: 32px; } }
.site-foot-in { max-width: 1240px; margin: 0 auto; display: grid; gap: 20px; }
@media (min-width: 900px) { .site-foot-in { grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; } }
.sf-about img { height: 22px; width: auto; margin-bottom: 10px; }
.sf-about p { margin: 0; font-size: 12.5px; color: var(--muted); line-height: 1.65; max-width: 460px; }
.sf-links { display: flex; flex-wrap: wrap; gap: 8px 16px; align-content: start; }
.sf-links a { font-size: 13px; font-weight: 600; color: var(--body); }
.sf-links a:hover { color: var(--brand); }
.shell { padding-bottom: 32px; }

/* ── Sayfa olarak haber detayı ─────────── */
.article-page { padding: 12px 12px 0; display: flex; flex-direction: column; gap: 14px; }
@media (min-width: 760px) { .article-page { padding: 0; } }
.crumbs { display: flex; gap: 8px; align-items: center; font-size: 12.5px; font-weight: 600; color: var(--muted); padding: 4px 4px 0; }
.crumbs a:hover { color: var(--brand); }
.article-card { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); overflow: hidden; }
.article-card .d-media { aspect-ratio: 16/8; width: 100%; object-fit: cover; }
.article-card .sheet-close { display: none; }
.article-card .d-body { padding-bottom: 20px; }
.box-h { margin: 0 0 8px; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 800; }
.box.why .box-h { color: var(--brand); }
.sub-h { margin: 8px 4px 10px; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 800; }
.related .feed { padding: 0; }
.section-title h1 { margin: 0; font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.sec-desc { margin: -4px 16px 14px; font-size: 13px; color: var(--muted); line-height: 1.55; }
@media (min-width: 760px) { .sec-desc { margin: -4px 2px 16px; } }
.card h3 a { color: inherit; }
.r-list { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.r-list p { margin: 2px 0 0; font-size: 12.5px; color: var(--body); }
.r-block > h2 { margin: 0 0 14px; font-size: 17px; font-weight: 800; }
