/* ==========================================================================
   86hc.com 香港法定监管机构名录 (全域亮色 / 暗黑模式适配系统)
   ========================================================================== */

/* 画布基底与容器 */
.hk-regulator-main {
    background: var(--canvas, #f0f4f8);
    min-height: 80vh;
    padding-bottom: 60px;
    transition: background-color 0.2s ease;
}

/* 1. Hero 介绍区 */
.hk-reg-hero-section {
    position: relative;
    z-index: 20;
    background: var(--canvas, #f0f4f8);
    padding: clamp(48px, 6vw, 72px) 24px clamp(28px, 3.5vw, 40px);
    overflow: visible;
    text-align: center;
}
.hk-reg-hero-glow {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: radial-gradient(circle 900px at 50% -100px, rgba(29, 111, 242, 0.07) 0%, rgba(240, 244, 248, 0) 70%);
    pointer-events: none;
    overflow: hidden;
}
.hk-reg-hero-capsule {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--surface, #ffffff);
    border: 1px solid var(--border, #dde3ec);
    color: var(--text-secondary, #273e56);
    font-size: 12px;
    font-weight: 600;
    padding: 4px 14px 4px 10px;
    border-radius: 9999px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-xs);
}
.hk-reg-hero-title {
    font-size: clamp(30px, 4.8vw, 46px);
    font-weight: 800;
    color: var(--text-primary, #0d192b);
    line-height: 1.2;
    letter-spacing: -0.035em;
    margin: 0 0 14px;
}
.hk-reg-hero-desc {
    font-size: clamp(14px, 1.8vw, 15.5px);
    color: var(--text-muted, #526e8a);
    line-height: 1.65;
    max-width: 760px;
    margin: 0 auto;
    letter-spacing: -0.01em;
}

/* 2. 4 大监管集群卡片列表 */
.hk-reg-clusters-wrap-clean {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.hk-reg-cluster-card-clean {
    background: var(--surface, #ffffff);
    border: 1.5px solid var(--border, #dde3ec);
    border-radius: 14px;
    padding: 24px 26px;
    box-shadow: var(--shadow-xs);
    transition: all 0.2s ease;
}
.cluster-header-clean {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border-subtle, #edf1f6);
}
.cluster-icon-box-clean {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: var(--surface-sub, #f8fafc);
    border: 1px solid var(--border-subtle, #edf1f6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue, #1d6ff2);
    flex-shrink: 0;
    transition: all 0.2s ease;
}
.cluster-title-clean {
    font-size: 17px;
    font-weight: 800;
    color: var(--text-primary, #0d192b);
    margin: 0 0 3px;
    letter-spacing: -0.015em;
}
.cluster-count-text-clean {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted, #526e8a);
}
.cluster-items-grid-clean {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 14px;
}
@media (max-width: 640px) {
    .cluster-items-grid-clean {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}
.reg-item-link-clean {
    background: var(--surface-sub, #f8fafc);
    border: 1px solid var(--border, #dde3ec);
    border-radius: 10px;
    padding: 15px 18px;
    text-decoration: none;
    display: block;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.reg-item-link-clean:hover {
    background: var(--surface, #ffffff);
    border-color: var(--blue, #1d6ff2);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(10, 22, 40, 0.08);
}
.reg-item-link-clean .reg-org-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary, #0d192b);
    margin-bottom: 4px;
    line-height: 1.35;
    display: block;
}
.reg-item-link-clean .reg-item-desc {
    font-size: 12px;
    color: var(--text-muted, #526e8a);
    line-height: 1.45;
    display: block;
}

/* 3. 牌照申请指南专栏占位模块 */
.hk-guide-placeholder-card {
    background: var(--surface, #ffffff);
    border: 1.5px solid var(--border, #dde3ec);
    border-radius: 16px;
    padding: clamp(24px, 3.5vw, 32px) clamp(20px, 3.5vw, 30px);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
    transition: all 0.2s ease;
}
.hk-guide-placeholder-card:hover {
    border-color: rgba(29, 111, 242, 0.4);
    box-shadow: var(--shadow-md);
}
.hk-guide-capsule {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(2, 132, 199, 0.08);
    border: 1px solid rgba(2, 132, 199, 0.25);
    color: #0284c7;
    font-size: 12px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 5px;
    margin-bottom: 12px;
    letter-spacing: 0.02em;
}
.hk-guide-title {
    font-size: clamp(19px, 2.2vw, 23px);
    font-weight: 800;
    color: var(--text-primary, #0d192b);
    margin: 0 0 8px;
    letter-spacing: -0.02em;
    line-height: 1.3;
}
.hk-guide-desc {
    font-size: 14px;
    color: var(--text-muted, #526e8a);
    line-height: 1.65;
    margin: 0 0 16px;
}
.hk-guide-tags-wrap {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}
.hk-guide-tag-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--surface-sub, #f8fafc);
    border: 1px solid var(--border, #dde3ec);
    color: var(--text-secondary, #273e56);
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 6px;
}
.hk-guide-tag-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--blue, #1d6ff2);
    flex-shrink: 0;
}
.hk-guide-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--blue-light, #eef4ff);
    border: 1.5px solid var(--blue-border, rgba(29,111,242,0.25));
    color: var(--blue, #1d6ff2);
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.01em;
    cursor: default;
    user-select: none;
    box-shadow: 0 2px 8px rgba(29, 111, 242, 0.08);
    white-space: nowrap;
}

/* 4. 单项监管机构名册页组件 (Header / Filters / Cards / Pagination) */
.hk-reg-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-muted, #526e8a);
    margin-bottom: 20px;
}
.hk-reg-breadcrumb a {
    color: var(--text-muted, #526e8a);
    text-decoration: none;
    transition: color 0.16s ease;
}
.hk-reg-breadcrumb a:hover {
    color: var(--blue, #1d6ff2);
}
.hk-reg-header-card {
    background: var(--surface, #ffffff);
    border: 1.5px solid var(--border, #dde3ec);
    border-radius: 14px;
    padding: 28px 32px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}
.hk-reg-header-title {
    font-size: clamp(24px, 3.5vw, 32px);
    font-weight: 800;
    color: var(--text-primary, #0d192b);
    margin: 0 0 6px;
    letter-spacing: -0.025em;
}
.hk-reg-header-desc {
    font-size: 14px;
    color: var(--text-muted, #526e8a);
    line-height: 1.6;
    margin: 0;
}
.hk-reg-filter-bar {
    background: var(--surface, #ffffff);
    border: 1.5px solid var(--border, #dde3ec);
    border-radius: 12px;
    padding: 14px 18px;
    margin-bottom: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}
.hk-reg-search-input {
    flex: 1;
    border: 1px solid var(--border, #dde3ec);
    background: var(--surface-sub, #f8fafc);
    border-radius: 8px;
    padding: 9px 14px;
    font-size: 14px;
    color: var(--text-primary, #0d192b);
    outline: none;
    transition: border-color 0.16s ease;
}
.hk-reg-search-input:focus {
    border-color: var(--blue, #1d6ff2);
}
.hk-reg-entity-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: var(--surface, #ffffff);
    border: 1px solid var(--border, #dde3ec);
    border-radius: 12px;
    padding: 18px 18px 14px;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 1px 3px rgba(10, 22, 40, 0.03);
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}
.hk-reg-entity-card:hover {
    border-color: var(--blue, #1d6ff2);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(10, 22, 40, 0.08);
}
.hk-reg-entity-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary, #0d192b);
    margin: 0 0 5px;
    line-height: 1.4;
}
.hk-reg-entity-sub {
    font-size: 11px;
    color: var(--text-muted, #526e8a);
    margin: 0 0 14px;
    line-height: 1.35;
}
.hk-reg-entity-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 10px;
    border-top: 1px solid var(--border-subtle, #edf1f6);
    font-size: 11px;
    color: var(--text-muted, #526e8a);
}
.hk-reg-page-btn {
    padding: 8px 16px;
    background: var(--surface, #fff);
    border: 1.5px solid var(--border, #dde3ec);
    border-radius: 6px;
    color: var(--text-primary, #0d192b);
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.16s ease;
}
.hk-reg-page-btn:hover {
    border-color: var(--blue, #1d6ff2);
    color: var(--blue, #1d6ff2);
}
.hk-reg-stat-badge {
    font-family: var(--font-mono, monospace);
    font-size: 13px;
    font-weight: 700;
    color: var(--blue, #1d6ff2);
    background: var(--surface-sub, #f8fafc);
    border: 1px solid var(--border, #dde3ec);
    padding: 6px 14px;
    border-radius: 8px;
}
.hk-reg-empty-box {
    background: var(--surface, #fff);
    border: 1.5px solid var(--border, #dde3ec);
    border-radius: 14px;
    padding: 48px 24px;
    text-align: center;
    margin-top: 20px;
}

/* 5. Tab 标签分类筛选导航组件系统 */
.hk-reg-tabs-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: thin;
}
.hk-reg-tab-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 10px;
    background: var(--surface, #ffffff);
    border: 1.5px solid var(--border, #dde3ec);
    color: var(--text-secondary, #273e56);
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: var(--shadow-xs);
    white-space: nowrap;
}
.hk-reg-tab-item:hover {
    border-color: var(--blue, #1d6ff2);
    color: var(--blue, #1d6ff2);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(10, 22, 40, 0.06);
}
.hk-reg-tab-item.is-active {
    background: var(--blue, #1d6ff2);
    border-color: var(--blue, #1d6ff2);
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(29, 111, 242, 0.28);
}
.hk-reg-tab-item .tab-icon {
    display: inline-flex;
    align-items: center;
    color: inherit;
}
.hk-reg-tab-item .tab-count {
    font-size: 12px;
    font-weight: 700;
    font-family: var(--font-mono, monospace);
    padding: 2px 7px;
    border-radius: 6px;
    background: var(--surface-sub, #f8fafc);
    border: 1px solid var(--border, #dde3ec);
    color: var(--text-muted, #526e8a);
    transition: all 0.2s ease;
}
.hk-reg-tab-item.is-active .tab-count {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.35);
    color: #ffffff;
}

/* ==========================================================================
   全域沉浸式暗黑模式 (Dark Mode Complete Engine)
   匹配 .dark, html.dark, body.dark-theme, [data-theme="dark"]
   ========================================================================== */
.dark .hk-regulator-main,
html.dark .hk-regulator-main,
body.dark-theme .hk-regulator-main,
[data-theme="dark"] .hk-regulator-main {
    background: #060c16 !important;
}

/* Hero 暗黑模式 */
.dark .hk-reg-hero-section,
html.dark .hk-reg-hero-section,
body.dark-theme .hk-reg-hero-section,
[data-theme="dark"] .hk-reg-hero-section {
    background: #060c16 !important;
}
.dark .hk-reg-hero-glow,
html.dark .hk-reg-hero-glow,
body.dark-theme .hk-reg-hero-glow,
[data-theme="dark"] .hk-reg-hero-glow {
    background: radial-gradient(circle 900px at 50% -100px, rgba(29, 111, 242, 0.15) 0%, rgba(6, 12, 22, 0) 70%) !important;
}
.dark .hk-reg-hero-capsule,
html.dark .hk-reg-hero-capsule,
body.dark-theme .hk-reg-hero-capsule,
[data-theme="dark"] .hk-reg-hero-capsule {
    background: #0b1626 !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    color: #cbd5e1 !important;
}
.dark .hk-reg-hero-title,
html.dark .hk-reg-hero-title,
body.dark-theme .hk-reg-hero-title,
[data-theme="dark"] .hk-reg-hero-title {
    color: #f8fafc !important;
}
.dark .hk-reg-hero-desc,
html.dark .hk-reg-hero-desc,
body.dark-theme .hk-reg-hero-desc,
[data-theme="dark"] .hk-reg-hero-desc {
    color: #8ea4bc !important;
}

/* 监管集群暗黑模式 */
.dark .hk-reg-cluster-card-clean,
html.dark .hk-reg-cluster-card-clean,
body.dark-theme .hk-reg-cluster-card-clean,
[data-theme="dark"] .hk-reg-cluster-card-clean {
    background: #0b1626 !important;
    border-color: rgba(255, 255, 255, 0.09) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
}
.dark .cluster-header-clean,
html.dark .cluster-header-clean,
body.dark-theme .cluster-header-clean,
[data-theme="dark"] .cluster-header-clean {
    border-bottom-color: rgba(255, 255, 255, 0.06) !important;
}
.dark .cluster-icon-box-clean,
html.dark .cluster-icon-box-clean,
body.dark-theme .cluster-icon-box-clean,
[data-theme="dark"] .cluster-icon-box-clean {
    background: #101f33 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    color: #38bdf8 !important;
}
.dark .cluster-title-clean,
html.dark .cluster-title-clean,
body.dark-theme .cluster-title-clean,
[data-theme="dark"] .cluster-title-clean {
    color: #f8fafc !important;
}
.dark .cluster-count-text-clean,
html.dark .cluster-count-text-clean,
body.dark-theme .cluster-count-text-clean,
[data-theme="dark"] .cluster-count-text-clean {
    color: #8ea4bc !important;
}
.dark .reg-item-link-clean,
html.dark .reg-item-link-clean,
body.dark-theme .reg-item-link-clean,
[data-theme="dark"] .reg-item-link-clean {
    background: #101f33 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}
.dark .reg-item-link-clean:hover,
html.dark .reg-item-link-clean,
body.dark-theme .reg-item-link-clean:hover,
[data-theme="dark"] .reg-item-link-clean:hover {
    background: #142842 !important;
    border-color: #38bdf8 !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35) !important;
}
.dark .reg-org-name,
html.dark .reg-org-name,
body.dark-theme .reg-org-name,
[data-theme="dark"] .reg-org-name {
    color: #f8fafc !important;
}
.dark .reg-item-desc,
html.dark .reg-item-desc,
body.dark-theme .reg-item-desc,
[data-theme="dark"] .reg-item-desc {
    color: #8ea4bc !important;
}

/* 牌照指南占位模块暗黑模式 */
.dark .hk-guide-placeholder-card,
html.dark .hk-guide-placeholder-card,
body.dark-theme .hk-guide-placeholder-card,
[data-theme="dark"] .hk-guide-placeholder-card {
    background: #0b1626 !important;
    border-color: rgba(255, 255, 255, 0.09) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
}
.dark .hk-guide-placeholder-card:hover,
html.dark .hk-guide-placeholder-card:hover,
body.dark-theme .hk-guide-placeholder-card:hover,
[data-theme="dark"] .hk-guide-placeholder-card:hover {
    border-color: rgba(56, 189, 248, 0.35) !important;
}
.dark .hk-guide-capsule,
html.dark .hk-guide-capsule,
body.dark-theme .hk-guide-capsule,
[data-theme="dark"] .hk-guide-capsule {
    background: rgba(56, 189, 248, 0.12) !important;
    border-color: rgba(56, 189, 248, 0.28) !important;
    color: #38bdf8 !important;
}
.dark .hk-guide-title,
html.dark .hk-guide-title,
body.dark-theme .hk-guide-title,
[data-theme="dark"] .hk-guide-title {
    color: #f8fafc !important;
}
.dark .hk-guide-desc,
html.dark .hk-guide-desc,
body.dark-theme .hk-guide-desc,
[data-theme="dark"] .hk-guide-desc {
    color: #8ea4bc !important;
}
.dark .hk-guide-tag-pill,
html.dark .hk-guide-tag-pill,
body.dark-theme .hk-guide-tag-pill,
[data-theme="dark"] .hk-guide-tag-pill {
    background: #101f33 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    color: #cbd5e1 !important;
}
.dark .hk-guide-tag-dot,
html.dark .hk-guide-tag-dot,
body.dark-theme .hk-guide-tag-dot,
[data-theme="dark"] .hk-guide-tag-dot {
    background: #38bdf8 !important;
}
.dark .hk-guide-status-badge,
html.dark .hk-guide-status-badge,
body.dark-theme .hk-guide-status-badge,
[data-theme="dark"] .hk-guide-status-badge {
    background: rgba(29, 111, 242, 0.18) !important;
    border-color: rgba(56, 189, 248, 0.3) !important;
    color: #38bdf8 !important;
}

/* 单项监管机构名册页暗黑模式 */
.dark .hk-reg-breadcrumb,
html.dark .hk-reg-breadcrumb,
body.dark-theme .hk-reg-breadcrumb,
[data-theme="dark"] .hk-reg-breadcrumb {
    color: #8ea4bc !important;
}
.dark .hk-reg-breadcrumb a,
html.dark .hk-reg-breadcrumb a,
body.dark-theme .hk-reg-breadcrumb a,
[data-theme="dark"] .hk-reg-breadcrumb a {
    color: #8ea4bc !important;
}
.dark .hk-reg-breadcrumb span,
html.dark .hk-reg-breadcrumb span,
body.dark-theme .hk-reg-breadcrumb span,
[data-theme="dark"] .hk-reg-breadcrumb span {
    color: #f8fafc !important;
}
.dark .hk-reg-header-card,
html.dark .hk-reg-header-card,
body.dark-theme .hk-reg-header-card,
[data-theme="dark"] .hk-reg-header-card {
    background: #0b1626 !important;
    border-color: rgba(255, 255, 255, 0.09) !important;
}
.dark .hk-reg-header-title,
html.dark .hk-reg-header-title,
body.dark-theme .hk-reg-header-title,
[data-theme="dark"] .hk-reg-header-title {
    color: #f8fafc !important;
}
.dark .hk-reg-header-desc,
html.dark .hk-reg-header-desc,
body.dark-theme .hk-reg-header-desc,
[data-theme="dark"] .hk-reg-header-desc {
    color: #8ea4bc !important;
}
.dark .hk-reg-filter-bar,
html.dark .hk-reg-filter-bar,
body.dark-theme .hk-reg-filter-bar,
[data-theme="dark"] .hk-reg-filter-bar {
    background: #0b1626 !important;
    border-color: rgba(255, 255, 255, 0.09) !important;
}
.dark .hk-reg-search-input,
html.dark .hk-reg-search-input,
body.dark-theme .hk-reg-search-input,
[data-theme="dark"] .hk-reg-search-input {
    background: #101f33 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    color: #f8fafc !important;
}
.dark .hk-reg-entity-card,
html.dark .hk-reg-entity-card,
body.dark-theme .hk-reg-entity-card,
[data-theme="dark"] .hk-reg-entity-card {
    background: #0b1626 !important;
    border-color: rgba(255, 255, 255, 0.09) !important;
}
.dark .hk-reg-entity-card:hover,
html.dark .hk-reg-entity-card:hover,
body.dark-theme .hk-reg-entity-card:hover,
[data-theme="dark"] .hk-reg-entity-card:hover {
    background: #101f33 !important;
    border-color: #38bdf8 !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4) !important;
}
.dark .hk-reg-entity-title,
html.dark .hk-reg-entity-title,
body.dark-theme .hk-reg-entity-title,
[data-theme="dark"] .hk-reg-entity-title {
    color: #f8fafc !important;
}
.dark .hk-reg-entity-sub,
html.dark .hk-reg-entity-sub,
body.dark-theme .hk-reg-entity-sub,
[data-theme="dark"] .hk-reg-entity-sub {
    color: #8ea4bc !important;
}
.dark .hk-reg-entity-footer,
html.dark .hk-reg-entity-footer,
body.dark-theme .hk-reg-entity-footer,
[data-theme="dark"] .hk-reg-entity-footer {
    border-top-color: rgba(255, 255, 255, 0.06) !important;
    color: #8ea4bc !important;
}
.dark .hk-reg-page-btn,
html.dark .hk-reg-page-btn,
body.dark-theme .hk-reg-page-btn,
[data-theme="dark"] .hk-reg-page-btn {
    background: #0b1626 !important;
    border-color: rgba(255, 255, 255, 0.09) !important;
    color: #cbd5e1 !important;
}
.dark .hk-reg-stat-badge,
html.dark .hk-reg-stat-badge,
body.dark-theme .hk-reg-stat-badge,
[data-theme="dark"] .hk-reg-stat-badge {
    background: #101f33 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    color: #38bdf8 !important;
}
.dark .hk-reg-empty-box,
html.dark .hk-reg-empty-box,
body.dark-theme .hk-reg-empty-box,
[data-theme="dark"] .hk-reg-empty-box {
    background: #0b1626 !important;
    border-color: rgba(255, 255, 255, 0.09) !important;
    color: #8ea4bc !important;
}

/* Tab 标签暗黑模式 */
.dark .hk-reg-tab-item,
html.dark .hk-reg-tab-item,
body.dark-theme .hk-reg-tab-item,
[data-theme="dark"] .hk-reg-tab-item {
    background: #0b1626 !important;
    border-color: rgba(255, 255, 255, 0.09) !important;
    color: #cbd5e1 !important;
}
.dark .hk-reg-tab-item:hover,
html.dark .hk-reg-tab-item:hover,
body.dark-theme .hk-reg-tab-item:hover,
[data-theme="dark"] .hk-reg-tab-item:hover {
    border-color: #38bdf8 !important;
    color: #38bdf8 !important;
}
.dark .hk-reg-tab-item.is-active,
html.dark .hk-reg-tab-item.is-active,
body.dark-theme .hk-reg-tab-item.is-active,
[data-theme="dark"] .hk-reg-tab-item.is-active {
    background: #1d6ff2 !important;
    border-color: #1d6ff2 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 16px rgba(29, 111, 242, 0.4) !important;
}
.dark .hk-reg-tab-item .tab-count,
html.dark .hk-reg-tab-item .tab-count,
body.dark-theme .hk-reg-tab-item .tab-count,
[data-theme="dark"] .hk-reg-tab-item .tab-count {
    background: #101f33 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    color: #8ea4bc !important;
}
.dark .hk-reg-tab-item.is-active .tab-count,
html.dark .hk-reg-tab-item.is-active .tab-count,
body.dark-theme .hk-reg-tab-item.is-active .tab-count,
[data-theme="dark"] .hk-reg-tab-item.is-active .tab-count {
    background: rgba(255, 255, 255, 0.2) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
    color: #ffffff !important;
}

.hk-reg-card-risk {
    border-color: rgba(239, 68, 68, 0.45) !important;
    background: linear-gradient(180deg, rgba(254, 242, 242, 0.5) 0%, var(--surface, #ffffff) 100%) !important;
}
.hk-reg-card-risk:hover {
    border-color: #ef4444 !important;
    box-shadow: 0 8px 24px rgba(239, 68, 68, 0.15) !important;
}
.dark .hk-reg-card-risk,
html.dark .hk-reg-card-risk,
body.dark-theme .hk-reg-card-risk,
[data-theme="dark"] .hk-reg-card-risk {
    border-color: rgba(239, 68, 68, 0.5) !important;
    background: linear-gradient(180deg, rgba(127, 29, 29, 0.25) 0%, #0b1626 100%) !important;
}
.dark .hk-reg-card-risk:hover,
html.dark .hk-reg-card-risk:hover,
body.dark-theme .hk-reg-card-risk,
[data-theme="dark"] .hk-reg-card-risk {
    border-color: #f87171 !important;
    box-shadow: 0 8px 24px rgba(239, 68, 68, 0.25) !important;
}
