@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@400;600;700;900&family=DM+Mono:wght@400;500&display=swap');

:root {
    /* 主色：古铜金 - 沉稳而非浮夸 */
    --gold-primary: #B08D2D;
    --gold-secondary: #D4AF37;
    --gold-dark: #7A6420;
    --gold-light: #F5ECD2;

    /* 东方辅色：墨绿 + 朱砂 */
    --ink-green: #1F3D2B;
    --ink-green-soft: #2E5942;
    --cinnabar: #B23A2C;
    --cinnabar-soft: #C9583E;

    /* 宣纸底色：手工感而非纯白 */
    --paper: #F4EFE0;
    --paper-dark: #E8E0CC;
    --paper-darker: #D9CFB5;

    /* 墨色系 */
    --ink: #1A1814;
    --ink-soft: #3A342A;
    --ink-mute: #6B6356;

    --bg-dark: #0F1410;
    --bg-card: #FCFAF3;
    --text-primary: #1A1814;
    --text-secondary: #6B6356;
    --border-color: #C7BC9A;
    --border-soft: #DDD3B8;

    /* 阴影：内嵌+外投影组合，避免AI式浮空卡 */
    --shadow-sm: 0 1px 0 rgba(122, 100, 32, 0.08), 0 2px 4px rgba(26, 24, 20, 0.04);
    --shadow-md: 0 1px 0 rgba(122, 100, 32, 0.1), 0 4px 12px rgba(26, 24, 20, 0.06);
    --shadow-lg: 0 1px 0 rgba(122, 100, 32, 0.12), 0 12px 32px rgba(26, 24, 20, 0.1);
    --shadow-inset: inset 0 1px 0 rgba(255, 255, 255, 0.6), inset 0 -1px 0 rgba(122, 100, 32, 0.06);

    --transition-fast: 0.18s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

    /* 衬线标题 + 等宽数字 */
    --font-serif: 'Noto Serif SC', 'Songti SC', 'STSong', serif;
    --font-sans: 'PingFang SC', 'Microsoft YaHei', -apple-system, sans-serif;
    --font-mono: 'DM Mono', 'SF Mono', 'Menlo', monospace;
}

body {
    background-color: var(--paper);
    background-image:
        radial-gradient(circle at 20% 10%, rgba(176, 141, 45, 0.04) 0%, transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(31, 61, 43, 0.03) 0%, transparent 40%),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cpath fill='%23B08D2D' fill-opacity='0.025' d='M40 0L48 32L80 40L48 48L40 80L32 48L0 40L32 32Z'/%3E%3C/svg%3E");
    background-attachment: fixed;
    font-family: var(--font-sans);
    color: var(--text-primary);
    line-height: 1.7;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--gold-primary);
    text-decoration: none;
}

img {
    margin: 0;
    padding: 0;
    outline: 0;
    border: 0;
    max-width: 100%;
    height: auto;
}

.navbar {
    background: var(--ink) !important;
    background-image:
        linear-gradient(180deg, rgba(176, 141, 45, 0.05) 0%, transparent 100%),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4' viewBox='0 0 4 4'%3E%3Cpath fill='%23B08D2D' fill-opacity='0.04' d='M1 3h1v1H1V3zm2-2h1v1H3V1z'/%3E%3C/svg%3E") !important;
    padding: 0.5rem 0;
    box-shadow: 0 2px 0 rgba(176, 141, 45, 0.15), 0 6px 24px rgba(0, 0, 0, 0.4);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(176, 141, 45, 0.3);
}

.navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background:
        linear-gradient(90deg,
            transparent 0%,
            var(--cinnabar) 15%,
            var(--gold-primary) 35%,
            var(--gold-secondary) 50%,
            var(--gold-primary) 65%,
            var(--cinnabar) 85%,
            transparent 100%);
}

.navbar-brand.logo {
    position: relative;
    padding: 4px 12px 4px 8px;
}

.navbar-brand.logo::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 70%;
    background: var(--cinnabar);
    box-shadow: 0 0 8px rgba(178, 58, 44, 0.5);
}

.navbar-brand.logo img {
    max-width: 100%;
    max-height: 44px;
    height: auto;
    width: auto;
    display: block;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.4));
    transition: transform var(--transition-normal);
}

.navbar-brand.logo:hover img {
    transform: scale(1.04);
}

.navbar-nav .nav-link {
    color: rgba(245, 236, 210, 0.75) !important;
    font-weight: 500;
    padding: 0.75rem 1.6rem;
    font-size: 15px;
    letter-spacing: 1px;
    font-family: var(--font-serif);
    position: relative;
    transition: color var(--transition-fast);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-item.hover .nav-link {
    color: var(--gold-secondary) !important;
    transform: none;
    text-shadow: none;
}

.navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 1px;
    background: var(--gold-secondary);
    transition: all var(--transition-normal);
    transform: translate(-50%, -50%);
    opacity: 0;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--cinnabar);
    transition: width var(--transition-normal);
    transform: translateX(-50%);
    border-radius: 0;
}

.navbar-nav .nav-link:hover::before {
    width: 6px;
    height: 6px;
    background: var(--gold-secondary);
    border-radius: 50%;
    opacity: 1;
}

.navbar-nav .nav-link:hover::after {
    width: 60%;
}

.navbar-nav .nav-item.active .nav-link {
    color: var(--gold-secondary) !important;
    text-shadow: none;
}

.navbar-nav .nav-item.active .nav-link::after {
    width: 60%;
    background: var(--gold-primary);
}

.form-control {
    border-radius: 2px 0 0 2px;
    border: 1px solid rgba(176, 141, 45, 0.4);
    border-right: none;
    background: rgba(245, 236, 210, 0.06);
    color: rgba(245, 236, 210, 0.9);
    padding: 0.55rem 1rem;
    font-size: 14px;
    font-family: var(--font-sans);
    transition: all var(--transition-fast);
}

.form-control::placeholder {
    color: rgba(245, 236, 210, 0.4);
    font-style: italic;
}

.form-control:focus {
    background: rgba(245, 236, 210, 0.1);
    border-color: var(--gold-secondary);
    box-shadow: none;
    outline: none;
}

.btn-outline-light {
    border-radius: 0 2px 2px 0;
    border: 1px solid rgba(176, 141, 45, 0.4);
    border-left: 1px solid rgba(176, 141, 45, 0.2);
    color: var(--gold-secondary);
    background: rgba(176, 141, 45, 0.08);
    padding: 0.55rem 1.2rem;
    font-size: 14px;
    transition: all var(--transition-fast);
}

.btn-outline-light:hover {
    background: var(--gold-primary);
    color: var(--ink);
    border-color: var(--gold-primary);
    box-shadow: none;
}

