/* NetEye ortak site kabuğu: başlık, altlık, hesap arama, çerez bildirimi.
   Hem base.html (Bootstrap'lı eski sayfalar) hem base_v2.html kullanır;
   Bootstrap'la çakışmasın diye tüm sınıflar "ne-" önekli. */
:root {
    --ink: #111418; --ink-2: #3A414C; --muted: #6B7380; --line: #E4E7EC; --line-2: #EEF0F3;
    --field: #C9CED6; --bg: #FFFFFF; --bg-2: #F7F8FA; --accent: #C8281E; --up: #0F7B3F; --down: #B42318;
    --f-display: 'Archivo', 'Arial Narrow', Arial, sans-serif;
    --f-body: 'Source Sans 3', 'Segoe UI', Roboto, Arial, sans-serif;
    --f-mono: 'JetBrains Mono', ui-monospace, Consolas, monospace;
}
[hidden] { display: none !important; }
.ne-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ne-wrap { max-width: 1240px; margin: 0 auto; padding-inline: 24px; }

.ne-header, .ne-footer, .ne-cookie { font-family: var(--f-body); line-height: 1.5; }
.ne-header a, .ne-footer a { color: var(--ink); text-decoration: none; }
.ne-header a:hover, .ne-footer a:hover { color: var(--accent); }
.ne-header { position: relative; z-index: 40; border-bottom: 1px solid var(--line); background: var(--bg); color: var(--ink); }
.ne-header .ne-wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px; padding-block: 14px; }
.ne-brand { font-family: var(--f-display); font-weight: 800; font-size: 26px; letter-spacing: -0.02em; line-height: 1; }
.ne-header .ne-brand, .ne-header .ne-brand:hover { color: var(--ink); }
.ne-brand span { color: var(--accent); }
.ne-nav { display: flex; flex-wrap: wrap; gap: 4px 20px; font-weight: 600; font-size: 15px; }
.ne-header .ne-nav a[aria-current="page"] { color: var(--accent); }
.ne-actions { flex: 1 1 260px; display: flex; justify-content: flex-end; align-items: center; gap: 10px; font-size: 14px; }

.ne-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 40px; padding: 0 16px; border-radius: 6px;
          border: 1px solid var(--field); background: var(--bg); color: var(--ink); font: inherit; font-weight: 700; font-size: 14px;
          cursor: pointer; white-space: nowrap; text-decoration: none; }
.ne-btn:hover { border-color: var(--ink); }
.ne-header .ne-btn-dark, .ne-cookie .ne-btn-dark, .ne-btn-dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.ne-header .ne-btn-dark:hover, .ne-btn-dark:hover { background: #2A3039; color: #fff; }

/* Hesap arama */
.ne-search { position: relative; flex: 0 1 280px; min-width: 0; }
.ne-search input { width: 100%; height: 40px; padding: 0 12px; border: 1px solid var(--field); border-radius: 6px;
                   font: inherit; font-size: 14px; color: var(--ink); background: var(--bg); }
.ne-search-results { position: absolute; top: calc(100% + 6px); left: 0; right: 0; min-width: 280px; max-height: 360px; overflow-y: auto;
                     list-style: none; margin: 0; padding: 6px; background: var(--bg); border: 1px solid var(--line); border-radius: 8px;
                     box-shadow: 0 12px 32px rgba(17, 20, 24, .14); z-index: 50; }
.ne-search-results li a { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 6px; color: var(--ink); }
.ne-search-results li a:hover, .ne-search-results li a:focus { background: var(--bg-2); color: var(--ink); }
.ne-search-results img, .ne-search-results .ne-av { width: 34px; height: 34px; border-radius: 50%; flex: 0 0 34px; object-fit: cover; background: var(--line); }
.ne-search-results .ne-av { display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; }
.ne-search-results .ne-who { flex: 1; min-width: 0; line-height: 1.25; }
.ne-search-results .ne-who strong { display: block; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ne-search-results .ne-who span { font-size: 13px; color: var(--muted); }
.ne-search-results .ne-count { font-family: var(--f-mono); font-size: 12px; color: var(--ink-2); }
.ne-search-results .ne-msg { padding: 10px; font-size: 14px; color: var(--muted); }

/* Altlık */
/* base.html'deki genel `footer {…}` kuralını (koyu zemin, ortalı) geçersiz kıl */
.ne-footer { border-top: 1px solid var(--line); margin-top: 48px; background: var(--bg); color: var(--muted); padding: 0; text-align: left; }
.ne-footer .ne-wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 24px; color: var(--muted); font-size: 14px; }
.ne-footer nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.ne-footer strong { color: var(--ink); }

/* Çerez bildirimi */
.ne-cookie { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--ink); color: #E6E9EE; padding: 14px 0; }
.ne-cookie .ne-wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; font-size: 14px; }
.ne-cookie a { color: #9CC3FF; }
.ne-cookie .ne-btn { height: 36px; }
.ne-cookie .ne-btn-dark { border-color: #fff; }

@media (max-width: 760px) {
    .ne-search { flex: 1 1 100%; order: 3; }
    .ne-actions { flex: 1 1 auto; }
    .ne-search-results { min-width: 0; }
}
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Doküman sayfaları (gizlilik, koşullar, uygulama açıklaması): base_v2 içinde <div class="wrap ne-doc"> */
.wrap.ne-doc { max-width: 868px; padding-block: 32px 24px; }  /* 820 + iki yan boşluk; base_v2 .wrap kuralını ezer */
.ne-doc h1 { margin: 0 0 6px; font-weight: 800; font-size: clamp(30px, 4.6vw, 42px); line-height: 1.08; letter-spacing: -0.02em; }
.ne-doc .ne-doc-sub { margin: 0 0 28px; color: var(--muted); font-size: 15px; padding-bottom: 20px; border-bottom: 3px solid var(--ink); }
.ne-doc section { padding: 18px 0; border-bottom: 1px solid var(--line); }
.ne-doc h2 { margin: 0 0 10px; font-weight: 800; font-size: 21px; line-height: 1.25; }
.ne-doc h3, .ne-doc h4 { margin: 18px 0 8px; font-weight: 800; font-size: 17px; }
.ne-doc p, .ne-doc li { color: #2A3039; font-size: 16px; line-height: 1.7; }
.ne-doc p { margin: 0 0 12px; }
.ne-doc ul, .ne-doc ol { margin: 0 0 12px; padding-left: 22px; }
.ne-doc li { margin-bottom: 6px; }
.ne-doc a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.ne-doc strong { color: var(--ink); }
.ne-doc .ne-doc-note { margin-top: 20px; font-size: 14px; color: var(--muted); }
