/* =====================================================================
   pages.css — eski sayfa içi stiller
   Sayfaya özel kurallar, sayfanın <body> sınıfıyla sınırlı (:where → özgüllük değişmez).
   Sıra, eski sayfa içi <style> bloklarının sırasıyla aynıdır.
   ===================================================================== */

/* ---------- includes/header.php (ortak) ---------- */
#message-menu { right: 0; top: calc(100% + 10px); width: 24rem; max-width: calc(100vw - 2rem); }
/* masaüstünde açılır pencereler ikonun tam ortasından açılsın */
@media (min-width: 768px) {
    #notification-menu, #message-menu { right: auto; left: 50%; transform: translateX(calc(-50% + var(--pop-shift, 0px))); }
}
@media (max-width: 767px) {
    #message-menu { position: fixed; top: 5rem; left: 50%; right: auto; transform: translateX(-50%); width: calc(100vw - 2rem); max-width: 24rem; }
}
#message-menu .notif-item .n-text b { color: rgb(var(--ink)); }
#message-menu .n-preview { display: block; margin-top: .125rem; color: rgb(var(--n-600)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 15.5rem; }
#message-menu .n-count { flex-shrink: 0; align-self: center; min-width: 1.35rem; height: 1.35rem; padding: 0 .4rem; border-radius: 999px; background: rgb(var(--r-500)); color: #fff; font: 700 .6875rem/1.35rem var(--font-mono); text-align: center; }
#message-menu .pop-foot { display: flex; justify-content: space-between; gap: .75rem; }

