/* JustinAKA Paste: scoped to the existing WP Dark Mode switch. */
.bloghash-logo .logo-inner img[src*="/images/header/Halloween1.gif"] {
  filter: url("#jap-header-clear") !important;
  background: transparent !important;
}
html[data-wp-dark-mode-active] {
  color-scheme: dark;
  --wp-dark-body-filter: none !important;
  --wp-dark-background-color: #111827 !important;
  --wp-dark-text-color: #e5edf7 !important;
  --wp-dark-link-color: #93c5fd !important;
  --wp-dark-link-hover-color: #dbeafe !important;
  --wp-dark-border-color: #33465f !important;
  --wp-dark-input-background-color: #101b2c !important;
  --wp-dark-input-text-color: #f1f5f9 !important;
  --wp-dark-input-placeholder-color: #a8b8ce !important;
  --wp-dark-button-background-color: #24578a !important;
  --wp-dark-button-text-color: #fff !important;
  --wp-dark-button-hover-background-color: #326ca5 !important;
  --wp-dark-button-hover-text-color: #fff !important;
  --wp-dark-button-border-color: #4977a5 !important;
}
html[data-wp-dark-mode-active] body { background: #0d1420 !important; color: #e5edf7 !important; filter: none !important; }
html[data-wp-dark-mode-active] #page,
html[data-wp-dark-mode-active] #main { background: #111827 !important; }
html[data-wp-dark-mode-active] #masthead,
html[data-wp-dark-mode-active] #bloghash-header-inner,
html[data-wp-dark-mode-active] .bloghash-header-container,
html[data-wp-dark-mode-active] .bloghash-logo-container,
html[data-wp-dark-mode-active] .bloghash-nav-container { background: #141f30 !important; border-color: #2d4059 !important; }
html[data-wp-dark-mode-active] .bloghash-article { background: #182437 !important; border-color: #3a5270 !important; box-shadow: 0 8px 24px #0002 !important; }
html[data-wp-dark-mode-active] :is(.titles h1,.titles h2,.titles h3,.entry-title,.entry-title a,.widget-title,.widget-title span) {
  color: #f1f5f9 !important; -webkit-text-fill-color: #f1f5f9 !important;
  background-image: none !important; text-shadow: none !important;
}
html[data-wp-dark-mode-active] :is(.entry-summary,.entry-content,.bloghash-sidebar-widget) { color: #e5edf7 !important; }
html[data-wp-dark-mode-active] :is(.entry-meta,.entry-meta a,.entry-meta time,.comment-metadata) { color: #b6c5d9 !important; }
html[data-wp-dark-mode-active] .bloghash-nav a { color: #dbeafe !important; }
html[data-wp-dark-mode-active] .bloghash-nav :is(.current-menu-item,.current-menu-ancestor)>a,
html[data-wp-dark-mode-active] .bloghash-nav a:hover { background: #284c73 !important; color: #fff !important; }
html[data-wp-dark-mode-active] .bloghash-nav .sub-menu { background: #182437 !important; border-color: #33465f !important; }
html[data-wp-dark-mode-active] :is(.bloghash-btn,.bloghash-btn span,.bloghash-btn i,.entry-media-icon,.glitch-link,.glitch-link span) { color: #fff !important; }
html[data-wp-dark-mode-active] .bloghash-btn { background: #24578a !important; border-color: #4977a5 !important; }
html[data-wp-dark-mode-active] :is(input,textarea,select) { color: #f1f5f9 !important; background-color: #101b2c !important; border-color: #49617e !important; }
html[data-wp-dark-mode-active] ::placeholder { color: #a8b8ce !important; opacity: 1; }
html[data-wp-dark-mode-active] :is(a,button,input,textarea,select):focus-visible { outline: 2px solid #93c5fd !important; outline-offset: 3px; }
html[data-wp-dark-mode-active] .bloghash-logo .logo-inner img[src*="/images/header/Halloween1.gif"] {
  filter: url("#jap-header-dark") !important; background: transparent !important;
}

/* A third, seasonal appearance beside the existing light/dark control. */
.jap-theme-controls { display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0; }
.jap-pumpkin-toggle { display: inline-flex !important; align-items:center; justify-content:center; width:38px; height:38px; padding:0 !important; border-radius:50% !important; border:1px solid #cbd5e1 !important; background:#f8fafc !important; font-size:23px !important; line-height:1 !important; cursor:pointer; box-shadow:none !important; }
.jap-pumpkin-toggle[aria-pressed="true"] { background:#45230f !important; border:2px solid #ffad50 !important; box-shadow:0 0 0 3px #ff922b26 !important; }
.jap-pumpkin-toggle:focus-visible { outline:3px solid #f59e0b !important; outline-offset:3px; }
html[data-jap-theme="halloween"] { color-scheme:dark; --wp-dark-background-color:#17101f !important; --wp-dark-text-color:#f4e8da !important; --wp-dark-link-color:#ffb76b !important; --wp-dark-link-hover-color:#ffdfb5 !important; --wp-dark-border-color:#62422f !important; --wp-dark-button-background-color:#8f3b0e !important; --wp-dark-button-text-color:#fff6e8 !important; --wp-dark-button-hover-background-color:#b24e14 !important; --wp-dark-button-border-color:#df792b !important; }
html[data-jap-theme="halloween"] body { background:#100b16 !important; color:#f4e8da !important; }
html[data-jap-theme="halloween"] body #page,
html[data-jap-theme="halloween"] body #main { background:#17101f !important; }
html[data-jap-theme="halloween"] body :is(#masthead,#bloghash-header-inner,.bloghash-header-container,.bloghash-logo-container,.bloghash-nav-container) { background:#211527 !important; border-color:#6a3b25 !important; }
html[data-jap-theme="halloween"] body .bloghash-article { background:#251b2b !important; border-color:#88532f !important; box-shadow:0 8px 28px #0003 !important; }
html[data-jap-theme="halloween"] body :is(.titles h1,.titles h2,.titles h3,.entry-title,.entry-title a,.widget-title,.widget-title span) { color:#ffd49a !important; -webkit-text-fill-color:#ffd49a !important; background-image:none !important; }
html[data-jap-theme="halloween"] body :is(.entry-summary,.entry-content,.bloghash-sidebar-widget) { color:#f4e8da !important; }
html[data-jap-theme="halloween"] body :is(.entry-meta,.entry-meta a,.entry-meta time,.comment-metadata) { color:#ccb9d0 !important; }
html[data-jap-theme="halloween"] body .bloghash-nav a { color:#ffd49a !important; }
html[data-jap-theme="halloween"] body .bloghash-nav :is(.current-menu-item,.current-menu-ancestor)>a,
html[data-jap-theme="halloween"] body .bloghash-nav a:hover { background:#82390f !important; color:#fff6e8 !important; }
html[data-jap-theme="halloween"] body .bloghash-nav .sub-menu { background:#2b1b31 !important; border-color:#88532f !important; }
html[data-jap-theme="halloween"] body .bloghash-btn { background:#8f3b0e !important; border-color:#df792b !important; color:#fff6e8 !important; }
html[data-jap-theme="halloween"] body :is(input,textarea,select) { background:#1b1122 !important; color:#fff0df !important; border-color:#90613f !important; }
html[data-jap-theme="halloween"] body ::placeholder { color:#cfb9cb !important; }
html[data-jap-theme="halloween"] body .bloghash-logo .logo-inner img[src*="/images/header/Halloween1.gif"] { filter:url("#jap-header-dark") !important; }
@media(max-width:480px) { .jap-theme-controls { justify-content:center; margin:0 auto 12px; } }
.jap-theme-controls { position:relative; z-index:5; }
