/* board-editor-page.css: 글 작성·수정·제보 폼 라이트 테마 (chrome/header/footer 제외) */

/* ===== 페이지 배경 ===== */

body.darkthread-editor-page.darkthread-main-bg {
    background: transparent;
}

body.darkthread-editor-page.darkthread-main-bg #darkthread-main,
body.darkthread-editor-page.darkthread-main-bg #darkthread-highlights,
body.darkthread-editor-page.darkthread-main-bg #darkthread-content,
body.darkthread-editor-page.darkthread-main-bg .content-frame {
    background: transparent !important;
}

html.darkthread-board-list-v2-theme-light body.darkthread-editor-page.darkthread-main-bg,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light.darkthread-main-bg {
    color: var(--dt-fg);
}

html.darkthread-board-list-v2-theme-light body.darkthread-editor-page.darkthread-main-bg::before,
html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .darkthread-blood-layer,
html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .noise::before,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light.darkthread-main-bg::before,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .darkthread-blood-layer,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .noise::before {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

html.darkthread-board-list-v2-theme-light body.darkthread-editor-page > .noise,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light > .noise {
    background: transparent !important;
    background-color: transparent !important;
}

html.darkthread-board-list-v2-theme-light body.darkthread-editor-page #darkthread-main,
html.darkthread-board-list-v2-theme-light body.darkthread-editor-page #darkthread-highlights,
html.darkthread-board-list-v2-theme-light body.darkthread-editor-page #darkthread-content,
html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .content-frame,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light #darkthread-main,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light #darkthread-highlights,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light #darkthread-content,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .content-frame {
    background: transparent !important;
}

/* ===== 3열 셸 · 사이드바 ===== */

html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .darkthread-page-shell,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .darkthread-page-shell {
    border-color: #e5e7eb;
    background: rgba(255, 255, 255, 0.9);
    color: var(--dt-fg);
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.06),
        0 12px 32px rgba(15, 23, 42, 0.06);
}

