html[data-theme='dark'] {
  --chrome-accent: var(--chrome-accent-base);
  --modern-bg: #0b1220;
  --modern-surface: #111a2b;
  --modern-surface-soft: #0f1727;
  --modern-text: #e5e7eb;
  --modern-text-muted: #c3cad7;
  --modern-border: rgba(148, 163, 184, 0.28);
  --modern-shadow: 0 14px 42px rgba(0, 0, 0, 0.45);
  --modern-input-bg: #182236;
  --modern-input-text: #f3f4f6;
  --modern-input-placeholder: #94a3b8;
  --modern-link: #f3f4f6;
  --modern-hover-bg: rgba(148, 163, 184, 0.16);
  --modern-hover-text: rgba(229, 231, 235, 0.92);
  --modern-icon-hover-bg: rgba(255, 255, 255, 0.10);
  --modern-icon-hover-ring: rgba(255, 255, 255, 0.12);
  /* Etiketler: zeminden hafif açık; hover’da biraz daha açık (light ile ters mantık) */
  --modern-tag-bg: color-mix(in srgb, var(--modern-bg) 94%, #ffffff 6%);
  --modern-tag-bg-hover: color-mix(in srgb, var(--modern-bg) 86%, #ffffff 14%);
  --modern-tag-border: rgba(148, 163, 184, 0.32);
  --modern-tag-border-hover: rgba(148, 163, 184, 0.4);
  --modern-tag-text: #e5e7eb;
  --modern-tag-text-hover: #e5e7eb;
}

/* Dark mode accent: auto lighten based on theme color (fallback above) */
@supports (color: color-mix(in srgb, #000, #fff)) {
  html[data-theme='dark'] {
    --chrome-accent: color-mix(in srgb, var(--chrome-accent-base), white 22%);
  }
}
/* Create button: brighten in dark — uses :root vars from modern-theme-dynamic */
@supports (color: color-mix(in srgb, #000, #fff)) {
  html[data-theme='dark'] body.theme-modern .button.button-create {
    background: color-mix(in srgb, var(--modern-btn-create-mix-base), white 14%) !important;
    border-color: color-mix(in srgb, var(--modern-btn-create-mix-base), white 14%) !important;
  }
  html[data-theme='dark'] body.theme-modern .button.button-create:hover {
    background: color-mix(in srgb, var(--modern-btn-create-mix-hover), white 18%) !important;
  }
}
/* Surfaces */
html[data-theme='dark'] body.theme-modern .header,
html[data-theme='dark'] body.theme-modern .header-modern-secondary .header__subbar,
html[data-theme='dark'] body.theme-modern .language-links--header .language-links--header__dropdown,
html[data-theme='dark'] body.theme-modern .footer-bottom,
html[data-theme='dark'] body.theme-modern .footer-chrome__cta {
  background: var(--modern-surface) !important;
  color: var(--modern-text) !important;
}

/* Main page wrappers in dark should match page background (avoid two-tone blocks) */
html[data-theme='dark'] body.theme-modern .buzz-container,
html[data-theme='dark'] body.theme-modern .global-container,
html[data-theme='dark'] body.theme-modern .global-container .content,
html[data-theme='dark'] body.theme-modern .global-container .news,
html[data-theme='dark'] body.theme-modern .global-container .news__item,
html[data-theme='dark'] body.theme-modern .global-container .sidebar,
html[data-theme='dark'] body.theme-modern .sidebar--fixed,
html[data-theme='dark'] body.theme-modern .widget,
html[data-theme='dark'] body.theme-modern .widget__body {
  background: var(--modern-bg) !important;
}

html[data-theme='dark'] body.theme-modern .header-modern-secondary .header__subbar {
  border-top-color: var(--modern-border);
  box-shadow: var(--modern-shadow);
}

html[data-theme='dark'] body.theme-modern .footer-chrome__rule {
  border-top-color: var(--modern-border);
}

html[data-theme='dark'] body.theme-modern .footer-chrome__cta,
html[data-theme='dark'] body.theme-modern .footer-chrome .footer-chrome-social.only_icons a,
html[data-theme='dark'] body.theme-modern .language-links--header .language-links--header__dropdown {
  border-color: var(--modern-border);
  box-shadow: none;
}
/* CTA pill: light’taki gibi hover — çerçeve + metin + ikonlar vurgu rengi, hafif zemin */
html[data-theme='dark'] body.theme-modern .footer-chrome__cta:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: var(--chrome-accent) !important;
  color: var(--chrome-accent) !important;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.25);
}
html[data-theme='dark'] body.theme-modern .footer-chrome__cta:hover .footer-chrome__cta-icon,
html[data-theme='dark'] body.theme-modern .footer-chrome__cta:hover .footer-chrome__cta-label,
html[data-theme='dark'] body.theme-modern .footer-chrome__cta:hover .footer-chrome__cta-chevron {
  color: var(--chrome-accent) !important;
}
html[data-theme='dark'] body.theme-modern .footer-chrome__cta:hover .footer-chrome__cta-chevron {
  opacity: 1;
}

html[data-theme='dark'] body.theme-modern .footer-chrome .footer-chrome-social.only_icons a {
  background: var(--modern-surface-soft);
}

html[data-theme='dark'] body.theme-modern .footer-chrome .footer-chrome-social.only_icons a:hover {
  background: #1f2a3f;
}

/* Header controls & search */
html[data-theme='dark'] body.theme-modern .header__searchbar {
  background: var(--modern-surface) !important;
  color: var(--modern-text) !important;
}
html[data-theme='dark'] body.theme-modern .header__searchbar__container__close,
html[data-theme='dark'] body.theme-modern .header__searchbar__container__close .material-icons {
  color: var(--modern-text-muted) !important;
}
html[data-theme='dark'] body.theme-modern .header__searchbar__container__close:hover,
html[data-theme='dark'] body.theme-modern .header__searchbar__container__close:hover .material-icons {
  color: var(--chrome-accent) !important;
}
html[data-theme='dark'] body.theme-modern .header__searchbar__container__input {
  background: var(--modern-input-bg);
  color: var(--modern-input-text);
}

html[data-theme='dark'] body.theme-modern .header__searchbar__container__input::placeholder {
  color: var(--modern-input-placeholder);
}

html[data-theme='dark'] body.theme-modern .header__appbar--right__search__button,
html[data-theme='dark'] body.theme-modern .header__appbar--right__search__button .material-icons,
html[data-theme='dark'] body.theme-modern .header__appbar--right__settings__button,
html[data-theme='dark'] body.theme-modern .header__appbar--right__settings__button .material-icons {
  color: var(--modern-text) !important;
}

/* Mobil hamburger (application.css: nav color:#000 — koyu header’da kayboluyor) */
html[data-theme='dark'] body.theme-modern .header__appbar--left__nav,
html[data-theme='dark'] body.theme-modern .header__appbar--left__nav .material-icons {
  color: var(--modern-text) !important;
}

/* Mobil yan menü (drawer): açık zemin + düşük kontrast — surface + okunaklı metin */
html[data-theme='dark'] body.theme-modern .drawer {
  background-color: var(--modern-surface) !important;
  color: var(--modern-text) !important;
  box-shadow: var(--modern-shadow);
}

html[data-theme='dark'] body.theme-modern .drawer__header {
  border-bottom-color: var(--modern-border) !important;
}

html[data-theme='dark'] body.theme-modern .drawer__header__close,
html[data-theme='dark'] body.theme-modern .drawer__header__close .material-icons {
  color: var(--modern-text-muted) !important;
}

html[data-theme='dark'] body.theme-modern .drawer__header__close:hover,
html[data-theme='dark'] body.theme-modern .drawer__header__close:hover .material-icons {
  color: var(--chrome-accent) !important;
}

html[data-theme='dark'] body.theme-modern .drawer__menu__item__link {
  color: var(--modern-text) !important;
  opacity: 1 !important;
}

html[data-theme='dark'] body.theme-modern .drawer__menu__item__icon,
html[data-theme='dark'] body.theme-modern .drawer__menu__item__icon .material-icons {
  color: var(--modern-text) !important;
}

html[data-theme='dark'] body.theme-modern .drawer__menu__item--active .drawer__menu__item__icon,
html[data-theme='dark'] body.theme-modern .drawer__menu__item--active .drawer__menu__item__icon .material-icons {
  color: var(--chrome-accent) !important;
}

html[data-theme='dark'] body.theme-modern .drawer__menu__item--active a,
html[data-theme='dark'] body.theme-modern .drawer__menu__item:hover a {
  background-color: var(--modern-hover-bg) !important;
}

html[data-theme='dark'] body.theme-modern .drawer__menu__item--active .drawer__menu__item__link,
html[data-theme='dark'] body.theme-modern .drawer__menu__item:hover .drawer__menu__item__link {
  color: var(--chrome-accent) !important;
}

html[data-theme='dark'] body.theme-modern .drawer__menu__item--border {
  border-top-color: var(--modern-border) !important;
}

html[data-theme='dark'] body.theme-modern .drawer__menu__item--disable .drawer__menu__item__icon,
html[data-theme='dark'] body.theme-modern .drawer__menu__item--disable .drawer__menu__item__icon .material-icons {
  color: var(--modern-text-muted) !important;
}

html[data-theme='dark'] body.theme-modern .drawer__menu__item--disable a {
  color: var(--modern-text-muted) !important;
}

html[data-theme='dark'] body.theme-modern .drawer .footer-left {
  border-top: 1px solid var(--modern-border);
  padding: 12px 16px 16px;
  margin-top: 4px;
}

html[data-theme='dark'] body.theme-modern .drawer .footer-menu a {
  color: var(--modern-text) !important;
}

html[data-theme='dark'] body.theme-modern .drawer .footer-menu a:hover {
  color: var(--chrome-accent) !important;
  filter: none;
}

html[data-theme='dark'] body.theme-modern .drawer .footer-copyright {
  color: var(--modern-text-muted) !important;
}

html[data-theme='dark'] body.theme-modern .drawer .reaction-emojis {
  float: none;
  clear: both;
}

html[data-theme='dark'] body.theme-modern .drawer .reaction-emojis a.selected {
  background: var(--modern-hover-bg) !important;
  border-color: var(--modern-border) !important;
}

/* Top menu (main + secondary) text/icon colors in dark */
html[data-theme='dark'] body.theme-modern .header__appbar--left__menu__list__item > a,
html[data-theme='dark'] body.theme-modern .header__appbar--left__menu__list__item > a .material-icons,
html[data-theme='dark'] body.theme-modern .header__appbar--left__menu__list__item > a i.material-icons,
html[data-theme='dark'] body.theme-modern .header-modern-secondary .header__subbar,
html[data-theme='dark'] body.theme-modern .header-modern-secondary .header__subbar a,
html[data-theme='dark'] body.theme-modern .header-modern-secondary .header__subbar .material-icons {
  color: var(--modern-text) !important;
}

/* Üst menü hover / chrome-line--in: tema vurgusu (a.chrome-hover-line * ile tüm çocuklara gri vermeyin — hover’ı öldürüyordu) */
html[data-theme='dark'] body.theme-modern .header--modern .header__appbar--left__menu__list__item > a.menu-link:hover,
html[data-theme='dark'] body.theme-modern .header--modern .header__appbar--left__menu__list__item > a.menu-link:hover *,
html[data-theme='dark'] body.theme-modern .header--modern .header__appbar--left__menu__list__item > a.menu-link.chrome-line--in,
html[data-theme='dark'] body.theme-modern .header--modern .header__appbar--left__menu__list__item > a.menu-link.chrome-line--in * {
  color: var(--chrome-accent) !important;
}
html[data-theme='dark'] body.theme-modern .header--modern .header__appbar--left__menu__list__item > a.menu-link:hover .material-icons,
html[data-theme='dark'] body.theme-modern .header--modern .header__appbar--left__menu__list__item > a.menu-link:hover i.material-icons,
html[data-theme='dark'] body.theme-modern .header--modern .header__appbar--left__menu__list__item > a.menu-link.chrome-line--in .material-icons,
html[data-theme='dark'] body.theme-modern .header--modern .header__appbar--left__menu__list__item > a.menu-link.chrome-line--in .menu-icon,
html[data-theme='dark'] body.theme-modern .header--modern .header__appbar--left__menu__list__item > a.menu-link.chrome-line--in .menu-icon .material-icons {
  color: var(--chrome-accent) !important;
}
html[data-theme='dark'] body.theme-modern .header--modern .header__modern-top__center .category-dropdown-button.chrome-hover-line:hover,
html[data-theme='dark'] body.theme-modern .header--modern .header__modern-top__center .category-dropdown-button.chrome-hover-line.chrome-line--in,
html[data-theme='dark'] body.theme-modern .header--modern .header__modern-top__center .category-dropdown-button.chrome-hover-line:hover .material-icons,
html[data-theme='dark'] body.theme-modern .header--modern .header__modern-top__center .category-dropdown-button.chrome-hover-line.chrome-line--in .material-icons {
  color: var(--chrome-accent) !important;
}
html[data-theme='dark'] body.theme-modern .header-modern-secondary .header__subbar .chrome-nav__link.chrome-hover-line:hover,
html[data-theme='dark'] body.theme-modern .header-modern-secondary .header__subbar .chrome-nav__link.chrome-hover-line:hover *,
html[data-theme='dark'] body.theme-modern .header-modern-secondary .header__subbar .chrome-nav__link.chrome-hover-line.chrome-line--in,
html[data-theme='dark'] body.theme-modern .header-modern-secondary .header__subbar .chrome-nav__link.chrome-hover-line.chrome-line--in * {
  color: var(--chrome-accent) !important;
}
html[data-theme='dark'] body.theme-modern .header-modern-secondary .header__subbar .chrome-nav__link.chrome-hover-line:hover .chrome-nav-link__icon,
html[data-theme='dark'] body.theme-modern .header-modern-secondary .header__subbar .chrome-nav__link.chrome-hover-line.chrome-line--in .chrome-nav-link__icon {
  color: var(--chrome-accent) !important;
}

/* Ripple: application.css beyaz %40 — dark üst barda soluk; hafif accent parıltısı */
html[data-theme='dark'] body.theme-modern .header--modern .header__modern-top__center .menu-link.ripple .ripple-wrapper,
html[data-theme='dark'] body.theme-modern .header--modern .header__modern-top__center .menu-link.has-ripple .ripple-wrapper {
  background: hsla(0, 0%, 100%, 0.14) !important;
}
@supports (color: color-mix(in srgb, #000, #fff)) {
  html[data-theme='dark'] body.theme-modern .header--modern .header__modern-top__center .menu-link.ripple .ripple-wrapper,
  html[data-theme='dark'] body.theme-modern .header--modern .header__modern-top__center .menu-link.has-ripple .ripple-wrapper {
    background: color-mix(in srgb, var(--chrome-accent) 32%, transparent) !important;
  }
}

/* Mega menü: dış çerçeve, üst ok (before/after), orta bölüm çizgileri — light ile aynı mantık, nötr token */
html[data-theme='dark'] body.theme-modern .category-dropdown.dropdown-container {
  border-color: var(--modern-border) !important;
  box-shadow: var(--modern-shadow);
}
html[data-theme='dark'] body.theme-modern .category-dropdown.dropdown-container:before {
  border-color: transparent transparent rgba(148, 163, 184, 0.42) transparent !important;
}
html[data-theme='dark'] body.theme-modern .category-dropdown.dropdown-container:after {
  border-color: transparent transparent var(--modern-surface) transparent !important;
}
html[data-theme='dark'] body.theme-modern .category-dropdown .category-dropdown_sec.sec_cat2 {
  border-top: 1px solid var(--modern-border) !important;
  border-bottom: 1px solid var(--modern-border) !important;
}

/* Mega menü alt şerit (zemin style.blade’de token ile); link / dil dark uyumu */
html[data-theme='dark'] body.theme-modern .category-dropdown .footer-menu a {
  color: var(--modern-text) !important;
}
html[data-theme='dark'] body.theme-modern .category-dropdown .footer-menu a:hover {
  color: var(--chrome-accent) !important;
  filter: none;
}
html[data-theme='dark'] body.theme-modern .category-dropdown .footer-copyright {
  color: var(--modern-text-muted) !important;
}
html[data-theme='dark'] body.theme-modern .category-dropdown .language-links .button.button-white {
  background: var(--modern-surface) !important;
  border: 1px solid var(--modern-border) !important;
  box-shadow: none !important;
  color: var(--modern-text) !important;
}
html[data-theme='dark'] body.theme-modern .category-dropdown .language-links .button.button-white .material-icons,
html[data-theme='dark'] body.theme-modern .category-dropdown .language-links .button.button-white b {
  color: inherit !important;
}
html[data-theme='dark'] body.theme-modern .category-dropdown .language-links .button.button-white:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: var(--chrome-accent) !important;
  color: var(--chrome-accent) !important;
}
html[data-theme='dark'] body.theme-modern .category-dropdown .language-links:hover .sub-nav {
  background: var(--modern-surface) !important;
  border: 1px solid var(--modern-border) !important;
  box-shadow: var(--modern-shadow) !important;
}
html[data-theme='dark'] body.theme-modern .category-dropdown .language-links .sub-nav .sub-item {
  color: var(--modern-text) !important;
}
html[data-theme='dark'] body.theme-modern .category-dropdown .language-links .sub-nav a:hover {
  color: var(--chrome-accent) !important;
}

/* Theme toggle icon tone in dark */
html[data-theme='dark'] body.theme-modern .header-theme-toggle .material-icons {
  color: #facc15;
}

/* Hover affordance in dark: slightly brighter */
html[data-theme='dark'] body.theme-modern a:hover {
  filter: brightness(1.08);
}

/* Logo hover should not "flash" in dark */
html[data-theme='dark'] body.theme-modern .header__appbar--left__logo a:hover,
html[data-theme='dark'] body.theme-modern .header__appbar--left__logo a:hover img,
html[data-theme='dark'] body.theme-modern .footer-chrome__logo-link a:hover,
html[data-theme='dark'] body.theme-modern .footer-chrome__logo-link a:hover img {
  filter: none !important;
}

html[data-theme='dark'] body.theme-modern .header__appbar--left__menu__list__item > a:hover,
html[data-theme='dark'] body.theme-modern .chrome-nav__link:hover,
html[data-theme='dark'] body.theme-modern .footer-menu .menu-link:hover,
html[data-theme='dark'] body.theme-modern .footer-chrome a.chrome-hover-line:hover {
  filter: brightness(1.12);
}
/* Üst / alt chrome menü: brightness vurgu rengini (chrome-accent) bozar */
html[data-theme='dark'] body.theme-modern .header--modern .header__appbar--left__menu__list__item > a.menu-link:hover,
html[data-theme='dark'] body.theme-modern .header--modern .header__appbar--left__menu__list__item > a.menu-link.chrome-line--in,
html[data-theme='dark'] body.theme-modern .header-modern-secondary .header__subbar .chrome-nav__link.chrome-hover-line:hover,
html[data-theme='dark'] body.theme-modern .header-modern-secondary .header__subbar .chrome-nav__link.chrome-hover-line.chrome-line--in {
  filter: none !important;
}

/* Dividers / hr in dark should not be white */
html[data-theme='dark'] body.theme-modern hr {
  border-color: var(--modern-border) !important;
}

/* Section header separators (colheader underline / rule) */
html[data-theme='dark'] body.theme-modern .colheader {
  border-color: var(--modern-border) !important;
}

/* Header subbar top rule + footer rule */
html[data-theme='dark'] body.theme-modern .header-modern-secondary .header__subbar {
  border-top-color: var(--modern-border) !important;
}
html[data-theme='dark'] body.theme-modern .footer-chrome__rule {
  border-top-color: var(--modern-border) !important;
}

/* Headline separators (if any borders are used around headline area) */
html[data-theme='dark'] body.theme-modern .headline,
html[data-theme='dark'] body.theme-modern .headline-articles {
  border-color: var(--modern-border) !important;
}

/* Sidebar "today's best" and similar lists: item dividers */
html[data-theme='dark'] body.theme-modern .sidebar-mosts__item,
html[data-theme='dark'] body.theme-modern .sidebar-mosts__item__body,
html[data-theme='dark'] body.theme-modern .sidebar-mosts__item__caption,
html[data-theme='dark'] body.theme-modern .sidebar-mosts__item__title,
html[data-theme='dark'] body.theme-modern .sidebar-trend__item,
html[data-theme='dark'] body.theme-modern .sidebar-trend__item__body,
html[data-theme='dark'] body.theme-modern .sidebar-trend__item__caption,
html[data-theme='dark'] body.theme-modern .sidebar-trend__item__title {
  border-color: var(--modern-border) !important;
  border-bottom-color: var(--modern-border) !important;
}

/* Content vs sidebar separators (post pages / layouts) */
html[data-theme='dark'] body.theme-modern .global-container .content,
html[data-theme='dark'] body.theme-modern .global-container .sidebar,
html[data-theme='dark'] body.theme-modern .content-body--right,
html[data-theme='dark'] body.theme-modern .content-body--left {
  border-color: var(--modern-border) !important;
  border-left-color: var(--modern-border) !important;
  border-right-color: var(--modern-border) !important;
}

/* Dropdown hovers */
html[data-theme='dark'] body.theme-modern .language-links--header__option:hover,
html[data-theme='dark'] body.theme-modern .language-links--header.hor:hover .language-links--header__toggle,
html[data-theme='dark'] body.theme-modern .language-links--header.hor:focus-within .language-links--header__toggle {
  background: rgba(148, 163, 184, 0.16);
}

/* Timeline surfaces in dark */
html[data-theme='dark'] body.theme-modern .content-timeline,
html[data-theme='dark'] body.theme-modern .content-timeline_right,
html[data-theme='dark'] body.theme-modern .sidebar-block {
  /* Match page background to avoid two-tone blocks */
  background: var(--modern-bg) !important;
}

/* Timeline / list items: force surface in dark (white cards were bleeding through) */
html[data-theme='dark'] body.theme-modern .content-timeline__item,
html[data-theme='dark'] body.theme-modern .content-timeline__link,
html[data-theme='dark'] body.theme-modern .content-timeline__detail,
html[data-theme='dark'] body.theme-modern .content-timeline__detail__container,
html[data-theme='dark'] body.theme-modern .content-timeline_right__list .sidebar-mosts__item,
html[data-theme='dark'] body.theme-modern .sidebar-mosts__item__body,
html[data-theme='dark'] body.theme-modern .sidebar-mosts__item__caption {
  background: var(--modern-bg) !important;
  color: var(--modern-text) !important;
}

/* Ensure nested timeline blocks don't reintroduce lighter backgrounds */
html[data-theme='dark'] body.theme-modern .content-timeline__item .content-timeline--right,
html[data-theme='dark'] body.theme-modern .content-timeline__item .content-timeline__media,
html[data-theme='dark'] body.theme-modern .content-timeline__item .content-timeline__media__image,
html[data-theme='dark'] body.theme-modern .content-timeline__item .content-timeline__detail--top,
html[data-theme='dark'] body.theme-modern .content-timeline__item .content-timeline__detail--bottom,
html[data-theme='dark'] body.theme-modern .content-timeline__item .content-timeline__detail__date,
html[data-theme='dark'] body.theme-modern .content-timeline__item .content-timeline__detail__desc,
html[data-theme='dark'] body.theme-modern .content-timeline__item .content-timeline__detail__title,
html[data-theme='dark'] body.theme-modern .content-timeline_right__list .sidebar-mosts__item__link,
html[data-theme='dark'] body.theme-modern .content-timeline_right__list .sidebar-mosts__item__image,
html[data-theme='dark'] body.theme-modern .content-timeline_right__list .sidebar-mosts__item__caption {
  background: transparent !important;
}

/* Timeline hover "wave/flicker" fix: stabilize image rendering in dark */
html[data-theme='dark'] body.theme-modern .content-timeline__media__image,
html[data-theme='dark'] body.theme-modern .sidebar-mosts__item__image,
html[data-theme='dark'] body.theme-modern .sidebar-trend__item__image {
  background: transparent !important;
}
/* Disable any hover filter/transform on media links themselves (filter on <a> affects children) */
html[data-theme='dark'] body.theme-modern .content-timeline__media__image a,
html[data-theme='dark'] body.theme-modern .sidebar-mosts__item__link,
html[data-theme='dark'] body.theme-modern .sidebar-trend__item__link {
  filter: none !important;
  transform: none !important;
}
html[data-theme='dark'] body.theme-modern .content-timeline__media__image a:hover,
html[data-theme='dark'] body.theme-modern .sidebar-mosts__item__link:hover,
html[data-theme='dark'] body.theme-modern .sidebar-trend__item__link:hover {
  filter: none !important;
  transform: none !important;
}
html[data-theme='dark'] body.theme-modern .content-timeline__media__image img,
html[data-theme='dark'] body.theme-modern .sidebar-mosts__item__image__item,
html[data-theme='dark'] body.theme-modern .sidebar-trend__item__image {
  display: block;
  background: transparent !important;
  backface-visibility: hidden;
  transform: translateZ(0);
  will-change: transform;
}
html[data-theme='dark'] body.theme-modern .content-timeline__media__image a:hover img,
html[data-theme='dark'] body.theme-modern .sidebar-mosts__item__link:hover img,
html[data-theme='dark'] body.theme-modern .sidebar-trend__item__link:hover img {
  filter: none !important;
  transform: none !important;
  transition: none !important;
}

/* Share counts + share trigger icons: make visible in dark */
html[data-theme='dark'] body.theme-modern .content-timeline__detail__social-media .material-icons,
html[data-theme='dark'] body.theme-modern .content-timeline__detail__social-media i.material-icons,
html[data-theme='dark'] body.theme-modern .content-timeline__detail__social-media .has-dropdown,
html[data-theme='dark'] body.theme-modern .content-timeline__detail__date.share_counts,
html[data-theme='dark'] body.theme-modern .content-timeline__detail__date.share_counts span {
  color: rgba(229, 231, 235, 0.86) !important;
}

html[data-theme='dark'] body.theme-modern .share_counts .buzz-icon,
html[data-theme='dark'] body.theme-modern .share_counts i.buzz-icon,
html[data-theme='dark'] body.theme-modern .share_counts div.buzz-icon {
  /* Force dark icons/sprites to read as white in dark mode */
  filter: invert(1) grayscale(1) brightness(1.25) contrast(1.05);
  opacity: 0.95;
}

/* Post page: sticky header (content-header) */
html[data-theme='dark'] body.theme-modern .content-header,
html[data-theme='dark'] body.theme-modern .content-header__container {
  background: var(--modern-surface) !important;
  color: var(--modern-text) !important;
  border-color: var(--modern-border) !important;
}
html[data-theme='dark'] body.theme-modern .content-header a,
html[data-theme='dark'] body.theme-modern .content-header .material-icons {
  color: var(--modern-text) !important;
}

/* Post left share bar: add subtle hover affordance in dark */
html[data-theme='dark'] body.theme-modern .content-share__item {
  border-radius: 999px;
}
html[data-theme='dark'] body.theme-modern .content-share__item:hover {
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.06);
  filter: none !important;
}
html[data-theme='dark'] body.theme-modern .content-share__item:focus-visible {
  outline: 2px solid var(--chrome-accent);
  outline-offset: 2px;
}

/* Font sizer icon in dark (A-/A+) */
html[data-theme='dark'] body.theme-modern .content-font__icon,
html[data-theme='dark'] body.theme-modern .font-dropdown__item__icon {
  filter: invert(1) grayscale(1) brightness(1.15);
  opacity: 0.95;
}

/* Font dropdown (size controls) should not be white in dark */
html[data-theme='dark'] body.theme-modern .font-dropdown.dropdown-container {
  background: var(--modern-surface) !important;
  border: 1px solid var(--modern-border) !important;
  box-shadow: var(--modern-shadow);
}
html[data-theme='dark'] body.theme-modern .font-dropdown.dropdown-container ul {
  background: transparent !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  margin: 0;
  padding: 0;
}
html[data-theme='dark'] body.theme-modern .font-dropdown__item.dropdown-container__item {
  background: transparent !important;
  flex: 1 1 0;
  min-width: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
}
html[data-theme='dark'] body.theme-modern .font-dropdown__item.dropdown-container__item:hover {
  background: rgba(255, 255, 255, 0.06) !important;
}

/* Kategori şeridi (Haberler / Listeler / Testler — headline-cats + cat_link) */
html[data-theme='dark'] body.theme-modern .headline-cats {
  /* buzz-container / sayfa ile aynı zemin — surface-soft farkı dikey dikiş yaratıyordu */
  background: var(--modern-bg) !important;
  border-bottom: 1px solid var(--modern-border) !important;
}
html[data-theme='dark'] body.theme-modern .headline-cats h1 {
  color: var(--modern-text) !important;
}
html[data-theme='dark'] body.theme-modern .headline-cats .cat_link {
  background: rgba(255, 255, 255, 0.06) !important;
  background: color-mix(in srgb, var(--modern-bg) 94%, #ffffff 6%) !important;
  border: 1px solid var(--modern-border) !important;
  color: var(--modern-text) !important;
  box-shadow: none !important;
}
html[data-theme='dark'] body.theme-modern .headline-cats .cat_link:hover:not(.active) {
  background: rgba(255, 255, 255, 0.1) !important;
  background: color-mix(in srgb, var(--modern-bg) 88%, #ffffff 12%) !important;
  color: var(--modern-text) !important;
  border-color: var(--modern-border) !important;
}
html[data-theme='dark'] body.theme-modern .headline-cats .cat_link.active,
html[data-theme='dark'] body.theme-modern .headline-cats .cat_link.active:hover {
  background: var(--chrome-accent) !important;
  color: #ffffff !important;
  border-color: color-mix(in srgb, var(--chrome-accent), #000000 18%) !important;
}

/* Post üstü kategori (OYUN vb.): light’taki nötr rozet mantığı — dark’ta da tema rengine bulaşmadan okunaklı */
html[data-theme='dark'] body.theme-modern .item_category a.seca {
  color: #0b1220 !important;
  background-color: rgba(229, 231, 235, 0.72) !important; /* light: #bababa hissi */
  border: 1px solid rgba(148, 163, 184, 0.22) !important;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
html[data-theme='dark'] body.theme-modern .item_category a.seca:hover {
  color: #ffffff !important;
  background-color: #334155 !important; /* light hover: #33495e benzeri */
  border-color: rgba(148, 163, 184, 0.38) !important;
}

/* Post title + action buttons: hover should be subtle gray, not accent */
html[data-theme='dark'] body.theme-modern .content-title a:hover,
html[data-theme='dark'] body.theme-modern .post_actions a.button:hover,
html[data-theme='dark'] body.theme-modern .post_actions button.button:hover {
  color: rgba(229, 231, 235, 0.92) !important;
  filter: none !important;
}

/* Sticky post bar (ev ikonu + yazı başlığı): base #fff / #333 — dark’ta okunaklı */
html[data-theme='dark'] body.theme-modern .content-header {
  background: var(--modern-surface) !important;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.35) !important;
}
html[data-theme='dark'] body.theme-modern .content-header__container__left__title {
  color: #fff !important;
  border-left-color: var(--modern-border) !important;
}
html[data-theme='dark'] body.theme-modern .content-header__container__left__home a {
  color: #fff !important;
}
html[data-theme='dark'] body.theme-modern .content-header__container__left__home a:hover {
  color: var(--chrome-accent) !important;
}
html[data-theme='dark'] body.theme-modern .content-header__container__left__home a .material-icons {
  color: inherit !important;
}
html[data-theme='dark'] body.theme-modern .content-header__progress--container {
  background: rgba(148, 163, 184, 0.25) !important;
}

/* Post tags: yapı style.blade.php’de; dark’ta token’lar yukarıda — yazı gölgesi kapat */
html[data-theme='dark'] body.theme-modern .content-tags .tagy a {
  text-shadow: none;
}

/* Author / profile box */
html[data-theme='dark'] body.theme-modern .buzz-author-box {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid var(--modern-border) !important;
  border-radius: 14px;
  color: var(--modern-text) !important;
}
/* Base theme uses white padding + #fff behind the circular crop — remove the “white ring” */
html[data-theme='dark'] body.theme-modern .buzz-author-box .buzz-author-image img.avatar,
html[data-theme='dark'] body.theme-modern .buzz-author-image img.avatar,
html[data-theme='dark'] body.theme-modern .buzz-author-image .avatar {
  background-color: var(--modern-surface) !important;
  background: var(--modern-surface) !important;
  padding: 3px !important;
  border: 1px solid var(--modern-border) !important;
  box-shadow: none !important;
}
html[data-theme='dark'] body.theme-modern .buzz-author-box a,
html[data-theme='dark'] body.theme-modern .buzz-author-box h3,
html[data-theme='dark'] body.theme-modern .buzz-author-box .buzz-author-description {
  color: var(--modern-text) !important;
}
html[data-theme='dark'] body.theme-modern .buzz-author-social a {
  color: rgba(229, 231, 235, 0.90) !important;
}
html[data-theme='dark'] body.theme-modern .buzz-author-social a:hover {
  color: var(--chrome-accent) !important;
}

/* Follow button in author box */
html[data-theme='dark'] body.theme-modern .buzz-author-actions .button.button-white {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid var(--modern-border) !important;
  color: var(--modern-text) !important;
}
html[data-theme='dark'] body.theme-modern .buzz-author-actions .button.button-white:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: color-mix(in srgb, var(--modern-border), var(--chrome-accent) 35%) !important;
  color: var(--chrome-accent) !important;
}
html[data-theme='dark'] body.theme-modern .buzz-author-actions .button.button-white i,
html[data-theme='dark'] body.theme-modern .buzz-author-actions .button.button-white .fa {
  color: inherit !important;
}

/* Reactions section */
html[data-theme='dark'] body.theme-modern .user-reactions {
  background: transparent !important;
  color: var(--modern-text) !important;
}
/* Outer bar: match light theme — no panel; only per-emoji tiles are tinted */
html[data-theme='dark'] body.theme-modern .user-reactions .percentage-bar {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0;
}
/* Sayım / bar şeffaf; kutu rengi yalnızca <a> üzerinde (aşağıda) — a’yı burada transparent yapma */
html[data-theme='dark'] body.theme-modern .user-reactions .reaction-emoji,
html[data-theme='dark'] body.theme-modern .user-reactions .reaction-emoji .bar,
html[data-theme='dark'] body.theme-modern .user-reactions .reaction-emoji .count,
html[data-theme='dark'] body.theme-modern .user-reactions .reaction-emoji .count-text {
  background: transparent !important;
  color: var(--modern-text) !important;
}
/* Kutular: zeminden fark edilir ama hafif — ~%6 açılım; hover’da ~%12 (light’taki gibi ince basamak, yalnızca bg) */
html[data-theme='dark'] body.theme-modern .user-reactions .reaction-emoji a {
  border-radius: 12px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.045) !important;
  background: color-mix(in srgb, var(--modern-bg) 94%, #ffffff 6%) !important;
  border: 1px solid rgba(255, 255, 255, 0.045);
  transition: background 0.18s ease;
}
html[data-theme='dark'] body.theme-modern .user-reactions .reaction-emoji a:hover {
  background: rgba(255, 255, 255, 0.09) !important;
  background: color-mix(in srgb, var(--modern-bg) 88%, #ffffff 12%) !important;
  border-color: rgba(255, 255, 255, 0.045) !important;
}
html[data-theme='dark'] body.theme-modern .user-reactions .reaction-emoji .text {
  color: rgba(229, 231, 235, 0.92) !important;
}
html[data-theme='dark'] body.theme-modern .user-reactions .reaction-emoji a:hover .text {
  color: rgba(229, 231, 235, 0.92) !important;
}
html[data-theme='dark'] body.theme-modern .user-reactions .reaction-emoji a.off:hover {
  background: rgba(255, 255, 255, 0.045) !important;
  background: color-mix(in srgb, var(--modern-bg) 94%, #ffffff 6%) !important;
  border-color: rgba(255, 255, 255, 0.045) !important;
}
html[data-theme='dark'] body.theme-modern .user-reactions .reaction-emoji a.off:hover .text {
  color: rgba(229, 231, 235, 0.92) !important;
}

/* Comments: remove white borders/boxes in dark */
html[data-theme='dark'] body.theme-modern #comments,
html[data-theme='dark'] body.theme-modern #comments .comments,
html[data-theme='dark'] body.theme-modern #comments .comment-heading,
html[data-theme='dark'] body.theme-modern #comments .comment,
html[data-theme='dark'] body.theme-modern #comments .comment-content,
html[data-theme='dark'] body.theme-modern #comments .popular-comments,
html[data-theme='dark'] body.theme-modern #comments .comments #comments_list {
  background: transparent !important;
  color: var(--modern-text) !important;
  border-color: var(--modern-border) !important;
}
html[data-theme='dark'] body.theme-modern #comments .comment-content {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid var(--modern-border) !important;
  border-radius: 12px;
}
html[data-theme='dark'] body.theme-modern #comments .comment img.avatar {
  border: 1px solid var(--modern-border);
  border-radius: 999px;
}
html[data-theme='dark'] body.theme-modern #comments a,
html[data-theme='dark'] body.theme-modern #comments .material-icons {
  color: rgba(229, 231, 235, 0.9) !important;
}
html[data-theme='dark'] body.theme-modern #comments a:hover {
  color: var(--chrome-accent) !important;
}

