/* [한국판 이식 2026-11-12] 유럽 바포탈 24차 eu59~eu63 dark.css 기준. 맨 아래 [DARK-KR] 섹션이 한국 전용 보정. */
/* ==========================================================================
   Bible Portal — Dark mode (graphite)
   Loaded after main.css on every front page. Every rule starts with
   [data-theme="dark"], so the light theme is untouched.
   Toggle: header button -> <html data-theme="dark"> + localStorage 'bp_theme'.
   Principle: one neutral graphite tone, red only as an accent (buttons,
   highlights), nearly invisible borders, no gradients.
   Images / banners / video thumbnails are never inverted or recoloured.
   ========================================================================== */

[data-theme="dark"] {
  --bp-chrome: #0b0b0c;                /* darkest: header rows, verse line, footer */
  --bp-bg: #161618;                    /* page body, side margins, gaps between cards */
  --bp-surface: #1e1e21;               /* cards (opaque) */
  --bp-surface-2: #27272b;             /* inputs, hover, selected */
  --bp-surface-3: #303035;             /* hover on surface-2 */
  --bp-border: rgba(255,255,255,0.07);
  --bp-text: #ececee;
  --bp-text-2: #a1a1aa;
  --bp-muted: #9a9aa3;                 /* >= 4.7:1 on every surface incl. surface-3 */
  --bp-accent: #ff6b6b;                /* link emphasis / highlighted text */
  --bp-accent-solid: #d63c41;          /* filled buttons with white text (4.58:1) */
  --bp-panel-solid: #222226;           /* dropdowns, popups */
  --bp-glass-blur: blur(16px) saturate(160%);   /* only for a stuck/fixed header */
  color-scheme: dark;
  background-color: var(--bp-bg);      /* <html> */
}

/* ---------- page ---------- */
[data-theme="dark"] body {
  background: var(--bp-bg);
  color: var(--bp-text);
}
[data-theme="dark"] ::selection { background: rgba(229,72,77,0.35); color: #fff; }
[data-theme="dark"] hr { border-color: var(--bp-border); }
[data-theme="dark"] h1,
[data-theme="dark"] h2,
[data-theme="dark"] h3,
[data-theme="dark"] h4,
[data-theme="dark"] h5,
[data-theme="dark"] h6 { color: var(--bp-text); }
[data-theme="dark"] .quiet,
[data-theme="dark"] .muted { color: var(--bp-text-2); }

/* ---------- header: top bar, GNB, logo line, search ---------- */
[data-theme="dark"] .topbar {
  background: var(--bp-chrome);
  border-bottom: 1px solid var(--bp-border);
}
[data-theme="dark"] .header-main {
  position: relative; z-index: 30;     /* keep the book popover above the page below */
  background: var(--bp-chrome);
  border-bottom: 1px solid var(--bp-border);
}
/* right-hand icon buttons (bible / font size) */
[data-theme="dark"] .header-main .tools .toggle-button {
  background: var(--bp-surface); border-color: var(--bp-border); color: var(--bp-text-2);
}
[data-theme="dark"] .header-main .tools .toggle-button:hover { background: var(--bp-surface-2); }
[data-theme="dark"] .header-main .tools .toggle-button .ic,
[data-theme="dark"] .header-main .tools .toggle-button svg { color: var(--bp-text-2); fill: currentColor; }
[data-theme="dark"] .header-main .tools .fontsize-toggle.expanded { background: var(--bp-surface-2); color: var(--bp-text); }
[data-theme="dark"] .header-main .fontsize-box {
  background: var(--bp-panel-solid); color: var(--bp-text-2); border-color: var(--bp-border);
}
/* search: select + keyword input = one block, 1px divider, no outer border */
[data-theme="dark"] .header-main .search-main select,
[data-theme="dark"] .header-main .search-main input {
  background-color: var(--bp-surface-2); color: var(--bp-text); border-color: transparent; box-shadow: none;
}
[data-theme="dark"] .header-main .search-main select { border-right: 1px solid var(--bp-border); }
[data-theme="dark"] .header-main .search-main select option { background: var(--bp-panel-solid); color: var(--bp-text); }
[data-theme="dark"] .header-main .search-main input::placeholder { color: var(--bp-muted); }
[data-theme="dark"] .header-main .search-main button { background: var(--bp-accent-solid); color: #fff; box-shadow: none; background-image: none; }
[data-theme="dark"] .header-main .search-main button:hover { background: #bf3338; }
/* verse line under the header */
[data-theme="dark"] .verseline {
  background: var(--bp-chrome); color: var(--bp-text-2); border-bottom: 1px solid var(--bp-border);
}
[data-theme="dark"] .verseline blockquote {
  background: transparent; color: var(--bp-text-2); border-color: transparent;
}
[data-theme="dark"] .verseline p,
[data-theme="dark"] .verseline p.content,
[data-theme="dark"] .verseline .content { color: var(--bp-text-2) !important; }
[data-theme="dark"] .verseline a,
[data-theme="dark"] .verseline .title a,
[data-theme="dark"] .verseline cite,
[data-theme="dark"] .verseline .verse-cite-inline,
[data-theme="dark"] .verseline .quote-footer { color: var(--bp-muted) !important; }

/* global notice bar (inline-styled <a>) */
[data-theme="dark"] #global-notice-bar a {
  background: var(--bp-surface) !important; border: 1px solid var(--bp-border) !important; color: var(--bp-text) !important;
}
[data-theme="dark"] #global-notice-bar a span { color: var(--bp-text) !important; }
[data-theme="dark"] #global-notice-bar a span[style*="border-radius:999px"] {
  background: rgba(229,72,77,0.15) !important; color: #ff8a8a !important; border: 0 !important;
}

/* bible-book popover (header icon) and the home "Find a Verse" panel */
[data-theme="dark"] .biblenav {
  background: var(--bp-panel-solid); border-color: var(--bp-border); color: var(--bp-text);
}
[data-theme="dark"] .biblenav .ot,
[data-theme="dark"] .biblenav .nt { background: transparent; border: 0; color: var(--bp-text); box-shadow: none; }
[data-theme="dark"] .biblenav .nt { border-left: 1px solid var(--bp-border); }
[data-theme="dark"] .biblenav a { color: var(--bp-text-2); }
[data-theme="dark"] .biblenav a:hover,
[data-theme="dark"] .biblenav a:focus { color: var(--bp-text); }
[data-theme="dark"] .biblenav a.active { color: var(--bp-accent); }

/* "Find a Verse" section: hairlines only, one vertical divider between Old / New Testament */
[data-theme="dark"] .biblenav-inhead { border-bottom-color: var(--bp-border) !important; background: transparent !important; }
[data-theme="dark"] .biblenav-inhead-plus { background: transparent !important; border-color: var(--bp-border) !important; color: var(--bp-text-2) !important; }
[data-theme="dark"] .biblenav-inhead-plus:hover { background: var(--bp-surface-2) !important; }
[data-theme="dark"] .ot,
[data-theme="dark"] .nt { background: transparent !important; border-color: transparent !important; box-shadow: none !important; }
[data-theme="dark"] .nt { border-left: 1px solid var(--bp-border) !important; }
[data-theme="dark"] .home-verses { border-top-color: var(--bp-border) !important; }

/* ---------- footer ---------- */
[data-theme="dark"] .site-footer,
[data-theme="dark"] .site-footer.bg-dark {
  background: var(--bp-chrome);
  border-top: 1px solid var(--bp-border);
}
[data-theme="dark"] .site-footer .footer-navline,
[data-theme="dark"] .site-footer .copyrightline { background: var(--bp-chrome); }
[data-theme="dark"] .site-footer .footer-navline { border-bottom-color: var(--bp-border); }
/* TOP button, SNS buttons, Google Play badge: chrome tone + hairline (no surface grey) */
[data-theme="dark"] .btn-to-top,
[data-theme="dark"] .site-footer a.back-to-top { background: var(--bp-chrome); color: var(--bp-text-2); border-color: var(--bp-border); }
[data-theme="dark"] .site-footer a.back-to-top:hover { background: var(--bp-surface); }
[data-theme="dark"] .site-footer .footer-social a { background: var(--bp-chrome) !important; border: 1px solid var(--bp-border) !important; color: var(--bp-text-2); }
[data-theme="dark"] .site-footer .footer-social a:hover { background: var(--bp-surface) !important; }

/* ---------- cards (main page + sidebar) ----------
   Blade <style> blocks have equal specificity and load later, hence !important. */
[data-theme="dark"] .box-light,
[data-theme="dark"] .row.box-light { background: transparent !important; border-color: var(--bp-border) !important; }
[data-theme="dark"] .card,
[data-theme="dark"] .bg-white,
[data-theme="dark"] .bp-side-card,
[data-theme="dark"] .home-grace .bp-side-card,
[data-theme="dark"] .tw-left,
[data-theme="dark"] .tw-right,
[data-theme="dark"] .content-list > li,
[data-theme="dark"] .bp-ccast-banner {
  background: var(--bp-surface) !important;
  border: 1px solid var(--bp-border) !important;
  color: var(--bp-text) !important;
  box-shadow: none !important;
}
/* horizontal banner band (crossmap): same tone as the page body, no top/bottom lines; the banner image itself is untouched */
[data-theme="dark"] .bp-hbanner-wrap,
[data-theme="dark"] .bp-hbanner-wrap[style] { background: var(--bp-bg) !important; border: 0 !important; box-shadow: none !important; }
/* no box-in-box: inner wrappers lose their border and background */
[data-theme="dark"] .todays-word blockquote,
[data-theme="dark"] .todays-word form,
[data-theme="dark"] .tw-left blockquote,
[data-theme="dark"] .card .por,
[data-theme="dark"] .bp-news-viewport,
[data-theme="dark"] .cnews-viewport { background: transparent !important; border: 0 !important; box-shadow: none !important; color: var(--bp-text) !important; }
[data-theme="dark"] .card h3,
[data-theme="dark"] .card h3 a,
[data-theme="dark"] .card .title,
[data-theme="dark"] .bp-side-title,
[data-theme="dark"] .cnews-title,
[data-theme="dark"] .bp-news-tit,
[data-theme="dark"] .cnews-hero-tit,
[data-theme="dark"] .cnews-row-tit,
[data-theme="dark"] .bp-today-text { color: var(--bp-text) !important; }
[data-theme="dark"] .card .quiet,
[data-theme="dark"] .bp-news-meta,
[data-theme="dark"] .cnews-hero-meta,
[data-theme="dark"] .cnews-row-meta,
[data-theme="dark"] .bp-side-empty,
[data-theme="dark"] .bp-today-ver,
[data-theme="dark"] .tw-left blockquote .quote-ft { color: var(--bp-muted) !important; }
[data-theme="dark"] .card h3 a:hover,
[data-theme="dark"] .bp-news-item:hover .bp-news-tit { color: var(--bp-accent) !important; }
[data-theme="dark"] .bp-today-ref { color: var(--bp-accent) !important; }
[data-theme="dark"] .card-avatar,
[data-theme="dark"] .bp-news-thumb,
[data-theme="dark"] .bp-video-ph { background: var(--bp-surface-2) !important; }
[data-theme="dark"] .cnews-hero,
[data-theme="dark"] .cnews-row { border-bottom: 1px solid var(--bp-border) !important; }
[data-theme="dark"] .cnews-row:last-child { border-bottom: 0 !important; }
[data-theme="dark"] .main-section-divider,
[data-theme="dark"] .box-light > .container > .main-section-divider { border-top-color: var(--bp-border) !important; }
/* red vertical bar before card titles stays (width unchanged) */
[data-theme="dark"] .cnews-title,
[data-theme="dark"] .bp-side-title { border-left-color: var(--bp-accent-solid) !important; }

/* + button, arrow buttons, nav buttons: transparent, hairline, muted icon */
[data-theme="dark"] .btn-plus,
[data-theme="dark"] .bp-nav-btn,
[data-theme="dark"] .home-grace .bp-nav-btn,
[data-theme="dark"] .control,
[data-theme="dark"] .cnews-btn {
  background: transparent !important; color: var(--bp-text-2) !important; border: 1px solid var(--bp-border) !important; box-shadow: none !important;
}
[data-theme="dark"] .btn-plus svg,
[data-theme="dark"] .control svg { color: var(--bp-text-2); fill: currentColor; }
[data-theme="dark"] .btn-plus:hover,
[data-theme="dark"] .bp-nav-btn:hover,
[data-theme="dark"] .cnews-btn:hover,
[data-theme="dark"] .control:hover:not(:disabled) { background: var(--bp-surface-2) !important; }
[data-theme="dark"] .control:disabled { opacity: .4; }
[data-theme="dark"] .btn-plain { background: var(--bp-surface-2) !important; color: var(--bp-text) !important; border-color: var(--bp-border) !important; }

/* "Find a Verse" book list (main) */
[data-theme="dark"] .cell-container,
[data-theme="dark"] .cell-container a { color: var(--bp-text-2); }
[data-theme="dark"] .cell-container a:hover { color: var(--bp-text); }

/* main.css draws the outline of .btn/.btn-plain controls with an inset box-shadow (#ddd): make it a hairline */
[data-theme="dark"] .btn,
[data-theme="dark"] .btn-plain,
[data-theme="dark"] .bdru-md { box-shadow: inset 0 0 0 1px var(--bp-border) !important; }
[data-theme="dark"] .btn-plus { box-shadow: none !important; }

/* ---------- form controls (front) ---------- */
[data-theme="dark"] input,
[data-theme="dark"] select,
[data-theme="dark"] textarea {
  background-color: var(--bp-surface-2); color: var(--bp-text); border-color: var(--bp-border);
}
[data-theme="dark"] input::placeholder,
[data-theme="dark"] textarea::placeholder { color: var(--bp-muted); }
[data-theme="dark"] select option { background: var(--bp-panel-solid); color: var(--bp-text); }

/* ---------- inline-style colors (overridden without touching the blades) ---------- */
[data-theme="dark"] [style*="background:#f8f8f8"],
[data-theme="dark"] [style*="background: #f8f8f8"] { background: transparent !important; }
[data-theme="dark"] [style*="background:#fff;"],
[data-theme="dark"] [style*="background: #fff;"] { background: var(--bp-surface) !important; }
[data-theme="dark"] [style*="color:#222"],
[data-theme="dark"] [style*="color: #222"] { color: var(--bp-text) !important; }
[data-theme="dark"] [style*="color:#374151"],
[data-theme="dark"] [style*="color:#4b5563"],
[data-theme="dark"] [style*="color:#555"],
[data-theme="dark"] [style*="color:#444"] { color: var(--bp-text) !important; }
[data-theme="dark"] [style*="color:#9ca3af"],
[data-theme="dark"] [style*="color:#6b7280"],
[data-theme="dark"] [style*="color:#aaa"],
[data-theme="dark"] [style*="color:#999"],
[data-theme="dark"] [style*="color:#888"] { color: var(--bp-text-2) !important; }
[data-theme="dark"] [style*="border:1px solid #ececec"],
[data-theme="dark"] [style*="border:1px solid #e5e7eb"],
[data-theme="dark"] [style*="border: 1px solid #ccc"],
[data-theme="dark"] [style*="border:1px solid #ccc"] { border-color: var(--bp-border) !important; }
[data-theme="dark"] [style*="color:#2563eb"] { color: var(--bp-text-2) !important; }
[data-theme="dark"] [style*="border:1px solid #2563eb"] { background: var(--bp-surface-2) !important; color: var(--bp-text-2) !important; border-color: var(--bp-border) !important; }
[data-theme="dark"] [style*="color:#4f46e5"] { color: var(--bp-text-2) !important; }
[data-theme="dark"] #content-frame button.btn[style*="background:#fff"],
[data-theme="dark"] #content-frame button.btn[style*="background: #fff"] { background: var(--bp-surface-2) !important; color: var(--bp-text-2) !important; border-color: var(--bp-border) !important; }

/* ---------- Find-a-Verse headings (h2.box-light.resizable) ---------- */
[data-theme="dark"] h2.box-light,
[data-theme="dark"] h2.box-light a { color: var(--bp-text) !important; }
[data-theme="dark"] .col-hd,
[data-theme="dark"] .col-hd .h2,
[data-theme="dark"] .col-hd h2,
[data-theme="dark"] .col-hd a { color: var(--bp-text); }
[data-theme="dark"] .biblenav-inhead-title,
[data-theme="dark"] .biblenav-inhead-title a { color: var(--bp-text) !important; }

/* ==========================================================================
   Bible view (/bible/{version}/{book}/{chapter})
   ========================================================================== */
[data-theme="dark"] #content-frame,
[data-theme="dark"] .content-frame { background: transparent; color: var(--bp-text); border-color: var(--bp-border); }
[data-theme="dark"] #content-frame > .header,
[data-theme="dark"] .content-frame > .header {
  background: var(--bp-surface); border-color: var(--bp-border);
}
[data-theme="dark"] .bible-content-wp,
[data-theme="dark"] .grid-2-wp { background: transparent; }
[data-theme="dark"] .bible-content,
[data-theme="dark"] #content-frame .bible-content,
[data-theme="dark"] .grid-2 > .bible-content {
  background: var(--bp-surface) !important; color: var(--bp-text); border-color: var(--bp-border) !important;
}
[data-theme="dark"] .bible-content h1,
[data-theme="dark"] .bible-content h1 .book,
[data-theme="dark"] .bible-content h1 .version { color: var(--bp-text); }
[data-theme="dark"] .bible-content ol,
[data-theme="dark"] .bible-content li { color: var(--bp-text); }
[data-theme="dark"] .bible-content li sup,
[data-theme="dark"] .bible-content li .verse-num,
[data-theme="dark"] .bible-content li > a:first-child { color: var(--bp-muted); }
[data-theme="dark"] .bible-content li a { color: inherit; }
[data-theme="dark"] .bible-content li:hover { background: var(--bp-surface-2); }
[data-theme="dark"] .bible-content > footer,
[data-theme="dark"] #content-frame .bible-content > .footer-note,
[data-theme="dark"] .footer-note { background: transparent !important; color: var(--bp-muted) !important; border-color: var(--bp-border) !important; }
/* verse jump highlight (li.verse-jump-hl > span): neutral fill + 2px accent bar */
[data-theme="dark"] li.verse-jump-hl > span { background: var(--bp-surface-2) !important; box-shadow: -2px 0 0 var(--bp-accent-solid); }

/* toolbar: selects, stepper, Go, mode toggle, compare icon */
[data-theme="dark"] #content-frame .btn,
[data-theme="dark"] .content-frame .btn.btn-plain,
[data-theme="dark"] #content-frame select.btn,
[data-theme="dark"] #content-frame input.btn {
  background-color: var(--bp-surface-2) !important; color: var(--bp-text) !important; border-color: var(--bp-border) !important;
}
[data-theme="dark"] #content-frame button.btn.btn-md.bdru-md:not(.btn-plain):not([style]) { background-color: var(--bp-accent-solid) !important; color: #fff !important; border-color: transparent !important; }
[data-theme="dark"] .chapter-stepper { background: var(--bp-surface-2) !important; border-color: var(--bp-border) !important; }
[data-theme="dark"] .chapter-stepper > .chapter-step-btn { background: transparent !important; color: var(--bp-text) !important; }
[data-theme="dark"] .chapter-stepper > .chapter-step-btn:hover { background: var(--bp-surface-3) !important; }
[data-theme="dark"] .chapter-stepper > input[type=number] { background: transparent !important; color: var(--bp-text) !important; border-color: var(--bp-border) !important; }
[data-theme="dark"] form.simple-search input,
[data-theme="dark"] form.simple-search button { background-color: var(--bp-surface-2); color: var(--bp-text); border-color: var(--bp-border); }
[data-theme="dark"] .header-icons a,
[data-theme="dark"] .header-icons .ic { color: var(--bp-text-2); }
/* Go button (inline #c0392b) -> accent-solid */
[data-theme="dark"] #content-frame .btn[style*="background:#c0392b"] { background-color: var(--bp-accent-solid) !important; color: #fff !important; border-color: var(--bp-accent-solid) !important; }

