/* Ebeveyn Sözlük — mobile-first. Breakpoint'ler: 700px (tablet), 1040px (masaüstü 3 sütun).
   Not: Google Fonts artık buradan @import EDİLMİYOR (render-blocking) — layouts/main.php'de
   gerçek bir <link rel="stylesheet"> olarak, preconnect'in hemen ardından yükleniyor. */

:root {
    --green: #4A7C59;
    --green-d: #3D6B4C;
    --green-l: #E9F1E4;
    --green-xl: #E6F0E2;
    --text: #2E3A32;
    --text-2: #59645A;
    --muted: #8A9389;
    --bg: #F3F1EA;
    --paper: #FCFBF7;
    --card: #FFFFFF;
    --line: #EAE6DC;
    --line-2: #F2EFE7;
    --cream: #FBF3E2;
    --cream-line: #F0E3C6;
    --gold: #E8A93C;
    --rose: #C7607A;
    --danger: #B4443A;
    --r-card: 18px;
    --r-ctl: 12px;
    --shadow: 0 2px 8px rgba(74, 124, 89, .28);
    --tabbar-h: 60px;
    --font: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --hand: 'Caveat', cursive;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0; background: var(--bg); color: var(--text); font-family: var(--font);
    -webkit-font-smoothing: antialiased; line-height: 1.5;
    padding-bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom));
}
a { color: var(--green-d); text-decoration: none; }
a:hover { color: #2C5138; text-decoration: underline; }
::selection { background: #CFE3C6; }
img, svg { max-width: 100%; }
h1, h2, h3 { margin: 0; line-height: 1.25; }
button, input, select, textarea { font-family: inherit; font-size: 16px; color: inherit; }
:focus-visible { outline: 3px solid #8DB58E; outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hand { font-family: var(--hand); }
.muted { color: var(--muted); }

/* ── Butonlar ── */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 44px; padding: 0 22px; border-radius: 22px; border: 1.5px solid #D6D1C4;
    background: var(--paper); color: #3F4A42; font-weight: 700; font-size: 15px; cursor: pointer;
    text-decoration: none; white-space: nowrap;
}
.btn:hover { border-color: #8DB58E; color: var(--green-d); text-decoration: none; }
.btn-primary { background: var(--green); border-color: var(--green); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--green-d); border-color: var(--green-d); color: #fff; }
.btn-block { width: 100%; }
.btn-sm { min-height: 40px; padding: 0 16px; border-radius: 12px; font-size: 14.5px; }
.btn[disabled] { opacity: .6; cursor: wait; }

/* ── Header ── */
.site-header { background: var(--paper); border-bottom: 1px solid #E7E3D8; position: sticky; top: 0; z-index: 30; }
.header-inner { display: flex; align-items: center; gap: 12px; padding: 10px 16px; max-width: 1560px; margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); flex-shrink: 0; }
.brand:hover { text-decoration: none; color: var(--text); }
.brand-mark { width: 40px; height: 40px; border-radius: 13px; background: var(--green-xl); display: grid; place-items: center; font-size: 22px; }
.brand-logo { max-height: 60px; max-width: 220px; object-fit: contain; }
.brand-name { font-size: 20px; font-weight: 800; letter-spacing: -.4px; line-height: 1; }
.brand-tag { display: none; font-size: 12.5px; color: var(--muted); line-height: 1; margin-top: 4px; }
.search { flex: 1; position: relative; min-width: 0; max-width: 430px; }
.search input {
    width: 100%; height: 44px; border-radius: 24px; border: 1px solid #E2DED2; background: #fff;
    padding: 0 16px 0 40px; outline: none;
}
.search input:focus { border-color: #8DB58E; box-shadow: 0 0 0 3px var(--green-xl); }
.search .ico { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: #9BA49A; pointer-events: none; }
.header-quote { display: none; font-family: var(--hand); font-size: 19px; color: #6E7C70; line-height: 1.15; transform: rotate(-2deg); }
.main-nav { display: none; align-items: center; gap: 22px; margin-left: auto; font-weight: 600; }
.main-nav a { color: #5A6560; }
.header-actions { display: none; align-items: center; gap: 10px; }
.user-chip { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--text); }
.user-chip:hover { text-decoration: none; }
.icon-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; font-size: 19px; color: #5A6560; flex-shrink: 0; }
.icon-btn:hover { background: #F1EFE5; text-decoration: none; }
.badge-dot { position: absolute; top: -2px; right: -4px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; background: var(--rose); color: #fff; font-size: 10px; font-weight: 800; display: flex; align-items: center; justify-content: center; line-height: 1; }
.badge-dot.tab { top: 2px; right: 26%; width: 8px; height: 8px; min-width: 0; padding: 0; font-size: 0; }
.header-mobile-auth { display: flex; margin-left: auto; }
.header-mobile-auth .btn { min-height: 40px; padding: 0 14px; font-size: 14px; }
.header-inner .search { display: none; }

.avatar {
    width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0;
    font-weight: 800; font-size: 17px; color: #fff; background: var(--green);
}
img.avatar { object-fit: cover; background: var(--green-l); }
.avatar.c0 { background: #E6EFE0; color: #4A7C59; } .avatar.c1 { background: #F6E8D0; color: #8A6E2E; }
.avatar.c2 { background: #E8EAF3; color: #55639A; } .avatar.c3 { background: #F5E3E7; color: #A2485E; }
.avatar.c4 { background: #E2F0EF; color: #3F7F7B; } .avatar.c5 { background: #EFE7F4; color: #7A5B97; }
.avatar.sm { width: 34px; height: 34px; font-size: 15px; }
.avatar.lg { width: 64px; height: 64px; font-size: 24px; }

/* ── Kategori çubuğu ── */
.catbar { background: var(--paper); border-bottom: 1px solid #E7E3D8; }
.catbar-inner { display: flex; gap: 8px; padding: 10px 16px; overflow-x: auto; scrollbar-width: none; max-width: 1560px; margin: 0 auto; -webkit-overflow-scrolling: touch; }
.catbar-inner::-webkit-scrollbar { display: none; }
.pill {
    display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0; min-height: 40px; padding: 0 16px;
    border-radius: 20px; border: 1px solid var(--line); background: #fff; color: #4B564E; font-weight: 700; font-size: 14px;
}
.pill:hover { border-color: #8DB58E; text-decoration: none; }
.pill.active { background: var(--green); border-color: var(--green); color: #fff; }
.catbar-cta { display: none; margin-left: auto; flex-shrink: 0; white-space: nowrap; }

/* ── Düzen: mobilde tek sütun ── */
.shell { display: grid; gap: 16px; padding: 12px 12px 24px; max-width: 1560px; margin: 0 auto; align-items: start; }
.shell > * { min-width: 0; }
.col-left, .col-right { display: none; flex-direction: column; gap: 16px; }
.col-main { display: flex; flex-direction: column; gap: 16px; }
/* no-right: sağ kolon (ilgisiz "bugün en çok okunanlar" vb.) olmayan sayfalar — sol "gündem"
   kolonu bu sayfalarda da HER ZAMAN gösterilir (bkz. site geneli gündem kararı), yalnızca sağ
   kolon kaldırılıp ana içeriğe biraz daha dar/odaklı bir genişlik verilir. */
.shell.no-right { max-width: 1200px; }
.shell.no-right .col-right { display: none !important; }
/* no-sidebars: profil/ayarlar/mesajlar gibi tam genişlik isteyen birkaç sayfa için — ne sol
   gündem ne de sağ kolon gösterilir (bkz. $showGundem = false, layouts/main.php). */
.shell.no-sidebars { max-width: 1100px; }
.shell.no-sidebars .col-left, .shell.no-sidebars .col-right { display: none !important; }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); padding: 16px; }
.card.cream { background: var(--cream); border-color: var(--cream-line); }
.card.green { background: var(--green-l); border-color: #DCE8D5; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.card-head h2, .card-head h3 { font-size: 17px; font-weight: 800; letter-spacing: -.2px; }
.card-head a { font-size: 12.5px; font-weight: 600; color: #7E8A80; }
.card.flush { padding: 16px 0 6px; }
.card.flush .card-head { padding: 0 16px; }

.rank-row { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 16px; color: var(--text); border-top: 1px solid var(--line-2); min-height: 48px; }
.rank-row:hover { background: #F6F9F3; text-decoration: none; color: var(--text); }
.rank-row.on { background: var(--green-l); }
.rank { font-size: 13px; font-weight: 800; color: #A9B2A8; text-align: center; }
.rank.top { color: var(--green); }
.rank-title { font-size: 14.5px; font-weight: 700; line-height: 1.3; overflow-wrap: anywhere; }
.rank-count { font-size: 12px; color: #95A096; font-weight: 600; }
.side-list .rank-row { padding: 9px 0; }

/* ── Hero ── */
.hero { background: var(--green-l); border: 1px solid #DCE8D5; border-radius: var(--r-card); padding: 20px 18px; display: flex; flex-direction: column; gap: 14px; }
.hero .kicker { font-size: 14px; font-weight: 700; color: #5C7D62; }
.hero h1 { font-size: 24px; font-weight: 800; letter-spacing: -.6px; color: #2B3A2E; text-wrap: pretty; }
.hero p { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--text-2); max-width: 520px; }
.hero .hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ── Başlık ve entry ── */
.topic-card { padding: 16px 14px 6px; }
.topic-head { display: flex; align-items: flex-start; gap: 10px; flex-wrap: wrap; }
.topic-head h1, .topic-head h2 { font-size: 22px; font-weight: 800; letter-spacing: -.5px; overflow-wrap: anywhere; flex: 1 1 200px; }
.topic-head h1 a, .topic-head h2 a { color: var(--text); }
.topic-desc { margin: 10px 0 14px; color: #6A746B; font-size: 14.5px; line-height: 1.6; }
.topic-tools { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding-bottom: 12px; border-bottom: 1px solid #EFECE3; }
.topic-tools .label { font-weight: 800; color: var(--green-d); font-size: 14.5px; }
.topic-tools .sub { font-size: 13px; color: #95A096; }
.sort-select { height: 40px; border-radius: 10px; border: 1px solid var(--line); background: #fff; padding: 0 10px; font-size: 14px; margin-left: auto; }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 8px; overflow-wrap: anywhere; }
.crumbs span:last-child { color: var(--text-2); }

/* Konu sayfası üst çubuğu: sol sıralama, sağ sayfa atlama (Entry Sayfası tasarımı) */
.topic-controls { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-bottom: 12px; border-bottom: 1px solid #EFECE3; }
.sort-cycle select {
    height: 34px; border: none; background: none; padding: 0 4px; font-family: var(--font); font-size: 15.5px;
    font-weight: 700; color: #4B554C; cursor: pointer; outline: none;
}
.page-jump { display: flex; align-items: center; gap: 8px; }
.page-jump select { height: 38px; border-radius: 10px; border: 1px solid var(--line); background: #fff; padding: 0 10px; font-size: 14px; font-weight: 700; color: #3F4A42; }
.page-next {
    display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 10px;
    border: 1px solid var(--line); background: #fff; color: #4B554C; font-size: 16px; flex-shrink: 0;
}
.page-next:hover { border-color: #8DB58E; color: var(--green-d); text-decoration: none; }
.topic-footer-nav { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 20px 0; flex-wrap: wrap; }
.fav {
    width: 44px; height: 44px; border-radius: 12px; border: 1.5px solid #E5E0D2; background: #fff; color: #C9CBC2;
    font-size: 22px; line-height: 1; cursor: pointer; flex-shrink: 0;
}
.fav[aria-pressed="true"] { background: #FFF6DF; border-color: var(--gold); color: var(--gold); }

.entry { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--line-2); scroll-margin-top: 80px; }
.entry:target { background: #FBFEF8; }
.entry .idx { display: none; }
.entry-body { margin: 0 0 10px; font-size: 15.5px; line-height: 1.65; color: #39433B; overflow-wrap: anywhere; text-wrap: pretty; }
.entry-foot { display: flex; align-items: center; gap: 6px 14px; flex-wrap: wrap; }
.entry-meta { margin-left: auto; display: flex; align-items: center; gap: 8px; font-size: 13.5px; flex-wrap: wrap; }
.entry-meta .author { font-weight: 700; color: var(--green); }
.entry-meta .when { color: #95A096; }
.badge-expert { background: #F3E8CD; color: #8A6E2E; font-size: 11px; font-weight: 800; border-radius: 8px; padding: 2px 7px; }

/* Permalink sayfası: hedef entry'den önce/sonra kaç entry olduğunu gösteren bar (bkz: eksisozluk.com/entry/N) */
.entry-context-link {
    display: block; text-align: center; padding: 10px 14px; margin: 4px 0; border-radius: 10px;
    border: 1px dashed var(--line); background: var(--bg); color: var(--text-2); font-size: 13px; font-weight: 700;
}
.entry-context-link:hover { border-color: #8DB58E; border-style: solid; color: var(--green-d); background: var(--green-l); text-decoration: none; }

/* Konu sayfası entry görünümü: metin tam genişlik, yazar+avatar sağda (Entry Sayfası tasarımı).
   .entry.entry--topic ile özgüllük masaüstü breakpoint kurallarını (.entry .idx) geçecek şekilde yükseltilir. */
.entry.entry--topic { grid-template-columns: minmax(0, 1fr); gap: 0; }
.entry.entry--topic .idx, .entry.entry--topic > .avatar { display: none; }
.entry--topic .entry-meta { align-items: center; }
.entry--topic .entry-meta-text { display: flex; flex-direction: column; align-items: flex-end; gap: 1px; }
.entry--topic .entry-meta .when { font-size: 12.5px; }
.entry--topic .avatar.sm { width: 38px; height: 38px; font-size: 15px; }
.like {
    display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 12px; border-radius: 20px;
    border: 1px solid transparent; background: #F6F5EF; color: #7E8A80; font-weight: 700; font-size: 14px; cursor: pointer;
}
.like:hover { background: #EFEDE4; }
.like[aria-pressed="true"] { background: #FBE9EE; color: var(--rose); }
.like .heart { font-size: 15px; }

.pager { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 16px 0 18px; flex-wrap: wrap; }
.pager .cur { font-weight: 700; color: var(--text-2); padding: 0 6px; }

/* ── Formlar ── */
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 6px; }
/* Not: type niteliği yazılmamış <input> (tarayıcıda örtük olarak text sayılır) CSS öznitelik
   seçicisiyle EŞLEŞMEZ — bu yüzden belirli type'ları tek tek saymak yerine, stillenmesi
   İSTENMEYEN (checkbox/radio/file — kendi özel gösterimleri var) türleri hariç tutuyoruz. */
.field input:not([type=checkbox]):not([type=radio]):not([type=file]), .field select, .field textarea {
    width: 100%; min-height: 46px; border-radius: var(--r-ctl); border: 1px solid #DDD8CB; background: #fff; padding: 10px 14px; outline: none;
}
.field textarea { min-height: 130px; line-height: 1.6; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: #8DB58E; box-shadow: 0 0 0 3px var(--green-xl); }
.field .err { color: var(--danger); font-size: 13.5px; margin-top: 5px; }
.field .hint { color: var(--muted); font-size: 13px; margin-top: 5px; }
.field.invalid input, .field.invalid textarea { border-color: var(--danger); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; margin-bottom: 12px; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--green); flex-shrink: 0; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }

.auth-card { max-width: 460px; margin: 8px auto 0; padding: 22px 18px; }
.auth-card h1 { font-size: 26px; font-weight: 800; margin-bottom: 6px; }
.auth-card .lead { margin: 0 0 18px; color: var(--text-2); }
.auth-alt { text-align: center; margin: 16px 0 0; font-size: 14.5px; color: var(--text-2); }

.alert { border-radius: var(--r-ctl); padding: 12px 14px; font-size: 14.5px; margin-bottom: 14px; }
.alert-error { background: #FBEBE8; color: #8C2F26; border: 1px solid #F0CFC9; }
.alert-ok { background: var(--green-l); color: #2F5A3C; border: 1px solid #CFE3C6; }
.alert-info { background: var(--cream); color: #6B5A2A; border: 1px solid var(--cream-line); }
.flash-wrap { max-width: 1560px; margin: 12px auto 0; padding: 0 12px; }
.flash-wrap .alert { margin: 0; }

.write-box { padding: 16px 14px; background: var(--paper); border-color: var(--line); }
.write-box h3 { font-size: 15.5px; font-weight: 800; margin-bottom: 10px; }
.write-box .row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }

/* ── Konu sayfası sol/sağ kolon (Entry Sayfası tasarımı) ── */
.topic-nav { padding: 18px 14px; }
.topic-nav-head { display: flex; align-items: center; gap: 9px; margin-bottom: 10px; }
.topic-nav-head h2 { font-size: 20px; font-weight: 800; letter-spacing: -.3px; }
.topic-nav-head .gear { margin-left: auto; color: var(--muted); font-size: 15px; }
.topic-nav-head .gear:hover { color: var(--green-d); text-decoration: none; }
.topic-nav-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 10px; border-radius: 9px; font-size: 14.5px; font-weight: 600; color: #454F47; }
.topic-nav-row:hover { background: #F1F6EE; text-decoration: none; color: #454F47; }
.topic-nav-row.on { background: #F1F6EE; font-weight: 800; color: var(--green-d); }
.tnr-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.tnr-count { font-size: 12.5px; font-weight: 700; color: #A8B0A6; flex-shrink: 0; }
.topic-nav-row.on .tnr-count { color: #6E9873; }

/* ── Footer ── */
.site-footer { margin: 24px 12px 0; max-width: 1320px; padding-bottom: 8px; }
@media (min-width: 1368px) { .site-footer { margin-left: auto; margin-right: auto; } }

.footer-news {
    display: flex; flex-direction: column; gap: 20px; padding: 22px 20px; border-radius: 20px; background: var(--green-l);
}
.footer-eyebrow { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; letter-spacing: 1.4px; color: var(--green-d); margin-bottom: 8px; }
.footer-news-copy h2 { margin: 0 0 8px; font-size: 21px; font-weight: 800; letter-spacing: -.4px; line-height: 1.25; }
.footer-news-copy p { margin: 0; font-size: 14px; line-height: 1.6; color: #4E5A50; max-width: 480px; }
.footer-news-form { display: flex; flex-direction: column; gap: 12px; }
.footer-news-row { display: flex; flex-wrap: wrap; gap: 10px; }
.footer-news-row input { flex: 1 1 200px; min-width: 0; height: 50px; border-radius: 12px; border: 1px solid #CFDDC8; background: #fff; padding: 0 16px; }
.footer-news-row input:focus { border-color: #8DB58E; box-shadow: 0 0 0 3px #D9E8D2; outline: none; }
.footer-interests { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-check input { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.chip-check span {
    display: inline-flex; align-items: center; height: 32px; padding: 0 13px; border-radius: 17px; cursor: pointer;
    font-size: 12.5px; font-weight: 700; border: 1px solid #CFDDC8; background: #fff; color: var(--green-d);
}
.chip-check input:checked + span { background: var(--green); border-color: var(--green); color: #fff; }
.chip-check input:focus-visible + span { outline: 3px solid #8DB58E; outline-offset: 2px; }
.footer-news-note { font-size: 12px; color: #56625A; }

.footer-main { margin-top: 18px; background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 24px 20px; }
.footer-brand-col { max-width: 380px; }
.footer-desc { margin: 14px 0; font-size: 14px; line-height: 1.6; color: var(--text-2); }
.footer-stats { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.footer-stats div { flex: 1 1 84px; min-width: 76px; padding: 10px 12px; border-radius: 12px; background: #F5F7F2; }
.footer-stats strong { display: block; font-size: 18px; font-weight: 800; color: var(--green-d); line-height: 1.15; }
.footer-stats span { font-size: 11.5px; color: var(--text-2); }
.footer-follow-label { font-size: 12.5px; font-weight: 800; margin-bottom: 10px; }
.footer-socials { display: flex; gap: 8px; flex-wrap: wrap; }
.social-btn {
    width: 40px; height: 40px; border-radius: 11px; border: 1px solid var(--line); background: #fff;
    font-size: 15px; font-weight: 800; color: var(--green-d); cursor: pointer;
}
.social-btn:hover { border-color: #8DB58E; background: #F3F8F1; }

.footer-link-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 26px; }
.footer-col-title { font-size: 12px; font-weight: 800; letter-spacing: 1.1px; color: var(--text-2); margin-bottom: 13px; }
.footer-link-col a { display: flex; align-items: center; gap: 8px; padding: 6px 0; font-size: 14px; font-weight: 600; color: #3F4A42; }
.footer-badge { padding: 2px 8px; border-radius: 9px; background: var(--cream); color: #8A6E2E; font-size: 10.5px; font-weight: 800; }

.footer-bottom-row { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line-2); }
.footer-tags-col { flex: 1 1 280px; min-width: 0; }
.footer-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.footer-tags a { padding: 7px 13px; border-radius: 10px; background: var(--green-l); font-size: 13px; font-weight: 700; color: var(--green-d); }
.footer-tags a:hover { background: #E0EBDB; text-decoration: none; }
.footer-warn-col { flex: 1 1 260px; min-width: 0; max-width: 400px; display: flex; flex-direction: column; gap: 10px; }
.footer-warn-box { display: flex; gap: 10px; padding: 14px 16px; border-radius: 14px; background: var(--cream); border: 1px solid var(--cream-line); }
.footer-warn-box .t { font-size: 13.5px; font-weight: 800; margin-bottom: 3px; }
.footer-warn-box p { margin: 0; font-size: 12.5px; line-height: 1.5; color: #5E5846; }
.footer-app-row { display: flex; gap: 10px; flex-wrap: wrap; }
.footer-app-btn {
    flex: 1 1 140px; min-width: 130px; height: 48px; border-radius: 12px; background: #2E3A32; color: #fff; border: none;
    display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 14px; font-weight: 700; cursor: pointer;
}
.footer-app-btn:hover { background: #1F2822; }
.footer-app-btn span { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.footer-app-btn em { font-style: normal; font-size: 10px; opacity: .8; }

.footer-legal-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; padding: 18px 6px 0; font-size: 13px; }
.footer-legal-links { display: flex; flex-wrap: wrap; gap: 6px 16px; font-weight: 600; }
.footer-legal-links a { color: #4B554C; }
.footer-legal-right { display: flex; align-items: center; gap: 10px; margin-left: auto; flex-wrap: wrap; }
.footer-legal-right select { height: 36px; border-radius: 9px; border: 1px solid var(--line); background: #fff; padding: 0 8px; font-size: 12.5px; font-weight: 700; }
.footer-signoff { text-align: center; padding: 16px 6px 6px; }
.footer-signoff .hand { font-size: 19px; color: #56625A; }

/* ── Mobil alt sekme çubuğu ── */
.tabbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: repeat(5, 1fr);
    background: var(--paper); border-top: 1px solid #E7E3D8; height: calc(var(--tabbar-h) + env(safe-area-inset-bottom));
    padding-bottom: env(safe-area-inset-bottom);
}
.tabbar a, .tabbar button {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; border: 0; background: none;
    color: #7E8A80; font-size: 11.5px; font-weight: 700; cursor: pointer; text-decoration: none; min-height: 44px;
}
.tabbar .ico { font-size: 20px; line-height: 1; }
.tabbar .on { color: var(--green); }
.tabbar .write { color: #fff; }
.tabbar .write .ico { background: var(--green); width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; margin-top: -18px; box-shadow: var(--shadow); font-size: 22px; }
.mobile-search { padding: 0 12px; }
.mobile-search .search { max-width: none; display: block; }

.empty { padding: 30px 10px; text-align: center; color: var(--muted); }
.toast { position: fixed; left: 50%; bottom: calc(var(--tabbar-h) + 16px); transform: translateX(-50%); background: #2E3A32; color: #fff; padding: 10px 16px; border-radius: 12px; font-size: 14px; z-index: 60; max-width: 90vw; }

/* ── Tablet ── */
@media (min-width: 700px) {
    .header-inner { padding: 12px 24px; gap: 20px; }
    .brand-logo { max-height: 72px; max-width: 260px; }
    .brand-name { font-size: 24px; }
    .brand-tag { display: block; }
    .header-inner .search { display: block; }
    .mobile-search { display: none; }
    .header-mobile-auth { display: none; }
    .header-actions { display: flex; margin-left: auto; }
    .catbar-inner { padding: 12px 24px; }
    .shell { padding: 16px 24px 28px; }
    .hero { padding: 26px 30px; }
    .hero h1 { font-size: 30px; }
    .topic-card { padding: 22px 24px 8px; }
    .topic-head h1, .topic-head h2 { font-size: 27px; }
    .entry { grid-template-columns: 44px minmax(0, 1fr); gap: 14px; }
    .auth-card { padding: 30px 32px; }
    .footer-news { flex-direction: row; align-items: center; padding: 30px 34px; gap: 30px; }
    .footer-news-copy { flex: 1 1 340px; }
    .footer-news-form { flex: 1 1 360px; }
    .footer-news-copy h2 { font-size: 25px; }
    .footer-main { padding: 32px 34px 26px; display: flex; flex-wrap: wrap; gap: 36px; }
    .footer-brand-col { flex: 1 1 300px; }
    .footer-link-cols { flex: 999 1 480px; grid-template-columns: repeat(4, 1fr); margin-top: 0; gap: 24px; }
    .footer-bottom-row { flex-basis: 100%; }
}

/* ── Masaüstü: 3 sütun ── */
@media (min-width: 1040px) {
    body { padding-bottom: 40px; }
    .tabbar { display: none; }
    .toast { bottom: 24px; }
    .brand-tag { display: block; }
    .header-quote { display: block; }
    .main-nav { display: flex; }
    .header-actions { margin-left: 0; }
    .catbar-cta { display: inline-flex; }
    .shell { grid-template-columns: minmax(240px, 300px) minmax(0, 1fr) minmax(260px, 340px); }
    .col-left, .col-right { display: flex; }
    .col-left, .col-right { position: sticky; top: 76px; align-self: start; max-height: calc(100vh - 92px); overflow-y: auto; scrollbar-width: thin; }
    .shell.no-right { grid-template-columns: minmax(240px, 300px) minmax(0, 1fr); }
    .shell.no-sidebars { grid-template-columns: minmax(0, 1fr); }
    .entry { grid-template-columns: 30px 44px minmax(0, 1fr); }
    .entry .idx { display: block; font-size: 14px; font-weight: 700; color: #A9B2A8; padding-top: 3px; }
    .hero { flex-direction: row; align-items: center; }
    .hero h1 { font-size: 31px; }
}
@media (min-width: 1040px) and (max-width: 1279px) {
    .shell { grid-template-columns: minmax(220px, 280px) minmax(0, 1fr); }
    .col-right { display: none; }
}

/* ── Profil ── */
.profile-card { padding: 0 0 18px; overflow: hidden; position: relative; }
.profile-cover { height: 110px; position: relative; background: linear-gradient(135deg, var(--green-l), var(--cream)); }
.profile-cover.c0 { background: linear-gradient(135deg, #E6EFE0, #F6E8D0); } .profile-cover.c1 { background: linear-gradient(135deg, #F6E8D0, #F5E3E7); }
.profile-cover.c2 { background: linear-gradient(135deg, #E8EAF3, #E2F0EF); } .profile-cover.c3 { background: linear-gradient(135deg, #F5E3E7, #EFE7F4); }
.profile-cover.c4 { background: linear-gradient(135deg, #E2F0EF, #E6EFE0); } .profile-cover.c5 { background: linear-gradient(135deg, #EFE7F4, #F6E8D0); }
.profile-cover-quote { display: none; }
.profile-head { padding: 0 18px; display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-start; position: relative; }
.profile-avatar-wrap { position: relative; margin-top: -46px; flex-shrink: 0; }
.profile-avatar { width: 88px; height: 88px; font-size: 32px; border: 4px solid #fff; }
img.profile-avatar { object-fit: cover; background: var(--green-l); }
.profile-online-dot { position: absolute; right: 4px; bottom: 4px; width: 16px; height: 16px; border-radius: 50%; background: #4CAF50; border: 3px solid #fff; }

.cover-upload { position: absolute; top: 10px; right: 10px; display: flex; gap: 6px; }
.cover-upload form { display: contents; }
.cover-upload-btn {
    display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 16px; border: none;
    background: rgba(0,0,0,.55); color: #fff; font-size: 12px; font-weight: 700; cursor: pointer; backdrop-filter: blur(4px);
}
.cover-upload-btn:hover { background: rgba(0,0,0,.7); }
.avatar-upload-btn {
    position: absolute; right: -2px; bottom: -2px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
    background: var(--green); color: #fff; border: 3px solid #fff; cursor: pointer; font-size: 13px;
}
.avatar-upload-btn:hover { background: var(--green-d); }
.profile-id { flex: 1 1 240px; min-width: 0; padding-top: 6px; }
.profile-id h1 { font-size: 21px; font-weight: 800; }
.profile-username { color: var(--muted); font-size: 13.5px; margin: 2px 0 8px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.profile-bio { margin: 0 0 10px; font-size: 14.5px; color: var(--text-2); line-height: 1.6; max-width: 620px; }
.profile-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13px; color: var(--text-2); }
.profile-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; padding-top: 6px; width: 100%; }
.profile-actions-row { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.profile-actions-quote { display: none; }
@media (min-width: 560px) { .profile-actions { width: auto; margin-left: auto; } }
@media (min-width: 760px) {
    .profile-cover { height: 160px; }
    .profile-cover-quote { display: flex; position: absolute; right: 26px; top: 24px; gap: 10px; align-items: flex-start; pointer-events: none; text-align: left; }
    .profile-cover-quote .leaf { font-size: 24px; }
    .profile-cover-quote .hand { font-size: 20px; line-height: 1.3; color: #3A4638; transform: rotate(-3deg); }
    .profile-head { padding: 0 30px 20px 170px; }
    .profile-avatar-wrap { position: absolute; left: 30px; top: -70px; }
    .profile-avatar { width: 128px; height: 128px; font-size: 44px; border-width: 5px; }
    .profile-id { padding-top: 14px; }
    .profile-id h1 { font-size: 27px; }
    .profile-actions-quote { display: flex; align-items: flex-end; gap: 8px; padding-left: 20px; border-left: 1px solid var(--line-2); }
    .profile-actions-quote .hand { font-size: 19px; line-height: 1.3; color: #5B6459; transform: rotate(-3deg); text-align: right; }
}

.profile-layout { display: grid; gap: 16px; margin-top: 16px; }
.profile-side-nav { display: flex; flex-direction: column; gap: 16px; }
.profile-aside { display: flex; flex-direction: column; gap: 16px; }
@media (min-width: 860px) {
    .profile-layout { grid-template-columns: 220px minmax(0, 1fr); align-items: start; }
    .profile-aside { grid-column: 1 / -1; }
}
@media (min-width: 1180px) {
    .profile-layout { grid-template-columns: 220px minmax(0, 1fr) 300px; }
    .profile-aside { grid-column: auto; }
}
.topic-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.topic-chip { display: inline-block; padding: 7px 13px; border-radius: 9px; background: var(--green-l); color: var(--green-d); font-size: 13.5px; font-weight: 700; }
.topic-chip:hover { background: #E0EBDB; text-decoration: none; }
.contrib { padding: 16px 0; border-top: 1px solid var(--line-2); }
.contrib:first-child { border-top: 0; padding-top: 0; }
.user-row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line-2); }
.user-row:first-child { border-top: 0; }
.user-row .u-name { font-weight: 800; font-size: 14.5px; color: var(--text); }
.user-row .u-name:hover { text-decoration: none; }
.user-row .u-sub { font-size: 12.5px; color: var(--muted); }
.badge-tile { display: flex; gap: 14px; align-items: center; padding: 16px 0; border-top: 1px solid var(--line-2); }
.badge-tile:first-child { border-top: 0; }
.badge-tile .badge-ico { width: 48px; height: 48px; font-size: 19px; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; text-align: center; }
.stat-grid strong { display: block; font-size: 17px; }
.stat-grid span { font-size: 11.5px; color: var(--muted); }
.stat-ico { font-size: 15px; color: #8FA890; }
.badge-row { display: flex; gap: 10px; align-items: center; padding: 7px 0; }
.badge-ico { width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center; color: #fff; font-size: 15px; }

/* ── Ayarlar ── */
.settings-shell { display: grid; gap: 16px; }
.settings-nav-wrap { display: flex; flex-direction: column; gap: 14px; }
.settings-nav { display: flex; flex-direction: column; gap: 2px; padding: 8px; overflow-x: auto; }
.settings-nav-item { display: flex; align-items: center; gap: 10px; padding: 12px 12px; border-radius: 11px; font-weight: 700; font-size: 14.5px; color: #5B6459; white-space: nowrap; }
.settings-nav-item:hover { background: #F4F2E8; text-decoration: none; }
.settings-nav-item.on { background: var(--green-l); color: var(--green-d); }
@media (min-width: 860px) { .settings-shell { grid-template-columns: 260px minmax(0, 1fr); align-items: start; } .settings-nav { flex-direction: column; } }
.setting-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line-2); }
.setting-row:first-child { border-top: 0; }
.setting-label { font-weight: 700; font-size: 14.5px; }
.setting-hint { font-size: 13px; color: var(--text-2); margin-top: 2px; }
.setting-row select { margin-left: auto; height: 42px; border-radius: 10px; border: 1px solid var(--line); padding: 0 10px; }
.switch { margin-left: auto; position: relative; display: inline-block; width: 50px; height: 28px; flex-shrink: 0; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch span { position: absolute; inset: 0; background: #D7D5CA; border-radius: 16px; transition: background .15s; cursor: pointer; }
.switch span::before { content: ""; position: absolute; width: 22px; height: 22px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: transform .15s; }
.switch input:checked + span { background: var(--green); }
.switch input:checked + span::before { transform: translateX(22px); }
.switch input:focus-visible + span { outline: 3px solid #8DB58E; outline-offset: 2px; }
.danger-confirm { margin-top: 12px; padding: 14px; background: #FDF4F6; border: 1px solid #F0DCDC; border-radius: 12px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.danger-confirm input { height: 42px; border-radius: 10px; border: 1px solid #E1E0D7; padding: 0 12px; flex: 1 1 160px; }
.danger-confirm[hidden] { display: none; }

/* ── Mesajlar ── */
.msg-shell { display: grid; gap: 20px; min-height: 70vh; align-items: stretch; }
.msg-list, .msg-thread { display: flex; flex-direction: column; overflow: hidden; }
.msg-shell .msg-thread { display: none; }
.msg-shell.has-active .msg-list { display: none; }
.msg-shell.has-active .msg-thread { display: flex; }
@media (min-width: 760px) {
    .msg-shell { grid-template-columns: 340px minmax(0, 1fr); min-height: 660px; }
    .msg-list, .msg-shell.has-active .msg-list { display: flex; }
    .msg-thread, .msg-shell.has-active .msg-thread { display: flex; }
    .msg-back { display: none; }
}

.msg-list-head { display: flex; align-items: center; gap: 12px; padding: 20px 20px 14px; }
.msg-list-head h1 { font-size: 26px; font-weight: 800; letter-spacing: -.5px; }
.msg-list-head .icon-btn { margin-left: auto; width: 42px; height: 42px; border-radius: 11px; border: 1px solid #E1E0D7; font-size: 16px; }
.msg-search { position: relative; padding: 0 20px 14px; }
.msg-search span { position: absolute; left: 34px; top: 50%; transform: translateY(-50%); color: #6E786E; font-size: 14px; }
.msg-search input { width: 100%; height: 44px; border-radius: 10px; border: 1px solid #E1E0D7; background: #fff; padding: 0 14px 0 40px; font-size: 14px; }
.msg-search input:focus { border-color: #8DB58E; box-shadow: 0 0 0 3px var(--green-xl); outline: none; }
.msg-tabs { display: flex; flex-wrap: wrap; gap: 2px; padding: 0 16px; border-bottom: 1px solid #EFEDE4; overflow-x: auto; }
.msg-tab { height: 46px; padding: 0 9px; border: none; background: none; font-weight: 600; font-size: 14px; color: #6E786E; white-space: nowrap; border-bottom: 3px solid transparent; cursor: pointer; }
.msg-tab.on { color: #3D6B4C; font-weight: 800; border-color: var(--green); }
.msg-list-scroll { flex: 1; overflow-y: auto; }

.avatar.md { width: 46px; height: 46px; font-size: 17px; }
.conv-avatar-wrap { position: relative; flex-shrink: 0; }
.conv-online-dot { position: absolute; right: -1px; bottom: -1px; width: 10px; height: 10px; border-radius: 50%; background: #4CAF50; border: 2px solid #fff; }
.conv-row { display: flex; align-items: center; gap: 13px; padding: 14px 20px; border-top: 1px solid var(--line-2); border-left: 3px solid transparent; color: var(--text); min-height: 64px; }
.conv-row:first-child { border-top: 0; }
.conv-row:hover { background: #FAFAF6; text-decoration: none; color: var(--text); }
.conv-row.on { background: #F3F8F1; border-left-color: var(--green); text-decoration: none; color: var(--text); }
.conv-row[hidden] { display: none; }
.conv-body { min-width: 0; flex: 1; }
.conv-top { display: flex; justify-content: space-between; gap: 8px; font-size: 15px; }
.conv-top strong { font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.conv-time { color: #6E786E; font-size: 12.5px; flex-shrink: 0; }
.conv-bottom { display: flex; align-items: flex-end; gap: 8px; margin-top: 4px; }
.conv-preview { flex: 1; min-width: 0; font-size: 13.5px; line-height: 1.45; color: #6E786E; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.conv-preview.unread { color: #4B554C; }
.conv-unread { flex-shrink: 0; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--green); color: #fff; font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.msg-no-match { padding: 24px 16px; }

.msg-thread-head { display: flex; align-items: center; gap: 14px; padding: 16px 22px; border-bottom: 1px solid #EFEDE4; }
.msg-back { font-size: 22px; color: var(--text); padding: 4px 8px; }
.msg-thread-name { color: var(--text); min-width: 0; }
.msg-thread-name:hover { text-decoration: none; }
.msg-thread-name strong { display: block; font-size: 18px; font-weight: 800; letter-spacing: -.2px; }
.msg-status { display: flex; align-items: center; gap: 7px; font-size: 13px; color: #6E786E; }
.dot-live { width: 8px; height: 8px; border-radius: 50%; background: #4CAF50; display: inline-block; }
.msg-thread-head .entry-actions > summary { font-size: 17px; }

.msg-bubbles { flex: 1; overflow-y: auto; padding: 22px 24px; display: flex; flex-direction: column; gap: 16px; background: #fff; }
.msg-date-label { text-align: center; font-size: 12.5px; color: #6E786E; margin-bottom: 4px; }
.msg-date-label:first-child { margin-top: 0; }
.bubble-row { display: flex; align-items: flex-end; gap: 11px; }
.bubble-row.them { justify-content: flex-start; }
.bubble-row.me { justify-content: flex-end; }
.bubble { max-width: 70%; min-width: 120px; padding: 13px 16px 9px; border-radius: 14px; font-size: 14.8px; line-height: 1.6; }
.bubble p { margin: 0; overflow-wrap: anywhere; color: #333E36; }
.bubble time { display: flex; align-items: center; gap: 4px; justify-content: flex-end; font-size: 11.5px; color: #6E786E; margin-top: 6px; }
.bubble.them { background: #F4F5F1; border: 1px solid #EBEBE3; border-radius: 4px 14px 14px 14px; }
.bubble.me { background: #E8F2E3; border: 1px solid #DAEAD3; border-radius: 14px 4px 14px 14px; }
.ticks { letter-spacing: -1px; }
.ticks.read { color: #3E8CDE; opacity: 1; }

.msg-compose { padding: 14px 20px 18px; border-top: 1px solid #EFEDE4; }
.msg-compose-inner { display: flex; align-items: center; gap: 12px; border: 1px solid #E1E0D7; border-radius: 12px; padding: 6px 8px 6px 14px; background: #fff; }
.msg-compose input[type=text] { flex: 1; min-width: 0; height: 44px; border: none; outline: none; background: none; font-size: 15px; padding: 0 4px; }
.msg-icon-btn { width: 32px; height: 32px; flex-shrink: 0; border: none; background: none; font-size: 17px; color: #6E786E; border-radius: 50%; cursor: pointer; }
.msg-icon-btn:hover { background: #F1EFE5; }
.msg-send { border-radius: 10px; width: 46px; height: 44px; padding: 0; flex-shrink: 0; }

/* ── Doğrulama şeridi ── */
.verify-banner { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: center; background: var(--cream); border-bottom: 1px solid var(--cream-line); padding: 10px 16px; font-size: 13.5px; color: #6B5A2A; text-align: center; }

/* ── Bildirimler ── */
.notif-row { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-top: 1px solid var(--line-2); }
.notif-row:first-child { border-top: 0; }
.notif-row.unread { background: #F6FAF4; }
.notif-ico { width: 36px; height: 36px; border-radius: 50%; background: var(--green-l); color: var(--green-d); display: grid; place-items: center; flex-shrink: 0; font-size: 16px; }
.notif-text { font-size: 14px; line-height: 1.5; }
.notif-time { font-size: 12px; color: var(--muted); margin-top: 2px; }

/* ── Entry aksiyon menüsü ── */
.entry-actions { position: relative; }
.entry-actions > summary { list-style: none; cursor: pointer; color: #AAB3A9; font-size: 13px; padding: 6px 8px; border-radius: 8px; }
.entry-actions > summary::-webkit-details-marker { display: none; }
.entry-actions > summary:hover { background: #F1EFE5; }
.entry-actions[open] > summary { background: #F1EFE5; }
.entry-actions .menu { position: absolute; right: 0; top: calc(100% + 4px); background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 6px 20px rgba(40, 50, 40, .12); min-width: 160px; z-index: 5; overflow: hidden; }
.entry-actions .menu a, .entry-actions .menu button { display: block; width: 100%; text-align: left; padding: 10px 14px; font-size: 13.5px; font-weight: 600; color: var(--text); background: none; border: 0; cursor: pointer; }
.entry-actions .menu a:hover, .entry-actions .menu button:hover { background: var(--green-l); text-decoration: none; }
.entry-actions .menu form { margin: 0; }
.entry-edited { color: var(--muted); font-size: 12px; font-style: italic; }

/* ── Yorumlar ── */
.comments { margin-top: 4px; }
.comments > summary { list-style: none; color: #7E8A80; font-size: 13.5px; font-weight: 600; cursor: pointer; }
.comments > summary::-webkit-details-marker { display: none; }
.comments > summary:hover { color: var(--green-d); }
.comment-list { margin-top: 10px; display: flex; flex-direction: column; gap: 10px; }
.comment-row { display: flex; gap: 10px; }
.comment-row .avatar { width: 28px; height: 28px; font-size: 12px; }
.comment-body { background: #F6F5EF; border-radius: 12px; padding: 8px 12px; font-size: 13.5px; line-height: 1.5; }
.comment-body strong { font-size: 13px; }
.comment-form { display: flex; gap: 8px; margin-top: 10px; }
.comment-form input { flex: 1; height: 38px; border-radius: 10px; border: 1px solid var(--line); padding: 0 12px; }

/* ── Yönetim paneli ── */
.report-row { padding: 16px; border-top: 1px solid var(--line-2); }
.report-row:first-child { border-top: 0; }
.report-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 12.5px; color: var(--muted); margin-bottom: 8px; }
.report-reason { background: #FBEBE8; color: #8C2F26; border-radius: 8px; padding: 3px 9px; font-weight: 700; }
.report-preview { background: #F6F5EF; border-radius: 10px; padding: 10px 12px; font-size: 14px; margin-bottom: 10px; }
.report-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.report-actions form { display: inline; }

/* ══════════ Giriş / Üye Ol — standart site header/footer içindeki kart bileşenleri ══════════ */
.accent { color: var(--green); }
.auth-card .field-hint { font-size: 12.5px; color: #7E8A80; margin: 6px 0 16px; }
.auth-card .err { color: var(--danger); font-size: 13px; margin: -10px 0 14px; font-weight: 600; }
.err-inline { color: var(--danger); }

.icon-field { position: relative; margin-bottom: 18px; }
.icon-field > span:first-child { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); font-size: 15px; color: #8FA890; pointer-events: none; }
.icon-field input {
    width: 100%; height: 50px; border-radius: 10px; border: 1px solid #E1E0D7; background: #fff;
    padding: 0 44px; font-family: var(--font); font-size: 15px; color: var(--text); outline: none;
}
.icon-field input:focus { border-color: #8DB58E; box-shadow: 0 0 0 3px var(--green-xl); }
.icon-field.invalid input { border-color: var(--danger); }
.pw-toggle { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border: none; background: none; font-size: 15px; color: #6E786E; cursor: pointer; border-radius: 8px; }
.pw-toggle:hover { background: #F1EFE5; }

.auth-2col { display: grid; gap: 14px; margin-bottom: 4px; }
@media (min-width: 480px) { .auth-2col { grid-template-columns: 1fr 1fr; } }

.auth-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 20px; }
.forgot-link { margin-left: auto; font-size: 14px; font-weight: 700; }

.check-box { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: #4B554C; cursor: pointer; }
.check-box input { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.check-box .box { width: 24px; height: 24px; border-radius: 7px; border: 1.5px solid #D5D3C8; background: #fff; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 800; color: transparent; margin-top: 1px; }
.check-box input:checked + .box { background: var(--green); border-color: var(--green); color: #fff; }
.check-box input:focus-visible + .box { outline: 3px solid #8DB58E; outline-offset: 2px; }

.btn-lg { height: 52px; font-size: 16px; border-radius: 10px; }
@media (min-width: 640px) { .btn-lg { height: 54px; } }

.auth-divider { display: flex; align-items: center; gap: 14px; margin: 20px 0; }
.auth-divider span { flex: 1; height: 1px; background: #EAE8DF; }
.auth-divider em { font-style: normal; font-size: 14px; color: #6E786E; }

.oauth-btn {
    width: 100%; height: 50px; border-radius: 10px; border: 1px solid #E1E0D7; background: #fff;
    font-weight: 700; font-size: 14.5px; color: #3F4A42; display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 10px;
}
.oauth-btn:hover { border-color: #8DB58E; background: #FAFCF9; }
.oauth-g { font-size: 16px; font-weight: 800; color: #4285F4; }

/* Giriş sayfası altındaki özellik kartları */
.auth-features { display: grid; gap: 26px; padding: 6px 4px 4px; text-align: center; }
@media (min-width: 640px) { .auth-features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .auth-features { grid-template-columns: repeat(4, 1fr); } }
.auth-feature .ico { width: 52px; height: 52px; border-radius: 50%; background: var(--green-l); color: var(--green-d); display: flex; align-items: center; justify-content: center; font-size: 21px; margin: 0 auto 12px; }
.auth-feature .ft { font-size: 15px; font-weight: 800; margin-bottom: 6px; }
.auth-feature p { margin: 0; font-size: 13.5px; line-height: 1.6; color: #6E786E; }

.auth-card-brand { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 20px; }
.auth-card-brand .brand-name { font-size: 20px; }
.auth-card-brand .brand-tag { display: block; }

/* ── Reklam alanları ── */
.ad-card { position: relative; padding: 14px; }
.ad-label { position: absolute; top: 10px; right: 12px; font-size: 10px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; color: var(--muted); background: #F3F1EA; padding: 2px 7px; border-radius: 6px; }
.ad-link { display: flex; flex-direction: column; gap: 8px; color: var(--text); }
.ad-link:hover { text-decoration: none; color: var(--text); }
.ad-img { width: 100%; max-height: 140px; object-fit: cover; border-radius: 10px; }
.ad-title { font-weight: 800; font-size: 15px; padding-right: 60px; }
.ad-body { font-size: 13px; color: var(--text-2); line-height: 1.5; }
.header-strip-wrap:empty { display: none; }
.header-strip-wrap { max-width: 1560px; margin: 0 auto; padding: 0 16px; }
.header-strip-wrap .ad-card { margin-top: 10px; }
.header-strip-wrap .ad-link { flex-direction: row; align-items: center; gap: 14px; }
.header-strip-wrap .ad-img { width: 120px; max-height: 64px; flex-shrink: 0; }
.header-strip-wrap .ad-title { padding-right: 0; }
@media (min-width: 700px) { .header-strip-wrap { padding: 0 24px; } }

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
