/* 7/24 gündem — tasarım tokenları (Claude Design çıktısından) */
/* Yazıtipi yükü: Archivo yalnız başlık ağırlıkları (700/800/900) — 500/600 hiçbir
   başlıkta kullanılmıyor, render-blocking yükü azaltmak için atıldı. Mono 600 logoda. */
@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@700;800;900&family=IBM+Plex+Sans:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500;600&display=swap');

:root {
  --bg: #f5f4f1;
  --surface: #ffffff;
  --ink: #16140f;
  --muted: #57544e;
  --line: #dcd9d2;
  --acc: #d61f26;
  --chip: #efece6;
  --ok: #1a7f3c;      /* yükseliş / başarı yeşili */
  --warn: #946a00;    /* uyarı / beklemede sarısı (AA uyumlu) */

  --font-head: 'Archivo', sans-serif;
  --font-body: 'IBM Plex Sans', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;

  /* tipografi ölçeği — tek kaynak; akıcı (clamp) üst ölçek */
  --fs-xs: 11px;
  --fs-sm: 12px;
  --fs-md: 13px;
  --fs-base: 15px;
  --fs-lg: 16px;
  --fs-xl: clamp(18px, 2.2vw, 21px);
  --fs-2xl: clamp(20px, 2.6vw, 24px);
  --fs-3xl: clamp(26px, 3.6vw, 30px);
  --fs-4xl: clamp(30px, 5vw, 38px);
  --fs-display: clamp(48px, 9vw, 80px);

  /* boşluk ölçeği (4'lük taban) */
  --sp-0: 2px;
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 24px;
  --sp-5b: 20px;
  --sp-6: 34px;
  --sp-7: 48px;
  --gutter: 22px;     /* .container yatay nefes payı */

  --maxw: 1300px;
  --sidebar-w: 312px;
  --radius: 2px;        /* kart + kontrol köşesi (tek değer) */
  --radius-pill: 999px; /* hap şekiller (slider noktası vb.) */
  --on-acc: #ffffff;    /* acc zemin üstü metin */

  /* katman + gölge */
  --z-topbar: 5;
  --z-overlay: 60;
  --z-toast: 70;
  --shadow-sm: 0 6px 24px rgba(0, 0, 0, .14);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, .25);
}

:root[data-theme='dark'] {
  --bg: #121110;
  --surface: #1a1816;
  --ink: #f4f2ee;
  --muted: #aca69c;
  --line: #2c2a26;
  --acc: #f0433a;
  --chip: #26231e;
  --ok: #4caf6a;
  --warn: #d9a521;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  transition: background .25s ease, color .25s ease;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; }

/* klavye erişilebilirliği — net odak halkası (fare tıklamasında görünmez) */
:where(a, button, input, textarea, select, [tabindex]):focus-visible {
  outline: 2px solid var(--acc);
  outline-offset: 2px;
  border-radius: var(--radius);
}

::selection { background: var(--acc); color: #fff; }
::-webkit-scrollbar { height: 6px; width: 6px; }
::-webkit-scrollbar-thumb { background: var(--line); }

@keyframes hp-marquee { from { transform: translateX(0) } to { transform: translateX(-50%) } }
@keyframes hp-blink { 0%,100% { opacity: 1 } 50% { opacity: .25 } }

/* yardımcılar */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.mono { font-family: var(--font-mono); }
.head { font-family: var(--font-head); }
.acc { color: var(--acc); }
.kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--acc);
}
.section-title {
  font-family: var(--font-head);
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.card-surface { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }

/* --- dokunmatik ergonomi: 44px dokunma hedefi (WCAG 2.5.5) --- */
@media (pointer: coarse) {
  a, button, [role='button'], input[type='checkbox'], input[type='radio'], select {
    min-height: 44px;
  }
}

/* --- hareket azaltma tercihi (erişilebilirlik) --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .pl-marquee { animation: none !important; }
  /* yanıp sönen son-dakika noktaları sabit görünür kalsın */
  .hp-blink, [class*='hp-blink'] { opacity: 1 !important; }
}