.btn-outline-light:focus {
    box-shadow: none;
}

.main-content-wrapper {
    background: transparent;
    padding: 30px 0;
}

.section-title {
    background: transparent;
    padding: 0 0 14px 0;
    margin-bottom: 1.4rem !important;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--ink);
    font-family: var(--font-serif);
    letter-spacing: 1px;
    box-shadow: none;
    position: relative;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.section-title::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 22px;
    background: var(--cinnabar);
    flex-shrink: 0;
    position: relative;
    top: 4px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--gold-primary);
}

.content-box {
    background: var(--bg-card);
    border-radius: 4px;
    box-shadow: var(--shadow-md);
    margin-bottom: 24px;
    padding: 28px 32px;
    position: relative;
    z-index: 1;
    transition: all var(--transition-normal);
    border: 1px solid var(--border-soft);
}

.content-box::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    width: 16px;
    height: 16px;
    border-top: 2px solid var(--gold-primary);
    border-left: 2px solid var(--gold-primary);
    pointer-events: none;
}

.content-box::after {
    content: '';
    position: absolute;
    bottom: -1px;
    right: -1px;
    width: 16px;
    height: 16px;
    border-bottom: 2px solid var(--gold-primary);
    border-right: 2px solid var(--gold-primary);
    pointer-events: none;
}

.content-box:hover {
    box-shadow: var(--shadow-lg);
    transform: none;
}

.content-box img {
    max-width: 100%;
    height: auto;
}

#chart-container {
    width: 100%;
    height: 400px;
    margin-top: 10px;
}

.content-box h4 a {
    font-size: 1.1rem;
    color: var(--ink);
    font-weight: 700;
    font-family: var(--font-serif);
    transition: color var(--transition-fast);
}

.content-box h4 a:hover {
    color: var(--gold-dark);
}

.list-container {
    border-radius: 4px;
    overflow: hidden;
    background: transparent;
}

.list-group {
    list-style-type: none;
    padding-left: 0;
    margin-bottom: 0;
    background: var(--bg-card);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-soft);
}

.list-header {
    display: flex;
    background: var(--ink);
    background-image:
        repeating-linear-gradient(135deg, transparent, transparent 6px, rgba(176, 141, 45, 0.08) 6px, rgba(176, 141, 45, 0.08) 7px);
    font-weight: 600;
    padding: 13px 20px;
    color: var(--paper);
    font-size: 0.78rem;
    position: relative;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.list-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--cinnabar);
}

.list-item {
    display: flex;
    padding: 14px 20px;
    border-bottom: 1px dashed var(--border-soft);
    transition: all var(--transition-fast);
    align-items: center;
}

.list-item:hover {
    background: rgba(176, 141, 45, 0.05);
    padding-left: 24px;
}

.list-item:nth-child(even) {
    background: rgba(176, 141, 45, 0.025);
}

.list-article {
    display: flex;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-color);
}

.list-item:last-child,
.list-article:last-child {
    border-bottom: none;
}

.text-success {
    color: var(--ink-green-soft) !important;
    font-weight: 600;
}

.text-danger {
    color: var(--cinnabar) !important;
    font-weight: 600;
}

.danwei {
    font-size: 12px;
    color: var(--text-secondary);
    margin-left: 4px;
}

.list-header>div,
.list-item>div {
    flex: 1;
    text-align: center;
    white-space: nowrap;
    padding: 0 8px;
}

.list-header .name,
.list-item .name {
    flex: 2;
    text-align: left;
    padding-left: 0;
}

.list-header .zspj,
.list-item .zspj {
    flex: 1.2;
}

.list-header .zde,
.list-item .zde {
    flex: 0.8;
}

.list-header .zdf,
.list-item .zdf {
    flex: 0.8;
}

.list-header .gxsj,
.list-item .gxsj {
    flex: 0.9;
    color: var(--text-secondary);
    font-size: 0.75rem;
}

.list-item .name a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition-fast);
}

.list-item .name a:hover {
    color: var(--gold-primary);
}

.zspj, .zde, .zdf, .gxsj {
    font-size: 0.85rem;
}

.list-item .text-danger,
.list-item .text-success {
    font-weight: 700;
    font-size: 0.9rem;
    font-family: var(--font-mono);
}

.list-item .text-danger {
    color: var(--cinnabar) !important;
    text-shadow: none;
}

.list-item .text-success {
    color: var(--ink-green-soft) !important;
    text-shadow: none;
}

.list-item .zspj {
    font-weight: 600;
    color: var(--ink);
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    font-family: var(--font-mono);
}

.list-item .zspj .danwei {
    font-weight: 400;
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-left: 6px;
    font-family: var(--font-sans);
}

.list-item .zspj .num {
    font-weight: 700;
    color: var(--gold-dark);
}

.list-item .zspj .num.down {
    color: var(--cinnabar);
}

.list-item .zspj .num.up {
    color: var(--ink-green-soft);
}

.pagination {
    display: flex;
    list-style-type: none;
    padding: 0;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;
}

.pagination .pagesize {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    text-decoration: none;
    color: var(--text-secondary);
    border: 1px solid var(--border-soft);
    border-radius: 2px;
    transition: all var(--transition-fast);
    min-width: 38px;
    font-family: var(--font-mono);
    background: var(--bg-card);
}

.pagination .pagesize:hover {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--gold-secondary);
}

.pagination .current {
    background: var(--cinnabar);
    color: var(--paper);
    border: 1px solid var(--cinnabar);
    padding: 8px 14px;
    border-radius: 2px;
    font-weight: 600;
    min-width: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
}

.list-unstyled li {
    align-items: stretch;
    border-bottom: 1px dashed var(--border-soft);
    display: flex;
    overflow: hidden;
    padding: 22px 0;
    transition: all var(--transition-normal);
}

.list-unstyled li:last-child {
    border-bottom: none;
}

.list-unstyled li:hover {
    background: rgba(176, 141, 45, 0.03);
    padding-left: 8px;
}

.list-unstyled li .list-image {
    flex-grow: 0;
    flex-shrink: 0;
    padding-right: 20px;
    position: relative;
    transition: all var(--transition-normal);
    width: 28%;
    max-width: 220px;
}

.list-unstyled li .list-image .item-img-inner {
    border-radius: 2px;
    display: block;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-sm);
    width: 100%;
    border: 1px solid var(--border-soft);
}

.list-unstyled li .list-image .item-img-inner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 14px 14px 0 0;
    border-color: var(--cinnabar) transparent transparent transparent;
    z-index: 1;
    transition: border-width var(--transition-normal);
}

.list-unstyled li:hover .list-image .item-img-inner::after {
    border-width: 20px 20px 0 0;
}

