.dd-site-header .dd-theme-toggle {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  min-width: 42px;
  min-height: 42px;
  padding: 0;
  border: 1px solid #696969;
  border-radius: 50%;
  background: #202020;
  color: #ffd600;
  font: 24px/1 system-ui, sans-serif;
  cursor: pointer;
}
.dd-site-header .dd-theme-toggle:hover { background: #333; }
.dd-site-header .dd-theme-toggle:focus-visible { outline: 2px solid #ffd600; outline-offset: 3px; }

html[data-dd-theme="dark"] {
  color-scheme: dark;
  --dd-night-bg: #151515;
  --dd-night-panel: #222;
  --dd-night-text: #ededed;
  --dd-night-muted: #c4c4c4;
  --dd-night-link: #ff554d;
  --dd-night-line: #626262;
  --wp--preset--color--base: var(--dd-night-bg);
  --wp--preset--color--base-2: var(--dd-night-panel);
  --wp--preset--color--contrast: var(--dd-night-text);
}
html[data-dd-theme="dark"] body,
html[data-dd-theme="dark"] .wp-site-blocks,
html[data-dd-theme="dark"] .wp-site-blocks main,
html[data-dd-theme="dark"] .wp-site-blocks .wp-block-post-content,
html[data-dd-theme="dark"] .entry-content > .fusion-fullwidth {
  background-color: var(--dd-night-bg) !important;
  color: var(--dd-night-text) !important;
}
html[data-dd-theme="dark"] .wp-site-blocks :is(main, .entry-content, footer) :is(h1,h2,h3,h4,h5,h6,p,li,label,legend,figcaption,dt,dd,th,td),
html[data-dd-theme="dark"] :is(.woocommerce, .wc-block-components-drawer, .wp-block-navigation__responsive-container.is-menu-open) {
  color: var(--dd-night-text) !important;
}
html[data-dd-theme="dark"] .wp-site-blocks main a:not(.wp-block-button__link, .button, [style*="background"], [class*="btn"]),
html[data-dd-theme="dark"] .wp-site-blocks footer a {
  color: var(--dd-night-link) !important;
}
html[data-dd-theme="dark"] .wp-site-blocks :is(input:not([type=checkbox], [type=radio], [type=submit], [type=button], [type=reset]), textarea, select),
html[data-dd-theme="dark"] :is(.wc-block-components-drawer, .wp-block-navigation__responsive-container.is-menu-open, .woocommerce-info, .woocommerce-message, .woocommerce-error, .wp-block-quote, .wp-block-code) {
  background-color: var(--dd-night-panel) !important;
  color: var(--dd-night-text) !important;
  border-color: var(--dd-night-line) !important;
}
html[data-dd-theme="dark"] .wp-site-blocks :is(.has-white-background-color,.has-base-background-color,.has-base-2-background-color,[style*="background-color:#fff"],[style*="background-color: #fff"]) {
  background-color: var(--dd-night-panel) !important;
}
html[data-dd-theme="dark"] .wp-site-blocks :is(input,textarea)::placeholder { color: var(--dd-night-muted); }

html[data-dd-theme="dark"] .wp-site-blocks .dd-site-footer {
  background-color: var(--dd-night-panel) !important;
  color: var(--dd-night-text);
}