/* ---------- includes/entry-editor.php (ortak) ---------- */
.ql-container{border:none !important;font-size:15px;max-width:100%;min-width:0;box-sizing:border-box}
.ql-editor.ql-blank::before{color:rgb(var(--n-400));font-style:normal}
.editor-custom-toolbar{display:flex;flex-wrap:wrap;gap:4px}
.editor-char-counter{padding:8px 20px;text-align:right;font-size:12px;color:rgb(var(--n-400));background:rgb(var(--n-50));border-top:1px solid rgb(var(--n-200))}
.editor-char-counter.warning{color:rgb(var(--o-500))}
.editor-char-counter.error{color:rgb(var(--r-500))}
.editor-modal{display:none;position:fixed;inset:0;background:rgb(var(--n-900) / 0.50);z-index:9999;align-items:center;justify-content:center;padding:20px}
.editor-modal.active{display:flex}
.editor-modal-content{background:rgb(var(--card));border-radius:3px;padding:24px;max-width:480px;width:100%;box-shadow:var(--sh-2)}
.editor-modal-header{font-size:18px;font-weight:600;color:rgb(var(--n-800));margin-bottom:16px}
.editor-modal-input{width:100%;padding:12px;border:1px solid rgb(var(--n-200));border-radius:3px;font-size:14px;outline:none;margin-bottom:12px;box-sizing:border-box;transition:border-color 0.2s}
.editor-modal-input:focus{border-color:rgb(var(--a-600));box-shadow:var(--sh-2)}
.editor-modal-actions{display:flex;gap:8px;justify-content:flex-end;margin-top:16px}
.editor-modal-btn{padding:10px 20px;border:none;border-radius:3px;font-size:14px;font-weight:500;cursor:pointer;transition:background-color .12s ease, color .12s ease, border-color .12s ease, box-shadow .12s ease, opacity .12s ease}
.editor-modal-btn-primary{background:rgb(var(--a-600));color:#fff}
.editor-modal-btn-primary:hover{background:rgb(var(--a-700))}
.editor-modal-btn-secondary{background:rgb(var(--n-100));color:rgb(var(--n-500))}
.editor-modal-btn-secondary:hover{background:rgb(var(--n-200))}
.editor-modal-sep{display:flex;align-items:center;gap:8px;margin:12px 0;color:rgb(var(--n-400));font-size:13px}
.editor-modal-sep::before,.editor-modal-sep::after{content:'';flex:1;height:1px;background:rgb(var(--n-200))}
@media (max-width: 640px){.ql-toolbar.ql-snow{padding:8px !important}
.ql-toolbar .ql-formats{margin-right:4px !important}
}

/* ---------- includes/static-page.php (ortak) ---------- */
.bx-doc{font-size:1rem;line-height:1.75;color:rgb(var(--n-800));max-width:72ch}
.bx-doc h2{font:700 1.375rem/1.25 var(--font-display);letter-spacing:-.02em;margin:1.75rem 0 .5rem;color:rgb(var(--ink))}
.bx-doc h3{font:700 1.125rem/1.3 var(--font-display);margin:1.25rem 0 .4rem;color:rgb(var(--ink))}
.bx-doc p{margin:0 0 .9rem}
.bx-doc ul,.bx-doc ol{margin:0 0 1rem;padding-left:1.25rem}
.bx-doc li{margin:.25rem 0}
.bx-doc a{color:rgb(var(--accent-strong))}
.bx-doc blockquote{margin:1rem 0;padding:.75rem 1rem;border-radius:14px;background:rgb(var(--n-100))}
.bx-doc hr{border:0;border-top:1px solid rgb(var(--line-soft));margin:1.5rem 0}
.bx-doc > :first-child{margin-top:0}

/* ---------- ayarlar.php → .p-ayarlar ---------- */
:where(.p-ayarlar) .settings-container {max-width:1200px;margin:0 auto;padding:2rem 1rem}
:where(.p-ayarlar) .settings-layout {display:grid;grid-template-columns:280px 1fr;gap:2rem}
@media (max-width: 768px){:where(.p-ayarlar) .settings-layout {grid-template-columns:1fr}
:where(.p-ayarlar) .settings-tabs {display:flex;overflow-x:auto;gap:0.5rem;padding-bottom:1rem;border-bottom:2px solid rgb(var(--n-200));margin-bottom:1.5rem}
:where(.p-ayarlar) .settings-tabs .tab-item {border-left:none !important;white-space:nowrap}
}
:where(.p-ayarlar) .settings-tabs {display:flex;flex-direction:column;gap:0.5rem}
:where(.p-ayarlar) .tab-item {display:flex;align-items:center;gap:0.75rem;padding:1rem 1.25rem;background:rgb(var(--card));border:var(--bw) solid rgb(var(--line));border-left:4px solid transparent;color:rgb(var(--n-500));font-weight:500;text-decoration:none;transition:background-color .12s ease, color .12s ease, border-color .12s ease, box-shadow .12s ease, opacity .12s ease}
:where(.p-ayarlar) .tab-item:hover {background:rgb(var(--n-50));color:rgb(var(--a-600));border-left-color:rgb(var(--a-600))}
:where(.p-ayarlar) .tab-item.active {background:rgb(var(--a-50));color:rgb(var(--a-700));border-left-color:rgb(var(--a-700));font-weight:600}
:where(.p-ayarlar) .tab-item i {font-size:20px}
:where(.p-ayarlar) .settings-content {background:rgb(var(--card));border:var(--bw) solid rgb(var(--line));padding:2rem}
:where(.p-ayarlar) .notification-option {display:flex;align-items:start;gap:1rem;padding:1.25rem;background:rgb(var(--n-50));border:1px solid rgb(var(--n-200));transition:background-color .12s ease, color .12s ease, border-color .12s ease, box-shadow .12s ease, opacity .12s ease}
:where(.p-ayarlar) .notification-option:hover {background:rgb(var(--n-100));border-color:rgb(var(--n-300))}
:where(.p-ayarlar) .notification-option input[type="checkbox"] {width:20px;height:20px;margin-top:0.25rem;cursor:pointer;accent-color:rgb(var(--a-600))}
:where(.p-ayarlar) .notification-option-content {flex:1}
:where(.p-ayarlar) .notification-option-title {font-weight:600;color:rgb(var(--n-900));margin-bottom:0.25rem}
:where(.p-ayarlar) .notification-option-desc {font-size:0.875rem;color:rgb(var(--n-500))}

/* ---------- baslik.php → .p-baslik ---------- */
:where(.p-baslik) .avatar {width:2rem;height:2rem;border-radius:var(--radius-sm);object-fit:cover;border:var(--bw) solid rgb(var(--line));transition:background-color .12s ease, color .12s ease, border-color .12s ease, box-shadow .12s ease, opacity .12s ease}

:where(.p-baslik) .follow-topic-btn.following {border-color:rgb(var(--a-600));background:rgb(var(--a-100));color:rgb(var(--a-700));font-weight:600}

:where(.p-baslik) .follow-topic-btn.following:hover {border-color:rgb(var(--r-500));background:rgb(var(--r-100));color:rgb(var(--r-500))}
:where(.p-baslik) .toast-notification.show {transform:translateX(0);opacity:1}
:where(.p-baslik) .toast-notification.error {background:rgb(var(--r-500))}
:where(.p-baslik) .toast-icon {width:2.5rem;height:2.5rem;border-radius:50%;background:rgb(var(--card) / 0.20);display:flex;align-items:center;justify-content:center;flex-shrink:0}
:where(.p-baslik) .toast-icon i {color:white}
:where(.p-baslik) .toast-content h4 {font-size:0.9375rem;font-weight:700;color:white;margin:0}
:where(.p-baslik) .custom-modal.active {display:flex;align-items:center;justify-content:center}
:where(.p-baslik) .report-reason.selected {border-color:rgb(var(--o-500));background:rgb(var(--o-100));box-shadow:var(--shadow-md)}
@media (max-width: 640px){:where(.p-baslik) .avatar {width:1.75rem;height:1.75rem}
}

@media (max-width: 640px){:where(.p-baslik) .topic-title {word-wrap:break-word;overflow-wrap:break-word;max-width:100%}
}
@media (max-width: 640px){:where(.p-baslik) .ql-toolbar.ql-snow {display:flex !important;flex-wrap:wrap !important;padding:8px !important;overflow:hidden !important;box-sizing:border-box !important}
:where(.p-baslik) .ql-toolbar .ql-formats {margin-right:4px !important;flex-shrink:0}
:where(.p-baslik) .ql-container.ql-snow {max-width:100% !important;overflow:hidden !important;box-sizing:border-box !important}
}
/* başlık kutusu: ferah aralıklar (bento.css'ten bağımsız çalışır) */
:where(.p-baslik) .bx .tp-head {padding:1.75rem 2rem 1.5rem;gap:1rem}
:where(.p-baslik) .bx .tp-head .bx-crumb {margin-bottom:.125rem}
:where(.p-baslik) .bx .tp-head .bx-h1 {margin:0;line-height:1.05}
:where(.p-baslik) .bx .tp-meta {display:flex;flex-wrap:wrap;align-items:center;gap:.5rem;font:500 .8125rem var(--font-mono);color:rgb(var(--n-600))}
:where(.p-baslik) .bx .tp-meta > span {display:inline-flex;align-items:center;gap:.4rem;padding:.3rem .75rem;border-radius:999px;background:rgb(var(--n-100))}
:where(.p-baslik) .bx .tp-meta > span i {margin:0;color:rgb(var(--n-500))}
:where(.p-baslik) .bx .tp-meta .tp-cat {margin-right:.125rem}
:where(.p-baslik) .bx .tp-bar {display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.75rem 1.25rem;margin-top:.25rem;padding-top:1.125rem;border-top:1px solid rgb(var(--line-soft))}
:where(.p-baslik) .bx .tp-acts {display:flex;flex-wrap:wrap;align-items:center;gap:.5rem}
:where(.p-baslik) .bx .tp-head .action-btn, :where(.p-baslik) .bx .tp-head .follow-topic-btn {display:inline-flex;align-items:center;justify-content:center;gap:.45rem;min-height:38px;padding:0 .9rem}
:where(.p-baslik) .bx .tp-bar .pg-filter {display:flex;align-items:center;gap:.625rem;margin:0;padding:0;border:0}
@media (max-width:660px){
:where(.p-baslik) .bx .tp-head {padding:1.125rem 1.125rem 1rem;gap:.75rem}
:where(.p-baslik) .bx .tp-meta {font-size:.75rem;gap:.4rem}
:where(.p-baslik) .bx .tp-meta > span {padding:.25rem .625rem}
:where(.p-baslik) .bx .tp-bar {padding-top:.875rem;gap:.75rem}
:where(.p-baslik) .bx .tp-acts {gap:.3rem;flex-wrap:nowrap;width:100%}
:where(.p-baslik) .bx .tp-head .action-btn {min-height:34px;padding:0 .55rem;gap:.3rem;flex:none}
:where(.p-baslik) .bx .tp-head .follow-topic-btn {min-height:34px;padding:0 .75rem;flex:1 1 auto;min-width:0;white-space:nowrap}
:where(.p-baslik) .bx .tp-bar .pg-filter {width:100%}
:where(.p-baslik) .bx .tp-bar .pg-flabel {display:none}
:where(.p-baslik) .bx .tp-head .bx-seg.sm {width:100%;justify-content:space-between}
}
/* çok dar ekranlarda takip butonu sadece zil ikonu olsun, rapor butonu üst satırda kalsın */
@media (max-width:380px){:where(.p-baslik) .bx .tp-head .follow-topic-btn .follow-label {display:none}}

/* ---------- bugun.php → .p-bugun ---------- */
:where(.p-bugun) .entry-left-col {flex-shrink:0;display:flex;flex-direction:column;align-items:center;gap:0.5rem}
:where(.p-bugun) .topic-title {font-size:1rem;font-weight:600;color:var(--text-primary);text-decoration:none;display:block;line-height:1.4;transition:color 0.2s ease}
@media (min-width: 640px){:where(.p-bugun) .topic-title {font-size:1.125rem}
}
:where(.p-bugun) .topic-title:hover {color:var(--accent-primary)}
:where(.p-bugun) .avatar {width:2rem;height:2rem;object-fit:cover;border:var(--bw) solid rgb(var(--line));transition:background-color .12s ease, color .12s ease, border-color .12s ease, box-shadow .12s ease, opacity .12s ease;border-radius:2px}

:where(.p-bugun) .empty-state {background:var(--bg-primary);border:var(--bw) solid rgb(var(--line));padding:3rem 1.5rem;text-align:center}
:where(.p-bugun) .empty-state-icon {width:64px;height:64px;background:var(--bg-secondary);display:flex;align-items:center;justify-content:center;margin:0 auto 1rem;font-size:2rem}
:where(.p-bugun) .empty-state h3 {font-size:1.125rem;font-weight:600;color:var(--text-primary);margin-bottom:0.5rem}
:where(.p-bugun) .empty-state p {color:var(--text-secondary);font-size:0.875rem}
:where(.p-bugun) .custom-modal.active {display:flex;align-items:center;justify-content:center}
:where(.p-bugun) .report-reason.selected {border-color:rgb(var(--o-500));background:rgb(var(--o-100));box-shadow:var(--shadow-md)}

:where(.p-bugun) .toast-notification.show {transform:translateX(0);opacity:1}
:where(.p-bugun) .toast-notification.error {background:rgb(var(--r-500))}
:where(.p-bugun) .toast-icon {width:2.5rem;height:2.5rem;background:rgb(var(--card) / 0.20);display:flex;align-items:center;justify-content:center;flex-shrink:0}
:where(.p-bugun) .toast-icon i {color:white}
:where(.p-bugun) .toast-content h4 {font-size:0.9375rem;font-weight:700;color:white;margin:0}

/* ---------- caylaklar.php → .p-caylaklar ---------- */
@media (max-width: 640px){:where(.p-caylaklar) .avatar {width:2.25rem;height:2.25rem}
}
:where(.p-caylaklar) .topic-title {font-size:1rem;font-weight:600;color:var(--text-primary);text-decoration:none;display:block;margin-bottom:0.875rem;line-height:1.4;transition:color 0.2s ease}
@media (min-width: 640px){:where(.p-caylaklar) .topic-title {font-size:1.125rem}
}
:where(.p-caylaklar) .topic-title:hover {color:var(--accent-primary)}
:where(.p-caylaklar) .avatar {width:2rem;height:2rem;object-fit:cover;border:var(--bw) solid rgb(var(--line));transition:background-color .12s ease, color .12s ease, border-color .12s ease, box-shadow .12s ease, opacity .12s ease}

:where(.p-caylaklar) .pagination-btn:hover:not(.active) {background:var(--bg-hover);border-color:var(--border-medium)}
:where(.p-caylaklar) .pagination-btn.active {background:var(--accent-primary);color:white;border-color:var(--accent-primary)}
:where(.p-caylaklar) .custom-modal.active {display:flex;align-items:center;justify-content:center}
:where(.p-caylaklar) .report-reason.selected {border-color:rgb(var(--o-500));background:rgb(var(--o-100));box-shadow:var(--shadow-md)}
:where(.p-caylaklar) .toast-notification.show {transform:translateX(0);opacity:1}
:where(.p-caylaklar) .toast-notification.error {background:rgb(var(--r-500))}
:where(.p-caylaklar) .toast-icon {width:2.5rem;height:2.5rem;background:rgb(var(--card) / 0.20);display:flex;align-items:center;justify-content:center;flex-shrink:0}
:where(.p-caylaklar) .toast-icon i {color:white}
:where(.p-caylaklar) .toast-content h4 {font-size:0.9375rem;font-weight:700;color:white;margin:0}

@media (max-width: 640px){:where(.p-caylaklar) .topic-title {word-wrap:break-word;overflow-wrap:break-word;max-width:100%}
}

/* ---------- debe.php → .p-debe ---------- */
:where(.p-debe) a.topic-title[style] {font-size:1rem !important;margin-bottom:0 !important}
@media (min-width: 640px){:where(.p-debe) a.topic-title[style] {font-size:1.125rem !important}
}
:where(.p-debe) .empty-state h3 {font-size:1rem !important}
:where(.p-debe) .empty-state p {font-size:0.75rem !important}

:where(.p-debe) .entry-left-col {flex-shrink:0;display:flex;flex-direction:column;align-items:center;gap:0.5rem}

:where(.p-debe) .topic-title {font-size:1.125rem;font-weight:600;color:var(--text-primary);text-decoration:none;display:block;line-height:1.4;transition:color 0.2s ease}
@media (min-width: 640px){:where(.p-debe) .topic-title {font-size:1.25rem}
}
:where(.p-debe) .topic-title:hover {color:var(--accent-primary)}
:where(.p-debe) .avatar {width:2rem;height:2rem;object-fit:cover;border:var(--bw) solid rgb(var(--line));transition:background-color .12s ease, color .12s ease, border-color .12s ease, box-shadow .12s ease, opacity .12s ease;border-radius:2px}

:where(.p-debe) .empty-state {background:var(--bg-primary);border:var(--bw) solid rgb(var(--line));padding:3rem 1.5rem;text-align:center}
:where(.p-debe) .empty-state-icon {width:64px;height:64px;background:var(--bg-secondary);display:flex;align-items:center;justify-content:center;margin:0 auto 1rem;font-size:2rem}
:where(.p-debe) .empty-state h3 {font-size:1.125rem;font-weight:600;color:var(--text-primary);margin-bottom:0.5rem}
:where(.p-debe) .empty-state p {color:var(--text-secondary);font-size:0.875rem}
:where(.p-debe) .custom-modal.active {display:flex;align-items:center;justify-content:center}
:where(.p-debe) .report-reason.selected {border-color:rgb(var(--o-500));background:rgb(var(--o-100));box-shadow:var(--shadow-md)}

:where(.p-debe) .toast-notification.show {transform:translateX(0);opacity:1}
:where(.p-debe) .toast-notification.error {background:rgb(var(--r-500))}
:where(.p-debe) .toast-icon {width:2.5rem;height:2.5rem;background:rgb(var(--card) / 0.20);display:flex;align-items:center;justify-content:center;flex-shrink:0}
:where(.p-debe) .toast-icon i {color:white}
:where(.p-debe) .toast-content h4 {font-size:0.9375rem;font-weight:700;color:white;margin:0}

/* ---------- edit-topic.php → .p-edit-topic ---------- */
:where(.p-edit-topic) .edit-container {background:rgb(var(--card));animation:fadeIn 0.6s ease-out}
:where(.p-edit-topic) .form-input {transition:background-color .12s ease, color .12s ease, border-color .12s ease, box-shadow .12s ease, opacity .12s ease}
:where(.p-edit-topic) .form-input:focus {transform:translateY(-2px);box-shadow:var(--sh-2)}
:where(.p-edit-topic) .save-btn {position:relative;overflow:hidden}
:where(.p-edit-topic) .save-btn::before {content:'';position:absolute;top:50%;left:50%;width:0;height:0;background:rgb(var(--card) / 0.30);border-radius:50%;transform:translate(-50%, -50%);transition:background-color .12s ease, color .12s ease, border-color .12s ease, box-shadow .12s ease, opacity .12s ease}
:where(.p-edit-topic) .save-btn:hover::before {width:300px;height:300px}

/* ---------- entry.php → .p-entry ---------- */
:where(.p-entry) .topic-title {font-size:1rem;font-weight:600;color:var(--text-primary);text-decoration:none;display:block;margin-left:0.75rem;margin-top:0.5rem;margin-bottom:0.75rem;margin-right:0.75rem;line-height:1.4;letter-spacing:-0.02em;transition:background-color .12s ease, color .12s ease, border-color .12s ease, box-shadow .12s ease, opacity .12s ease}

:where(.p-entry) .avatar {width:2.5rem;height:2.5rem;object-fit:cover;border:var(--bw) solid rgb(var(--line));transition:background-color .12s ease, color .12s ease, border-color .12s ease, box-shadow .12s ease, opacity .12s ease}

@media (max-width: 640px){:where(.p-entry) .topic-title {font-size:0.9375rem !important;margin-left:0.5rem !important;margin-right:0.5rem !important;margin-top:0.375rem !important;margin-bottom:0.5rem !important}

}
:where(.p-entry) .custom-modal.active {display:flex;align-items:center;justify-content:center}
:where(.p-entry) .report-reason.selected {border-color:rgb(var(--o-500));background:rgb(var(--o-100));box-shadow:var(--shadow-md)}
:where(.p-entry) .toast-notification.show {transform:translateX(0);opacity:1}
:where(.p-entry) .toast-notification.error {background:rgb(var(--r-500))}
:where(.p-entry) .toast-icon {width:2.5rem;height:2.5rem;background:rgb(var(--card) / 0.20);display:flex;align-items:center;justify-content:center;flex-shrink:0}
:where(.p-entry) .toast-icon i {color:white}
:where(.p-entry) .toast-content h4 {font-size:0.9375rem;font-weight:700;color:white;margin:0}

/* ---------- iletisim.php → .p-iletisim ---------- */
:where(.p-iletisim) .ct-wrap {display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:1rem;align-items:start}
@media (max-width:900px){:where(.p-iletisim) .ct-wrap {grid-template-columns:minmax(0,1fr)}}
:where(.p-iletisim) .ct-form {padding:1.5rem 1.625rem;gap:1rem}
:where(.p-iletisim) .ct-form h2 {margin:0;font:700 1.25rem/1.2 var(--font-display);letter-spacing:-.02em}
:where(.p-iletisim) .ct-row {display:grid;grid-template-columns:1fr 1fr;gap:.875rem}
@media (max-width:560px){:where(.p-iletisim) .ct-row {grid-template-columns:1fr}}
:where(.p-iletisim) .ct-f {display:flex;flex-direction:column;gap:.375rem}
:where(.p-iletisim) .ct-f label {font:600 .8125rem var(--font-body);color:rgb(var(--ink))}
:where(.p-iletisim) .ct-f label small {font-weight:500;color:rgb(var(--n-500))}
:where(.p-iletisim) .ct-f input, :where(.p-iletisim) .ct-f textarea {width:100%;box-sizing:border-box;padding:.75rem .9rem;border-radius:12px;border:1px solid rgb(var(--line-soft));background:rgb(var(--n-100));color:rgb(var(--ink));font:400 .9375rem var(--font-body);transition:border-color .15s,background .15s}
:where(.p-iletisim) .ct-f input:focus, :where(.p-iletisim) .ct-f textarea:focus {outline:none;border-color:rgb(var(--accent-strong));background:rgb(var(--card));box-shadow:0 0 0 3px rgb(var(--accent-strong) / .15)}
:where(.p-iletisim) .ct-f textarea {min-height:150px;resize:vertical;line-height:1.55}
:where(.p-iletisim) .ct-topics {display:flex;flex-wrap:wrap;gap:.4rem}
:where(.p-iletisim) .ct-topics button {min-height:32px;padding:0 .8rem;border-radius:999px;border:1px solid rgb(var(--line-soft));background:transparent;color:rgb(var(--n-600));font:600 .78rem var(--font-body);cursor:pointer;display:inline-flex;align-items:center;gap:.35rem}
:where(.p-iletisim) .ct-topics button:hover {border-color:rgb(var(--ink));color:rgb(var(--ink))}
:where(.p-iletisim) .ct-topics button.on {background:rgb(var(--accent-strong));border-color:rgb(var(--accent-strong));color:rgb(var(--on-accent))}
:where(.p-iletisim) .ct-send {display:flex;align-items:center;justify-content:space-between;gap:.75rem;flex-wrap:wrap}
:where(.p-iletisim) .ct-send .bx-btn {min-height:46px;padding:0 1.5rem;font-size:.9375rem}
:where(.p-iletisim) .ct-msg {border-radius:14px;padding:.875rem 1rem;font-size:.875rem;display:flex;gap:.6rem;align-items:flex-start}
:where(.p-iletisim) .ct-msg.ok {background:rgb(var(--hx-green) / .14);color:rgb(var(--ink))}
:where(.p-iletisim) .ct-msg.err {background:rgb(var(--r-500) / .12);color:rgb(var(--ink))}
:where(.p-iletisim) .ct-side {display:flex;flex-direction:column;gap:1rem;min-width:0}
:where(.p-iletisim) .ct-mail {background:rgb(var(--hx-yellow))!important;border-color:rgb(var(--hx-yellow))!important;color: rgb(var(--on-hx));gap:.5rem}
:where(.p-iletisim) .ct-mail h2 {margin:0;font:800 1.25rem/1.15 var(--font-display);letter-spacing:-.02em}
:where(.p-iletisim) .ct-mail a {color:#14120e!important;font:700 .9375rem var(--font-mono);word-break:break-all}
:where(.p-iletisim) .ct-mail p {margin:0;font-size:.8125rem;color:#343434}
:where(.p-iletisim) .ct-soc {display:flex;flex-wrap:wrap;gap:.4rem}
:where(.p-iletisim) .ct-soc a {min-height:36px;padding:0 .8rem;border-radius:999px;background:rgb(var(--n-100));color:rgb(var(--ink));text-decoration:none;display:inline-flex;align-items:center;gap:.45rem;font-size:.8125rem;font-weight:600}
:where(.p-iletisim) .ct-soc a:hover {background:rgb(var(--ink));color:rgb(var(--card))}
:where(.p-iletisim) .ct-faq {list-style:none;margin:0;padding:0;display:flex;flex-direction:column}
:where(.p-iletisim) .ct-faq li {display:flex;gap:.6rem;padding:.55rem 0;border-top:1px solid rgb(var(--line-soft));font-size:.84375rem;line-height:1.45;color:rgb(var(--n-600))}
:where(.p-iletisim) .ct-faq li:first-child {border-top:0}
:where(.p-iletisim) .ct-faq i {color:rgb(var(--n-500));margin-top:.2rem;width:16px;text-align:center;flex:none}
:where(.p-iletisim) .ct-faq strong {color:rgb(var(--ink))}

/* ---------- index.php → .p-index ---------- */
@media (max-width: 640px){:where(.p-index) .topic-title {margin-top:0.25rem !important;margin-bottom:0.5rem !important;line-height:1.0 !important}
}
:where(.p-index) .topic-title {margin-left:0.75rem !important;margin-top:0.5rem !important;margin-bottom:0.75rem !important;margin-right:0.75rem !important}
:where(.p-index) .topic-title {font-size:1rem !important;font-weight:600 !important;color:var(--text-primary) !important;text-decoration:none !important;display:block !important;margin-bottom:0.75rem !important;line-height:1.4 !important;letter-spacing:-0.02em !important;transition:background-color .12s ease, color .12s ease, border-color .12s ease, box-shadow .12s ease, opacity .12s ease !important}
@media (min-width: 640px){:where(.p-index) .topic-title {font-size:1rem !important}
}
@media (max-width: 640px){:where(.p-index) .avatar {width:2.25rem;height:2.25rem}
}
:where(.p-index) .topic-title {font-size:1.375rem;font-weight:600;color:var(--text-primary);text-decoration:none;display:block;margin-bottom:0.75rem;line-height:1.4;letter-spacing:-0.02em;transition:background-color .12s ease, color .12s ease, border-color .12s ease, box-shadow .12s ease, opacity .12s ease}
@media (min-width: 640px){:where(.p-index) .topic-title {font-size:1rem}
}
:where(.p-index) .topic-title:hover {color:var(--accent-primary)}
:where(.p-index) .avatar {width:2.75rem;height:2.75rem;border-radius:var(--radius-md);object-fit:cover;border:var(--bw) solid rgb(var(--line));transition:background-color .12s ease, color .12s ease, border-color .12s ease, box-shadow .12s ease, opacity .12s ease}

@media (min-width: 640px){:where(.p-index) .avatar {width:3rem;height:3rem}
}
:where(.p-index) .pagination-btn:hover:not(.active) {background:rgb(var(--a-100))}
:where(.p-index) .pagination-btn.active {background:rgb(var(--a-500));color:white;border-color:rgb(var(--a-500))}
:where(.p-index) .toast-notification.show {transform:translateX(0);opacity:1}
:where(.p-index) .toast-notification.error {background:rgb(var(--r-500))}
:where(.p-index) .toast-icon {width:2.5rem;height:2.5rem;background:rgb(var(--card) / 0.20);display:flex;align-items:center;justify-content:center;flex-shrink:0}
:where(.p-index) .toast-icon i {color:white}
:where(.p-index) .toast-content h4 {font-size:0.9375rem;font-weight:700;color:white;margin:0 0 0.125rem 0}
:where(.p-index) .toast-content p {font-size:0.8125rem;color:rgba(255,255,255,0.90);margin:0}
:where(.p-index) .custom-modal.active {display:flex;align-items:center;justify-content:center}
:where(.p-index) .report-reason.selected {border-color:rgb(var(--o-500));background:rgb(var(--o-100));box-shadow:var(--shadow-md)}
:where(.p-index) .empty-state-icon {width:5rem;height:5rem;background:rgb(var(--a-100));border-radius:var(--radius-xl);display:flex;align-items:center;justify-content:center;margin:0 auto 1.25rem}
:where(.p-index) .empty-state-icon i {font-size:2.5rem;color:var(--accent-primary)}
@media (max-width: 640px){:where(.p-index) .topic-title {word-wrap:break-word;overflow-wrap:break-word;max-width:100%}
}
:where(.p-index) .avatar {font-size:0.875rem}
/* ---------- BENTO ---------- */
:where(.p-index) .bx {max-width:1360px;margin:0 auto;padding:1.25rem 1rem 2.5rem;display:flex;flex-direction:column;gap:1rem}
@media (min-width:640px){:where(.p-index) .bx {padding:1.5rem 1.5rem 3rem}}
:where(.p-index) .bx-grid {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem}
:where(.p-index) .bx-s2 {grid-column:span 2}:where(.p-index) .bx-s4 {grid-column:1/-1}
:where(.p-index) .bx-tile {background:rgb(var(--card));border:1px solid rgb(var(--line-soft));border-radius:22px;padding:1.375rem;min-width:0;display:flex;flex-direction:column;gap:.875rem;box-shadow:none}
:where(.p-index) .bx-soft {background:rgb(var(--n-100))}
:where(.p-index) .bx-head {display:flex;align-items:center;justify-content:space-between;gap:.75rem}
:where(.p-index) .bx-title {margin:0;display:flex;align-items:center;gap:.5rem;font:700 1.25rem/1.2 var(--font-display);letter-spacing:-.02em;color:rgb(var(--ink))}
:where(.p-index) .bx-title i {font-size:1rem;color:rgb(var(--n-500))}
:where(.p-index) .bx-more {font-size:.8125rem;font-weight:600;color:rgb(var(--accent-strong));text-decoration:none}
:where(.p-index) .bx-more:hover {text-decoration:underline}
:where(.p-index) .bx-mono {font-family:var(--font-mono);font-size:.75rem;font-weight:500;color:rgb(var(--n-500))}

/* öne çıkan */

:where(.p-index) .bx-badge {background:rgb(var(--mark));color:#14120e;font-family:var(--font-mono);font-size:.75rem;padding:.3rem .65rem;border-radius:999px}

:where(.p-index) .bx-foot {display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.75rem;padding-top:1rem;border-top:1px solid rgb(var(--line-soft))}

:where(.p-index) .bx-ava {width:2.5rem;height:2.5rem;border-radius:12px;object-fit:cover;display:grid;place-items:center;color:#fff;font-weight:700;font-size:.875rem;flex:none}

/* istatistik + cta */
:where(.p-index) .bx-stats {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.5rem}
:where(.p-index) .bx-num {display:block;font:800 1.625rem/1.1 var(--font-display);letter-spacing:-.03em;color:rgb(var(--ink))}
:where(.p-index) .bx-cta {background:rgb(var(--accent-strong));border-color:rgb(var(--accent-strong));color:rgb(var(--on-accent));justify-content:space-between}
:where(.p-index) .bx-cta p {margin:0;font:800 1.625rem/1.05 var(--font-display);letter-spacing:-.03em}
:where(.p-index) .bx-cta a {align-self:flex-start;min-height:44px;padding:0 1.1rem;border-radius:999px;background:rgb(var(--on-accent));color:rgb(var(--accent-strong));display:inline-flex;align-items:center;gap:.5rem;font-weight:600;font-size:.875rem;text-decoration:none}

/* kategoriler */

/* aktivite widget'ı kutunun içinde düz görünsün */

/* entry akışı */
:where(.p-index) .bx-feed {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.875rem}

:where(.p-index) .bx-card {background:rgb(var(--n-100));border-radius:16px;padding:1.125rem;display:flex;flex-direction:column;gap:.625rem;min-width:0}
:where(.p-index) .bx-card-title {font:700 1.125rem/1.25 var(--font-display);letter-spacing:-.02em;color:rgb(var(--ink));text-decoration:none;overflow-wrap:anywhere}
:where(.p-index) .bx-card-title:hover {color:rgb(var(--accent-strong))}
:where(.p-index) .bx-card .entry-text {font-size:.9375rem;line-height:1.6}
:where(.p-index) .bx-card .bx-foot {margin-top:auto;padding-top:.625rem}
:where(.p-index) .bx .action-btn {border-radius:999px;border:1px solid rgb(var(--line-soft));background:transparent;box-shadow:none;min-height:36px;padding:0 .75rem}
:where(.p-index) .bx .action-btn:active {transform:none}

@media (max-width:1040px){:where(.p-index) .bx-grid {grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:660px){:where(.p-index) .bx-grid {grid-template-columns:minmax(0,1fr)}:where(.p-index) .bx-s2 {grid-column:auto}:where(.p-index) .bx-feed {grid-template-columns:minmax(0,1fr)}:where(.p-index) .bx-tile {border-radius:18px;padding:1.125rem}}
/* başlık aç kutusu (bento.css'ten bağımsız) */
:where(.p-index) .bx .hx-cta {flex:1;display:flex;flex-direction:row !important;align-items:center;justify-content:space-between;gap:.875rem;padding:1.125rem 1.25rem;text-decoration:none;background:rgb(var(--ink)) !important;border-color:rgb(var(--ink)) !important;color:rgb(var(--card)) !important;font:800 1.25rem/1.1 var(--font-display);letter-spacing:-.02em}
html.dark :where(.p-index) .bx .hx-cta {background:rgb(var(--card)) !important;border-color:rgb(var(--line-soft)) !important;color:rgb(var(--ink)) !important}

:where(.p-index) .bx .hx-cta-btn {width:52px;height:52px;border-radius:16px;background:rgb(var(--hx-yellow));color: rgb(var(--on-hx));display:grid;place-items:center;flex:none;font-size:1.125rem;transition:transform .15s}
:where(.p-index) .bx .hx-cta:hover .hx-cta-btn {transform:rotate(90deg)}
:where(.p-index) .hy-cell.rec b i {font-size:.95rem;color:rgb(var(--hx-yellow));-webkit-text-stroke:1px rgb(var(--ink))}:where(.p-index) .hy-cell.rec span {white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
/* Neler oluyor? — canlı akış: sayaç + tür çubuğu + üst üste bildirim kartları */
:where(.p-index) .bx .ha3 {background:#14120e!important;border-color:#14120e!important;color:#efefef;padding:1.1rem 1.1rem .9rem;gap:.75rem;overflow:hidden;position:relative}
:where(.p-index) .ha3-hd {display:flex;align-items:center;justify-content:space-between;gap:.5rem}
:where(.p-index) .ha3-hd h2 {margin:0;display:flex;align-items:center;gap:.55rem;font:800 1.25rem/1 var(--font-display);letter-spacing:-.03em;color:#efefef}
:where(.p-index) .ha3-onair {display:inline-flex;align-items:center;gap:.35rem;height:22px;padding:0 .55rem;border-radius:6px;background:#777777;color:#fff;font:800 .62rem var(--font-mono);letter-spacing:.12em}
:where(.p-index) .ha3-onair i {width:6px;height:6px;border-radius:50%;background:#fff;animation:ha3blink 1s steps(2) infinite}
@keyframes ha3blink{50%{opacity:0}}
:where(.p-index) .ha3-hd a {font:700 .75rem var(--font-body);color:#cfcfcf!important;text-decoration:none}
:where(.p-index) .ha3-hd a:hover {text-decoration:underline}
:where(.p-index) .ha3-cn {display:flex;align-items:flex-end;gap:.75rem}
:where(.p-index) .ha3-cn b {font:900 3.25rem/.85 var(--font-display);letter-spacing:-.05em;color:#cfcfcf}
:where(.p-index) .ha3-cn span {font:500 .68rem/1.45 var(--font-mono);color:#9f9f9f;padding-bottom:.15rem}
:where(.p-index) .ha3-sg {display:flex;height:9px;gap:2px;border-radius:5px;overflow:hidden;margin-top:-.15rem}
:where(.p-index) .ha3-sg i {display:block;min-width:4px}
:where(.p-index) .ha3-lg {display:flex;flex-wrap:wrap;gap:.15rem .85rem;margin-top:-.4rem;font:500 .62rem var(--font-mono);color:#9f9f9f}
:where(.p-index) .ha3-lg span {display:inline-flex;align-items:center;gap:.3rem}
:where(.p-index) .ha3-lg i {width:7px;height:7px;border-radius:50%}
:where(.p-index) .ha3-empty {margin:0;padding:1rem;font:500 .8rem var(--font-mono);color:#949494}
:where(.p-index) .ha3-stack {position:relative;flex:1 1 auto;min-height:250px;overflow:hidden;-webkit-mask-image:linear-gradient(#000 80%,transparent);mask-image:linear-gradient(#000 80%,transparent)}
:where(.p-index) .ha3-n {--cb:#26231d;position:absolute;top:0;left:0;right:0;height:56px;display:grid;grid-template-columns:34px minmax(0,1fr) auto;gap:.65rem;align-items:center;padding:0 .75rem;border-radius:16px;text-decoration:none;color:#efefef;background:var(--cb);opacity:0;transform:translateY(330px);pointer-events:none;
    transition:transform .65s cubic-bezier(.2,.8,.2,1),opacity .65s ease,left .65s ease,right .65s ease,background-color .65s ease,color .65s ease}
:where(.p-index) .ha3-n:focus-visible {outline:2px solid #cfcfcf;outline-offset:2px}
:where(.p-index) .ha3-n[data-r="0"] {--cb:#fffdf7;transform:translateY(0);opacity:1;z-index:5;pointer-events:auto;color:#14120e}
:where(.p-index) .ha3-n[data-r="1"] {--cb:#2a2721;transform:translateY(64px);left:3%;right:3%;opacity:.92;z-index:4;pointer-events:auto}
:where(.p-index) .ha3-n[data-r="2"] {--cb:#221f1a;transform:translateY(128px);left:6%;right:6%;opacity:.78;z-index:3;pointer-events:auto}
:where(.p-index) .ha3-n[data-r="3"] {--cb:#1c1a16;transform:translateY(192px);left:9%;right:9%;opacity:.6;z-index:2;pointer-events:auto}
:where(.p-index) .ha3-n[data-r="4"] {--cb:#1a1814;transform:translateY(256px);left:12%;right:12%;opacity:.4;z-index:1}
:where(.p-index) .ha3-n[data-r="out"] {transform:translateY(-64px);opacity:0}
:where(.p-index) .ha3-n[data-r="1"]:hover, :where(.p-index) .ha3-n[data-r="2"]:hover, :where(.p-index) .ha3-n[data-r="3"]:hover {--cb:#34302a}
:where(.p-index) .ha3-av {width:34px;height:34px;border-radius:10px;display:grid;place-items:center;font:800 .85rem var(--font-display);color:#fff;position:relative}
:where(.p-index) .ha3-av b {position:absolute;right:-5px;bottom:-5px;width:18px;height:18px;border-radius:50%;display:grid;place-items:center;font-size:.5rem;color:#fff;background:#606060;border:2px solid var(--cb)}
:where(.p-index) .ha3-n.t-topic .ha3-av b, :where(.p-index) .ha3-n.t-author .ha3-av b {background:#6f6f6f}
:where(.p-index) .ha3-n.t-badge .ha3-av b, :where(.p-index) .ha3-n.t-mile .ha3-av b {background:#cfcfcf;color:#14120e}
:where(.p-index) .ha3-n.t-trend .ha3-av b {background:#7b7b7b}
:where(.p-index) .ha3-n.t-follow .ha3-av b {background:#666666}
:where(.p-index) .ha3-tx {min-width:0;display:flex;flex-direction:column;gap:.1rem}
:where(.p-index) .ha3-tx small {font:600 .66rem var(--font-mono);color:#9f9f9f;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
:where(.p-index) .ha3-tx small em {font-style:normal;color:#cfcfcf}
:where(.p-index) .ha3-tx strong {font:700 .84rem/1.25 var(--font-body);color:inherit;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
:where(.p-index) .ha3-tm {font:600 .62rem var(--font-mono);color:#949494;white-space:nowrap}
:where(.p-index) .ha3-n[data-r="0"] .ha3-tx small {color:#545454}
:where(.p-index) .ha3-n[data-r="0"] .ha3-tx small em {color:#686868}
:where(.p-index) .ha3-n[data-r="0"] .ha3-tm {color:#666666}
@media (max-width:1040px){:where(.p-index) .ha3-stack {min-height:230px}}
@media (prefers-reduced-motion:reduce){:where(.p-index) .ha3-n {transition:none}:where(.p-index) .ha3-onair i {animation:none}}
@media (max-width:1040px){:where(.p-index) .ha3-screen {min-height:360px}}

/* ---------- stats.php → .p-stats ---------- */
:where(.p-stats) .st-num-grid {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem}
@media (max-width:900px){:where(.p-stats) .st-num-grid {grid-template-columns:repeat(2,minmax(0,1fr))}}
:where(.p-stats) .st-num {gap:.35rem;padding:1.25rem}
:where(.p-stats) .st-num .ic {width:36px;height:36px;border-radius:11px;display:grid;place-items:center;background:rgb(var(--n-100));color:rgb(var(--ink));font-size:.95rem}
:where(.p-stats) .st-num b {font:800 clamp(1.75rem,3vw,2.375rem)/1 var(--font-display);letter-spacing:-.035em;color:rgb(var(--ink))}
:where(.p-stats) .st-num span.l {font:500 .75rem var(--font-mono);color:rgb(var(--n-500))}
:where(.p-stats) .st-num.hot {background:rgb(var(--hx-yellow))!important;border-color:rgb(var(--hx-yellow))!important}
:where(.p-stats) .st-num.hot b, :where(.p-stats) .st-num.hot span.l {color:#14120e}
:where(.p-stats) .st-num.hot .ic {background:rgba(20,18,14,.1);color:#14120e}
:where(.p-stats) .st-bars {display:grid;grid-template-columns:repeat(24,minmax(0,1fr));gap:4px;align-items:end;height:150px;padding-top:.5rem}
:where(.p-stats) .st-bar {position:relative;height:100%;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:4px}
:where(.p-stats) .st-bar i {display:block;width:100%;border-radius:6px 6px 3px 3px;background:rgb(var(--accent-strong) / .85);min-height:3px;transition:height .4s ease}
:where(.p-stats) .st-bar.peak i {background:rgb(var(--hx-yellow))}
:where(.p-stats) .st-bar.now i {outline:2px solid rgb(var(--ink));outline-offset:1px}
:where(.p-stats) .st-bar small {font:500 .625rem var(--font-mono);color:rgb(var(--n-500))}
:where(.p-stats) .st-bar:hover::after {content:attr(data-tip);position:absolute;bottom:calc(100% + 4px);left:50%;transform:translateX(-50%);white-space:nowrap;background:rgb(var(--ink));color:rgb(var(--card));font:500 .6875rem var(--font-mono);padding:.25rem .5rem;border-radius:8px;z-index:2}
@media (max-width:640px){:where(.p-stats) .st-bar small {display:none}:where(.p-stats) .st-bar:nth-child(6n+1) small {display:block}}
:where(.p-stats) .st-ava {width:30px;height:30px;border-radius:9px;object-fit:cover;flex:none;display:grid;place-items:center;color:#fff;font:700 .6875rem var(--font-body)}
:where(.p-stats) .st-podium {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.625rem}
:where(.p-stats) .st-pod {display:flex;flex-direction:column;align-items:center;gap:.35rem;padding:.875rem .5rem;border-radius:16px;background:rgb(var(--n-100));text-align:center;min-width:0;text-decoration:none;color:rgb(var(--ink))}
:where(.p-stats) .st-pod.first {background:rgb(var(--hx-yellow));color: rgb(var(--on-hx))}
:where(.p-stats) .st-pod .st-ava {width:46px;height:46px;border-radius:14px;font-size:.875rem}
:where(.p-stats) .st-pod .u {font-weight:700;font-size:.8125rem;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
:where(.p-stats) .st-pod .v {font:600 .75rem var(--font-mono)}
:where(.p-stats) .st-pod .medal {font:800 .75rem var(--font-display)}
:where(.p-stats) .st-state {font:500 .8125rem var(--font-mono);color:rgb(var(--n-500));padding:1rem 0;text-align:center}
:where(.p-stats) .st-head {display:flex;align-items:center;justify-content:space-between;gap:.75rem;flex-wrap:wrap}

/* ---------- ukde.php → .p-ukde ---------- */
:where(.p-ukde) .topic-container {display:flex;gap:0.75rem;margin-bottom:1rem;align-items:flex-start}
:where(.p-ukde) .topic-avatar-left {flex-shrink:0;width:3rem;height:3rem;text-decoration:none}
:where(.p-ukde) .topic-avatar-left img {width:3rem;height:3rem;border-radius:3px;object-fit:cover;border:var(--bw) solid rgb(var(--line));transition:background-color .12s ease, color .12s ease, border-color .12s ease, box-shadow .12s ease, opacity .12s ease;display:flex;align-items:center;justify-content:center;color:white;font-weight:600;font-size:1rem}
:where(.p-ukde) .topic-container:hover .topic-avatar-left img {border-color:var(--accent-primary);box-shadow:var(--shadow-md)}
@media (max-width: 640px){:where(.p-ukde) .topic-avatar-left, :where(.p-ukde) .topic-avatar-left img {width:2.25rem;height:2.25rem}
}
:where(.p-ukde) .topic-container:hover .entry-card {border-color:var(--border-medium);box-shadow:var(--sh-3)}
:where(.p-ukde) .topic-title {font-size:1rem;font-weight:600;color:var(--text-primary);text-decoration:none;display:block;line-height:1.4;transition:color 0.2s ease}
@media (min-width: 640px){:where(.p-ukde) .topic-title {font-size:1rem}
}
:where(.p-ukde) .topic-title:hover {color:var(--accent-primary)}

:where(.p-ukde) .pagination-btn:hover:not(.active) {background:var(--bg-hover);border-color:var(--border-medium);box-shadow:var(--shadow-sm)}
:where(.p-ukde) .pagination-btn.active {background:var(--accent-primary);color:white;border-color:var(--accent-primary);box-shadow:var(--shadow-md)}
:where(.p-ukde) .custom-modal.active {display:flex;align-items:center;justify-content:center}
:where(.p-ukde) .report-reason.selected {border-color:rgb(var(--o-500));background:rgb(var(--o-100));box-shadow:var(--shadow-md)}
:where(.p-ukde) .toast-notification.show {transform:translateX(0);opacity:1}
:where(.p-ukde) .toast-notification.error {background:rgb(var(--r-500))}
:where(.p-ukde) .toast-notification.info {background:rgb(var(--r-500))}
:where(.p-ukde) .toast-icon {width:2.5rem;height:2.5rem;background:rgb(var(--card) / 0.20);display:flex;align-items:center;justify-content:center;flex-shrink:0}
:where(.p-ukde) .toast-icon i {color:white}
:where(.p-ukde) .toast-content h4 {font-size:0.9375rem;font-weight:700;color:white;margin:0}

@media (max-width: 640px){:where(.p-ukde) .topic-container {box-sizing:border-box;width:100%;padding-right:0.5rem}
:where(.p-ukde) .topic-title {word-wrap:break-word;overflow-wrap:break-word;max-width:100%}
}

/* ---------- includes/footer.php (ortak) ---------- */
@media (max-width: 1023px) {
    html body #mobile-bottom-nav {
        left: 14px; right: 14px;
        bottom: calc(16px + env(safe-area-inset-bottom, 0px));
        padding: 5px; gap: 4px;
        border: 1px solid rgb(var(--line-soft));
        border-radius: 22px;
        background: rgb(var(--card) / .94);
        -webkit-backdrop-filter: saturate(160%) blur(12px);
        backdrop-filter: saturate(160%) blur(12px);
        box-shadow: 0 10px 30px rgb(var(--shadow-c) / .18), 0 2px 6px rgb(var(--shadow-c) / .08);
    }
    html body #mobile-bottom-nav .tab-link { height: 50px; border-right: 0; border-radius: 16px; gap: 2px; transition: background .15s, color .15s; }
    html body #mobile-bottom-nav .tab-link i { font-size: 1.05rem; }
    html body #mobile-bottom-nav .tab-link.is-active,
    html body #mobile-bottom-nav .tab-link:active { background: rgb(var(--mark)); color: #14120e; }
    html body #mobile-bottom-nav .tab-link img { border-radius: 8px; }
    /* içerik şeridin altında kalmasın */
    html body { padding-bottom: calc(92px + env(safe-area-inset-bottom, 0px)); }
}
html.dark body #mobile-bottom-nav { box-shadow: 0 10px 30px rgb(0 0 0 / .45); }
html body .toast-notification, html body .toast { color: #fff; border-color: transparent; border-left-width: 0; background: #6f6f6f; }
html body .toast-notification .toast-icon, html body .toast .toast-icon { background: rgba(255,255,255,.22) !important; color: inherit !important; border-radius: 10px; }
html body .toast-notification .toast-icon i, html body .toast .toast-icon i { color: inherit !important; }
html body .toast-notification .toast-content,
html body .toast-notification .toast-content h4,
html body .toast-notification .toast-content p { color: inherit !important; }
html body .toast-notification.tone-like,    html body .toast.tone-like    { background: #6f6f6f !important; color: #fff !important; }
html body .toast-notification.tone-dislike, html body .toast.tone-dislike { background: #7b7b7b !important; color: #fff !important; }
html body .toast-notification.tone-fav,     html body .toast.tone-fav     { background: #c0c0c0 !important; color: #14120e !important; }
html body .toast-notification.tone-share,   html body .toast.tone-share   { background: #606060 !important; color: #fff !important; }
html body .toast-notification.tone-follow,  html body .toast.tone-follow  { background: #6a6a6a !important; color: #fff !important; }
html body .toast-notification.tone-report,  html body .toast.tone-report  { background: #626262 !important; color: #fff !important; }
html body .toast-notification.tone-neutral, html body .toast.tone-neutral { background: #535353 !important; color: #fff !important; }
html body .toast-notification.tone-error,   html body .toast.tone-error   { background: #5c5c5c !important; color: #fff !important; }

/* =====================================================================
   Neler oluyor? — site tonlarında (açık tema) + gece modu uyumlu
   (yukarıdaki koyu stillerin üzerine yazar; renkler tema değişkenlerinden gelir)
   ===================================================================== */
:where(.p-index) .bx .ha3 {background:rgb(var(--card))!important;border-color:rgb(var(--line-soft))!important;color:rgb(var(--ink))}
:where(.p-index) .ha3-hd h2 {color:rgb(var(--ink))}
:where(.p-index) .ha3-hd a {color:rgb(var(--hx-blue))!important}
:where(.p-index) .ha3-cn b {color:rgb(var(--ink));background:linear-gradient(transparent 62%,rgb(var(--hx-yellow)/.85) 62%);padding:0 .1em}
:where(.p-index) .ha3-cn span, :where(.p-index) .ha3-lg {color:rgb(var(--n-500))}
:where(.p-index) .ha3-cn.quiet span {font-size:.72rem;padding:0}
:where(.p-index) .ha3-empty {color:rgb(var(--n-500))}
:where(.p-index) .ha3-n {--cb:rgb(var(--n-100));color:rgb(var(--ink));border:1px solid rgb(var(--line-soft));box-shadow:inset 0 1px 0 rgb(255 255 255/.7),0 3px 8px -6px rgb(0 0 0/.25)}
:where(.p-index) .ha3-n[data-r="0"] {--cb:rgb(var(--hx-yellow));color:#14120e;border-color:rgb(0 0 0/.12);box-shadow:0 8px 18px -10px rgb(0 0 0/.35)}
:where(.p-index) .ha3-n[data-r="1"] {--cb:rgb(var(--n-100))}
:where(.p-index) .ha3-n[data-r="2"] {--cb:rgb(var(--n-100)/.85)}
:where(.p-index) .ha3-n[data-r="3"] {--cb:rgb(var(--n-100)/.7)}
:where(.p-index) .ha3-n[data-r="4"] {--cb:rgb(var(--n-100)/.55)}
:where(.p-index) .ha3-n[data-r="1"]:hover, :where(.p-index) .ha3-n[data-r="2"]:hover, :where(.p-index) .ha3-n[data-r="3"]:hover {--cb:rgb(var(--n-200))}
:where(.p-index) .ha3-tx small {color:rgb(var(--n-500))}
:where(.p-index) .ha3-tx small em {color:rgb(var(--hx-blue))}
:where(.p-index) .ha3-tm {color:rgb(var(--n-500))}
:where(.p-index) .ha3-n[data-r="0"] .ha3-tx small {color:#484848}
:where(.p-index) .ha3-n[data-r="0"] .ha3-tx small em {color:#14120e}
:where(.p-index) .ha3-n[data-r="0"] .ha3-tm {color:#484848}
:where(.p-index) .ha3-n:focus-visible {outline-color:rgb(var(--hx-blue))}
:where(.p-index) .ha3-av b {border-color:rgb(var(--card))}
/* gece modu: tema değişkenleri koyulaşır; kartlara ince ışık */
html.dark :where(.p-index) .ha3-n {box-shadow:inset 0 1px 0 rgb(255 255 255/.05),0 4px 10px -6px rgb(0 0 0/.7)}
html.dark :where(.p-index) .ha3-n[data-r="0"] {color:#14120e}
html.dark :where(.p-index) .ha3-cn b {background:linear-gradient(transparent 62%,rgb(var(--hx-yellow)/.45) 62%)}