.list-unstyled li .list-image img {
    height: 100%;
    padding: 0;
    object-fit: cover;
    position: absolute;
    top: 0;
    transition: all var(--transition-slow);
    width: 100%;
}

.list-unstyled li .list-image img:hover {
    transform: scale(1.06);
    filter: brightness(0.95);
}

.list-unstyled li .list-image .item-img-inner:before {
    content: "";
    display: block;
    padding-top: 62.5%;
}

.list-unstyled li .item-category {
    background: var(--cinnabar);
    border-radius: 0;
    color: var(--paper);
    font-size: 11px;
    left: 0;
    line-height: 14px;
    padding: 4px 10px;
    position: absolute;
    text-decoration: none;
    top: 0;
    font-weight: 500;
    z-index: 2;
    letter-spacing: 1px;
}

.list-unstyled li .list-main {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
}

.list-unstyled li .item-title {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.5;
    margin: 0;
    color: var(--ink);
    font-family: var(--font-serif);
}

.list-unstyled li .item-excerpt,
.list-unstyled li .item-title a {
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    display: block;
    display: -webkit-box;
    -webkit-line-clamp: 2;
}

.list-unstyled li .item-title a {
    color: var(--ink);
    max-height: 56px;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.list-unstyled li .item-title a:hover {
    color: var(--gold-dark);
}

.list-unstyled li .item-excerpt {
    font-size: 0.875rem;
    line-height: 1.7;
    margin-bottom: 0;
    max-height: 48px;
}

.list-unstyled li .item-excerpt p {
    margin-bottom: 0;
    color: var(--text-secondary);
}

.list-unstyled li .item-meta {
    color: var(--text-secondary);
    font-size: 12px;
    line-height: 24px;
    font-family: var(--font-mono);
}

.list-unstyled li .item-meta .item-meta-li {
    display: inline-block;
    line-height: inherit;
    margin-right: 15px;
    vertical-align: top;
}

.list-unstyled li .item-meta .author {
    display: inline-block;
    margin-right: 15px;
}

.list-unstyled li .item-meta .item-meta-right {
    float: right;
    line-height: inherit;
}

.list-unstyled li .item-meta i {
    font-size: 0.85rem;
    margin-right: 4px;
    color: var(--gold-dark);
}

.breadcrumb {
    position: relative;
    padding: 14px 24px;
    border-radius: 2px;
    margin-bottom: 20px;
    background: var(--bg-card);
    box-shadow: var(--shadow-sm);
    border-left: 3px solid var(--cinnabar);
    font-family: var(--font-sans);
}

.breadcrumb a,
.breadcrumb span {
    padding: 0 10px;
    color: var(--text-secondary);
    font-size: 0.88rem;
}

.breadcrumb a:hover {
    color: var(--gold-dark);
}

.breadcrumb i {
    margin: 3px 0 0 5px;
    color: var(--cinnabar);
}

.shadow {
    box-shadow: var(--shadow-md);
}

.bg-f {
    background: var(--bg-card);
}

.area-list {
    position: relative;
    padding: 28px 32px;
    border-radius: 4px;
    background: var(--bg-card);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-soft);
}

.area-list-prov {
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px dashed var(--border-color);
}

.area-list h3 {
    position: relative;
    font-size: 16px;
    font-weight: 700;
    margin: 0;
    padding: 0 0 0 12px;
    color: var(--ink);
    font-family: var(--font-serif);
    letter-spacing: 1.5px;
}

.area-list h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 70%;
    background: var(--cinnabar);
}

.area-list-city {
    position: relative;
    margin-left: 100px;
    font-size: 14px;
    line-height: 28px;
}

.area-list-city a {
    color: var(--text-secondary);
    margin-right: 10px;
    padding: 3px 8px;
    border-radius: 2px;
    transition: all var(--transition-fast);
}

.area-list-city a:hover {
    color: var(--paper);
    background: var(--ink);
}

.area-list-area {
    position: relative;
    margin-left: 10px;
    font-size: 14px;
    line-height: 28px;
}

.area-list-area a {
    color: var(--text-secondary);
    margin-right: 10px;
    padding: 3px 8px;
    border-radius: 2px;
    transition: all var(--transition-fast);
}

.area-list-area a:hover {
    color: var(--paper);
    background: var(--ink);
}

.pages {
    text-align: center;
    color: var(--text-secondary);
    width: 100%;
    clear: both;
    margin: 0 0 20px;
    font-size: 14px;
    padding: 20px;
}

.pages a,
.pages b,
.pages span {
    min-width: 35px;
    border-radius: 8px;
    color: var(--text-secondary);
    margin: 20px 4px auto;
    padding: 10px 12px;
    background: var(--bg-card);
    display: inline-block;
    border: 1px solid var(--border-color);
    transition: all var(--transition-fast);
}

.pages a:hover,
.pages>b {
    color: var(--paper);
    background: var(--cinnabar);
    border-color: var(--cinnabar);
    transform: none;
}

.pages span {
    font-weight: bold;
}

.load-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 36px;
    background: var(--ink);
    color: var(--gold-secondary);
    border: 1px solid var(--gold-dark);
    border-radius: 2px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-md);
    font-family: var(--font-serif);
    letter-spacing: 2px;
    position: relative;
}

.load-more-btn::before,
.load-more-btn::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--cinnabar);
}

.load-more-btn::before { top: -1px; left: -1px; }
.load-more-btn::after { bottom: -1px; right: -1px; }

.load-more-btn:hover {
    background: var(--gold-primary);
    color: var(--ink);
    border-color: var(--gold-primary);
    box-shadow: var(--shadow-lg);
}

.load-more-btn:active {
    transform: translateY(0);
}

.loading-spinner {
    color: var(--gold-primary);
    font-size: 1.2rem;
    padding: 12px;
}

.no-more-content {
    color: var(--text-secondary);
    font-size: 0.95rem;
    padding: 12px;
    font-style: italic;
}

.tags {
    display: inline-block;
    background-color: rgba(176, 141, 45, 0.06);
    border: 1px solid rgba(176, 141, 45, 0.25);
    padding: 5px 12px;
    border-radius: 2px;
    color: var(--gold-dark);
    text-decoration: none;
    transition: all var(--transition-fast);
    font-size: 0.82rem;
    font-family: var(--font-sans);
}

.tags:hover {
    background-color: var(--ink);
    color: var(--gold-secondary);
    border-color: var(--ink);
    transform: none;
}

.tags a {
    color: var(--gold-dark);
    padding: 0;
    font-size: inherit;
}

.tags a:hover {
    color: var(--gold-secondary);
}

.title {
    font-size: 1.85rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--ink);
    text-align: center;
    position: relative;
    padding-bottom: 18px;
    font-family: var(--font-serif);
    letter-spacing: 2px;
}

