:root {
  --iu-theme-accent: #6f64ff;
  --iu-theme-focus: rgba(111, 100, 255, 0.38);
}

html.iu-dark-mode {
  --iu-theme-accent: #f6c945;
  --iu-theme-focus: rgba(246, 201, 69, 0.42);
  color-scheme: dark;
}

.iu-theme-toggle {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 2147483000;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 94px;
  min-height: 46px;
  padding: 9px 15px 9px 10px;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  border-radius: 999px;
  background: #171923 !important;
  color: #fff !important;
  box-shadow: 0 10px 32px rgba(15, 23, 42, 0.3) !important;
  font: 700 13px/1 ui-sans-serif, system-ui, -apple-system, sans-serif !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.iu-theme-toggle:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(15, 23, 42, 0.4) !important; }
.iu-theme-toggle:focus-visible { outline: 3px solid var(--iu-theme-focus) !important; outline-offset: 3px; }
.iu-theme-toggle__icon { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #f6c945; color: #171923; font-size: 18px; }
html.iu-dark-mode .iu-theme-toggle { background: #f6c945 !important; color: #18150b !important; border-color: #ffe58c !important; }
html.iu-dark-mode .iu-theme-toggle__icon { background: #18150b; color: #f6c945; }

/* Site chrome: color only, with no layout or sizing changes. */
html.iu-dark-mode body,
html.iu-dark-mode .site,
html.iu-dark-mode .site-content,
html.iu-dark-mode .site-main,
html.iu-dark-mode .entry-content,
html.iu-dark-mode .wp-site-blocks {
  background-color: #0d0f14 !important;
  color: #ece9df !important;
}

html.iu-dark-mode :where(header, footer, nav, .site-header, .site-footer, .main-header-bar) {
  background-color: #12151d !important;
  border-color: #30343d !important;
  color: #ece9df !important;
}

html.iu-dark-mode :where(a:not(.button):not([class*="btn"]), .menu-link) { color: #f6c945 !important; }
html.iu-dark-mode :where(a, button, input, select, textarea):focus-visible { outline-color: #f6c945 !important; }
html.iu-dark-mode :where(input, select, textarea) { background-color: #1b1e27 !important; color: #f7f4e9 !important; border-color: #414650 !important; }
html.iu-dark-mode :where(hr, table, td, th) { border-color: #343842 !important; }
html.iu-dark-mode :where(.site-footer, footer.site-footer, .site-primary-footer-wrap, .site-below-footer-wrap) { background: #12151d !important; color: #c9c5b8 !important; }
html.iu-dark-mode :where(.site-footer, footer.site-footer, .site-primary-footer-wrap, .site-below-footer-wrap) :where(p, span) { color: #c9c5b8 !important; }
html.iu-dark-mode :where(.site-header, .main-navigation) { background: #12151d !important; border-color: #30343d !important; }
html.iu-dark-mode .site-header :where(.menu-link, .site-title a) { color: #f6c945 !important; }
html.iu-dark-mode .site-header :where(.current-menu-item > .menu-link, .current_page_item > .menu-link) { color: #fff2bd !important; border-color: #f6c945 !important; }
html.iu-dark-mode :where(.site-footer, footer.site-footer, .site-footer-section) { background: #12151d !important; border-color: #30343d !important; color: #c9c5b8 !important; }
html.iu-dark-mode :where(.site-footer, footer.site-footer) :where(a, .menu-link) { color: #f6c945 !important; }

/* Landing page: every section, card, and text style has an intentional dark value. */
html.iu-dark-mode .iu-landing { background: #0d0f14 !important; color: #f4f1e8 !important; }
html.iu-dark-mode .iu-landing :where(h1, h2, h3, p, li, strong, small) { color: #f4f1e8 !important; }
html.iu-dark-mode .iu-landing .iu-btn-primary { background: #f6c945 !important; border-color: #f6c945 !important; color: #19150a !important; }
html.iu-dark-mode .iu-landing .iu-pill { background: transparent !important; border-color: #625a3c !important; color: #f6c945 !important; box-shadow: none; }
html.iu-dark-mode .iu-landing .iu-pill::before { background: linear-gradient(90deg, transparent, #f6c945); }
html.iu-dark-mode .iu-landing .iu-pill::after { background: linear-gradient(90deg, #f6c945, transparent); }
html.iu-dark-mode .iu-landing .iu-copy li,
html.iu-dark-mode .iu-landing .iu-btn-secondary,
html.iu-dark-mode .iu-review-summary { background: #191c25 !important; border-color: #353a45 !important; color: #f4f1e8 !important; }
html.iu-dark-mode .iu-landing .iu-copy h1 span { color: #f6c945 !important; }
html.iu-dark-mode .iu-compare { border-color: #272b34 !important; box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45); }
html.iu-dark-mode .iu-features,
html.iu-dark-mode .iu-steps { background: #0d0f14 !important; }
html.iu-dark-mode .iu-features-heading > p,
html.iu-dark-mode .iu-steps-eyebrow { color: #f6c945 !important; }
html.iu-dark-mode .iu-features-heading h2 span { color: #f6c945 !important; }
html.iu-dark-mode .iu-cards article,
html.iu-dark-mode .iu-step { background: radial-gradient(circle at 50% 0, rgba(246, 201, 69, .045), transparent 42%), linear-gradient(145deg, #1c202a, #171a22) !important; border: 1px solid #3b404c !important; box-shadow: 0 18px 44px rgba(0, 0, 0, .3) !important; }
html.iu-dark-mode .iu-step::before { background: linear-gradient(90deg, transparent, #f6c945, transparent) !important; }
html.iu-dark-mode .iu-cards article :where(h3, p),
html.iu-dark-mode .iu-step :where(h3, p) { color: #f4f1e8 !important; }
html.iu-dark-mode .iu-cards article p,
html.iu-dark-mode .iu-step p { color: #bdb9ac !important; }
html.iu-dark-mode :where(.iu-card-icon, .iu-step-icon) { background: #252938 !important; border-color: #3c4250 !important; }
html.iu-dark-mode .iu-step-connector span { border-color: #665f45 !important; }
html.iu-dark-mode .iu-step-connector span::after { border-color: #f6c945 !important; }
html.iu-dark-mode .iu-faq { background: #0d0f14 !important; }
html.iu-dark-mode .iu-faq-eyebrow { color: #f6c945 !important; }
html.iu-dark-mode .iu-faq-item { background: #191c25 !important; border-color: #3b404c !important; box-shadow: 0 14px 34px rgba(0,0,0,.25); }
html.iu-dark-mode .iu-faq-item summary { color: #f4f1e8 !important; }
html.iu-dark-mode .iu-faq-item summary span { color: #f6c945 !important; }
html.iu-dark-mode .iu-faq-answer { border-color: #353a45 !important; }
html.iu-dark-mode .iu-faq-answer p { color: #bdb9ac !important; }
html.iu-dark-mode .iu-cta { background: radial-gradient(circle at 85% 25%, rgba(246,201,69,.15), transparent 28%), linear-gradient(135deg, #191d28, #11141c) !important; border: 1px solid #343946 !important; }
html.iu-dark-mode .iu-cta :where(h2, p, strong, small) { color: #f4f1e8 !important; }
html.iu-dark-mode .iu-cta .iu-cta-note { color: #aaa695 !important; }

/* Public reviews and feedback forms. */
html.iu-dark-mode { --iu-review-purple: #f6c945; --iu-review-ink: #f4f1e8; --iu-review-muted: #aaa695; --iu-review-line: #363b47; }
html.iu-dark-mode :where(.iu-reviews-section, .iu-account-review, .iu-review-dialog, .iu-review-table-wrap) { background: #14171f !important; border-color: #363b47 !important; color: #f4f1e8 !important; }
html.iu-dark-mode :where(.iu-reviews-section, .iu-account-review, .iu-review-dialog, .iu-review-analytics) :where(h1, h2, h3, p, label, legend, strong) { color: #f4f1e8 !important; }
html.iu-dark-mode :where(.iu-reviews-heading p, .iu-reviews-score > span:last-child, .iu-review-form-head p, .iu-account-review-copy > p, .iu-review-form label > small, .iu-review-identity small) { color: #aaa695 !important; }
html.iu-dark-mode .iu-review-card { background: #1c2029 !important; border-color: #393e49 !important; box-shadow: 0 14px 36px rgba(0,0,0,.28) !important; }
html.iu-dark-mode .iu-review-card > p { color: #ddd9cd !important; }
html.iu-dark-mode .iu-review-card :where(small, footer) { color: #aaa695 !important; }
html.iu-dark-mode .iu-review-summary > span:last-child { border-color: #454b58 !important; color: #c9c5b8 !important; }
html.iu-dark-mode .iu-reviews-score > span:last-child { background: #1c2029 !important; border-color: #454b58 !important; color: #c9c5b8 !important; }
html.iu-dark-mode .iu-review-card footer { background: #151820 !important; border: 1px solid #343a46 !important; }
html.iu-dark-mode .iu-reviews-more a,
html.iu-dark-mode .iu-reviews-load-more button { background: #f6c945 !important; color: #18150b !important; box-shadow: 0 10px 26px rgba(246, 201, 69, .16) !important; }
html.iu-dark-mode .iu-reviews-more a span { color: #18150b !important; }
html.iu-dark-mode :where(.iu-review-form select, .iu-review-form textarea, .iu-review-identity input[type="text"]) { background: #20242e !important; border-color: #444a57 !important; color: #f4f1e8 !important; }
html.iu-dark-mode :where(.iu-review-identity, .iu-review-consent) { background: #1c2029 !important; border-color: #393e49 !important; }
html.iu-dark-mode .iu-account-review-copy > span,
html.iu-dark-mode .iu-reviews-heading > span { color: #f6c945 !important; }

/* Main image upscaler. */
html.iu-dark-mode #iu_root {
  --txt: #f4f1e8;
  --muted: #c3bfae;
  --muted2: #aaa694;
  --border: rgba(255, 255, 255, 0.16);
  --border2: rgba(255, 255, 255, 0.12);
  --shadow: 0 14px 38px rgba(0, 0, 0, 0.38);
  --primary: #f6c945;
  --cardBg: rgba(27, 30, 39, 0.94);
  --cardBg2: rgba(27, 30, 39, 0.82);
}
html.iu-dark-mode #iu_root .iu-shell { background: linear-gradient(160deg, #1a1d26, #101218) !important; }
html.iu-dark-mode #iu_root :where(.iu-head, .iu-card, .iu-pill, .iu-filebar, .iu-item, .iu-selected-card, .iu-select, select#up_scale, .iu-dropzone, .iu-credit-pill, .iu-credit-usage) { background: #1b1e27 !important; border-color: var(--border) !important; }
html.iu-dark-mode #iu_root :where(h1, h2, h3, h4, p, label, span, strong, small) { color: #f4f1e8 !important; }
html.iu-dark-mode #iu_root :where(.iu-subtitle, .iu-label, .iu-drop p, .iu-status, .iu-help, .iu-limit-copy, .iu-credit-label) { color: #aaa695 !important; }
html.iu-dark-mode #iu_root :where(.iu-scale-btn, .iu-btn:not(.iu-btn-primary):not(.iu-btn-dark):not(.iu-btn-danger)) { background: #272b35 !important; border-color: #454b58 !important; color: #e9e5da !important; }
html.iu-dark-mode #iu_root .iu-scale-btn.is-active { background: rgba(246,201,69,.13) !important; border-color: #f6c945 !important; color: #f6c945 !important; }
html.iu-dark-mode #iu_root .iu-dropzone { background: #20242e !important; border-color: #5a5239 !important; }
html.iu-dark-mode #iu_root :where(.iu-btn-primary, .iu-primary, button[type="submit"]):not(:disabled) { background: #f6c945 !important; border-color: #f6c945 !important; color: #18150b !important; }
html.iu-dark-mode #iu_root :where(.iu-btn-primary, .iu-primary, button[type="submit"]):not(:disabled) :where(span, strong, svg) { color: #18150b !important; }
html.iu-dark-mode #iu_root :where(.iu-credit-modal-card, .iu-batch-modal-card, .iu-8x-modal-card, .iu-batch-toast) { background: #1c2029 !important; border-color: #3c424f !important; color: #f4f1e8 !important; }
html.iu-dark-mode #iu_root .iu-batch-toast { box-shadow: 0 18px 50px rgba(0, 0, 0, 0.48) !important; }
html.iu-dark-mode #iu_root .iu-batch-toast-icon { background: rgba(246, 201, 69, 0.14) !important; color: #f6c945 !important; }
html.iu-dark-mode #iu_root .iu-batch-toast strong { color: #f4f1e8 !important; }
html.iu-dark-mode #iu_root .iu-batch-toast p { color: #c3bfae !important; }
html.iu-dark-mode #iu_root .iu-batch-toast button { color: #c3bfae !important; }
html.iu-dark-mode #iu_root .iu-batch-toast button:hover,
html.iu-dark-mode #iu_root .iu-batch-toast button:focus-visible { color: #ffffff !important; }
html.iu-dark-mode #iu_root :where(.iu-title, .iu-drop h3, .iu-selected-title, .iu-file-name, .iu-file-title, .iu-credit-pill strong, .iu-credit-usage strong) { color: #f4f1e8 !important; }
html.iu-dark-mode #iu_root :where(.iu-file-meta, .iu-file-size, .iu-queue-status, .iu-progress-copy) { color: #aaa695 !important; }
html.iu-dark-mode #iu_root :where(.iu-credit-pill, .iu-credit-tooltip, .iu-credit-icon) { background: #242832 !important; border-color: #454b58 !important; }
html.iu-dark-mode #iu_root .iu-credit-upgrade { background: #f6c945 !important; color: #18150b !important; box-shadow: 0 10px 24px rgba(246,201,69,.16) !important; }
html.iu-dark-mode #iu_root .iu-credit-upgrade * { color: #18150b !important; }
html.iu-dark-mode #iu_root .iu-credit-upgrade .iu-upgrade-icon :where(svg, svg path) { color: #18150b !important; fill: #18150b !important; }
html.iu-dark-mode #iu_root :where(.iu-btn-pick, .iu-btn-primary) { background: #f6c945 !important; border-color: #f6c945 !important; color: #18150b !important; }
html.iu-dark-mode #iu_root :where(.iu-btn-pick, .iu-btn-primary) * { color: #18150b !important; }
html.iu-dark-mode #iu_root :where(.iu-close, .iu-clear) { background: #292d37 !important; border-color: #484e5b !important; color: #e8e4d9 !important; }
html.iu-dark-mode #iu_root :where(.iu-progress, .iu-progress-track) { background: #242832 !important; border-color: #3d4350 !important; }

/* Pricing: override the plugin's intentionally high-specificity light cards. */
html.iu-dark-mode .iu-paddle-pricing-section { background: radial-gradient(circle at 50% 5%, rgba(246,201,69,.08), transparent 28%), #0d0f14 !important; }
html.iu-dark-mode .iu-paddle-pricing-header h2 { color: #f4f1e8 !important; }
html.iu-dark-mode .iu-paddle-pricing-header p { color: #aaa695 !important; }
html.iu-dark-mode .iu-paddle-plan { background: #1a1d26 !important; border-color: #393e49 !important; box-shadow: 0 14px 38px rgba(0,0,0,.25) !important; }
html.iu-dark-mode .iu-paddle-plan.is-featured { border-color: #f6c945 !important; box-shadow: 0 16px 42px rgba(246,201,69,.12) !important; }
html.iu-dark-mode .iu-paddle-plan :where(h3, .iu-paddle-price, .iu-paddle-price span) { color: #f4f1e8 !important; -webkit-text-fill-color: #f4f1e8 !important; }
html.iu-dark-mode .iu-paddle-description,
html.iu-dark-mode .iu-paddle-features { color: #bdb9ac !important; border-color: #393e49 !important; }
html.iu-dark-mode .iu-paddle-features li { color: #ddd9cd !important; }
html.iu-dark-mode .iu-paddle-features li::before,
html.iu-dark-mode .iu-paddle-plan .iu-paddle-icon { background: #29291f !important; color: #f6c945 !important; }
html.iu-dark-mode .iu-paddle-badge { background: rgba(246,201,69,.13) !important; color: #f6c945 !important; }
html.iu-dark-mode .iu-paddle-feature-info { background: #252934 !important; border-color: #656b78 !important; color: #d9d5c9 !important; }
html.iu-dark-mode .iu-paddle-plan button { background: #242832 !important; border-color: #f6c945 !important; color: #f6c945 !important; }

/* Dashboard batch history. */
html.iu-dark-mode :where(.iu-dashboard-wrap, .iu-dashboard-main, .iu-dashboard-content) { background: #0d0f14 !important; color: #f4f1e8 !important; }
html.iu-dark-mode :where(.iu-dashboard-toolbar, .iu-dashboard-selection-toolbar, .iu-dashboard-batch, .iu-dashboard-batch-card, .iu-dashboard-empty) { background: #1a1d26 !important; border-color: #383d48 !important; color: #f4f1e8 !important; box-shadow: 0 12px 32px rgba(0,0,0,.22) !important; }
html.iu-dark-mode :where(.iu-dashboard-wrap, .iu-dashboard-main, .iu-dashboard-content) :where(h1, h2, h3, p, span, strong, small, label) { color: #f4f1e8 !important; }
html.iu-dark-mode :where(.iu-dashboard-hint, .iu-dashboard-head-meta, .iu-dashboard-batch-meta) { color: #aaa695 !important; }
html.iu-dark-mode .my-auth-wrap.my-auth-wrap-dashboard { --iu-dash-text: #f4f1e8; --iu-dash-muted: #aaa695; --iu-dash-border: #383d48; background: #0d0f14 !important; }
html.iu-dark-mode .my-auth-wrap.my-auth-wrap-dashboard :where(.iu-dashboard-selection-toolbar, .iu-dashboard-batch) :where(h2, h3, p, span, strong, label) { color: #f4f1e8 !important; }
html.iu-dark-mode .my-auth-wrap.my-auth-wrap-dashboard :where(.iu-dashboard-btn, .my-auth-btn-outline) { background: #242832 !important; border-color: #4a505d !important; color: #ece8dc !important; }
html.iu-dark-mode .my-auth-wrap.my-auth-wrap-dashboard .iu-dashboard-single-download { border-color: #f6c945 !important; color: #f6c945 !important; }
html.iu-dark-mode .my-auth-wrap.my-auth-wrap-dashboard .iu-dashboard-btn-danger { background: rgba(239,68,68,.09) !important; border-color: #8b4549 !important; color: #ff8b91 !important; }
html.iu-dark-mode .my-auth-wrap.my-auth-wrap-dashboard :where(.iu-dashboard-scale, .iu-dashboard-expand) { background: #29291f !important; color: #f6c945 !important; }

/* Account: all nested cards and previously white detail rows. */
html.iu-dark-mode :where(.iu-account-wrap, .iu-account-main) { background: #0d0f14 !important; color: #f4f1e8 !important; }
html.iu-dark-mode :where(.iu-account-sidebar, .iu-account-topbar, .iu-account-panel, .iu-account-additional-card, .iu-account-credit-breakdown, .iu-account-credit-copy, .iu-account-addon-summary, .iu-account-detail-list li, .iu-account-review) { background: #1a1d26 !important; border-color: #383d48 !important; color: #f4f1e8 !important; box-shadow: 0 12px 32px rgba(0,0,0,.18) !important; }
html.iu-dark-mode :where(.iu-account-wrap, .iu-account-main) :where(h1, h2, h3, h4, p, span, strong, small, dt, dd, label) { color: #f4f1e8 !important; }
html.iu-dark-mode :where(.iu-account-date, .iu-account-credit-copy p, .iu-account-action small, .iu-account-additional-card small, .iu-account-detail-list span) { color: #aaa695 !important; }
html.iu-dark-mode .iu-account-nav :where(a, button) { color: #c9c5b8 !important; }
html.iu-dark-mode .iu-account-nav :where(a, button).is-active { background: rgba(246,201,69,.12) !important; color: #f6c945 !important; }
html.iu-dark-mode :where(.iu-account-panel-icon, .iu-account-rate-list li > span) { background: #29291f !important; color: #f6c945 !important; }
html.iu-dark-mode .iu-account-paid-ring { background-color: #1f232d !important; }
html.iu-dark-mode .iu-account-topbar :where(.iu-dashboard-user, .iu-dashboard-welcome h2) { color: #f4f1e8 !important; }
html.iu-dark-mode .iu-account-topbar :where(.iu-dashboard-welcome p, .my-auth-subtitle) { color: #aaa695 !important; }
html.iu-dark-mode .iu-account-panel :where(.iu-account-panel-head strong, h3) { color: #f4f1e8 !important; }
html.iu-dark-mode .iu-account-plan :where(li, li strong, li span) { color: #d7d3c7 !important; }
html.iu-dark-mode :where(.iu-account-action, .iu-account-bottom-action, .iu-account-credit-breakdown, .iu-account-rate-list li, .iu-account-addon-summary, .iu-account-detail-list li) { background: #222630 !important; border-color: #3d4350 !important; color: #f4f1e8 !important; }
html.iu-dark-mode :where(.iu-account-action, .iu-account-bottom-action) :where(span, strong) { color: #f4f1e8 !important; }
html.iu-dark-mode :where(.iu-account-action, .iu-account-bottom-action) small { color: #aaa695 !important; }
html.iu-dark-mode :where(.iu-account-action, .iu-account-bottom-action):hover { background: #292e39 !important; border-color: #565d6a !important; }
html.iu-dark-mode :where(.iu-account-topbar .my-auth-btn-outline, .iu-dashboard-top-actions .my-auth-btn-outline) { background: #242832 !important; border-color: #4a505d !important; color: #ece8dc !important; }
html.iu-dark-mode .iu-dashboard-logout { color: #ff8b91 !important; border-color: #8b4549 !important; }

/* Analytics, dialogs and cookie consent surfaces. */
html.iu-dark-mode :where(.iu-analytics-wrap, .iu-review-analytics, .iu-contact-admin-wrap) { color: #f4f1e8 !important; }
html.iu-dark-mode :where(.iu-analytics-card, .iu-review-kpis article, .iu-review-table-wrap, .iucc-banner, .iucc-modal) { background: #191c25 !important; border-color: #353a45 !important; color: #f4f1e8 !important; }
html.iu-dark-mode :where(.iucc-banner, .iucc-modal) :where(h2, h3, p, span, strong, label) { color: #f4f1e8 !important; }

/* Blocksy theme chrome (desktop header, mobile drawer, and footer rows). */
html.iu-dark-mode :where(#header, .ct-header, [data-id="type-1"], [data-id="type-1"] .ct-container, [data-id="type-1"] .ct-container-fluid, #header [data-row], .ct-header-text, .ct-header-account) { background-color: #12151d !important; border-color: #30343d !important; color: #ece9df !important; }
html.iu-dark-mode :where(#header, .ct-header) :where(.ct-menu-link, .ct-header-trigger, .ct-header-account, [class*="ct-toggle"]) { color: #f6c945 !important; }
html.iu-dark-mode :where(#header, .ct-header) :where(.current-menu-item > .ct-menu-link, .current_page_item > .ct-menu-link, [aria-current="page"]) { color: #fff2bd !important; }
html.iu-dark-mode :where(.ct-panel, .ct-panel-inner, .ct-header-trigger .ct-icon) { background-color: #171a22 !important; border-color: #353a45 !important; color: #ece9df !important; }
html.iu-dark-mode :where(#footer, .ct-footer, .ct-footer [data-row], .ct-footer .ct-container, .ct-footer .ct-container-fluid, .ct-footer-copyright, .ct-footer-socials, .ct-widget) { background-color: #12151d !important; border-color: #30343d !important; color: #c9c5b8 !important; }
html.iu-dark-mode :where(#footer, .ct-footer) :where(p, span, li) { color: #c9c5b8 !important; }
html.iu-dark-mode :where(#footer, .ct-footer) a { color: #f6c945 !important; }

/* Upscaler offers, out-of-credit notices, batch offers, and related dialogs. */
html.iu-dark-mode #iu_root :where(.iu-credit-modal-card, .iu-batch-modal-card, .iu-8x-modal-card) { background: radial-gradient(circle at 90% 0, rgba(246,201,69,.08), transparent 32%), #1b1f28 !important; border-color: #464c58 !important; box-shadow: 0 32px 90px rgba(0,0,0,.55) !important; }
html.iu-dark-mode #iu_root :where(.iu-credit-modal-card, .iu-batch-modal-card, .iu-8x-modal-card) h2 { color: #f4f1e8 !important; }
html.iu-dark-mode #iu_root :where(.iu-credit-modal-card > p:not(.iu-credit-modal-kicker), .iu-batch-modal-card > p:not(.iu-batch-modal-kicker), .iu-8x-modal-card > p:not(.iu-8x-modal-kicker):not(.iu-8x-login)) { color: #aaa695 !important; }
html.iu-dark-mode #iu_root .iu-credit-modal-card > p:not(.iu-credit-modal-kicker),
html.iu-dark-mode #iu_root .iu-batch-modal-card > p:not(.iu-batch-modal-kicker),
html.iu-dark-mode #iu_root .iu-8x-modal-card > p:not(.iu-8x-modal-kicker):not(.iu-8x-login) { color: #c3bfb2 !important; }
html.iu-dark-mode #iu_root :where(.iu-credit-modal-kicker, .iu-batch-modal-kicker, .iu-8x-modal-kicker) { color: #f6c945 !important; }
html.iu-dark-mode #iu_root :where(.iu-credit-modal-close, .iu-batch-modal-close, .iu-8x-modal-close) { background: #2a2e38 !important; border: 1px solid #4b515e !important; color: #f4f1e8 !important; }
html.iu-dark-mode #iu_root :where(.iu-credit-modal-close, .iu-batch-modal-close, .iu-8x-modal-close):hover { background: #353a45 !important; }
html.iu-dark-mode #iu_root .iu-8x-benefits span,
html.iu-dark-mode #iu_root .iu-batch-modal-card li { background: #272b35 !important; border-color: #454b58 !important; color: #ddd9cd !important; }
html.iu-dark-mode #iu_root :where(.iu-8x-benefits b, .iu-8x-plan strong) { color: #f6c945 !important; }
html.iu-dark-mode #iu_root :where(.iu-8x-plan, .iu-8x-plan span, .iu-8x-plan small, .iu-8x-login, .iu-credit-modal-later, .iu-batch-modal-later, .iu-8x-modal-later) { color: #aaa695 !important; }
html.iu-dark-mode #iu_root :where(.iu-credit-modal-button, .iu-batch-modal-cta, .iu-8x-modal-cta) { background: #f6c945 !important; border-color: #f6c945 !important; color: #18150b !important; box-shadow: 0 12px 26px rgba(246,201,69,.16) !important; }
html.iu-dark-mode #iu_root .iu-credit-modal-button.is-secondary { background: #272b35 !important; border-color: #565d6a !important; color: #f4f1e8 !important; }
html.iu-dark-mode #iu_root :where(.iu-credit-modal-backdrop, .iu-batch-modal-backdrop, .iu-8x-modal-backdrop) { background: rgba(4,6,12,.82) !important; }

/* Account settings, downloads, billing changes, and account-deletion dialogs. */
html.iu-dark-mode :where(.iu-settings-dialog, .iu-download-dialog, .iu-account-deletion-progress, .iu-paddle-active-plan-notice-card, .iu-paddle-change-modal-card, .iu-review-dialog, .iu-admin-confirm-dialog) { background: #1a1e27 !important; border-color: #414753 !important; color: #f4f1e8 !important; box-shadow: 0 30px 90px rgba(0,0,0,.55) !important; scrollbar-color: #676e7b #20242d; }
html.iu-dark-mode :where(.iu-settings-dialog, .iu-download-dialog, .iu-paddle-active-plan-notice, .iu-paddle-change-modal) :where(h2, h3, h4, label, strong, li) { color: #f4f1e8 !important; }
/* Paddle declares its modal text colors with component-level !important rules.
 * Keep these selectors equally specific (or stronger) so the night palette wins
 * regardless of the order in which the two stylesheets finish loading. */
html.iu-dark-mode .iu-paddle-active-plan-notice h3,
html.iu-dark-mode .iu-paddle-change-modal h3 { color: #f4f1e8 !important; }
html.iu-dark-mode .iu-paddle-active-plan-notice .iu-paddle-active-plan-notice-eyebrow { color: #7da2ff !important; }
html.iu-dark-mode .iu-paddle-active-plan-notice-card > p:not(.iu-paddle-active-plan-notice-eyebrow),
html.iu-dark-mode .iu-paddle-active-plan-notice .iu-paddle-active-plan-notice-help,
html.iu-dark-mode .iu-paddle-change-modal p { color: #c9c5b8 !important; }
html.iu-dark-mode .iu-paddle-change-modal p strong { color: #f4f1e8 !important; }
html.iu-dark-mode .iu-paddle-change-modal ul,
html.iu-dark-mode .iu-paddle-change-modal li { color: #ddd9cd !important; }
html.iu-dark-mode .iu-account-deletion-progress h3 { color: #f4f1e8 !important; }
html.iu-dark-mode .iu-account-deletion-progress p { color: #d8d4c8 !important; }
html.iu-dark-mode .iu-account-deletion-progress :where(ul, li) { color: #c9c5b8 !important; }
html.iu-dark-mode :where(.iu-settings-section, .iu-download-option) { background: #21252f !important; border-color: #3f4551 !important; color: #f4f1e8 !important; }
html.iu-dark-mode :where(.iu-settings-note, .iu-download-subtitle, .iu-settings-provider-copy small, .iu-settings-provider-unavailable, .iu-paddle-active-plan-notice-help, .iu-paddle-change-modal p) { color: #aaa695 !important; }
html.iu-dark-mode :where(.iu-settings-section input, .iu-settings-section select) { background: #151820 !important; border-color: #4b5260 !important; color: #f4f1e8 !important; }
html.iu-dark-mode :where(.iu-settings-close, .iu-paddle-change-modal-close, .iu-paddle-change-modal-actions .my-auth-btn-outline, .iu-review-x, .iu-admin-dialog-cancel) { background: #292d37 !important; border-color: #505764 !important; color: #f4f1e8 !important; }
html.iu-dark-mode .iu-settings-provider-icon { background: #f7f7f8 !important; border-color: #4b5260 !important; }
html.iu-dark-mode .iu-settings-provider-status { background: rgba(34,197,94,.12) !important; border-color: #287a49 !important; color: #72e49c !important; }
html.iu-dark-mode :where(.iu-settings-provider-disconnect, .iu-settings-delete) { background: rgba(239,68,68,.09) !important; border-color: #8b4549 !important; color: #ff8b91 !important; }
html.iu-dark-mode .iu-settings-contact-link { background: #272b35 !important; border-color: #565d6a !important; color: #f6c945 !important; }
html.iu-dark-mode .iu-settings-save { background: #f6c945 !important; border-color: #f6c945 !important; color: #18150b !important; }
html.iu-dark-mode :where(.iu-settings-backdrop, .iu-account-deletion-popup-backdrop) { background: rgba(4,6,12,.78) !important; backdrop-filter: blur(7px); }

/* Login, registration, password recovery, and contact cards. */
html.iu-dark-mode .my-auth-wrap:not(.my-auth-wrap-dashboard) { color: #f4f1e8 !important; }
html.iu-dark-mode .my-auth-wrap:not(.my-auth-wrap-dashboard) .my-auth-card { background: radial-gradient(circle at 100% 0, rgba(246,201,69,.07), transparent 30%), #1a1e27 !important; border-color: #414753 !important; color: #f4f1e8 !important; box-shadow: 0 18px 48px rgba(0,0,0,.32) !important; }
html.iu-dark-mode .my-auth-wrap:not(.my-auth-wrap-dashboard) :where(.my-auth-title, label, .my-auth-divider span) { color: #f4f1e8 !important; }
html.iu-dark-mode .my-auth-wrap:not(.my-auth-wrap-dashboard) :where(.my-auth-subtitle, .my-auth-links) { color: #aaa695 !important; }
html.iu-dark-mode .my-auth-divider::before,
html.iu-dark-mode .my-auth-divider::after { background: #484e5a !important; }
html.iu-dark-mode :where(.my-auth-card #loginform input[type="text"], .my-auth-card #loginform input[type="password"], .my-auth-form input, .my-auth-form textarea, .my-auth-form select) { background: #12151c !important; border-color: #4a515e !important; color: #f4f1e8 !important; }
html.iu-dark-mode :where(.my-auth-card #loginform input[type="text"], .my-auth-card #loginform input[type="password"], .my-auth-form input, .my-auth-form textarea, .my-auth-form select):focus { border-color: #f6c945 !important; box-shadow: 0 0 0 3px rgba(246,201,69,.12) !important; }
html.iu-dark-mode :where(.my-auth-card #loginform input[type="submit"], .my-auth-btn-primary, .my-auth-form button) { background: #f6c945 !important; border-color: #f6c945 !important; color: #18150b !important; box-shadow: 0 10px 24px rgba(246,201,69,.14) !important; }
html.iu-dark-mode .my-auth-btn-outline { background: #252a34 !important; border-color: #505764 !important; color: #f4f1e8 !important; }
html.iu-dark-mode .my-auth-error { background: rgba(239,68,68,.10) !important; border-color: #8b4549 !important; color: #ffb1b5 !important; }
html.iu-dark-mode .my-auth-success { background: rgba(34,197,94,.10) !important; border-color: #287a49 !important; color: #8be6aa !important; }
html.iu-dark-mode .my-auth-google .nsl-button { border-color: #505764 !important; box-shadow: 0 8px 20px rgba(0,0,0,.22) !important; }

/* Blocksy custom header buttons supplied by the site-level CSS. */
@media (min-width: 1000px) {
  html.iu-dark-mode body header li.iu-dashboard-pill > a,
  html.iu-dark-mode body header li.iu-dashboard-pill.current-menu-item > a,
  html.iu-dark-mode body header li.iu-dashboard-pill.current_page_item > a,
  html.iu-dark-mode body header li.iu-dashboard-pill.current-menu-ancestor > a,
  html.iu-dark-mode body header li.iu-dashboard-pill > a[aria-current="page"] {
    background-color: #20242d !important;
    background-image: linear-gradient(#f6c945,#f6c945), linear-gradient(#f6c945,#f6c945), linear-gradient(#f6c945,#f6c945), linear-gradient(#f6c945,#f6c945) !important;
    border-color: #4e4934 !important;
    color: #f4f1e8 !important;
    box-shadow: 0 8px 22px rgba(0,0,0,.24) !important;
  }
  html.iu-dark-mode body header li.iu-dashboard-pill > a:hover { background-color: #292d36 !important; border-color: #f6c945 !important; color: #fff2bd !important; }
}
html.iu-dark-mode body :where(.ct-header .get-started-button > a, header li.get-started-button > a) { background: linear-gradient(135deg,#f6c945,#e9ad24) !important; border-color: #ffe58c !important; color: #18150b !important; box-shadow: 0 8px 22px rgba(246,201,69,.18) !important; }
html.iu-dark-mode body :where(.ct-header .get-started-button > a, header li.get-started-button > a):hover { background: linear-gradient(135deg,#ffd85e,#f0b62c) !important; color: #18150b !important; }
html.iu-dark-mode body :where(.ct-header .get-started-button > a, header li.get-started-button > a)::before { filter: brightness(0) saturate(100%) !important; }

/* The credit control has its own light wrapper in the upscaler header. */
html.iu-dark-mode #iu_root .iu-header-credits { background: #20242d !important; border-color: #454b58 !important; box-shadow: 0 12px 28px rgba(0,0,0,.26) !important; }
html.iu-dark-mode #iu_root .iu-credit-separator { background: #454b58 !important; }
html.iu-dark-mode #iu_root .iu-credit-icon { background: #29291f !important; border-color: #5a5239 !important; box-shadow: none !important; }
html.iu-dark-mode #iu_root .iu-credit-tooltip span { color: #f4f1e8 !important; }
html.iu-dark-mode #iu_root .iu-credit-tooltip b { color: #f6c945 !important; }
html.iu-dark-mode #iu_root .iu-credit-loading-spinner { border-color: rgba(246,201,69,.25) !important; border-top-color: #f6c945 !important; }

/* Final high-specificity polish for controls called out in the page review. */
html.iu-dark-mode #iu_root .iu-drop h3 { color: #f4f1e8 !important; }
html.iu-dark-mode #iu_root .iu-drop p { color: #aaa695 !important; }
html.iu-dark-mode #iu_root .iu-header-credits { background: #252a34 !important; border-color: #4a515e !important; box-shadow: 0 12px 28px rgba(0,0,0,.24) !important; }
html.iu-dark-mode #iu_root .iu-credit-pill { background: transparent !important; border-color: transparent !important; }
html.iu-dark-mode #iu_root .iu-credit-label,
html.iu-dark-mode #iu_root .iu-credit-pill strong { color: #fff !important; }
html.iu-dark-mode .iu-report-problem-link { background: #242832 !important; border: 1px solid #57513b !important; color: #f6c945 !important; box-shadow: 0 10px 28px rgba(0,0,0,.28) !important; }
html.iu-dark-mode .iu-report-problem-link:hover { background: #2c303a !important; border-color: #f6c945 !important; color: #fff2bd !important; }

html.iu-dark-mode .iu-paddle-plan.is-featured button:not(:disabled),
html.iu-dark-mode .iu-paddle-plan button:not(:disabled),
html.iu-dark-mode .iu-paddle-plan .iu-paddle-addon-credits { background: linear-gradient(135deg,#f6c945,#e9ad24) !important; border: 2px solid #f6c945 !important; color: #18150b !important; box-shadow: 0 12px 26px rgba(246,201,69,.16) !important; }
html.iu-dark-mode .iu-paddle-plan.is-featured button:not(:disabled):hover,
html.iu-dark-mode .iu-paddle-plan button:not(:disabled):hover,
html.iu-dark-mode .iu-paddle-plan .iu-paddle-addon-credits:hover { background: linear-gradient(135deg,#ffd85e,#f0b62c) !important; border-color: #ffe58c !important; color: #18150b !important; }

html.iu-dark-mode .my-auth-wrap.my-auth-wrap-dashboard .iu-dashboard-retention-notice { background: rgba(246,201,69,.09) !important; border-color: #625a3c !important; color: #e4d493 !important; }
html.iu-dark-mode .my-auth-wrap.my-auth-wrap-dashboard .iu-dashboard-retention-notice span { color: #f6c945 !important; }
html.iu-dark-mode .my-auth-wrap.my-auth-wrap-dashboard .iu-dashboard-scale-pill { background: #29291f !important; border: 1px solid #57513b !important; color: #f6c945 !important; }
html.iu-dark-mode .my-auth-wrap.my-auth-wrap-dashboard .iu-dashboard-single-state { color: #b9dfc5 !important; }
html.iu-dark-mode .my-auth-wrap.my-auth-wrap-dashboard .iu-dashboard-single-state span { background: #23894a !important; color: #fff !important; }
html.iu-dark-mode .my-auth-wrap.my-auth-wrap-dashboard .iu-dashboard-single-download :where(svg, svg path, .iu-dashboard-download-icon) { color: #f6c945 !important; fill: currentColor !important; }

html.iu-dark-mode .iu-account-credits-panel .iu-account-credit-hero { background: #222630 !important; border: 1px solid #3d4350 !important; box-shadow: none !important; }
html.iu-dark-mode .iu-account-credit-hero .iu-account-ring { background: #191d25 !important; border-color: #56503a !important; box-shadow: inset 0 0 0 1px rgba(246,201,69,.05) !important; }
html.iu-dark-mode .iu-account-credit-hero .iu-account-ring > span,
html.iu-dark-mode .iu-account-credit-hero .iu-account-ring strong { color: #f6c945 !important; -webkit-text-fill-color: #f6c945 !important; }
html.iu-dark-mode .iu-account-credit-hero .iu-account-ring small { color: #fff !important; }
html.iu-dark-mode .iu-account-credit-breakdown { background: #222630 !important; border-color: #3d4350 !important; box-shadow: none !important; color: #ddd9cd !important; }
html.iu-dark-mode .iu-account-credit-breakdown span:first-child { color: #f4f1e8 !important; }
html.iu-dark-mode .iu-account-credit-breakdown b { color: #f6c945 !important; }

/* Selected-image actions and review controls. */
html.iu-dark-mode #iu_root .iu-selected-card .iu-btn-primary,
html.iu-dark-mode #iu_root .iu-selected-card .iu-btn-primary:hover { background: linear-gradient(135deg,#f6c945,#e9ad24) !important; border-color: #f6c945 !important; color: #18150b !important; }
html.iu-dark-mode #iu_root .iu-selected-card .iu-btn-primary .iu-button-icon,
html.iu-dark-mode #iu_root .iu-selected-card .iu-btn-primary .iu-button-icon svg,
html.iu-dark-mode #iu_root .iu-selected-card .iu-btn-primary .iu-button-icon svg path { color: #18150b !important; fill: #18150b !important; }
html.iu-dark-mode #iu_root .iu-selected-card .iu-btn-danger { background: rgba(239,68,68,.08) !important; border-color: #7d4549 !important; color: #ff9a9f !important; }
html.iu-dark-mode #iu_root .iu-selected-card .iu-btn-danger:disabled { background: #292d36 !important; border-color: #414753 !important; color: #8f96a3 !important; opacity: .72 !important; }
html.iu-dark-mode #iu_root .iu-download { background: rgba(246,201,69,.10) !important; border-color: #756a42 !important; color: #f6c945 !important; }
html.iu-dark-mode #iu_root .iu-download:hover:not(:disabled) { background: rgba(246,201,69,.16) !important; border-color: #f6c945 !important; }
html.iu-dark-mode #iu_root .iu-download:disabled { background: #292d36 !important; border-color: #59606d !important; color: #d5d8df !important; opacity: 1 !important; }
html.iu-dark-mode #iu_root .iu-close:disabled { background: #292d36 !important; border-color: #414753 !important; color: #8f96a3 !important; opacity: .62 !important; }
html.iu-dark-mode #iu_root .iu-afterlist #iu_zip.iu-btn-dark { background: #242832 !important; border-color: #505764 !important; color: #f4f1e8 !important; }

html.iu-dark-mode .iu-review-admin-preview { background: #242832 !important; border-color: #57513b !important; color: #f4f1e8 !important; box-shadow: 0 12px 30px rgba(0,0,0,.3) !important; }
html.iu-dark-mode .iu-review-admin-preview > span:first-child { background: #302f22 !important; color: #f6c945 !important; }
html.iu-dark-mode .iu-review-admin-preview :where(strong, small) { color: #f4f1e8 !important; }
html.iu-dark-mode .iu-review-submit,
html.iu-dark-mode .iu-review-actions .iu-review-submit,
html.iu-dark-mode .iu-review-submit :where(span, strong) { background: #f6c945 !important; border-color: #f6c945 !important; color: #18150b !important; }

/* Rating selection, selected-image indicators, and processing feedback. */
html.iu-dark-mode .iu-review-dialog .iu-review-sparkle { background: #302f22 !important; border: 1px solid #57513b !important; color: #f6c945 !important; }
html.iu-dark-mode .iu-review-dialog .iu-star-input label { color: #737986 !important; text-shadow: none !important; }
html.iu-dark-mode .iu-review-dialog .iu-star-input input:checked ~ label,
html.iu-dark-mode .iu-review-dialog .iu-star-input label:hover,
html.iu-dark-mode .iu-review-dialog .iu-star-input label:hover ~ label { color: #f6c945 !important; text-shadow: 0 0 14px rgba(246,201,69,.28) !important; }
html.iu-dark-mode #iu_root .iu-selected-icon,
html.iu-dark-mode #iu_root .iu-credit-stars { background: #302f22 !important; border-color: #57513b !important; color: #f6c945 !important; }
html.iu-dark-mode #iu_root .iu-selected-icon :where(svg, svg path),
html.iu-dark-mode #iu_root .iu-credit-stars :where(svg, svg path) { color: #f6c945 !important; fill: #f6c945 !important; }
html.iu-dark-mode #iu_root .iu-selected-card .iu-count,
html.iu-dark-mode #iu_root .iu-credit-usage strong { background: #302f22 !important; border: 1px solid #57513b !important; color: #f6c945 !important; }
html.iu-dark-mode #iu_root .iu-spinner { border-color: #4d5360 !important; border-top-color: #f6c945 !important; }
html.iu-dark-mode #iu_root .iu-statuspill-error,
html.iu-dark-mode #iu_root .iu-statuspill-error span { color: #ff6b73 !important; }
html.iu-dark-mode #iu_root .iu-spin { border-color: #555c69 !important; border-top-color: #f6c945 !important; }
html.iu-dark-mode #iu_root .iu-check { background: rgba(52, 211, 153, .16) !important; border-color: rgba(110, 231, 183, .72) !important; box-shadow: 0 0 0 2px rgba(52, 211, 153, .08) !important; }
html.iu-dark-mode #iu_root .iu-check :where(svg, svg path) { fill: #6ee7b7 !important; }
html.iu-dark-mode #iu_root .iu-log { background: #151820 !important; border-color: #414753 !important; color: #c9cfe0 !important; scrollbar-color: #626978 #20242e; }

/* Paid-credit account panel: replace the remaining white nested cards. */
html.iu-dark-mode .iu-account-sidebar .iu-account-sidebar-icon { background: #302f22 !important; border: 1px solid #57513b !important; color: #f6c945 !important; }
html.iu-dark-mode .iu-account-paddle-credits .iu-account-panel-head strong { color: #f4f1e8 !important; }
html.iu-dark-mode .iu-account-paddle-credits .iu-account-paid-ring { border-color: #3d4350 !important; background: #242832 !important; box-shadow: inset 0 0 0 22px #1a1e27, 0 12px 28px rgba(0,0,0,.28) !important; }
html.iu-dark-mode .iu-account-paddle-credits .iu-account-paid-ring::before { background: conic-gradient(from 0deg, #f6c945 0 var(--iu-paid-credit-progress, 0%), #353a44 var(--iu-paid-credit-progress, 0%) 100%) !important; }
html.iu-dark-mode .iu-account-paddle-credits .iu-account-paid-ring::after { background: #1a1e27 !important; }
html.iu-dark-mode .iu-account-paddle-credits .iu-account-paid-ring strong { color: #f6c945 !important; }
html.iu-dark-mode .iu-account-paddle-credits .iu-account-paid-ring :where(span, small) { color: #f4f1e8 !important; }
html.iu-dark-mode .iu-account-paddle-credits .iu-account-addon-summary { background: #222630 !important; border-color: #414753 !important; box-shadow: none !important; }
html.iu-dark-mode .iu-account-paddle-credits .iu-account-addon-summary-head strong { color: #f4f1e8 !important; }
html.iu-dark-mode .iu-account-paddle-credits .iu-account-addon-summary-head > span { background: #302f22 !important; color: #f6c945 !important; }
html.iu-dark-mode .iu-account-paddle-credits .iu-account-addon-summary dl > div { background: #1a1e27 !important; border-color: #414753 !important; }
html.iu-dark-mode .iu-account-paddle-credits .iu-account-addon-summary :where(dt, dd) { color: #ddd9cd !important; }
html.iu-dark-mode .iu-account-paddle-info .iu-account-detail-list li { background: #222630 !important; border: 1px solid #414753 !important; border-radius: 14px !important; padding: 12px 14px !important; }
html.iu-dark-mode .iu-account-paddle-info .iu-account-detail-list li :where(span, strong) { color: #f4f1e8 !important; }
html.iu-dark-mode .iu-account-paddle-info .iu-account-detail-list li > span { color: #aaa695 !important; }

/* The account review is embedded rather than modal, so mirror rating states there. */
html.iu-dark-mode .iu-account-review .iu-review-sparkle { background: #302f22 !important; border: 1px solid #57513b !important; color: #f6c945 !important; }
html.iu-dark-mode .iu-account-review .iu-star-input label { color: #737986 !important; text-shadow: none !important; }
html.iu-dark-mode .iu-account-review .iu-star-input input:checked ~ label,
html.iu-dark-mode .iu-account-review .iu-star-input label:hover,
html.iu-dark-mode .iu-account-review .iu-star-input label:hover ~ label { color: #f6c945 !important; text-shadow: 0 0 14px rgba(246,201,69,.28) !important; }

/* Add-on credit purchase and subscription-required pages. */
html.iu-dark-mode :where(.iu-addon-page, .iu-addon-gate) { background: radial-gradient(circle at 50% 12%, rgba(246,201,69,.07), transparent 30%), #0d0f14 !important; color: #f4f1e8 !important; }
html.iu-dark-mode :where(.iu-addon-page, .iu-addon-gate) :where(h1, h2, h3, p, strong, label) { color: #f4f1e8 !important; }
html.iu-dark-mode .iu-addon-page > header h2 { background: none !important; color: #f6c945 !important; -webkit-text-fill-color: #f6c945 !important; }
html.iu-dark-mode :where(.iu-addon-eyebrow, .iu-addon-plan-badge) { background: #302f22 !important; border-color: #57513b !important; color: #f6c945 !important; }
html.iu-dark-mode :where(.iu-addon-rule, .iu-addon-balance, .iu-addon-purchase-panel, .iu-addon-trust, .iu-addon-gate-card, .iu-addon-benefits article) { background: #1a1e27 !important; border-color: #414753 !important; color: #f4f1e8 !important; box-shadow: 0 16px 38px rgba(0,0,0,.22) !important; }
html.iu-dark-mode :where(.iu-addon-rule p span, .iu-addon-panel-heading p, .iu-addon-checkout-row p, .iu-addon-trust small, .iu-addon-gate-copy > p, .iu-addon-benefits p, .iu-addon-balance small) { color: #aaa695 !important; }
html.iu-dark-mode :where(.iu-addon-rule-icon, .iu-addon-heading-star, .iu-addon-trust article > span, .iu-addon-benefits article > span, .iu-addon-title-icon) { background: #302f22 !important; border-color: #57513b !important; color: #f6c945 !important; }
html.iu-dark-mode .iu-addon-balance .iu-addon-stack-icon { background: #f6c945 !important; color: #18150b !important; }
html.iu-dark-mode .iu-addon-select-wrap select { background: #151820 !important; border-color: #625a3c !important; color: #f4f1e8 !important; box-shadow: 0 0 0 3px rgba(246,201,69,.06) !important; }
html.iu-dark-mode .iu-addon-select-wrap select option { background: #1a1e27 !important; color: #f4f1e8 !important; }
html.iu-dark-mode .iu-addon-select-icon { color: #f6c945 !important; }
html.iu-dark-mode .iu-addon-checkout-row { border-color: #414753 !important; }
html.iu-dark-mode .iu-addon-page .iu-addon-checkout-row .my-auth-btn-primary:not(:disabled),
html.iu-dark-mode .iu-addon-gate .iu-addon-gate-actions .my-auth-link { background: linear-gradient(135deg,#f6c945,#e9ad24) !important; border-color: #f6c945 !important; color: #18150b !important; box-shadow: 0 10px 24px rgba(246,201,69,.14) !important; }
html.iu-dark-mode .iu-addon-page .iu-addon-checkout-row .my-auth-btn-primary:disabled { background: #2b303a !important; border: 1px solid #454b58 !important; color: #8f96a3 !important; box-shadow: none !important; }
html.iu-dark-mode .iu-addon-outline-link { background: #252a34 !important; border-color: #625a3c !important; color: #f6c945 !important; }
html.iu-dark-mode .iu-addon-trust article { border-color: #414753 !important; }
html.iu-dark-mode .iu-addon-lock-art { border-color: #414753 !important; }

/* Remaining paid-plan labels and actions. */
html.iu-dark-mode .iu-account-paddle-info .iu-account-timezone { background: #30343e !important; border: 1px solid #505764 !important; color: #ddd9cd !important; }
html.iu-dark-mode .iu-account-paddle-credits .iu-account-manage-subscription { background: linear-gradient(135deg,#f6c945,#e9ad24) !important; border-color: #f6c945 !important; color: #18150b !important; box-shadow: 0 10px 24px rgba(246,201,69,.14) !important; }
html.iu-dark-mode .iu-account-paddle-credits .iu-account-manage-subscription :where(.iu-account-manage-subscription-label,.iu-account-manage-subscription-arrow) { color: #18150b !important; -webkit-text-fill-color: #18150b !important; }
html.iu-dark-mode .iu-account-paddle-credits .iu-account-manage-subscription-spinner { border-color: rgba(24,21,11,.28) !important; border-top-color: #18150b !important; }
html.iu-dark-mode .iu-account-paddle-credits .iu-account-manage-subscription-error { background: #302326 !important; border-color: #79464b !important; color: #ffb4b8 !important; }
html.iu-dark-mode .iu-account-sidebar .iu-account-sidebar-logout { background: rgba(239,68,68,.08) !important; border-color: #7d4549 !important; color: #ff9a9f !important; }

/* Beat the component stylesheet's two-class selectors without changing layout. */
html.iu-dark-mode .iu-addon-page .iu-addon-rule,
html.iu-dark-mode .iu-addon-page .iu-addon-balance,
html.iu-dark-mode .iu-addon-page .iu-addon-purchase-panel,
html.iu-dark-mode .iu-addon-page .iu-addon-trust,
html.iu-dark-mode .iu-addon-gate .iu-addon-gate-card,
html.iu-dark-mode .iu-addon-gate .iu-addon-benefits article { background: #1a1e27 !important; border-color: #414753 !important; color: #f4f1e8 !important; }
html.iu-dark-mode .iu-addon-page .iu-addon-panel-heading p,
html.iu-dark-mode .iu-addon-page .iu-addon-checkout-row p,
html.iu-dark-mode .iu-addon-page .iu-addon-trust small,
html.iu-dark-mode .iu-addon-gate .iu-addon-gate-copy > p,
html.iu-dark-mode .iu-addon-gate .iu-addon-benefits p { color: #aaa695 !important; }

@media (max-width: 600px) {
  .iu-theme-toggle { right: max(12px, env(safe-area-inset-right)); bottom: max(12px, env(safe-area-inset-bottom)); min-width: 46px; padding: 8px; }
  .iu-theme-toggle__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
}

@media (prefers-reduced-motion: reduce) {
  .iu-theme-toggle { transition: none; }
}