/* ---- index.css (portal uyarlaması) ---- */
body { padding-bottom: env(safe-area-inset-bottom); }
.has-bottom-nav { padding-bottom: calc(56px + env(safe-area-inset-bottom)); }

/* 7/24 gündem — public portal stilleri (editöryel gazete estetiği) */

.pl-wrap {
  background: var(--bg);
  color: var(--ink);
  min-height: 100vh;
  font-family: var(--font-body);
  transition: background .25s ease, color .25s ease;
}

/* --- ortak buton transition'ları (hover/dokunmatik ortak) --- */
.pl-btn { transition: background .15s ease, color .15s ease, border-color .15s ease, filter .15s ease; }
.pl-card-img { overflow: hidden; border-radius: var(--radius); }
.pl-card-img img { transition: transform .5s ease; }

.pl-navlink { position: relative; border-bottom: 3px solid transparent; }
.pl-navlink.active { border-bottom-color: var(--acc); color: var(--acc); }

/* dokunmatik ışıltısı — kırmızı marka tonunda yumuşak geri bildirim */
.pl-card { -webkit-tap-highlight-color: rgba(214, 31, 38, .12); }

/* --- işaretçili (fare) cihazlar: hover etkileşimleri --- */
@media (hover: hover) {
  .pl-link-acc:hover { color: var(--acc); }
  .pl-btn-outline:hover { border-color: var(--acc) !important; color: var(--acc) !important; }
  .pl-btn-solid:hover { filter: brightness(1.08); }
  .pl-btn-ink:hover { filter: brightness(1.3); }
  .pl-card:hover .pl-card-img img { transform: scale(1.04); }
  .pl-card:hover .pl-card-title { color: var(--acc); }
  .pl-navlink:hover { border-bottom-color: var(--acc); }
  .pl-quick:hover { color: var(--acc); }
  .pl-social:hover { color: var(--ink); }
  .pl-foot-social:hover { border-color: var(--acc); color: var(--acc); }
  .pl-foot-link:hover { color: var(--acc); }
  .pl-marquee:hover { animation-play-state: paused; }
  .pl-slider:hover .pl-slider-arrow { opacity: 1; }
  .pl-slider-arrow:hover { background: var(--acc) !important; }
}

/* --- dokunmatik geri bildirim (:active, hover olmadan) --- */
.pl-card:active { opacity: .9; }
.pl-card:active .pl-card-title { color: var(--acc); }
.pl-btn:active { filter: brightness(.95); }

/* --- erişilebilirlik: skip-link + ekran-okuyucu yardımcıları --- */
.pl-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
}
.pl-skip:focus {
  left: 8px;
  top: 8px;
  background: var(--acc);
  color: #fff;
  padding: 8px 14px;
  border-radius: var(--radius);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* --- son dakika marquee (42s→30s daha canlı akış) --- */
.pl-marquee { display: flex; width: max-content; animation: hp-marquee 30s linear infinite; }
/* mobilde otomatik akış yerine elle kaydırılabilir şerit */
.pl-breaking-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
}
.pl-breaking-scroll > * { scroll-snap-align: start; }

/* --- manşet slider okları --- */
.pl-slider-arrow { opacity: 0; transition: opacity .2s ease, background .2s ease; }
@media (hover: none) { .pl-slider-arrow { opacity: .85; } }
/* klavye: ok tuşlarıyla gezinince oklar görünür olsun */
.pl-slider:focus-within .pl-slider-arrow { opacity: 1; }

/* --- odak halkaları: arama kutuları --- */
.pl-masthead-search:focus-within,
.pl-mobile-menu form:focus-within {
  outline: 2px solid var(--acc);
  outline-offset: 2px;
  border-radius: var(--radius);
}

