/* =====================================================================
   NEO-BRUTALİST + SİYAH/BEYAZ/GRİ KATMAN (en son yüklenir)
   - Tüm renk paletleri gri tonlara çevrilir (Tailwind renkleri de değişkenden gelir).
   - Her kutu, buton, giriş alanı: kalın koyu çerçeve + bulanıksız, sağ-alta kayık sert gölge.
   - Geri almak için: includes/header.php içindeki brutal.css satırını silmek yeterli.
   Kontrast: gündüz zemin #EEE / kart #FFF / yazı #111 (19:1), ikincil yazı #555 (7:1);
             gece zemin #0E0E0E / kart #1A1A1A / yazı #F2F2F2 (17:1), ikincil yazı #AAA (8:1).
   ===================================================================== */

/* ---------- palet: gündüz ---------- */
:root {
    --n-50: 238 238 238;  --n-100: 228 228 228; --n-200: 212 212 212; --n-300: 186 186 186;
    --n-400: 140 140 140; --n-500: 85 85 85;    --n-600: 68 68 68;    --n-700: 50 50 50;
    --n-800: 34 34 34;    --n-900: 17 17 17;    --n-950: 8 8 8;

    /* vurgu ve durum renkleri: hepsi aynı gri merdiven (500+ koyu dolgu, 50-200 açık zemin) */
    --a-50: 246 246 246; --a-100: 236 236 236; --a-200: 214 214 214; --a-300: 170 170 170; --a-400: 90 90 90;
    --a-500: 17 17 17;   --a-600: 0 0 0;       --a-700: 17 17 17;    --a-800: 17 17 17;    --a-900: 17 17 17;
    --g-50: 246 246 246; --g-100: 236 236 236; --g-200: 214 214 214; --g-300: 170 170 170; --g-400: 90 90 90;
    --g-500: 17 17 17;   --g-600: 0 0 0;       --g-700: 17 17 17;    --g-800: 17 17 17;
    --r-50: 246 246 246; --r-100: 236 236 236; --r-200: 214 214 214; --r-300: 170 170 170; --r-400: 90 90 90;
    --r-500: 17 17 17;   --r-600: 0 0 0;       --r-700: 17 17 17;    --r-800: 17 17 17;
    --o-50: 246 246 246; --o-100: 236 236 236; --o-200: 214 214 214; --o-400: 90 90 90; --o-500: 17 17 17; --o-600: 0 0 0;
    --y-50: 246 246 246; --y-100: 236 236 236; --y-500: 17 17 17;   --y-600: 0 0 0;    --y-700: 17 17 17; --y-800: 17 17 17;
    --v-100: 236 236 236; --v-500: 17 17 17;  --v-600: 0 0 0;
    --accent: 17 17 17; --accent-strong: 17 17 17; --on-accent: 255 255 255;

    --paper: 238 238 238;
    --card: 255 255 255;
    --ink: 17 17 17;
    --line: 17 17 17;
    --line-soft: 212 212 212;
    --shadow-c: 17 17 17;
    --mark: 225 225 225;

    --hx-blue: 17 17 17;       /* bağlantı/vurgu: siyah */
    --hx-yellow: 225 225 225;  /* vurgu dolgusu: açık gri (üstünde siyah yazı) */

    --fb-inner: 244 244 244;
    --fb-row: 236 236 236;
    --fb-bt: 228 228 228;      /* açık gri */
    --fb-ot: 214 214 214;      /* orta-açık gri */
    --fb-rd: 240 240 240;
    --fb-or: 200 200 200;      /* eski turuncu: orta gri */
    --fb-night: 17 17 17;      /* siyah kutu */
    --fb-on-or: 17 17 17;

    /* neo-brutalist ölçüler */
    --nb-ink: 17 17 17;
    --nb-bw: 0px;
    --nb-sh: 5px;
    --nb-sh-s: 3px;
    --nb-r: 8px;
    --nb-r-s: 6px;
}

/* ---------- palet: gece ---------- */
html.dark {
    --n-50: 14 14 14;     --n-100: 34 34 34;    --n-200: 48 48 48;    --n-300: 72 72 72;
    --n-400: 120 120 120; --n-500: 170 170 170; --n-600: 190 190 190; --n-700: 210 210 210;
    --n-800: 228 228 228; --n-900: 242 242 242; --n-950: 250 250 250;

    --a-50: 30 30 30;  --a-100: 40 40 40;  --a-200: 60 60 60;  --a-300: 110 110 110; --a-400: 190 190 190;
    --a-500: 58 58 58; --a-600: 230 230 230; --a-700: 235 235 235; --a-800: 240 240 240; --a-900: 245 245 245;
    --g-50: 30 30 30;  --g-100: 40 40 40;  --g-200: 60 60 60;  --g-300: 110 110 110; --g-400: 190 190 190;
    --g-500: 58 58 58; --g-600: 230 230 230; --g-700: 235 235 235; --g-800: 240 240 240;
    --r-50: 30 30 30;  --r-100: 40 40 40;  --r-200: 60 60 60;  --r-300: 110 110 110; --r-400: 190 190 190;
    --r-500: 58 58 58; --r-600: 230 230 230; --r-700: 235 235 235; --r-800: 240 240 240;
    --o-50: 30 30 30;  --o-100: 40 40 40;  --o-200: 60 60 60;  --o-400: 190 190 190; --o-500: 58 58 58; --o-600: 230 230 230;
    --y-50: 30 30 30;  --y-100: 40 40 40;  --y-500: 58 58 58;  --y-600: 230 230 230; --y-700: 235 235 235; --y-800: 240 240 240;
    --v-100: 40 40 40; --v-500: 58 58 58;  --v-600: 230 230 230;
    --accent: 242 242 242; --accent-strong: 242 242 242; --on-accent: 17 17 17;

    --paper: 14 14 14;
    --card: 26 26 26;
    --ink: 242 242 242;
    --line: 242 242 242;
    --line-soft: 48 48 48;
    --shadow-c: 242 242 242;
    --mark: 70 70 70;

    --hx-blue: 242 242 242;
    --hx-yellow: 60 60 60;

    --fb-inner: 36 36 36;
    --fb-row: 36 36 36;
    --fb-bt: 44 44 44;
    --fb-ot: 56 56 56;
    --fb-rd: 32 32 32;
    --fb-or: 72 72 72;
    --fb-night: 0 0 0;
    --fb-on-or: 242 242 242;

    --nb-ink: 230 230 230;
}
html,
body { background: rgb(var(--paper)) !important; }
::selection { background: rgb(var(--ink)); color: rgb(var(--card)); }
a { text-decoration-color: currentColor; }

/* ---------- renkli kalıntılar: hepsi griye ---------- */
/* kategori renkleri (satır içi --cc) */
:root body[class] [style*="--cc"] { --cc: rgb(var(--ink)) !important; }
/* avatarlar, baş harf kutuları, rozet ikonları */
:root body[class] .fb-av,
:root body[class] .fb-rav,
:root body[class] .bx-ava,
:root body[class] .bx-who img,
:root body[class] .u-ph,
:root body[class] .n-ph,
:root body[class] .st-ava,
:root body[class] .yl-av,
:root body[class] .tm-avs,
:root body[class] .ac-ev-av,
:root body[class] .nt-av,
:root body[class] .pf-av,
:root body[class] .sx-av,
:root body[class] .user-chip img,
:root body[class] .notif-item img,
:root body[class] .tab-link img,
:root body[class] .smx-chip,
:root body[class] .fb-ci,
:root body[class] .hx-cic,
:root body[class] .tm-ico,
:root body[class] .pf-badges,
:root body[class] .ol-u img,
:root body[class] [style*="background-color:#"],
:root body[class] [style*="background:#"],
:root body[class] [style*="background: #"],
:root body[class] [style*="background-color: #"] {
    filter: grayscale(1) contrast(1.05);
}
:root body[class] .ins,
:root body[class] ins,
:root body[class] .ad-wide,
:root body[class] [class*="ad-"] iframe { filter: none !important; }

