:root[data-theme="dark"] .post-feed,
:root[data-theme="dark"] .post-article,
:root[data-theme="dark"] .blog-footer,
:root[data-theme="dark"] .gallery-hero,
:root[data-theme="dark"] .gallery-filter,
:root[data-theme="dark"] .gallery-filter select,
:root[data-theme="dark"] .gallery-filter a,
:root[data-theme="dark"] .gallery-card,
:root[data-theme="dark"] .admin-summary div,
:root[data-theme="dark"] .admin-section-nav,
:root[data-theme="dark"] .admin-section-hero,
:root[data-theme="dark"] .admin-section-stats span,
:root[data-theme="dark"] .admin-section-actions a,
:root[data-theme="dark"] .panel-action,
:root[data-theme="dark"] .draft-button,
:root[data-theme="dark"] .admin-panel,
:root[data-theme="dark"] .operation-check-card,
:root[data-theme="dark"] .system-status-card,
:root[data-theme="dark"] .news-log-grid div,
:root[data-theme="dark"] .news-event-list,
:root[data-theme="dark"] .editor-preview-box,
:root[data-theme="dark"] .post-preview,
:root[data-theme="dark"] .preview-refresh,
:root[data-theme="dark"] .ai-progress,
:root[data-theme="dark"] .ai-progress-steps li,
:root[data-theme="dark"] .comment-form,
:root[data-theme="dark"] .selected-image,
:root[data-theme="dark"] .existing-images label,
:root[data-theme="dark"] .editor-toolbar button,
:root[data-theme="dark"] .site-search,
:root[data-theme="dark"] .comment-form input,
:root[data-theme="dark"] .comment-form textarea,
:root[data-theme="dark"] .admin-panel input[type="text"],
:root[data-theme="dark"] .admin-panel input[type="search"],
:root[data-theme="dark"] .admin-panel input[type="password"],
:root[data-theme="dark"] .admin-panel input[type="time"],
:root[data-theme="dark"] .admin-panel input[type="file"],
:root[data-theme="dark"] .admin-panel textarea,
:root[data-theme="dark"] .admin-panel select {
    background-color: var(--paper);
    color: var(--ink);
}
:root[data-theme="dark"] .admin-section-nav a { color: #c2ccd2; }
:root[data-theme="dark"] .admin-section-nav a.active { color: #fff; }
:root[data-theme="dark"] .draft-button {
    border-color: rgba(255,255,255,.18);
    background: #0f1c24;
    color: var(--ink);
}
:root[data-theme="dark"] .draft-button:hover {
    border-color: rgba(3,165,106,.42);
    color: #dff8ed;
}
:root[data-theme="dark"] .feed-copy p,
:root[data-theme="dark"] .article-content,
:root[data-theme="dark"] .admin-list p,
:root[data-theme="dark"] .news-log-detail b,
:root[data-theme="dark"] .category-list a,
:root[data-theme="dark"] .archive-list a,
:root[data-theme="dark"] .popular-list a,
:root[data-theme="dark"] .topnav a,
:root[data-theme="dark"] .nav-button { color: var(--muted); }
:root[data-theme="dark"] .article-content blockquote { background: #10261e; color: #c8eadb; }
:root[data-theme="dark"] .news-date-note { background: #10261e; color: #c8eadb; }
:root[data-theme="dark"] .article-content > p:first-of-type,
:root[data-theme="dark"] .news-article .article-content > p:first-of-type {
    color: #dbe8ee;
}
:root[data-theme="dark"] .article-content h2.news-summary-title + ul li,
:root[data-theme="dark"] .article-content h2.news-reference-title + ul li {
    background: #102029;
    border-color: rgba(255,255,255,.1);
}
:root[data-theme="dark"] .article-content h2.news-reference-title + ul a { color: var(--ink); }
:root[data-theme="dark"] .news-article {
    background: linear-gradient(180deg, #102029, #0f1c24 260px), var(--paper);
    border-color: rgba(255,255,255,.12);
}
:root[data-theme="dark"] .news-article .article-header,
:root[data-theme="dark"] .news-article .article-content h2.news-section-title {
    border-color: rgba(255,255,255,.28);
}
:root[data-theme="dark"] .news-article .category-label,
:root[data-theme="dark"] .news-article .article-header::before {
    background: var(--ink);
    color: #0f1c24;
}
:root[data-theme="dark"] .news-article > .news-date-note {
    background: #10261e;
    border-color: rgba(255,255,255,.12);
    color: #c8eadb;
}
:root[data-theme="dark"] .news-article > .news-date-note::before {
    background: #0f1c24;
    color: var(--ink);
    border-color: rgba(255,255,255,.18);
}
:root[data-theme="dark"] .news-article .article-content > p:first-of-type,
:root[data-theme="dark"] .news-article .article-content h2.news-reference-title + ul li {
    border-color: rgba(255,255,255,.12);
}
:root[data-theme="dark"] .news-article .article-content,
:root[data-theme="dark"] .news-article .article-content p,
:root[data-theme="dark"] .news-article .article-content > p:first-of-type {
    color: #d8e6ec !important;
}
:root[data-theme="dark"] .news-article .article-content > p:first-of-type {
    border-bottom-color: rgba(255,255,255,.16);
    font-weight: 650;
}
:root[data-theme="dark"] .news-article .article-content h2,
:root[data-theme="dark"] .news-article .article-content h3 {
    color: #f3f8fa !important;
}
:root[data-theme="dark"] .news-article .news-brief-card p::first-line,
:root[data-theme="dark"] .news-article .article-content h2.news-reference-title + ul a {
    color: var(--ink);
}
:root[data-theme="dark"] .news-article .article-content h2.news-reference-title + ul a::before {
    background: var(--naver);
}
:root[data-theme="dark"] .news-brief-card,
:root[data-theme="dark"] .today-command-card,
:root[data-theme="dark"] .health-check-summary,
:root[data-theme="dark"] .health-check-grid article,
:root[data-theme="dark"] .news-candidate-grid article,
:root[data-theme="dark"] .news-diagnostics-strip article,
:root[data-theme="dark"] .news-quality-card,
:root[data-theme="dark"] .news-quality-checks article {
    background: #102029;
    border-color: rgba(255,255,255,.1);
}
:root[data-theme="dark"] .news-brief-card p,
:root[data-theme="dark"] .health-check-summary strong,
:root[data-theme="dark"] .health-check-grid strong,
:root[data-theme="dark"] .news-candidate-grid strong,
:root[data-theme="dark"] .news-diagnostics-strip strong,
:root[data-theme="dark"] .news-quality-checks strong { color: var(--ink); }
:root[data-theme="dark"] .news-candidate-grid small,
:root[data-theme="dark"] .news-diagnostics-strip small { color: var(--muted); }
:root[data-theme="dark"] .secondary-button {
    background: var(--paper);
    color: var(--ink);
}
:root[data-theme="dark"] .alert.success { background: #10261e; color: #bdebd8; }
:root[data-theme="dark"] .alert.error { background: #321b18; color: #ffc4b7; }
:root[data-theme="dark"] .ai-progress-steps li.active { background: #102029; color: var(--ink); }
:root[data-theme="dark"] .ai-progress-track {
    background: rgba(255,255,255,.12);
}
:root[data-theme="dark"] .ai-progress-top {
    color: #b8d7e8;
}
:root[data-theme="dark"] button:disabled,
:root[data-theme="dark"] .primary-button[disabled],
:root[data-theme="dark"] .secondary-button[disabled],
:root[data-theme="dark"] .scheduler-copy button:disabled {
    border-color: rgba(255,255,255,.10) !important;
    background: #1a252d !important;
    color: #758690 !important;
    opacity: 1;
}
:root[data-theme="dark"] .ai-search-card,
:root[data-theme="dark"] .ai-config-card,
:root[data-theme="dark"] .ai-run-card,
:root[data-theme="dark"] .scheduler-copy,
:root[data-theme="dark"] .ai-subsettings,
:root[data-theme="dark"] .radio-player-card,
:root[data-theme="dark"] .radio-status,
:root[data-theme="dark"] .radio-station-grid button {
    background: #102029;
    border-color: rgba(255,255,255,.10);
}
:root[data-theme="dark"] .radio-player-card {
    background: linear-gradient(135deg, rgba(3,165,106,.12), rgba(63,134,166,.10)), #102029;
}
:root[data-theme="dark"] .radio-controls label,
:root[data-theme="dark"] .radio-now strong,
:root[data-theme="dark"] .radio-station-grid strong {
    color: var(--ink);
}
:root[data-theme="dark"] .radio-controls select,
:root[data-theme="dark"] .radio-controls button,
:root[data-theme="dark"] .radio-open-link {
    background: #0f1c24;
    border-color: rgba(255,255,255,.14);
    color: var(--ink);
}
:root[data-theme="dark"] .radio-controls button:first-of-type {
    background: linear-gradient(135deg, var(--naver-dark), #2d7196);
    border-color: transparent;
    color: #fff;
}
:root[data-theme="dark"] .radio-status[data-state="playing"] {
    background: rgba(3,165,106,.16);
    border-color: rgba(3,165,106,.32);
    color: #9ef0c8;
}
:root[data-theme="dark"] .radio-status[data-state="loading"] {
    background: rgba(216,163,29,.18);
    border-color: rgba(216,163,29,.30);
    color: #ffd98a;
}
:root[data-theme="dark"] .radio-status[data-state="error"] {
    background: rgba(190,49,68,.20);
    border-color: rgba(190,49,68,.30);
    color: #ffb1bd;
}
:root[data-theme="dark"] .radio-station-grid button:hover {
    border-color: rgba(3,165,106,.42);
    box-shadow: 0 12px 28px rgba(0,0,0,.18);
}
:root[data-theme="dark"] .radio-popup-page {
    background: linear-gradient(180deg, rgba(3,165,106,.12), rgba(63,134,166,.08)), #0f1c24;
}
:root[data-theme="dark"] .backup-work-card,
:root[data-theme="dark"] .backup-format-card,
:root[data-theme="dark"] .backup-rehearsal-card,
:root[data-theme="dark"] .backup-rehearsal-result,
:root[data-theme="dark"] .backup-auto-card,
:root[data-theme="dark"] .backup-auto-status p,
:root[data-theme="dark"] .full-backup-list,
:root[data-theme="dark"] .full-restore-card,
:root[data-theme="dark"] .restore-guide,
:root[data-theme="dark"] .restore-post-form {
    background: #102029;
    border-color: rgba(255,255,255,.10);
}
:root[data-theme="dark"] .backup-primary-action {
    background: linear-gradient(135deg, rgba(3,165,106,.16), rgba(63,134,166,.12));
    border-color: rgba(3,165,106,.28);
}
:root[data-theme="dark"] .backup-choice-actions button:not(.primary-button),
:root[data-theme="dark"] .backup-auto-form select,
:root[data-theme="dark"] .backup-auto-form input,
:root[data-theme="dark"] .full-restore-form select,
:root[data-theme="dark"] .full-restore-form input,
:root[data-theme="dark"] .restore-guide code {
    background: #0f1c24;
    border-color: rgba(255,255,255,.14);
    color: var(--ink);
}
:root[data-theme="dark"] .backup-auto-status {
    background: rgba(255,255,255,.10);
    border-color: rgba(255,255,255,.10);
}
:root[data-theme="dark"] .backup-work-heading h3,
:root[data-theme="dark"] .backup-format-card strong,
:root[data-theme="dark"] .backup-primary-action strong,
:root[data-theme="dark"] .backup-rehearsal-card strong,
:root[data-theme="dark"] .backup-rehearsal-result strong,
:root[data-theme="dark"] .backup-rehearsal-result li span,
:root[data-theme="dark"] .backup-auto-card strong,
:root[data-theme="dark"] .backup-auto-status b,
:root[data-theme="dark"] .full-backup-list strong,
:root[data-theme="dark"] .full-restore-card strong,
:root[data-theme="dark"] .restore-guide strong,
:root[data-theme="dark"] .restore-guide ol,
:root[data-theme="dark"] .restore-post-form label,
:root[data-theme="dark"] .backup-auto-form label,
:root[data-theme="dark"] .full-restore-form label {
    color: var(--ink);
}
:root[data-theme="dark"] .backup-health.ok {
    background: rgba(3,165,106,.20);
    color: #9ef0c8;
}
:root[data-theme="dark"] .backup-health.warn {
    background: rgba(216,163,29,.20);
    color: #ffd98a;
}
:root[data-theme="dark"] .backup-health.bad {
    background: rgba(190,49,68,.22);
    color: #ffb1bd;
}
:root[data-theme="dark"] .admin-summary article,
:root[data-theme="dark"] .today-command-panel,
:root[data-theme="dark"] .today-command-card,
:root[data-theme="dark"] .operation-check-card,
:root[data-theme="dark"] .operation-calendar-panel,
:root[data-theme="dark"] .system-status-card,
:root[data-theme="dark"] .realtime-news-status-card,
:root[data-theme="dark"] .realtime-news-sources article,
:root[data-theme="dark"] .stats-chart-wrap,
:root[data-theme="dark"] .top-posts-card {
    background: #102029;
}
:root[data-theme="dark"] .admin-panel,
:root[data-theme="dark"] .admin-list article,
:root[data-theme="dark"] .restore-history article,
:root[data-theme="dark"] .news-log-grid div,
:root[data-theme="dark"] .news-event-list,
:root[data-theme="dark"] .login-history-list article,
:root[data-theme="dark"] .editor-preview-box,
:root[data-theme="dark"] .post-preview,
:root[data-theme="dark"] .selected-image,
:root[data-theme="dark"] .existing-images label {
    background: #102029;
    border-color: rgba(255,255,255,.10);
}
:root[data-theme="dark"] .pagination a,
:root[data-theme="dark"] .pagination span,
:root[data-theme="dark"] .preview-refresh,
:root[data-theme="dark"] .editor-toolbar button,
:root[data-theme="dark"] .inline-image-button {
    background: #132630;
    border-color: rgba(255,255,255,.12);
    color: var(--ink);
}
:root[data-theme="dark"] .pagination a:hover,
:root[data-theme="dark"] .pagination .active {
    background: var(--naver);
    color: #fff;
}
:root[data-theme="dark"] .admin-panel label,
:root[data-theme="dark"] .field-title,
:root[data-theme="dark"] .operation-calendar-head strong,
:root[data-theme="dark"] .login-history-list p b,
:root[data-theme="dark"] .news-event-list b {
    color: #d8e4e8;
}
:root[data-theme="dark"] .editor-preview-box,
:root[data-theme="dark"] .restore-history article,
:root[data-theme="dark"] .news-event-list,
:root[data-theme="dark"] .login-history-list article {
    box-shadow: none;
}
:root[data-theme="dark"] .upload-progress {
    background: rgba(3,165,106,.10);
    border-color: rgba(3,165,106,.24);
}
:root[data-theme="dark"] .upload-progress-track {
    background: rgba(255,255,255,.12);
}
:root[data-theme="dark"] .upload-progress.error {
    background: rgba(138,61,49,.18);
    border-color: rgba(255,196,183,.24);
}
:root[data-theme="dark"] .news-setting-group {
    background: rgba(255,255,255,.035);
    border-color: rgba(255,255,255,.10);
}
:root[data-theme="dark"] .admin-filter-bar {
    background: rgba(255,255,255,.035);
    border-color: rgba(255,255,255,.10);
}
:root[data-theme="dark"] .operation-calendar {
    border-color: rgba(255,255,255,.10);
    background: rgba(255,255,255,.10);
}
:root[data-theme="dark"] .calendar-weekday,
:root[data-theme="dark"] .calendar-day,
:root[data-theme="dark"] .calendar-day.empty {
    background: #0f1c24;
}
:root[data-theme="dark"] .calendar-day b {
    color: #f3f8fa;
}
:root[data-theme="dark"] .calendar-day small,
:root[data-theme="dark"] .operation-calendar-legend {
    color: #b9c8d0;
}
:root[data-theme="dark"] .calendar-day:hover {
    background: #132630;
}
:root[data-theme="dark"] .calendar-item,
:root[data-theme="dark"] .calendar-more {
    border-color: rgba(255,255,255,.10);
    background: rgba(255,255,255,.055);
    color: #eef6f8;
}
:root[data-theme="dark"] .calendar-item em,
:root[data-theme="dark"] .calendar-item time {
    color: #b9c8d0;
}
:root[data-theme="dark"] .calendar-item:hover {
    border-color: rgba(158,240,200,.28);
    background: rgba(158,240,200,.08);
}
:root[data-theme="dark"] .calendar-item.post { border-left-color: #8fe5bb; }
:root[data-theme="dark"] .calendar-item.draft { border-left-color: #9aa6ad; }
:root[data-theme="dark"] .calendar-item.scheduled { border-left-color: #a9a0ff; }
:root[data-theme="dark"] .calendar-item.ai { border-left-color: #66d8d2; }
:root[data-theme="dark"] .calendar-item.news { border-left-color: #7dc7f0; }
:root[data-theme="dark"] .calendar-item.backup { border-left-color: #ffd98a; }
:root[data-theme="dark"] .calendar-item.fail { border-left-color: #ff9a86; }
:root[data-theme="dark"] .calendar-item.flag { border-left-color: #76a7ff; }
:root[data-theme="dark"] .ai-search-card p,
:root[data-theme="dark"] .peter-log p { color: var(--ink); }
:root[data-theme="dark"] .peter-log p { background: #1b2932; }
:root[data-theme="dark"] .peter-message.user { background: #0b8f6d; color: #fff; }
:root[data-theme="dark"] .peter-message.error { background: #321b18; color: #ffc4b7; }
:root[data-theme="dark"] .peter-memory-links,
:root[data-theme="dark"] .peter-memory-card {
    background: #102029;
    border-color: rgba(255,255,255,.10);
}
:root[data-theme="dark"] .peter-memory-links > strong {
    color: #9ef0c8;
}
:root[data-theme="dark"] .peter-memory-card b {
    color: #edf6f8;
}
:root[data-theme="dark"] .peter-memory-card small,
:root[data-theme="dark"] .peter-memory-card em {
    color: #b9c8d0;
}
:root[data-theme="dark"] .peter-memory-card:hover {
    background: #132630;
}
:root[data-theme="dark"] .peter-memory-map { color: #8dd9ba; }

:root[data-theme="dark"] .post-feed,
:root[data-theme="dark"] .feed-post {
    background:
        linear-gradient(135deg, rgba(18, 26, 32, .98), rgba(16, 32, 41, .9)),
        var(--paper);
    box-shadow: none;
}
:root[data-theme="dark"] body {
    background:
        linear-gradient(180deg, rgba(18, 26, 32, .86), rgba(11,17,22,0) 360px),
        var(--canvas);
}
:root[data-theme="dark"] .profile-block,
:root[data-theme="dark"] .sidebar-section {
    background: rgba(18, 26, 32, .82);
    border-color: rgba(255,255,255,.08);
    box-shadow: none;
}
:root[data-theme="dark"] .feed-post {
    border-color: rgba(255,255,255,.09);
}
:root[data-theme="dark"] .profile-block strong,
:root[data-theme="dark"] .sidebar-section h2,
:root[data-theme="dark"] .feed-copy h3,
:root[data-theme="dark"] .feed-header h2,
:root[data-theme="dark"] .empty-feed h3,
:root[data-theme="dark"] .wordmark {
    color: #f3f8fa !important;
}
:root[data-theme="dark"] .profile-block p,
:root[data-theme="dark"] .feed-copy p,
:root[data-theme="dark"] .feed-header p:not(.eyebrow),
:root[data-theme="dark"] .empty-feed p,
:root[data-theme="dark"] .post-meta,
:root[data-theme="dark"] .feed-copy small,
:root[data-theme="dark"] .category-list a,
:root[data-theme="dark"] .archive-list a,
:root[data-theme="dark"] .popular-list a,
:root[data-theme="dark"] .category-list b,
:root[data-theme="dark"] .archive-list b,
:root[data-theme="dark"] .popular-list b,
:root[data-theme="dark"] .blog-footer p {
    color: #c9d6dc !important;
}
:root[data-theme="dark"] .category-list a:hover,
:root[data-theme="dark"] .archive-list a:hover,
:root[data-theme="dark"] .popular-list a:hover,
:root[data-theme="dark"] .category-list a.active,
:root[data-theme="dark"] .archive-list a.active,
:root[data-theme="dark"] .reset-filter,
:root[data-theme="dark"] .empty-feed a {
    color: #9ce7c7 !important;
}
:root[data-theme="dark"] .blog-footer {
    background: #101820;
    color: #e5edf1;
}
:root[data-theme="dark"] .tag-pill {
    border-color: rgba(255,255,255,.12);
    background: rgba(255,255,255,.08);
    color: var(--ink);
}
:root[data-theme="dark"] .tag-pill.tag-news {
    background: var(--ink);
    color: #0f1c24;
}
:root[data-theme="dark"] .tag-pill.tag-family,
:root[data-theme="dark"] .tag-pill.tag-travel,
:root[data-theme="dark"] .tag-pill.tag-personal,
:root[data-theme="dark"] .tag-pill.tag-daily {
    color: var(--ink);
}