.title::before {
    content: '';
    position: absolute;
    top: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 1px;
    background: var(--cinnabar);
}

.title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 50px;
    height: 3px;
    background: var(--gold-primary);
    transform: translateX(-50%);
    border-radius: 0;
}

.info {
    display: flex;
    justify-content: space-between;
    font-size: 0.82rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    padding: 12px 20px;
    background: var(--paper-dark);
    border-left: 3px solid var(--gold-primary);
    border-radius: 2px;
    font-family: var(--font-mono);
}

.content table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
    border: 1px solid var(--border-soft);
    border-radius: 4px;
    overflow: hidden;
}

.content table caption {
    caption-side: top;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--paper);
    background: var(--ink);
    border: none;
    border-bottom: 2px solid var(--gold-primary);
    padding: 12px;
    text-align: center;
    font-family: var(--font-serif);
    letter-spacing: 2px;
}

.content table th,
.content table td {
    border: 1px solid var(--border-soft);
    padding: 11px;
    text-align: center;
}

.content table th {
    font-weight: 600;
    background: var(--paper-dark);
    color: var(--ink);
}

.content table tr:nth-child(even) {
    background-color: rgba(176, 141, 45, 0.025);
}

.content table tr:hover {
    background-color: rgba(176, 141, 45, 0.06);
    transition: background-color var(--transition-fast);
}

.exchange-rate-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1.5rem;
    background: var(--bg-card);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-soft);
}

.exchange-rate-table caption {
    caption-side: top;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--paper);
    background: var(--ink);
    background-image:
        repeating-linear-gradient(135deg, transparent, transparent 6px, rgba(176, 141, 45, 0.1) 6px, rgba(176, 141, 45, 0.1) 7px);
    padding: 16px 24px;
    text-align: center;
    letter-spacing: 3px;
    text-transform: uppercase;
    border: none;
    font-family: var(--font-serif);
}

.exchange-rate-table tbody tr:first-child th {
    background: var(--paper-dark);
    font-weight: 600;
    color: var(--ink);
    font-size: 0.92rem;
    padding: 14px 16px;
    text-align: center;
    border-bottom: 2px solid var(--gold-primary);
    border-right: 1px solid var(--border-soft);
    letter-spacing: 1px;
}

.exchange-rate-table tbody tr:first-child th:last-child {
    border-right: none;
}

.exchange-rate-table tbody tr:not(:first-child) td {
    padding: 16px;
    text-align: center;
    border-bottom: 1px dashed var(--border-soft);
    font-size: 0.95rem;
    color: var(--text-primary);
}

.exchange-rate-table tbody tr:not(:first-child):hover td {
    background: rgba(176, 141, 45, 0.04);
}

.exchange-rate-table tbody tr:not(:first-child) td:first-child {
    font-weight: 600;
    color: var(--ink);
    font-family: var(--font-serif);
}

.exchange-rate-table tbody tr:not(:first-child) td:nth-child(2) {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gold-dark);
    letter-spacing: 1px;
    font-family: var(--font-mono);
}

.exchange-rate-table tbody tr:not(:first-child) td:nth-child(3) {
    font-weight: 600;
    font-family: var(--font-mono);
}

.exchange-rate-table tbody tr:not(:first-child) td:nth-child(3):not(.text-danger):not(.text-success) {
    color: var(--text-secondary);
}

.exchange-rate-table tbody tr:last-child td {
    border-bottom: none;
}

.exchange-rate-table .text-danger {
    color: var(--cinnabar) !important;
    font-weight: 700;
    text-shadow: none;
}

.exchange-rate-table .text-success {
    color: var(--ink-green-soft) !important;
    font-weight: 700;
    text-shadow: none;
}

/* 金价报告样式 */
.jinjia-report {
    margin: 20px 0;
    line-height: 1.8;
}

.jinjia-report .price-overview p {
    font-size: 1.05rem;
}

.change-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 3px;
    font-weight: 700;
    font-size: 0.85rem;
    font-family: var(--font-mono);
    letter-spacing: 0.5px;
}

.change-badge.up {
    background: var(--cinnabar);
    color: var(--paper);
}

.change-badge.down {
    background: var(--ink-green-soft);
    color: var(--paper);
}

.exchange-rate-table td.up {
    color: var(--cinnabar);
    font-weight: 700;
}

.exchange-rate-table td.down {
    color: var(--ink-green-soft);
    font-weight: 700;
}

.jinjia-report .market-analysis {
    line-height: 1.9;
    font-size: 0.95rem;
}

.jinjia-report h3 {
    font-size: 1.3rem;
}

.jinjia-report h4 {
    font-size: 1.05rem;
    margin-bottom: 12px;
}

.note {
    font-size: 0.82rem;
    color: var(--text-secondary);
    margin-top: 1.5rem;
    text-align: center;
    padding: 14px 20px;
    background: var(--paper-dark);
    border-left: 3px solid var(--gold-primary);
    border-radius: 2px;
    font-family: var(--font-sans);
    letter-spacing: 0.5px;
}

.next-prev {
    line-height: 30px;
    display: flex;
    justify-content: space-between;
    margin-top: 24px;
    padding: 16px 0;
    border-top: 1px solid var(--border-color);
}

.next-prev a {
    color: var(--text-secondary);
    padding: 6px 14px;
    border-radius: 2px;
    transition: all var(--transition-fast);
    font-size: 0.88rem;
}

.next-prev a:hover {
    color: var(--paper);
    background: var(--ink);
}

.detail-tags {
    color: var(--text-secondary);
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.detail-tags a.th_hover_a1 {
    font-size: 0.82rem;
    margin-right: 0 !important;
}

.detail-tags i {
    margin: 5px 0;
    color: var(--cinnabar);
}

.detail-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 24px;
    flex-wrap: wrap;
    gap: 10px;
}

.next-prev-inline {
    display: flex;
    gap: 20px;
    font-size: 0.88rem;
}

.next-prev-inline a {
    color: var(--gold-dark);
    transition: color var(--transition-fast);
}

.next-prev-inline a:hover {
    color: var(--cinnabar);
    text-decoration: underline;
}

.tool_show {
    padding: 28px;
    overflow: hidden;
    background: var(--paper-dark);
    background-image:
        repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(176, 141, 45, 0.04) 10px, rgba(176, 141, 45, 0.04) 11px);
    position: relative;
    box-shadow: var(--shadow-md);
    border-radius: 4px;
    border: 1px solid var(--border-soft);
}

.tool_show::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: var(--cinnabar);
}

.tool_show a:hover {
    color: var(--gold-dark);
    text-decoration: none;
}

.tool_content {
    text-align: left;
    margin-top: 15px;
}