body.darkthread-editor-page.darkthread-main-bg:not(.darkthread-board-list-v2-theme-light):not(:has(#dtV2ThemeLight:checked)) .darkthread-page-shell {
    background: rgba(5, 5, 5, 0.9);
}

html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .darkthread-page-shell > .darkthread-page-sidebar:first-child,
html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .darkthread-page-shell > .darkthread-page-sidebar:last-child,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .darkthread-page-shell > .darkthread-page-sidebar:first-child,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .darkthread-page-shell > .darkthread-page-sidebar:last-child {
    border-color: #e5e7eb;
}

html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .darkthread-page-sidebar-header,
html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .darkthread-page-sidebar-quick,
html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .darkthread-page-sidebar-stats,
html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .darkthread-page-sidebar-divider,
html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .darkthread-page-notes,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .darkthread-page-sidebar-header,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .darkthread-page-sidebar-quick,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .darkthread-page-sidebar-stats,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .darkthread-page-sidebar-divider,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .darkthread-page-notes {
    border-color: #e5e7eb;
}

html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .darkthread-page-sidebar-title,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .darkthread-page-sidebar-title {
    color: var(--dt-fg-strong);
}

html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .darkthread-page-sidebar-kicker,
html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .darkthread-page-sidebar-stat-label,
html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .darkthread-page-sidebar-section,
html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .darkthread-page-notes-title,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .darkthread-page-sidebar-kicker,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .darkthread-page-sidebar-stat-label,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .darkthread-page-sidebar-section,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .darkthread-page-notes-title {
    color: var(--dt-fg-soft);
}

html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .darkthread-page-sidebar-stat-value,
html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .darkthread-page-notes-list,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .darkthread-page-sidebar-stat-value,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .darkthread-page-notes-list {
    color: var(--dt-fg);
}

html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .darkthread-page-menu-item,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .darkthread-page-menu-item {
    color: var(--dt-fg-muted);
}

html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .darkthread-page-menu-item:hover,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .darkthread-page-menu-item:hover {
    background: #f1f5f9;
    color: var(--dt-fg-strong);
}

html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .darkthread-page-menu-item.is-active,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .darkthread-page-menu-item.is-active {
    background: #fef2f2;
    color: var(--dt-fg-nav-current);
}

/* 사이드바 «바로가기» */
html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .darkthread-page-sidebar-quick-heading,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .darkthread-page-sidebar-quick-heading {
    color: var(--dt-fg-muted);
}

html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .darkthread-page-sidebar-quick-toggle-icon,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .darkthread-page-sidebar-quick-toggle-icon {
    color: var(--dt-fg-soft);
}

html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .darkthread-page-sidebar-quick-link,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .darkthread-page-sidebar-quick-link {
    color: var(--dt-fg);
}

html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .darkthread-page-sidebar-quick-title i,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .darkthread-page-sidebar-quick-title i {
    color: var(--dt-fg-soft);
}

html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .darkthread-page-sidebar-quick-link::after,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .darkthread-page-sidebar-quick-link::after {
    color: var(--dt-fg-muted);
}

html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .darkthread-page-sidebar-quick-link:hover,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .darkthread-page-sidebar-quick-link:hover {
    background: #f1f5f9;
    color: var(--dt-fg-strong);
}

html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .darkthread-page-sidebar-quick-link:hover::after,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .darkthread-page-sidebar-quick-link:hover::after {
    color: var(--dt-fg-soft);
}

html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .darkthread-page-sidebar-quick-link.is-active,
html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .darkthread-page-sidebar-quick-link[aria-current='page'],
html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .darkthread-page-sidebar-quick-link[aria-current='true'],
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .darkthread-page-sidebar-quick-link.is-active,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .darkthread-page-sidebar-quick-link[aria-current='page'],
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .darkthread-page-sidebar-quick-link[aria-current='true'] {
    background: #fef2f2;
    color: var(--dt-fg-nav-current);
    box-shadow: inset 0 0 0 1px #fecaca;
}

html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .darkthread-page-sidebar-quick-link.is-active .darkthread-page-sidebar-quick-title i,
html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .darkthread-page-sidebar-quick-link[aria-current='page'] .darkthread-page-sidebar-quick-title i,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .darkthread-page-sidebar-quick-link.is-active .darkthread-page-sidebar-quick-title i,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .darkthread-page-sidebar-quick-link[aria-current='page'] .darkthread-page-sidebar-quick-title i {
    color: var(--dt-fg-danger);
}

/* ===== 폼 · 알림 ===== */

html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .notice-admin-label,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .notice-admin-label {
    color: var(--dt-fg-strong);
}

html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .notice-admin-group,
html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .notice-admin-group .notice-admin-field + .notice-admin-field,
html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .darkthread-page-body .darkthread-comment-panel ~ .notice-admin-actions,
html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .darkthread-page-body > .darkthread-page-flow > .board-view-panel + .notice-admin-actions,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .notice-admin-group,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .notice-admin-group .notice-admin-field + .notice-admin-field {
    border-color: #e5e7eb;
}

html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .notice-admin-input,
html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .notice-admin-textarea,
html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .notice-admin-toggle,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .notice-admin-input,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .notice-admin-textarea,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .notice-admin-toggle {
    border-color: #d1d5db;
    background: #fff;
    color: var(--dt-fg-strong);
}

html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .notice-admin-input::placeholder,
html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .notice-admin-textarea::placeholder,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .notice-admin-input::placeholder,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .notice-admin-textarea::placeholder {
    color: var(--dt-fg-muted);
}

html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .notice-admin-input:focus,
html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .notice-admin-textarea:focus,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .notice-admin-input:focus,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .notice-admin-textarea:focus {
    border-color: #f87171;
    background: #fff;
    box-shadow: 0 0 0 1px rgba(248, 113, 113, 0.2);
}

html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .notice-admin-toggle.darkthread-mascot-enable-switch,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .notice-admin-toggle.darkthread-mascot-enable-switch {
    border-color: #e5e7eb;
    background: #f8fafc;
}

html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .notice-admin-button,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .notice-admin-button {
    border-color: #d1d5db;
    background: #f8fafc;
    color: var(--dt-fg);
}

html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .notice-admin-button:hover,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .notice-admin-button:hover {
    background: #f1f5f9;
    border-color: var(--dt-fg-muted);
    color: var(--dt-fg-strong);
}

html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .notice-admin-button.is-primary,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .notice-admin-button.is-primary {
    border-color: var(--dt-fg-danger);
    background: #991b1b;
    color: #fff;
}

html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .notice-admin-button.is-primary:hover,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .notice-admin-button.is-primary:hover {
    background: #7f1d1d;
    border-color: var(--dt-fg-nav-current);
}

html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .darkthread-post-title-input,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .darkthread-post-title-input {
    border-color: #e5e7eb;
    color: var(--dt-fg-strong);
}

html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .darkthread-post-title-input:focus,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .darkthread-post-title-input:focus {
    border-color: #f87171;
}

html.darkthread-board-list-v2-theme-light body.darkthread-editor-page,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light {
    color: var(--dt-fg);
}

html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .darkthread-page-body,
html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .darkthread-page-content,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .darkthread-page-body,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .darkthread-page-content {
    color: var(--dt-fg);
}

html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .text-white,
html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .dt-text,
html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .text-slate-100,
html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .text-slate-200,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .text-white,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .dt-text,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .text-slate-100,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .text-slate-200 {
    color: var(--dt-fg-strong) !important;
}

html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .dt-text-muted,
html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .dt-text-soft,
html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .text-slate-300,
html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .text-slate-400,
html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .text-slate-500,
html.darkthread-board-list-v2-theme-light body.darkthread-editor-page label.dt-text-soft,
html.darkthread-board-list-v2-theme-light body.darkthread-editor-page label.text-slate-400,
html.darkthread-board-list-v2-theme-light body.darkthread-editor-page [data-category-description-text],
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .dt-text-muted,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .dt-text-soft,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .text-slate-300,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .text-slate-400,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .text-slate-500,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light label.dt-text-soft,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light label.text-slate-400,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light [data-category-description-text] {
    color: var(--dt-fg-soft) !important;
}

html.darkthread-board-list-v2-theme-light body.darkthread-editor-page [class*='border-red-500/15'][class*='bg-red-500/10'],
body.darkthread-editor-page.darkthread-board-list-v2-theme-light [class*='border-red-500/15'][class*='bg-red-500/10'] {
    border-color: #fecaca !important;
    background: #fef2f2 !important;
    color: var(--dt-fg-nav-current) !important;
}

html.darkthread-board-list-v2-theme-light body.darkthread-editor-page [class*='border-emerald-500/20'][class*='bg-emerald-500/10'],
body.darkthread-editor-page.darkthread-board-list-v2-theme-light [class*='border-emerald-500/20'][class*='bg-emerald-500/10'] {
    border-color: #a7f3d0 !important;
    background: #ecfdf5 !important;
    color: #047857 !important;
}

/* ===== 분류 콤보박스 ===== */

html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .darkthread-page-body .tw-combobox-shell,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .darkthread-page-body .tw-combobox-shell {
    border-color: #d1d5db;
    background: #fff;
}

html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .darkthread-page-body .tw-combobox-shell:focus-within,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .darkthread-page-body .tw-combobox-shell:focus-within {
    border-color: #f87171;
    background: #fff;
    box-shadow: 0 0 0 1px rgba(248, 113, 113, 0.2);
}

html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .darkthread-page-body .tw-combobox-display,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .darkthread-page-body .tw-combobox-display {
    color: var(--dt-fg-strong);
}

html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .darkthread-page-body .tw-combobox-display.is-placeholder,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .darkthread-page-body .tw-combobox-display.is-placeholder {
    color: var(--dt-fg-muted);
}

html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .darkthread-page-body .tw-combobox-button,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .darkthread-page-body .tw-combobox-button {
    color: var(--dt-fg-soft);
}

html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .darkthread-page-body .tw-combobox-button:hover,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .darkthread-page-body .tw-combobox-button:hover {
    color: var(--dt-fg-strong);
}

html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .darkthread-page-body .tw-combobox-panel,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .darkthread-page-body .tw-combobox-panel {
    border-color: #e5e7eb;
    background: #fff;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}

html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .darkthread-page-body .tw-combobox-option,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .darkthread-page-body .tw-combobox-option {
    color: var(--dt-fg-muted);
}

html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .darkthread-page-body .tw-combobox-option:hover,
html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .darkthread-page-body .tw-combobox-option.is-active,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .darkthread-page-body .tw-combobox-option:hover,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .darkthread-page-body .tw-combobox-option.is-active {
    border-color: #e5e7eb;
    color: var(--dt-fg-strong);
}

html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .darkthread-page-body .tw-combobox-option.is-selected,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .darkthread-page-body .tw-combobox-option.is-selected {
    border-color: #fecaca;
    color: var(--dt-fg-nav-current);
}

/* ===== 관련 글 ===== */

body.darkthread-editor-page:not(.darkthread-board-list-v2-theme-light):not(:has(#dtV2ThemeLight:checked)) .board-related-search {
    border-color: color-mix(in srgb, var(--dt-v2-crimson-accent) 45%, rgba(255, 255, 255, 0.12)) !important;
    background: color-mix(in srgb, var(--dt-v2-crimson-accent) 12%, rgba(0, 0, 0, 0.35)) !important;
}

body.darkthread-editor-page:not(.darkthread-board-list-v2-theme-light):not(:has(#dtV2ThemeLight:checked)) .board-related-search:focus {
    border-color: color-mix(in srgb, var(--dt-v2-crimson-accent-strong) 72%, rgba(248, 113, 113, 0.35)) !important;
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--dt-v2-crimson-accent) 32%, transparent);
}

html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .board-related-field-count,
html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .board-related-field-hint,
html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .board-related-list-empty,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .board-related-field-count,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .board-related-field-hint,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .board-related-list-empty {
    color: var(--dt-fg-soft);
}

html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .board-related-field-count strong,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .board-related-field-count strong {
    color: var(--dt-fg-strong);
}

html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .board-related-chip,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .board-related-chip {
    border-color: #e5e7eb;
    background: #f8fafc;
    color: var(--dt-fg);
}

html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .board-related-row,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .board-related-row {
    border-color: #e5e7eb;
    background: #f8fafc;
}

html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .board-related-row-title,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .board-related-row-title {
    color: var(--dt-fg-strong);
}

html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .board-related-row-meta,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .board-related-row-meta {
    color: var(--dt-fg-soft);
}

html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .board-related-list-error,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .board-related-list-error {
    color: var(--dt-fg-danger);
}

/* ===== 국문/영문 탭 ===== */

html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .tw-tabs-root,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .tw-tabs-root {
    border-bottom-color: #e5e7eb;
}

html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .tw-tabs-btn,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .tw-tabs-btn {
    color: var(--dt-fg-soft);
}

html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .tw-tabs-btn-active,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .tw-tabs-btn-active {
    color: var(--dt-fg-nav-current);
}

html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .tw-tabs-btn-active::after,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .tw-tabs-btn-active::after {
    background: #b91c1c;
}

html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .tw-tabs-btn:not(.tw-tabs-btn-active):hover,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .tw-tabs-btn:not(.tw-tabs-btn-active):hover {
    color: var(--dt-fg);
}

/* ===== 분류 pill (작성/수정) ===== */

html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .darkthread-category-pill:not(.is-active),
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .darkthread-category-pill:not(.is-active) {
    border-color: #d1d5db;
    background: #f8fafc;
    color: var(--dt-fg);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .darkthread-category-pill:not(.is-active):hover,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .darkthread-category-pill:not(.is-active):hover {
    border-color: var(--dt-fg-muted);
    background: #f1f5f9;
    color: var(--dt-fg-strong);
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
}

html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .darkthread-category-pill.is-active,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .darkthread-category-pill.is-active {
    border-color: var(--dt-fg-danger);
    background: linear-gradient(180deg, #fef2f2 0%, #fee2e2 48%, #fecaca 100%);
    color: var(--dt-fg-nav-current);
    box-shadow: 0 2px 8px rgba(185, 28, 28, 0.16);
}

html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .darkthread-editor-category-scroll.is-category-scrollable .darkthread-editor-category-scroll-hint,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .darkthread-editor-category-scroll.is-category-scrollable .darkthread-editor-category-scroll-hint {
    color: var(--dt-fg-soft);
}

html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .darkthread-editor-category-scroll-hint--left,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .darkthread-editor-category-scroll-hint--left {
    background: linear-gradient(to right, var(--dt-v2-bg, rgba(255, 255, 255, 0.92)) 35%, transparent);
}

html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .darkthread-editor-category-scroll-hint--right,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .darkthread-editor-category-scroll-hint--right {
    background: linear-gradient(to left, var(--dt-v2-bg, rgba(255, 255, 255, 0.92)) 35%, transparent);
}

/* ===== 제목 복사 버튼 ===== */

html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .darkthread-title-copy-button,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .darkthread-title-copy-button {
    border-color: #d1d5db;
    background: #fff;
    color: var(--dt-fg-soft);
}

html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .darkthread-title-copy-button:hover,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .darkthread-title-copy-button:hover {
    border-color: var(--dt-fg-muted);
    background: #f8fafc;
    color: var(--dt-fg);
}

/* ===== TipTap Simple Editor ===== */

html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .dt-simple-editor,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .dt-simple-editor,
html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .darkthread-board-editor-article,
html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .darkthread-board-report-article,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .darkthread-board-editor-article,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .darkthread-board-report-article {
    --dt-se-border: rgba(0, 0, 0, 0.1);
    --dt-se-text: #1f2937;
    --dt-se-muted: #64748b;
    --dt-se-accent: #b91c1c;
    --dt-se-body-bg: rgba(255, 255, 255, 0.96);
    --dt-se-chrome: rgba(255, 255, 255, 0.92);
}

/* v2 작성·수정: 에디터 카드·툴바 — 다크와 동일한 글라스 톤 */
html.darkthread-board-list-v2-theme-light body.darkthread-editor-page.darkthread-board-view-v2-page .dt-simple-editor__card,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light.darkthread-board-view-v2-page .dt-simple-editor__card {
    background: var(--dt-se-chrome);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.06) inset,
        0 12px 32px rgba(15, 23, 42, 0.08);
}

html.darkthread-board-list-v2-theme-light body.darkthread-editor-page.darkthread-board-view-v2-page .dt-simple-editor__toolbar-sticky,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light.darkthread-board-view-v2-page .dt-simple-editor__toolbar-sticky {
    background: var(--dt-se-chrome) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

body.darkthread-editor-page.darkthread-board-view-v2-page:not(.darkthread-board-list-v2-theme-light) .darkthread-board-editor-article,
body.darkthread-editor-page.darkthread-board-view-v2-page:not(.darkthread-board-list-v2-theme-light) .darkthread-board-report-article,
html.darkthread-board-list-v2-theme-dark body.darkthread-editor-page .darkthread-board-editor-article,
html.darkthread-board-list-v2-theme-dark body.darkthread-editor-page .darkthread-board-report-article {
    --dt-se-body-bg: #020202;
}

html.darkthread-board-list-v2-theme-light body.darkthread-editor-page:not(.darkthread-board-view-v2-page) .dt-simple-editor__card,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light:not(.darkthread-board-view-v2-page) .dt-simple-editor__card {
    border-color: #e5e7eb;
    background: #fff;
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.06),
        0 8px 24px rgba(15, 23, 42, 0.06);
}

html.darkthread-board-list-v2-theme-light body.darkthread-editor-page:not(.darkthread-board-view-v2-page) .dt-simple-editor__toolbar-sticky,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light:not(.darkthread-board-view-v2-page) .dt-simple-editor__toolbar-sticky {
    background: #f8fafc !important;
    border-bottom-color: #e5e7eb !important;
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.06) !important;
}

html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .dt-simple-editor__toolbar-group,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .dt-simple-editor__toolbar-group {
    border-right-color: #e5e7eb !important;
}

html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .dt-simple-editor__toolbar-scroll-hint,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .dt-simple-editor__toolbar-scroll-hint {
    color: var(--dt-fg-muted);
}

html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .dt-simple-editor__toolbar-scroll-hint--left,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .dt-simple-editor__toolbar-scroll-hint--left {
    background: linear-gradient(to right, var(--dt-se-chrome, rgba(255, 255, 255, 0.92)) 35%, transparent) !important;
}

html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .dt-simple-editor__toolbar-scroll-hint--right,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .dt-simple-editor__toolbar-scroll-hint--right {
    background: linear-gradient(to left, var(--dt-se-chrome, rgba(255, 255, 255, 0.92)) 35%, transparent) !important;
}

html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .dt-simple-editor__toolbar-pin-right,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .dt-simple-editor__toolbar-pin-right {
    background: linear-gradient(90deg, transparent 0%, var(--dt-se-chrome, rgba(255, 255, 255, 0.92)) 34%, var(--dt-se-chrome, rgba(255, 255, 255, 0.92)) 100%) !important;
}

html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .dt-simple-editor__select,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .dt-simple-editor__select {
    border-color: #d1d5db !important;
    background-color: #fff !important;
    color: var(--dt-fg) !important;
}

html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .dt-simple-editor__color,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .dt-simple-editor__color {
    border-color: #d1d5db !important;
    background: #fff !important;
}

html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .dt-simple-editor__btn,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .dt-simple-editor__btn {
    border-color: transparent;
    background: transparent;
    color: var(--dt-fg-muted);
}

html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .dt-simple-editor__btn:hover,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .dt-simple-editor__btn:hover {
    border-color: #e5e7eb !important;
    background: #fff !important;
    color: var(--dt-fg-strong) !important;
}

html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .dt-simple-editor__btn.is-active,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .dt-simple-editor__btn.is-active {
    border-color: #fecaca !important;
    background: #fef2f2 !important;
    color: var(--dt-fg-nav-current) !important;
}

html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .dt-simple-editor__color-preset:hover,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .dt-simple-editor__color-preset:hover {
    border-color: #e5e7eb !important;
    background: #fff !important;
}

html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .dt-simple-editor__color-preset.is-active,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .dt-simple-editor__color-preset.is-active {
    border-color: #fecaca !important;
    background: #fef2f2 !important;
}

html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .dt-simple-editor__toolbar-field-label,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .dt-simple-editor__toolbar-field-label {
    color: var(--dt-fg-soft) !important;
}

html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .dt-simple-editor__host,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .dt-simple-editor__host {
    background: var(--dt-se-body-bg, rgba(255, 255, 255, 0.96)) !important;
}

html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .dt-simple-editor__status,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .dt-simple-editor__status {
    border-top-color: #e5e7eb !important;
    background: #f8fafc !important;
    color: var(--dt-fg-soft) !important;
}

html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .dt-simple-editor__status-value,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .dt-simple-editor__status-value {
    color: var(--dt-fg) !important;
}

html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .dt-simple-editor__host .ProseMirror,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .dt-simple-editor__host .ProseMirror {
    color: #1f2937 !important;
}

html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .dt-simple-editor__host .ProseMirror th,
html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .dt-simple-editor__host .ProseMirror td,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .dt-simple-editor__host .ProseMirror th,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .dt-simple-editor__host .ProseMirror td {
    border-color: #e5e7eb;
}

html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .dt-simple-editor__host .ProseMirror blockquote,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .dt-simple-editor__host .ProseMirror blockquote {
    border-left-color: rgba(248, 113, 113, 0.42);
    background: #f8fafc;
    color: var(--dt-fg);
}

html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .dt-simple-editor__host .ProseMirror pre,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .dt-simple-editor__host .ProseMirror pre {
    background: #f1f5f9;
    color: #1e293b;
}

html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .dt-simple-editor__host .ProseMirror code,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .dt-simple-editor__host .ProseMirror code {
    background: #f1f5f9;
    color: var(--dt-fg-nav-current);
}

html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .dt-simple-editor__host .ProseMirror :is(h1, h2, h3),
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .dt-simple-editor__host .ProseMirror :is(h1, h2, h3) {
    color: var(--dt-fg-strong) !important;
}

html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .dt-simple-editor__host .ProseMirror th,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .dt-simple-editor__host .ProseMirror th {
    background: #f1f5f9 !important;
    color: var(--dt-fg) !important;
}

html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .dt-simple-editor__host .ProseMirror li::marker,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .dt-simple-editor__host .ProseMirror li::marker {
    color: var(--dt-fg-muted) !important;
}

html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .dt-simple-editor__host .ProseMirror a,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .dt-simple-editor__host .ProseMirror a {
    color: var(--dt-fg-danger);
}

/* 취소 버튼 등 보조 액션 — 테두리 대비 강화 */
html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .notice-admin-button:not(.is-primary),
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .notice-admin-button:not(.is-primary) {
    border-color: #cbd5e1 !important;
    background: #fff !important;
    color: var(--dt-fg) !important;
}

html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .notice-admin-button:not(.is-primary):hover,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .notice-admin-button:not(.is-primary):hover {
    border-color: var(--dt-fg-muted) !important;
    background: #f8fafc !important;
    color: var(--dt-fg-strong) !important;
}

/* ===== 작성 폼 모달 ===== */

html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .tw-modaldialogs el-dialog-backdrop,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .tw-modaldialogs el-dialog-backdrop {
    background: rgba(15, 23, 42, 0.32) !important;
}

html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .tw-modaldialogs el-dialog-panel,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .tw-modaldialogs el-dialog-panel {
    border-color: #e5e7eb;
    background: #fff !important;
    color: var(--dt-fg);
    box-shadow: 0 22px 48px rgba(15, 23, 42, 0.16);
    outline-color: #fecaca !important;
}

html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .tw-modaldialogs el-dialog-panel h1,
html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .tw-modaldialogs el-dialog-panel h2,
html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .tw-modaldialogs el-dialog-panel h3,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .tw-modaldialogs el-dialog-panel h1,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .tw-modaldialogs el-dialog-panel h2,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .tw-modaldialogs el-dialog-panel h3 {
    color: var(--dt-fg-strong);
}

html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .tw-modaldialogs el-dialog-panel label,
html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .tw-modaldialogs el-dialog-panel li,
html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .tw-modaldialogs el-dialog-panel .dt-text-muted,
html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .tw-modaldialogs el-dialog-panel .text-slate-300,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .tw-modaldialogs el-dialog-panel label,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .tw-modaldialogs el-dialog-panel li,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .tw-modaldialogs el-dialog-panel .dt-text-muted,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .tw-modaldialogs el-dialog-panel .text-slate-300 {
    color: var(--dt-fg-soft) !important;
}

html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .tw-modaldialogs el-dialog-panel .tw-modaldialogs-modal-footer,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .tw-modaldialogs el-dialog-panel .tw-modaldialogs-modal-footer {
    border-top-color: #e5e7eb;
    background: #f8fafc !important;
    box-shadow: none;
}

html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .tw-modaldialogs .text-white,
html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .tw-modaldialogs .dt-text,
html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .tw-modaldialogs .dt-text-soft,
html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .tw-modaldialogs .text-slate-100,
html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .tw-modaldialogs .text-slate-200,
html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .tw-modaldialogs .text-slate-400,
html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .tw-modaldialogs .text-slate-500,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .tw-modaldialogs .text-white,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .tw-modaldialogs .dt-text,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .tw-modaldialogs .dt-text-soft,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .tw-modaldialogs .text-slate-100,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .tw-modaldialogs .text-slate-200,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .tw-modaldialogs .text-slate-400,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .tw-modaldialogs .text-slate-500 {
    color: var(--dt-fg-soft) !important;
}

html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .tw-modaldialogs h2.text-white,
html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .tw-modaldialogs h2.text-base,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .tw-modaldialogs h2.text-white,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .tw-modaldialogs h2.text-base {
    color: var(--dt-fg-strong) !important;
}

html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .board-related-search,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .board-related-search {
    border-color: #d1d5db !important;
    background: #fff !important;
    color: #1f2937 !important;
}

html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .board-related-search::placeholder,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .board-related-search::placeholder {
    color: var(--dt-fg-muted) !important;
}

html.darkthread-board-list-v2-theme-light body.darkthread-editor-page #board-related-close,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light #board-related-close {
    color: var(--dt-fg-soft) !important;
}

html.darkthread-board-list-v2-theme-light body.darkthread-editor-page #board-related-close:hover,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light #board-related-close:hover {
    background: #f1f5f9 !important;
    color: var(--dt-fg-strong) !important;
}

