/*  · 蓝金开运（布局对齐金彩临门 chrome，色板独立） */
:root {
    --jcs-navy: #4a0a12;
    --jcs-navy-mid: #8b121e;
    --jcs-navy-deep: #2a0608;
    --jcs-gold: #f0c040;
    --jcs-gold-light: #fff3c4;
    --jcs-gold-dark: #c9922a;
}

html[data-brand="jcs"] .dialog-close {
    background: linear-gradient(180deg, #8b121e, #4a0a12);
    color: #f0c040;
    border-color: #f0c040;
    box-shadow: 0 0 0 1px rgba(240, 192, 64, 0.25);
}

html[data-brand="jcs"] body {
    background-color: #fff7f5 !important;
}

html[data-brand="jcs"] .brand-header {
    background: linear-gradient(90deg, #2a0608 0%, #4a0a12 48%, #8b121e 100%) !important;
    border-bottom: 3px double #f0c040 !important;
    border-radius: 0 !important;
}

html[data-brand="jcs"] .brand-text {
    text-shadow: 0 1px 0 rgba(10, 20, 40, 0.55) !important;
}

html[data-brand="jcs"] .brand-name,
html[data-brand="jcs"] .brand-title,
html[data-brand="jcs"] .brand-copy .brand-title,
html[data-brand="jcs"] p.brand-title {
    color: #fff3c4 !important;
    letter-spacing: 0.1em;
    text-shadow: 0 1px 0 #2a0608 !important;
    font-family: "Songti SC", "STSong", "Kaiti SC", serif !important;
}

html[data-brand="jcs"] .brand-domain,
html[data-brand="jcs"] .brand-domain span,
html[data-brand="jcs"] p.brand-domain,
html[data-brand="jcs"] #jl-brand-domain {
    color: #f0c040 !important;
}

html[data-brand="jcs"] .member-card {
    border: 2px solid #f0c040;
    background: linear-gradient(180deg, #f0f4ff, #e8eeff);
}

html[data-brand="jcs"] .member-title {
    color: #4a0a12;
    letter-spacing: 0.08em;
}

html[data-brand="jcs"] .action-btn.home {
    background: linear-gradient(180deg, #fff3c4, #f0c040 55%, #c9922a);
    color: #4a0a12;
    font-weight: 700;
}

html[data-brand="jcs"] .action-btn.refresh {
    background: linear-gradient(180deg, #8b121e, #4a0a12);
}

html[data-brand="jcs"] .dialog-mask {
    background: rgba(10, 20, 40, 0.72);
}

/* ===== 顶栏（仿金彩临门结构） ===== */
html[data-brand="jcs"] header.fixed-top.d-none.d-md-block,
html[data-brand="jcs"] #hidenav {
    background: linear-gradient(90deg, #2a0608 0%, #4a0a12 50%, #2a0608 100%) !important;
    border-bottom: 3px double #f0c040 !important;
    box-shadow: 0 2px 10px rgba(10, 20, 40, 0.35);
}

html[data-brand="jcs"] #hidenav .hidenav-title,
html[data-brand="jcs"] .nav-brand-text {
    color: #fff3c4 !important;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-shadow: 0 0 10px rgba(240, 192, 64, 0.35);
    font-family: "Songti SC", "STSong", "Kaiti SC", serif;
}

html[data-brand="jcs"] header.fixed-top .nav-link {
    color: #fde68a !important;
    font-weight: 700;
}

html[data-brand="jcs"] #hidenav a.py-2,
html[data-brand="jcs"] #hidenav .text-secondary {
    color: #fde68a !important;
}

html[data-brand="jcs"] .btn-danger,
html[data-brand="jcs"] .btn-outline-danger {
    background: linear-gradient(180deg, #fff3c4, #f0c040 55%, #c9922a) !important;
    border-color: #f0c040 !important;
    color: #4a0a12 !important;
    font-weight: 800;
}

html[data-brand="jcs"] .btn-outline-danger {
    background: transparent !important;
    color: #fff3c4 !important;
    border: 1px solid #f0c040 !important;
}

/* ===== 外框 / 帖表（去掉绿框残留） ===== */
html[data-brand="jcs"] div.divcontainer,
html[data-brand="jcs"] .php-bbs-topic-container {
    border: 2px solid #f0c040 !important;
    box-shadow: 0 0 0 2px #4a0a12, 0 8px 24px rgba(18, 38, 84, 0.12);
    background: #fff;
}

html[data-brand="jcs"] table.xxqbbslisttable th {
    background: linear-gradient(180deg, #8b121e, #4a0a12) !important;
    color: #fff3c4 !important;
    border-color: #f0c040 !important;
}

html[data-brand="jcs"] table.xxqbbslisttable td {
    border-color: rgba(18, 38, 84, 0.12) !important;
}

html[data-brand="jcs"] table.xxqbbslisttable .subject-link {
    color: #2a0608;
}

/* ===== 游客栏 ===== */
html[data-brand="jcs"] .auth-bar {
    background: linear-gradient(90deg, #4a0a12, #8b121e) !important;
    color: #fff3c4 !important;
    border: 1px solid rgba(240, 192, 64, 0.45) !important;
    border-left: 0 !important;
    border-right: 0 !important;
}

html[data-brand="jcs"] .auth-bar a {
    color: #f0c040 !important;
    font-weight: 800;
    text-decoration: underline;
}

html[data-brand="jcs"] .auth-username,
html[data-brand="jcs"] .auth-gold {
    color: #fff3c4 !important;
}

/* ===== 版头比例 ===== */
html[data-brand="jcs"] #php-bbs-banner {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1000 / 480;
    object-fit: cover;
    background: #2a0608;
    border-bottom: 2px solid #f0c040;
}

/* ===== 底栏（组件式 site-bottom-nav + php-bbs 底栏） ===== */
html[data-brand="jcs"] .php-bbs-bottom-nav,
html[data-brand="jcs"] .site-bottom-nav {
    background: linear-gradient(180deg, #4a0a12, #2a0608) !important;
    border-top: 3px double #f0c040 !important;
    box-shadow: 0 -4px 16px rgba(10, 20, 40, 0.35) !important;
}

html[data-brand="jcs"] .php-bbs-bottom-nav .nav-link,
html[data-brand="jcs"] .site-bottom-nav__item {
    color: #fde68a !important;
    font-weight: 700 !important;
    background: transparent !important;
}

html[data-brand="jcs"] .php-bbs-bottom-nav .nav-link.text-danger,
html[data-brand="jcs"] .php-bbs-bottom-nav .nav-link.active,
html[data-brand="jcs"] .site-bottom-nav__item.active {
    color: #4a0a12 !important;
    background: linear-gradient(180deg, #fff3c4, #f0c040 55%, #c9922a) !important;
    border-radius: 999px;
    padding-left: 12px !important;
    padding-right: 12px !important;
}

html[data-brand="jcs"] .site-bottom-nav__item.denglu,
html[data-brand="jcs"] .site-bottom-nav__item a {
    color: #fde68a !important;
}

html[data-brand="jcs"] .topic-brand-promo {
    background: linear-gradient(180deg, #f0f4ff, #e8eeff);
    border: 2px solid #f0c040;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(18, 38, 84, 0.12);
}

html[data-brand="jcs"] .topic-brand-promo-line1,
html[data-brand="jcs"] .topic-brand-promo-line2 {
    color: #4a0a12;
}

html[data-brand="jcs"] .topic-brand-promo-slogan {
    color: #8b121e;
}

/* 去掉聚宝盆绿系残留 */
html[data-brand="jcs"] .text-danger:not(.nav-link) {
    color: #8b121e !important;
}