.footer {
    background: var(--ink);
    background-image:
        linear-gradient(180deg, rgba(176, 141, 45, 0.04) 0%, transparent 30%),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cpath fill='%23B08D2D' fill-opacity='0.03' d='M20 0L25 15L40 20L25 25L20 40L15 25L0 20L15 15Z'/%3E%3C/svg%3E");
    color: rgba(245, 236, 210, 0.6);
    margin-top: 50px;
    border-top: 2px solid var(--gold-dark);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--cinnabar) 20%, var(--gold-primary) 50%, var(--cinnabar) 80%, transparent);
}

.footer a {
    color: rgba(245, 236, 210, 0.6) !important;
    transition: color var(--transition-fast);
}

.footer a:hover {
    color: var(--gold-secondary) !important;
}

.foot-links a {
    padding-right: 12px;
    margin-right: 8px;
    border-right: 1px solid rgba(245, 236, 210, 0.2);
}

.foot-links a:last-child {
    border-right: none;
}

.foot-nav a {
    padding-right: 10px;
    margin: 5px;
    border-right: 1px solid rgba(245, 236, 210, 0.2);
}

.foot-nav a:last-child {
    border-right: none;
}

.rollbar {
    position: fixed;
    bottom: 30%;
    z-index: 99;
    display: block;
    right: 20px;
    left: auto;
    margin-left: 0;
}

.rollbar .actions {
    position: relative;
    width: 100%;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.rollbar .actions .contbar {
    position: relative;
    margin-bottom: 8px;
    box-shadow: var(--shadow-md);
    background-color: var(--bg-card);
    border-radius: 2px;
    transition: all var(--transition-normal);
    border: 1px solid var(--border-soft);
}

.rollbar .actions .contbar>a {
    display: block;
    cursor: pointer;
    position: relative;
    border: 0;
    opacity: 1;
    width: 50px;
    text-align: center;
    height: 50px;
}

.rollbar .actions .contbar>a>i {
    font-size: 24px;
    color: #666;
    display: block;
    padding: 13px 0;
    transition: color var(--transition-fast);
}

.rollbar .actions .contbar>a>i:hover {
    color: var(--gold-primary);
}

.rollbar .rollbar-item {
    position: relative;
    margin-top: 8px;
    border-radius: 2px;
    background-color: var(--bg-card);
    color: var(--text-secondary);
    width: 48px;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-md);
    line-height: 48px;
    height: 48px;
    border: 1px solid var(--border-soft);
}

.rollbar .rollbar-item:hover {
    background: var(--ink);
    color: var(--gold-secondary);
    border-color: var(--ink);
    transform: translateY(-2px);
}

.rollbar .rollbar-item i {
    line-height: 45px;
    font-weight: 700;
}

.right_qrcode {
    display: none;
    width: 130px;
    position: absolute;
    top: 0;
    right: 60px;
}

.right_qrcode .right_qrimg {
    background-color: var(--bg-card);
    box-shadow: var(--shadow-lg);
    padding: 12px;
    margin-right: 12px;
    position: relative;
    text-align: center;
    border-radius: 10px;
}

.right_qrcode .right_qrimg span {
    font-size: 12px;
    color: var(--text-secondary);
}

.right_qrimg::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border: 8px solid transparent;
    border-left-color: var(--bg-card);
}

.btn-outline-secondary {
    color: var(--text-secondary);
    border-color: var(--border-color);
    background: transparent;
    transition: all var(--transition-fast);
    border-radius: 2px;
    padding: 6px 14px;
    font-size: 0.82rem;
    font-family: var(--font-sans);
}

.btn-outline-secondary:hover {
    color: var(--paper);
    background: var(--ink);
    border-color: var(--ink);
    transform: none;
    box-shadow: none;
}

.text-red {
    color: var(--cinnabar) !important;
}

.text-green {
    color: var(--ink-green-soft) !important;
}

.text-blue {
    color: #3b6ea5 !important;
}

.hero-section {
    position: relative;
    margin-top: 32px;
}

.hero-card {
    background: var(--ink);
    background-image:
        linear-gradient(135deg, var(--ink-green) 0%, var(--ink) 60%, #2a1a0a 100%);
    border-radius: 4px;
    padding: 40px 48px;
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(176, 141, 45, 0.3);
}

.hero-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 85% 30%, rgba(176, 141, 45, 0.15) 0%, transparent 50%),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cg fill='none' stroke='%23B08D2D' stroke-opacity='0.06' stroke-width='1'%3E%3Cpath d='M30 5L55 30L30 55L5 30Z'/%3E%3Cpath d='M30 15L45 30L30 45L15 30Z'/%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.hero-card::after {
    content: '金';
    position: absolute;
    top: -30px;
    right: -10px;
    font-family: var(--font-serif);
    font-size: 280px;
    font-weight: 900;
    color: rgba(176, 141, 45, 0.05);
    line-height: 1;
    pointer-events: none;
    user-select: none;
}

.hero-content {
    z-index: 1;
    flex: 1;
    align-self: center;
}

.hero-title {
    font-size: 2.4rem;
    font-weight: 900;
    color: var(--paper);
    font-family: var(--font-serif);
    margin-bottom: 12px;
    letter-spacing: 4px;
    line-height: 1.2;
    position: relative;
    display: inline-block;
}

.hero-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: var(--cinnabar);
    margin-top: 10px;
}

.hero-subtitle {
    font-size: 0.95rem;
    color: rgba(245, 236, 210, 0.65);
    margin-bottom: 0;
    font-family: var(--font-sans);
    letter-spacing: 1px;
    max-width: 460px;
}

.hero-stats {
    z-index: 1;
    align-self: center;
    position: relative;
}

.hero-stat {
    text-align: center;
    background: rgba(245, 236, 210, 0.06);
    border: 1px solid rgba(176, 141, 45, 0.25);
    border-radius: 2px;
    padding: 24px 36px;
    backdrop-filter: blur(8px);
    position: relative;
}

.hero-stat::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 6px;
    right: 6px;
    bottom: 6px;
    border: 1px dashed rgba(176, 141, 45, 0.2);
    pointer-events: none;
}

.hero-stat .stat-label {
    display: block;
    font-size: 0.8rem;
    color: rgba(245, 236, 210, 0.55);
    margin-bottom: 10px;
    letter-spacing: 3px;
    font-family: var(--font-serif);
}

.hero-stat .stat-value {
    display: block;
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 4px;
    font-family: var(--font-mono);
    letter-spacing: -1px;
}

.hero-stat .stat-change {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: var(--font-mono);
}

.market-card {
    background: var(--bg-card);
    border-radius: 4px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    margin-bottom: 24px;
    border: 1px solid var(--border-soft);
}