/* --- kategori navigasyonu: masaüstünde sticky kalsın --- */
.pl-catnav-desktop {
  position: sticky;
  top: 0;
  z-index: var(--z-topbar);
}

/* --- reklam yuvaları: sabit yükseklikli placeholder (CLS = 0) --- */
.pl-ad {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: var(--chip);
  color: var(--muted);
  position: relative;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: .08em;
}
.pl-ad::before {
  content: 'REKLAM';
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: .1em;
  position: absolute;
  top: 6px;
  left: 8px;
  color: var(--muted);
}
.pl-ad-leader { min-height: 120px; }     /* 728×90 standart leaderboard + etiket payı (eskiden 250px, slider'ı fold altına itiyordu) */
.pl-ad-leader-m { min-height: 90px; }    /* mobil yatay banner */
.pl-ad-box { min-height: 250px; }
.pl-ad-sky { min-height: 600px; position: sticky; top: 80px; }

/* --- makale gövdesi: enjekte HTML görselleri CLS kilidi + ölçü sınırı --- */
.pl-article-body img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.pl-article-measure { max-width: 680px; }

/* --- mobil --- */
.pl-burger { display: none; }
.pl-mobile-search { display: none; }
.pl-mobile-menu { display: none; }

@media (max-width: 900px) {
  .pl-quicknav { display: none !important; }
  .pl-masthead-search { display: none !important; }
  .pl-burger { display: inline-flex !important; }
  .pl-mobile-search { display: inline-flex !important; }
  .pl-mobile-menu.open { display: block; }

  /* kategori şeridi: gizlemek yerine kalıcı yatay-scroll (Türk haber sözleşmesi) */
  .pl-catnav-desktop {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent);
    mask-image: linear-gradient(90deg, #000 88%, transparent);
  }
  .pl-catnav-desktop .pl-navlink {
    min-height: 44px;
    padding: 12px 14px;
    scroll-snap-align: start;
    white-space: nowrap;
    flex: 0 0 auto;
  }

  /* son-dakika: mobilde animasyonu durdur, elle kaydır */
  .pl-marquee { animation: none; }

  .pl-hero { grid-template-columns: 1fr !important; gap: var(--gutter) !important; }
  .pl-hero-rail { border-left: none !important; padding-left: 0 !important; border-top: 1px solid var(--line); padding-top: var(--sp-5b) !important; }
  .pl-hero-compact { grid-template-columns: 1fr !important; }
  .pl-mainsidebar { grid-template-columns: 1fr !important; gap: var(--sp-5) !important; }
  .pl-block-grid { grid-template-columns: 1fr !important; }
  .pl-gallery { grid-template-columns: repeat(2, 1fr) !important; }
  .pl-article-grid { grid-template-columns: 1fr !important; gap: var(--sp-5) !important; }
  .pl-cards-grid { grid-template-columns: 1fr !important; }
  .pl-footer-grid { grid-template-columns: 1fr 1fr !important; }
  .pl-article-h1 { font-size: var(--fs-3xl) !important; }
  .pl-slide-h1 h2 { font-size: var(--fs-2xl) !important; }
  .pl-footer-bottom-inner { flex-direction: column; gap: 6px; text-align: center; }
}

@media (max-width: 540px) {
  .pl-gallery { grid-template-columns: 1fr !important; }
  .pl-footer-grid { grid-template-columns: 1fr !important; }
  /* küçük ekranda manşet/grid başlık ölçeği token üzerinden sadeleşir */
  .pl-feature-title { font-size: var(--fs-xl) !important; }
  .pl-card-title { font-size: var(--fs-lg) !important; }
}