/* Comment form: gri çerçeve; odakta tema rengi yok (accent border kaldırıldı) */
html[data-theme='dark'] body.theme-modern .add-comment .add-comment-form > div {
  border: 2px solid var(--modern-border) !important;
  background: var(--modern-input-bg) !important;
  box-shadow: none !important;
}
html[data-theme='dark'] body.theme-modern .add-comment .add-comment-form > div:focus-within {
  border-color: var(--modern-border) !important;
  outline: none;
}
html[data-theme='dark'] body.theme-modern .add-comment .add-comment-form > div .add-comment-form-actions {
  background: var(--modern-surface-soft) !important;
  background-color: var(--modern-surface-soft) !important;
  border-top: 1px solid var(--modern-border) !important;
}
html[data-theme='dark'] body.theme-modern .add-comment .add-comment-form > div .add-comment-form-actions button {
  border-left: 1px solid var(--modern-border) !important;
}
html[data-theme='dark'] body.theme-modern .add-comment .add-comment-form > div .add-comment-form-actions label {
  color: var(--modern-text-muted) !important;
}
html[data-theme='dark'] body.theme-modern .add-comment h3 {
  color: var(--modern-text-muted) !important;
}
html[data-theme='dark'] body.theme-modern .add-comment img.usericont {
  border: 1px solid var(--modern-border);
  box-sizing: border-box;
}