.market-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 28px;
    background: var(--paper-dark);
    background-image:
        repeating-linear-gradient(45deg, transparent, transparent 8px, rgba(176, 141, 45, 0.03) 8px, rgba(176, 141, 45, 0.03) 9px);
    border-bottom: 1px solid var(--border-color);
}

.market-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--ink);
    font-family: var(--font-serif);
    margin: 0;
    letter-spacing: 1.5px;
    position: relative;
    padding-left: 14px;
}

.market-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 70%;
    background: var(--cinnabar);
}

.market-tabs {
    display: flex;
    gap: 4px;
}

.tab-btn {
    padding: 7px 18px;
    border: 1px solid transparent;
    border-radius: 2px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
    background: transparent;
    color: var(--text-secondary);
    font-family: var(--font-sans);
}

.tab-btn.active {
    background: var(--ink);
    color: var(--gold-secondary);
    border-color: var(--ink);
}

.tab-btn:hover:not(.active) {
    background: rgba(176, 141, 45, 0.08);
    color: var(--gold-dark);
}

.market-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.market-table {
    width: 100%;
    border-collapse: collapse;
}

.market-table thead {
    background: rgba(176, 141, 45, 0.05);
}

.market-table th {
    padding: 13px 16px;
    text-align: center;
    font-weight: 600;
    color: var(--ink-soft);
    font-size: 0.82rem;
    white-space: nowrap;
    border-bottom: 1px solid var(--border-color);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.market-table td {
    padding: 14px 16px;
    text-align: center;
    border-bottom: 1px dashed var(--border-soft);
    font-size: 0.92rem;
    color: var(--text-primary);
}

.market-table tbody tr:last-child td {
    border-bottom: none;
}

.change-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 2px;
    font-size: 0.78rem;
    font-weight: 600;
    font-family: var(--font-mono);
}

.text-red .change-badge {
    background: rgba(178, 58, 44, 0.08);
    color: var(--cinnabar);
}

.text-green .change-badge {
    background: rgba(31, 61, 43, 0.08);
    color: var(--ink-green-soft);
}

.market-table tbody tr {
    transition: background-color var(--transition-fast);
}

.market-table tbody tr:hover {
    background: rgba(176, 141, 45, 0.04);
}

.market-link {
    color: var(--text-primary);
    font-weight: 500;
    transition: color var(--transition-fast);
}

.market-link:hover {
    color: var(--gold-dark);
}

.price-value {
    font-weight: 700;
    font-size: 1.05rem;
    font-family: var(--font-mono);
    color: var(--ink);
}

.price-unit {
    font-size: 0.72rem;
    color: var(--text-secondary);
    margin-left: 4px;
}

.time-col {
    color: var(--text-secondary);
    font-size: 0.82rem;
    font-family: var(--font-mono);
}

.tab-content {
    display: table-row-group;
}

.tab-content.tab-hidden {
    display: none;
}

.brand-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.brand-card {
    background: var(--bg-card);
    border-radius: 4px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: all var(--transition-normal);
    border: 1px solid var(--border-soft);
    position: relative;
}

.brand-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--cinnabar), var(--gold-primary), var(--cinnabar));
    z-index: 2;
}

.brand-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.brand-header {
    background: var(--paper-dark);
    padding: 14px 20px;
    border-bottom: 1px solid var(--border-color);
}

.brand-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--ink);
    font-family: var(--font-serif);
    transition: color var(--transition-fast);
    letter-spacing: 1.5px;
}

.brand-name:hover {
    color: var(--gold-dark);
}

.brand-body {
    padding: 18px 20px;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 9px 0;
    border-bottom: 1px dashed var(--border-soft);
}

.price-row:last-of-type {
    border-bottom: none;
}

.price-item {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.price-label {
    font-size: 0.82rem;
    color: var(--text-secondary);
    letter-spacing: 1px;
}

.price-num {
    font-size: 1.2rem;
    font-weight: 700;
    font-family: var(--font-mono);
    color: var(--ink);
}

.price-unit {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.brand-footer {
    padding-top: 12px;
    border-top: 1px dashed var(--border-color);
    margin-top: 12px;
}

.update-time {
    font-size: 0.78rem;
    color: var(--text-secondary);
    font-family: var(--font-mono);
}

.article-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.article-card {
    background: var(--bg-card);
    border-radius: 4px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: all var(--transition-normal);
    border: 1px solid var(--border-soft);
    position: relative;
}

.article-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--cinnabar);
    transition: width var(--transition-normal);
    z-index: 2;
}

.article-card:hover::before {
    width: 100%;
}

.article-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.article-image {
    position: relative;
    overflow: hidden;
    height: 180px;
}

.article-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg, transparent, rgba(26, 24, 20, 0.5));
    pointer-events: none;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow), filter var(--transition-slow);
}

.article-card:hover .article-image img {
    transform: scale(1.06);
    filter: brightness(0.95);
}

.article-content {
    padding: 18px 22px 20px;
}

.article-category {
    display: inline-block;
    background: transparent;
    color: var(--cinnabar);
    padding: 0 0 0 8px;
    border-left: 2px solid var(--cinnabar);
    border-radius: 0;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.article-category a {
    color: var(--cinnabar);
}

.article-category a:hover {
    color: var(--cinnabar-soft);
}

.article-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.5;
    font-family: var(--font-serif);
}

.article-title a {
    color: var(--ink);
    transition: color var(--transition-fast);
}

.article-title a:hover {
    color: var(--gold-dark);
}

.article-excerpt {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-meta {
    display: flex;
    gap: 16px;
    font-size: 0.78rem;
    color: var(--text-secondary);
    padding-top: 12px;
    border-top: 1px dashed var(--border-soft);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 4px;
    font-family: var(--font-mono);
}

.meta-item i {
    color: var(--gold-dark);
    font-size: 0.85rem;
}

.footer-nav-container {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-nav-card {
    flex: 1;
    min-width: 200px;
    max-width: 280px;
    background: var(--bg-card);
    border-radius: 2px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-soft);
    overflow: hidden;
}

.footer-nav-title {
    font-size: 0.92rem;
    padding: 12px 16px 12px 20px;
    background: var(--ink);
    color: var(--gold-secondary);
    font-weight: 700;
    margin: 0;
    position: relative;
    font-family: var(--font-serif);
    letter-spacing: 1.5px;
    border-bottom: 2px solid var(--gold-primary);
}

.footer-nav-title::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 8px;
    transform: translateY(-50%);
    width: 3px;
    height: 60%;
    background: var(--cinnabar);
    border-radius: 0;
}

.footer-nav-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px 16px;
}

.footer-nav-tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(176, 141, 45, 0.06);
    color: var(--text-secondary);
    font-size: 0.78rem;
    border-radius: 2px;
    text-decoration: none;
    transition: all var(--transition-fast);
    border: 1px solid transparent;
}