/* ===== v2 작성·수정 셸 (board-view-v2 레일·본문) ===== */

html.darkthread-board-list-v2-theme-light body.darkthread-editor-page.darkthread-board-view-v2-page .dt-v2-view-rail__label,
html.darkthread-board-list-v2-theme-light body.darkthread-editor-page.darkthread-board-view-v2-page .dt-v2-view-rail__name,
html.darkthread-board-list-v2-theme-light body.darkthread-editor-page.darkthread-board-view-v2-page .dt-v2-view-side__title,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light.darkthread-board-view-v2-page .dt-v2-view-rail__label,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light.darkthread-board-view-v2-page .dt-v2-view-rail__name,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light.darkthread-board-view-v2-page .dt-v2-view-side__title {
    color: var(--dt-fg-strong);
}

html.darkthread-board-list-v2-theme-light body.darkthread-editor-page.darkthread-board-view-v2-page .dt-v2-view-rail__bio,
html.darkthread-board-list-v2-theme-light body.darkthread-editor-page.darkthread-board-view-v2-page .dt-v2-view-rail__link,
html.darkthread-board-list-v2-theme-light body.darkthread-editor-page.darkthread-board-view-v2-page .dt-v2-view-side__guide-item,
html.darkthread-board-list-v2-theme-light body.darkthread-editor-page.darkthread-board-view-v2-page .darkthread-board-editor-locale-hint,
html.darkthread-board-list-v2-theme-light body.darkthread-editor-page.darkthread-board-view-v2-page .darkthread-board-editor-category-description,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light.darkthread-board-view-v2-page .dt-v2-view-rail__bio,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light.darkthread-board-view-v2-page .dt-v2-view-rail__link,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light.darkthread-board-view-v2-page .dt-v2-view-side__guide-item,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light.darkthread-board-view-v2-page .darkthread-board-editor-locale-hint,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light.darkthread-board-view-v2-page .darkthread-board-editor-category-description {
    color: #525252;
}