/* copy-settings panel (#copy-panel, inline-styled) */
[data-theme="dark"] #copy-panel {
  background: var(--bp-panel-solid) !important; border-color: var(--bp-border) !important; color: var(--bp-text) !important;
  box-shadow: none;
}
[data-theme="dark"] #copy-panel [style*="color:#444"],
[data-theme="dark"] #copy-panel label { color: var(--bp-text) !important; }
[data-theme="dark"] #copy-panel [style*="color:#888"],
[data-theme="dark"] #copy-panel [style*="color:#aaa"] { color: var(--bp-text-2) !important; }
[data-theme="dark"] #cp-preview { background: var(--bp-surface) !important; border-color: var(--bp-border) !important; color: var(--bp-text) !important; }
[data-theme="dark"] #copy-panel select { background-color: var(--bp-surface-2) !important; color: var(--bp-text) !important; border-color: var(--bp-border) !important; }
[data-theme="dark"] #copy-panel .cp-mode { background: var(--bp-surface-2) !important; color: var(--bp-text-2) !important; border-color: var(--bp-border) !important; }
[data-theme="dark"] #copy-panel .cp-mode.active { background: var(--bp-accent-solid) !important; color: #fff !important; border-color: var(--bp-accent-solid) !important; }
[data-theme="dark"] #cp-reset { background: var(--bp-surface-2) !important; color: var(--bp-text-2) !important; border-color: var(--bp-border) !important; }
[data-theme="dark"] #cp-save { background: var(--bp-accent-solid) !important; color: #fff !important; }
[data-theme="dark"] #cp-close { color: var(--bp-text-2) !important; }

/* prev/next chapter arrows */
[data-theme="dark"] #content-frame #right-nav > a,
[data-theme="dark"] #content-frame #left-nav > a,
[data-theme="dark"] a.has-bubble.prev,
[data-theme="dark"] a.has-bubble.next { background: transparent !important; color: var(--bp-text) !important; border-color: var(--bp-border) !important; } /* 2026-11-13: 원형은 #left-nav/#right-nav(50%)가 그림. a 에 배경을 주면 44px 네모가 원을 덮음 */
[data-theme="dark"] #left-nav,
[data-theme="dark"] #right-nav { background: var(--bp-surface-2) !important; }

/* copy-settings dropdown / popovers */
[data-theme="dark"] #copy-settings-menu {
  background: var(--bp-panel-solid) !important; border-color: var(--bp-border) !important; box-shadow: none !important;
}
[data-theme="dark"] #copy-settings-menu .copy-opt { color: var(--bp-text) !important; background: transparent !important; }
[data-theme="dark"] #copy-settings-menu .copy-opt:hover { background: var(--bp-surface-2) !important; }
[data-theme="dark"] #copy-settings-menu .copy-opt.is-selected { background: var(--bp-surface-2) !important; color: #fff !important; box-shadow: inset 2px 0 0 var(--bp-accent-solid); }

/* ==========================================================================
   Search, bible versions, boards, notice, today's verbs, static pages
   ========================================================================== */