/* Comment form lives under #comments-wrapper, not #comments */
html[data-theme='dark'] body.theme-modern #comments-wrapper textarea.comment_text,
html[data-theme='dark'] body.theme-modern #addComment textarea,
html[data-theme='dark'] body.theme-modern .add-comment textarea {
  background: transparent !important;
  color: var(--modern-input-text) !important;
  border: none !important;
  box-shadow: none !important;
}
html[data-theme='dark'] body.theme-modern #comments-wrapper textarea.comment_text::placeholder,
html[data-theme='dark'] body.theme-modern #addComment textarea::placeholder,
html[data-theme='dark'] body.theme-modern .add-comment textarea::placeholder {
  color: var(--modern-input-placeholder) !important;
}
html[data-theme='dark'] body.theme-modern #comments-wrapper textarea.comment_text:focus,
html[data-theme='dark'] body.theme-modern #addComment textarea:focus,
html[data-theme='dark'] body.theme-modern .add-comment textarea:focus {
  outline: none;
}
html[data-theme='dark'] body.theme-modern .add-comment-action-input input[type='text'] {
  background: var(--modern-input-bg) !important;
  color: var(--modern-input-text) !important;
  border: 1px solid var(--modern-border) !important;
}
html[data-theme='dark'] body.theme-modern .add-comment-action-input input[type='text']::placeholder {
  color: var(--modern-input-placeholder) !important;
}