.footer-nav-tag:hover {
    background: var(--ink);
    color: var(--gold-secondary);
    border-color: var(--ink);
    transform: none;
}

.footer-nav-bar .tag-cloud {
    padding: 14px 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.footer-nav-bar .tag-item {
    margin: 0;
    padding: 6px 14px;
    font-size: 0.82rem;
    background: var(--paper-dark);
    color: var(--ink);
    border: 1px solid var(--border-soft);
    border-radius: 2px;
    transition: all var(--transition-fast);
    text-decoration: none;
}

.footer-nav-bar .tag-item:hover {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--gold-secondary);
}

.sidebar-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--paper);
    margin: 0;
    padding: 14px 20px;
    background: var(--ink);
    background-image:
        repeating-linear-gradient(135deg, transparent, transparent 6px, rgba(176, 141, 45, 0.1) 6px, rgba(176, 141, 45, 0.1) 7px);
    position: relative;
    font-family: var(--font-serif);
    letter-spacing: 1.5px;
}

.sidebar-title::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--cinnabar);
}

.sidebar-card .tag-cloud,
.sidebar-card .sidebar-list,
.sidebar-card .news-list {
    padding: 16px 20px;
}

.news-list {
    list-style: none;
    margin: 0;
}

.news-list li {
    padding: 11px 0;
    border-bottom: 1px dashed var(--border-soft);
}

.news-list li:last-child {
    border-bottom: none;
}

.news-item {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.news-item:hover {
    padding-left: 4px;
}

.news-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--cinnabar);
    flex-shrink: 0;
    transition: all var(--transition-fast);
}

.news-item:hover .news-dot {
    background: var(--gold-primary);
    transform: scale(1.5);
}

.news-title {
    flex: 1;
    font-size: 0.88rem;
    color: var(--text-primary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color var(--transition-fast);
}

.news-item:hover .news-title {
    color: var(--gold-dark);
}

.news-date {
    font-size: 0.78rem;
    color: var(--text-secondary);
    flex-shrink: 0;
    font-family: var(--font-mono);
}

.sidebar-img {
    margin: 20px;
    width: calc(100% - 40px);
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-item {
    display: inline-block;
    padding: 5px 12px;
    background: var(--paper-dark);
    border: 1px solid var(--border-soft);
    border-radius: 2px;
    font-size: 0.82rem;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
    font-family: var(--font-sans);
}

.tag-item:hover {
    background: var(--ink);
    color: var(--gold-secondary);
    border-color: var(--ink);
    transform: none;
}

.sidebar-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-list li {
    padding: 10px 0;
    border-bottom: 1px dashed var(--border-soft);
    transition: all var(--transition-fast);
}

.sidebar-list li:last-child {
    border-bottom: none;
}

.sidebar-list li:hover {
    background: rgba(176, 141, 45, 0.04);
    padding-left: 8px;
}

.sidebar-list li a {
    font-size: 0.88rem;
    color: var(--text-primary);
    transition: color var(--transition-fast);
}

.sidebar-list li a:hover {
    color: var(--gold-dark);
}

@media (max-width: 768px) {
    .hero-card {
        flex-direction: column;
        text-align: center;
        padding: 24px 20px;
        gap: 24px;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .hero-stat .stat-value {
        font-size: 2rem;
    }

    .market-header {
        flex-direction: column;
        gap: 12px;
        padding: 16px 20px;
    }

    .market-title {
        font-size: 1.1rem;
    }

    .tab-btn {
        padding: 6px 16px;
        font-size: 0.8rem;
    }

    .market-table th,
    .market-table td {
        padding: 10px 8px;
        font-size: 0.8rem;
    }

    .brand-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .brand-card {
        border-radius: 10px;
    }

    .brand-header {
        padding: 12px 16px;
    }

    .brand-name {
        font-size: 1rem;
    }

    .brand-body {
        padding: 16px;
    }

    .price-num {
        font-size: 1.1rem;
    }

    .article-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .article-card {
        border-radius: 10px;
    }

    .article-image {
        height: 150px;
    }

    .article-content {
        padding: 16px;
    }

    .article-title {
        font-size: 1rem;
    }

    .sidebar-card {
        padding: 16px;
        margin-bottom: 16px;
    }

    .sidebar-title {
        font-size: 0.9rem;
        padding-bottom: 10px;
        margin-bottom: 12px;
    }

    .tag-item {
        padding: 5px 12px;
        font-size: 0.8rem;
    }
}

@media (max-width: 568px) {
    .hero-card {
        padding: 20px 16px;
    }

    .hero-title {
        font-size: 1.3rem;
    }

    .hero-subtitle {
        font-size: 0.8rem;
    }

    .hero-stat {
        padding: 16px 20px;
    }

    .hero-stat .stat-value {
        font-size: 1.6rem;
    }

    .market-table-wrapper {
        overflow-x: auto;
    }

    .market-table {
        min-width: 600px;
    }

    .article-image {
        height: 120px;
    }

    .article-excerpt {
        display: none;
    }
}

.btn-primary {
    background: var(--ink);
    border-color: var(--ink);
    border-radius: 2px;
    padding: 8px 22px;
    font-weight: 500;
    font-family: var(--font-sans);
    letter-spacing: 1px;
    transition: all var(--transition-fast);
}

.btn-primary:hover {
    background: var(--gold-primary);
    border-color: var(--gold-primary);
    color: var(--ink);
    transform: none;
    box-shadow: var(--shadow-md);
}

.news-img {
    border-radius: 2px;
    box-shadow: var(--shadow-sm);
    width: 100%;
    height: auto;
    border: 1px solid var(--border-soft);
}

@media (max-width:990px) {
    .navbar-nav {
        margin-left: 0;
        padding-top: 1rem;
    }

    .content-box {
        padding: 18px;
    }

    .list-unstyled {
        padding: 0;
    }

    .list-unstyled li {
        padding: 18px 0;
    }

    .list-unstyled li .list-image {
        width: 35%;
        padding-right: 15px;
    }

    .list-unstyled li .item-category {
        display: none;
    }

    .list-unstyled li .list-main {
        grid-template-rows: auto 0 16px;
        padding-left: 5px;
        row-gap: 8px;
    }

    .list-unstyled li .item-title {
        font-size: 15px;
        font-weight: 600;
        line-height: 1.4;
    }

    .list-unstyled li .item-title a {
        max-height: 48px;
    }

    .list-unstyled li .item-excerpt {
        display: none;
    }

    .list-unstyled li .item-meta {
        line-height: 16px;
    }

    .list-unstyled li .item-meta .category,
    .list-unstyled li .item-meta .likes {
        display: none;
    }

    .list-unstyled li .item-meta .views {
        float: right;
        margin-right: 15px;
    }

    .pagination {
        justify-content: center;
    }

    .pagination .pagesize,
    .pagination .current {
        padding: 6px 10px;
    }

    .rollbar {
        bottom: 31%;
        right: 10px;
    }

    .section-title {
        font-size: 1rem;
        padding: 12px 15px;
    }
}

@media (max-width:568px) {
    a {
        color: var(--text-primary);
        text-decoration: none;
        margin-left: 5px;
    }

    .breadcrumb a {
        padding: 0 5px;
    }

    .breadcrumb i {
        margin-top: 4px;
    }

    .rollbar,
    .omg,
    .kpj,
    .zgj,
    .zdj,
    .gxsj,
    .zspj,
    .zde,
    .spname {
        display: none;
    }

    .list-header {
        display: flex;
        background: var(--ink);
        font-weight: 600;
        padding: 10px 8px;
        border-bottom: 2px solid var(--gold-primary);
        font-size: 0.8rem;
        color: var(--paper);
    }

    .list-header .name,
    .list-item .name {
        flex: 1.5;
        margin-left: 5px;
    }

    .list-item {
        display: flex;
        padding: 10px 5px;
        border-bottom: 1px solid var(--border-color);
        font-size: 0.85rem;
    }

    .title {
        font-size: 1.4rem;
    }

    .info {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .content-box {
        padding: 15px;
    }

    .navbar-brand.logo img {
        max-height: 35px;
    }
}

/* ========================================
   东方金市 · 装饰元素与个性化组件
   ======================================== */

/* 中式回纹分隔线 */
.divider-ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 32px 0;
    gap: 16px;
    color: var(--gold-primary);
}

.divider-ornament::before,
.divider-ornament::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
    max-width: 120px;
}

.divider-ornament .ornament-symbol {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    color: var(--cinnabar);
    background: var(--paper);
    padding: 0 12px;
    position: relative;
}

/* 印章角标 */
.seal-mark {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 44px;
    height: 44px;
    background: var(--cinnabar);
    color: var(--paper);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-serif);
    font-weight: 900;
    font-size: 1.1rem;
    line-height: 1;
    letter-spacing: 1px;
    transform: rotate(-6deg);
    box-shadow: 0 2px 8px rgba(178, 58, 44, 0.3);
    z-index: 3;
    text-align: center;
    border: 2px solid rgba(245, 236, 210, 0.3);
}

.seal-mark::before {
    content: '';
    position: absolute;
    inset: 3px;
    border: 1px dashed rgba(245, 236, 210, 0.4);
    border-radius: 2px;
    pointer-events: none;
}

/* 实时数据指示器 */
.live-indicator {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 10px;
    background: rgba(31, 61, 43, 0.08);
    border: 1px solid rgba(31, 61, 43, 0.25);
    border-radius: 2px;
    font-size: 0.72rem;
    color: var(--ink-green-soft);
    font-family: var(--font-mono);
    letter-spacing: 1px;
}

.live-indicator::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--ink-green-soft);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