/* ---------- /search ---------- */
[data-theme="dark"] .search-result-nav,
[data-theme="dark"] .bible-search-layout .bible-other-versions-panel {
  background: var(--bp-surface); border-color: var(--bp-border);
}
[data-theme="dark"] .search-result-nav .search-result-header { border-bottom-color: var(--bp-border); color: var(--bp-text); }
[data-theme="dark"] .search-result-nav .parts-grid .part + .part { border-left-color: var(--bp-border); }
[data-theme="dark"] .search-result-nav .book-list li a { color: var(--bp-text-2) !important; }
[data-theme="dark"] .search-result-nav .book-list li a:hover { color: var(--bp-text) !important; }
[data-theme="dark"] .search-result-nav .search-result-header .keyword,
[data-theme="dark"] .search-result-nav .search-result-header .highlight,
[data-theme="dark"] .search-result-nav .parts-grid .part h2 a.highlight,
[data-theme="dark"] .search-result-nav .book-list li a.highlight,
[data-theme="dark"] .bible-other-versions-panel .panel-title { color: var(--bp-accent) !important; }
[data-theme="dark"] .search-result-item { color: var(--bp-text); border-color: var(--bp-border) !important; }
[data-theme="dark"] .search-result-item:hover { background-color: var(--bp-surface-2) !important; }
[data-theme="dark"] .search-result-item.is-selected {
  background-color: var(--bp-surface-2) !important; box-shadow: inset 2px 0 0 var(--bp-accent-solid);
}
[data-theme="dark"] .search-result-item h2,
[data-theme="dark"] .search-result-item h2 a { color: var(--bp-text) !important; }
/* search-term highlight: red tint + normal text */
[data-theme="dark"] .search-result-item .highlight,
[data-theme="dark"] .search-result-item mark,
[data-theme="dark"] .search-result-item .keyword,
[data-theme="dark"] .search-highlight,
[data-theme="dark"] mark {
  background: rgba(229,72,77,0.18) !important; color: var(--bp-text) !important; border-radius: 2px;
}
[data-theme="dark"] .other-version-item { border-bottom-color: var(--bp-border) !important; }
[data-theme="dark"] .other-version-item .version-label { color: var(--bp-text-2) !important; }
[data-theme="dark"] .other-version-item .version-content { color: var(--bp-text) !important; }
[data-theme="dark"] .other-versions-placeholder { color: var(--bp-text-2) !important; }
[data-theme="dark"] .versions-toggle { background: var(--bp-surface-2) !important; color: var(--bp-text) !important; border-color: var(--bp-border) !important; }
[data-theme="dark"] .versions-toggle:hover { background: var(--bp-surface-3) !important; }
[data-theme="dark"] .search-pagination .page-link,
[data-theme="dark"] .search-pagination .page-dots,
[data-theme="dark"] .board-pagination .page-link,
[data-theme="dark"] .board-pagination .page-dots,
[data-theme="dark"] .pagination li a,
[data-theme="dark"] .pagination li span {
  background: var(--bp-surface-2) !important; color: var(--bp-text) !important; border-color: var(--bp-border) !important;
}
[data-theme="dark"] .search-pagination .page-link:hover,
[data-theme="dark"] .board-pagination .page-link:hover,
[data-theme="dark"] .pagination li a:hover { background: var(--bp-surface-3) !important; }
[data-theme="dark"] .search-pagination .page-link.is-current,
[data-theme="dark"] .board-pagination .page-link.is-current,
[data-theme="dark"] .pagination li.active a,
[data-theme="dark"] .pagination li.active span,
[data-theme="dark"] .pagination li[aria-current] a,
[data-theme="dark"] .pagination li[aria-current] span,
[data-theme="dark"] .pagination a[aria-current],
[data-theme="dark"] .pagination li a[aria-current="true"] { background: var(--bp-accent-solid) !important; border-color: var(--bp-accent-solid) !important; color: #fff !important; }
[data-theme="dark"] .search-pagination .page-link.is-disabled,
[data-theme="dark"] .board-pagination .page-link.is-disabled { background: transparent !important; color: var(--bp-muted) !important; }
[data-theme="dark"] .search-pagination .page-dots,
[data-theme="dark"] .board-pagination .page-dots { background: transparent !important; color: var(--bp-text-2) !important; border-color: transparent !important; }

/* ---------- /search/empty ---------- */
[data-theme="dark"] [style*="background:#f3f4f6"],
[data-theme="dark"] [style*="background: #f3f4f6"],
[data-theme="dark"] [style*="background:#f9fafb"],
[data-theme="dark"] [style*="background:#fef2f2"],
[data-theme="dark"] [style*="background:#e5e7eb"] { background: var(--bp-surface-2) !important; }
[data-theme="dark"] [style*="color:#666"],
[data-theme="dark"] [style*="color:#991b1b"],
[data-theme="dark"] [style*="color:#c0392b"] { color: var(--bp-text-2) !important; }
[data-theme="dark"] code { background: var(--bp-surface-2) !important; color: var(--bp-text) !important; }

/* ---------- /bibleversions ---------- */
[data-theme="dark"] .bv-title { color: var(--bp-text) !important; }
[data-theme="dark"] .bv-sub { color: var(--bp-text-2) !important; }
[data-theme="dark"] .bv-sub b,
[data-theme="dark"] .bv-result,
[data-theme="dark"] .bv-group-h { color: var(--bp-accent) !important; }
[data-theme="dark"] .bv-group-h { border-left-color: var(--bp-accent-solid) !important; }
[data-theme="dark"] .bv-search-input { background: var(--bp-surface-2) !important; color: var(--bp-text) !important; border-color: var(--bp-border) !important; }
[data-theme="dark"] .bv-search-input:focus { border-color: var(--bp-text-2) !important; }
[data-theme="dark"] .bv-search-clear { background: var(--bp-surface-3) !important; color: var(--bp-text) !important; }
[data-theme="dark"] .bv-search-btn { background: var(--bp-accent-solid) !important; color: #fff !important; }
[data-theme="dark"] .bv-divider { border-top-color: var(--bp-border) !important; }
[data-theme="dark"] .bv-empty { background: var(--bp-surface) !important; color: var(--bp-text-2) !important; border-color: var(--bp-border) !important; }
/* group = card; version cards inside it are flat (no second box) */
[data-theme="dark"] .bv-group {
  background: var(--bp-surface) !important; border: 1px solid var(--bp-border) !important; box-shadow: none !important;
}
[data-theme="dark"] .bv-card { background: var(--bp-surface-2) !important; border: 0 !important; color: var(--bp-text) !important; box-shadow: none !important; transform: none !important; }
[data-theme="dark"] .bv-card:hover { background: var(--bp-surface-3) !important; box-shadow: none !important; }
[data-theme="dark"] .bv-card-name { color: var(--bp-text) !important; }
[data-theme="dark"] .bv-card-meta { color: var(--bp-text-2) !important; }
[data-theme="dark"] .bv-lic { color: var(--bp-muted) !important; }
[data-theme="dark"] .bv-badge { background: rgba(229,72,77,0.15) !important; color: #ff8a8a !important; border: 0 !important; }

/* ---------- boards: list / tag / detail ---------- */
[data-theme="dark"] .board-card-thumb { background: var(--bp-surface-2) !important; }
[data-theme="dark"] .board-card-title a { color: var(--bp-text) !important; }
[data-theme="dark"] .board-card-title a:hover { color: var(--bp-accent) !important; }
[data-theme="dark"] .board-card-meta,
[data-theme="dark"] .board-card-author,
[data-theme="dark"] .board-card-stats { color: var(--bp-muted) !important; }
[data-theme="dark"] .board-card-dur { background: rgba(0,0,0,0.75); color: #fff; }
[data-theme="dark"] .content-frame .header .title,
[data-theme="dark"] .content-frame .header h1,
[data-theme="dark"] .content-frame .header h2 { background-color: transparent; color: var(--bp-text); border-color: var(--bp-border); }
[data-theme="dark"] .content-frame > .header,
[data-theme="dark"] .bp-detail-main > .header { background: var(--bp-surface) !important; border-color: var(--bp-border); color: var(--bp-text); }
[data-theme="dark"] header .byline,
[data-theme="dark"] .byline { background: transparent !important; color: var(--bp-text-2) !important; border-color: var(--bp-border) !important; }
[data-theme="dark"] .byline a,
[data-theme="dark"] .byline span { color: var(--bp-text-2); }
[data-theme="dark"] .article-no { color: var(--bp-muted) !important; }
[data-theme="dark"] .byline [style*="background:#e5e7eb"] { background: var(--bp-surface-2) !important; }
[data-theme="dark"] .content-frame a[style*="background:#f3f4f6"] { background: var(--bp-surface-2) !important; color: var(--bp-text-2) !important; }
[data-theme="dark"] [style*="border-top:1px solid #eee"] { border-top-color: var(--bp-border) !important; }
[data-theme="dark"] .content-frame h1.title,
[data-theme="dark"] h1.title,
[data-theme="dark"] h1.title.mb { color: var(--bp-text) !important; }

/* ---------- /notice ---------- */
[data-theme="dark"] .notice-table thead th { background: var(--bp-surface-2) !important; color: var(--bp-text) !important; border-bottom-color: var(--bp-border) !important; }
[data-theme="dark"] .notice-table thead th .nt-sort { color: var(--bp-text); }
[data-theme="dark"] .notice-table thead th .nt-sort:hover { color: var(--bp-accent) !important; }
[data-theme="dark"] .notice-table tbody td { background: transparent !important; border-bottom-color: var(--bp-border) !important; color: var(--bp-text-2); }
/* pinned row: neutral fill + 2px accent bar on the left edge */
[data-theme="dark"] .notice-table tr.is-pinned td { background: var(--bp-surface-2) !important; }
[data-theme="dark"] .notice-table tr.is-pinned td:first-child { box-shadow: inset 2px 0 0 var(--bp-accent-solid); }
[data-theme="dark"] .nt-no,
[data-theme="dark"] .nt-author,
[data-theme="dark"] .nt-view,
[data-theme="dark"] .nt-date { color: var(--bp-text-2) !important; }
[data-theme="dark"] .nt-title a { color: var(--bp-text) !important; }
[data-theme="dark"] .nt-title a:hover { color: var(--bp-accent) !important; }
[data-theme="dark"] .notice-empty { color: var(--bp-text-2) !important; }
[data-theme="dark"] .notice-pin { background: rgba(229,72,77,0.15) !important; color: #ff8a8a !important; }
[data-theme="dark"] .notice-btn.edit { background: var(--bp-surface-2) !important; color: var(--bp-text-2) !important; border-color: var(--bp-border) !important; }
[data-theme="dark"] .notice-btn.del { background: rgba(229,72,77,0.15) !important; color: #ff8a8a !important; border-color: transparent !important; }

/* ---------- /todays-verbs ---------- */
[data-theme="dark"] [style*="color:#d1d5db"] { color: var(--bp-muted) !important; }
[data-theme="dark"] [style*="border:1px solid #d1d5db"] { border-color: var(--bp-border) !important; }
[data-theme="dark"] [style*="background:#eff6ff"] { background: var(--bp-surface-2) !important; color: var(--bp-text-2) !important; border-color: var(--bp-border) !important; }
[data-theme="dark"] [style*="background:#fee2e2"] { background: rgba(229,72,77,0.15) !important; color: #ff8a8a !important; border-color: transparent !important; }

/* ---------- /biblemain + /audio-bible chapter grid ---------- */
[data-theme="dark"] .cell-number,
[data-theme="dark"] a.chapter-picker.cell-number { background: var(--bp-surface-2) !important; color: var(--bp-text-2) !important; border-color: transparent !important; }
[data-theme="dark"] a.chapter-picker.cell-number:hover { background: var(--bp-surface-3) !important; color: var(--bp-text) !important; }
[data-theme="dark"] .bible-version,
[data-theme="dark"] .content-frame .bible-version { background: var(--bp-surface) !important; color: var(--bp-text) !important; border-color: var(--bp-border) !important; }

/* ---------- static pages (about / terms / privacy) ---------- */
[data-theme="dark"] .content-frame p,
[data-theme="dark"] .content-frame li { color: var(--bp-text); }

/* ---------- /bible-view-contrast ---------- */
[data-theme="dark"] .header.grid-item.contrast-version-header,
[data-theme="dark"] .contrast-version-header { background: var(--bp-surface) !important; border-color: var(--bp-border) !important; color: var(--bp-text) !important; }
[data-theme="dark"] .contrast-version-header select,
[data-theme="dark"] .contrast-version-header input { background-color: var(--bp-surface-2) !important; color: var(--bp-text) !important; border-color: var(--bp-border) !important; }
[data-theme="dark"] .contrast-version-header button.flat-button { background: var(--bp-surface-2) !important; color: var(--bp-text) !important; border-color: var(--bp-border) !important; }
[data-theme="dark"] .contrast-version-header button.flat-button:hover { background: var(--bp-surface-3) !important; }
[data-theme="dark"] .contrast-version-header .x-btn { background: transparent !important; border-color: transparent !important; color: var(--bp-text-2) !important; }
[data-theme="dark"] .contrast-version-header label,
[data-theme="dark"] .contrast-version-header .ic { color: var(--bp-text-2); }
[data-theme="dark"] .grid-2 > .bible-content:nth-child(n+2),
[data-theme="dark"] .grid-item { border-color: var(--bp-border) !important; }
[data-theme="dark"] .grid-2-wp .bible-content > footer,
[data-theme="dark"] .contrast-copyright-bar { background: var(--bp-surface) !important; color: var(--bp-muted) !important; border-color: var(--bp-border) !important; }
[data-theme="dark"] .contrast-copyright-bar .copyright-item { color: var(--bp-text-2); }
[data-theme="dark"] .contrast-copyright-bar .copyright-sep { color: var(--bp-muted); }
[data-theme="dark"] .rbr-verse,
[data-theme="dark"] .rbr-verse * { color: var(--bp-text); }
[data-theme="dark"] .rbr-verse[data-version="2"] { border-left-color: var(--bp-text-2) !important; }
[data-theme="dark"] .rbr-verse[data-version="1"] { border-left-color: var(--bp-accent-solid) !important; }

/* inline brand red (#c00b12) -> accent text (tag title etc.) */
[data-theme="dark"] [style*="color:#c00b12"],
[data-theme="dark"] [style*="color: #c00b12"] { color: var(--bp-accent) !important; }
[data-theme="dark"] .tw-left blockquote .verse a,
[data-theme="dark"] .tw-left blockquote a { color: var(--bp-text-2) !important; }

/* ---------- mobile fixed tabs (bible view): Menu / Footer / theme toggle ---------- */
[data-theme="dark"] #site-header-open-btn { background: var(--bp-accent-solid) !important; color: #fff !important; box-shadow: none !important; }
[data-theme="dark"] #site-footer-open-btn,
[data-theme="dark"] #site-footer-close-btn,
[data-theme="dark"] #site-header-close-btn,
[data-theme="dark"] #bp-theme-toggle-m { background: var(--bp-surface-2) !important; color: var(--bp-text-2) !important; box-shadow: none !important; }

/* book / chapter picker buttons (Find a Verse, book popover): #888 on #222226 is 4.50 -> use text-2 */
[data-theme="dark"] button.book-picker,
[data-theme="dark"] a.book-picker { color: var(--bp-text-2) !important; }
[data-theme="dark"] button.book-picker:hover,
[data-theme="dark"] a.book-picker:hover { color: var(--bp-text) !important; }

/* ==========================================================================
   [DARK-KR] 한국 전용 (2026-11-12) — 한국 blade 의 인라인 style 색을 [style*=] + !important 로 덮어쓴다.
   blade 무수정. 모두 [data-theme="dark"] 스코프. 이미지/배너/썸네일/이미지 위 오버레이는 건드리지 않는다.
   ========================================================================== */
[data-theme="dark"] [style*="background:#fff"],
[data-theme="dark"] [style*="background: #fff"],
[data-theme="dark"] [style*="background:#ffffff"],
[data-theme="dark"] [style*="background: #ffffff"],
[data-theme="dark"] [style*="background:white"],
[data-theme="dark"] [style*="background: white"],
[data-theme="dark"] [style*="background-color:#fff"],
[data-theme="dark"] [style*="background-color: #fff"],
[data-theme="dark"] [style*="background-color:#ffffff"],
[data-theme="dark"] [style*="background-color: #ffffff"],
[data-theme="dark"] [style*="background-color:white"],
[data-theme="dark"] [style*="background-color: white"] {
  background-color: var(--bp-surface) !important;
}
[data-theme="dark"] [style*="background:#fafafa"],
[data-theme="dark"] [style*="background: #fafafa"],
[data-theme="dark"] [style*="background:#f5f5f5"],
[data-theme="dark"] [style*="background: #f5f5f5"],
[data-theme="dark"] [style*="background:#f3f4f6"],
[data-theme="dark"] [style*="background: #f3f4f6"],
[data-theme="dark"] [style*="background:#f0f0f0"],
[data-theme="dark"] [style*="background: #f0f0f0"],
[data-theme="dark"] [style*="background:#f8fafc"],
[data-theme="dark"] [style*="background: #f8fafc"],
[data-theme="dark"] [style*="background:#f8f9fa"],
[data-theme="dark"] [style*="background: #f8f9fa"],
[data-theme="dark"] [style*="background:#eee"],
[data-theme="dark"] [style*="background: #eee"],
[data-theme="dark"] [style*="background:#e5e7eb"],
[data-theme="dark"] [style*="background: #e5e7eb"],
[data-theme="dark"] [style*="background:#f9fafb"],
[data-theme="dark"] [style*="background: #f9fafb"],
[data-theme="dark"] [style*="background:#f1f5f9"],
[data-theme="dark"] [style*="background: #f1f5f9"],
[data-theme="dark"] [style*="background-color:#fafafa"],
[data-theme="dark"] [style*="background-color: #fafafa"],
[data-theme="dark"] [style*="background-color:#f5f5f5"],
[data-theme="dark"] [style*="background-color: #f5f5f5"],
[data-theme="dark"] [style*="background-color:#f3f4f6"],
[data-theme="dark"] [style*="background-color: #f3f4f6"],
[data-theme="dark"] [style*="background-color:#f0f0f0"],
[data-theme="dark"] [style*="background-color: #f0f0f0"],
[data-theme="dark"] [style*="background-color:#f8fafc"],
[data-theme="dark"] [style*="background-color: #f8fafc"],
[data-theme="dark"] [style*="background-color:#f8f9fa"],
[data-theme="dark"] [style*="background-color: #f8f9fa"],
[data-theme="dark"] [style*="background-color:#eee"],
[data-theme="dark"] [style*="background-color: #eee"],
[data-theme="dark"] [style*="background-color:#e5e7eb"],
[data-theme="dark"] [style*="background-color: #e5e7eb"],
[data-theme="dark"] [style*="background-color:#f9fafb"],
[data-theme="dark"] [style*="background-color: #f9fafb"],
[data-theme="dark"] [style*="background-color:#f1f5f9"],
[data-theme="dark"] [style*="background-color: #f1f5f9"] {
  background-color: var(--bp-surface-2) !important;
}
[data-theme="dark"] [style*="background:#fef2f2"],
[data-theme="dark"] [style*="background: #fef2f2"],
[data-theme="dark"] [style*="background:#fee2e2"],
[data-theme="dark"] [style*="background: #fee2e2"],
[data-theme="dark"] [style*="background:#fdecea"],
[data-theme="dark"] [style*="background: #fdecea"],
[data-theme="dark"] [style*="background:#fff7ed"],
[data-theme="dark"] [style*="background: #fff7ed"],
[data-theme="dark"] [style*="background:#fffbeb"],
[data-theme="dark"] [style*="background: #fffbeb"],
[data-theme="dark"] [style*="background:#fffbea"],
[data-theme="dark"] [style*="background: #fffbea"],
[data-theme="dark"] [style*="background:#e8f5e9"],
[data-theme="dark"] [style*="background: #e8f5e9"],
[data-theme="dark"] [style*="background:#eff6ff"],
[data-theme="dark"] [style*="background: #eff6ff"],
[data-theme="dark"] [style*="background:#fef3c7"],
[data-theme="dark"] [style*="background: #fef3c7"],
[data-theme="dark"] [style*="background-color:#fef2f2"],
[data-theme="dark"] [style*="background-color: #fef2f2"],
[data-theme="dark"] [style*="background-color:#fee2e2"],
[data-theme="dark"] [style*="background-color: #fee2e2"],
[data-theme="dark"] [style*="background-color:#fdecea"],
[data-theme="dark"] [style*="background-color: #fdecea"],
[data-theme="dark"] [style*="background-color:#fff7ed"],
[data-theme="dark"] [style*="background-color: #fff7ed"],
[data-theme="dark"] [style*="background-color:#fffbeb"],
[data-theme="dark"] [style*="background-color: #fffbeb"],
[data-theme="dark"] [style*="background-color:#fffbea"],
[data-theme="dark"] [style*="background-color: #fffbea"],
[data-theme="dark"] [style*="background-color:#e8f5e9"],
[data-theme="dark"] [style*="background-color: #e8f5e9"],
[data-theme="dark"] [style*="background-color:#eff6ff"],
[data-theme="dark"] [style*="background-color: #eff6ff"],
[data-theme="dark"] [style*="background-color:#fef3c7"],
[data-theme="dark"] [style*="background-color: #fef3c7"] {
  background-color: var(--bp-surface-2) !important;
}
[data-theme="dark"] [style*="background:#222"],
[data-theme="dark"] [style*="background: #222"],
[data-theme="dark"] [style*="background:#333"],
[data-theme="dark"] [style*="background: #333"],
[data-theme="dark"] [style*="background:#111"],
[data-theme="dark"] [style*="background: #111"],
[data-theme="dark"] [style*="background:#000"],
[data-theme="dark"] [style*="background: #000"] {
  background-color: var(--bp-panel-solid) !important; color: var(--bp-text) !important;
}
[data-theme="dark"] [style*="background:#c0392b"],
[data-theme="dark"] [style*="background: #c0392b"],
[data-theme="dark"] [style*="background:#c00b12"],
[data-theme="dark"] [style*="background: #c00b12"],
[data-theme="dark"] [style*="background:#f59e0b"],
[data-theme="dark"] [style*="background: #f59e0b"],
[data-theme="dark"] [style*="background:#dc2626"],
[data-theme="dark"] [style*="background: #dc2626"],
[data-theme="dark"] [style*="background:#b91c1c"],
[data-theme="dark"] [style*="background: #b91c1c"],
[data-theme="dark"] [style*="background-color:#c0392b"],
[data-theme="dark"] [style*="background-color: #c0392b"],
[data-theme="dark"] [style*="background-color:#c00b12"],
[data-theme="dark"] [style*="background-color: #c00b12"],
[data-theme="dark"] [style*="background-color:#f59e0b"],
[data-theme="dark"] [style*="background-color: #f59e0b"],
[data-theme="dark"] [style*="background-color:#dc2626"],
[data-theme="dark"] [style*="background-color: #dc2626"],
[data-theme="dark"] [style*="background-color:#b91c1c"],
[data-theme="dark"] [style*="background-color: #b91c1c"] {
  background-color: var(--bp-accent-solid) !important; color: #fff !important;
}
[data-theme="dark"] [style*="color:#000"],
[data-theme="dark"] [style*="color: #000"],
[data-theme="dark"] [style*="color:#111"],
[data-theme="dark"] [style*="color: #111"],
[data-theme="dark"] [style*="color:#222"],
[data-theme="dark"] [style*="color: #222"],
[data-theme="dark"] [style*="color:#333"],
[data-theme="dark"] [style*="color: #333"],
[data-theme="dark"] [style*="color:#374151"],
[data-theme="dark"] [style*="color: #374151"],
[data-theme="dark"] [style*="color:#444"],
[data-theme="dark"] [style*="color: #444"],
[data-theme="dark"] [style*="color:#4b5563"],
[data-theme="dark"] [style*="color: #4b5563"],
[data-theme="dark"] [style*="color:#555"],
[data-theme="dark"] [style*="color: #555"],
[data-theme="dark"] [style*="color:black"],
[data-theme="dark"] [style*="color: black"] {
  color: var(--bp-text) !important;
}
[data-theme="dark"] [style*="color:#666"],
[data-theme="dark"] [style*="color: #666"],
[data-theme="dark"] [style*="color:#6b7280"],
[data-theme="dark"] [style*="color: #6b7280"],
[data-theme="dark"] [style*="color:#777"],
[data-theme="dark"] [style*="color: #777"],
[data-theme="dark"] [style*="color:#888"],
[data-theme="dark"] [style*="color: #888"],
[data-theme="dark"] [style*="color:#999"],
[data-theme="dark"] [style*="color: #999"],
[data-theme="dark"] [style*="color:#9ca3af"],
[data-theme="dark"] [style*="color: #9ca3af"],
[data-theme="dark"] [style*="color:#aaa"],
[data-theme="dark"] [style*="color: #aaa"],
[data-theme="dark"] [style*="color:#bbb"],
[data-theme="dark"] [style*="color: #bbb"],
[data-theme="dark"] [style*="color:#ccc"],
[data-theme="dark"] [style*="color: #ccc"],
[data-theme="dark"] [style*="color:#ddd"],
[data-theme="dark"] [style*="color: #ddd"] {
  color: var(--bp-text-2) !important;
}
[data-theme="dark"] [style*="color:#c0392b"],
[data-theme="dark"] [style*="color: #c0392b"],
[data-theme="dark"] [style*="color:#c00b12"],
[data-theme="dark"] [style*="color: #c00b12"],
[data-theme="dark"] [style*="color:#991b1b"],
[data-theme="dark"] [style*="color: #991b1b"],
[data-theme="dark"] [style*="color:#dc2626"],
[data-theme="dark"] [style*="color: #dc2626"],
[data-theme="dark"] [style*="color:#b91c1c"],
[data-theme="dark"] [style*="color: #b91c1c"],
[data-theme="dark"] [style*="color:#92400e"],
[data-theme="dark"] [style*="color: #92400e"],
[data-theme="dark"] [style*="color:#d81e3a"],
[data-theme="dark"] [style*="color: #d81e3a"] {
  color: var(--bp-accent) !important;
}
[data-theme="dark"] [style*="color:#2980b9"],
[data-theme="dark"] [style*="color: #2980b9"],
[data-theme="dark"] [style*="color:#2563eb"],
[data-theme="dark"] [style*="color: #2563eb"],
[data-theme="dark"] [style*="color:#1d4ed8"],
[data-theme="dark"] [style*="color: #1d4ed8"],
[data-theme="dark"] [style*="color:#3b82f6"],
[data-theme="dark"] [style*="color: #3b82f6"],
[data-theme="dark"] [style*="color:#1e40af"],
[data-theme="dark"] [style*="color: #1e40af"] {
  color: var(--bp-text-2) !important;
}
[data-theme="dark"] [style*="background:#c0392b"],
[data-theme="dark"] [style*="background: #c0392b"],
[data-theme="dark"] [style*="background:#c00b12"],
[data-theme="dark"] [style*="background: #c00b12"],
[data-theme="dark"] [style*="background:#f59e0b"],
[data-theme="dark"] [style*="background: #f59e0b"],
[data-theme="dark"] [style*="background:#dc2626"],
[data-theme="dark"] [style*="background: #dc2626"],
[data-theme="dark"] [style*="background:#b91c1c"],
[data-theme="dark"] [style*="background: #b91c1c"],
[data-theme="dark"] [style*="background-color:#c0392b"],
[data-theme="dark"] [style*="background-color: #c0392b"],
[data-theme="dark"] [style*="background-color:#c00b12"],
[data-theme="dark"] [style*="background-color: #c00b12"],
[data-theme="dark"] [style*="background-color:#f59e0b"],
[data-theme="dark"] [style*="background-color: #f59e0b"],
[data-theme="dark"] [style*="background-color:#dc2626"],
[data-theme="dark"] [style*="background-color: #dc2626"],
[data-theme="dark"] [style*="background-color:#b91c1c"],
[data-theme="dark"] [style*="background-color: #b91c1c"] {
  color: #fff !important;
}
[data-theme="dark"] [style*="solid #d1d5db"],
[data-theme="dark"] [style*="dashed #d1d5db"],
[data-theme="dark"] [style*="border-color:#d1d5db"],
[data-theme="dark"] [style*="border-color: #d1d5db"],
[data-theme="dark"] [style*="solid #ddd"],
[data-theme="dark"] [style*="dashed #ddd"],
[data-theme="dark"] [style*="border-color:#ddd"],
[data-theme="dark"] [style*="border-color: #ddd"],
[data-theme="dark"] [style*="solid #eee"],
[data-theme="dark"] [style*="dashed #eee"],
[data-theme="dark"] [style*="border-color:#eee"],
[data-theme="dark"] [style*="border-color: #eee"],
[data-theme="dark"] [style*="solid #e0e0e0"],
[data-theme="dark"] [style*="dashed #e0e0e0"],
[data-theme="dark"] [style*="border-color:#e0e0e0"],
[data-theme="dark"] [style*="border-color: #e0e0e0"],
[data-theme="dark"] [style*="solid #f0f0f0"],
[data-theme="dark"] [style*="dashed #f0f0f0"],
[data-theme="dark"] [style*="border-color:#f0f0f0"],
[data-theme="dark"] [style*="border-color: #f0f0f0"],
[data-theme="dark"] [style*="solid #f3f3f3"],
[data-theme="dark"] [style*="dashed #f3f3f3"],
[data-theme="dark"] [style*="border-color:#f3f3f3"],
[data-theme="dark"] [style*="border-color: #f3f3f3"],
[data-theme="dark"] [style*="solid #e5e7eb"],
[data-theme="dark"] [style*="dashed #e5e7eb"],
[data-theme="dark"] [style*="border-color:#e5e7eb"],
[data-theme="dark"] [style*="border-color: #e5e7eb"],
[data-theme="dark"] [style*="solid #fca5a5"],
[data-theme="dark"] [style*="dashed #fca5a5"],
[data-theme="dark"] [style*="border-color:#fca5a5"],
[data-theme="dark"] [style*="border-color: #fca5a5"],
[data-theme="dark"] [style*="solid #f5c6cb"],
[data-theme="dark"] [style*="dashed #f5c6cb"],
[data-theme="dark"] [style*="border-color:#f5c6cb"],
[data-theme="dark"] [style*="border-color: #f5c6cb"],
[data-theme="dark"] [style*="solid #fde68a"],
[data-theme="dark"] [style*="dashed #fde68a"],
[data-theme="dark"] [style*="border-color:#fde68a"],
[data-theme="dark"] [style*="border-color: #fde68a"],
[data-theme="dark"] [style*="solid #bfdbfe"],
[data-theme="dark"] [style*="dashed #bfdbfe"],
[data-theme="dark"] [style*="border-color:#bfdbfe"],
[data-theme="dark"] [style*="border-color: #bfdbfe"],
[data-theme="dark"] [style*="solid #ccc"],
[data-theme="dark"] [style*="dashed #ccc"],
[data-theme="dark"] [style*="border-color:#ccc"],
[data-theme="dark"] [style*="border-color: #ccc"],
[data-theme="dark"] [style*="solid #bbb"],
[data-theme="dark"] [style*="dashed #bbb"],
[data-theme="dark"] [style*="border-color:#bbb"],
[data-theme="dark"] [style*="border-color: #bbb"],
[data-theme="dark"] [style*="border-color:#c00b12"] {
  border-color: rgba(255,255,255,0.12) !important;
}

/* ---------- forms / auth-like fields on front pages ---------- */
[data-theme="dark"] input[type="text"], [data-theme="dark"] input[type="email"], [data-theme="dark"] input[type="password"],
[data-theme="dark"] input[type="search"], [data-theme="dark"] input[type="number"], [data-theme="dark"] input[type="tel"],
[data-theme="dark"] input[type="url"], [data-theme="dark"] textarea, [data-theme="dark"] select {
  background-color: var(--bp-surface-2) !important; color: var(--bp-text) !important; border-color: rgba(255,255,255,0.12) !important;
}
[data-theme="dark"] input[type="checkbox"], [data-theme="dark"] input[type="radio"] { background-color: transparent !important; }
[data-theme="dark"] button[disabled], [data-theme="dark"] input[disabled] { opacity: 0.55; }

/* ---------- comments / likes / report / message modals ---------- */
[data-theme="dark"] .comments, [data-theme="dark"] .comments header { background: transparent; color: var(--bp-text); border-color: var(--bp-border); }
[data-theme="dark"] .comments .title { color: var(--bp-text); }
[data-theme="dark"] .comments .highlight, [data-theme="dark"] .title > .highlight { color: var(--bp-accent) !important; }
[data-theme="dark"] .comments a { color: var(--bp-text-2); }
[data-theme="dark"] [x-cloak] { display: none; }

/* ---------- SweetAlert2 ---------- */
[data-theme="dark"] .swal2-popup { background: var(--bp-panel-solid) !important; color: var(--bp-text) !important; border: 1px solid rgba(255,255,255,0.12); box-shadow: none !important; }
[data-theme="dark"] .swal2-title, [data-theme="dark"] .swal2-html-container, [data-theme="dark"] .swal2-content { color: var(--bp-text) !important; }
[data-theme="dark"] .swal2-confirm { background-color: var(--bp-accent-solid) !important; color: #fff !important; box-shadow: none !important; }
[data-theme="dark"] .swal2-cancel { background-color: var(--bp-surface-3) !important; color: var(--bp-text) !important; box-shadow: none !important; }
[data-theme="dark"] .swal2-input, [data-theme="dark"] .swal2-textarea { background: var(--bp-surface-2) !important; color: var(--bp-text) !important; border-color: rgba(255,255,255,0.12) !important; }

/* ---------- CKEditor 5 (write form) ---------- */
[data-theme="dark"] .ck.ck-editor__main > .ck-editor__editable,
[data-theme="dark"] .ck.ck-editor__editable:not(.ck-editor__nested-editable) { background: var(--bp-surface-2) !important; color: var(--bp-text) !important; border-color: rgba(255,255,255,0.12) !important; }
[data-theme="dark"] .ck.ck-toolbar { background: var(--bp-surface) !important; border-color: rgba(255,255,255,0.12) !important; }
[data-theme="dark"] .ck.ck-toolbar .ck-toolbar__separator { background: rgba(255,255,255,0.12) !important; }
[data-theme="dark"] .ck.ck-button, [data-theme="dark"] .ck.ck-dropdown__button { color: var(--bp-text) !important; background: transparent; }
[data-theme="dark"] .ck.ck-button:hover:not(.ck-disabled), [data-theme="dark"] .ck.ck-button.ck-on { background: var(--bp-surface-3) !important; }
[data-theme="dark"] .ck.ck-dropdown__panel, [data-theme="dark"] .ck.ck-balloon-panel, [data-theme="dark"] .ck.ck-list { background: var(--bp-panel-solid) !important; border-color: rgba(255,255,255,0.12) !important; }
[data-theme="dark"] .ck.ck-input-text, [data-theme="dark"] .ck.ck-input { background: var(--bp-surface-2) !important; color: var(--bp-text) !important; border-color: rgba(255,255,255,0.12) !important; }

/* ---------- 게시판 본문(ar_content): article 안에 박힌 흰 배경/검정 글씨 인라인만 보정. 이미지는 그대로 ---------- */
[data-theme="dark"] article [style*="background-color:#fff"], [data-theme="dark"] article [style*="background-color: #fff"],
[data-theme="dark"] article [style*="background:#fff"], [data-theme="dark"] article [style*="background: #fff"],
[data-theme="dark"] article [style*="background-color:white"], [data-theme="dark"] article [style*="background-color: white"],
[data-theme="dark"] article [style*="background-color:rgb(255,255,255)"], [data-theme="dark"] article [style*="background-color: rgb(255, 255, 255)"],
[data-theme="dark"] article [style*="background-color:#f"], [data-theme="dark"] article [style*="background-color: #f"] { background-color: transparent !important; }
[data-theme="dark"] article [style*="color:#000"], [data-theme="dark"] article [style*="color: #000"],
[data-theme="dark"] article [style*="color:black"], [data-theme="dark"] article [style*="color: black"],
[data-theme="dark"] article [style*="color:#222"], [data-theme="dark"] article [style*="color:#333"],
[data-theme="dark"] article [style*="color:rgb(0,0,0)"], [data-theme="dark"] article [style*="color: rgb(0, 0, 0)"],
[data-theme="dark"] article [style*="color:rgb(51,51,51)"], [data-theme="dark"] article [style*="color: rgb(51, 51, 51)"] { color: var(--bp-text) !important; }
[data-theme="dark"] article table, [data-theme="dark"] article td, [data-theme="dark"] article th { border-color: rgba(255,255,255,0.12); }
[data-theme="dark"] article img, [data-theme="dark"] article video, [data-theme="dark"] article iframe { background-color: transparent !important; }

/* ---------- 유튜브 임베드 / 성구 이미지 카드: 이미지·오버레이 불변, 카드 배경·테두리만 ---------- */
[data-theme="dark"] .card-slider-wp .card, [data-theme="dark"] .bp-hv-thumb, [data-theme="dark"] .bp-grace-thumb, [data-theme="dark"] .bp-vn-thumb { border-color: var(--bp-border); }


/* ---------- [DARK-KR] guest 레이아웃(로그인/회원가입/비번찾기, tailwind 클래스) ---------- */
[data-theme="dark"] .bg-gray-100 { background-color: var(--bp-bg) !important; }
[data-theme="dark"] .bg-white { background-color: var(--bp-surface) !important; box-shadow: none !important; border: 1px solid var(--bp-border); }
[data-theme="dark"] .text-gray-900 { color: var(--bp-text) !important; }
[data-theme="dark"] .text-gray-700 { color: var(--bp-text) !important; }
[data-theme="dark"] .text-gray-600, [data-theme="dark"] .text-gray-500 { color: var(--bp-text-2) !important; }
[data-theme="dark"] .hover\:text-gray-900:hover { color: var(--bp-text) !important; }
[data-theme="dark"] .text-red-600 { color: var(--bp-accent) !important; }
[data-theme="dark"] .text-green-600 { color: var(--bp-text-2) !important; }
[data-theme="dark"] .border-gray-300 { border-color: rgba(255,255,255,0.12) !important; }
[data-theme="dark"] .min-h-screen { color: var(--bp-text); }

/* ---------- [DARK-KR] 내 댓글함 통계 막대: 보라(#9b59b6/#8e44ad) 금지 -> 무채색 계열 ---------- */
[data-theme="dark"] [style*="color:#9b59b6"], [data-theme="dark"] [style*="color: #9b59b6"],
[data-theme="dark"] [style*="color:#8e44ad"], [data-theme="dark"] [style*="color: #8e44ad"] { color: var(--bp-text-2) !important; }
[data-theme="dark"] [style*="background:#9b59b6"], [data-theme="dark"] [style*="background: #9b59b6"],
[data-theme="dark"] [style*="background:#8e44ad"], [data-theme="dark"] [style*="background: #8e44ad"] { background: var(--bp-text-2) !important; }

/* ---------- [DARK-KR] 포커스/체크 상태: 보라·남색(Tailwind indigo) -> 빨강 포인트 ---------- */
[data-theme="dark"] { accent-color: var(--bp-accent-solid); }
[data-theme="dark"] input:focus, [data-theme="dark"] input:focus-visible,
[data-theme="dark"] select:focus, [data-theme="dark"] select:focus-visible,
[data-theme="dark"] textarea:focus, [data-theme="dark"] textarea:focus-visible {
  border-color: var(--bp-accent-solid) !important;
  box-shadow: 0 0 0 1px var(--bp-accent-solid), 0 0 0 3px rgba(229,72,77,0.25) !important;
  outline: none !important;
}
/* 헤더 검색창 등 박스가 이미 합쳐진 입력은 외곽 링 없이 테두리색만 */
[data-theme="dark"] .header-main .search-main input:focus,
[data-theme="dark"] .header-main .search-main select:focus { box-shadow: none !important; border-color: var(--bp-accent-solid) !important; }
[data-theme="dark"] input[type="checkbox"], [data-theme="dark"] input[type="radio"] { color: var(--bp-accent-solid) !important; accent-color: var(--bp-accent-solid); }
[data-theme="dark"] input[type="checkbox"]:checked, [data-theme="dark"] input[type="radio"]:checked {
  background-color: var(--bp-accent-solid) !important; border-color: var(--bp-accent-solid) !important;
}
[data-theme="dark"] .text-indigo-600, [data-theme="dark"] .text-indigo-500 { color: var(--bp-accent) !important; }
[data-theme="dark"] .ck { --ck-color-focus-border: var(--bp-accent-solid); --ck-color-shadow-focus: rgba(229,72,77,0.25); }
[data-theme="dark"] .ck.ck-editor__editable.ck-focused:not(.ck-editor__nested-editable),
[data-theme="dark"] .ck.ck-input-text:focus { border-color: var(--bp-accent-solid) !important; box-shadow: 0 0 0 1px var(--bp-accent-solid) !important; outline: none !important; }

/* ---------- [DARK-KR 5단계] 상단바 3단 토글(낮/밤/자동) 다크 칩 ---------- */
[data-theme="dark"] #bp-theme-toggle .bp-seg-btn { color: var(--bp-text-2); }
[data-theme="dark"][data-theme-mode="dark"] #bp-theme-toggle .bp-seg-btn[data-bp-mode="dark"],
[data-theme="dark"][data-theme-mode="system"] #bp-theme-toggle .bp-seg-btn[data-bp-mode="system"] { background: var(--bp-surface-3); color: var(--bp-text); }
/* 다크에서 .header-main(z-index:30) 이 상단바 토글을 덮어 클릭이 막히던 문제: 상단바를 그 위로 (레이아웃 변화 없음, offset 없는 relative) */
[data-theme="dark"] .topbar { position: relative; z-index: 40; }

/* [DARK-KR] 다크 클릭 먹통 수정(2026-11-13): .header-main(z-index:30) 스택 안에서 main.css:2765 의 풀스크린 투명 막(.biblenav-header-wp:before, fixed, opacity 0)이 본문 위로 올라와 클릭을 가로챔 → 닫힌 상태에서는 클릭 통과, 열린 상태(.open)만 막 유효 */
[data-theme="dark"] .biblenav-header-wp:before { pointer-events: none; }
[data-theme="dark"] .biblenav-header-wp.open:before { pointer-events: auto; }

/* ==========================================================================
   [DARK-ADMIN] 관리자(/admin/*, layouts/admin.blade.php · admin/auth/login.blade.php) 다크 (2026-11-13)
   - 모든 선택자는 [data-theme="dark"] 로 시작. 무채색 + 빨강 포인트. 그라디언트·blur·보라·남색·금색·앰버 금지.
   - 관리자 뷰의 인라인 style 색(Tailwind gray 팔레트)을 [style*="…"] + !important 로 덮는다. 새 position/z-index 없음.
   ========================================================================== */

[data-theme="dark"] .admin-shell { background: var(--bp-bg); }
[data-theme="dark"] .admin-sidebar { background: var(--bp-chrome); color: var(--bp-text-2); box-shadow: inset -1px 0 0 var(--bp-border); }
[data-theme="dark"] .admin-sidebar h2 { color: var(--bp-text); }
[data-theme="dark"] .admin-sidebar nav a { color: var(--bp-text-2); }
[data-theme="dark"] .admin-sidebar nav a:hover { background: var(--bp-surface-2); color: var(--bp-text); }
[data-theme="dark"] .admin-sidebar nav a.active { background: var(--bp-accent-solid); color: #fff; }
[data-theme="dark"] .admin-sidebar nav .nav-group-label { color: var(--bp-muted); }
[data-theme="dark"] .admin-topbar { background: var(--bp-chrome); border-bottom: 1px solid var(--bp-border); }
[data-theme="dark"] .admin-topbar button { color: var(--bp-text-2); }
[data-theme="dark"] .admin-content { color: var(--bp-text); }
[data-theme="dark"] .admin-flash { background: rgba(52,168,106,0.16); color: #6fdc9a; border-color: rgba(111,220,154,0.4); }
[data-theme="dark"] .admin-content table { color: var(--bp-text); border-color: rgba(255,255,255,0.12); }
[data-theme="dark"] .admin-content th, [data-theme="dark"] .admin-content td { border-color: rgba(255,255,255,0.12); }
[data-theme="dark"] .admin-content a:not([style*="color"]):not(.btn) { color: var(--bp-accent); }
[data-theme="dark"] .admin-content h1, [data-theme="dark"] .admin-content h2, [data-theme="dark"] .admin-content h3, [data-theme="dark"] .admin-content h4, [data-theme="dark"] .admin-content label, [data-theme="dark"] .admin-content legend { color: var(--bp-text); }
[data-theme="dark"] .admin-content ::placeholder { color: var(--bp-muted); opacity: 1; }
[data-theme="dark"] .admin-content input, [data-theme="dark"] .admin-content select, [data-theme="dark"] .admin-content textarea { background-color: var(--bp-surface-2); color: var(--bp-text); border-color: rgba(255,255,255,0.16); }
[data-theme="dark"] .admin-content input[type="file"] { color: var(--bp-text-2); }
[data-theme="dark"] .admin-content input:disabled, [data-theme="dark"] .admin-content select:disabled, [data-theme="dark"] .admin-content textarea:disabled { background-color: var(--bp-surface); color: var(--bp-muted); }
[data-theme="dark"] .admin-content button:not([style*="background"]):not(.bp-seg-btn) { background-color: var(--bp-surface-2); color: var(--bp-text); border-color: rgba(255,255,255,0.16); }
[data-theme="dark"] .admin-content button:not([style*="background"]):not(.bp-seg-btn):hover { background-color: var(--bp-surface-3); }
[data-theme="dark"] .admin-topbar a:not([style*="background"]) { color: var(--bp-text-2) !important; }
/* 페이지네이션(Laravel 기본 Tailwind 뷰) */
[data-theme="dark"] .admin-content nav[role="navigation"] .bg-white { background-color: var(--bp-surface) !important; color: var(--bp-text-2) !important; border-color: rgba(255,255,255,0.16) !important; }
[data-theme="dark"] .admin-content nav[role="navigation"] a:hover { background-color: var(--bp-surface-3) !important; color: var(--bp-text) !important; }
[data-theme="dark"] .admin-content nav[role="navigation"] span[aria-current="page"] span { background-color: var(--bp-accent-solid) !important; color: #fff !important; border-color: var(--bp-accent-solid) !important; }
[data-theme="dark"] .admin-content nav[role="navigation"] .text-gray-700, [data-theme="dark"] .admin-content nav[role="navigation"] .text-gray-500, [data-theme="dark"] .admin-content nav[role="navigation"] .text-gray-400 { color: var(--bp-text-2) !important; }
[data-theme="dark"] .admin-content nav[role="navigation"] svg { fill: currentColor; }
/* ----- 배경 ----- */
[data-theme="dark"] [style*="background:white"],
[data-theme="dark"] [style*="background-color:white"],
[data-theme="dark"] [style*="background: white"],
[data-theme="dark"] [style*="background-color: white"],
[data-theme="dark"] [style*="background:#fff"],
[data-theme="dark"] [style*="background-color:#fff"],
[data-theme="dark"] [style*="background: #fff"],
[data-theme="dark"] [style*="background-color: #fff"],
[data-theme="dark"] [style*="background:#ffffff"],
[data-theme="dark"] [style*="background-color:#ffffff"],
[data-theme="dark"] [style*="background: #ffffff"],
[data-theme="dark"] [style*="background-color: #ffffff"],
[data-theme="dark"] [style*="background:#fafafa"],
[data-theme="dark"] [style*="background-color:#fafafa"],
[data-theme="dark"] [style*="background: #fafafa"],
[data-theme="dark"] [style*="background-color: #fafafa"],
[data-theme="dark"] [style*="background:#fefefe"],
[data-theme="dark"] [style*="background-color:#fefefe"],
[data-theme="dark"] [style*="background: #fefefe"],
[data-theme="dark"] [style*="background-color: #fefefe"] {
  background-color: var(--bp-surface) !important;
}
[data-theme="dark"] [style*="background:#f9fafb"],
[data-theme="dark"] [style*="background-color:#f9fafb"],
[data-theme="dark"] [style*="background: #f9fafb"],
[data-theme="dark"] [style*="background-color: #f9fafb"],
[data-theme="dark"] [style*="background:#f3f4f6"],
[data-theme="dark"] [style*="background-color:#f3f4f6"],
[data-theme="dark"] [style*="background: #f3f4f6"],
[data-theme="dark"] [style*="background-color: #f3f4f6"],
[data-theme="dark"] [style*="background:#f8f9fa"],
[data-theme="dark"] [style*="background-color:#f8f9fa"],
[data-theme="dark"] [style*="background: #f8f9fa"],
[data-theme="dark"] [style*="background-color: #f8f9fa"],
[data-theme="dark"] [style*="background:#f1f5f9"],
[data-theme="dark"] [style*="background-color:#f1f5f9"],
[data-theme="dark"] [style*="background: #f1f5f9"],
[data-theme="dark"] [style*="background-color: #f1f5f9"] {
  background-color: var(--bp-surface-2) !important;
}
[data-theme="dark"] [style*="background:#e5e7eb"],
[data-theme="dark"] [style*="background-color:#e5e7eb"],
[data-theme="dark"] [style*="background: #e5e7eb"],
[data-theme="dark"] [style*="background-color: #e5e7eb"],
[data-theme="dark"] [style*="background:#eff6ff"],
[data-theme="dark"] [style*="background-color:#eff6ff"],
[data-theme="dark"] [style*="background: #eff6ff"],
[data-theme="dark"] [style*="background-color: #eff6ff"],
[data-theme="dark"] [style*="background:#dbeafe"],
[data-theme="dark"] [style*="background-color:#dbeafe"],
[data-theme="dark"] [style*="background: #dbeafe"],
[data-theme="dark"] [style*="background-color: #dbeafe"],
[data-theme="dark"] [style*="background:#eef2ff"],
[data-theme="dark"] [style*="background-color:#eef2ff"],
[data-theme="dark"] [style*="background: #eef2ff"],
[data-theme="dark"] [style*="background-color: #eef2ff"],
[data-theme="dark"] [style*="background:#f5f3ff"],
[data-theme="dark"] [style*="background-color:#f5f3ff"],
[data-theme="dark"] [style*="background: #f5f3ff"],
[data-theme="dark"] [style*="background-color: #f5f3ff"],
[data-theme="dark"] [style*="background:#ede9fe"],
[data-theme="dark"] [style*="background-color:#ede9fe"],
[data-theme="dark"] [style*="background: #ede9fe"],
[data-theme="dark"] [style*="background-color: #ede9fe"],
[data-theme="dark"] [style*="background:#fef3c7"],
[data-theme="dark"] [style*="background-color:#fef3c7"],
[data-theme="dark"] [style*="background: #fef3c7"],
[data-theme="dark"] [style*="background-color: #fef3c7"],
[data-theme="dark"] [style*="background:#fff7ed"],
[data-theme="dark"] [style*="background-color:#fff7ed"],
[data-theme="dark"] [style*="background: #fff7ed"],
[data-theme="dark"] [style*="background-color: #fff7ed"],
[data-theme="dark"] [style*="background:#6b7280"],
[data-theme="dark"] [style*="background-color:#6b7280"],
[data-theme="dark"] [style*="background: #6b7280"],
[data-theme="dark"] [style*="background-color: #6b7280"],
[data-theme="dark"] [style*="background:#f0f0f0"],
[data-theme="dark"] [style*="background-color:#f0f0f0"],
[data-theme="dark"] [style*="background: #f0f0f0"],
[data-theme="dark"] [style*="background-color: #f0f0f0"],
[data-theme="dark"] [style*="background:#f0f9ff"],
[data-theme="dark"] [style*="background-color:#f0f9ff"],
[data-theme="dark"] [style*="background: #f0f9ff"],
[data-theme="dark"] [style*="background-color: #f0f9ff"],
[data-theme="dark"] [style*="background:#e0f2fe"],
[data-theme="dark"] [style*="background-color:#e0f2fe"],
[data-theme="dark"] [style*="background: #e0f2fe"],
[data-theme="dark"] [style*="background-color: #e0f2fe"],
[data-theme="dark"] [style*="background:#e0e7ff"],
[data-theme="dark"] [style*="background-color:#e0e7ff"],
[data-theme="dark"] [style*="background: #e0e7ff"],
[data-theme="dark"] [style*="background-color: #e0e7ff"],
[data-theme="dark"] [style*="background:#f0fdfa"],
[data-theme="dark"] [style*="background-color:#f0fdfa"],
[data-theme="dark"] [style*="background: #f0fdfa"],
[data-theme="dark"] [style*="background-color: #f0fdfa"],
[data-theme="dark"] [style*="background:#fffbeb"],
[data-theme="dark"] [style*="background-color:#fffbeb"],
[data-theme="dark"] [style*="background: #fffbeb"],
[data-theme="dark"] [style*="background-color: #fffbeb"],
[data-theme="dark"] [style*="background:#fef9c3"],
[data-theme="dark"] [style*="background-color:#fef9c3"],
[data-theme="dark"] [style*="background: #fef9c3"],
[data-theme="dark"] [style*="background-color: #fef9c3"] {
  background-color: var(--bp-surface-3) !important;
}
[data-theme="dark"] [style*="background:#fee2e2"],
[data-theme="dark"] [style*="background-color:#fee2e2"],
[data-theme="dark"] [style*="background: #fee2e2"],
[data-theme="dark"] [style*="background-color: #fee2e2"],
[data-theme="dark"] [style*="background:#fef2f2"],
[data-theme="dark"] [style*="background-color:#fef2f2"],
[data-theme="dark"] [style*="background: #fef2f2"],
[data-theme="dark"] [style*="background-color: #fef2f2"],
[data-theme="dark"] [style*="background:#fff5f5"],
[data-theme="dark"] [style*="background-color:#fff5f5"],
[data-theme="dark"] [style*="background: #fff5f5"],
[data-theme="dark"] [style*="background-color: #fff5f5"],
[data-theme="dark"] [style*="background:#fde8e8"],
[data-theme="dark"] [style*="background-color:#fde8e8"],
[data-theme="dark"] [style*="background: #fde8e8"],
[data-theme="dark"] [style*="background-color: #fde8e8"] {
  background-color: rgba(214,60,65,0.16) !important;
}
[data-theme="dark"] [style*="background:#dcfce7"],
[data-theme="dark"] [style*="background-color:#dcfce7"],
[data-theme="dark"] [style*="background: #dcfce7"],
[data-theme="dark"] [style*="background-color: #dcfce7"],
[data-theme="dark"] [style*="background:#d1fae5"],
[data-theme="dark"] [style*="background-color:#d1fae5"],
[data-theme="dark"] [style*="background: #d1fae5"],
[data-theme="dark"] [style*="background-color: #d1fae5"],
[data-theme="dark"] [style*="background:#ecfdf5"],
[data-theme="dark"] [style*="background-color:#ecfdf5"],
[data-theme="dark"] [style*="background: #ecfdf5"],
[data-theme="dark"] [style*="background-color: #ecfdf5"],
[data-theme="dark"] [style*="background:#f0fdf4"],
[data-theme="dark"] [style*="background-color:#f0fdf4"],
[data-theme="dark"] [style*="background: #f0fdf4"],
[data-theme="dark"] [style*="background-color: #f0fdf4"],
[data-theme="dark"] [style*="background:#eafaf1"],
[data-theme="dark"] [style*="background-color:#eafaf1"],
[data-theme="dark"] [style*="background: #eafaf1"],
[data-theme="dark"] [style*="background-color: #eafaf1"] {
  background-color: rgba(52,168,106,0.16) !important;
}
[data-theme="dark"] [style*="background:#2563eb"],
[data-theme="dark"] [style*="background-color:#2563eb"],
[data-theme="dark"] [style*="background: #2563eb"],
[data-theme="dark"] [style*="background-color: #2563eb"],
[data-theme="dark"] [style*="background:#c0392b"],
[data-theme="dark"] [style*="background-color:#c0392b"],
[data-theme="dark"] [style*="background: #c0392b"],
[data-theme="dark"] [style*="background-color: #c0392b"],
[data-theme="dark"] [style*="background:#c00b12"],
[data-theme="dark"] [style*="background-color:#c00b12"],
[data-theme="dark"] [style*="background: #c00b12"],
[data-theme="dark"] [style*="background-color: #c00b12"],
[data-theme="dark"] [style*="background:#1d4ed8"],
[data-theme="dark"] [style*="background-color:#1d4ed8"],
[data-theme="dark"] [style*="background: #1d4ed8"],
[data-theme="dark"] [style*="background-color: #1d4ed8"] {
  background-color: var(--bp-accent-solid) !important;
}
[data-theme="dark"] [style*="background:#10b981"],
[data-theme="dark"] [style*="background-color:#10b981"],
[data-theme="dark"] [style*="background: #10b981"],
[data-theme="dark"] [style*="background-color: #10b981"],
[data-theme="dark"] [style*="background:#27ae60"],
[data-theme="dark"] [style*="background-color:#27ae60"],
[data-theme="dark"] [style*="background: #27ae60"],
[data-theme="dark"] [style*="background-color: #27ae60"] {
  background-color: #1b7f55 !important;
}
/* ----- 글자색 (흰 글씨 #fff/white 는 건드리지 않음) ----- */
[data-theme="dark"] [style*=";color:#374151"],
[data-theme="dark"] [style^="color:#374151"],
[data-theme="dark"] [style*="; color:#374151"],
[data-theme="dark"] [style*="\"color:#374151"],
[data-theme="dark"] [style*=";color: #374151"],
[data-theme="dark"] [style^="color: #374151"],
[data-theme="dark"] [style*="; color: #374151"],
[data-theme="dark"] [style*="\"color: #374151"],
[data-theme="dark"] [style*=";color:#111827"],
[data-theme="dark"] [style^="color:#111827"],
[data-theme="dark"] [style*="; color:#111827"],
[data-theme="dark"] [style*="\"color:#111827"],
[data-theme="dark"] [style*=";color: #111827"],
[data-theme="dark"] [style^="color: #111827"],
[data-theme="dark"] [style*="; color: #111827"],
[data-theme="dark"] [style*="\"color: #111827"],
[data-theme="dark"] [style*=";color:#111"],
[data-theme="dark"] [style^="color:#111"],
[data-theme="dark"] [style*="; color:#111"],
[data-theme="dark"] [style*="\"color:#111"],
[data-theme="dark"] [style*=";color: #111"],
[data-theme="dark"] [style^="color: #111"],
[data-theme="dark"] [style*="; color: #111"],
[data-theme="dark"] [style*="\"color: #111"],
[data-theme="dark"] [style*=";color:#222"],
[data-theme="dark"] [style^="color:#222"],
[data-theme="dark"] [style*="; color:#222"],
[data-theme="dark"] [style*="\"color:#222"],
[data-theme="dark"] [style*=";color: #222"],
[data-theme="dark"] [style^="color: #222"],
[data-theme="dark"] [style*="; color: #222"],
[data-theme="dark"] [style*="\"color: #222"],
[data-theme="dark"] [style*=";color:#333"],
[data-theme="dark"] [style^="color:#333"],
[data-theme="dark"] [style*="; color:#333"],
[data-theme="dark"] [style*="\"color:#333"],
[data-theme="dark"] [style*=";color: #333"],
[data-theme="dark"] [style^="color: #333"],
[data-theme="dark"] [style*="; color: #333"],
[data-theme="dark"] [style*="\"color: #333"],
[data-theme="dark"] [style*=";color:#444"],
[data-theme="dark"] [style^="color:#444"],
[data-theme="dark"] [style*="; color:#444"],
[data-theme="dark"] [style*="\"color:#444"],
[data-theme="dark"] [style*=";color: #444"],
[data-theme="dark"] [style^="color: #444"],
[data-theme="dark"] [style*="; color: #444"],
[data-theme="dark"] [style*="\"color: #444"],
[data-theme="dark"] [style*=";color:#1f2937"],
[data-theme="dark"] [style^="color:#1f2937"],
[data-theme="dark"] [style*="; color:#1f2937"],
[data-theme="dark"] [style*="\"color:#1f2937"],
[data-theme="dark"] [style*=";color: #1f2937"],
[data-theme="dark"] [style^="color: #1f2937"],
[data-theme="dark"] [style*="; color: #1f2937"],
[data-theme="dark"] [style*="\"color: #1f2937"],
[data-theme="dark"] [style*=";color:#2563eb"],
[data-theme="dark"] [style^="color:#2563eb"],
[data-theme="dark"] [style*="; color:#2563eb"],
[data-theme="dark"] [style*="\"color:#2563eb"],
[data-theme="dark"] [style*=";color: #2563eb"],
[data-theme="dark"] [style^="color: #2563eb"],
[data-theme="dark"] [style*="; color: #2563eb"],
[data-theme="dark"] [style*="\"color: #2563eb"],
[data-theme="dark"] [style*=";color:#1d4ed8"],
[data-theme="dark"] [style^="color:#1d4ed8"],
[data-theme="dark"] [style*="; color:#1d4ed8"],
[data-theme="dark"] [style*="\"color:#1d4ed8"],
[data-theme="dark"] [style*=";color: #1d4ed8"],
[data-theme="dark"] [style^="color: #1d4ed8"],
[data-theme="dark"] [style*="; color: #1d4ed8"],
[data-theme="dark"] [style*="\"color: #1d4ed8"],
[data-theme="dark"] [style*=";color:#1e40af"],
[data-theme="dark"] [style^="color:#1e40af"],
[data-theme="dark"] [style*="; color:#1e40af"],
[data-theme="dark"] [style*="\"color:#1e40af"],
[data-theme="dark"] [style*=";color: #1e40af"],
[data-theme="dark"] [style^="color: #1e40af"],
[data-theme="dark"] [style*="; color: #1e40af"],
[data-theme="dark"] [style*="\"color: #1e40af"],
[data-theme="dark"] [style*=";color:#3730a3"],
[data-theme="dark"] [style^="color:#3730a3"],
[data-theme="dark"] [style*="; color:#3730a3"],
[data-theme="dark"] [style*="\"color:#3730a3"],
[data-theme="dark"] [style*=";color: #3730a3"],
[data-theme="dark"] [style^="color: #3730a3"],
[data-theme="dark"] [style*="; color: #3730a3"],
[data-theme="dark"] [style*="\"color: #3730a3"],
[data-theme="dark"] [style*=";color:#6d28d9"],
[data-theme="dark"] [style^="color:#6d28d9"],
[data-theme="dark"] [style*="; color:#6d28d9"],
[data-theme="dark"] [style*="\"color:#6d28d9"],
[data-theme="dark"] [style*=";color: #6d28d9"],
[data-theme="dark"] [style^="color: #6d28d9"],
[data-theme="dark"] [style*="; color: #6d28d9"],
[data-theme="dark"] [style*="\"color: #6d28d9"] {
  color: var(--bp-text) !important;
}
[data-theme="dark"] [style*=";color:#555"],
[data-theme="dark"] [style^="color:#555"],
[data-theme="dark"] [style*="; color:#555"],
[data-theme="dark"] [style*="\"color:#555"],
[data-theme="dark"] [style*=";color: #555"],
[data-theme="dark"] [style^="color: #555"],
[data-theme="dark"] [style*="; color: #555"],
[data-theme="dark"] [style*="\"color: #555"],
[data-theme="dark"] [style*=";color:#666"],
[data-theme="dark"] [style^="color:#666"],
[data-theme="dark"] [style*="; color:#666"],
[data-theme="dark"] [style*="\"color:#666"],
[data-theme="dark"] [style*=";color: #666"],
[data-theme="dark"] [style^="color: #666"],
[data-theme="dark"] [style*="; color: #666"],
[data-theme="dark"] [style*="\"color: #666"],
[data-theme="dark"] [style*=";color:#6b7280"],
[data-theme="dark"] [style^="color:#6b7280"],
[data-theme="dark"] [style*="; color:#6b7280"],
[data-theme="dark"] [style*="\"color:#6b7280"],
[data-theme="dark"] [style*=";color: #6b7280"],
[data-theme="dark"] [style^="color: #6b7280"],
[data-theme="dark"] [style*="; color: #6b7280"],
[data-theme="dark"] [style*="\"color: #6b7280"],
[data-theme="dark"] [style*=";color:#888"],
[data-theme="dark"] [style^="color:#888"],
[data-theme="dark"] [style*="; color:#888"],
[data-theme="dark"] [style*="\"color:#888"],
[data-theme="dark"] [style*=";color: #888"],
[data-theme="dark"] [style^="color: #888"],
[data-theme="dark"] [style*="; color: #888"],
[data-theme="dark"] [style*="\"color: #888"],
[data-theme="dark"] [style*=";color:#92400e"],
[data-theme="dark"] [style^="color:#92400e"],
[data-theme="dark"] [style*="; color:#92400e"],
[data-theme="dark"] [style*="\"color:#92400e"],
[data-theme="dark"] [style*=";color: #92400e"],
[data-theme="dark"] [style^="color: #92400e"],
[data-theme="dark"] [style*="; color: #92400e"],
[data-theme="dark"] [style*="\"color: #92400e"],
[data-theme="dark"] [style*=";color:#4b5563"],
[data-theme="dark"] [style^="color:#4b5563"],
[data-theme="dark"] [style*="; color:#4b5563"],
[data-theme="dark"] [style*="\"color:#4b5563"],
[data-theme="dark"] [style*=";color: #4b5563"],
[data-theme="dark"] [style^="color: #4b5563"],
[data-theme="dark"] [style*="; color: #4b5563"],
[data-theme="dark"] [style*="\"color: #4b5563"],
[data-theme="dark"] [style*=";color:#b45309"],
[data-theme="dark"] [style^="color:#b45309"],
[data-theme="dark"] [style*="; color:#b45309"],
[data-theme="dark"] [style*="\"color:#b45309"],
[data-theme="dark"] [style*=";color: #b45309"],
[data-theme="dark"] [style^="color: #b45309"],
[data-theme="dark"] [style*="; color: #b45309"],
[data-theme="dark"] [style*="\"color: #b45309"],
[data-theme="dark"] [style*=";color:#d97706"],
[data-theme="dark"] [style^="color:#d97706"],
[data-theme="dark"] [style*="; color:#d97706"],
[data-theme="dark"] [style*="\"color:#d97706"],
[data-theme="dark"] [style*=";color: #d97706"],
[data-theme="dark"] [style^="color: #d97706"],
[data-theme="dark"] [style*="; color: #d97706"],
[data-theme="dark"] [style*="\"color: #d97706"],
[data-theme="dark"] [style*=";color:#f59e0b"],
[data-theme="dark"] [style^="color:#f59e0b"],
[data-theme="dark"] [style*="; color:#f59e0b"],
[data-theme="dark"] [style*="\"color:#f59e0b"],
[data-theme="dark"] [style*=";color: #f59e0b"],
[data-theme="dark"] [style^="color: #f59e0b"],
[data-theme="dark"] [style*="; color: #f59e0b"],
[data-theme="dark"] [style*="\"color: #f59e0b"],
[data-theme="dark"] [style*=";color:#e67e22"],
[data-theme="dark"] [style^="color:#e67e22"],
[data-theme="dark"] [style*="; color:#e67e22"],
[data-theme="dark"] [style*="\"color:#e67e22"],
[data-theme="dark"] [style*=";color: #e67e22"],
[data-theme="dark"] [style^="color: #e67e22"],
[data-theme="dark"] [style*="; color: #e67e22"],
[data-theme="dark"] [style*="\"color: #e67e22"],
[data-theme="dark"] [style*=";color:#ea580c"],
[data-theme="dark"] [style^="color:#ea580c"],
[data-theme="dark"] [style*="; color:#ea580c"],
[data-theme="dark"] [style*="\"color:#ea580c"],
[data-theme="dark"] [style*=";color: #ea580c"],
[data-theme="dark"] [style^="color: #ea580c"],
[data-theme="dark"] [style*="; color: #ea580c"],
[data-theme="dark"] [style*="\"color: #ea580c"],
[data-theme="dark"] [style*=";color:#f39c12"],
[data-theme="dark"] [style^="color:#f39c12"],
[data-theme="dark"] [style*="; color:#f39c12"],
[data-theme="dark"] [style*="\"color:#f39c12"],
[data-theme="dark"] [style*=";color: #f39c12"],
[data-theme="dark"] [style^="color: #f39c12"],
[data-theme="dark"] [style*="; color: #f39c12"],
[data-theme="dark"] [style*="\"color: #f39c12"],
[data-theme="dark"] [style*=";color:#a16207"],
[data-theme="dark"] [style^="color:#a16207"],
[data-theme="dark"] [style*="; color:#a16207"],
[data-theme="dark"] [style*="\"color:#a16207"],
[data-theme="dark"] [style*=";color: #a16207"],
[data-theme="dark"] [style^="color: #a16207"],
[data-theme="dark"] [style*="; color: #a16207"],
[data-theme="dark"] [style*="\"color: #a16207"],
[data-theme="dark"] [style*=";color:#854d0e"],
[data-theme="dark"] [style^="color:#854d0e"],
[data-theme="dark"] [style*="; color:#854d0e"],
[data-theme="dark"] [style*="\"color:#854d0e"],
[data-theme="dark"] [style*=";color: #854d0e"],
[data-theme="dark"] [style^="color: #854d0e"],
[data-theme="dark"] [style*="; color: #854d0e"],
[data-theme="dark"] [style*="\"color: #854d0e"],
[data-theme="dark"] [style*=";color:#78350f"],
[data-theme="dark"] [style^="color:#78350f"],
[data-theme="dark"] [style*="; color:#78350f"],
[data-theme="dark"] [style*="\"color:#78350f"],
[data-theme="dark"] [style*=";color: #78350f"],
[data-theme="dark"] [style^="color: #78350f"],
[data-theme="dark"] [style*="; color: #78350f"],
[data-theme="dark"] [style*="\"color: #78350f"],
[data-theme="dark"] [style*=";color:#713f12"],
[data-theme="dark"] [style^="color:#713f12"],
[data-theme="dark"] [style*="; color:#713f12"],
[data-theme="dark"] [style*="\"color:#713f12"],
[data-theme="dark"] [style*=";color: #713f12"],
[data-theme="dark"] [style^="color: #713f12"],
[data-theme="dark"] [style*="; color: #713f12"],
[data-theme="dark"] [style*="\"color: #713f12"],
[data-theme="dark"] [style*=";color:#b45f06"],
[data-theme="dark"] [style^="color:#b45f06"],
[data-theme="dark"] [style*="; color:#b45f06"],
[data-theme="dark"] [style*="\"color:#b45f06"],
[data-theme="dark"] [style*=";color: #b45f06"],
[data-theme="dark"] [style^="color: #b45f06"],
[data-theme="dark"] [style*="; color: #b45f06"],
[data-theme="dark"] [style*="\"color: #b45f06"],
[data-theme="dark"] [style*=";color:#9a3412"],
[data-theme="dark"] [style^="color:#9a3412"],
[data-theme="dark"] [style*="; color:#9a3412"],
[data-theme="dark"] [style*="\"color:#9a3412"],
[data-theme="dark"] [style*=";color: #9a3412"],
[data-theme="dark"] [style^="color: #9a3412"],
[data-theme="dark"] [style*="; color: #9a3412"],
[data-theme="dark"] [style*="\"color: #9a3412"] {
  color: var(--bp-text-2) !important;
}
[data-theme="dark"] [style*=";color:#9ca3af"],
[data-theme="dark"] [style^="color:#9ca3af"],
[data-theme="dark"] [style*="; color:#9ca3af"],
[data-theme="dark"] [style*="\"color:#9ca3af"],
[data-theme="dark"] [style*=";color: #9ca3af"],
[data-theme="dark"] [style^="color: #9ca3af"],
[data-theme="dark"] [style*="; color: #9ca3af"],
[data-theme="dark"] [style*="\"color: #9ca3af"],
[data-theme="dark"] [style*=";color:#999"],
[data-theme="dark"] [style^="color:#999"],
[data-theme="dark"] [style*="; color:#999"],
[data-theme="dark"] [style*="\"color:#999"],
[data-theme="dark"] [style*=";color: #999"],
[data-theme="dark"] [style^="color: #999"],
[data-theme="dark"] [style*="; color: #999"],
[data-theme="dark"] [style*="\"color: #999"],
[data-theme="dark"] [style*=";color:#bbb"],
[data-theme="dark"] [style^="color:#bbb"],
[data-theme="dark"] [style*="; color:#bbb"],
[data-theme="dark"] [style*="\"color:#bbb"],
[data-theme="dark"] [style*=";color: #bbb"],
[data-theme="dark"] [style^="color: #bbb"],
[data-theme="dark"] [style*="; color: #bbb"],
[data-theme="dark"] [style*="\"color: #bbb"],
[data-theme="dark"] [style*=";color:#d1d5db"],
[data-theme="dark"] [style^="color:#d1d5db"],
[data-theme="dark"] [style*="; color:#d1d5db"],
[data-theme="dark"] [style*="\"color:#d1d5db"],
[data-theme="dark"] [style*=";color: #d1d5db"],
[data-theme="dark"] [style^="color: #d1d5db"],
[data-theme="dark"] [style*="; color: #d1d5db"],
[data-theme="dark"] [style*="\"color: #d1d5db"],
[data-theme="dark"] [style*=";color:#aaa"],
[data-theme="dark"] [style^="color:#aaa"],
[data-theme="dark"] [style*="; color:#aaa"],
[data-theme="dark"] [style*="\"color:#aaa"],
[data-theme="dark"] [style*=";color: #aaa"],
[data-theme="dark"] [style^="color: #aaa"],
[data-theme="dark"] [style*="; color: #aaa"],
[data-theme="dark"] [style*="\"color: #aaa"] {
  color: var(--bp-muted) !important;
}
[data-theme="dark"] [style*=";color:#991b1b"],
[data-theme="dark"] [style^="color:#991b1b"],
[data-theme="dark"] [style*="; color:#991b1b"],
[data-theme="dark"] [style*="\"color:#991b1b"],
[data-theme="dark"] [style*=";color: #991b1b"],
[data-theme="dark"] [style^="color: #991b1b"],
[data-theme="dark"] [style*="; color: #991b1b"],
[data-theme="dark"] [style*="\"color: #991b1b"],
[data-theme="dark"] [style*=";color:#dc2626"],
[data-theme="dark"] [style^="color:#dc2626"],
[data-theme="dark"] [style*="; color:#dc2626"],
[data-theme="dark"] [style*="\"color:#dc2626"],
[data-theme="dark"] [style*=";color: #dc2626"],
[data-theme="dark"] [style^="color: #dc2626"],
[data-theme="dark"] [style*="; color: #dc2626"],
[data-theme="dark"] [style*="\"color: #dc2626"],
[data-theme="dark"] [style*=";color:#b91c1c"],
[data-theme="dark"] [style^="color:#b91c1c"],
[data-theme="dark"] [style*="; color:#b91c1c"],
[data-theme="dark"] [style*="\"color:#b91c1c"],
[data-theme="dark"] [style*=";color: #b91c1c"],
[data-theme="dark"] [style^="color: #b91c1c"],
[data-theme="dark"] [style*="; color: #b91c1c"],
[data-theme="dark"] [style*="\"color: #b91c1c"],
[data-theme="dark"] [style*=";color:#c0392b"],
[data-theme="dark"] [style^="color:#c0392b"],
[data-theme="dark"] [style*="; color:#c0392b"],
[data-theme="dark"] [style*="\"color:#c0392b"],
[data-theme="dark"] [style*=";color: #c0392b"],
[data-theme="dark"] [style^="color: #c0392b"],
[data-theme="dark"] [style*="; color: #c0392b"],
[data-theme="dark"] [style*="\"color: #c0392b"],
[data-theme="dark"] [style*=";color:#c00b12"],
[data-theme="dark"] [style^="color:#c00b12"],
[data-theme="dark"] [style*="; color:#c00b12"],
[data-theme="dark"] [style*="\"color:#c00b12"],
[data-theme="dark"] [style*=";color: #c00b12"],
[data-theme="dark"] [style^="color: #c00b12"],
[data-theme="dark"] [style*="; color: #c00b12"],
[data-theme="dark"] [style*="\"color: #c00b12"] {
  color: var(--bp-accent) !important;
}
[data-theme="dark"] [style*=";color:#166534"],
[data-theme="dark"] [style^="color:#166534"],
[data-theme="dark"] [style*="; color:#166534"],
[data-theme="dark"] [style*="\"color:#166534"],
[data-theme="dark"] [style*=";color: #166534"],
[data-theme="dark"] [style^="color: #166534"],
[data-theme="dark"] [style*="; color: #166534"],
[data-theme="dark"] [style*="\"color: #166534"],
[data-theme="dark"] [style*=";color:#065f46"],
[data-theme="dark"] [style^="color:#065f46"],
[data-theme="dark"] [style*="; color:#065f46"],
[data-theme="dark"] [style*="\"color:#065f46"],
[data-theme="dark"] [style*=";color: #065f46"],
[data-theme="dark"] [style^="color: #065f46"],
[data-theme="dark"] [style*="; color: #065f46"],
[data-theme="dark"] [style*="\"color: #065f46"],
[data-theme="dark"] [style*=";color:#27ae60"],
[data-theme="dark"] [style^="color:#27ae60"],
[data-theme="dark"] [style*="; color:#27ae60"],
[data-theme="dark"] [style*="\"color:#27ae60"],
[data-theme="dark"] [style*=";color: #27ae60"],
[data-theme="dark"] [style^="color: #27ae60"],
[data-theme="dark"] [style*="; color: #27ae60"],
[data-theme="dark"] [style*="\"color: #27ae60"],
[data-theme="dark"] [style*=";color:#15803d"],
[data-theme="dark"] [style^="color:#15803d"],
[data-theme="dark"] [style*="; color:#15803d"],
[data-theme="dark"] [style*="\"color:#15803d"],
[data-theme="dark"] [style*=";color: #15803d"],
[data-theme="dark"] [style^="color: #15803d"],
[data-theme="dark"] [style*="; color: #15803d"],
[data-theme="dark"] [style*="\"color: #15803d"] {
  color: #6fdc9a !important;
}
[data-theme="dark"] [style*="background:#2563eb"][style*="color:white"], [data-theme="dark"] [style*="background:#2563eb"][style*="color:#fff"], [data-theme="dark"] [style*="background: #2563eb"][style*="color: white"], [data-theme="dark"] [style*="background:#10b981"], [data-theme="dark"] [style*="background:#c0392b"], [data-theme="dark"] [style*="background:#c00b12"] { color: #fff !important; }
/* ----- 테두리 ----- */
[data-theme="dark"] [style*="solid #e5e7eb"],
[data-theme="dark"] [style*="dashed #e5e7eb"],
[data-theme="dark"] [style*="solid #d1d5db"],
[data-theme="dark"] [style*="dashed #d1d5db"],
[data-theme="dark"] [style*="solid #ddd"],
[data-theme="dark"] [style*="dashed #ddd"],
[data-theme="dark"] [style*="solid #eee"],
[data-theme="dark"] [style*="dashed #eee"],
[data-theme="dark"] [style*="solid #eef0f3"],
[data-theme="dark"] [style*="dashed #eef0f3"],
[data-theme="dark"] [style*="solid #f3f4f6"],
[data-theme="dark"] [style*="dashed #f3f4f6"],
[data-theme="dark"] [style*="solid #ccc"],
[data-theme="dark"] [style*="dashed #ccc"],
[data-theme="dark"] [style*="solid #1f2937"],
[data-theme="dark"] [style*="dashed #1f2937"] {
  border-color: rgba(255,255,255,0.14) !important;
}
[data-theme="dark"] [style*="solid #fca5a5"],
[data-theme="dark"] [style*="dashed #fca5a5"],
[data-theme="dark"] [style*="solid #fecaca"],
[data-theme="dark"] [style*="dashed #fecaca"] {
  border-color: rgba(255,107,107,0.45) !important;
}
[data-theme="dark"] [style*="solid #93c5fd"],
[data-theme="dark"] [style*="dashed #93c5fd"],
[data-theme="dark"] [style*="solid #bfdbfe"],
[data-theme="dark"] [style*="dashed #bfdbfe"],
[data-theme="dark"] [style*="solid #c7d2fe"],
[data-theme="dark"] [style*="dashed #c7d2fe"],
[data-theme="dark"] [style*="solid #ddd6fe"],
[data-theme="dark"] [style*="dashed #ddd6fe"],
[data-theme="dark"] [style*="solid #fde68a"],
[data-theme="dark"] [style*="dashed #fde68a"] {
  border-color: rgba(255,255,255,0.22) !important;
}
[data-theme="dark"] [style*="solid #a7f3d0"],
[data-theme="dark"] [style*="dashed #a7f3d0"],
[data-theme="dark"] [style*="solid #bbf7d0"],
[data-theme="dark"] [style*="dashed #bbf7d0"],
[data-theme="dark"] [style*="solid #86efac"],
[data-theme="dark"] [style*="dashed #86efac"] {
  border-color: rgba(111,220,154,0.4) !important;
}
[data-theme="dark"] [style*="solid #2563eb"],
[data-theme="dark"] [style*="dashed #2563eb"] {
  border-color: var(--bp-accent-solid) !important;
}
[data-theme="dark"] [style*="solid #e5e7eb"][style*="border-bottom"] { border-bottom-color: rgba(255,255,255,0.12) !important; }
[data-theme="dark"] [style*="box-shadow"] { box-shadow: 0 1px 3px rgba(0,0,0,0.5) !important; }

/* ----- CKEditor5 Classic 41.4.2 (CDN) — CSS 변수 덮어쓰기: 툴바·드롭다운·패널·편집 영역. 사용자 입력 본문 색은 건드리지 않는다 ----- */
[data-theme="dark"]:root {
  --ck-color-base-foreground: var(--bp-surface-2);
  --ck-color-base-background: var(--bp-surface);
  --ck-color-base-border: rgba(255,255,255,0.16);
  --ck-color-base-action: var(--bp-accent-solid);
  --ck-color-base-focus: var(--bp-accent-solid);
  --ck-color-base-text: var(--bp-text);
  --ck-color-base-active: var(--bp-accent-solid);
  --ck-color-base-active-focus: var(--bp-accent-solid);
  --ck-color-base-error: var(--bp-accent);
  --ck-color-focus-border: var(--bp-accent-solid);
  --ck-color-focus-outer-shadow: rgba(214,60,65,0.25);
  --ck-color-focus-disabled-shadow: rgba(255,255,255,0.1);
  --ck-color-focus-error-shadow: rgba(214,60,65,0.25);
  --ck-color-text: var(--bp-text);
  --ck-color-shadow-drop: rgba(0,0,0,0.5);
  --ck-color-shadow-drop-active: rgba(0,0,0,0.6);
  --ck-color-shadow-inner: rgba(0,0,0,0.4);
  --ck-color-button-default-background: transparent;
  --ck-color-button-default-hover-background: var(--bp-surface-3);
  --ck-color-button-default-active-background: var(--bp-surface-3);
  --ck-color-button-default-disabled-background: transparent;
  --ck-color-button-on-background: var(--bp-surface-3);
  --ck-color-button-on-hover-background: #3a3a40;
  --ck-color-button-on-active-background: #3a3a40;
  --ck-color-button-on-disabled-background: var(--bp-surface-2);
  --ck-color-button-on-color: var(--bp-accent);
  --ck-color-button-action-background: var(--bp-accent-solid);
  --ck-color-button-action-hover-background: #c0353a;
  --ck-color-button-action-active-background: #c0353a;
  --ck-color-button-action-text: #fff;
  --ck-color-button-save: #6fdc9a;
  --ck-color-button-cancel: var(--bp-accent);
  --ck-color-dropdown-panel-background: var(--bp-panel-solid);
  --ck-color-dropdown-panel-border: rgba(255,255,255,0.16);
  --ck-color-input-background: var(--bp-surface-2);
  --ck-color-input-border: rgba(255,255,255,0.16);
  --ck-color-input-text: var(--bp-text);
  --ck-color-input-disabled-background: var(--bp-surface);
  --ck-color-input-disabled-border: var(--bp-border);
  --ck-color-input-disabled-text: var(--bp-muted);
  --ck-color-list-background: var(--bp-panel-solid);
  --ck-color-list-button-hover-background: var(--bp-surface-3);
  --ck-color-list-button-on-background: var(--bp-accent-solid);
  --ck-color-list-button-on-background-focus: var(--bp-accent-solid);
  --ck-color-list-button-on-text: #fff;
  --ck-color-panel-background: var(--bp-panel-solid);
  --ck-color-panel-border: rgba(255,255,255,0.16);
  --ck-color-toolbar-background: var(--bp-surface-2);
  --ck-color-toolbar-border: rgba(255,255,255,0.16);
  --ck-color-tooltip-background: var(--bp-surface-3);
  --ck-color-tooltip-text: var(--bp-text);
  --ck-color-engine-placeholder-text: var(--bp-muted);
  --ck-color-link-default: var(--bp-accent);
  --ck-color-link-selected-background: rgba(214,60,65,0.2);
  --ck-color-link-fake-selection: rgba(214,60,65,0.3);
  --ck-color-widget-blurred-border: rgba(255,255,255,0.2);
  --ck-color-widget-hover-border: var(--bp-accent);
  --ck-color-widget-editable-focus-background: var(--bp-surface);
  --ck-color-split-button-hover-background: var(--bp-surface-3);
  --ck-color-split-button-hover-border: rgba(255,255,255,0.16);
  --ck-color-labeled-field-label-background: var(--bp-surface-2);
  --ck-color-switch-button-off-background: #4a4a50;
  --ck-color-switch-button-on-background: var(--bp-accent-solid);
  --ck-color-switch-button-inner-background: #fff;
}
[data-theme="dark"] .ck.ck-editor__editable:not(.ck-editor__nested-editable) { background: var(--bp-surface) !important; color: var(--bp-text); border-color: rgba(255,255,255,0.16); }
[data-theme="dark"] .ck.ck-toolbar { background: var(--bp-surface-2) !important; border-color: rgba(255,255,255,0.16) !important; }
[data-theme="dark"] .ck.ck-toolbar .ck-toolbar__separator { background: rgba(255,255,255,0.16); }
[data-theme="dark"] .ck.ck-button, [data-theme="dark"] .ck.ck-button .ck-button__label, [data-theme="dark"] a.ck.ck-button { color: var(--bp-text); }
[data-theme="dark"] .ck.ck-button .ck-icon, [data-theme="dark"] .ck.ck-button .ck-icon * { color: inherit; }
[data-theme="dark"] .ck.ck-button.ck-on { color: var(--bp-accent); }
[data-theme="dark"] .ck.ck-dropdown__panel, [data-theme="dark"] .ck.ck-balloon-panel { background: var(--bp-panel-solid) !important; border-color: rgba(255,255,255,0.16) !important; color: var(--bp-text); }
[data-theme="dark"] .ck.ck-balloon-panel::after, [data-theme="dark"] .ck.ck-balloon-panel::before { border-color: transparent; }
[data-theme="dark"] .ck.ck-dropdown .ck-button.ck-dropdown__button .ck-button__label { color: var(--bp-text); }
[data-theme="dark"] .ck.ck-heading-dropdown .ck-list__item .ck-button .ck-button__label { color: var(--bp-text); }
[data-theme="dark"] .ck.ck-list__item .ck-button.ck-on { background: var(--bp-accent-solid); color: #fff; }
[data-theme="dark"] .ck.ck-list__item .ck-button.ck-on .ck-button__label { color: #fff; }
[data-theme="dark"] .ck-body-wrapper .ck-powered-by-balloon { background: var(--bp-panel-solid); }

/* 약관/정책 편집(general-info-edit) 인라인 <style> 의 편집 영역 제목·본문 글자색 */
[data-theme="dark"] .gi-ck-wrap .ck-content h2 { color: var(--bp-text) !important; }
[data-theme="dark"] .gi-ck-wrap .ck-content p { color: var(--bp-text) !important; }
/* CKEditor 하단 "Powered by" 라벨(풍선 패널) 글자색 */
[data-theme="dark"] .ck.ck-powered-by, [data-theme="dark"] .ck.ck-powered-by a, [data-theme="dark"] .ck.ck-powered-by .ck-powered-by__label { color: var(--bp-text-2) !important; }
[data-theme="dark"] .ck.ck-powered-by .ck-icon { color: var(--bp-text-2); }

/* ---------- [DARK-ADMIN] 관리자 로그인(admin/auth/login.blade.php, 독립 문서 — 자체 <style> 의 element/class 규칙 덮어쓰기) ---------- */
[data-theme="dark"] .login-card { background: var(--bp-surface); box-shadow: 0 2px 8px rgba(0,0,0,0.5), 0 0 0 1px var(--bp-border); }
[data-theme="dark"] .login-card h1 { color: var(--bp-text); }
[data-theme="dark"] .login-card label { color: var(--bp-text-2); }
[data-theme="dark"] .login-card input { background-color: var(--bp-surface-2); color: var(--bp-text); border-color: rgba(255,255,255,0.16); }
[data-theme="dark"] .login-card button { background: var(--bp-accent-solid); color: #fff; }
[data-theme="dark"] .login-card button:hover { background: #c0353a; }
[data-theme="dark"] .login-card .error { background: rgba(214,60,65,0.16); color: var(--bp-accent); }

/* ==========================================================================
   [DARK-ADMIN-PANEL] 관리자 "눌러야 열리는" 등록 패널 다크 (2026-11-13, 11단계)
   - 원인: Alpine x-show 패널(youtube-channel-list·news-source-list 의 "새 채널/언론사 등록")은 Alpine 이
     style 속성을 재직렬화해 `background:#f0fdf4` 가 `background: rgb(240, 253, 244)` 로 바뀐다 → 기존 [style*="#f0fdf4"] 규칙이 안 맞음.
     그래서 hex·rgb 두 표기를 모두 잡는다.
   - 기준: 금기어 관리 "금기어 추가" 박스(다크 실측: 배경 surface #1e1e21 / 테두리 rgba(255,255,255,.14) 1px / 모서리 6px /
     제목 text / 라벨 text-2 / 입력칸 surface-2 + 테두리 rgba(255,255,255,.12) + text / 취소 surface-3 무테 / 등록 accent-solid)
   - 선택자는 전부 [data-theme="dark"] 로 시작. 그라디언트·blur·새 position/z-index 없음.
   ========================================================================== */
/* 패널 본체 */
[data-theme="dark"] .admin-content :is([style*="#f0fdf4"][style*="#bbf7d0"], [style*="rgb(240, 253, 244)"][style*="rgb(187, 247, 208)"]) {
  background-color: var(--bp-surface) !important;
  border-color: rgba(255,255,255,0.14) !important;
  box-shadow: 0 1px 3px rgba(0,0,0,0.5) !important;
  color: var(--bp-text) !important;
}
/* 제목 (초록 → 기본 글자색) */
[data-theme="dark"] .admin-content :is([style*="#f0fdf4"][style*="#bbf7d0"], [style*="rgb(240, 253, 244)"][style*="rgb(187, 247, 208)"]) h2 { color: var(--bp-text) !important; }
/* 라벨 = text-2, 라벨 안 보조 안내 = muted, 강조 안내(파랑) = text-2 */
[data-theme="dark"] .admin-content :is([style*="#f0fdf4"][style*="#bbf7d0"], [style*="rgb(240, 253, 244)"][style*="rgb(187, 247, 208)"]) label { color: var(--bp-text-2) !important; }
[data-theme="dark"] .admin-content :is([style*="#f0fdf4"][style*="#bbf7d0"], [style*="rgb(240, 253, 244)"][style*="rgb(187, 247, 208)"]) label span { color: var(--bp-muted) !important; }
[data-theme="dark"] .admin-content :is([style*="#f0fdf4"][style*="#bbf7d0"], [style*="rgb(240, 253, 244)"][style*="rgb(187, 247, 208)"]) label span[style*="#2563eb"] { color: var(--bp-text-2) !important; }
/* 하단 안내문 = muted */
[data-theme="dark"] .admin-content :is([style*="#f0fdf4"][style*="#bbf7d0"], [style*="rgb(240, 253, 244)"][style*="rgb(187, 247, 208)"]) > p { color: var(--bp-muted) !important; }
/* 입력칸·select (금기어 입력칸과 동일) */
[data-theme="dark"] .admin-content :is([style*="#f0fdf4"][style*="#bbf7d0"], [style*="rgb(240, 253, 244)"][style*="rgb(187, 247, 208)"]) :is(input, select, textarea) {
  background-color: var(--bp-surface-2) !important;
  border-color: rgba(255,255,255,0.12) !important;
  color: var(--bp-text) !important;
}
[data-theme="dark"] .admin-content :is([style*="#f0fdf4"][style*="#bbf7d0"], [style*="rgb(240, 253, 244)"][style*="rgb(187, 247, 208)"]) :is(input, textarea)::placeholder { color: var(--bp-muted) !important; opacity: 1; }
/* 취소 버튼 (금기어 추가 박스의 취소와 동일: surface-3 · 무테 · text). 등록 버튼은 기존 accent-solid 유지 */
[data-theme="dark"] .admin-content :is([style*="#f0fdf4"][style*="#bbf7d0"], [style*="rgb(240, 253, 244)"][style*="rgb(187, 247, 208)"]) button[style*="background:#f3f4f6"] {
  background-color: var(--bp-surface-3) !important;
  color: var(--bp-text) !important;
  border-width: 0 !important;
}
/* 광고 단위 "위치 보기" 모달 미니맵(SVG 속성 fill/stroke — 라이트 하드코딩 → 다크 토큰) */
[data-theme="dark"] .admin-content svg rect[fill="#ffffff"] { fill: var(--bp-surface-2) !important; }
[data-theme="dark"] .admin-content svg rect[fill="#fafafa"] { fill: var(--bp-surface) !important; }
[data-theme="dark"] .admin-content svg rect[fill="#f3f4f6"] { fill: var(--bp-surface-3) !important; }
[data-theme="dark"] .admin-content svg rect[stroke="#e5e7eb"], [data-theme="dark"] .admin-content svg rect[stroke="#d1d5db"] { stroke: rgba(255,255,255,0.22) !important; }
[data-theme="dark"] .admin-content svg rect[fill="#e5e7eb"] { fill: var(--bp-surface-3) !important; }
[data-theme="dark"] .admin-content svg rect[fill="#2563eb"] { fill: var(--bp-accent-solid) !important; }
[data-theme="dark"] .admin-content svg rect[stroke="#1d4ed8"] { stroke: var(--bp-accent) !important; }
[data-theme="dark"] .admin-content svg text[fill="#9ca3af"], [data-theme="dark"] .admin-content svg text[fill="#c4c8d0"] { fill: var(--bp-muted) !important; }
/* 표 안 행 수정 모드의 select (입력칸과 같은 surface-2 + 테두리 .12 — 기존엔 background:white→surface, 파랑 편집 테두리→.22 로 입력칸과 어긋남) */
[data-theme="dark"] .admin-content td select {
  background-color: var(--bp-surface-2) !important;
  border-color: rgba(255,255,255,0.12) !important;
  color: var(--bp-text) !important;
}

/* [BNR-GAP 2026-11-13] 다크: 라이트에서는 회색 띠(#f9fafb+border-top)가 "가장 가까운 경계"라 가려져 있던 메인 하단 여백(인라인 padding-bottom:28px, 모바일 main>.box-light padding-bottom 0.4rem)이 다크에서 드러나 배너 위가 벌어짐 → 하단 배너가 있는 페이지에서만 0 으로 */
[data-theme="dark"] main:has(+ .bp-hbanner-wrap) > .box-light { padding-bottom: 0 !important; }
[data-theme="dark"] main:has(+ .bp-hbanner-wrap) div[style*="padding-bottom:28px"] { padding-bottom: 0 !important; }