/* --- makale gövdesi tipografisi (SSR — WP'den gelen HTML) --- */
.pl-article-body { font-size: 17px; line-height: 1.7; color: var(--ink); }
.pl-article-body p { margin: 0 0 20px; }
.pl-article-body h2 { font-family: var(--font-head); font-weight: 800; font-size: var(--fs-2xl); line-height: 1.2; margin: 32px 0 12px; }
.pl-article-body h3 { font-family: var(--font-head); font-weight: 800; font-size: var(--fs-xl); line-height: 1.25; margin: 26px 0 10px; }
.pl-article-body a { color: var(--acc); text-decoration: underline; text-underline-offset: 2px; }
.pl-article-body ul, .pl-article-body ol { margin: 0 0 20px; padding-left: 22px; }
.pl-article-body li { margin: 6px 0; }
.pl-article-body figure { margin: 20px 0; }
.pl-article-body figcaption { font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--muted); text-align: center; margin-top: 6px; }
.pl-article-body blockquote { margin: 24px 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--acc); font-size: var(--fs-lg); line-height: 1.5; font-style: italic; }
.pl-article-body iframe { max-width: 100%; margin: 20px 0; }

/* mobil menü paneli (SSR — JS toggle .open ile) */
.pl-mobile-menu { position: fixed; inset: 0; z-index: var(--z-overlay); background: rgba(0,0,0,.4); }
.pl-mobile-menu:not(.open) { display: none; }

/* mobil alt-nav (SSR) — yalnız ≤900px */
@media (max-width: 900px) {
  .pl-bottom-nav { display: flex !important; }
  .has-bottom-nav-mobile { padding-bottom: calc(56px + env(safe-area-inset-bottom)); }
}

/* ============================================================
   MOBİL APP DENEYİMİ — sıkı boşluk, app-kıvamı font, taşma kilidi
   ============================================================ */

/* Grid child'ları küçülebilsin → uzun metin sarılır, yatay taşma biter.
   ("1fr" = minmax(auto,1fr); içerik kolonu şişiriyordu.) */
@media (max-width: 900px) {
  .pl-hero, .pl-mainsidebar, .pl-block-grid, .pl-article-grid,
  .pl-cards-grid, .pl-gallery, .pl-footer-grid { grid-template-columns: minmax(0, 1fr) !important; }
  .pl-hero > *, .pl-mainsidebar > *, .pl-block-grid > *, .pl-article-grid > *,
  .pl-cards-grid > *, .pl-gallery > *, .pl-card, article, aside { min-width: 0; }
}

@media (max-width: 680px) {
  /* yatay taşma güvenlik kilidi */
  html, body { overflow-x: hidden; max-width: 100%; }
  .pl-wrap { overflow-x: clip; }
  img, iframe, video { max-width: 100%; height: auto; }

  /* daha dar nefes payı (app hissi) */
  :root { --gutter: 14px; --sp-7: 28px; --sp-6: 20px; --sp-5: 15px; }
  .container { padding: 0 14px; }
  main.container { padding-left: 14px !important; padding-right: 14px !important; padding-top: 14px !important; }

  /* reklam yuvaları: dev üst banner → mobil banner; sky reklamı gizle */
  .pl-ad-leader { min-height: 90px; }
  .pl-ad-box { min-height: 160px; }
  .pl-ad-sky { display: none !important; }

  /* bölüm başlıkları daha sıkı */
  .sec-head { margin: 20px 0 12px !important; padding-bottom: 6px !important; }

  /* hero + bölüm dikey boşlukları */
  .pl-hero { padding: 14px 0 !important; }
  .pl-hero-rail { padding-top: 14px !important; }

  /* font ölçeği — app kıvamı (biraz küçült, sıkı satır) */
  body { font-size: 15px; }
  .pl-article-body { font-size: 16px; line-height: 1.62; }
  .pl-article-body p { margin: 0 0 14px; }
  .pl-article-h1 { font-size: 25px !important; line-height: 1.15 !important; }
  .pl-article-measure { max-width: 100%; }

  /* kart ızgaraları: tek kolon + sıkı dikey boşluk */
  .pl-cards-grid { gap: 16px !important; }
  .pl-block-grid { gap: 14px !important; }
  .pl-mainsidebar { gap: 20px !important; padding: 20px 0 34px !important; }

  /* galeri: 2 kolon (tek yerine) daha app-vari, küçük gap */
  .pl-gallery { grid-template-columns: repeat(2, minmax(0,1fr)) !important; gap: 10px !important; }

  /* piyasa/son dakika şeritleri: dikey daha ince */
  .pl-marquee a, .pl-breaking-scroll a { font-size: 13px; }

  /* alt sabit nav zaten var — içerik altına yeterli boşluk (safe-area) */
  .has-bottom-nav-mobile { padding-bottom: calc(60px + env(safe-area-inset-bottom)); }
}