/* 제목 입력 — 에디터 본문(host)과 동일 배경 · 직각 테두리 */
html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .darkthread-board-editor-title-input.notice-admin-input,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .darkthread-board-editor-title-input.notice-admin-input {
    border: 1px solid var(--dt-se-border, #e5e7eb) !important;
    border-radius: 0 !important;
    background: var(--dt-se-body-bg, rgba(255, 255, 255, 0.96)) !important;
    box-shadow: none !important;
    color: var(--dt-fg-strong) !important;
}

html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .darkthread-board-editor-title-input.notice-admin-input:focus,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .darkthread-board-editor-title-input.notice-admin-input:focus {
    border-color: #f87171 !important;
    box-shadow: 0 0 0 1px rgba(248, 113, 113, 0.2) !important;
    background: var(--dt-se-body-bg, #fff) !important;
}

html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .darkthread-board-editor-title-input.notice-admin-input::placeholder,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .darkthread-board-editor-title-input.notice-admin-input::placeholder {
    color: var(--dt-fg-muted);
    opacity: 1;
}

body.darkthread-editor-page.darkthread-board-view-v2-page:not(.darkthread-board-list-v2-theme-light) .darkthread-board-editor-title-input.notice-admin-input,
html.darkthread-board-list-v2-theme-dark body.darkthread-editor-page .darkthread-board-editor-title-input.notice-admin-input {
    border: 1px solid rgba(148, 163, 184, 0.18) !important;
    border-radius: 0 !important;
    background: var(--dt-se-body-bg, #020202) !important;
    box-shadow: none !important;
    color: var(--dt-se-text, #e2e8f0) !important;
}

body.darkthread-editor-page.darkthread-board-view-v2-page:not(.darkthread-board-list-v2-theme-light) .darkthread-board-editor-title-input.notice-admin-input:focus,
html.darkthread-board-list-v2-theme-dark body.darkthread-editor-page .darkthread-board-editor-title-input.notice-admin-input:focus {
    border-color: rgba(248, 113, 113, 0.45) !important;
    box-shadow: 0 0 0 1px rgba(248, 113, 113, 0.14) !important;
}

/* 제보 본문 — 제목 입력과 동일 배경 · 직각 테두리 */
html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .darkthread-board-report-body.notice-admin-input,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .darkthread-board-report-body.notice-admin-input {
    border: 1px solid #e5e7eb !important;
    border-radius: 0 !important;
    background: var(--dt-se-body-bg, #fff) !important;
    box-shadow: none !important;
    color: var(--dt-fg-strong) !important;
}

html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .darkthread-board-report-body.notice-admin-input:focus,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .darkthread-board-report-body.notice-admin-input:focus {
    border-color: #f87171 !important;
    box-shadow: 0 0 0 1px rgba(248, 113, 113, 0.2) !important;
    background: var(--dt-se-body-bg, #fff) !important;
}

html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .darkthread-board-report-body.notice-admin-input::placeholder,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .darkthread-board-report-body.notice-admin-input::placeholder {
    color: var(--dt-fg-muted);
    opacity: 1;
}

body.darkthread-editor-page.darkthread-board-view-v2-page:not(.darkthread-board-list-v2-theme-light) .darkthread-board-report-body.notice-admin-input,
html.darkthread-board-list-v2-theme-dark body.darkthread-editor-page .darkthread-board-report-body.notice-admin-input {
    border: 1px solid rgba(148, 163, 184, 0.18) !important;
    border-radius: 0 !important;
    background: var(--dt-se-body-bg, #020202) !important;
    box-shadow: none !important;
    color: var(--dt-se-text, #e2e8f0) !important;
}

body.darkthread-editor-page.darkthread-board-view-v2-page:not(.darkthread-board-list-v2-theme-light) .darkthread-board-report-body.notice-admin-input:focus,
html.darkthread-board-list-v2-theme-dark body.darkthread-editor-page .darkthread-board-report-body.notice-admin-input:focus {
    border-color: rgba(248, 113, 113, 0.45) !important;
    box-shadow: 0 0 0 1px rgba(248, 113, 113, 0.14) !important;
}

/* 본문 상단 메타: 닉네임 가독성 · 왕관 간격 (레일과 동일) */
body.darkthread-editor-page.darkthread-board-view-v2-page .darkthread-view-post-byline-author {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-weight: 600;
}

body.darkthread-editor-page.darkthread-board-view-v2-page .darkthread-view-post-byline-author .darkthread-comment-admin-crown,
body.darkthread-editor-page.darkthread-board-view-v2-page .dt-v2-view-rail__name .darkthread-comment-admin-crown {
    margin: 0;
    flex-shrink: 0;
    transform: rotate(-7deg);
}

html.darkthread-board-list-v2-theme-light body.darkthread-editor-page.darkthread-board-view-v2-page .darkthread-view-post-byline-author,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light.darkthread-board-view-v2-page .darkthread-view-post-byline-author {
    color: var(--dt-fg-strong) !important;
}

html.darkthread-board-list-v2-theme-light body.darkthread-editor-page.darkthread-board-view-v2-page .darkthread-view-post-byline-meta,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light.darkthread-board-view-v2-page .darkthread-view-post-byline-meta {
    color: #525252 !important;
}

body.darkthread-editor-page .board-related-open.dt-btn-crimson {
    flex: none;
    width: auto;
    min-height: 0;
    max-width: 100%;
}

body.darkthread-editor-page .board-related-open.dt-btn-crimson i {
    font-size: 0.9em;
    line-height: 1;
    flex-shrink: 0;
}

html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .dt-simple-editor__host .ProseMirror p,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .dt-simple-editor__host .ProseMirror p {
    color: var(--dt-fg-strong);
}

html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .dt-simple-editor__host .ProseMirror :is(h1, h2, h3, h4, h5, h6),
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .dt-simple-editor__host .ProseMirror :is(h1, h2, h3, h4, h5, h6) {
    color: var(--dt-fg-strong) !important;
}

html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .darkthread-board-editor-actionbar .darkthread-category-pill:not(.is-active),
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .darkthread-board-editor-actionbar .darkthread-category-pill:not(.is-active) {
    border-color: #d1d5db !important;
    background: #f8fafc !important;
    color: var(--dt-fg) !important;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

/* ===== 작성·수정 설문 ===== */
body.darkthread-editor-page .board-poll-field {
    --dt-v2-crimson-accent: #6f1414;
    --dt-v2-crimson-accent-strong: #861c1c;
    margin-top: 0.35rem;
}

html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .board-poll-field,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .board-poll-field {
    --dt-v2-crimson-accent: #5c1010;
    --dt-v2-crimson-accent-strong: #721616;
}

body.darkthread-editor-page .darkthread-board-editor-option-title {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

body.darkthread-editor-page .darkthread-board-editor-option-icon {
    flex-shrink: 0;
    width: 1.05rem;
    text-align: center;
    font-size: 0.92rem;
    line-height: 1;
    color: #f5f5f5;
}

html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .darkthread-board-editor-option-icon,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .darkthread-board-editor-option-icon {
    color: #404040;
}

body.darkthread-editor-page .board-poll-field-hint {
    margin: 0.35rem 0 0;
    font-size: 0.82rem;
    color: var(--dt-fg-muted);
}

body.darkthread-editor-page .board-poll-options-wrap.is-hidden {
    display: none;
}

body.darkthread-editor-page .board-poll-options-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: 0.65rem;
}

body.darkthread-editor-page .board-poll-options-list {
    display: grid;
    gap: 0.5rem;
    margin-top: 0.55rem;
}

body.darkthread-editor-page .board-poll-option-row {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

body.darkthread-editor-page .board-poll-option-input {
    flex: 1;
}

body.darkthread-editor-page .board-poll-remove-option {
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: var(--dt-fg);
    border-radius: 0.65rem;
    padding: 0.35rem 0.65rem;
    font-size: 0.82rem;
    cursor: pointer;
}

body.darkthread-editor-page .board-poll-remove-option {
    width: 2.1rem;
    height: 2.1rem;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .board-poll-field-hint {
    color: var(--dt-fg-soft);
}

html.darkthread-board-list-v2-theme-light body.darkthread-editor-page .board-poll-remove-option,
body.darkthread-editor-page.darkthread-board-list-v2-theme-light .board-poll-remove-option {
    border-color: #d1d5db;
    background: #f8fafc;
    color: var(--dt-fg);
}