/* Comment sort tabs: active must not be white-on-white */
html[data-theme='dark'] body.theme-modern .comment_sort a,
html[data-theme='dark'] body.theme-modern .comment-short.comment_sort a {
  color: rgba(229, 231, 235, 0.78) !important;
  background: transparent !important;
  border: 1px solid transparent;
}
html[data-theme='dark'] body.theme-modern .comment_sort a:hover {
  color: var(--chrome-accent) !important;
  background: rgba(255, 255, 255, 0.05) !important;
}
html[data-theme='dark'] body.theme-modern .comment_sort a.active {
  color: var(--chrome-accent) !important;
  background: rgba(255, 255, 255, 0.09) !important;
  border: 1px solid var(--modern-border) !important;
}

html[data-theme='dark'] body.theme-modern .content-timeline__detail__social-media .has-dropdown:hover .material-icons,
html[data-theme='dark'] body.theme-modern .content-timeline__detail__social-media .has-dropdown:hover i.material-icons {
  color: var(--chrome-accent) !important;
}

/* Sayfalama (ul.pagination): application.css #fff hücreler — dark uyum */
html[data-theme='dark'] body.theme-modern ul.pagination {
  background: transparent !important;
  box-shadow: none !important;
  border: 1px solid var(--modern-border);
  border-radius: 8px;
  overflow: hidden;
}
html[data-theme='dark'] body.theme-modern .pagination li {
  background: var(--modern-surface-soft) !important;
  border-right: 1px solid var(--modern-border) !important;
  color: var(--modern-text) !important;
}
html[data-theme='dark'] body.theme-modern .pagination li:last-child {
  border-right: none !important;
}
html[data-theme='dark'] body.theme-modern .pagination li:not(.disabled):not(.active):hover {
  background: rgba(255, 255, 255, 0.08) !important;
  color: var(--modern-text) !important;
}
html[data-theme='dark'] body.theme-modern .pagination li.active,
html[data-theme='dark'] body.theme-modern .pagination li.active:hover {
  background: var(--chrome-accent) !important;
  color: #ffffff !important;
}
html[data-theme='dark'] body.theme-modern .pagination li a,
html[data-theme='dark'] body.theme-modern .pagination li span,
html[data-theme='dark'] body.theme-modern .pagination a.page-link,
html[data-theme='dark'] body.theme-modern .pagination span.page-link {
  color: inherit !important;
  background: transparent !important;
  border: none !important;
}
html[data-theme='dark'] body.theme-modern .pagination li.disabled a,
html[data-theme='dark'] body.theme-modern .pagination li.disabled span {
  opacity: 0.5 !important;
  color: var(--modern-text-muted) !important;
}