@media (max-width: 420px) {
  .pl-gallery { grid-template-columns: 1fr !important; }
  .pl-article-h1 { font-size: 23px !important; }
}

@media (max-width: 680px) {
  /* kompakt masthead — daha az dikey boşluk */
  #masthead > .container { padding: 12px 14px !important; }
  /* utility bar sıkı */
  .pl-wrap > div:first-of-type .container { padding-top: 5px !important; padding-bottom: 5px !important; }
  /* breadcrumb üstü sıkı */
  .pl-catnav-desktop .container { padding: 0 10px !important; }
}

/* ============================================================
   MOBİL APP DENEYİMİ v2 — kart düzeni, reklamsız, sıkı, cilalı
   ============================================================ */
:root { --card-sh: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.04); }
:root[data-theme='dark'], html[data-theme='dark'] { --card-sh: 0 1px 3px rgba(0,0,0,.4); }
@media (prefers-color-scheme: dark) { :root { --card-sh: 0 1px 3px rgba(0,0,0,.4); } }

@media (max-width: 680px) {
  /* 1) Boş reklam yuvalarını tamamen gizle */
  .pl-ad { display: none !important; }

  /* 2) Daha sıkı boşluk sistemi */
  :root { --gutter: 12px; --sp-7: 24px; --sp-6: 16px; --sp-5: 12px; }
  .container { padding: 0 12px; }
  main.container { padding: 10px 12px 28px !important; }
  .sec-head { margin: 18px 0 10px !important; padding-bottom: 6px !important; }
  .pl-hero { padding: 10px 0 4px !important; border-bottom: none !important; }
  .pl-hero-rail { padding-top: 12px !important; }
  .pl-mainsidebar { padding: 12px 0 26px !important; gap: 22px !important; }

  /* 3) KART TABANLI DÜZEN */
  .pl-block-grid, .pl-cards-grid { gap: 12px !important; }
  .pl-mainsidebar > div { gap: 12px !important; }

  /* grid kartı (kategori/arama/liste) → yükseltilmiş app kartı */
  .pl-grid.card-surface { border-radius: 12px; box-shadow: var(--card-sh); }

  /* öne çıkan kart → yüzey + yuvarlak + gölge */
  .pl-feature {
    background: var(--surface); border: 1px solid var(--line);
    border-radius: 12px; padding: 10px; box-shadow: var(--card-sh);
  }
  .pl-feature .pl-card-img, .pl-feature > div:first-child > div { border-radius: 8px !important; }

  /* thumb liste öğesi → ayrı kart (çizgi yerine) */
  .pl-thumb {
    border-bottom: none !important; background: var(--surface);
    border: 1px solid var(--line); border-radius: 12px;
    padding: 8px !important; margin-bottom: 10px !important; gap: 10px !important;
    box-shadow: var(--card-sh);
  }
  .pl-thumb .pl-card-img { border-radius: 8px; }

  /* compact kart (İlginizi Çekebilir) → app kartı */
  .pl-compact {
    background: var(--surface); border: 1px solid var(--line);
    border-radius: 12px; padding: 8px; box-shadow: var(--card-sh);
  }

  /* Öne Çıkanlar rayı: numaralı temiz liste (kart değil, sıkı) */
  .pl-hero-rail .pl-card { padding: 10px 0 !important; }

  /* 4) ALT NAVİGASYON + BAŞLIK CİLASI */
  .pl-bottom-nav {
    height: 60px !important;
    box-shadow: 0 -1px 12px rgba(0,0,0,.10);
    backdrop-filter: saturate(1.1);
  }
  .pl-bottom-nav > * { font-size: 10px !important; gap: 3px !important; }
  .pl-bottom-nav > * > span:first-child { font-size: 20px !important; }

  /* kategori şeridinde aktif = masaüstüyle aynı: kırmızı metin + alt vurgu çizgisi (hap kaldırıldı) */
  .pl-catnav-desktop .pl-navlink.active {
    background: transparent !important; color: var(--acc) !important;
    border-radius: 0 !important; border-bottom-color: var(--acc) !important;
  }

  /* haber detayı: paylaş kutuları biraz sıkı */
  .pl-article-body { font-size: 16px; }
}

