/* 暗黑模式 — 外部 CSS 文件（可被浏览器缓存，?ver=1.0.6 强制刷新） */
body.apm-dark-mode{background:#0f172a!important;color:#e2e8f0!important}
body.apm-dark-mode .apm-section-title{color:#e2e8f0!important}
body.apm-dark-mode h1,body.apm-dark-mode h2,body.apm-dark-mode h3,body.apm-dark-mode h4,body.apm-dark-mode h5,body.apm-dark-mode h6,
body.apm-dark-mode .card-title,body.apm-dark-mode .navbar-brand,body.apm-dark-mode .apm-logo-text,
body.apm-dark-mode .card-header,body.apm-dark-mode .fw-bold,body.apm-dark-mode strong,
body.apm-dark-mode .apm-section-title,body.apm-dark-mode .display-5,
body.apm-dark-mode .apm-content h1,body.apm-dark-mode .apm-content h2,body.apm-dark-mode .apm-content h3,
body.apm-dark-mode .apm-detail-header h1,body.apm-dark-mode .apm-detail-header h5,
body.apm-dark-mode .apm-article-content h1,body.apm-dark-mode .apm-article-content h2,body.apm-dark-mode .apm-article-content h3,
body.apm-dark-mode .apm-vip-card .card-title,body.apm-dark-mode .apm-series-hero h1,body.apm-dark-mode .apm-series-hero h2,
body.apm-dark-mode .apm-skill-steps .step-title,body.apm-dark-mode .apm-review-item strong,
body.apm-dark-mode .apm-widget-card .card-title,body.apm-dark-mode .apm-widget-title,
body.apm-dark-mode .apm-topic-header h3,body.apm-dark-mode .apm-announcement-content h1,body.apm-dark-mode .apm-announcement-content h2,body.apm-dark-mode .apm-announcement-content h3,
body.apm-dark-mode .apm-dashboard h4,body.apm-dark-mode .apm-dashboard h5,
body.apm-dark-mode .apm-nav-mini .text-dark,
body.apm-dark-mode .text-dark,body.apm-dark-mode a.text-dark{color:#e2e8f0!important}
body.apm-dark-mode p,body.apm-dark-mode li,body.apm-dark-mode td,body.apm-dark-mode th,body.apm-dark-mode strong,body.apm-dark-mode .apm-article-content,body.apm-dark-mode .apm-skill-intro,body.apm-dark-mode .accordion-body{color:#cbd5e1!important}
body.apm-dark-mode .text-muted,body.apm-dark-mode .text-secondary{color:#94a3b8!important}
body.apm-dark-mode a{color:#818cf8!important}
body.apm-dark-mode .card,body.apm-dark-mode .card-header,body.apm-dark-mode .card-footer,body.apm-dark-mode .list-group-item,body.apm-dark-mode .apm-widget-card{background:#1e293b!important;border-color:#334155!important}
body.apm-dark-mode .bg-light,body.apm-dark-mode .apm-preview{background:#1e293b!important}
body.apm-dark-mode .bg-white{background:#1e293b!important}
body.apm-dark-mode .navbar{background:rgba(15,23,42,.92)!important;border-color:#1e293b!important}
body.apm-dark-mode .navbar .nav-link{color:#94a3b8!important}
body.apm-dark-mode .navbar .nav-link:hover{background:#1e293b!important;color:#e2e8f0!important}
body.apm-dark-mode .navbar-light .navbar-toggler-icon{filter:invert(1)}
body.apm-dark-mode .dropdown-menu{background:#1e293b!important;border-color:#334155!important}
body.apm-dark-mode .dropdown-item{color:#cbd5e1!important}
body.apm-dark-mode .dropdown-item:hover{background:#334155!important;color:#e2e8f0!important}
body.apm-dark-mode .dropdown-divider{border-color:#334155!important}
body.apm-dark-mode .form-control,body.apm-dark-mode .form-select{background:#0f172a!important;border-color:#334155!important;color:#e2e8f0!important}
body.apm-dark-mode .form-control::placeholder{color:#94a3b8!important}
body.apm-dark-mode .btn-light{background:#1e293b!important;border-color:#334155!important;color:#cbd5e1!important}
body.apm-dark-mode .btn-light:hover{background:#334155!important}
body.apm-dark-mode .btn-outline-secondary{border-color:#334155!important;color:#94a3b8!important}
body.apm-dark-mode .btn-outline-secondary:hover{background:#334155!important;color:#e2e8f0!important}
body.apm-dark-mode .btn-close{filter:invert(1)grayscale(100%)brightness(200%)}
body.apm-dark-mode .border-bottom,body.apm-dark-mode .border-top,body.apm-dark-mode .border,body.apm-dark-mode hr{border-color:#334155!important}
body.apm-dark-mode .nav-tabs{border-color:#334155!important}
body.apm-dark-mode .nav-tabs .nav-link{color:#94a3b8!important}
body.apm-dark-mode .nav-tabs .nav-link.active{color:#818cf8!important;border-color:#818cf8!important;background:transparent!important}
body.apm-dark-mode .nav-pills .nav-link{color:#94a3b8!important}
body.apm-dark-mode .nav-pills .nav-link.active{background:#4f46e5!important;color:#fff!important}
body.apm-dark-mode .pagination .page-link,body.apm-dark-mode .page-numbers{background:#1e293b!important;border-color:#334155!important;color:#94a3b8!important}
body.apm-dark-mode .pagination .active .page-link,body.apm-dark-mode .page-numbers.current{background:#4f46e5!important;color:#fff!important;border-color:#4f46e5!important}
body.apm-dark-mode .breadcrumb-item a{color:#94a3b8!important}
body.apm-dark-mode .breadcrumb-item.active{color:#e2e8f0!important}
body.apm-dark-mode .badge.bg-light{background:#1e293b!important;color:#94a3b8!important}
body.apm-dark-mode .badge.bg-light.text-dark{color:#e2e8f0!important}
body.apm-dark-mode .apm-prompt-content{background:#0f172a!important;color:#e2e8f0!important}
body.apm-dark-mode .accordion-item{background:#1e293b!important;border-color:#334155!important}
body.apm-dark-mode .accordion-button{background:#1e293b!important;color:#e2e8f0!important}
body.apm-dark-mode .accordion-button:not(.collapsed){background:#1e293b!important;color:#818cf8!important}
body.apm-dark-mode .accordion-button::after{filter:invert(1)}
body.apm-dark-mode .alert-light{background:#1e293b!important;border-color:#334155!important;color:#cbd5e1!important}
body.apm-dark-mode .apm-locked-content{background:#1e293b!important;border-color:#334155!important}
body.apm-dark-mode .apm-mini-card{background:#1e293b!important;border-color:#334155!important}
body.apm-dark-mode .apm-fab-item{background:#1e293b!important;color:#cbd5e1!important}
body.apm-dark-mode .apm-fab-item:hover{background:#334155!important;color:#818cf8!important}
body.apm-dark-mode pre,body.apm-dark-mode code{background:#0f172a!important;color:#e2e8f0!important;border-color:#334155!important}
body.apm-dark-mode .apm-toast{background:#1e293b!important;color:#e2e8f0!important}
body.apm-dark-mode .apm-widget-thumb,body.apm-dark-mode .apm-widget-thumb-empty{background:#0f172a!important;color:#64748b!important}
body.apm-dark-mode .apm-widget-cat{background:rgba(79,70,229,.15)!important;color:#818cf8!important}
body.apm-dark-mode .apm-widget-item{background:transparent!important}
body.apm-dark-mode .apm-widget-item:hover{background:#334155!important}
body.apm-dark-mode .apm-comment-item{border-color:#334155!important}
body.apm-dark-mode .apm-community-section .card-body .p-3:hover{background:#334155!important}
body.apm-dark-mode .shadow-sm{box-shadow:0 1px 3px rgba(0,0,0,.3)!important}
body.apm-dark-mode .table{color:#cbd5e1!important}
body.apm-dark-mode .apm-skill-info-table td,body.apm-dark-mode .apm-skill-info-table th{color:#cbd5e1!important;border-color:#334155!important}
body.apm-dark-mode .apm-hot-card:hover{background:#1e293b!important}