/* Profil sayfası: sol panel (sidebar) arkaplanı */
html[data-theme='dark'] body.theme-modern.user-profile .profile-wrap .profile-content .profile-sidebar {
  background: var(--modern-surface) !important;
  border-right-color: var(--modern-border) !important;
}
html[data-theme='dark'] body.theme-modern.user-profile .profile-wrap .profile-content .profile-sidebar .profile-stat .profile-stat-label,
html[data-theme='dark'] body.theme-modern.user-profile .profile-wrap .profile-content .profile-sidebar .profile-stat .profile-stat-count,
html[data-theme='dark'] body.theme-modern.user-profile .profile-wrap .profile-content .profile-sidebar .profile-stat .profile-stat-label i {
  color: var(--modern-text) !important;
}
html[data-theme='dark'] body.theme-modern.user-profile .profile-wrap .profile-content .profile-sidebar .profile-sidebar-label,
html[data-theme='dark'] body.theme-modern.user-profile .profile-wrap .follow-images .more_follow,
html[data-theme='dark'] body.theme-modern.user-profile .profile-wrap .profile-content .profile-sidebar .profile-details .profile-detail strong {
  color: var(--modern-text-muted) !important;
}
html[data-theme='dark'] body.theme-modern.user-profile .profile-wrap .follow-images .follow-image span,
html[data-theme='dark'] body.theme-modern.user-profile .profile-wrap .profile-content .profile-sidebar .profile-details .profile-detail,
html[data-theme='dark'] body.theme-modern.user-profile .profile-wrap .profile-content .profile-sidebar p {
  color: var(--modern-text) !important;
}
html[data-theme='dark'] body.theme-modern.user-profile .profile-wrap .profile-content .profile-sidebar .profile-section {
  border-bottom-color: var(--modern-border) !important;
}
html[data-theme='dark'] body.theme-modern.user-profile .profile-wrap {
  background: var(--modern-surface-soft) !important;
  border-color: var(--modern-border) !important;
}
html[data-theme='dark'] body.theme-modern.user-profile .profile-wrap .profile-content .profile-main {
  background: var(--modern-surface) !important;
  border-left-color: var(--modern-border) !important;
  color: var(--modern-text) !important;
}