/* sabit renkli parçalar */
:root body[class] .fb-onair { background: rgb(var(--ink)) !important; color: rgb(var(--card)) !important; }
:root body[class] .fb-onair i { background: rgb(var(--card)) !important; }
:root body[class] .pip,
:root body[class] .n-count,
:root body[class] .md-bd,
:root body[class] .mod-count,
:root body[class] .n-dot,
:root body[class] .nt-dot { background: rgb(var(--ink)) !important; color: rgb(var(--card)) !important; }
:root body[class] .fb-ar { color: rgb(17 17 17) !important; background: #fff !important; }
:root body[class] .fb-rn { --cb: #262626 !important; }
:root body[class] .fb-rn[data-r="0"] { --cb: #ffffff !important; color: #111 !important; }
:root body[class] .fb-rn[data-r="0"] * { color: #111 !important; }
:root body[class] .fb-rn[data-r="1"] { --cb: #2e2e2e !important; }
:root body[class] .fb-rn[data-r="2"] { --cb: #262626 !important; }
:root body[class] .fb-rn[data-r="3"] { --cb: #1f1f1f !important; }
:root body[class] .fb-rn[data-r="4"] { --cb: #191919 !important; }
:root body[class] .fb-rav b { background: #111 !important; color: #fff !important; border-color: #fff !important; filter: none; }
:root body[class] .fb-blue { background: rgb(17 17 17) !important; color: #fff !important; }
html.dark:root body[class] .fb-blue { background: rgb(var(--card)) !important; }
:root body[class] .fb-night { background: rgb(44 44 44) !important; color: #fff !important; }
html.dark:root body[class] .fb-night { background: rgb(0 0 0) !important; }
:root body[class] .yl-hot,
:root body[class] .yl-mv.up,
:root body[class] .yl-mv.down,
:root body[class] .yl-mv.new,
:root body[class] .yl-big.g,
:root body[class] .hx-pill.up { color: rgb(var(--ink)) !important; }
:root body[class] .action-btn.voted-up,
:root body[class] .action-btn.voted-down,
:root body[class] .action-btn.favorited,
:root body[class] .bx .action-btn.voted-up,
:root body[class] .bx .action-btn.voted-down,
:root body[class] .tp-head .action-btn.voted-up,
:root body[class] .tp-head .action-btn.voted-down,
:root body[class] .follow-topic-btn.following {
    background: rgb(var(--ink)) !important; color: rgb(var(--card)) !important; border-color: rgb(var(--nb-ink)) !important;
}
:root body[class] .action-btn.voted-up *,
:root body[class] .action-btn.voted-down *,
:root body[class] .action-btn.favorited *,
:root body[class] .follow-topic-btn.following * { color: rgb(var(--card)) !important; }
:root body[class] .act-del:hover,
:root body[class] .action-btn.act-del:hover { background: rgb(var(--ink)) !important; color: rgb(var(--card)) !important; }
:root body[class] .entry-link,
:root body[class] .entry-mention,
:root body[class] .entry-topic-link,
:root body[class] .entry-text a { color: rgb(var(--ink)) !important; text-decoration: underline !important; text-underline-offset: 3px; font-weight: 600; }
:root body[class] .toast-notification,
:root body[class] .toast,
:root body[class] [class*="tone-"] { background: rgb(var(--card)) !important; color: rgb(var(--ink)) !important; }
:root body[class] .toast-notification .toast-icon,
:root body[class] .toast .toast-icon { background: rgb(var(--ink)) !important; color: rgb(var(--card)) !important; }
:root body[class] .toast-notification.error .toast-icon { background: rgb(var(--card)) !important; color: rgb(var(--ink)) !important; border: 0 solid transparent; }
:root body[class] .flash { background: rgb(var(--card)) !important; color: rgb(var(--ink)) !important; }
:root body[class] .flash .fl-ic { color: rgb(var(--ink)) !important; }
:root body[class] .flash-error { background: rgb(var(--ink)) !important; color: rgb(var(--card)) !important; }
:root body[class] .flash-error .fl-ic,
:root body[class] .flash-error button { color: rgb(var(--card)) !important; }

/* =====================================================================
   NEO-BRUTALİST BİÇİM: kutular
   ===================================================================== */
:root body[class] .bx-tile,
:root body[class] .fb-t,
:root body[class] .ui-card,
:root body[class] .masthead-bar,
:root body[class] .tm-hero,
:root body[class] .tm-card,
:root body[class] .pf-card,
:root body[class] .pf-stub,
:root body[class] .pf-best,
:root body[class] .sx-hero,
:root body[class] .ac-hero,
:root body[class] .ac-ev,
:root body[class] .custom-modal-content,
:root body[class] .pop,
:root body[class] .nsheet-panel,
:root body[class] .smx-panel,
:root body[class] .am-panel,
:root body[class] .ck-banner,
:root body[class] .ck-panel,
:root body[class] .ft-c .foot-grid,
:root body[class] .ft-c .ft-cta,
:root body[class] .mdeck .md-card,
:root body[class] .editor-modal-content,
:root body[class] .report-reason,
:root body[class] .md-card,
:root body[class] .st-num,
:root body[class] .hx-cta,
:root body[class] .sx-spot,
:root body[class] .flash,
:root body[class] .toast-notification,
:root body[class] .toast,
:root body[class] #mobile-bottom-nav,
:root body[class] .bx-entry,
:root body[class] .hx-card,
:root body[class] .ms-empty,
:root body[class] .settings-content,
:root body[class] .settings-tabs,
:root body[class] .sp-hero,
:root body[class] .sp-body,
:root body[class] .sp-toc,
:root body[class] .sp-rel,
:root body[class] .gn-hero,
:root body[class] .gn-az,
:root body[class] .ipx,
:root body[class] .auth-card,
:root body[class] .rounded-3xl.border,
:root body[class] .bx .bg-white,
:root body[class] .bx-compat .bg-white,
:root body[class] .max-w-2xl > .bg-white,
:root body[class] .rounded-2xl.bg-white,
:root body[class] .rounded-3xl.bg-white {
    border: var(--nb-bw) solid rgb(var(--nb-ink)) !important;
    border-radius: var(--nb-r) !important;
    box-shadow: var(--nb-sh) var(--nb-sh) 0 0 rgb(var(--nb-shc)) !important;
}
/* iç kartlar ve satırlar */
:root body[class] .fb-el > li,
:root body[class] .yl-list .yl-r,
:root body[class] .md-l,
:root body[class] .notif-item,
:root body[class] .fv-row,
:root body[class] .sr-r,
:root body[class] .tm-r,
:root body[class] .nt-r,
:root body[class] .ms-row,
:root body[class] .ms-item,
:root body[class] .gn-t,
:root body[class] .hx-rank > li,
:root body[class] .st-pod,
:root body[class] .tm-tagw,
:root body[class] .smx-res a,
:root body[class] .search-pop a,
:root body[class] .sx-live a,
:root body[class] .sx-user,
:root body[class] .sx-catg a,
:root body[class] .pf-hm-wrap,
:root body[class] .md-list .md-card,
:root body[class] .ac-counts a,
:root body[class] .fb-cat,
:root body[class] .notification-option,
:root body[class] .settings-tabs .tab-item.active,
:root body[class] label.flex.bg-gray-50,
:root body[class] .p-4.bg-yellow-50,
:root body[class] .p-4.bg-red-50,
:root body[class] .p-4.bg-green-50,
:root body[class] .p-4.bg-sky-50,
:root body[class] .p-4.bg-amber-50,
:root body[class] .p-4.bg-blue-50 {
    border: 0 solid transparent !important;
    border-radius: var(--nb-r-s) !important;
    box-shadow: var(--nb-sh-s) var(--nb-sh-s) 0 0 rgb(var(--nb-shc)) !important;
}
:root body[class] .fb-el > li.fb-ad,
:root body[class] .yl-list .pf-ad,
:root body[class] .yl-list li.fb-ad,
:root body[class] .pf-ad { border: 0 !important; box-shadow: none !important; }
:root body[class] .yl-list { gap: 10px !important; }
:root body[class] .yl-list .yl-r { background: rgb(var(--card)) !important; }
:root body[class] .bx-tile .yl-list .yl-r { background: rgb(var(--fb-inner)) !important; }
:root body[class] .notif-item,
:root body[class] .search-pop a,
:root body[class] .smx-res a,
:root body[class] .sx-live a { margin: 6px 4px; }

/* =====================================================================
   NEO-BRUTALİST BİÇİM: butonlar ve giriş alanları
   ===================================================================== */
:root body[class] .bx-btn,
:root body[class] .action-btn,
:root body[class] .bx-more,
:root body[class] .fb-pl,
:root body[class] .fb-bn,
:root body[class] .icon-sq,
:root body[class] .user-chip,
:root body[class] .btn-line,
:root body[class] .btn-ink,
:root body[class] .pf-btn,
:root body[class] .tm-new,
:root body[class] .tm-go,
:root body[class] .bx-pages a,
:root body[class] .bx-pages span,
:root body[class] .bx-seg,
:root body[class] .pg-search,
:root body[class] .m-search,
:root body[class] .sx-form,
:root body[class] .smx-inp,
:root body[class] .fb-ar,
:root body[class] .fb-ik,
:root body[class] .hx-cta-btn,
:root body[class] .nvB-main a,
:root body[class] .nvB-side a,
:root body[class] .ft-c .ft-cta a,
:root body[class] .foot-social a,
:root body[class] .ft-up,
:root body[class] #back-to-top,
:root body[class] .ck-btns button,
:root body[class] .ck-b,
:root body[class] .am-submit,
:root body[class] .sx-tips button,
:root body[class] .sx-tips a,
:root body[class] .sx-tabs a,
:root body[class] .sx-cta,
:root body[class] .sx-new,
:root body[class] .smx-x,
:root body[class] .md-x,
:root body[class] .ac-more a,
:root body[class] .tk-off,
:root body[class] .fv-rm,
:root body[class] .gn-dice,
:root body[class] .gn-L,
:root body[class] .tp-cat,
:root body[class] .tp-meta > span,
:root body[class] .tp-op,
:root body[class] .pop-foot a,
:root body[class] .editor-modal-btn,
:root body[class] .editor-custom-btn,
:root body[class] .report-reason,
:root body[class] button[type="submit"]:not(.ql-formats button),
:root body[class] .bg-sky-500,
:root body[class] .bg-sky-600,
:root body[class] .bg-orange-500,
:root body[class] .bg-green-500,
:root body[class] .bg-red-500,
:root body[class] .bg-amber-500,
:root body[class] .bg-indigo-500,
:root body[class] .bg-purple-500,
:root body[class] input[type="text"],
:root body[class] input[type="email"],
:root body[class] input[type="password"],
:root body[class] input[type="search"],
:root body[class] input[type="number"],
:root body[class] input[type="url"],
:root body[class] select,
:root body[class] textarea,
:root body[class] .entry-editor-container,
:root body[class] .ql-toolbar.ql-snow,
:root body[class] .ql-container.ql-snow {
    border: 0 solid transparent !important;
    border-radius: var(--nb-r-s) !important;
    box-shadow: var(--nb-sh-s) var(--nb-sh-s) 0 0 rgb(var(--nb-shc)) !important;
}
:root body[class] .entry-editor-container .ql-toolbar.ql-snow,
:root body[class] .entry-editor-container .ql-container.ql-snow,
:root body[class] .entry-editor-container input,
:root body[class] .entry-editor-container textarea,
:root body[class] .m-search input,
:root body[class] .sx-form input,
:root body[class] .smx-inp input,
:root body[class] .pg-search input,
:root body[class] .bx-seg a,
:root body[class] .ql-toolbar button,
:root body[class] input[type="checkbox"],
:root body[class] input[type="radio"],
:root body[class] input[type="hidden"] {
    border: 0 !important; box-shadow: none !important;
}
:root body[class] .bx-seg { padding: 3px !important; background: rgb(var(--card)) !important; }
:root body[class] .bx-seg a { border-radius: 7px !important; }
:root body[class] .bx-seg a.on,
:root body[class] .sx-tabs a.on,
:root body[class] .nvB-main a.is-active,
:root body[class] .nvB-side a.is-active,
:root body[class] .bx-pages .on,
:root body[class] .gn-L.on {
    background: rgb(var(--ink)) !important; color: rgb(var(--card)) !important;
}
:root body[class] .bx-seg a.on *,
:root body[class] .nvB-main a.is-active *,
:root body[class] .nvB-side a.is-active * { color: rgb(var(--card)) !important; }

/* buton zeminleri */
:root body[class] .bx-btn,
:root body[class] .fb-bn,
:root body[class] .btn-ink,
:root body[class] .pf-btn.p,
:root body[class] .sx-cta,
:root body[class] .am-submit,
:root body[class] .ck-b,
:root body[class] .bg-sky-500,
:root body[class] .bg-sky-600,
:root body[class] .bg-orange-500,
:root body[class] .bg-green-500,
:root body[class] .bg-red-500,
:root body[class] .bg-amber-500,
:root body[class] .bg-indigo-500,
:root body[class] .bg-purple-500 {
    background: rgb(var(--ink)) !important; color: rgb(var(--card)) !important;
}
:root body[class] .bx-btn *,
:root body[class] .fb-bn *,
:root body[class] .btn-ink *,
:root body[class] .pf-btn.p *,
:root body[class] .sx-cta * { color: rgb(var(--card)) !important; }
:root body[class] .bx-btn.ghost,
:root body[class] .action-btn,
:root body[class] .bx-more,
:root body[class] .fb-pl,
:root body[class] .icon-sq,
:root body[class] .user-chip,
:root body[class] .btn-line,
:root body[class] .pf-btn.s,
:root body[class] .tm-go,
:root body[class] .bx-pages a,
:root body[class] .nvB-main a,
:root body[class] .nvB-side a,
:root body[class] .sx-tips button,
:root body[class] .sx-tips a,
:root body[class] .sx-tabs a,
:root body[class] .tk-off,
:root body[class] .fv-rm,
:root body[class] .editor-custom-btn,
:root body[class] .gn-L,
:root body[class] .tp-cat,
:root body[class] .tp-meta > span,
:root body[class] .pop-foot a {
    background: rgb(var(--card)) !important; color: rgb(var(--ink)) !important;
}
:root body[class] .bx-btn.ghost * { color: rgb(var(--ink)) !important; }
:root body[class] .hx-cta-btn,
:root body[class] .fb-ik,
:root body[class] .tm-new,
:root body[class] .ft-c .ft-cta a { background: rgb(var(--card)) !important; color: rgb(var(--ink)) !important; }
:root body[class] .ft-c .ft-cta a * { color: rgb(var(--ink)) !important; }
:root body[class] .hx-cta { background: rgb(var(--ink)) !important; color: rgb(var(--card)) !important; }
html.dark:root body[class] .hx-cta { background: rgb(var(--card)) !important; color: rgb(var(--ink)) !important; }
:root body[class] .ft-c .ft-cta { background: rgb(var(--fb-or)) !important; }
:root body[class] input:focus,
:root body[class] select:focus,
:root body[class] textarea:focus,
:root body[class] .m-search:focus-within,
:root body[class] .sx-form:focus-within,
:root body[class] .pg-search:focus-within {
    outline: 0 !important; box-shadow: var(--nb-sh) var(--nb-sh) 0 0 rgb(var(--nb-shc)) !important;
}

/* basılma hissi: üstüne gelince kalkar, tıklayınca gölgeye oturur */
:root body[class] .bx-btn,
:root body[class] .action-btn,
:root body[class] .bx-more,
:root body[class] .fb-pl,
:root body[class] .fb-bn,
:root body[class] .icon-sq,
:root body[class] .user-chip,
:root body[class] .btn-line,
:root body[class] .btn-ink,
:root body[class] .pf-btn,
:root body[class] .tm-new,
:root body[class] .tm-go,
:root body[class] .bx-pages a,
:root body[class] .nvB-main a,
:root body[class] .nvB-side a,
:root body[class] .hx-cta,
:root body[class] .ft-c .ft-cta a,
:root body[class] .sx-cta,
:root body[class] .sx-new,
:root body[class] .sx-tabs a,
:root body[class] .sx-tips button,
:root body[class] .sx-tips a,
:root body[class] .tk-off,
:root body[class] .fv-rm,
:root body[class] .am-submit,
:root body[class] .ck-b,
:root body[class] .editor-modal-btn,
:root body[class] .gn-L,
:root body[class] .gn-t,
:root body[class] .fb-el > li,
:root body[class] .yl-list .yl-r,
:root body[class] .hx-rank > li,
:root body[class] .fb-cat,
:root body[class] .ac-counts a,
:root body[class] .fb-st a.fb-t,
:root body[class] button[type="submit"],
:root body[class] .bg-sky-500,
:root body[class] .bg-orange-500 {
    transition: transform .12s ease, box-shadow .12s ease, background .15s ease !important;
}
:root body[class] .bx-btn:hover,
:root body[class] .action-btn:hover,
:root body[class] .bx-more:hover,
:root body[class] .fb-pl:hover,
:root body[class] .fb-bn:hover,
:root body[class] .icon-sq:hover,
:root body[class] .user-chip:hover,
:root body[class] .btn-line:hover,
:root body[class] .btn-ink:hover,
:root body[class] .pf-btn:hover,
:root body[class] .tm-new:hover,
:root body[class] .tm-go:hover,
:root body[class] .bx-pages a:hover,
:root body[class] .nvB-main a:hover,
:root body[class] .nvB-side a:hover,
:root body[class] .hx-cta:hover,
:root body[class] .ft-c .ft-cta a:hover,
:root body[class] .sx-cta:hover,
:root body[class] .sx-new:hover,
:root body[class] .sx-tabs a:hover,
:root body[class] .sx-tips button:hover,
:root body[class] .sx-tips a:hover,
:root body[class] .tk-off:hover,
:root body[class] .fv-rm:hover,
:root body[class] .am-submit:hover,
:root body[class] .ck-b:hover,
:root body[class] .editor-modal-btn:hover,
:root body[class] .gn-L:hover,
:root body[class] button[type="submit"]:hover,
:root body[class] .bg-sky-500:hover,
:root body[class] .bg-orange-500:hover {
    transform: translate(-2px, -2px) !important;
    box-shadow: calc(var(--nb-sh-s) + 2px) calc(var(--nb-sh-s) + 2px) 0 0 rgb(var(--nb-shc)) !important;
}
:root body[class] .bx-btn:active,
:root body[class] .action-btn:active,
:root body[class] .bx-more:active,
:root body[class] .fb-pl:active,
:root body[class] .fb-bn:active,
:root body[class] .icon-sq:active,
:root body[class] .user-chip:active,
:root body[class] .btn-line:active,
:root body[class] .btn-ink:active,
:root body[class] .pf-btn:active,
:root body[class] .tm-new:active,
:root body[class] .tm-go:active,
:root body[class] .bx-pages a:active,
:root body[class] .nvB-main a:active,
:root body[class] .nvB-side a:active,
:root body[class] .hx-cta:active,
:root body[class] .ft-c .ft-cta a:active,
:root body[class] .sx-cta:active,
:root body[class] .sx-tabs a:active,
:root body[class] .am-submit:active,
:root body[class] .ck-b:active,
:root body[class] .editor-modal-btn:active,
:root body[class] button[type="submit"]:active,
:root body[class] .bg-sky-500:active {
    transform: translate(var(--nb-sh-s), var(--nb-sh-s)) !important;
    box-shadow: 0 0 0 0 rgb(var(--nb-shc)) !important;
}
:root body[class] .fb-el > li:hover,
:root body[class] .yl-list .yl-r:hover,
:root body[class] .hx-rank > li:hover,
:root body[class] .fb-cat:hover,
:root body[class] .ac-counts a:hover,
:root body[class] .gn-t:hover,
:root body[class] .fb-st a.fb-t:hover {
    transform: translate(-2px, -2px);
    box-shadow: calc(var(--nb-sh-s) + 2px) calc(var(--nb-sh-s) + 2px) 0 0 rgb(var(--nb-shc)) !important;
}

/* =====================================================================
   yerleşim düzeltmeleri: gölge taşmasın, aralar açılsın
   ===================================================================== */
:root body[class] .bx-page,
:root body[class] .pg,
:root body[class] .fb { padding-right: 20px !important; padding-bottom: 28px !important; }
:root body[class] .bx-main,
:root body[class] .bx-aside,
:root body[class] .pg { gap: 18px !important; }
:root body[class] .fb,
:root body[class] .fb-g { gap: 18px !important; }
:root body[class] .nvB-in { gap: 10px !important; padding-bottom: 6px; }
:root body[class] .nvB-main,
:root body[class] .nvB-side { gap: 8px !important; }
:root body[class] .masthead { padding-right: 8px; }
:root body[class] .m-actions { gap: 10px !important; }
:root body[class] .action-bar { gap: 8px !important; }
:root body[class] .tp-acts { gap: 8px !important; flex-wrap: wrap; }
:root body[class] .yl-list .yl-r { margin-right: 4px; }

/* ikincil yazılar: okunur gri */
:root body[class] .bx-mono,
:root body[class] .yl-meta,
:root body[class] .hl-by,
:root body[class] .fb-th p,
:root body[class] .fb-el small span,
:root body[class] .fb-gl small,
:root body[class] .tp-meta,
:root body[class] .n-meta,
:root body[class] small { color: rgb(var(--n-500)); }
:root body[class] .fb-blue .fb-th p,
:root body[class] .fb-blue small,
:root body[class] .fb-blue p,
:root body[class] .fb-night .fb-th p,
:root body[class] .fb-night small,
:root body[class] .fb-gl small,
:root body[class] .fb-gl p { color: rgb(255 255 255 / .82) !important; }
:root body[class] .fb-blue .fb-no { color: rgb(255 255 255 / .6) !important; }
:root body[class] .fb-blue li:first-child .fb-no { color: #fff !important; }

/* gece: koyu zeminde açık çerçeve */
html.dark:root body[class] .fb-blue .fb-pl,
html.dark:root body[class] .fb-night .fb-pl { color: rgb(var(--ink)) !important; }

/* mobil: daha ince */
@media (max-width: 640px) {
    :root { --nb-bw: 0px; --nb-sh: 4px; --nb-sh-s: 3px; }
:root body[class] .bx-page,
:root body[class] .pg,
:root body[class] .fb { padding-right: 16px !important; }
:root body[class] #mobile-bottom-nav { box-shadow: 4px 4px 0 0 rgb(var(--nb-shc)) !important; }
}

/* ---------- özgüllüğü yüksek eski kuralları ezenler ---------- */
:root body[class] .masthead .icon-sq,
:root body[class] .m-actions .icon-sq,
:root body[class] .masthead .user-chip {
    border: 0 solid transparent !important;
    border-radius: var(--nb-r-s) !important;
    box-shadow: var(--nb-sh-s) var(--nb-sh-s) 0 0 rgb(var(--nb-shc)) !important;
    background: rgb(var(--card)) !important;
}
:root body[class] .masthead .icon-sq:hover,
:root body[class] .m-actions .icon-sq:hover,
:root body[class] .masthead .user-chip:hover {
    transform: translate(-2px, -2px) !important;
    box-shadow: calc(var(--nb-sh-s) + 2px) calc(var(--nb-sh-s) + 2px) 0 0 rgb(var(--nb-shc)) !important;
}
:root body[class] .pf-stubs .pf-stub,
:root body[class] .pf-stub.y { border: var(--nb-bw) solid rgb(var(--nb-ink)) !important; box-shadow: var(--nb-sh) var(--nb-sh) 0 0 rgb(var(--nb-shc)) !important; }
:root body[class] .fb-rn em,
:root body[class] .fb-rt em { color: inherit !important; font-weight: 800; }
:root body[class] .ft-c .brand-text,
:root body[class] .ft-c .brand { color: #fff !important; }
:root body[class] .ft-c .brand-text::before,
:root body[class] .ft-c .brand::before { background: #fff !important; border-color: #fff !important; }

/* editör araç çubuğu: düğmeler tek çerçeve içinde, tek tek çerçevesiz */
:root body[class] .entry-editor-container .editor-custom-btn,
:root body[class] .entry-editor-container .ql-formats button { border: 0 !important; box-shadow: none !important; background: transparent !important; transform: none !important; }
:root body[class] .entry-editor-container .ql-toolbar.ql-snow { border-bottom: 1px solid rgb(var(--line-soft)) !important; }
/* ayarlar: sekmeler */
:root body[class] .settings-tabs .tab-item { border: 2px solid transparent !important; }
:root body[class] .settings-tabs .tab-item:hover { border-color: rgb(var(--nb-ink)) !important; }

/* =====================================================================
   SİYAH + NAR KIRMIZISI GÖLGE
   Gri dolgular kaldırıldı: koyu kutular siyah, açık kutular beyaz.
   Gölge rengi tek değişkende: --nb-shc (aşağıdaki satırı değiştirmek yeterli)
     narçiçeği: 224 65 46  ·  koyu nar: 183 28 44  ·  şarap: 123 30 43
   ===================================================================== */
:root {
    --nb-shc: 183 28 44;
    --paper: 245 245 245;
    --fb-or: 17 17 17;          /* eski orta gri dolgu → siyah */
    --fb-on-or: 255 255 255;
    --fb-bt: 255 255 255;       /* eski açık gri kutular → beyaz */
    --fb-ot: 255 255 255;
    --fb-rd: 255 255 255;
    --hx-yellow: 17 17 17;      /* vurgu dolgusu → siyah (üstünde beyaz yazı) */
}
html.dark {
    --nb-shc: 214 48 60;        /* gece: aynı ton bir tık açık, koyu zeminde seçilsin */
    --paper: 10 10 10;
    --fb-or: 0 0 0;
    --fb-on-or: 255 255 255;
    --fb-bt: 26 26 26;
    --fb-ot: 26 26 26;
    --fb-rd: 26 26 26;
    --hx-yellow: 242 242 242;
}
:root body[class] .fb-night { background: rgb(17 17 17) !important; }
:root body[class] .pf-card { background: rgb(17 17 17) !important; color: #fff !important; }
:root body[class] .pf-card h1, :root body[class] .pf-card .pf-bio { color: #fff !important; }
:root body[class] .fb-or, :root body[class] .fb-or * { color: #fff !important; }
:root body[class] .fb-or .fb-bn { background: #fff !important; color: #111 !important; }
:root body[class] .fb-or .fb-bn * { color: #111 !important; }
:root body[class] .ft-c .ft-cta, :root body[class] .ft-c .ft-cta * { color: #fff !important; }
:root body[class] .ft-c .ft-cta { border-color: #fff !important; }
:root body[class] .tm-new, :root body[class] .tm-new * { color: #fff !important; background: rgb(17 17 17) !important; }
:root body[class] .fb-onair { background: rgb(var(--nb-shc)) !important; color: #fff !important; }
:root body[class] .pip, :root body[class] .n-count, :root body[class] .mod-count { background: rgb(var(--nb-shc)) !important; color: #fff !important; }
::selection { background: rgb(var(--nb-shc)); color: #fff; }
/* baş harf avatarları: gri yerine siyah zemin, beyaz harf */
:root body[class] .fb-av:not(:has(img)), :root body[class] .fb-rav:not(:has(img)), :root body[class] .bx-ava, :root body[class] .u-ph,
:root body[class] .n-ph, :root body[class] span.st-ava, :root body[class] .yl-av i, :root body[class] .tm-avs i, :root body[class] .ac-ev-av:not(:has(img)),
:root body[class] .nt-av i, :root body[class] .pf-av span, :root body[class] .sx-av:not(:has(img)), :root body[class] .tab-link .u-ph {
    background: rgb(17 17 17) !important; color: #fff !important; filter: none !important;
}
html.dark:root body[class] .bx-ava, html.dark:root body[class] .fb-av:not(:has(img)), html.dark:root body[class] .u-ph, html.dark:root body[class] .pf-av span { background: rgb(242 242 242) !important; color: #111 !important; }
:root body[class] .w-24.h-24.rounded-2xl[style*="background"] { background: rgb(17 17 17) !important; filter: none !important; }
/* siyah kutuların içindeki butonlar/avatarlar: beyaz çerçeve, beyaz zemin */
:root body[class] .pf-card .pf-btn, :root body[class] .pf-card .pf-btn.p { background: #fff !important; color: #111 !important; border-color: #fff !important; }
:root body[class] .pf-card .pf-btn * { color: #111 !important; }
:root body[class] .pf-card .pf-av span, :root body[class] .pf-card .pf-av img { border: 0 solid transparent !important; }
:root body[class] .pf-card .pf-av i { background: rgb(var(--nb-shc)) !important; color: #fff !important; filter: none !important; }

/* çizgisiz görünüm: kartlar zeminden ayrışsın diye zemin bir tık koyu, köşeler küçük */
:root { --paper: 234 234 234; --fb-r: 8px; --r: 8px; --radius-sm: 6px; --radius-md: 8px; --radius-lg: 8px; --radius-xl: 10px; }
html.dark { --paper: 8 8 8; }
:root body[class] .settings-tabs .tab-item, :root body[class] .settings-tabs .tab-item:hover { border-color: transparent !important; }
:root body[class] .fb-ar, :root body[class] .tp-op, :root body[class] .bx-pages a, :root body[class] .bx-pages span { border-radius: var(--nb-r-s) !important; }
/* beyaz kart içindeki butonlar: kenarı belli olsun diye açık gri dolgu */
:root body[class] :is(.bx-tile, .fb-t:not(.fb-blue):not(.fb-night):not(.fb-or), .ui-card, .settings-content, .masthead-bar, .pf-stub, .tm-card)
  :is(.action-btn:not(.voted-up):not(.voted-down):not(.favorited), .bx-more, .fb-pl, .tp-meta > span, .tp-cat, .bx-seg, .bx-btn.ghost, .pf-btn.s, .tk-off, .fv-rm, .gn-L, .icon-sq, .user-chip, .m-search, .fb-ar, .fb-ik, .tm-go, .editor-custom-btn) {
    background: rgb(var(--fb-inner)) !important;
}
:root body[class] .bx-seg a.on { background: rgb(var(--ink)) !important; }
:root body[class] .fb-ci { background: rgb(var(--fb-inner)) !important; }
:root body[class] .pf-hm-wrap, :root body[class] .pf-hm { box-shadow: none !important; border: 0 !important; background: transparent !important; }

/* vurgu (eski sarı) dolgusunun üstündeki yazı: gündüz beyaz, gece siyah */
:root { --on-hx: 255 255 255; }
html.dark { --on-hx: 17 17 17; }

/* ---------- üst menü açılır kutuları (bildirim, mesaj, kullanıcı) ---------- */
:root body[class] #notification-menu.pop,
:root body[class] #message-menu.pop,
:root body[class] #user-dropdown.pop {
    background: rgb(var(--card)) !important; color: rgb(var(--ink)) !important;
    border: 0 solid transparent !important; border-radius: var(--nb-r) !important;
    box-shadow: var(--nb-sh) var(--nb-sh) 0 0 rgb(var(--nb-shc)) !important;
}
:root body[class] #notification-menu.pop::before,
:root body[class] #message-menu.pop::before,
:root body[class] #user-dropdown.pop::before { display: none !important; }
:root body[class] #notification-menu .pop-head h3,
:root body[class] #message-menu .pop-head h3,
:root body[class] #user-dropdown .ud-tab { background: rgb(var(--ink)) !important; color: rgb(var(--card)) !important; border: 0 !important; border-radius: var(--nb-r-s) !important; box-shadow: 3px 3px 0 0 rgb(var(--nb-shc)) !important; }
:root body[class] #notification-menu .pop-head a,
:root body[class] #message-menu .pop-head a { color: rgb(var(--ink)) !important; }
:root body[class] :is(#notification-menu,#message-menu) .pop-foot a, :root body[class] .pop-foot a { background: rgb(var(--fb-inner)) !important; color: rgb(var(--ink)) !important; border: 0 !important; border-radius: var(--nb-r-s) !important; box-shadow: none !important; }
:root body[class] :is(#notification-menu,#message-menu) .pop-foot a:first-child:not(:last-child) { background: rgb(var(--ink)) !important; color: rgb(var(--card)) !important; }
:root body[class] :is(#notification-menu,#message-menu) .pop-foot a:hover, :root body[class] .pop-foot a:hover { box-shadow: var(--nb-sh-s) var(--nb-sh-s) 0 0 rgb(var(--nb-shc)) !important; transform: translate(-1px, -1px); }
:root body[class] #user-dropdown a { color: rgb(var(--ink)) !important; border-radius: var(--nb-r-s) !important; }
:root body[class] #user-dropdown a i { background: rgb(var(--fb-inner)) !important; color: rgb(var(--ink)) !important; border-radius: var(--nb-r-s) !important; }
:root body[class] #user-dropdown a:hover { background: rgb(var(--fb-inner)) !important; color: rgb(var(--ink)) !important; }
:root body[class] #user-dropdown a:hover i { background: rgb(var(--ink)) !important; color: rgb(var(--card)) !important; }
:root body[class] #user-dropdown a.is-danger, :root body[class] #user-dropdown a.is-danger i { color: rgb(var(--n-500)) !important; }
:root body[class] #user-dropdown a.is-danger:hover, :root body[class] #user-dropdown a.is-danger:hover i { color: rgb(var(--nb-shc)) !important; }
:root body[class] #user-dropdown a.is-danger:hover i { background: rgb(var(--card)) !important; }
:root body[class] #notification-menu .notif-item,
:root body[class] #message-menu .notif-item { background: rgb(var(--card)) !important; color: rgb(var(--ink)) !important; box-shadow: none !important; }
:root body[class] #notification-menu .notif-item.is-unread,
:root body[class] #message-menu .notif-item.is-unread { background: rgb(var(--fb-inner)) !important; }
:root body[class] #notification-menu .notif-item:hover,
:root body[class] #message-menu .notif-item:hover { background: rgb(var(--fb-inner)) !important; box-shadow: var(--nb-sh-s) var(--nb-sh-s) 0 0 rgb(var(--nb-shc)) !important; }
:root body[class] .notif-item .n-dot { background: rgb(var(--nb-shc)) !important; }
/* menü açıkken kullanıcı / ikon düğmesi: siyah zemin, beyaz yazı (gece tersi) */
:root body[class] #user-menu.is-open .user-chip,
:root body[class] .is-open > button.icon-sq { background: rgb(var(--ink)) !important; color: rgb(var(--card)) !important; }
:root body[class] #user-menu.is-open .user-chip *,
:root body[class] .is-open > button.icon-sq i { color: rgb(var(--card)) !important; }
:root body[class] .user-chip .fa-chevron-down { color: inherit !important; opacity: .7; }
:root body[class] .user-chip, :root body[class] .user-chip .u-name { color: rgb(var(--ink)) !important; }
:root body[class] .fb-rn[data-r="0"] .fb-rav { color: #fff !important; }
html.dark:root body[class] .fb-rn[data-r="0"] .fb-rav:not(:has(img)) { background: rgb(17 17 17) !important; }
:root body[class] .editor-char-counter, :root body[class] .editor-char-counter * { color: rgb(var(--n-500)) !important; }

/* ---------- renk/kontrast denetiminden çıkan düzeltmeler ---------- */
/* kategori ikonları: zemin ink (gündüz siyah, gece açık) → ikon ters renk */
:root body[class] .tm-ico, :root body[class] .tm-ico i, :root body[class] .tm-ico svg { color: rgb(var(--card)) !important; }
:root body[class] .gn-az a.on, html.dark:root body[class] .gn-az a.on { background: rgb(var(--ink)) !important; color: rgb(var(--card)) !important; }
/* profil: en beğenilen yorum kartı (hep koyu) */
:root body[class] .pf-best-tg { color: #fff !important; }
:root body[class] .pf-best small { color: rgb(255 255 255 / .72) !important; }
/* profil: IP kutusu */
:root body[class] .ipx-sh { color: rgb(var(--ink)) !important; }
:root body[class] .ipx-sh.weak, :root body[class] .ipx-lock { color: rgb(var(--n-500)) !important; }
/* arama: koyu başlık kutusundaki sonuç sayısı */
:root body[class] .sx-hero small { color: inherit !important; opacity: .75; }
/* etkinlik akışı: avatar köşesindeki tür ikonu */
:root body[class] .ac-ev-av em { background: rgb(var(--ink)) !important; color: rgb(var(--card)) !important; border-color: rgb(var(--card)) !important; }
:root body[class] .ac-counts a i { background: rgb(var(--fb-inner)) !important; color: rgb(var(--ink)) !important; }
:root body[class] .ac-ev.big .ac-ev-tx b, :root body[class] .ac-ev.big time { color: rgb(var(--n-500)) !important; }
:root body[class] .ac-ev.big .ac-ev-tx b a, :root body[class] .ac-ev.big .ac-user { color: rgb(var(--ink)) !important; }
/* istatistik: vurgulu sayı kutusu */
:root body[class] .st-num.hot, :root body[class] .st-num.hot b, :root body[class] .st-num.hot span.l, :root body[class] .st-num.hot .ic, :root body[class] .st-num.hot .ic i { color: rgb(var(--on-hx)) !important; }
:root body[class] .st-num.hot .ic { background: rgb(var(--on-hx) / .14) !important; }
:root body[class] :is(#notification-dropdown, #message-dropdown).is-open > button.icon-sq,
:root body[class] #user-menu.is-open > .user-chip { background: rgb(var(--ink)) !important; color: rgb(var(--card)) !important; }
:root body[class] :is(#notification-dropdown, #message-dropdown).is-open > button.icon-sq i,
:root body[class] #user-menu.is-open > .user-chip :is(.u-name, i) { color: rgb(var(--card)) !important; }
:root body[class] #user-menu.is-open > .user-chip .u-ph { background: rgb(var(--card)) !important; color: rgb(var(--ink)) !important; }
/* koyu başlık kutusu (arama sonuçları) */
:root body[class] .sx-hero.is-res small, :root body[class] .sx-hero small { color: rgb(var(--card)) !important; opacity: .75; }
/* etkinlik: sarı türü de diğerleri gibi */
:root body[class] .ac-ev .ac-ev-av em, :root body[class] .ac-ev .ac-ev-av em i { background: rgb(var(--ink)) !important; color: rgb(var(--card)) !important; }
:root body[class] .ac-ev .ac-ev-av em i { background: transparent !important; }
/* seçili sekme / bağlantı (gece hx-blue açık griye düşüyordu) */
:root body[class] .sp-rel a.on, :root body[class] .sp-toc nav a.on, :root body[class] .settings-tabs .tab-item.active,
html.dark:root body[class] .sp-rel a.on, html.dark:root body[class] .sp-toc nav a.on, html.dark:root body[class] .settings-tabs .tab-item.active,
html.dark:root body[class] .p-ayarlar .settings-tabs .tab-item.active { background: rgb(var(--ink)) !important; color: rgb(var(--card)) !important; }
:root body[class] :is(.sp-rel a.on, .sp-toc nav a.on, .settings-tabs .tab-item.active) * { color: rgb(var(--card)) !important; }
/* iletişim: e-posta kutusu */
:root body[class] .ct-mail, :root body[class] .ct-mail a, :root body[class] .ct-mail p, :root body[class] .ct-mail i, :root body[class] .ct-mail h2 { color: rgb(var(--on-hx)) !important; }
:root body[class] .ct-mail p { opacity: .8; }
/* eski tailwind sayfaları (giriş, kayıt, şifre, 404): gece okunurluk */
html.dark:root body[class] :is(.text-sky-500, .text-sky-600, .text-sky-700) { color: rgb(var(--ink)) !important; text-decoration: underline; text-underline-offset: 3px; }
:root body[class] :is(.text-sky-500, .text-sky-600) { color: rgb(var(--ink)) !important; }
html.dark:root body[class] :is(.text-slate-900, .text-slate-800, .text-slate-700, .text-gray-900, .text-gray-800, .text-gray-700) { color: rgb(var(--ink)) !important; }
html.dark:root body[class] :is(.text-slate-600, .text-slate-500, .text-gray-600, .text-gray-500) { color: rgb(var(--n-500)) !important; }
html.dark:root body[class] label { color: rgb(var(--ink)); }
html.dark:root body[class] :is(.bg-sky-100, .bg-purple-100, .bg-green-100, .bg-amber-100, .bg-red-100) { background: rgb(var(--fb-inner)) !important; }
html.dark:root body[class] :is(.bg-sky-100, .bg-purple-100, .bg-green-100, .bg-amber-100, .bg-red-100) .ic { color: rgb(var(--ink)) !important; }
:root body[class] :is(.bg-sky-400, .bg-sky-500, .p-404 .bg-sky-400) { background: rgb(var(--ink)) !important; }
:root body[class] :is(.bg-sky-400, .bg-sky-500) :is(i, span, .text-white) { color: rgb(var(--card)) !important; }
/* mobil menü kartları: hepsi aynı zemin, gündüz beyaz / gece koyu; seçili bağlantı ters renk */
:root body[class] .mdeck .md-card, html.dark:root body[class] .mdeck .md-card { background: rgb(var(--card)) !important; color: rgb(var(--ink)) !important; border: 0 solid transparent !important; }
:root body[class] .mdeck .md-h, :root body[class] .mdeck .md-h * { color: rgb(var(--ink)) !important; }
:root body[class] .mdeck .md-h small { color: rgb(var(--n-500)) !important; }
:root body[class] .mdeck .md-l { background: rgb(var(--fb-inner)) !important; color: rgb(var(--ink)) !important; }
:root body[class] .mdeck .md-l * { color: inherit !important; }
:root body[class] .mdeck .md-l.is-on, :root body[class] .mdeck .md-c2 .md-l.is-on { background: rgb(var(--ink)) !important; color: rgb(var(--card)) !important; }
:root body[class] .mdeck .md-bd { background: rgb(var(--nb-shc)) !important; color: #fff !important; }
:root body[class] .mdeck .md-x { background: rgb(var(--card)) !important; color: rgb(var(--ink)) !important; border: 0 !important; }
/* açılır kutu başlığı: koyu şerit yok, kutu zemininde */
:root body[class] .pop .pop-head { background: transparent !important; color: rgb(var(--ink)) !important; }
/* "yeni" etiketi: dolgulu → ters renk */
:root body[class] .yl-mv.new { color: rgb(var(--on-hx)) !important; }
/* mobil alt çubuk: seçili sekme */
:root body[class] #mobile-bottom-nav .tab-link.is-active, :root body[class] #mobile-bottom-nav .tab-link:active { background: rgb(var(--ink)) !important; color: rgb(var(--card)) !important; }
:root body[class] #mobile-bottom-nav .tab-link.is-active * { color: rgb(var(--card)) !important; }
/* mobil arama paneli: eski sarı dolgu yerine kart zemini */
:root body[class] .smx-panel { background: rgb(var(--card)) !important; color: rgb(var(--ink)) !important; }
:root body[class] :is(.smx-h, .smx-inp, .smx-inp input, .smx-rq, .smx-ri, .smx-ri .t, .smx-clear) { color: rgb(var(--ink)) !important; }
:root body[class] :is(.smx-hints span, .smx-chip, .smx-res, .smx-ri .ico, .smx-inp) { background: rgb(var(--fb-inner)) !important; color: rgb(var(--ink)) !important; }
:root body[class] :is(.smx-tag, .smx-go, .smx-ri.new .ico) { background: rgb(var(--ink)) !important; color: rgb(var(--card)) !important; }
:root body[class] .smx-ri .t mark { background: rgb(var(--ink)) !important; color: rgb(var(--card)) !important; }
:root body[class] .smx-x, :root body[class] .smx-x i { background: rgb(var(--ink)) !important; color: rgb(var(--card)) !important; }

/* =====================================================================
   TUTTI FRUTTI PALETİ (P)
   Lacivert mürekkep + krem zemin; öne çıkan kutular limon, turkuaz,
   mercan ve mavi. Renkli kutuların üstündeki yazı her iki modda lacivert.
   ===================================================================== */
:root {
    --tf-lemon: 255 214 64;  --tf-teal: 92 210 200;  --tf-coral: 255 138 110;
    --tf-blue: 140 170 255;  --tf-cream: 255 236 200; --tf-on: 22 24 54;

    --paper: 255 250 240; --card: 255 255 255; --ink: 22 24 54; --line: 22 24 54; --line-soft: 236 228 210;
    --fb-inner: 250 244 230; --fb-row: 250 244 230; --fb-bt: 255 255 255; --fb-ot: 255 255 255; --fb-rd: 255 255 255;
    --fb-or: 22 24 54; --fb-night: 22 24 54; --fb-on-or: 255 255 255;
    --hx-yellow: 22 24 54; --hx-blue: 22 24 54; --on-hx: 255 255 255;
    --accent: 22 24 54; --accent-strong: 22 24 54; --on-accent: 255 255 255; --mark: 250 244 230;
    --nb-shc: 22 24 54; --nb-ink: 22 24 54; --shadow-c: 22 24 54;
    --n-50: 250 244 230; --n-100: 246 240 226; --n-200: 236 228 210; --n-300: 200 198 200;
    --n-400: 110 112 140; --n-500: 90 92 120; --n-600: 60 62 92; --n-700: 40 42 72; --n-800: 22 24 54; --n-900: 22 24 54;
}
html.dark {
    --paper: 16 18 38; --card: 30 33 62; --ink: 245 244 255; --line: 245 244 255; --line-soft: 62 66 104;
    --fb-inner: 42 46 82; --fb-row: 42 46 82; --fb-bt: 30 33 62; --fb-ot: 30 33 62; --fb-rd: 30 33 62;
    --fb-or: 10 12 28; --fb-night: 10 12 28; --fb-on-or: 255 255 255;
    --hx-yellow: 245 244 255; --hx-blue: 245 244 255; --on-hx: 22 24 54;
    --accent: 245 244 255; --accent-strong: 245 244 255; --on-accent: 22 24 54; --mark: 42 46 82;
    --nb-shc: 255 214 64; --nb-ink: 245 244 255; --shadow-c: 0 0 0;
    --n-50: 24 26 50; --n-100: 42 46 82; --n-200: 62 66 104; --n-300: 90 94 132;
    --n-400: 150 152 186; --n-500: 172 174 204; --n-600: 196 198 222; --n-700: 220 220 240; --n-800: 245 244 255; --n-900: 245 244 255;
}
html body { background: rgb(var(--paper)) !important; }

/* renkli kutular */
:root:root:root body[class] .fb-blue { background: rgb(var(--tf-lemon)) !important; }
:root:root:root body[class] .fb-night { background: rgb(var(--tf-teal)) !important; }
:root:root:root body[class] .fb-or { background: rgb(var(--tf-coral)) !important; }
:root:root:root body[class] .hx-cta { background: rgb(var(--tf-teal)) !important; }
:root:root:root body[class] .fb-st > .fb-t:nth-child(6n+1) { background: rgb(var(--tf-coral)) !important; }
:root:root:root body[class] .fb-st > .fb-t:nth-child(6n+6) { background: rgb(var(--tf-blue)) !important; }
html:not(.dark):root:root body[class] .bx-tile:nth-of-type(3n) { background: rgb(var(--tf-cream)) !important; }
:root:root:root body[class] :is(.fb-blue, .fb-night, .fb-or, .hx-cta), :root:root:root body[class] :is(.fb-blue, .fb-night, .fb-or, .hx-cta) * { color: rgb(var(--tf-on)) !important; }
:root:root:root body[class] .fb-st > .fb-t:is(:nth-child(6n+1), :nth-child(6n+6)), :root:root:root body[class] .fb-st > .fb-t:is(:nth-child(6n+1), :nth-child(6n+6)) * { color: rgb(var(--tf-on)) !important; }
:root:root:root body[class] :is(.fb-blue, .fb-night) :is(p, small, .fb-th p, .fb-rm, .fb-rt small) { color: rgb(var(--tf-on) / .78) !important; }
:root:root:root body[class] :is(.fb-blue, .fb-night) .fb-no { color: rgb(var(--tf-on)) !important; }
:root:root:root body[class] .fb-night .fb-rn:not([data-r="0"]) { --cb: rgb(255 255 255 / .45) !important; background: rgb(255 255 255 / .45) !important; }
:root:root:root body[class] .fb-night .fb-rn[data-r="0"] { --cb: #fff !important; background: #fff !important; }
/* renkli kutudaki butonlar: beyaz */
:root:root:root body[class] :is(.fb-blue, .fb-night, .fb-or, .hx-cta) :is(.fb-pl, .fb-bn, .hx-cta-btn, .bx-more, a.fb-more) { background: #fff !important; color: rgb(var(--tf-on)) !important; }
:root:root:root body[class] :is(.fb-blue, .fb-night, .fb-or, .hx-cta) :is(.fb-pl, .fb-bn, .hx-cta-btn, .bx-more, a.fb-more) * { color: rgb(var(--tf-on)) !important; }
/* canlı etiketi ve avatar harfleri (renkli kutu içinde de beyaz) */
:root:root:root body[class] .fb-onair, :root:root:root body[class] .fb .fb-onair, :root:root:root body[class] .fb-onair * { background: rgb(var(--tf-on)) !important; color: #fff !important; }
:root:root:root body[class] .fb .fb-rav:not(:has(img)), :root:root:root body[class] .fb .fb-rn .fb-rav:not(:has(img)), :root:root:root body[class] .fb .fb-rn[data-r="0"] .fb-rav:not(:has(img)) { background: rgb(var(--tf-on)) !important; color: #fff !important; }
:root:root:root body[class] .fb .fb-rav b { background: #fff !important; color: rgb(var(--tf-on)) !important; }
/* baş harf avatarları: lacivert (gece açık) */
:root:root:root body[class] :is(.fb-av:not(:has(img)), .bx-ava, .u-ph, .n-ph, span.st-ava, .yl-av i, .tm-avs i, .ac-ev-av:not(:has(img)), .nt-av i, .pf-av span, .sx-av:not(:has(img)), .tab-link .u-ph) { background: rgb(var(--ink)) !important; color: rgb(var(--card)) !important; }
/* profil başlığı ve koyu kartlar */
:root:root:root body[class] :is(.pf-card, .pf-best, .tm-new) { background: rgb(var(--tf-on)) !important; }
html.dark:root:root body[class] :is(.pf-card, .pf-best, .tm-new) { background: rgb(var(--fb-inner)) !important; }
:root:root:root body[class] .pf-card .pf-av i { background: rgb(var(--tf-coral)) !important; color: rgb(var(--tf-on)) !important; }
/* seçili sekmeler: mercan */
:root:root:root body[class] :is(.nvB-main a.is-active, .bx-seg a.on) { background: rgb(var(--tf-coral)) !important; }
:root:root:root body[class] :is(.nvB-main a.is-active, .bx-seg a.on), :root:root:root body[class] :is(.nvB-main a.is-active, .bx-seg a.on) * { color: rgb(var(--tf-on)) !important; }
/* bildirim rozetleri, seçim */
:root:root:root body[class] :is(.pip, .n-count, .mod-count, .mdeck .md-bd) { background: rgb(var(--tf-coral)) !important; color: rgb(var(--tf-on)) !important; }
:root:root:root body[class] .notif-item .n-dot { background: rgb(var(--tf-coral)) !important; }
::selection { background: rgb(var(--tf-lemon)); color: rgb(var(--tf-on)); }
/* gece: üst menü ve kartlar zeminden ayrışsın */
html.dark:root:root:root body[class] .user-chip .u-ph { background: rgb(var(--ink)) !important; color: rgb(var(--tf-on)) !important; }
:root:root:root body[class] :is(.mdeck .md-l.is-on, .mdeck .md-c2 .md-l.is-on, #mobile-bottom-nav .tab-link.is-active) { background: rgb(var(--tf-coral)) !important; color: rgb(var(--tf-on)) !important; }
:root:root:root body[class] :is(.mdeck .md-l.is-on, #mobile-bottom-nav .tab-link.is-active) * { color: rgb(var(--tf-on)) !important; }