/* 滚动行情条 */
.ticker-bar {
    background: var(--ink);
    color: var(--paper);
    overflow: hidden;
    border-bottom: 1px solid rgba(176, 141, 45, 0.3);
    padding: 8px 0;
    position: relative;
}

.ticker-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
}

.ticker-track {
    display: flex;
    gap: 48px;
    white-space: nowrap;
    animation: ticker-scroll 40s linear infinite;
    font-family: var(--font-mono);
    font-size: 0.85rem;
}

.ticker-track:hover {
    animation-play-state: paused;
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.ticker-item .ticker-name {
    color: rgba(245, 236, 210, 0.7);
    font-family: var(--font-serif);
}

.ticker-item .ticker-price {
    color: var(--gold-secondary);
    font-weight: 600;
}

.ticker-item .ticker-change.up {
    color: #5fb88a;
}

.ticker-item .ticker-change.down {
    color: var(--cinnabar-soft);
}

@keyframes ticker-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* 数据卡片角装饰 */
.brand-card::after {
    content: '';
    position: absolute;
    bottom: 8px;
    right: 8px;
    width: 8px;
    height: 8px;
    border-right: 1px solid var(--gold-primary);
    border-bottom: 1px solid var(--gold-primary);
    opacity: 0.4;
    pointer-events: none;
}

/* 链接hover下划线动效 */
.article-title a,
.content-box h4 a,
.brand-name {
    position: relative;
}

.article-title a::after,
.content-box h4 a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--cinnabar);
    transition: width var(--transition-normal);
}

.article-title a:hover::after,
.content-box h4 a:hover::after {
    width: 100%;
}

/* 数字滚动效果 */
.num-flip {
    display: inline-block;
    transition: transform var(--transition-fast);
}

.num-flip.changed {
    animation: numFlash 0.6s ease;
}

@keyframes numFlash {
    0% { color: var(--ink); transform: translateY(0); }
    50% { color: var(--cinnabar); transform: translateY(-2px); }
    100% { color: var(--ink); transform: translateY(0); }
}

/* 主标题印章式装饰 */
.hero-title::before {
    content: '◆';
    position: absolute;
    top: -2px;
    right: -28px;
    font-size: 0.8rem;
    color: var(--cinnabar);
    animation: none;
}

/* 选中文本颜色 */
::selection {
    background: var(--gold-primary);
    color: var(--ink);
}

::-moz-selection {
    background: var(--gold-primary);
    color: var(--ink);
}

/* 滚动条美化 */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--paper-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--gold-dark);
    border-radius: 2px;
    border: 2px solid var(--paper-dark);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold-primary);
}

/* 焦点可见性 */
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--cinnabar);
    outline-offset: 2px;
}

/* 移动端优化 */
@media (max-width: 768px) {
    .article-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .hero-card::after {
        font-size: 180px;
        right: -30px;
    }

    .hero-title {
        font-size: 1.7rem;
        letter-spacing: 2px;
    }

    .ticker-bar {
        padding: 6px 0;
    }

    .ticker-track {
        font-size: 0.78rem;
        gap: 32px;
    }

    .seal-mark {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1.15rem;
    }

    .market-title {
        font-size: 1.05rem;
    }

    .brand-name {
        font-size: 1rem;
    }
}

@media (max-width: 568px) {
    .hero-card::after {
        display: none;
    }

    .ticker-bar {
        display: none;
    }

    .divider-ornament {
        margin: 20px 0;
    }
}

/* 高对比度模式 */
@media (prefers-contrast: high) {
    :root {
        --text-primary: #000;
        --text-secondary: #333;
        --border-color: #666;
    }
}

/* 减少动画偏好 */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }

    .ticker-track {
        animation: none;
    }
}