/* Boş durum (errors.emptycontent): application.css açık kart — dark uyum */
html[data-theme='dark'] body.theme-modern .modeempty-header {
  background-color: var(--modern-surface) !important;
  border-color: var(--modern-border) !important;
  box-shadow: none;
}
html[data-theme='dark'] body.theme-modern .modeempty-header .modeempty_text h4 {
  color: var(--modern-text-muted) !important;
}
html[data-theme='dark'] body.theme-modern .modeempty-header .modeempty_text i {
  color: var(--modern-text-muted) !important;
}

/* Mesajlar / Mesaj oluştur (profile içinde): inputs + Selectize dark uyumu */
html[data-theme='dark'] body.theme-modern.user-profile .setting-form input[type="text"],
html[data-theme='dark'] body.theme-modern.user-profile .setting-form input[type="email"],
html[data-theme='dark'] body.theme-modern.user-profile .setting-form input[type="search"],
html[data-theme='dark'] body.theme-modern.user-profile .setting-form textarea,
html[data-theme='dark'] body.theme-modern.user-profile .setting-form select {
  background: var(--modern-input-bg) !important;
  border: 1px solid var(--modern-border) !important;
  color: var(--modern-input-text) !important;
}
html[data-theme='dark'] body.theme-modern.user-profile .setting-form input::placeholder,
html[data-theme='dark'] body.theme-modern.user-profile .setting-form textarea::placeholder {
  color: var(--modern-input-placeholder) !important;
}
html[data-theme='dark'] body.theme-modern.user-profile .setting-form label {
  color: var(--modern-text-muted) !important;
}

