/* All color overrides are restricted to dark mode. Product images are untouched. */
html[data-bk-theme="dark"] {color-scheme:dark;--bk-bg:#141414;--bk-panel:#202020;--bk-raised:#292929;--bk-text:#eeeeee;--bk-muted:#b8b8b8;--bk-border:#606060;--bk-link:#8fd1e3;--bk-red:#ff8794;}
html[data-bk-theme="light"] {color-scheme:light;}
html[data-bk-theme="dark"] body {background:var(--bk-bg)!important;color:var(--bk-text)!important;}
html[data-bk-theme="dark"] :is(.main,.main-in,.sidebar,.sidebar-in,.header-container,.header,.footer,.footer-container,.content,.content-in,.article,.entry-content,.widget,.recommended,.appeal,.front-top-page) {background-color:var(--bk-panel)!important;color:var(--bk-text)!important;border-color:var(--bk-border)!important;}
html[data-bk-theme="dark"] :is(.header-container,.header,.footer,.footer-container,.content) {background-image:none!important;}
html[data-bk-theme="dark"] :is(.site-name-text,.site-description,.entry-title,.article-title,.entry-card-title,.related-entry-card-title,.blogcard-title,.widget-entry-card-title,.carousel-entry-card-title,.bk-update-title,.comment-author,.comment-author a,.comment-form label) {color:var(--bk-text)!important;}
html[data-bk-theme="dark"] a {color:#fff;}
html[data-bk-theme="dark"] :is(.entry-content,.comment-content) a {color:var(--bk-link)!important;}
html[data-bk-theme="dark"] :is(.entry-content,.comment-content) a:hover {color:#bcecf6!important;}
html[data-bk-theme="dark"] :is(.post-date,.post-update,.entry-card-meta,.article-footer,.breadcrumb,.breadcrumb a,.bk-update-date,.bk-form-note,.comment-meta,.comment-meta a,.bk-no-image) {color:var(--bk-muted)!important;}
html[data-bk-theme="dark"] :is(.article h2,.article h3,.article h4,.article h5,.article h6,.widget-title,.sidebar h3,.comment-title,.comment-reply-title) {background-color:var(--bk-raised)!important;color:var(--bk-text)!important;border-color:var(--bk-border)!important;}
html[data-bk-theme="dark"] :is(.toc,.blogcard,.bk-update-card,.entry-card-wrap,.related-entry-card-wrap,.widget-entry-card-link,.carousel-entry-card-wrap,.pager-post-navi a,.prev-post,.next-post) {background:var(--bk-panel)!important;color:var(--bk-text)!important;border-color:var(--bk-border)!important;}
html[data-bk-theme="dark"] :is(.blogcard,.bk-update-card,.entry-card-wrap,.related-entry-card-wrap,.widget-entry-card-link,.pager-post-navi a):hover {background:var(--bk-raised)!important;border-color:#777777!important;}
html[data-bk-theme="dark"] :is(.toc-title,.toc a) {color:var(--bk-text)!important;}
html[data-bk-theme="dark"] :is(a:hover .entry-card-title,a:hover .related-entry-card-title,a:hover .blogcard-title,a:hover .widget-entry-card-title,a:hover .carousel-entry-card-title) {color:var(--bk-red)!important;}
html[data-bk-theme="dark"] :is(.article table,.article th,.article td) {background:var(--bk-panel)!important;color:var(--bk-text)!important;border-color:var(--bk-border)!important;}
html[data-bk-theme="dark"] :is(.article th,.article tr:nth-child(even) td) {background:var(--bk-raised)!important;}
html[data-bk-theme="dark"] :is(blockquote,pre,.blank-box,.information-box,.question-box,.alert-box,.memo-box,.comment-box,.common-icon-box,.caption-box,.tab-caption-box,.label-box,.speech-balloon,.wp-block-group.has-background) {background-color:var(--bk-raised)!important;color:var(--bk-text)!important;border-color:var(--bk-border)!important;}
html[data-bk-theme="dark"] :is(.caption-box-content,.tab-caption-box-content,.label-box-content) {background:var(--bk-panel)!important;color:var(--bk-text)!important;}
html[data-bk-theme="dark"] :is(code,.wp-block-code) {background-color:var(--bk-raised);color:var(--bk-text);}
html[data-bk-theme="dark"] :is(.navi,.navi-in,.navi .sub-menu,.mobile-footer-menu-buttons,.mobile-header-menu-buttons,.mobile-menu-buttons,.search-menu-content,.sidebar-menu-content) {background:var(--bk-raised)!important;color:var(--bk-text)!important;border-color:var(--bk-border)!important;}
html[data-bk-theme="dark"] :is(.navi a,.mobile-menu-buttons a,.mobile-menu-buttons label,.mobile-footer-menu-buttons a,.mobile-footer-menu-buttons label,.mobile-header-menu-buttons a,.mobile-header-menu-buttons label) {color:var(--bk-text)!important;}
html[data-bk-theme="dark"] .navi a:hover {background:var(--bk-border)!important;}
/* Existing dark mobile drawer keeps its original gradient and hierarchy. */
html[data-bk-theme="dark"] :is(#navi-menu-content,.menu-drawer .menu-content) a {color:#eeeeee!important;}
html[data-bk-theme="dark"] :is(.comment-body,.comment-content,.comment-respond,.comment-list,.commets-list) {background-color:var(--bk-panel)!important;color:var(--bk-text)!important;border-color:var(--bk-border)!important;}
html[data-bk-theme="dark"] .comment-by-admin > .comment-body .comment-author::after {color:var(--bk-red)!important;}
html[data-bk-theme="dark"] .bk-form-required {color:var(--bk-red)!important;}
html[data-bk-theme="dark"] :is(textarea,input[type="text"],input[type="email"],input[type="url"],input[type="search"],input[type="password"],input[type="number"],select) {background:var(--bk-bg)!important;color:var(--bk-text)!important;border-color:var(--bk-border)!important;}
html[data-bk-theme="dark"] :is(input,textarea)::placeholder {color:var(--bk-muted)!important;opacity:1;}
html[data-bk-theme="dark"] :is(.comment-form input[type="submit"],.comment-btn,.comment-reply-link,.pagination .page-numbers,.bungukaiseki-sort-buttons a,.search-submit,.go-to-top-button) {background:var(--bk-raised)!important;color:var(--bk-text)!important;border-color:var(--bk-border)!important;}
html[data-bk-theme="dark"] :is(.pagination .current,.bungukaiseki-sort-buttons a.active) {background:#454545!important;color:#fff!important;border-color:#777777!important;}
html[data-bk-theme="dark"] .bk-entry-comment-link {color:var(--bk-link)!important;}
html[data-bk-theme="dark"] .bk-entry-comment-link:hover {color:#bcecf6!important;}
html[data-bk-theme="dark"] .bk-update-label.is-new {background:#216c48!important;color:#effff5!important;}
html[data-bk-theme="dark"] .bk-update-label.is-updated {background:#9a3a39!important;color:#fff2f2!important;}
html[data-bk-theme="dark"] .mcr button {background:var(--bk-raised)!important;color:var(--bk-text)!important;border-color:var(--bk-border)!important;}
html[data-bk-theme="dark"] .mcr button:hover {background:#363636!important;}
html[data-bk-theme="dark"] .mcr .mcr-good[aria-pressed="true"] {background:#233b50!important;color:#a9d9ff!important;border-color:#6899bd!important;}
html[data-bk-theme="dark"] .mcr .mcr-heart[aria-pressed="true"] {background:#482c37!important;color:#ff9bb5!important;border-color:#b76d86!important;}
html[data-bk-theme="dark"] :is(.mcr .mcr-heart-label,.mcr-message) {color:#ff9bb5!important;}
html[data-bk-theme="dark"] :is(hr,.article-footer,.comment-list li) {border-color:var(--bk-border)!important;}
/* COLORS Black sidebar links need an explicit override. */
html[data-bk-theme="dark"] body :is(#sidebar,.sidebar,.sidebar-menu-content) :is(a,a:visited,li,a::before,a::after) {
  color:var(--bk-text)!important;
}
html[data-bk-theme="dark"] body :is(#sidebar,.sidebar,.sidebar-menu-content) a :is(span,i) {color:inherit!important;}
html[data-bk-theme="dark"] body :is(#sidebar,.sidebar,.sidebar-menu-content) a:hover {color:var(--bk-link)!important;}
/* Borders and a lighter card surface make the link area visible on desktop/mobile. */
html[data-bk-theme="dark"] body :is(#main,.main,#sidebar,.sidebar) :is(.entry-card-wrap,.related-entry-card-wrap,.blogcard,.widget-entry-card-link,.carousel-entry-card-wrap,.bk-update-card,.pager-post-navi a) {
  background:#292929!important;
  border:1px solid #606060!important;
  border-radius:10px;
  box-shadow:0 2px 5px rgba(0,0,0,.18)!important;
}
html[data-bk-theme="dark"] body :is(#main,.main,#sidebar,.sidebar) :is(.entry-card-wrap,.related-entry-card-wrap,.blogcard,.widget-entry-card-link,.carousel-entry-card-wrap,.bk-update-card,.pager-post-navi a):is(:hover,:focus-visible) {
  background:#353535!important;
  border-color:#969696!important;
}
/* Affiliate product cards (Moshimo Easy Link): override light widget surfaces. */
html[data-bk-theme="dark"] body :is(.article,.entry-content) .easyLink-box {
  background:#292929!important;
  color:#eeeeee!important;
  border:1px solid #606060!important;
  border-radius:10px;
}
html[data-bk-theme="dark"] body :is(.article,.entry-content) .easyLink-box :is(.easyLink-info,.easyLink-info p,.easyLink-info-maker,.easyLink-info-name) {
  color:#eeeeee!important;
  background-color:transparent!important;
}
html[data-bk-theme="dark"] body :is(.article,.entry-content) .easyLink-box .easyLink-info a {color:#fff!important;}
html[data-bk-theme="dark"] body :is(.article,.entry-content) .easyLink-box .easyLink-info-btn a {
  color:#fff!important;
  background:#365a80!important;
  border:1px solid #8ba5c2!important;
  text-decoration:none!important;
}
html[data-bk-theme="dark"] body :is(.article,.entry-content) .easyLink-box .easyLink-info-btn a.easyLink-info-btn-amazon {background:#a74a0d!important;border-color:#e7a477!important;}
html[data-bk-theme="dark"] body :is(.article,.entry-content) .easyLink-box .easyLink-info-btn a.easyLink-info-btn-rakuten {background:#b63136!important;border-color:#eb9195!important;}
html[data-bk-theme="dark"] body :is(.article,.entry-content) .easyLink-box .easyLink-info-btn a.easyLink-info-btn-yahoo {background:#245fac!important;border-color:#8bb4eb!important;}
html[data-bk-theme="dark"] body :is(.article,.entry-content) .easyLink-box .easyLink-info-btn a :is(span,i) {color:inherit!important;}
html[data-bk-theme="dark"] body :is(.article,.entry-content) .easyLink-box .easyLink-info-btn a:is(:hover,:focus-visible) {outline:2px solid #d4e9ff;outline-offset:2px;}
@media print {html[data-bk-theme="dark"] {color-scheme:light;--bk-bg:#fff;--bk-panel:#fff;--bk-raised:#f4f4f4;--bk-text:#111;--bk-muted:#444;--bk-border:#bbb;--bk-link:#145b80;--bk-red:#a00;}html[data-bk-theme="dark"] :is(.header,.footer,.content) {background:#fff!important;}}

/* Deep red accents distinguish COLORS Black components from page surfaces. */
html[data-bk-theme="dark"] {--bk-accent:#520209;--bk-accent-hover:#6b0812;--bk-accent-border:#96434f;}
html[data-bk-theme="dark"] body :is(#header-container,.header-container,#header,.header,#navi,.navi,.navi-in,.navi .sub-menu,#footer,.footer,.footer-container) {
  background-color:var(--bk-accent)!important;
  color:#fff3f5!important;
  border-color:var(--bk-accent-border)!important;
}
html[data-bk-theme="dark"] body :is(.article h2,.article h3,.article h4,.article h5,.article h6,.widget-title,.sidebar h3,.comment-title,.comment-reply-title) {
  background-color:var(--bk-accent)!important;
  color:#fff3f5!important;
  border-color:var(--bk-accent-border)!important;
}
html[data-bk-theme="dark"] body :is(.navi a:hover,.navi .current-menu-item > a) {background:var(--bk-accent-hover)!important;color:#fff!important;}
html[data-bk-theme="dark"] body :is(.cat-label,.cat-label a,.entry-category,.entry-category a,.tag-link,.tag-link a) {
  background:var(--bk-accent)!important;color:#fff3f5!important;border-color:var(--bk-accent-border)!important;
}
html[data-bk-theme="dark"] body :is(.mobile-footer-menu-buttons,.mobile-header-menu-buttons,.mobile-menu-buttons) {background:var(--bk-accent)!important;color:#fff3f5!important;}
@media print {html[data-bk-theme="dark"] {--bk-accent:#f3f3f3;--bk-accent-hover:#eee;--bk-accent-border:#aaa;}html[data-bk-theme="dark"] body :is(.article h2,.article h3,.article h4,.article h5,.article h6,.widget-title,.sidebar h3,.comment-title,.comment-reply-title,.cat-label,.cat-label a,.entry-category,.entry-category a,.tag-link,.tag-link a) {color:#111!important;}}

/* Separate the red navigation strip from the burgundy site header. */
html[data-bk-theme="dark"] body :is(#navi,.navi,.navi-in,.navi .sub-menu) {
  background-color:#702730!important;
  border-color:#a65a65!important;
}
html[data-bk-theme="dark"] body :is(#navi,.navi) :is(a,a:visited) {color:#fff!important;}
html[data-bk-theme="dark"] body :is(#navi,.navi) :is(a:hover,.current-menu-item > a) {background:#863640!important;color:#fff!important;}
/* Follow heading and icon glyphs remain white; service button colors stay intact. */
html[data-bk-theme="dark"] body :is(.sns-follow-message,.sns-follow-message span,.sns-follow-title,.sns-follow .sns-follow-buttons a,.sns-follow-buttons a,.sns-follow-buttons a span,.sns-follow-buttons a i,.sns-follow-buttons a::before,.sns-follow-buttons a::after,.sns-follow-buttons a span::before,.sns-follow-buttons a i::before) {
  color:#fff!important;
}
@media print {html[data-bk-theme="dark"] body :is(#navi,.navi,.navi-in,.navi .sub-menu) {background-color:#f3f3f3!important;}html[data-bk-theme="dark"] body :is(.sns-follow-message,.sns-follow-title) {color:#111!important;}}

/* Neutral dark drawer replaces the original blue-gray gradient only in dark mode. */
html[data-bk-theme="dark"] body :is(#navi-menu-content,.menu-drawer .menu-content) {
  background:linear-gradient(180deg,#242424 0%,#303030 100%)!important;
  border-left-color:#858585!important;
}

/* Remove skin-specific blue surfaces behind Home/Top in the responsive bar. */
html[data-bk-theme="dark"] body :is(#mobile-footer-menu-buttons,.mobile-footer-menu-buttons) {
  background:#292929!important;
  background-image:none!important;
  color:#eeeeee!important;
}
html[data-bk-theme="dark"] body :is(#mobile-footer-menu-buttons,.mobile-footer-menu-buttons,.mobile-menu-buttons) :is(a,label,span,i,.menu-button,.menu-button-in,.menu-caption,.home-menu-button,.top-menu-button) {
  background:transparent!important;
  background-image:none!important;
  color:#eeeeee!important;
}
html[data-bk-theme="dark"] body :is(#mobile-footer-menu-buttons,.mobile-footer-menu-buttons,.mobile-menu-buttons) :is(a,label):focus-visible {outline:2px solid #aaa;outline-offset:-2px;}

/* Navigation/category/site information are white; prose links keep their link color. */
html[data-bk-theme="dark"] body :is(.cat-link,.cat-link a,.cat-link span,.cat-link i,.cat-link::before,.cat-link span::before,.category-link,.category-link a,.article-categories a,.article-categories a span,.article-categories a i,.article-tags a,.article-tags a span,.tag-link,.tag-link a,.pagination-next-link,.pagination-next-link a,.pagination-next,.pagination-next a,.pagination .page-numbers) {
  color:#fff!important;
}
html[data-bk-theme="dark"] body :is(#footer,.footer,.footer-container) :is(a,a:visited,a:hover,a span,a i) {color:#fff!important;}
/* The site's comment-count links intentionally remain blue. */
html[data-bk-theme="dark"] body .bk-entry-comment-link {color:var(--bk-link)!important;}
html[data-bk-theme="dark"] body .bk-entry-comment-link:hover {color:#bcecf6!important;}

html[data-bk-theme="dark"] body :is(.article,.entry-content) .easyLink-box .easyLink-info a:is(:hover,:visited) {color:#fff!important;}