/* Liste sayfası başlıkları (kategori/yazar/video/dergi/arama) — mobilde çok daha küçük */
@media (max-width: 680px) {
  .pl-page-head { margin-bottom: 12px !important; padding-bottom: 8px !important; gap: 8px !important; flex-wrap: wrap; }
  .pl-page-title { font-size: 18px !important; letter-spacing: 0 !important; line-height: 1.2 !important; }
  .pl-page-head > span[style*="width:16px"] { width: 10px !important; height: 10px !important; }
  .pl-page-desc { flex-basis: 100%; font-size: 12px !important; margin-top: 2px; line-height: 1.4; }
}

/* ---- Açık tema token'ı: prefers-color-scheme:dark medya sorgusunu ez ---- */
:root[data-theme='light'], html[data-theme='light'] {
  --bg:#f5f4f1; --surface:#ffffff; --ink:#16140f; --muted:#57544e;
  --line:#dcd9d2; --acc:#d61f26; --chip:#efece6; --ok:#1a7f3c; --warn:#946a00;
  --card-sh:0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.04);
}

/* ---- Menü (kategori şeridi) + piyasa şeridi: daha ince ---- */
.pl-catnav-desktop .pl-navlink { padding-top: 9px !important; padding-bottom: 9px !important; }
.pl-market .pl-mkt-item { padding-top: 5px !important; padding-bottom: 5px !important; }

/* koyu temada logo (siyah banner arka planı görünmez kalmasın) — hafif parlaklık */
:root[data-theme='dark'] .pl-logo, html[data-theme='dark'] .pl-logo {
  filter: drop-shadow(0 0 1px rgba(255,255,255,.5));
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .pl-logo { filter: drop-shadow(0 0 1px rgba(255,255,255,.5)); }
}

@media (max-width: 680px) {
  /* menü şeridi mobilde daha ince — aktif de aynı ölçüde (hizalı alt çizgi) */
  .pl-catnav-desktop .pl-navlink { padding-top: 7px !important; padding-bottom: 7px !important; min-height: 0 !important; font-size: 12px !important; }
  /* piyasa şeridi mobilde daha ince + küçük font */
  .pl-market { padding-left: 12px !important; padding-right: 12px !important; }
  .pl-market .pl-mkt-item { padding-top: 4px !important; padding-bottom: 4px !important; min-width: 104px !important; }
  /* logo mobilde biraz küçük */
  .pl-logo-lg { height: 32px !important; }
}

/* ============================================================
   PİYASA ŞERİDİ — YENİDEN TASARIM (UI): tek satır, kompakt ~34px
   ============================================================ */