/* Selectize (recipients): selectize.css açık zemin — dark uyum */
html[data-theme='dark'] body.theme-modern.user-profile .selectize-input,
html[data-theme='dark'] body.theme-modern.user-profile .selectize-control.single .selectize-input.input-active {
  background: var(--modern-input-bg) !important;
  border-color: var(--modern-border) !important;
  box-shadow: none !important;
  color: var(--modern-input-text) !important;
}
html[data-theme='dark'] body.theme-modern.user-profile .selectize-input input {
  color: var(--modern-input-text) !important;
}
html[data-theme='dark'] body.theme-modern.user-profile .selectize-control.multi .selectize-input > div {
  background: rgba(255, 255, 255, 0.08) !important;
  color: var(--modern-text) !important;
  border: 1px solid var(--modern-border) !important;
}
html[data-theme='dark'] body.theme-modern.user-profile .selectize-control.multi .selectize-input > div.active {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: var(--chrome-accent) !important;
}
html[data-theme='dark'] body.theme-modern.user-profile .selectize-dropdown {
  background: var(--modern-surface) !important;
  border-color: var(--modern-border) !important;
  box-shadow: var(--modern-shadow);
}
html[data-theme='dark'] body.theme-modern.user-profile .selectize-dropdown .option,
html[data-theme='dark'] body.theme-modern.user-profile .selectize-dropdown .optgroup-header {
  color: var(--modern-text) !important;
}
html[data-theme='dark'] body.theme-modern.user-profile .selectize-dropdown .active {
  background: var(--modern-hover-bg) !important;
  color: var(--modern-hover-text) !important;
}

/* Create/Edit (buzzeditor): application.css açık zeminler — dark uyum */
html[data-theme='dark'] body.theme-modern .buzzeditor .form.layout {
  background: var(--modern-surface-soft) !important;
}
html[data-theme='dark'] body.theme-modern .buzzeditor section.form {
  border-bottom-color: var(--modern-border) !important;
  color: var(--modern-text) !important;
}
html[data-theme='dark'] body.theme-modern .buzzeditor legend {
  color: var(--modern-text) !important;
}
html[data-theme='dark'] body.theme-modern .buzzeditor .cd-form .cd-label {
  color: var(--modern-text-muted) !important;
}
/* Sağ sidebar: görsel seç placeholder beyaz — dark */
html[data-theme='dark'] body.theme-modern .buzzeditor .question-post-side-bar-form .thumbwrapper .preview-placeholder {
  background: var(--modern-surface) !important;
  border-color: var(--modern-border) !important;
  color: var(--modern-text-muted) !important;
}
html[data-theme='dark'] body.theme-modern .buzzeditor .question-post-side-bar-form .thumbwrapper .preview-placeholder i,
html[data-theme='dark'] body.theme-modern .buzzeditor .question-post-side-bar-form .thumbwrapper .preview-placeholder .text-muted {
  color: var(--modern-text-muted) !important;
}
/* Editor input/select alanları: tags (#tags class yok), meta, language vb. */
html[data-theme='dark'] body.theme-modern .buzzeditor input[type="text"],
html[data-theme='dark'] body.theme-modern .buzzeditor input[type="email"],
html[data-theme='dark'] body.theme-modern .buzzeditor input[type="search"],
html[data-theme='dark'] body.theme-modern .buzzeditor textarea,
html[data-theme='dark'] body.theme-modern .buzzeditor select,
html[data-theme='dark'] body.theme-modern .buzzeditor .form-control {
  background: var(--modern-input-bg) !important;
  border: 1px solid var(--modern-border) !important;
  color: var(--modern-input-text) !important;
}
html[data-theme='dark'] body.theme-modern .buzzeditor input::placeholder,
html[data-theme='dark'] body.theme-modern .buzzeditor textarea::placeholder {
  color: var(--modern-input-placeholder) !important;
}

/* Create/Edit: Kategori ve Etiketler selectize ile beyaz kalıyor */
html[data-theme='dark'] body.theme-modern .buzzeditor .selectize-input,
html[data-theme='dark'] body.theme-modern .buzzeditor .selectize-control.single .selectize-input.input-active {
  background: var(--modern-input-bg) !important;
  border-color: var(--modern-border) !important;
  box-shadow: none !important;
  color: var(--modern-input-text) !important;
}
html[data-theme='dark'] body.theme-modern .buzzeditor .selectize-input input {
  color: var(--modern-input-text) !important;
}
html[data-theme='dark'] body.theme-modern .buzzeditor .selectize-control.multi .selectize-input > div {
  background: rgba(255, 255, 255, 0.08) !important;
  color: var(--modern-text) !important;
  border: 1px solid var(--modern-border) !important;
}
html[data-theme='dark'] body.theme-modern .buzzeditor .selectize-control.multi .selectize-input > div.active {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: var(--chrome-accent) !important;
}
html[data-theme='dark'] body.theme-modern .buzzeditor .selectize-dropdown,
html[data-theme='dark'] body.theme-modern .buzzeditor .selectize-dropdown-header {
  background: var(--modern-surface) !important;
  border-color: var(--modern-border) !important;
}
html[data-theme='dark'] body.theme-modern .buzzeditor .selectize-dropdown {
  box-shadow: var(--modern-shadow);
}
html[data-theme='dark'] body.theme-modern .buzzeditor .selectize-dropdown .option,
html[data-theme='dark'] body.theme-modern .buzzeditor .selectize-dropdown .optgroup-header {
  color: var(--modern-text) !important;
}
html[data-theme='dark'] body.theme-modern .buzzeditor .selectize-dropdown .active {
  background: var(--modern-hover-bg) !important;
  color: var(--modern-hover-text) !important;
}

/* Simditor (entry text editor): toolbar + body beyaz kalıyor */
html[data-theme='dark'] body.theme-modern .buzzeditor .simditor {
  border-color: var(--modern-border) !important;
  background: var(--modern-surface) !important;
}
html[data-theme='dark'] body.theme-modern .buzzeditor .simditor .simditor-toolbar {
  background: var(--modern-surface) !important;
  border-bottom-color: var(--modern-border) !important;
}
html[data-theme='dark'] body.theme-modern .buzzeditor .simditor .simditor-toolbar > ul > li > span.separator {
  background: var(--modern-border) !important;
}
html[data-theme='dark'] body.theme-modern .buzzeditor .simditor .simditor-toolbar > ul > li > .toolbar-item {
  color: var(--modern-text) !important;
}
html[data-theme='dark'] body.theme-modern .buzzeditor .simditor .simditor-toolbar > ul > li > .toolbar-item.active {
  background: rgba(255, 255, 255, 0.08) !important;
}
html[data-theme='dark'] body.theme-modern .buzzeditor .simditor .simditor-body {
  background: var(--modern-bg) !important;
  color: var(--modern-text) !important;
}

/* Editor entries (Metin/Resim/Video/Anket/URL): application.css .entry gradient/border — dark uyum */
html[data-theme='dark'] body.theme-modern .buzzeditor .question-post-form .entry {
  background: var(--modern-surface) !important;
  background-image: none !important;
  border-color: var(--modern-border) !important;
  box-shadow: var(--modern-shadow) !important;
  filter: none !important;
}
html[data-theme='dark'] body.theme-modern .buzzeditor .question-post-form .entry h3 {
  border-bottom-color: var(--modern-border) !important;
  color: var(--modern-text) !important;
}
html[data-theme='dark'] body.theme-modern .buzzeditor .question-post-form .entry h3 i {
  color: var(--modern-text-muted) !important;
}
html[data-theme='dark'] body.theme-modern .buzzeditor .question-post-form .entry .entryactions {
  background: rgba(255, 255, 255, 0.06) !important;
  border-right-color: var(--modern-border) !important;
}
html[data-theme='dark'] body.theme-modern .buzzeditor .question-post-form .entry .note,
html[data-theme='dark'] body.theme-modern .buzzeditor .question-post-form .moredetail a.trigger {
  color: var(--modern-text-muted) !important;
}
html[data-theme='dark'] body.theme-modern .buzzeditor .question-post-form .order-number {
  background: rgba(255, 255, 255, 0.06) !important;
  background-image: none !important;
  border-right-color: var(--modern-border) !important;
  color: var(--modern-text) !important;
  filter: none !important;
}
html[data-theme='dark'] body.theme-modern .buzzeditor .question-post-form .entry .wysiwyg-container {
  background: var(--modern-bg) !important;
}

/* Entry içi medya placeholder (resim/video/anket): beyaz kartı dark yap */
html[data-theme='dark'] body.theme-modern .buzzeditor .question-post-form .entry .item-media-placeholder {
  background: var(--modern-bg) !important;
  border: 2px dashed var(--modern-border) !important;
  color: var(--modern-text-muted) !important;
}
html[data-theme='dark'] body.theme-modern .buzzeditor .question-post-form .entry .item-media-placeholder small,
html[data-theme='dark'] body.theme-modern .buzzeditor .question-post-form .entry .item-media-placeholder .detail-or {
  color: var(--modern-text-muted) !important;
}

/* TinyMCE (Oxide) – editor UI beyaz kalıyor: toolbar + edit area + statusbar */
html[data-theme='dark'] body.theme-modern .buzzeditor .tox.tox-tinymce {
  border-color: var(--modern-border) !important;
  background: var(--modern-surface) !important;
  box-shadow: none !important;
}
html[data-theme='dark'] body.theme-modern .buzzeditor .tox .tox-editor-header,
html[data-theme='dark'] body.theme-modern .buzzeditor .tox .tox-toolbar,
html[data-theme='dark'] body.theme-modern .buzzeditor .tox .tox-toolbar__primary,
html[data-theme='dark'] body.theme-modern .buzzeditor .tox .tox-toolbar-overlord {
  background: var(--modern-surface) !important;
  border-bottom-color: var(--modern-border) !important;
}
html[data-theme='dark'] body.theme-modern .buzzeditor .tox .tox-tbtn,
html[data-theme='dark'] body.theme-modern .buzzeditor .tox .tox-tbtn svg,
html[data-theme='dark'] body.theme-modern .buzzeditor .tox .tox-tbtn__select-label,
html[data-theme='dark'] body.theme-modern .buzzeditor .tox .tox-toolbar-label {
  color: var(--modern-text) !important;
  fill: var(--modern-text) !important;
}
html[data-theme='dark'] body.theme-modern .buzzeditor .tox .tox-tbtn:hover,
html[data-theme='dark'] body.theme-modern .buzzeditor .tox .tox-tbtn--enabled,
html[data-theme='dark'] body.theme-modern .buzzeditor .tox .tox-tbtn:focus {
  background: rgba(255, 255, 255, 0.08) !important;
}
html[data-theme='dark'] body.theme-modern .buzzeditor .tox .tox-edit-area__iframe {
  background: var(--modern-bg) !important;
}
html[data-theme='dark'] body.theme-modern .buzzeditor .tox .tox-statusbar {
  background: var(--modern-surface) !important;
  border-top-color: var(--modern-border) !important;
  color: var(--modern-text-muted) !important;
}

/* Popout / Alert (SweetAlert v1): dark uyum */
html[data-theme='dark'] body.theme-modern .sweet-overlay {
  background-color: rgba(0, 0, 0, 0.6) !important;
}
html[data-theme='dark'] body.theme-modern .sweet-alert {
  background-color: var(--modern-surface) !important;
  color: var(--modern-text) !important;
  box-shadow: var(--modern-shadow) !important;
  border: 1px solid var(--modern-border) !important;
}
html[data-theme='dark'] body.theme-modern .sweet-alert h2 {
  color: var(--modern-text) !important;
}
html[data-theme='dark'] body.theme-modern .sweet-alert p {
  color: var(--modern-text-muted) !important;
}
html[data-theme='dark'] body.theme-modern .sweet-alert input,
html[data-theme='dark'] body.theme-modern .sweet-alert textarea {
  background: var(--modern-input-bg) !important;
  border: 1px solid var(--modern-border) !important;
  color: var(--modern-input-text) !important;
  box-shadow: none !important;
}
html[data-theme='dark'] body.theme-modern .sweet-alert input::placeholder,
html[data-theme='dark'] body.theme-modern .sweet-alert textarea::placeholder {
  color: var(--modern-input-placeholder) !important;
}
html[data-theme='dark'] body.theme-modern .sweet-alert .sa-error-container {
  background: rgba(255, 255, 255, 0.06) !important;
}
html[data-theme='dark'] body.theme-modern .sweet-alert button.cancel {
  background-color: rgba(255, 255, 255, 0.14) !important;
  color: var(--modern-text) !important;
}