.pl-market {
  display: flex !important; align-items: center !important; gap: 0 !important;
  height: 34px !important; overflow-x: auto; padding: 0 16px !important;
  scroll-snap-type: x proximity; scrollbar-width: none;
  -webkit-mask-image: linear-gradient(to right, #000 94%, transparent);
  mask-image: linear-gradient(to right, #000 94%, transparent);
}
.pl-market::-webkit-scrollbar { display: none; }
.pl-mkt-tag {
  flex: none; font-size: 9.5px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); padding-right: 14px; margin-right: 14px;
  border-right: 1px solid var(--line); white-space: nowrap;
}
.pl-market .pl-mkt-item {
  flex: none !important; min-width: 0 !important;
  display: inline-flex !important; align-items: baseline !important; gap: 6px !important;
  padding: 0 14px !important; white-space: nowrap; border-right: 1px solid var(--line);
}
.pl-market .pl-mkt-item:last-child { border-right: none; }
.pl-mkt-sym { font-size: 10.5px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.pl-mkt-val { font-size: 13px; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.pl-mkt-chg { font-size: 11px; font-weight: 600; font-variant-numeric: tabular-nums; display: inline-flex; align-items: center; gap: 2px; }
.pl-mkt-chg.up { color: var(--ok); }
.pl-mkt-chg.down { color: var(--acc); }
.pl-mkt-chg > span { font-size: 8px; position: relative; top: -1px; }

/* --- EN ÜST İNCE ŞERİT: Son Dakika + piyasa/hava (masaüstü yan yana, mobil alt alta) --- */
.pl-topbar { border-bottom: 1px solid var(--line); background: var(--surface); }
.pl-topbar-inner { display: flex; align-items: stretch; padding: 0; }
.pl-breaking { flex: 1 1 auto; min-width: 0; display: flex; align-items: stretch; background: var(--bg); overflow: hidden; }
.pl-breaking-label { flex: none; display: flex; align-items: center; gap: 6px; background: var(--acc); color: #fff; padding: 4px 12px 4px 22px; font-weight: 800; font-size: 11px; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; }
.pl-breaking-dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.85); display: inline-block; }
.pl-breaking-track { flex: 1; min-width: 0; overflow: hidden; position: relative; display: flex; align-items: center; }

/* veri şeridi: Samsun hava (seçili) + piyasa item'ları */
.pl-datastrip { display: flex; align-items: stretch; overflow-x: auto; scrollbar-width: none; }
.pl-datastrip::-webkit-scrollbar { display: none; }
.pl-wx { flex: none; display: inline-flex; align-items: center; gap: 5px; padding: 0 13px; border-right: 1px solid var(--line); white-space: nowrap; }
.pl-wx-icon { font-size: 13px; line-height: 1; }
.pl-wx-city { font-size: 10.5px; letter-spacing: .04em; text-transform: uppercase; color: var(--acc); font-weight: 700; }
.pl-wx-temp { font-size: 12.5px; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.pl-datastrip .pl-mkt-item { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 0 13px; white-space: nowrap; border-right: 1px solid var(--line); }
.pl-datastrip .pl-mkt-item:last-child { border-right: none; }

/* masaüstü: veri şeridi sağda, dikey çizgiyle ayrık, sağ kenar solar */
@media (min-width: 901px) {
  .pl-datastrip { flex: 0 1 auto; max-width: 52%; border-left: 1px solid var(--line);
    -webkit-mask-image: linear-gradient(to right, #000 94%, transparent); mask-image: linear-gradient(to right, #000 94%, transparent); }
}
/* mobil: alt alta, Son Dakika üstte ince ayraçla, veri şeridi tam genişlik */
@media (max-width: 900px) {
  .pl-topbar-inner { flex-wrap: wrap; }
  .pl-breaking { flex: 1 1 100%; border-bottom: 1px solid var(--line); }
  .pl-breaking-track { overflow-x: auto; scrollbar-width: none; }
  .pl-breaking-track::-webkit-scrollbar { display: none; }
  .pl-datastrip { flex: 1 1 100%; }
  .pl-datastrip .pl-mkt-item, .pl-wx { padding: 4px 12px; }
}

/* ============================================================
   HEADER YENİDEN TASARIM — app-bar (hamburger · logo · arama)
   ============================================================ */
.pl-utility { border-bottom: 1px solid var(--line); background: var(--surface); }
.pl-utility-inner { display: flex; align-items: center; gap: 16px; padding: 6px 22px; font-size: 11px; color: var(--muted); }
.pl-live { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); font-weight: 600; white-space: nowrap; }
.pl-live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--acc); display: inline-block; }
.pl-util-date { text-transform: uppercase; letter-spacing: .04em; }
.pl-util-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.pl-util-wx { color: var(--ink); }
.pl-socials { display: flex; gap: 1px; align-items: center; }
.pl-utility .pl-social { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; min-height: 28px; color: var(--muted); border-radius: 6px; }
.pl-theme-btn { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; min-height: 30px; border: 1px solid var(--line); background: transparent; color: var(--ink); border-radius: 8px; font-size: 14px; cursor: pointer; }

.pl-appbar { background: var(--surface); }
/* mobil app-bar: hamburger kaldırıldı → logo sol, arama ikonu sağ (kategori şeridi + alt "Kategoriler" yeterli) */
.pl-appbar-inner { display: grid; grid-template-columns: 1fr 44px; align-items: center; gap: 8px; padding: 11px 14px; }
.pl-brand { justify-self: start; display: inline-flex; align-items: center; }
.pl-iconbtn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: none; background: transparent; color: var(--ink); border-radius: 12px; cursor: pointer; }
/* masaüstü hızlı menü + arama: mobilde gizli, ≥901px'te görünür */
.pl-appbar-nav, .pl-appbar-search { display: none; }
@media (hover: hover) {
  .pl-iconbtn:hover, .pl-theme-btn:hover, .pl-utility .pl-social:hover { background: var(--chip); }
  .pl-utility .pl-social:hover { color: var(--ink); }
}

/* --- MASAÜSTÜ MASTHEAD (≥901px): logo sola, hızlı menü+arama sağa, hamburger YOK --- */
@media (min-width: 901px) {
  .pl-appbar-inner { display: flex; align-items: center; gap: 20px; padding: 15px 22px; }
  .pl-appbar-mobileonly { display: none !important; }   /* hamburger + mobil arama ikonu */
  .pl-brand { justify-self: auto; margin-right: auto; }  /* logo sola yaslı */
  .pl-appbar-nav { display: flex; align-items: center; gap: 2px; }
  .pl-appbar-nav .pl-quick { font-weight: 700; font-size: 13px; color: var(--ink); padding: 10px 12px; letter-spacing: .01em; border-radius: 6px; transition: color .15s ease; }
  .pl-appbar-search { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; width: 190px; background: var(--bg); }
  .pl-appbar-search input { border: none; background: transparent; font-size: 13px; color: var(--ink); width: 100%; }
  .pl-appbar-search input::placeholder { color: var(--muted); }
  .pl-appbar-search button { border: none; background: transparent; color: var(--muted); padding: 0; cursor: pointer; display: inline-flex; align-items: center; }
}
@media (min-width: 901px) and (hover: hover) {
  .pl-appbar-nav .pl-quick:hover { color: var(--acc); }
  .pl-appbar-search:focus-within { outline: 2px solid var(--acc); outline-offset: 2px; }
}

@media (max-width: 680px) {
  /* durum çubuğu slim: sadece CANLI + tema (tarih/hava/sosyal gizli) */
  .pl-utility-inner { padding: 5px 14px; gap: 10px; }
  .pl-util-date, .pl-util-wx, .pl-socials { display: none !important; }
  .pl-util-right { gap: 8px; }
  /* app-bar sıkı */
  .pl-appbar-inner { padding: 8px 10px; }
  .pl-logo-lg { height: 40px !important; }
}
