/* ==================== 基础重置 ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    background-color: #f5f7fa;
}

a {
    text-decoration: none;
    color: inherit;
}

ul, ol {
    list-style: none;
}

/* ==================== 顶部导航栏 ==================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: linear-gradient(135deg, #0d1b3e 0%, #1a3a6b 50%, #0d1b3e 100%);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-container {
    max-width: 1400px;
    padding: 0 24px;
    margin: 0 auto;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-left {
    display: flex;
    align-items: center;
    /* gap: 36px; */
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #1a1a1a;
    flex-shrink: 0;
    line-height: 1;
}

.logo-img {
    height: 54px;
    width: auto;
    display: block;
}


.main-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-right: 20px;
    margin-left: 15px;
}

.nav-item {
    position: relative;
    padding: 10px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 15px;
    font-weight: 500;
    border-radius: 4px;
    transition: color 0.25s ease, background-color 0.25s ease;
    white-space: nowrap;
}

.nav-item:hover,
.nav-item.active {
    color: #ff6b1a;
    background-color: rgba(255, 107, 26, 0.16);
}

.nav-item.active::after,
.nav-item:hover::after {
    content: "";
    position: absolute;
    bottom: 2px;
    left: 18px;
    right: 18px;
    height: 2px;
    background-color: #ff6b1a;
    border-radius: 1px;
}

/* active 状态从初始渲染就稳定，避免"颜色渐变 + 下划线淡入"的视觉抖动 */
.nav-item.active,
.nav-item.active::after {
    transition: none;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
    /* margin-right: 60px; */
}

.search-box {
    position: relative;
    display: flex;
    align-items: center;
    width: 270px;
    height: 38px;
    background-color: rgba(255, 255, 255, 0.12);
    border: 1.5px solid rgba(255, 255, 255, 0.22);
    border-radius: 19px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.search-select {
    height: 100%;
    border: none;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 12px;
    padding: 0 4px;
    outline: none;
    cursor: pointer;
    border-right: 6px solid #43597D;
    max-width: 64px;
}
.search-select option { color: #333; }

.search-box:focus-within {
    border-color: #ff6b1a;
    box-shadow: 0 0 0 3px rgba(255, 107, 26, 0.1);
}

.search-box input {
    width: 165px;
    height: 100%;
    padding: 0 14px;
    border: none;
    background: transparent;
    color: #fff;
    font-size: 13px;
    outline: none;
}

.search-box input::placeholder {
    color: rgba(255, 255, 255, 0.55);
}

.search-btn {
    width: 38px;
    height: 38px;
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}

.search-btn:hover {
    color: #ff6b1a;
}

.login-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 15px;
    border: none;
    border-radius: 19px;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    background: linear-gradient(135deg, #ff7a2f 0%, #e65a00 100%);
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.login-btn:hover {
    background: linear-gradient(135deg, #ff7a2f 0%, #ff9a5a 100%);
    color: #fff;
}

.user-btn-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    font-size: 12px;
    font-weight: 600;
}

.user-btn-name {
    max-width: 80px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-btn-arrow {
    flex-shrink: 0;
    opacity: 0.8;
    transition: transform 0.25s ease;
}

.user-dropdown {
    position: relative;
}

.user-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: -2px;
    min-width: 100px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.25s ease;
    z-index: 1100;
    overflow: hidden;
    padding: 6px 0;
}

.user-dropdown:hover .user-dropdown-menu,
.user-dropdown.active .user-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-dropdown:hover .user-btn-arrow,
.user-dropdown.active .user-btn-arrow {
    transform: rotate(180deg);
}

.user-dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    color: #333;
    font-size: 14px;
    line-height: 1.4;
    transition: background-color 0.2s ease, color 0.2s ease;
    white-space: nowrap;
}

.user-dropdown-item:hover {
    background-color: #f5f7fa;
    color: #ff6b1a;
}

.user-dropdown-item.logout {
    color: #333;
    border-top: 1px solid #f0f0f0;
    margin-top: 4px;
}

.user-dropdown-item.logout:hover {
    background-color: #fff5f5;
    color: #f56c6c;
}

.user-dropdown-item svg {
    flex-shrink: 0;
    opacity: 0.8;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 1px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    padding: 0;
}

.mobile-menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background-color: #fff;
    border-radius: 1px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ==================== Banner 区域 ==================== */
.hero-banner {
    position: relative;
    min-height: 360px;
    background: linear-gradient(135deg, #0d1b3e 0%, #1a3a6b 50%, #0d1b3e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(230, 162, 60, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 80% 20%, rgba(230, 162, 60, 0.08) 0%, transparent 40%);
}

.hero-content {
    position: relative;
    z-index: 1;
    color: #fff;
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 14px;
    letter-spacing: 2px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 1px;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 22px;
    margin-bottom: 18px;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 24px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.hero-btn-primary {
    background: linear-gradient(90deg, #ff7a2f 0%, #e65a00 100%);
    color: #fff;
}

.hero-btn-primary:hover {
    background: linear-gradient(90deg, #ff8a45 0%, #f06a10 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(230, 90, 0, 0.35);
}

.hero-btn-secondary {
    background-color: rgba(255, 255, 255, 0.12);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.hero-btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.55);
    transform: translateY(-2px);
}

.hero-search {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    height: 56px;
    background-color: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 28px;
    padding: 4px;
    backdrop-filter: blur(4px);
    transition: all 0.3s ease;
}

/* .hero-search:focus-within {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: rgba(230, 162, 60, 0.55);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
} */

.hero-search-form {
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
}

.hero-search-input {
    width: 100%;
    min-width: 0;
    flex: 1;
    height: 100%;
    padding: 0 24px;
    border: none;
    background: transparent;
    color: #fff;
    font-size: 15px;
    outline: none;
}

.hero-search-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.hero-search-select {
    height: 100%;
    border: none;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 14px;
    padding: 0 2px 0 18px;
    outline: none;
    cursor: pointer;
    border-right: 6px solid #596C8A;
    border-radius: 24px 0 0 24px;
    flex-shrink: 0;
    max-width: 78px;
}
.hero-search-select option { color: #333; }

.hero-search-btn {
    height: 48px;
    padding: 0 28px;
    border: none;
    border-radius: 24px;
    background: linear-gradient(90deg, #ff7a2f 0%, #e65a00 100%);
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.hero-search-btn:hover {
    background: linear-gradient(90deg, #ff8a45 0%, #f06a10 100%);
    box-shadow: 0 4px 14px rgba(230, 90, 0, 0.35);
}

/* ==================== 通用区块样式 ==================== */
.section-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 25px 24px;
}

.section-header {
    text-align: center;
    margin-bottom: 26px;
}

.section-header h2 {
    font-size: 32px;
    font-weight: 700;
    color: #0d1b3e;
    margin-bottom: 12px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #e65a00, #ff7a2f);
    border-radius: 2px;
}

.section-header p {
    font-size: 16px;
    color: #666;
    margin-top: 12px;
}

.section-header.light h2 {
    color: #fff;
}

.section-header.light p {
    color: rgba(255, 255, 255, 0.8);
}

/* ==================== 八大核心功能 ==================== */
.features-section {
    background-color: #fff;
}

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

.feature-card {
    display: block;
    padding: 20px 24px;
    background-color: #fff;
    border: 1px solid #e8ecf2;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(13, 27, 62, 0.1);
    border-color: #ff7a2f;
}

.feature-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 14px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 5px 12px rgba(13, 27, 62, 0.12);
}

.feature-icon svg {
    width: 25px;
    height: 25px;
    fill: none;
    stroke: #fff;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.icon-market { background: linear-gradient(135deg, #1f9cf0, #1976d2); }
.icon-live { background: linear-gradient(135deg, #ff6846, #f0442f); }
.icon-jobs { background: linear-gradient(135deg, #20c98a, #08a66b); }
.icon-training { background: linear-gradient(135deg, #c85be5, #a33bd0); }
.icon-news { background: linear-gradient(135deg, #ffb20e, #f08b00); }
.icon-community { background: linear-gradient(135deg, #667cff, #4665dc); }
.icon-papers { background: linear-gradient(135deg, #ff4e90, #ed2f70); }
.icon-supply { background: linear-gradient(135deg, #ff9f1c, #f08000); }

.feature-icon::after { display: none; }

.feature-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: #0d1b3e;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
}

/* ==================== 平台优势 ==================== */
.advantages-section {
    background: linear-gradient(135deg, #0d1b3e 0%, #1a3a6b 100%);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.advantage-item {
    text-align: center;
    padding:20px 30px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.advantage-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
}

.advantage-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 18px;
    background: linear-gradient(135deg, #ff7b1a 0%, #ff5e1a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(255, 107, 26, 0.3);
}

.advantage-icon svg {
    width: 26px;
    height: 26px;
    fill: none;
    stroke: #fff;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.advantage-item h3 {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 12px;
}

.advantage-item p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

/* ==================== 热门内容 ==================== */
/* 首页热门商品 */
.hot-goods-section {
    background-color: #fff;
    /* padding: 60px 0; */
}

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

.hot-goods-section .goods-thumb {
    height: 180px;
}

.hot-content-section {
    background-color: #f5f7fa;
}

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

.content-card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.content-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.content-card.full-width {
    grid-column: span 1;
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #f0f0f0;
}

.card-header h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 600;
    color: #0d1b3e;
    position: relative;
    padding-left: 0;
}

.card-header h3::before {
    display: none;
}

.card-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.more-link {
    font-size: 13px;
    color: #999;
    transition: color 0.3s ease;
}

.more-link:hover {
    color: #ff7a2f;
}

.card-body {
    padding: 12px 20px 20px;
}

/* 商品 */
.goods-item,
.job-item,
.news-item,
.live-item,
.post-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px dashed #eee;
}

.goods-item:last-child,
.job-item:last-child,
.news-item:last-child,
.live-item:last-child,
.post-item:last-child {
    border-bottom: none;
}

.goods-info h4,
.job-info h4,
.news-info h4,
.live-item h4,
.post-item h4 {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 4px;
}

.goods-tag,
.job-company,
.news-date,
.live-time,
.live-viewers,
.post-author,
.post-replies {
    font-size: 12px;
    color: #999;
}

.goods-price,
.job-salary {
    font-size: 15px;
    font-weight: 600;
    color: #e4393c;
}

.job-salary {
    color: #ff7a2f;
}

.price-up {
    font-size: 13px;
    color: #e4393c;
    font-weight: 500;
}

.price-down {
    font-size: 13px;
    color: #67c23a;
    font-weight: 500;
}

.live-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.post-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 16px;
}

.post-replies {
    color: #ff7a2f;
}

/* 首页供需信息卡片 */
.supply-item {
    padding: 12px 0;
    border-bottom: 1px dashed #eee;
}

.supply-item:last-child {
    border-bottom: none;
}

.supply-item-main {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.supply-item-main h4 {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
    min-width: 0;
    margin: 0;
}

.supply-item-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.2;
    flex-shrink: 0;
}

.supply-item-tag.supply {
    color: #ff7a2f;
    background-color: rgba(255, 122, 47, 0.1);
}

.supply-item-tag.demand {
    color: #1a3a6b;
    background-color: rgba(26, 58, 107, 0.1);
}

.supply-item-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-size: 12px;
    color: #888;
}

.supply-item-meta span:last-child {
    flex-shrink: 0;
    color: #666;
}

/* ==================== 合作伙伴 ==================== */
.partners-section {
    background: linear-gradient(135deg, #1a2744 0%, #0d1b3e 100%);
}

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

.partner-logo {
    height: 70px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    padding: 8px 12px;
}

.partner-logo img {
    width: 100%;
    max-height: 100%;
    /* object-fit: contain; */
    display: block;
}

.partner-logo:hover {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: #ff7a2f;
}

/* ==================== CTA 区域 ==================== */
.cta-section {
    background: linear-gradient(135deg, #0d1b3e 0%, #1a3a6b 50%, #0d1b3e 100%);
    color: #fff;
}

/* .cta-section .section-container {
    padding: 70px 24px;
} */

.cta-content {
    text-align: center;
}

.cta-content h2 {
    font-size: 34px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #fff;
}

.cta-content p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 28px;
}

.cta-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 48px;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 32px;
    border-radius: 22px;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.cta-btn-primary {
    background: linear-gradient(90deg, #ff7a2f 0%, #e65a00 100%);
    color: #fff;
    box-shadow: 0 4px 14px rgba(230, 90, 0, 0.35);
}

.cta-btn-primary:hover {
    background: linear-gradient(90deg, #ff8a45 0%, #f06a10 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(230, 90, 0, 0.45);
}

.cta-btn-secondary {
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.cta-btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.55);
    transform: translateY(-2px);
}

.stats-row {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.stat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 180px;
    padding: 24px 36px;
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    backdrop-filter: blur(4px);
}

.stat-card .stat-num {
    font-size: 34px;
    font-weight: 700;
    color: #ff7a2f;
    line-height: 1;
}

.stat-card .stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
}

/* ==================== 页脚 ==================== */
.mobile_foot{
    display: none;
}
.site-footer {
    background-color: #1a2238;
    color: rgba(255, 255, 255, 0.55);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 56px 24px 24px;
}

.footer-main {
    display: flex;
    gap: 48px;
    margin-bottom: 44px;
    align-items: flex-start;
}

.footer-brand {
    min-width: 240px;
    flex-shrink: 0;

}
.footer-brand img{
    height: 60px;
}
.footer-brand-title {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.footer-brand p {
    font-size: 13px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.5);
}

.footer-links {
    display: flex;
    gap: 48px;
    flex: 1;
    align-items: flex-start;
    justify-content: space-between;
}

.footer-links .link-group {
    flex: 0 0 auto;
    min-width: 0;
}

.footer-links .link-group-wide {
    min-width: 300px;
}

.link-group h4 {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 18px;
}

.link-group a {
    display: block;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 11px;
    transition: color 0.3s ease;
}

.link-group a:hover {
    color: #ff7a2f;
}

.footer-link-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 128px;
    margin-left: 30px;
}

.footer-link-col {
    display: flex;
    flex-direction: column;
}

.footer-link-col h4 {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 18px;
}

.social-links {
    display: flex;
    align-items: center;
    gap: 12px;
}

.social-link {
    display: inline-block;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.08);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 20px 20px;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.sl-wechat {
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%3E%3Cpath%20fill%3D'%23ffffff'%20d%3D'M8.691%202.188C3.891%202.188%200%205.476%200%209.53c0%202.212%201.17%204.203%203.002%205.55a.59.59%200%200%201%20.213.665l-.39%201.48c-.019.07-.048.141-.048.213%200%20.163.13.295.29.295a.326.326%200%200%200%20.167-.054l1.903-1.114a.864.864%200%200%201%20.717-.098%2010.16%2010.16%200%200%200%202.837.403c.276%200%20.543-.027.811-.05-.857-2.578.157-4.972%201.932-6.446%201.703-1.415%203.882-1.98%205.853-1.838-.576-3.583-4.196-6.348-8.596-6.348zM5.785%205.991c.642%200%201.162.529%201.162%201.18a1.17%201.17%200%200%201-1.162%201.178A1.17%201.17%200%200%201%204.623%207.17c0-.651.52-1.18%201.162-1.18zm5.813%200c.642%200%201.162.529%201.162%201.18a1.17%201.17%200%200%201-1.162%201.178%201.17%201.17%200%200%201-1.162-1.178c0-.651.52-1.18%201.162-1.18zm5.34%202.867c-1.797-.052-3.746.512-5.28%201.786-1.72%201.428-2.687%203.72-1.78%206.22.942%202.453%203.666%204.229%206.884%204.229.826%200%201.622-.12%202.361-.336a.722.722%200%200%201%20.598.082l1.584.926a.272.272%200%200%200%20.14.047c.134%200%20.24-.111.24-.247%200-.06-.023-.12-.038-.177l-.327-1.233a.582.582%200%200%201-.023-.156.49.49%200%200%201%20.201-.398C23.024%2018.48%2024%2016.82%2024%2014.98c0-3.21-2.931-5.837-7.062-6.122zM14.51%2012.2c.535%200%20.969.44.969.982a.976.976%200%200%201-.969.983.976.976%200%200%201-.969-.983c0-.542.434-.982.97-.982zm4.844%200c.535%200%20.969.44.969.982a.976.976%200%200%201-.969.983.976.976%200%200%201-.969-.983c0-.542.434-.982.969-.982z'%2F%3E%3C%2Fsvg%3E");
}

.sl-weibo {
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%3E%3Cpath%20fill%3D'%23ffffff'%20d%3D'M10.098%2020.323c-3.977.391-7.414-1.406-7.672-4.02-.259-2.609%202.759-5.047%206.74-5.441%203.979-.394%207.413%201.404%207.671%204.018.259%202.6-2.759%205.049-6.737%205.439l-.002.004zM9.05%2017.219c-.384.616-1.208.884-1.829.602-.612-.279-.793-.991-.406-1.593.379-.595%201.176-.861%201.793-.601.622.263.82.972.442%201.592zm1.27-1.627c-.141.237-.449.353-.689.253-.236-.09-.313-.361-.177-.586.138-.227.436-.346.672-.24.239.09.315.36.18.573h.014zm.176-2.719c-1.893-.493-4.033.45-4.857%202.118-.836%201.704-.026%203.591%201.886%204.21%201.983.64%204.318-.341%205.132-2.179.8-1.793-.201-3.642-2.161-4.149zm7.563-1.224c-.346-.105-.579-.18-.401-.649.386-1.031.425-1.922.003-2.555-.786-1.187-2.936-1.123-5.411-.034%200%200-.775.34-.577-.275.381-1.206.324-2.215-.27-2.8-1.348-1.327-4.939.047-8.028%203.073C1.06%2010.941%200%2013.076%200%2014.986c0%203.676%204.724%205.907%209.345%205.907%206.056%200%2010.087-3.522%2010.087-6.318%200-1.69-1.427-2.646-2.273-2.926zm2.586-4.638c-.881-.975-2.182-1.349-3.353-1.113-.419.084-.688.498-.604.917.084.42.499.69.918.605.666-.134%201.371.084%201.851.617.48.532.647%201.254.464%201.918-.106.395.127.803.522.91.395.107.803-.127.91-.522.318-1.113.045-2.357-.708-3.232zm1.832-1.963C20.815%201.509%2018.34.546%2015.894%201.04c-.42.084-.69.499-.606.918.084.42.499.69.918.606%201.9-.38%203.838.37%205.051%201.925%201.212%201.556%201.438%203.62.596%205.392-.16.35-.013.765.337.925.35.16.765.012.925-.337%201.06-2.192.773-4.764-.852-6.72z'%2F%3E%3C%2Fsvg%3E");
}

.sl-qq {
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%3E%3Cpath%20fill%3D'%23ffffff'%20d%3D'M12.003%202c-2.265%200-6.29%201.364-6.29%207.325v1.195S3.55%2014.96%203.55%2017.474c0%20.665.17%201.025.281%201.025.114%200%20.902-.484%201.748-2.072%200%200-.18%202.197%201.904%203.967%200%200-1.77.495-1.77%201.182%200%20.686%204.078.43%206.29.43%202.21%200%206.288.256%206.288-.43%200-.687-1.768-1.182-1.768-1.182%202.085-1.77%201.905-3.967%201.905-3.967.845%201.588%201.634%202.072%201.746%202.072.111%200%20.283-.36.283-1.025%200-2.514-2.164-6.954-2.164-6.954V9.325C18.29%203.364%2014.268%202%2012.003%202z'%2F%3E%3C%2Fsvg%3E");
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
    line-height: 1.8;
}

/* ==================== 内页通用样式 ==================== */
.page-banner {
    position: relative;
    height: 240px;
    background: linear-gradient(135deg, #0d1b3e 0%, #1a3a6b 50%, #0d1b3e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.page-banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(230, 162, 60, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 80% 20%, rgba(230, 162, 60, 0.1) 0%, transparent 40%);
}

.page-banner-content {
    position: relative;
    z-index: 1;
    color: #fff;
}

.page-banner-content h1 {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: 2px;
}

.page-banner-content p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
}

.page-main {
    background-color: #f5f7fa;
    min-height: 500px;
}

.page-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 24px 24px 60px;
}



/* ==================== 左右双栏布局 ==================== */
.page-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 20px;
    align-items: flex-start;
}

/* 左侧侧边栏 */
.page-sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: sticky;
    top: 84px;
}

.sidebar-block {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.sidebar-title {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 18px;
    background: linear-gradient(135deg, #0d1b3e 0%, #1a2744 100%);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
}

.sidebar-title::before {
    content: "";
    width: 4px;
    height: 14px;
    background-color: #ff7a2f;
    border-radius: 2px;
}

.sidebar-list {
    padding: 8px 0;
}

.sidebar-list .cat-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 18px;
    font-size: 14px;
    color: #555;
    cursor: pointer;
    transition: all 0.25s ease;
    border-left: 3px solid transparent;
    text-decoration: none;
}

.sidebar-list .cat-item:hover {
    background-color: #f5f7fa;
    color: #0d1b3e;
    border-left-color: #ff7a2f;
    padding-left: 22px;
}

.sidebar-list .cat-item.active {
    background-color: rgba(230, 162, 60, 0.08);
    color: #ff7a2f;
    font-weight: 500;
    border-left-color: #ff7a2f;
}

.sidebar-list .cat-item .cat-count {
    font-size: 12px;
    color: #999;
}

/* 入口卡片（参考截图右侧的橙色"创建简历"等） */
.sidebar-entry {
    padding: 20px 18px;
    text-align: center;
}

.sidebar-entry-title {
    font-size: 15px;
    font-weight: 600;
    color: #0d1b3e;
    margin-bottom: 14px;
}

.entry-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 11px 20px;
    background: linear-gradient(90deg, #ff7a2f 0%, #e65a00 100%);
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    border: none;
    border-radius: 22px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(230, 90, 0, 0.25);
}

.entry-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(230, 90, 0, 0.4);
}

.sidebar-entry-tip {
    margin-top: 12px;
    font-size: 12px;
    color: #888;
    line-height: 1.6;
}

.sidebar-links {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: left;
}

.sidebar-links a {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #666;
    transition: color 0.2s ease;
}

.sidebar-links a::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: #ff7a2f;
    border-radius: 50%;
}

.sidebar-links a:hover {
    color: #ff7a2f;
}

/* 通用按钮 */
.btn-action,
.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 18px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.btn-action {
    background: linear-gradient(135deg, #ff7a2f 0%, #e65a00 100%);
    color: #fff;
}

.btn-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(230, 90, 0, 0.35);
}

.btn-ghost {
    background-color: transparent;
    color: #666;
    border: 1px solid #ddd;
}

.btn-ghost:hover {
    border-color: #ff7a2f;
    color: #ff7a2f;
}

.btn-ghost.active {
    border-color: #ff7a2f;
    color: #ff7a2f;
    background-color: rgba(255, 122, 47, 0.08);
}

/* 右侧主内容区 */
.page-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
}

/* 搜索筛选区（参考截图右侧顶部） */
.content-searchbar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.content-search-input {
    flex: 1;
    height: 40px;
    padding: 0 16px;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    background-color: #f5f7fa;
    color: #333;
    font-size: 14px;
    outline: none;
    transition: all 0.3s ease;
}

.content-search-input:focus {
    border-color: #ff7a2f;
    background-color: #fff;
}

.content-search-input::placeholder {
    color: #aaa;
}

.content-search-btn {
    height: 40px;
    padding: 0 24px;
    border: none;
    border-radius: 20px;
    background: linear-gradient(135deg, #ff7a2f 0%, #e65a00 100%);
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.content-search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(230, 90, 0, 0.35);
}

/* 筛选行 */
.content-filterbar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding: 14px 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

/* 直播页：搜索框嵌入筛选行右侧 */
.live-filter-bar {
    justify-content: flex-start;
    gap: 16px;
}

.live-filter-bar .live-search-inline {
    flex: 0 0 320px;
    width: 320px;
    margin-left: auto;
    padding: 0;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
}

.live-filter-bar .live-search-inline .content-search-input {
    flex: 1;
    min-width: 0;
}

/* 通用：搜索框嵌入筛选行右侧 */
.filter-bar-with-search {
    justify-content: flex-start;
    gap: 16px;
}

.filter-bar-with-search .search-inline {
    flex: 0 0 420px;
    width: 420px;
    margin-left: auto;
    padding: 0;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
}

.filter-bar-with-search .search-inline .content-search-input {
    flex: 1;
    min-width: 0;
}

/* 供需页：搜索框嵌入筛选行右侧 */
.supply-filter-bar {
    justify-content: flex-start;
    gap: 16px;
}

.supply-filter-bar .supply-search-inline {
    flex: 0 0 360px;
    width: 360px;
    margin-left: auto;
    padding: 0;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
}

.supply-filter-bar .supply-search-inline .content-search-input {
    flex: 1;
    min-width: 0;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-group label {
    font-size: 13px;
    color: #666;
    white-space: nowrap;
}

.filter-select {
    height: 34px;
    padding: 0 32px 0 14px;
    border: 1px solid #e0e0e0;
    border-radius: 17px;
    background-color: #f5f7fa;
    color: #333;
    font-size: 13px;
    cursor: pointer;
    outline: none;
    transition: all 0.3s ease;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23999'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 16px;
}

.filter-select:hover {
    border-color: #ff7a2f;
}

.filter-select:focus {
    border-color: #ff7a2f;
    background-color: #fff;
}

/* 平铺筛选标签（技术社区排序等） */
.filter-tabs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 34px;
    padding: 0 16px;
    border: 1px solid #e0e0e0;
    border-radius: 17px;
    background-color: #f5f7fa;
    color: #333;
    font-size: 13px;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.filter-tab:hover {
    border-color: #ff7a2f;
    color: #ff7a2f;
}

.filter-tab.active {
    background-color: #ff7a2f;
    border-color: #ff7a2f;
    color: #fff;
}

/* 右侧顶部操作栏（搜索+发布按钮等） */
.content-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.content-toolbar .content-searchbar {
    flex: 1;
    min-width: 280px;
}

.toolbar-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 40px;
    padding: 0 20px;
    background: linear-gradient(90deg, #ff7a2f 0%, #e65a00 100%);
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(230, 90, 0, 0.25);
    white-space: nowrap;
    flex-shrink: 0;
}

.toolbar-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(230, 90, 0, 0.4);
}

/* 内容列表 */
.content-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* ==================== 物资交易页 ==================== */




/* 市场搜索框 */
.market-searchbar {
    display: flex;
    align-items: center;
    background-color: #fff;
    border-radius: 8px;
    padding: 6px 6px 6px 16px;
    margin-bottom: 16px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.market-search-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 14px;
    color: #333;
    background: transparent;
    line-height: 38px;
}

.market-search-input::placeholder {
    color: #bbb;
}

.market-search-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    padding: 0 20px;
    background: linear-gradient(135deg, #ff7a2f 0%, #e65a00 100%);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    white-space: nowrap;
    transition: opacity 0.2s ease;
}

.market-search-btn:hover {
    opacity: 0.9;
}

/* 市场筛选条件 */
.market-filters {
    background-color: #fff;
    border-radius: 8px;
    padding: 16px 20px;
    margin-bottom: 20px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.filter-row {
    display: flex;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f5f5f5;
}

.filter-row:last-child {
    border-bottom: none;
}

.filter-label {
    width: 80px;
    font-size: 14px;
    color: #999;
    flex-shrink: 0;
}

.filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-opt,
a.filter-opt {
    display: inline-block;
    padding: 4px 14px;
    font-size: 13px;
    color: #555;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.filter-opt:hover {
    color: #ff7a2f;
}

.filter-opt.active {
    background-color: #ff7a2f;
    color: #fff;
}

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

.goods-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.goods-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.goods-thumb {
    width: 100%;
    height: 250px;
    flex-shrink: 0;
    background: linear-gradient(135deg, #eef2f7 0%, #e4eaf3 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    color: #b0b8c5;
    font-size: 14px;
}

.goods-thumb::after {
    content: "商品图片";
}

.goods-thumb.has-image::after {
    content: none;
}

.goods-card-body {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.goods-card-body h3 {
    font-size: 16px;
    font-weight: 600;
    color: #0d1b3e;
    margin-bottom: 8px;
}

.goods-card-tag {
    display: inline-block;
    padding: 2px 8px;
    background-color: #f0f4f8;
    color: #666;
    font-size: 12px;
    border-radius: 4px;
    margin-right: 10px;
    align-self: flex-start;
}

.goods-card-price {
    font-size: 18px;
    font-weight: 700;
    color: #e4393c;
    /* margin-bottom: 10px; */
}

.goods-card-price span {
    font-size: 12px;
    color: #999;
    font-weight: 400;
    margin-left: 8px;
}

.goods-meta-row {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: #888;
    margin-bottom: 10px;
}

.goods-origin {
    color: #888;
}

.goods-actions {
    display: flex;
    gap: 8px;
    margin-top: 14px;
}

.goods-actions .btn-action {
    flex: 1;
}

/* ==================== 直播专区页 ==================== */
.live-section {
    margin-bottom: 40px;
}

.live-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.live-card:hover {
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.live-card.live-now {
    display: flex;
    align-items: flex-start;
}



.live-meta-top {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.live-time-tag {
    display: inline-block;
    padding: 4px 10px;
    background-color: #fff3e0;
    color: #ff7a2f;
    font-size: 12px;
    font-weight: 500;
    border-radius: 4px;
}

.live-cover {
    width: 100%;
    aspect-ratio: 6 / 4;
    background: linear-gradient(135deg, #1a2744 0%, #0d1b3e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 16px;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.live-card.live-now .live-cover {
    flex: 0 0 55%;
    width: 55%;
}

.live-cover::after {
    content: "直播封面";
}

.live-cover.has-image::after {
    content: none;
}

.live-cover.has-image {
    color: transparent;
}

.live-cover.small {
    aspect-ratio: 6 / 4;
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.live-info {
    flex: 1;
    padding: 22px;
    display: flex;
    flex-direction: column;
}

.live-badge {
    align-self: flex-start;
    padding: 4px 12px;
    background-color: #e4393c;
    color: #fff;
    font-size: 12px;
    border-radius: 4px;
}

.live-badge.replay {
    background-color: #909399;
}

.live-viewers {
    font-size: 13px;
    color: #999;
}

.live-info h3 {
    font-size: 18px;
    font-weight: 600;
    color: #0d1b3e;
    margin-bottom: 8px;
}

.live-info p {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 14px;
}

.live-actions {
    display: flex;
    gap: 10px;
    margin-top: auto;
}

.live-actions .btn-action.appointed {
    background: linear-gradient(135deg, #ff7a2f 0%, #e65a00 100%);
    color: #fff;
    border: none;
    box-shadow: 0 2px 8px rgba(230, 90, 0, 0.25);
}

.live-actions .btn-action.appointed:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(230, 90, 0, 0.35);
}

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

.live-grid .live-card {
    display: flex;
    flex-direction: column;
}

.live-grid .live-info {
    padding: 20px;
}

.live-grid .live-info h3 {
    font-size: 17px;
}

.live-time {
    font-size: 13px;
    color: #ff7a2f;
    margin-bottom: 14px;
    font-weight: 500;
}

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

.replay-item {
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.replay-thumb {
    aspect-ratio: 6 / 4;
    height: auto;
    background: linear-gradient(135deg, #e8ecf2 0%, #d0d8e4 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 13px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.replay-thumb::after {
    content: "回放封面";
}

.replay-thumb.has-image::after {
    content: none;
}

.replay-thumb.has-image {
    color: transparent;
}

.replay-info {
    padding: 14px;
}

.replay-info h4 {
    font-size: 14px;
    font-weight: 500;
    color: #0d1b3e;
    margin-bottom: 8px;
}

.replay-info span {
    font-size: 12px;
    color: #999;
}

/* ==================== 人才招聘页 ==================== */


.job-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.job-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.job-main {
    flex: 1;
}

.job-main h3 {
    font-size: 18px;
    font-weight: 600;
    color: #0d1b3e;
    margin-bottom: 10px;
}

.job-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 10px;
}

.job-company,
.job-location {
    font-size: 13px;
    color: #666;
}

.job-desc {
    font-size: 13px;
    color: #999;
    margin-bottom: 10px;
    line-height: 1.6;
}

.job-date {
    font-size: 12px;
    color: #bbb;
}

.job-side {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 16px;
}

.job-side .job-salary {
    font-size: 20px;
    font-weight: 700;
    color: #ff7a2f;
}

.job-actions {
    display: flex;
    gap: 10px;
}

/* ==================== 安全培训页 ==================== */
.course-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.course-card {
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    position: relative;
    transition: all 0.3s ease;
}

.course-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.course-cover {
    height: 240px;
    background: linear-gradient(135deg, #eef2f7 0%, #e4eaf3 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #b0b8c5;
    font-size: 14px;
    position: relative;
}

.course-cover::after {
    content: "课程封面";
}

.course-cover.has-image {
    background-size: cover;
    background-position: center;
    color: transparent;
}

.course-cover.has-image::after {
    content: none;
}

.course-type {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 10px;
    background-color: rgba(13, 27, 62, 0.85);
    color: #fff;
    font-size: 12px;
    border-radius: 4px;
}

.course-type.free {
    background-color: #67c23a;
}

.course-duration {
    position: absolute;
    bottom: 10px;
    right: 10px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    background-color: rgba(0, 0, 0, 0.6);
    color: #fff;
    font-size: 12px;
    border-radius: 4px;
}

.course-duration::before {
    content: "";
    display: inline-block;
    width: 12px;
    height: 12px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm1-13h-2v6l5.25 3.15.75-1.23-4-2.42V7z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

.course-body {
    padding: 18px;
}

.course-body h3 {
    font-size: 16px;
    font-weight: 600;
    color: #0d1b3e;
    margin-bottom: 8px;
    line-height: 1.4;
    min-height: 44px;
}

.course-teacher {
    font-size: 13px;
    color: #ff7a2f;
    margin-bottom: 10px;
}

.course-desc-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
}

.course-desc {
    flex: 1;
    min-width: 0;
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.course-price {
    flex-shrink: 0;
    font-size: 17px;
    font-weight: 700;
    color: #e4393c;
}

.course-price.free {
    color: #67c23a;
}

.course-body .btn-learn {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    background: linear-gradient(135deg, #ff7a2f 0%, #e65a00 100%);
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.course-body .btn-learn:hover {
    background: linear-gradient(135deg, #f06a10 0%, #ff8a45 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(230, 90, 0, 0.35);
}

/* ==================== 新闻中心页 ==================== */




.news-card {
    background-color: #fff;
    border-radius: 12px;
    padding: 18px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    display: flex;
    gap: 18px;
}

.news-thumb {
    width: 160px;
    height: 110px;
    flex-shrink: 0;
    border-radius: 8px;
    background-color: #e4eaf3;
    background: linear-gradient(135deg, #eef2f7 0%, #e4eaf3 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #b0b8c5;
    font-size: 13px;
    overflow: hidden;
}

.news-thumb::after {
    content: "新闻配图";
}

.news-thumb.has-image {
    background-size: cover;
    background-position: center;
}

.news-thumb.has-image::after {
    content: none;
}

.news-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-card-body h3 {
    font-size: 17px;
    font-weight: 600;
    color: #0d1b3e;
    margin-bottom: 10px;

}

.news-card-body p {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 14px;
}

.news-card-meta {
    display: flex;
    gap: 16px;
    font-size: 12px;
    color: #999;
    margin-top: auto;
}

.news-tag {
    padding: 2px 8px;
    background-color: #f0f4f8;
    color: #666;
    border-radius: 4px;
}

@media (max-width: 600px) {
    .news-card {
        padding: 14px;
        gap: 14px;
    }

    .news-thumb {
        width: 120px;
        height: 84px;
    }
    .news-card-body{
        margin-left: 10px;
        width: calc(100% - 130px);
    }
    .news-card-body h3 {
        font-size: 15px;
        margin-bottom: 4px;
            overflow: hidden;
        text-overflow: ellipsis;
     white-space:nowrap;
    }

    .news-card-body p {
        font-size: 13px;
        line-height: 1.6;
        margin-bottom: 4px;
        display: -webkit-box;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .news-card-meta {
        gap: 10px;
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .news-thumb {
        width: 120px;
        height: 84px;
        font-size: 11px;
    }
}







/* ==================== 技术社区页 ==================== */








.post-card {
    display: flex;
    gap: 18px;
    padding: 24px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.post-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.post-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff7a2f 0%, #e65a00 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    flex-shrink: 0;
}

.post-content {
    flex: 1;
}

.post-content h3 {
    font-size: 17px;
    font-weight: 600;
    color: #0d1b3e;
    margin-bottom: 10px;
}

.post-content > p {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 12px;
}

.post-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.post-tag {
    padding: 3px 10px;
    background-color: #f0f4f8;
    color: #666;
    font-size: 12px;
    border-radius: 4px;
}

.post-stats {
    display: flex;
    gap: 20px;
    font-size: 12px;
    color: #999;
}

/* ==================== 论文成果页 ==================== */


.paper-card {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 24px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.paper-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.paper-main {
    flex: 1;
}

.paper-main h3 {
    font-size: 17px;
    font-weight: 600;
    color: #0d1b3e;
    margin-bottom: 10px;
}

.paper-main > p {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 12px;
}

.paper-meta {
    display: flex;
    gap: 16px;
    font-size: 13px;
    color: #999;
    margin-bottom: 12px;
}

.paper-status {
    padding: 2px 10px;
    background-color: #e8f5e9;
    color: #67c23a;
    border-radius: 4px;
    font-size: 12px;
}

.paper-keywords {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.keyword {
    padding: 3px 10px;
    background-color: #f0f4f8;
    color: #666;
    font-size: 12px;
    border-radius: 4px;
}

.paper-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-left: 24px;
}

/* ==================== 供需信息页 ==================== */
.supply-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.supply-card {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    padding: 22px 24px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.supply-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.supply-main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.supply-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.supply-tag {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    background-color: #e6f0ff;
    color: #2a7ae2;
    font-size: 12px;
    font-weight: 500;
    border-radius: 4px;
}

.supply-card.supply .supply-tag {
    background-color: #e8f7ed;
    color: #1bb66b;
}

.supply-card.demand .supply-tag {
    background-color: #fff2e8;
    color: #ff6a00;
}

.supply-date {
    font-size: 12px;
    color: #999;
}

.supply-main h3 {
    font-size: 17px;
    font-weight: 600;
    color: #0d1b3e;
    line-height: 1.4;
    margin: 0;
}

.supply-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.supply-category {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 10px;
    background-color: #f0f4f8;
    color: #666;
    font-size: 12px;
    border-radius: 4px;
}

.supply-category::before {
    content: "";
    display: inline-block;
    width: 12px;
    height: 12px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23999' d='M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

.supply-contact {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #666;
}

.supply-contact svg {
    width: 14px;
    height: 14px;
    color: #2a7ae2;
}

.supply-main > p {
    font-size: 13px;
    color: #888;
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.supply-side {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 6px;
    min-width: 140px;
    margin-left: 24px;
}

.supply-side-label {
    font-size: 12px;
    color: #999;
}

.supply-phone {
    font-size: 16px;
    font-weight: 600;
    color: #0d1b3e;
}

.supply-name {
    font-size: 13px;
    color: #666;
}

.btn-contact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 36px;
    padding: 0 18px;
    margin-top: 6px;
    background: linear-gradient(135deg, #ff7a2f 0%, #e65a00 100%);
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    border: none;
    border-radius: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-contact:hover {
    background: linear-gradient(135deg, #f06a10 0%, #ff8a45 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(230, 90, 0, 0.35);
}

.supply-searchbar .content-search-btn {
    background: linear-gradient(135deg, #ff7a2f 0%, #e65a00 100%);
    box-shadow: none;
    color: #fff;
}

.supply-searchbar .content-search-btn:hover {
    background: linear-gradient(135deg, #f06a10 0%, #ff8a45 100%);
    box-shadow: 0 4px 12px rgba(230, 90, 0, 0.35);
}

/* ==================== 用户中心页 ==================== */
.page-banner.small {
    height: 160px;
}

.page-banner.small h1 {
    font-size: 28px;
}

.user-center-main {
    background-color: #f5f7fa;
    min-height: 600px;
    padding: 30px 0 60px;
}

.user-center-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 24px;
}

/* 未登录态：登录/注册卡片需要整页居中、加宽，不再使用左右两栏布局 */
.user-center-container.user-center-auth {
    display: block;
    padding: 40px 24px 60px;
}

.user-center-container.user-center-auth .mb-auth {
    max-width: 580px;
    width: 100%;
    margin: 0 auto;
    padding: 44px 48px 36px;
}

.user-sidebar {
    background: linear-gradient(180deg, #0d1b3e 0%, #1a2744 100%);
    border-radius: 12px;
    padding: 30px 20px;
    color: #fff;
    height: fit-content;
    position: sticky;
    top: 80px;
}

.user-profile {
    text-align: center;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 20px;
}

.user-avatar {
    width: 60px;
    height: 60px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff7a2f 0%, #e65a00 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.user-avatar::after {
    content: "";
    width: 40px;
    height: 40px;
    background-color: rgba(13, 27, 62, 0.3);
    border-radius: 50%;
}

.user-avatar.has-image {
    background-image: none;
}

.user-avatar.has-image::after {
    display: none;
}

.user-profile h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 6px;
}

.user-level {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

/* 普通用户无供需发布权限时的提示 */
.publish-locked-hint {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    font-size: 13px;
    color: #e65a00;
    background: #fff4ec;
    border: 1px dashed #ffb78a;
    border-radius: 6px;
}

.user-menu {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.user-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    transition: all 0.3s ease;
    position: relative;
}

.user-menu-item:hover,
.user-menu-item.active {
    background-color: rgba(230, 162, 60, 0.15);
    color: #ff7a2f;
}

.user-menu-item.logout {
    margin-top: 10px;
    color: rgba(255, 255, 255, 0.8);
}

.user-menu-item.logout:hover {
    background-color: rgba(255, 107, 107, 0.15);
    color: #ff6b6b;
}

/* 会员中心左侧菜单按会员组显隐（采购企业 coalmine / 供应商 supplier / 普通用户 normal） */
.mt-normal .mt-hide-normal,
.mt-coalmine .mt-hide-coalmine,
.mt-supplier .mt-hide-supplier {
    display: none;
}

.msg-badge {
    position: absolute;
    right: 14px;
    width: 20px;
    height: 20px;
    background-color: #ff4d4f;
    color: #fff;
    font-size: 11px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.user-panel {
    display: none;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

.user-panel.active {
    display: block;
    animation: panelFadeIn 0.3s ease;
}

@keyframes panelFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    border-bottom: 1px solid #f0f0f0;
}

.panel-header h2 {
    font-size: 18px;
    font-weight: 600;
    color: #0d1b3e;
    flex-shrink: 0;
}

.panel-extra-link {
    font-size: 14px;
    color: #ff7a2f;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
}

.panel-extra-link:hover {
    text-decoration: underline;
}

.panel-search {
    margin-left: auto;
    max-width: 260px;
    flex: 1;
}

.panel-search-input {
    width: 100%;
    height: 36px;
    padding: 0 14px;
    border: 1px solid #ddd;
    border-radius: 18px;
    font-size: 13px;
    color: #333;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
}

.panel-search-input:focus {
    border-color: #ff7a2f;
    box-shadow: 0 0 0 3px rgba(255, 122, 47, .12);
}

.panel-search-input::placeholder {
    color: #aaa;
}

.panel-filters {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.panel-filter {
    height: 36px;
    padding: 0 28px 0 12px;
    border: 1px solid #ddd;
    border-radius: 18px;
    font-size: 13px;
    color: #333;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='16' height='16'%3E%3Cpath fill='%23999' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E") no-repeat right 8px center;
    background-size: 16px 16px;
    appearance: none;
    -webkit-appearance: none;
    outline: none;
    cursor: pointer;
    min-width: 100px;
    transition: border-color .2s, box-shadow .2s;
}

.panel-filter:focus {
    border-color: #ff7a2f;
    box-shadow: 0 0 0 3px rgba(255, 122, 47, .12);
}

.panel-body {
    padding: 24px;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.data-table th,
.data-table td {
    padding: 14px 12px;
    text-align: left;
    border-bottom: 1px solid #f0f0f0;
}

.data-table th {
    font-weight: 600;
    color: #666;
    background-color: #fafbfc;
    font-size: 13px;
}

.data-table td {
    color: #333;
}

.cell-title {
    color: #0d1b3e;
    font-weight: 500;
    max-width: 300px;
}

.type-tag,
.status-tag {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 12px;
}

.type-tag.supply {
    background-color: #fff3e0;
    color: #ff7a2f;
}

.type-tag.demand {
    background-color: #e3f2fd;
    color: #409eff;
}

.type-tag.post {
    background-color: #f3e5f5;
    color: #9c27b0;
}

.status-tag.published {
    background-color: #e8f5e9;
    color: #67c23a;
}

.status-tag.pending {
    background-color: #fff8e1;
    color: #f5a623;
}

.status-tag.hidden {
    background-color: #f5f5f5;
    color: #999;
}

.action-link {
    color: #409eff;
    font-size: 13px;
    margin-right: 9px;
}

.action-link:last-child {
    margin-right: 0;
}

.action-link.view {
    color: #409eff;
}

.action-link.edit {
    color: #e6a23c;
}

.action-link.delete,
.action-link.unfav {
    color: #f56c6c;
}

.action-link:hover {
    text-decoration: underline;
}

.action-link.view:hover {
    color: #66b1ff;
}

.action-link.edit:hover {
    color: #f0c06e;
}

.action-link.delete:hover,
.action-link.unfav:hover {
    color: #f78989;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.empty-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.empty-state p {
    font-size: 14px;
}

/* ---------------- 我的简历卡片 ---------------- */
.resume-card {
    background-color: #fff;
    border-radius: 12px;
    padding: 28px 32px;
    border: 1px solid #f0f0f0;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    color: #333;
    line-height: 1.6;
}

.resume-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.resume-name-wrap {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
}

.resume-name {
    font-size: 24px;
    font-weight: 700;
    color: #0d1b3e;
}

.resume-meta-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.resume-meta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 12px;
    background-color: #fff3e0;
    color: #ff7a2f;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
}

.resume-section {
    margin-bottom: 24px;
}

.resume-section:last-of-type {
    margin-bottom: 0;
}

.resume-section-title {
    font-size: 15px;
    font-weight: 600;
    color: #0d1b3e;
    margin-bottom: 14px;
    padding-left: 10px;
    border-left: 3px solid #ff7a2f;
}

.resume-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px 32px;
}

.resume-row {
    display: flex;
    align-items: baseline;
    gap: 10px;
    min-height: 32px;
}

.resume-label {
    flex-shrink: 0;
    width: 72px;
    font-size: 13px;
    color: #999;
    text-align: left;
}

.resume-value {
    flex: 1;
    font-size: 14px;
    color: #333;
    word-break: break-all;
}

.resume-exp {
    color: #555;
    line-height: 1.8;
}

.resume-intro {
    padding: 14px 16px;
    background-color: #fafbfc;
    border-radius: 8px;
    font-size: 14px;
    color: #555;
    line-height: 1.8;
    word-break: break-word;
}

.resume-actions {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.resume-actions .btn-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    padding: 10px 24px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
}

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

    .resume-head {
        padding-bottom: 16px;
        margin-bottom: 16px;
    }

    .resume-name-wrap {
        gap: 10px;
    }

    .resume-name {
        font-size: 20px;
    }

    .resume-meta {
        padding: 3px 10px;
        font-size: 12px;
    }

    .resume-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .resume-row {
        min-height: auto;
    }

    .resume-label {
        width: 68px;
    }

    .resume-actions {
        margin-top: 24px;
        padding-top: 16px;
    }

    .resume-actions .btn-action {
        width: 100%;
        min-width: auto;
    }
}

.message-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.message-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    border-radius: 8px;
    border-bottom: 1px solid #eeeeee;
    transition: background-color 0.3s ease;
}

.message-item:hover {
    background-color: #f5f7fa;
}

.message-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #ddd;
    margin-top: 6px;
    flex-shrink: 0;
}

.message-item.unread .message-dot {
    background-color: #ff4d4f;
}

.message-info {
    flex: 1;
}

.message-title {
    font-size: 14px;
    color: #333;
    margin-bottom: 4px;
}

.message-item.unread .message-title {
    font-weight: 500;
    color: #0d1b3e;
}

.message-title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
}

.message-title-row .message-title {
    flex: 1;
    min-width: 0;
    margin-bottom: 0;
    overflow-wrap: break-word;
}

.message-title-row .message-time {
    flex-shrink: 0;
    margin-top: 2px;
}

.message-time {
    font-size: 12px;
    color: #999;
}

.message-content {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    margin-top: 2px;
}

.message-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    flex-shrink: 0;
    align-self: center;
}

.message-view {
    font-size: 13px;
    color: #fff;
    background: #ff7a2f;
    padding: 6px 12px;
    border-radius: 4px;
    text-decoration: none;
    white-space: nowrap;
    line-height: 1;
}

.message-view:hover {
    background: #e66a1f;
}

.message-mark {
    font-size: 12px;
    color: #ff7a2f;
    cursor: pointer;
    padding: 2px 6px;
    border: 1px solid #ffd9bf;
    border-radius: 4px;
    white-space: nowrap;
    line-height: 1;
}

.message-mark:hover {
    background: #fff3ec;
}

.message-del {
    font-size: 13px;
    color: #999;
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    cursor: pointer;
    padding: 5px 12px;
    border-radius: 4px;
    white-space: nowrap;
    line-height: 1;
    text-decoration: none;
}

.message-del:hover {
    color: #fff;
    background: #999;
    border-color: #999;
}

.btn-readall {
    font-size: 13px;
    padding: 6px 14px;
    line-height: 1;
}

.menu-badge {
    display: inline-block;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    margin-left: 6px;
    line-height: 16px;
    text-align: center;
    font-size: 11px;
    color: #fff;
    background: #ff4d4f;
    border-radius: 8px;
    vertical-align: middle;
}

.read-all {
    font-size: 13px;
    color: #999;
    cursor: pointer;
}

.read-all:hover {
    color: #ff7a2f;
}

.settings-form {
    max-width: 500px;
}

.form-row {
    margin-bottom: 20px;
}
.form-row:last-child{
    margin-bottom: 0;
}
.form-row label {
    display: block;
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}

.form-row input,
.form-row textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.form-row textarea {
    min-height: 120px;
    resize: vertical;
    line-height: 1.6;
}

.form-row input:focus,
.form-row textarea:focus {
    border-color: #ff7a2f;
}

.form-row input[readonly] {
    background-color: #f5f7fa;
    color: #999;
}

.save-btn {
    padding: 10px 32px;
}

.form-row select {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 14px;
    outline: none;
    background-color: #fff;
    box-sizing: border-box;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24'%3E%3Cpath fill='%23999' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}

.form-row select:focus {
    border-color: #ff7a2f;
}

.avatar-row .avatar-uploader {
    display: flex;
    align-items: center;
    gap: 14px;
}

.avatar-row .avatar-preview {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background-color: #eef1f6;
    background-size: cover;
    background-position: center;
    cursor: pointer;
    border: 2px solid #e6e9ef;
    flex-shrink: 0;
}

.avatar-row input[type="file"] {
    display: none;
}

.avatar-row .avatar-tip {
    font-size: 13px;
    color: #999;
}

.avatar-row .company-logo-uploader {
    align-items: flex-start;
}

.avatar-row .company-logo-uploader .avatar-preview {
    width: 100px;
    height: 100px;
    border-radius: 8px;
    background-color: #f5f7fa;
        background-image: url('../images/addtup.png');
}

.avatar-row .company-logo-uploader .avatar-tip {
    display: block;
    margin-bottom: 4px;
    color: #666;
}

.avatar-row .company-logo-uploader .avatar-hint {
    display: block;
    font-size: 12px;
    color: #999;
}

.password-form {
    max-width: 500px;
}

.password-form-title {
    font-size: 16px;
    font-weight: 500;
    color: #0d1b3e;
    margin-bottom: 20px;
}

/* ==================== 发布供需信息页 ==================== */

.publish-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

.publish-card-header {
    padding: 24px 30px;
    border-bottom: 1px solid #f0f0f0;
}

.publish-card-header h2 {
    font-size: 20px;
    color: #333;
    margin-bottom: 6px;
}

.publish-card-header p {
    font-size: 13px;
    color: #999;
}

.publish-form {
    padding: 30px;
}

.publish-form .form-row {
    margin-bottom: 24px;
}

.publish-form .form-row label {
    display: block;
    font-size: 14px;
    color: #333;
    margin-bottom: 12px;
    font-weight: 500;
}

/* ================= 通用表单元素（提升到全局） ================= */
.required {
    color: #e4393c;
    margin-left: 2px;
}

.form-hint {
    margin: 0 0 16px;
    padding: 10px 14px;
    background: #fff7e6;
    border: 1px solid #ffe2a8;
    border-radius: 8px;
    font-size: 13px;
    color: #a05a00;
}

/* ================= 登录 / 注册容器 ================= */
.mb-auth {
    max-width: 460px;
    margin: 40px auto 60px;
    padding: 36px 36px 28px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.mb-auth-tabs {
    display: flex;
    border-bottom: 2px solid #f0f0f0;
    margin-bottom: 24px;
}

.mb-auth-tab {
    flex: 1;
    padding: 14px 0;
    border: none;
    background: none;
    font-size: 16px;
    font-weight: 500;
    color: #888;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: all 0.2s ease;
    font-family: inherit;
}

.mb-auth-tab:hover {
    color: #ff7a2f;
}

.mb-auth-tab.active {
    color: #ff7a2f;
    border-bottom-color: #ff7a2f;
    font-weight: 600;
}

.mb-auth-title {
    text-align: center;
    font-size: 22px;
    font-weight: 600;
    color: #222;
    margin-bottom: 22px;
    letter-spacing: 1px;
}

.mb-auth-msg {
    min-height: 22px;
    font-size: 13px;
    text-align: center;
    margin: 4px 0 12px;
    line-height: 1.6;
}

.mb-auth-msg.err { color: #e4393c; }
.mb-auth-msg.ok { color: #2a8f5f; }

.mb-auth-body .btn-action {
    width: 100%;
    padding: 13px;
    font-size: 15px;
    margin-top: 8px;
    letter-spacing: 2px;
}

.mb-auth-body .btn-action:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.mb-auth-foot {
    margin-top: 16px;
    text-align: center;
    font-size: 13px;
    color: #888;
}

.mb-auth-foot a {
    color: #ff7a2f;
    text-decoration: none;
}

.mb-auth-foot a:hover {
    text-decoration: underline;
}
.mobile_search{
    display: none;
}
@media (max-width: 600px) {
    .user-center-container.user-center-auth {
        padding: 20px 12px 40px;
    }
    .mb-auth {
        margin: 20px auto;
        padding: 28px 20px 22px;
    }
    .mb-auth-tab {
        font-size: 15px;
        padding: 12px 0;
    }
    .mb-auth-title {
        font-size: 19px;
        margin-bottom: 18px;
    }
}

/* 兼容旧作用域（保留以防他处仍带 .publish-form 前缀） */
.publish-form .required {
    color: #e4393c;
    margin-left: 2px;
}

.publish-form .form-hint {
    margin: 0 0 16px;
    padding: 10px 14px;
    background: #fff7e6;
    border: 1px solid #ffe2a8;
    border-radius: 8px;
    font-size: 13px;
    color: #a05a00;
    line-height: 1.5;
}

.publish-form .radio-item input[type="radio"]:disabled + .radio-mark {
    opacity: .45;
}

.publish-form input[type="text"],
.publish-form input[type="tel"],
.publish-form input[type="email"],
.publish-form select.form-select,
.publish-form textarea.form-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    color: #333;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background-color: #fff;
}

.publish-form input:focus,
.publish-form select.form-select:focus,
.publish-form textarea.form-textarea:focus {
    border-color: #ff7a2f;
    box-shadow: 0 0 0 3px rgba(255, 122, 47, 0.08);
}

.publish-form input::placeholder,
.publish-form textarea::placeholder {
    color: #aaa;
}

.publish-form select.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23999' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 18px;
    padding-right: 38px;
}

.publish-form textarea.form-textarea {
    resize: vertical;
    line-height: 1.6;
    min-height: 140px;
}

.form-row-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-row-2col .form-col {
    margin-bottom: 0;
}

.radio-group {
    display: flex;
    gap: 32px;
}

.radio-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    color: #333;
    font-weight: normal;
    margin-bottom: 0;
}

/* 避免被 .form-row label 的 display:block 覆盖，导致圆圈与文字基线错位 */
.form-row .radio-item {
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
    margin-bottom: 0;
}

.radio-mark {
    box-sizing: border-box;
    vertical-align: middle;
}

.radio-item input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.radio-mark {
    width: 20px;
    height: 20px;
    border: 2px solid #d0d0d0;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: border-color 0.3s ease;
    flex-shrink: 0;
}

.radio-item input[type="radio"]:checked + .radio-mark {
    border-color: #ff7a2f;
}

.radio-item input[type="radio"]:checked + .radio-mark::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: #ff7a2f;
    border-radius: 50%;
}

.form-actions {
    display: flex;
    gap: 16px;
    padding-top: 8px;
}

.btn-submit {
    padding: 12px 40px;
    background: linear-gradient(90deg, #ff7a2f 0%, #e65a00 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background: linear-gradient(90deg, #ff8a45 0%, #f06a10 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(230, 90, 0, 0.35);
}

.btn-reset {
    padding: 12px 32px;
    background: #f5f7fa;
    color: #666;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-reset:hover {
    background: #eef1f5;
    border-color: #d0d0d0;
}

.publish-tips {
    padding: 8px 16px;
}

.publish-tip {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 20px;
    font-size: 13px;
    color: #666;
    line-height: 1.7;
}

.publish-tip:last-child {
    margin-bottom: 0;
}

.publish-tip p {
    margin: 0;
    padding: 0;
}

.publish-tip .tip-num {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ff7a2f 0%, #e65a00 100%);
    color: #fff;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
}

/* 物资产品图片上传（多图） */
.goods-image-upload {
    width: 100%;
}

.upload-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: flex-start;
}

.upload-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 120px;
    height: 120px;
    border: 2px dashed #e0e0e0;
    border-radius: 10px;
    color: #999;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.upload-placeholder:hover {
    border-color: #ff7a2f;
    color: #ff7a2f;
    background-color: rgba(255, 122, 47, 0.04);
}

.upload-thumb {
    position: relative;
    width: 120px;
    height: 120px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #eee;
    flex-shrink: 0;
}

.upload-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.upload-thumb-remove {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 22px;
    height: 22px;
    line-height: 20px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    text-align: center;
}

.upload-thumb-remove:hover {
    background: rgba(230, 90, 0, 0.85);
}

.upload-hint {
    font-size: 12px;
    color: #999;
    font-weight: normal;
    margin-left: 6px;
}

/* 旧单图样式兼容保留 */
.upload-preview {
    display: block;
    width: 160px;
    height: 160px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid #eee;
}

.upload-remove {
    display: inline-block;
    margin-top: 8px;
    padding: 4px 12px;
    font-size: 12px;
    color: #e65a00;
    background: #fff;
    border: 1px solid #ffd9bf;
    border-radius: 6px;
    cursor: pointer;
}
.upload-remove:hover {
    background: #fff3ec;
}

.upload-box {
    display: block;
}

.upload-label {
    display: inline-block;
    padding: 10px 20px;
    border: 1px dashed #ff7a2f;
    border-radius: 6px;
    color: #ff7a2f;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.upload-label:hover {
    background: rgba(255, 122, 47, 0.04);
}

/* ==================== 响应式适配 ==================== */
@media (max-width: 1200px) {
    .header-left {
        gap: 24px;
    }

    .nav-item {
        padding: 10px 14px;
        font-size: 14px;
    }

    .search-box {
        width: 220px;
    }
}

@media (max-width: 1024px) {
    .header-container {
        padding: 0 16px;
    }
    
    .header-left {
        gap: 24px;
    }
    
    .nav-item {
        padding: 10px 14px;
        font-size: 14px;
    }
    
    .search-box {
        width: 200px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .content-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hot-goods-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .content-card.full-width {
        grid-column: span 1;
    }
    
    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .goods-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .course-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    
    
    
    
    .live-card.live-now {
        flex-direction: column;
    }
    
    .live-card.live-now .live-cover {
        width: 100%;
        flex: none;
    }
    
    .live-filter-bar .live-search-inline {
        flex: 1 1 100%;
        width: 100%;
        margin-left: 0;
    }
    
    .page-layout {
        grid-template-columns: 220px 1fr;
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .footer-link-columns{
            gap: 30px;
    }
    .header-container {
        height: 56px;
        padding: 0 16px;
        position: relative;
    }
    
    .header-left {
        gap: 12px;
        flex: 0 0 auto;
        min-width: 0;
    }
    
    

    

    .mobile-menu-toggle span {
        background-color: #fff;
    }
    
    .main-nav {
        display: flex;
        position: absolute;
        top: 56px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: linear-gradient(135deg, #0d1b3e 0%, #1a3a6b 100%);
        padding: 8px 16px 16px;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
        gap: 0;
        z-index: 999;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        max-height: calc(100vh - 56px);
        overflow-y: auto;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        pointer-events: none;
        transition: all 0.3s ease;
    }
    
    .main-nav.open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }
    
    .nav-item {
        padding: 12px 16px;
        font-size: 15px;
        border-radius: 6px;
        width: 100%;
    }
    
    .nav-item.active::after,
    .nav-item:hover::after {
        left: 16px;
        right: auto;
        width: 40px;
    }
    
    .header-right {
        flex: 1;
        justify-content: flex-end;
        gap: 8px;
        min-width: 0;
        margin-right: 4px;
    }

    .search-box {
        width: 160px;
        flex: 0 0 auto;
        max-width: none;
        height: 34px;
    }

    .search-box input {
        font-size: 12px;
        padding: 0 10px;
    }

    .search-box input::placeholder {
        font-size: 12px;
    }

    .login-btn {
        padding: 6px 10px;
        font-size: 12px;
    }

    .login-btn svg {
        width: 14px;
        height: 14px;
    }

    .user-dropdown-menu {
        right: -5px;
        left: auto;
        min-width: 90px;
        top: calc(100% + 6px);
        border-radius: 8px;
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
    }

    .user-dropdown-item {
        padding: 9px 14px;
        font-size: 13px;
    }

    .user-dropdown-item svg {
        width: 14px;
        height: 14px;
    }
    
    .mobile-menu-toggle {
        display: flex;
        margin-left: 4px;
        width: 36px;
        height: 32px;
        gap: 4px;
    }

    .mobile-menu-toggle span {
        width: 16px;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }

    .logo-img {
        height: 40px;
    }
    
    .hero-content h1 {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 14px;
        width: 100%;
        max-width: 85%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hot-goods-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-actions {
        flex-direction: row;
        gap: 10px;
        width: 100%;
        max-width: 75%;
        margin: 24px auto 20px;
    }

    .hero-btn {
        width: auto;
        max-width: none;
        padding: 9px 16px;
        font-size: 13px;
        flex: 1;
    }

    .hero-search {
        max-width: 85%;
        height: 42px;
        padding: 3px;
    }

    .hero-search-select {
        font-size: 12px;
        padding: 0 6px 0 10px;
        max-width: 64px;
        border-radius: 18px 0 0 18px;
    }

    .hero-search-input {
        padding: 0 12px;
        font-size: 13px;
    }

    .hero-search-btn {
        height: 36px;
        padding: 0 16px;
        font-size: 13px;
        border-radius: 18px;
    }
    
    .hero-search-btn svg {
        display: none;
    }
    
    
    
    
    
    .features-grid,
    .advantages-grid,
    .content-grid,
    .partners-grid,
    .hot-goods-grid {
        grid-template-columns: 1fr;
    }

    /* 八大核心功能在 ≤480px 下保持 2 列布局（4 行展示），其他 grid 仍 1 列 */
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    /* 合作伙伴在 ≤768px 下 2 列布局（3 行展示） */
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .partner-logo {
        height: 56px;
        padding: 6px 8px;
    }

    .feature-card {
        padding: 18px 12px;
    }

    .feature-card h3 {
        font-size: 15px;
    }

    .feature-card p {
        font-size: 12px;
    }

    /* 热门物资在 ≤480px 下保持 2 列布局（4 行展示） */
    .hot-goods-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .hot-goods-section .goods-thumb {
        height: 100px;
    }

    .goods-card-body {
        padding: 10px;
    }

    .goods-card-body h3 {
        font-size: 13px;
        margin-bottom: 4px;
    }

    .goods-card-tag {
        font-size: 11px;
        padding: 1px 5px;
        margin-right: 4px;
    }

    .goods-card-price {
        font-size: 14px;
    }

    .goods-card-price span {
        font-size: 11px;
        margin-left: 4px;
    }

    .goods-meta-row {
        font-size: 11px;
        gap: 6px;
        margin-bottom: 6px;
    }

    .goods-actions {
        margin-top: 8px;
    }

    .goods-actions .btn-action {
        padding: 6px 0;
        font-size: 12px;
    }

    .feature-icon {
        width: 48px;
        height: 48px;
    }
    
    .content-card.full-width {
        grid-column: span 1;
    }
    
    .card-header h3 {
        font-size: 15px;
    }
    
    .stats-row {
        gap: 14px;
    }
    
    .stat-card {
        min-width: 140px;
        padding: 18px 24px;
        flex: 1;
        max-width: 160px;
    }
    
    .stat-card .stat-num {
        font-size: 26px;
    }
    
    .stat-card .stat-label {
        font-size: 13px;
    }
    
    .footer-main {
        flex-direction: column;
        gap: 36px;
    }
    
    .footer-links {
        flex-wrap: wrap;
        gap: 36px;
    }

    .footer-links .link-group {
        flex: 1 1 120px;
    }
    
    .page-banner-content h1 {
        font-size: 26px;
    }
    
    .goods-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
    
    .course-grid,
    .live-grid,
    .replay-list {
        grid-template-columns: 1fr;
    }
    
    .job-card,
    .paper-card,
    .supply-card {
        flex-direction: column;
        gap: 18px;
    }
    
    .job-side,
    .paper-actions,
    .supply-side {
        align-items: flex-start;
        margin-left: 0;
        min-width: 0;
    }
    
    .supply-side {
        padding-top: 14px;
        border-top: 1px solid #f0f0f0;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        gap: 10px 16px;
    }
    
    .supply-side-label,
    .supply-phone,
    .supply-name {
        font-size: 13px;
    }
    
    .btn-contact {
        margin-top: 0;
        margin-left: auto;
    }
    
    .supply-meta {
        gap: 10px;
    }
    
    .paper-actions {
        flex-direction: row;
    }
    
    .post-content{
        margin-left: 6px;
    }
    .post-content h3{
        margin-bottom: 0;
    }
    .post-tags,.post-content > p{
        margin-bottom: 5px;
    }
    .post-stats {
        flex-wrap: wrap;
    }
    
    
    
    .user-center-container {
        grid-template-columns: 1fr;
    }
    
    .user-sidebar {
        position: static;
        padding: 20px;
    }
    .user-profile{
        padding-bottom: 15px;
        margin-bottom: 15px;
    }
    .userinfo{
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .userinfo .user-level{
        margin-left: 10px;
    }
    .userinfo .user-level::before{
        content: "(";
    }
    .userinfo .user-level::after{
        content: ")";
    }
    .user-menu {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .user-menu-item {
       width: 31%;
        /* justify-content: center; */
        padding: 5px 4px;
        font-size: 13px;
    }
    
    .user-menu-item svg {
        width: 16px;
        height: 16px;
    }
    
    .data-table {
        display: block;
        overflow-x: auto;
    }
    
    .panel-header {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }

    .panel-header .btn-action,
    .panel-header .btn-ghost {
        width: 100%;
        margin-left: 0;
        justify-content: center;
    }

    .panel-search {
        margin-left: 0;
        max-width: 100%;
        width: 100%;
    }

    .panel-filters {
        width: 100%;
        flex-wrap: wrap;
    }

    .panel-filter {
        flex: 1 1 calc(33.333% - 8px);
        min-width: 100px;
    }
    
    .page-layout {
        grid-template-columns: 1fr;
    }
    
    .page-sidebar {
        position: static;
    }

    .back-entry {
        display: none;
    }
    
    .sidebar-list {
        display: flex;
        flex-wrap: wrap;
        padding: 8px;
    }
    
    .sidebar-list .cat-item {
        flex: 0 0 auto;
        padding: 6px 14px;
        border: 1px solid #e8ecf2;
        border-radius: 14px;
        margin: 4px;
        border-left: 1px solid #e8ecf2;
        font-size: 13px;
    }
    
    .sidebar-list .cat-item:hover,
    .sidebar-list .cat-item.active {
       padding-left: 14px;
    background-color: #ff7a2f;
    color: #ffffff;
    border-left-color: #e8ecf2;
    }
    
    .sidebar-entry {
        padding: 16px;
    }
    
    .content-searchbar,
    .content-filterbar {
        padding: 12px 14px;
    }

    .filter-tab {
        height: 32px;
        padding: 0 12px;
        font-size: 12px;
    }

    .content-search-input {
        height: 36px;
        font-size: 13px;
    }
    
    .content-search-btn {
        height: 36px;
        padding: 0 16px;
        font-size: 13px;
    }
    
    .filter-bar-with-search .search-inline,
    .supply-filter-bar .supply-search-inline,
    .live-filter-bar .live-search-inline {
        flex: 1 1 100%;
        width: 100%;
        margin-left: 0;
        order: 99;
    }
    
    .filter-select {
        height: 32px;
        font-size: 12px;
        padding: 0 28px 0 12px;
    }
    
    .content-toolbar .content-searchbar {
        min-width: 0;
    }
    
    .toolbar-btn {
        height: 36px;
        padding: 0 16px;
        font-size: 13px;
    }

    .publish-card-header {
        padding: 20px 24px;
    }

    .publish-form {
        padding: 24px;
    }

    .publish-form .form-row {
        margin-bottom: 20px;
    }

    .form-row-2col {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .publish-tips {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .publish-tip {
        margin-bottom: 0;
    }
}

/* ==================== 移动端细化（≤600px） ==================== */
@media (max-width: 600px) {
    .search-box {
        display: none;
    }

    .header-left {
        gap: 8px;
    }

    

    .login-btn {
        padding: 5px 10px;
        font-size: 12px;
        border-radius: 15px;
    }

    .mobile-menu-toggle {
        margin-left: 2px;
    }
}

/* ==================== 移动端细化（≤480px） ==================== */
@media (max-width: 480px) {
    .mobile_list{
        display: none;
    }
    .mobile_search{
        display: block;
    }
    .pc_foot{
        display: none;
    }
    .mobile_foot{
        display: block;
    }
    .section-container {
        padding: 44px 16px;
    }

    .section-header {
        margin-bottom: 26px;
    }

    .section-header h2 {
        font-size: 23px;
    }

    .hero-banner {
        min-height: auto;
        padding: 24px 0;
    }

    .hero-content {
        padding: 0;
    }

    .hero-content h1 {
        font-size: 23px;
        line-height: 1.32;
    }

    .hero-subtitle {
        font-size: 13px;
        line-height: 1.6;
    }

    .cta-content h2 {
        font-size: 22px;
        white-space: nowrap;
    }

    .card-header {
        padding: 13px 16px;
    }

    .card-header h3 {
        font-size: 15px;
    }

    .card-body {
        padding: 14px 16px;
    }

    .goods-grid {
        gap: 10px;
    }

    .goods-thumb {
        height: 150px;
    }

    .stats-row {
        gap: 10px;
    }

    .stat-card {
        min-width: 0;
        padding: 16px 12px;
    }

    .stat-card .stat-num {
        font-size: 22px;
    }

    .stat-card .stat-label {
        font-size: 12px;
    }

    .page-banner {
        height: auto;
        padding: 36px 0;
    }

    .page-banner-content h1 {
        font-size: 22px;
    }

    .page-banner-content p {
        font-size: 13px;
    }
    .market-filters .filter-row{
        display: block;
    }
    .market-filters .filter-row .filter-label{
        display: block;
        margin-bottom: 10px;
    }
    .footer-container {
        padding: 40px 20px 20px;
    }

    .cta-section .section-container {
        padding: 30px 16px !important;
    }

    .footer-container {
        padding: 24px 20px 20px;
    }

    .footer-main {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        grid-template-areas:
            "brand brand follow"
            "quick core1 core2";
        gap: 20px 16px;
        align-items: start;
        justify-items: center;
        text-align: center;
        margin-bottom: 24px;
    }

    .footer-main > *,
    .footer-links > *,
    .footer-link-columns > *,
    .link-group-wide > * {
        min-width: 0;
    }

    .footer-brand {
        grid-area: brand;
        justify-self: start;
        text-align: left;
        padding-left: 0;
        display: flex;
        align-items: center;
    }

    .footer-brand img {
        height: 44px;
    }

    .footer-brand p {
        font-size: 11px;
        line-height: 1.5;
        width: 200px;
        margin-left: 15px;
    }

    .footer-bottom {
        padding-top: 12px;
    }

    .footer-links {
        display: contents;
    }

    .link-group-wide,
    .footer-link-columns {
        display: contents;
    }

    .footer-links .link-group:nth-child(1) {
        grid-area: quick;
    }

    .footer-link-columns .footer-link-col:nth-child(1) {
        grid-area: core1;
    }

    .footer-link-columns .footer-link-col:nth-child(2) {
        grid-area: core2;
    }

    .footer-links .link-group:nth-child(3) {
        grid-area: follow;
        justify-self: center;
        align-self: end;
        text-align: center;
        padding-left: 0;
        padding-bottom: 4px;
    }

    .footer-links .link-group:nth-child(3) .social-links {
        justify-content: center;
    }

    .footer-links .link-group-wide {
        min-width: 0;
    }

    .link-group h4 {
        font-size: 13px;
        margin-bottom: 10px;
    }

    .link-group a {
        font-size: 11px;
        margin-bottom: 6px;
    }

    .social-links {
        gap: 10px;
    }

    .social-link {
        width: 34px;
        height: 34px;
    }

    .sidebar-list .cat-item {
        padding: 5px 12px;
        font-size: 12px;
    }

    .job-card,
    .paper-card{
        padding: 16px;
        align-items: end;
    }
    .post-card,
    .supply-card{
        padding: 16px;
    }
    .job-main{
        width: 100%;
    }
    .job-main h3{
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .job-main h3 .mobile_search{
        font-weight: normal;
    }
    .supply-side {
        flex-wrap: nowrap;
        gap: 6px;
        overflow: hidden;
    }

    .supply-side-label {
        display: none;
    }

    .supply-phone,
    .supply-name {
        font-size: 12px;
        white-space: nowrap;
    }

    .btn-contact {
        height: 30px;
        padding: 0 10px;
        font-size: 12px;
        border-radius: 15px;
        flex-shrink: 0;
    }

    .btn-contact svg {
        width: 12px;
        height: 12px;
    }

    .job-side {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 10px;
        width: 100%;
    }

    .job-side .job-salary {
        order: 2;
        margin-left: auto;
        font-size: 18px;
    }

    .job-side .job-actions {
        order: 1;
        flex-direction: row;
        gap: 8px;
    }

    .job-side .job-actions .btn-action,
    .job-side .job-actions .btn-ghost {
        padding: 7px 12px;
        font-size: 12px;
    }

    .content-searchbar,
    .content-filterbar,
    .content-toolbar {
        padding: 12px 14px;
    }

    .toolbar-btn {
        height: 38px;
    }

    .btn-action,
    .btn-ghost {
        padding: 9px 16px;
    }

    .data-table th,
    .data-table td {
        padding: 10px 12px;
        font-size: 12px;
        white-space: nowrap;
    }

    .content-filterbar {
        gap: 10px;
    }

    .content-filterbar .filter-group {
        flex: 1 1 100%;
        width: 100%;
        min-width: 100%;
        max-width: 100%;
    }

    .content-filterbar .filter-group label {
        font-size: 12px;
    }

    .content-filterbar .filter-select {
        flex: 1;
        min-width: 0;
        font-size: 12px;
    }

    .publish-card-header {
        padding: 18px 20px;
    }

    .publish-card-header h2 {
        font-size: 18px;
    }

    .publish-form {
        padding: 20px;
    }

    .publish-form .form-row label {
        font-size: 13px;
        margin-bottom: 8px;
    }

    .publish-form input[type="text"],
    .publish-form input[type="tel"],
    .publish-form input[type="email"],
    .publish-form select.form-select,
    .publish-form textarea.form-textarea {
        padding: 10px 14px;
        font-size: 13px;
    }

    .radio-group {
        gap: 24px;
    }

    .radio-item {
        font-size: 13px;
        gap: 8px;
    }

    .radio-mark {
        width: 18px;
        height: 18px;
    }

    .form-actions {
        flex-direction: column;
        gap: 12px;
    }

    .btn-submit,
    .btn-reset {
        width: 100%;
        padding: 12px;
        font-size: 14px;
    }

    .publish-tips {
        grid-template-columns: 1fr;
    }

    .upload-thumb,
    .upload-placeholder {
        width: 100px;
        height: 100px;
    }

    .user-panel .panel-body {
        overflow-x: auto;
        max-width: 100%;
        -webkit-overflow-scrolling: touch;
    }

    /* 极窄屏：表格转卡片式，避免多列横向滑动 */
    .user-panel .data-table,
    .user-panel .data-table thead,
    .user-panel .data-table tbody,
    .user-panel .data-table tr,
    .user-panel .data-table th,
    .user-panel .data-table td {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }

    .user-panel .data-table thead {
        display: none;
    }

    .user-panel .data-table tr {
        border: 1px solid #e8ecf2;
        border-radius: 10px;
        margin-bottom: 12px;
        padding: 4px 12px;
        background: #fff;
        box-shadow: 0 1px 3px rgba(13, 27, 62, .04);
    }

    .user-panel .data-table td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 14px;
        padding: 9px 0;
        border-bottom: 1px dashed #eef1f6;
        font-size: 13px;
        line-height: 1.4;
        white-space: normal;
        word-break: break-word;
        text-align: right;
    }

    .user-panel .data-table td:last-child {
        border-bottom: 0;
    }

    .user-panel .data-table td::before {
        content: attr(data-label);
        color: #8a93a6;
        font-weight: 500;
        text-align: left;
        flex-shrink: 0;
        margin-right: auto;
    }

    .user-panel .data-table td.cell-title {
        text-align: left;
        font-weight: 600;
        color: #0d1b3e;
        font-size: 14px;
        padding: 10px 0 12px;
        border-bottom: 1px solid #eef1f6;
    }

    .user-panel .data-table td.cell-title::before {
        content: none;
    }
}

/* ==================== 详情页公共样式 ==================== */

/* 面包屑 */
.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    font-size: 13px;
    color: #888;
}

.breadcrumb a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #666;
    transition: color 0.25s ease;
}

.breadcrumb a:hover {
    color: #ff7a2f;
}

.breadcrumb .breadcrumb-sep {
    color: #c8c8c8;
}

.breadcrumb .breadcrumb-current {
    color: #0d1b3e;
    font-weight: 500;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 详情页两栏布局：左 2/3 内容，右 1/3 侧边栏 */
.detail-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
    align-items: flex-start;
}

.detail-main {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 0;
}

.detail-sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
    position: sticky;
    top: 84px;
}

/* 详情头部：标题、标签、meta */
.detail-header {
    background-color: #fff;
    border-radius: 12px;
    padding: 28px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.detail-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 12px;
    background-color: rgba(230, 162, 60, 0.12);
    color: #e65a00;
    font-size: 12px;
    font-weight: 500;
    border-radius: 4px;
}

.detail-tag.dark {
    background-color: rgba(13, 27, 62, 0.08);
    color: #0d1b3e;
}

.detail-tag.live {
    background-color: #e74c3c;
    color: #fff;
}

.detail-tag.supply {
    background-color: #e8f7ed;
    color: #1bb66b;
}

.detail-tag.demand {
    background-color: #fff2e8;
    color: #ff6a00;
}

.detail-title {
    font-size: 24px;
    font-weight: 700;
    color: #0d1b3e;
    line-height: 1.45;
    margin-bottom: 14px;
}

.detail-subtitle {
    font-size: 14px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 14px;
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 22px;
    padding-top: 14px;
    border-top: 1px solid #f0f0f0;
    font-size: 13px;
    color: #888;
}

.detail-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.detail-meta-item svg {
    flex-shrink: 0;
    color: #b0b6c2;
}

.detail-meta-item strong {
    color: #0d1b3e;
    font-weight: 600;
}

.detail-meta-item .price-up {
    color: #e74c3c;
    font-weight: 600;
}

.detail-meta-item.detail-fav-btn {
    margin-left: auto;
    cursor: pointer;
    user-select: none;
    color: #888;
    transition: color 0.2s ease;
}

.detail-meta-item.detail-fav-btn:hover {
    color: #ff7a2f;
}

.detail-meta-item.detail-fav-btn.active,
.detail-meta-item.detail-fav-btn.active svg {
    color: #e65a00;
}

/* 价格 / 核心数值条 */
.detail-price-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px 16px;
    margin-top: 16px;
    padding: 16px 20px;
    background: linear-gradient(135deg, #fff6ef 0%, #fffdfb 100%);
    border: 1px solid #ffe3cf;
    border-radius: 8px;
}

.detail-price {
    font-size: 28px;
    font-weight: 700;
    color: #e65a00;
    line-height: 1.2;
}

.detail-price-unit {
    font-size: 13px;
    color: #999;
}

.detail-price-extra {
    font-size: 13px;
    color: #666;
}

.detail-price-extra strong {
    color: #0d1b3e;
    font-weight: 600;
}

/* 关键参数表 */
.detail-specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    margin-top: 16px;
    background-color: #eef1f5;
    border: 1px solid #eef1f5;
    border-radius: 8px;
    overflow: hidden;
}

.detail-spec {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 12px 16px;
    background-color: #fff;
    font-size: 13px;
}

.detail-spec-label {
    flex-shrink: 0;
    color: #888;
}

.detail-spec-value {
    color: #333;
    font-weight: 500;
    word-break: break-all;
}

/* 封面 / 播放器占位 */
.detail-cover {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a2744 0%, #0d1b3e 100%);
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    border-radius: 12px;
    overflow: hidden;
}

.detail-cover.goods {
    background: linear-gradient(135deg, #eef2f7 0%, #e4eaf3 100%);
    color: #b0b8c5;
    font-size: 18px;
}

.detail-cover.goods::after {
    content: "商品图片";
}

.detail-cover.goods.has-image::after {
    content: none;
}

/* 物资详情多图相册 */
.goods-gallery {
    width: 100%;
}

.goods-gallery-main {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #eef2f7 0%, #e4eaf3 100%);
    border-radius: 12px;
    overflow: hidden;
}

.goods-gallery-main img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.goods-gallery-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.goods-gallery-thumb {
    flex: 0 0 auto;
    width: 72px;
    height: 72px;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 8px;
    background: #eef2f7;
    overflow: hidden;
    cursor: pointer;
    transition: border-color .2s;
}

.goods-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.goods-gallery-thumb.active,
.goods-gallery-thumb:hover {
    border-color: #ff6a00;
}

@media (max-width: 768px) {
    .goods-gallery-thumb {
        width: 64px;
        height: 64px;
    }
}

@media (max-width: 480px) {
    .goods-gallery-thumbs {
        gap: 8px;
    }
    .goods-gallery-thumb {
        width: 56px;
        height: 56px;
    }
}

/* 安全培训课程封面占位 */
.detail-cover.course {
    background: linear-gradient(135deg, #eef2f7 0%, #e4eaf3 100%);
    color: #b0b8c5;
}

.detail-cover.course.has-image {
    background-size: cover;
    background-position: center;
    color: transparent;
}

/* 课程详情顶部视频播放器（点击即播，无需付费） */
.detail-video {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    background: #0d1b3e;
}
.course-video {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    border: 0;
    border-radius: 12px;
}

/* 新闻详情文章配图占位 */
.detail-cover.news {
    background: linear-gradient(135deg, #eef2f7 0%, #e4eaf3 100%);
    color: #b0b8c5;
}

.detail-cover.news.has-image {
    background-size: cover;
    background-position: center;
    color: transparent;
}

/* 直播详情封面占位 */
.detail-cover.live {
    background: linear-gradient(135deg, #1a2744 0%, #0d1b3e 100%);
    color: rgba(255, 255, 255, 0.55);
    font-size: 16px;
    letter-spacing: 2px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.detail-cover.live.has-image {
    color: transparent;
}

.detail-cover-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    background-color: #e74c3c;
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    border-radius: 4px;
}

.detail-cover-badge::before {
    content: "";
    width: 6px;
    height: 6px;
    background-color: #fff;
    border-radius: 50%;
}

.detail-cover-viewers {
    position: absolute;
    top: 14px;
    right: 14px;
    padding: 5px 12px;
    background-color: rgba(0, 0, 0, 0.45);
    color: #fff;
    font-size: 12px;
    border-radius: 4px;
}

/* 正文区块 */
.detail-body {
    background-color: #fff;
    border-radius: 12px;
    padding: 28px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.detail-body img{
    width: 100%;
}
.detail-section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 22px;
    margin-bottom: 8px;
    font-size: 17px;
    font-weight: 600;
    color: #0d1b3e;
}

.detail-section-title:first-child {
    margin-top: 0;
}

.detail-section-title::before {
    content: "";
    width: 4px;
    height: 16px;
    background-color: #ff7a2f;
    border-radius: 2px;
}

.detail-body p {
    margin-bottom: 12px;
    font-size: 14px;
    line-height: 1.8;
    color: #555;
}

.detail-body p:last-child {
    margin-bottom: 0;
}

.detail-body h4 {
    margin: 18px 0 8px;
    font-size: 15px;
    font-weight: 600;
    color: #0d1b3e;
}

.detail-body ul {
    margin-bottom: 12px;
}

.detail-body ul li {
    position: relative;
    padding-left: 18px;
    font-size: 14px;
    line-height: 1.9;
    color: #555;
}

.detail-body ul li::before {
    content: "";
    position: absolute;
    left: 3px;
    top: 11px;
    width: 6px;
    height: 6px;
    background-color: #ff7a2f;
    border-radius: 50%;
}

.detail-body ol {
    margin-bottom: 12px;
    padding-left: 20px;
    list-style: decimal;
}

.detail-body ol li {
    font-size: 14px;
    line-height: 1.9;
    color: #555;
}

.detail-body ul:last-child,
.detail-body ol:last-child {
    margin-bottom: 0;
}

.detail-quote {
    margin-bottom: 16px;
    padding: 14px 18px;
    background-color: #f7f9fc;
    border-left: 3px solid #ff7a2f;
    border-radius: 0 6px 6px 0;
    font-size: 14px;
    line-height: 1.8;
    color: #555;
}

/* 课程大纲 / 有序条目列表 */
.detail-outline {
    display: flex;
    flex-direction: column;
    border: 1px solid #eef1f5;
    border-radius: 8px;
    overflow: hidden;
}

.outline-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 16px;
    border-bottom: 1px solid #eef1f5;
    font-size: 14px;
    color: #444;
    transition: background-color 0.25s ease;
}

.outline-item:last-child {
    border-bottom: none;
}

.outline-item:hover {
    background-color: #fafbfd;
}

.outline-index {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #eef1f5;
    color: #888;
    font-size: 12px;
    font-weight: 600;
    border-radius: 4px;
}

.outline-name {
    flex: 1;
    min-width: 0;
}

.outline-duration {
    flex-shrink: 0;
    font-size: 12px;
    color: #999;
}

/* 评论 / 回复列表 */
.comment-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.comment-item {
    display: flex;
    gap: 12px;
    padding-bottom: 18px;
    border-bottom: 1px dashed #eee;
}

.comment-item:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.comment-avatar {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #1a3a6b 0%, #0d1b3e 100%);
    border-radius: 50%;
}

.comment-body {
    flex: 1;
    min-width: 0;
}

.comment-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

.comment-name {
    font-size: 14px;
    font-weight: 600;
    color: #0d1b3e;
}

.comment-date {
    font-size: 12px;
    color: #999;
}

.comment-text {
    font-size: 14px;
    line-height: 1.8;
    color: #555;
}

/* 操作按钮组 */
.detail-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    padding: 20px 28px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.detail-actions .btn-action,
.detail-actions .btn-ghost {
    padding: 11px 28px;
    font-size: 14px;
    border-radius: 6px;
    gap: 6px;
}

.detail-actions .btn-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
    font-size: 13px;
    color: #666;
    transition: color 0.25s ease;
}

.detail-actions .btn-back:hover {
    color: #ff7a2f;
}

/* 侧边栏卡片 */
.sidebar-card {
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.sidebar-card-title {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 18px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 15px;
    font-weight: 600;
    color: #0d1b3e;
}

.sidebar-card-title::before {
    content: "";
    width: 4px;
    height: 14px;
    background-color: #ff7a2f;
    border-radius: 2px;
}

.sidebar-card-body {
    padding: 16px 18px;
}

.sidebar-card-body > .btn-action {
    width: 100%;
    margin-top: 12px;
    padding: 10px;
}

/* 联系人 / 机构信息 */
.contact-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-name {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 600;
    color: #0d1b3e;
}

.contact-avatar {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    /* background: linear-gradient(135deg, #1a3a6b 0%, #0d1b3e 100%); */
    border-radius: 50%;
    object-fit: cover;
    display: inline-block;
    overflow: hidden;
    margin-right: 5px;
}

.contact-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    line-height: 1.5;
    color: #666;
}

.contact-row svg {
    flex-shrink: 0;
    color: #ff7a2f;
}

.contact-phone {
    font-size: 20px;
    font-weight: 700;
    color: #e65a00;
    letter-spacing: 0.5px;
}

/* 相关推荐列表 */
.related-list {
    display: flex;
    flex-direction: column;
}

.related-item {
    display: flex;
    gap: 10px;
    padding: 12px 0;
    border-bottom: 1px dashed #eee;
}

.related-item:first-child {
    padding-top: 0;
}

.related-item:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.related-item:hover .related-title {
    color: #ff7a2f;
}

.related-rank {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
    background-color: #eef1f5;
    color: #999;
    font-size: 12px;
    font-weight: 600;
    border-radius: 4px;
}

.related-item.top .related-rank {
    background: linear-gradient(135deg, #ff7a2f 0%, #e65a00 100%);
    color: #fff;
}

.related-body {
    flex: 1;
    min-width: 0;
}

.related-title {
    display: block;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.6;
    color: #0d1b3e;
    transition: color 0.25s ease;
}

.related-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 12px;
    margin-top: 6px;
    font-size: 12px;
    color: #999;
}

.related-price {
    color: #e65a00;
    font-weight: 600;
}

/* 资讯详情页 - 同栏目推荐 */
.news-related-section {
    margin-top: 24px;
    padding: 22px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.news-related-section .section-title {
    font-size: 16px;
    font-weight: 600;
    color: #0d1b3e;
    margin-bottom: 16px;
}

.news-related-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px 28px;
}

.news-related-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #444;
    font-size: 14px;
    line-height: 1.5;
    transition: color 0.2s ease;
}

.news-related-item::before {
    content: '';
    flex-shrink: 0;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #ff7a2f;
}

.news-related-item:hover {
    color: #ff7a2f;
}

.news-related-item .related-title {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.news-related-item .related-date {
    flex-shrink: 0;
    font-size: 12px;
    color: #999;
}

@media (max-width: 768px) {
    .news-related-section {
        padding: 16px;
    }
    .news-related-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

/* 标签云 */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-cloud a {
    padding: 5px 12px;
    background-color: #f5f7fa;
    color: #666;
    font-size: 12px;
    border-radius: 14px;
    transition: all 0.25s ease;
}

.tag-cloud a:hover {
    background-color: rgba(230, 162, 60, 0.12);
    color: #e65a00;
}

/* 侧边栏数据统计 */
.stat-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.stat-box {
    padding: 12px 8px;
    background-color: #f7f9fc;
    border-radius: 8px;
    text-align: center;
}

.stat-box-num {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: #0d1b3e;
}

.stat-box-label {
    font-size: 12px;
    color: #888;
}

/* 列表页标题跳转链接 */
.card-title-link {
    transition: color 0.25s ease;
}

.card-title-link:hover {
    color: #ff7a2f;
}

/* 详情页响应式 —— 平板 */
@media (max-width: 1024px) {
    .detail-layout {
        grid-template-columns: 1.7fr 1fr;
        gap: 16px;
    }

    .detail-header,
    .detail-body {
        padding: 22px;
    }

    .detail-actions {
        padding: 18px 22px;
    }

    .detail-title {
        font-size: 21px;
    }

    .detail-price {
        font-size: 25px;
    }
}

/* 详情页响应式 —— 移动端单列，侧边栏下移 */
@media (max-width: 768px) {
    .detail-layout {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .detail-sidebar {
        position: static;
        top: auto;
    }

    .detail-specs {
        grid-template-columns: 1fr;
    }

    .detail-header,
    .detail-body {
        padding: 18px;
        border-radius: 10px;
    }

    .detail-actions {
        padding: 16px 18px;
        gap: 10px;
    }

    .detail-title {
        font-size: 19px;
    }

    .detail-price {
        font-size: 23px;
    }

    .detail-price-bar {
        padding: 14px 16px;
    }

    .detail-meta {
        gap: 8px 16px;
        font-size: 12px;
    }

    .breadcrumb {
        margin-bottom: 12px;
        font-size: 12px;
    }

    .breadcrumb .breadcrumb-current {
        max-width: 140px;
    }

    .detail-actions .btn-back {
        margin-left: 0;
        width: 100%;
        justify-content: center;
        padding-top: 6px;
        border-top: 1px solid #f0f0f0;
    }
}

/* 详情页响应式 —— 小屏手机 */
@media (max-width: 480px) {
    .detail-layout {
        gap: 12px;
    }

    .detail-header,
    .detail-body {
        padding: 14px;
    }

    .detail-actions {
        padding: 14px;
    }

    .detail-title {
        font-size: 17px;
    }

    .detail-subtitle,
    .detail-body p,
    .detail-body ul li,
    .detail-body ol li,
    .detail-quote {
        font-size: 13px;
    }

    .detail-section-title {
        font-size: 15px;
        margin-top: 18px;
        margin-bottom: 8px;
    }

    .detail-section-title:first-child {
        margin-top: 0;
    }

    .detail-price {
        font-size: 21px;
    }

    .detail-tag {
        padding: 3px 9px;
        font-size: 11px;
    }

    .detail-spec {
        padding: 10px 12px;
        font-size: 12px;
    }

    .detail-actions .btn-action,
    .detail-actions .btn-ghost {
        flex: 1;
        min-width: calc(50% - 5px);
        padding: 10px 12px;
        font-size: 13px;
    }

    .sidebar-card-title {
        padding: 12px 14px;
        font-size: 14px;
    }

    .sidebar-card-body {
        padding: 14px;
    }

    .contact-phone {
        font-size: 18px;
    }

    .related-title {
        font-size: 12px;
    }

    .comment-avatar {
        width: 34px;
        height: 34px;
    }

    .comment-text {
        font-size: 13px;
    }

    .outline-item {
        padding: 11px 12px;
        font-size: 13px;
    }
}

/* ============================================================
   动态渲染补充样式（API 数据驱动，仅补齐设计稿未覆盖的部分）
   ============================================================ */

/* 加载 / 空态 */
.mb-state {
    grid-column: 1 / -1;
    padding: 48px 20px;
    text-align: center;
    color: #9aa1ab;
    font-size: 14px;
    background: #fff;
    border: 1px dashed #e5e8ee;
    border-radius: 10px;
}

.mb-state-empty {
    color: #b0b6bf;
}

/* 分页器 */
.mb-pager {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 28px 0 8px;
}

.mb-pg {
    min-width: 38px;
    height: 36px;
    padding: 0 12px;
    border: 1px solid #e5e8ee;
    background: #fff;
    color: #555;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.mb-pg:hover:not(:disabled) {
    border-color: #ff7a2f;
    color: #e65a00;
}

.mb-pg.active {
    background: linear-gradient(135deg, #ff7a2f 0%, #e65a00 100%);
    border-color: #e65a00;
    color: #fff;
    font-weight: 600;
}

.mb-pg:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.mb-pg-dot {
    color: #bbb;
    padding: 0 2px;
}

.mb-pg-info {
    margin-left: 8px;
    color: #999;
    font-size: 13px;
}

/* 详情图集 */
.mb-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 16px 0;
}

.mb-gallery img {
    width: 118px;
    height: 118px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #eef1f5;
}

/* 帖子回复 */
.mb-comments {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 18px;
}

.mb-comment {
    background: #fafbfd;
    border: 1px solid #eef1f5;
    border-radius: 8px;
    padding: 14px 16px;
}

.mb-comment-hd {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.mb-comment-user {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.mb-comment-time {
    font-size: 12px;
    color: #a5abb5;
}

.mb-comment-body {
    font-size: 14px;
    line-height: 1.8;
    color: #555;
    white-space: pre-wrap;
}

.mb-reply {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    margin-top: 6px;
}

.mb-reply textarea {
    width: 100%;
    border: 1px solid #e5e8ee;
    border-radius: 8px;
    padding: 12px 14px;
    font-size: 14px;
    line-height: 1.7;
    resize: vertical;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s ease;
}

.mb-reply textarea:focus {
    border-color: #ff7a2f;
}

/* 收藏按钮激活态 */
.detail-actions .btn-ghost.active,
.detail-meta-item.detail-fav-btn.active {
    background: #fff1e8;
    border-color: #ffb083;
    color: #e65a00;
}

.detail-meta-item.detail-fav-btn.active {
    background: transparent;
}

/* 首页 Hero 背景轮播 */
.hero-banner {
    position: relative;
    overflow: hidden;
}

.mb-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.mb-hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease;
}

.mb-hero-slide.active {
    opacity: 0.28;
}

.hero-banner > *:not(.mb-hero-bg) {
    position: relative;
    z-index: 1;
}

/* 平台数据（如页面存在统计位） */
.stat-item {
    text-align: center;
}

.stat-num {
    font-size: 28px;
    font-weight: 700;
    color: #e65a00;
}

.stat-label {
    font-size: 13px;
    color: #888;
    margin-top: 4px;
}

/* 大纲副标题 */
.outline-name small {
    display: block;
    margin-top: 3px;
    color: #9aa1ab;
    font-size: 12px;
    font-weight: 400;
}

/* 动态生成的联系按钮与列表卡按钮，沿用设计稿按钮观感 */
a.btn-contact,
a.btn-action,
a.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

/* ---------- 移动端适配 ---------- */
@media (max-width: 768px) {
    .mb-state {
        padding: 34px 14px;
        font-size: 13px;
    }

    .mb-pager {
        gap: 6px;
        margin: 20px 0 4px;
    }

    .mb-pg {
        min-width: 32px;
        height: 32px;
        padding: 0 8px;
        font-size: 13px;
    }

    .mb-pg-info {
        width: 100%;
        margin: 6px 0 0;
        text-align: center;
    }

    .mb-gallery img {
        width: calc(33.333% - 7px);
        height: 96px;
    }

    .mb-comment {
        padding: 12px;
    }

    .mb-reply textarea {
        font-size: 13px;
    }

    .mb-reply .btn-action {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .mb-gallery img {
        width: calc(50% - 5px);
        height: 110px;
    }

    .mb-pg-dot {
        display: none;
    }
}

/* 空数据提示 */
.empty-tip {
    padding: 28px 16px;
    text-align: center;
    color: #8a94a6;
    font-size: 14px;
    background: #f7f9fc;
    border: 1px dashed #e1e6ef;
    border-radius: 10px;
    grid-column: 1 / -1;
}

/* 首页 Hero 背景轮播 JS 控制 */
.mb-hero-bg .mb-hero-slide {
    cursor: default;
}

/* ===== 通用模态框 / 轻提示 ===== */
body.modal-open { overflow: hidden; }
.mb-modal-backdrop {
    position: fixed; inset: 0; z-index: 9999;
    background: rgba(0, 0, 0, .5);
    display: flex; align-items: center; justify-content: center;
    padding: 16px; animation: mbFade .2s ease;
}
@keyframes mbFade { from { opacity: 0; } to { opacity: 1; } }
.mb-modal {
    width: 100%; max-width: 460px;
    background: #fff; border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .25);
    overflow: hidden; display: flex; flex-direction: column;
    max-height: 90vh;
}
.mb-modal-head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 20px; border-bottom: 1px solid #f0f0f0;
}
.mb-modal-head h3 { margin: 0; font-size: 17px; color: #222; }
.mb-modal-close {
    border: none; background: transparent; font-size: 24px; line-height: 1;
    color: #999; cursor: pointer; padding: 0 4px;
}
.mb-modal-close:hover { color: #ff7a2f; }
.mb-modal-body { padding: 20px; overflow-y: auto; }
.mb-modal-foot { padding: 14px 20px 20px; }
.mb-modal-foot .btn-action { width: 100%; }
.mb-input {
    width: 100%; padding: 10px 14px;
    border: 1px solid #e0e0e0; border-radius: 6px;
    font-size: 14px; outline: none; transition: border-color .3s ease;
    font-family: inherit; resize: vertical;
}
.mb-input:focus { border-color: #ff7a2f; }
.mb-toast {
    position: fixed; left: 50%; top: 24px;
    transform: translateX(-50%) translateY(-20px);
    background: rgba(40, 40, 40, .92); color: #fff;
    padding: 10px 20px; border-radius: 8px; font-size: 14px;
    z-index: 10000; opacity: 0; transition: all .3s ease;
    pointer-events: none; max-width: 90vw; text-align: center;
}
.mb-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.mb-toast.ok { background: rgba(38, 158, 89, .95); }
.mb-toast.error { background: rgba(220, 60, 50, .95); }

/* ===== 举报弹窗 ===== */
.mb-report-tip { margin: 0 0 12px; color: #555; font-size: 14px; }
.mb-report-reasons {
    display: flex; flex-wrap: wrap; gap: 10px;
    margin-bottom: 14px;
}
.mb-report-reason {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 12px; border: 1px solid #e5e5e5; border-radius: 6px;
    font-size: 14px; color: #333; cursor: pointer; background: #fafafa;
    transition: border-color .2s, background .2s;
}
.mb-report-reason:hover { border-color: #ff7a2f; background: #fff5ed; }
.mb-report-reason input[type="radio"] {
    width: 16px; height: 16px; margin: 0; flex-shrink: 0;
}
.mb-report .form-textarea {
    width: 100%; min-height: 80px; padding: 10px 12px;
    border: 1px solid #e0e0e0; border-radius: 6px; font-size: 14px;
    resize: vertical; outline: none; font-family: inherit;
}
.mb-report .form-textarea:focus { border-color: #ff7a2f; }
.mb-modal-foot {
    display: flex; flex-direction: row; gap: 10px;
    padding: 14px 20px 20px;
}
.mb-modal-foot .btn-action,
.mb-modal-foot .btn-ghost { flex: 1; width: auto; }
.mb-modal-foot .btn-ghost { color: #666; }

/* 询价弹窗：紧凑布局 + 去掉空提示占位 + 加高提交按钮 */
.mb-modal-inquiry .mb-modal-body { padding: 16px 20px; }
.mb-modal-inquiry .mb-modal-foot { padding: 10px 20px 16px; }
.mb-modal-inquiry .form-row { margin-bottom: 14px; }
.mb-modal-inquiry .form-row:last-child { margin-bottom: 0; }
.mb-modal-inquiry .mb-modal-body .mb-auth-msg {
    min-height: 0;
    margin: 0;
    padding: 0;
    line-height: 0;
}
.mb-modal-inquiry .mb-modal-body .mb-auth-msg:not(:empty) {
    display: block;
    min-height: 22px;
    margin-top: 8px;
    padding: 6px 0;
    line-height: 1.6;
}
.mb-modal-inquiry .mb-modal-foot .btn-action {
    padding: 12px 18px;
    font-size: 15px;
    min-height: 44px;
}

/* 电话咨询弹窗 */
.mb-call-info { padding: 4px 2px; }
.mb-call-row {
    display: flex; align-items: center; justify-content: space-between;
    gap: 16px; padding: 14px 4px;
    border-bottom: 1px solid #f0f1f3;
}
.mb-call-row:last-child { border-bottom: none; }
.mb-call-label { color: #888; font-size: 14px; flex-shrink: 0; }
.mb-call-value { color: #1a1a1a; font-size: 16px; font-weight: 600; text-align: right; word-break: break-all; }
.mb-call-phone { color: #ff7a2f; letter-spacing: 1px; font-size: 18px; }

/* ===== 课程章节 ===== */
.chapter-section { margin-top: 28px; }
.chapter-list { display: flex; flex-direction: column; gap: 10px; margin-top: 6px; }
.chapter-item {
    display: flex; align-items: center; gap: 14px;
    padding: 14px 16px; background: #fafbfc; border: 1px solid #f0f1f3;
    border-radius: 10px; transition: border-color .2s ease, background .2s ease;
}
.chapter-item:hover { border-color: #ffd2b0; background: #fff7f1; }
.chapter-idx {
    flex: 0 0 28px; height: 28px; border-radius: 50%;
    background: #fff0e6; color: #ff7a2f; font-weight: 600;
    display: flex; align-items: center; justify-content: center; font-size: 13px;
}
.chapter-main { flex: 1; min-width: 0; }
.chapter-title { font-size: 15px; color: #222; }
.chapter-dur { font-size: 12px; color: #999; margin-top: 2px; }
.chapter-badge {
    flex: 0 0 auto; font-size: 12px; color: #ff7a2f;
    background: #fff0e6; padding: 2px 8px; border-radius: 10px;
}
.chapter-play {
    flex: 0 0 auto; border: none; cursor: pointer;
    background: #ff7a2f; color: #fff; font-size: 13px;
    padding: 6px 14px; border-radius: 16px; transition: background .2s ease;
}
.chapter-play:hover { background: #f06a1c; }
.chapter-lock { flex: 0 0 auto; font-size: 12px; color: #bbb; }
.video-wrap { background: #000; border-radius: 8px; overflow: hidden; }

/* ===== 关于 / 联系 / 帮助 静态页 ===== */
.about-wrap, .help-wrap { max-width: 880px; margin: 0 auto; padding: 36px 0 60px; }
.about-block { margin-bottom: 32px; }
.about-block h2, .help-section h2 { font-size: 20px; color: #0d1b3e; margin-bottom: 14px; }
.about-block p { color: #555; line-height: 1.9; margin-bottom: 12px; }
.about-list { list-style: none; padding: 0; }
.about-list li { color: #555; line-height: 2; padding-left: 18px; position: relative; }
.about-list li::before { content: ''; position: absolute; left: 0; top: 14px; width: 6px; height: 6px; border-radius: 50%; background: #ff7a2f; }
.about-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 8px 0 36px; }
.about-stats .stat-item { background: linear-gradient(135deg, #ff7a2f 0%, #e65a00 100%); color: #fff; border-radius: 12px; padding: 22px 12px; text-align: center; }
.about-stats .stat-num { font-size: 26px; font-weight: 700; color: #fff; }
.about-stats .stat-label { font-size: 13px; opacity: .9; color: #fff; margin-top: 4px; }
.about-cta { display: flex; gap: 16px; justify-content: center; margin-top: 12px; }
.about-cta .cta-btn { display: inline-block; padding: 12px 30px; border-radius: 24px; font-size: 15px; text-decoration: none; }
.cta-btn { background: linear-gradient(135deg, #ff7a2f 0%, #e65a00 100%); color: #fff; }
.cta-btn-secondary { background: #fff; color: #e65a00; border: 1px solid #ffd9bf; }

.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; padding: 36px 0 60px; }
.contact-info-card, .contact-form-card { background: #fff; border: 1px solid #eee; border-radius: 12px; padding: 28px; }
.contact-info-card h2, .contact-form-card h2 { font-size: 18px; color: #0d1b3e; margin-bottom: 18px; }
.contact-line { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-bottom: 1px dashed #eee; }
.contact-ico { font-size: 20px; line-height: 1.4; }
.contact-key { display: block; font-size: 13px; color: #999; margin-bottom: 2px; }
.contact-val { display: block; color: #333; font-size: 14px; }
.contact-form-card .settings-form { padding: 0; }
/* 联系我们留言表单：label 与输入框同一行 */
.contact-form-card .form-row.inline {
    display: flex;
    align-items: flex-start;
}
.contact-form-card .form-row.inline label {
    flex: 0 0 76px;
    margin-bottom: 0;
    line-height: 40px;
    margin-right: 12px;
}
.contact-form-card .form-row.inline input,
.contact-form-card .form-row.inline textarea {
    flex: 1;
    width: auto;
}
.contact-form-card .form-row.inline textarea {
    min-height: 96px;
}
@media (max-width: 560px) {
    .contact-form-card .form-row.inline {
        flex-direction: column;
        align-items: stretch;
    }
    .contact-form-card .form-row.inline label {
        flex: none;
        line-height: 1.4;
        margin-right: 0;
        margin-bottom: 8px;
    }
}
/* 提交留言按钮居中 */
.contact-form-card #cf-submit {
    display: block;
    width: 200px;
    margin: 26px auto 0;
}


.help-ol { padding-left: 22px; color: #555; line-height: 2.2; }
.help-section { margin-bottom: 30px; }
.faq-item { border: 1px solid #eee; border-radius: 10px; padding: 16px 18px; margin-bottom: 12px; }
.faq-q { font-size: 15px; color: #0d1b3e; font-weight: 500; margin-bottom: 8px; }
.faq-a { color: #666; font-size: 14px; line-height: 1.8; }
.link-primary { color: #ff7a2f; text-decoration: none; }
.link-primary:hover { text-decoration: underline; }

@media (max-width: 768px) {
    .mb-modal { max-width: 100%; }
    .chapter-item { gap: 10px; padding: 12px; }
    .chapter-title { font-size: 14px; }
    .about-stats { grid-template-columns: repeat(2, 1fr); }
    .about-cta { flex-direction: column; align-items: stretch; }
    .about-cta .cta-btn { text-align: center; }
    .contact-wrap { grid-template-columns: 1fr; }
}

/* ===== 登录/注册页 ===== */
.page-auth {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    padding: 100px 16px 72px;
    background: #ffffff;

}
.logon-tab{
    display: block;
    padding: 15px 20px;
    width: 100%;
    font-size: 16px;
    border-radius: 10px 10px 0 0;
    /* text-align: center; */
    color: #616161;
    border-bottom: #E5E5E5 1px solid;
}
.auth_img{
    margin-right: 50px;
}
.auth-card {
    width: 100%;
    max-width: 385px;
    background: #fff;
    border-radius: 16px;
    /* box-shadow: 0 10px 40px rgba(0, 0, 0, .08); */
    border: #E5E5E5 1px solid;
    overflow: hidden;
}

.auth-tabs {
    display: flex;
    border-bottom: 1px solid #eee;
}

.auth-tabs a {
    flex: 1;
    text-align: center;
    padding: 18px 0;
    font-size: 16px;
    font-weight: 500;
    color: #666;
    text-decoration: none;
    background: #fafafa;
    transition: all .2s ease;
}

.auth-tabs a.active {
    color: #ff7a2f;
    background: #fff;
    border-bottom: 2px solid #ff7a2f;
}

.auth-tabs a:not(.active):hover {
    color: #333;
    background: #f5f5f5;
}

/* .auth-body {
    padding: 28px 32px 36px;
} */

.auth-form-group {
    padding: 15px 20px 0 20px;
}

.auth-label {
    display: block;
    font-size: 14px;
    color: #333;
    margin-bottom: 8px;
    font-weight: 500;
}

.auth-label.required::after {
    content: '*';
    color: #e74c3c;
    margin-left: 4px;
}

.auth-input {
    width: 100%;
    height: 40px;
    padding: 0 14px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    color: #333;
    background: #fff;
    transition: border-color .2s, box-shadow .2s;
    outline: none;
}

.auth-input:focus {
    border-color: #ff7a2f;
    box-shadow: 0 0 0 3px rgba(255, 122, 47, .12);
}

.auth-input::placeholder {
    color: #aaa;
}

.auth-row-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.auth-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #555;
    cursor: pointer;
}

.auth-checkbox input {
    width: 16px;
    height: 16px;
    accent-color: #ff7a2f;
    cursor: pointer;
}

.auth-link {
    color: #ff7a2f;
    font-size: 13px;
    text-decoration: none;
}

.auth-link:hover {
    text-decoration: underline;
}

.auth-btn {
    display: block;
    width: 100%;
    height: 48px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all .2s ease;
    text-align: center;
    line-height: 48px;
}

.auth-btn-primary {
    background: linear-gradient(135deg, #ff7a2f 0%, #ff6a00 100%);
    color: #fff;
    box-shadow: 0 6px 18px rgba(255, 106, 0, .28);
}

.auth-btn-primary:hover {
    background: linear-gradient(135deg, #ff8c4a 0%, #ff7a2f 100%);
    box-shadow: 0 8px 22px rgba(255, 106, 0, .35);
    transform: translateY(-1px);
}

.auth-footer {
    text-align: center;
    font-size: 14px;
    color: #666;
    margin-top: 15px;
    padding-bottom: 15px;
}

/* 会员类型卡片 */
.member-type-cards {
    display: flex;
}
.member-card{
    display: flex;
    align-items: center;
    margin-right: 15px;
}
.member-card input{
    margin-right: 4px;
}
/* .member-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 12px 8px;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    cursor: pointer;
    transition: all .2s ease;
    background: #fff;
    text-align: center;
} */

/* .member-card input {
    position: absolute;
    opacity: 0;
} */

.member-card .card-icon {
    font-size: 26px;
    line-height: 1;
}

.member-card .card-title {
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

.member-card .card-desc {
    font-size: 11px;
    color: #888;
    line-height: 1.3;
}

.member-card:hover {
    border-color: #ffbf99;
}

/* .member-card.active {
    border-color: #ff7a2f;
    background: #fff8f3;
    box-shadow: 0 4px 12px rgba(255, 122, 47, .12);
}

.member-card.active .card-title {
    color: #ff6a00;
} */

/* 验证码兼容 */
.auth-captcha {
    display: flex;
    align-items: center;
    gap: 10px;
}

.auth-captcha .input-group-btn {
    width: auto !important;
    flex-shrink: 0;
    display: inline-flex !important;
    align-items: center;
    padding: 0;
    border: none;
    background: transparent;
}

.auth-captcha .form-control {
    flex: 1;
    width: auto;
    height: 40px;
    padding: 0 14px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    color: #333;
    outline: none;
}

.auth-captcha .form-control:focus {
    border-color: #ff7a2f;
    box-shadow: 0 0 0 3px rgba(255, 122, 47, .12);
}

.auth-captcha .input-group-btn .btn,
.auth-captcha .btn-captcha {
    height: 40px;
    padding: 0 16px;
    border-radius: 4px;
    background: #F0F0F0;
    border: none;
    color: #333333;
    font-size: 13px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.auth-captcha .input-group-btn .btn:hover,
.auth-captcha .btn-captcha:hover {
    background: #ff6a00;
    color: #ffffff;
}

.auth-captcha img {
    height: 46px;
    width: auto;
    max-width: none;
    border-radius: 10px;
    cursor: pointer;
    border: 1px solid #ddd;
    display: block;
}

@media (max-width: 480px) {
    .page-auth {
        padding: 90px 0 48px;
        background: #fff;
    }

    .auth-card {
        max-width: 100%;
        border-radius: 0;
        box-shadow: none;
    }

    /* .auth-body {
        padding: 24px 20px;
    } */
    .auth-body-login{
        max-width: 88%;
        border-radius: 10px;
        box-shadow: none;
    }
    .member-type-cards {
        grid-template-columns: 1fr;
        justify-content: space-between;
    }

    .member-card {
        flex-direction: row;
        justify-content: flex-start;
        /* padding: 12px 14px; */
        gap: 12px;
        text-align: left;
        margin-right: 0;
    }

.member-card .card-icon {
    font-size: 22px;
}
}

/* ==================== 合作伙伴详情 / 列表页 ==================== */
a.partner-logo {
    text-decoration: none;
    color: inherit;
}

.partner-detail {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    padding: 40px;
    margin-bottom: 40px;
}

.partner-detail-header {
    display: flex;
    align-items: center;
    gap: 28px;
    padding-bottom: 32px;
    border-bottom: 1px solid #f0f0f0;
}

.partner-detail-logo {
    /* width: 140px;
    height: 100px; */
    flex-shrink: 0;
    /* background-color: #f8f9fa;
    border: 1px solid #e8e8e8;
    border-radius: 10px; */
    display: flex;
    align-items: center;
    justify-content: center;
    /* padding: 12px 16px; */
    overflow: hidden;
}

.partner-detail-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

.partner-detail-logo:not(.has-image) span {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    text-align: center;
}

.partner-detail-name {
    font-size: 26px;
    font-weight: 700;
    color: #1a2744;
    margin-bottom: 14px;
}

.partner-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.partner-detail-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #555;
}

.partner-detail-meta-item svg {
    color: #ff7a2f;
    flex-shrink: 0;
}

.partner-detail-meta-item a {
    color: #ff7a2f;
    text-decoration: none;
}

.partner-detail-meta-item a:hover {
    text-decoration: underline;
}

.partner-detail-body {
    padding-top: 32px;
}

.partner-detail-body h2 {
    font-size: 20px;
    font-weight: 700;
    color: #1a2744;
    margin-bottom: 18px;
    padding-left: 12px;
    border-left: 4px solid #ff7a2f;
}

.partner-detail-intro {
    font-size: 15px;
    line-height: 1.9;
    color: #444;
}

.partner-detail-intro.empty {
    color: #999;
    font-style: italic;
}

.partner-list {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    padding: 32px;
}

.partner-list-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.partner-list-card {
    display: block;
    text-decoration: none;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.partner-list-card:hover {
    border-color: #ff7a2f;
    box-shadow: 0 6px 18px rgba(255, 122, 47, 0.12);
    transform: translateY(-3px);
}

.partner-list-logo {
    height: 70px;
    background: #f8f9fa;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    margin-bottom: 14px;
    overflow: hidden;
}

.partner-list-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

.partner-list-logo:not(.has-image) span {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.partner-list-name {
    font-size: 15px;
    font-weight: 600;
    color: #1a2744;
}

@media (max-width: 1200px) {
    .partner-list-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .partner-detail {
        padding: 24px;
    }

    .partner-detail-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }

    .partner-detail-logo {
        width: 120px;
        height: 86px;
    }

    .partner-detail-name {
        font-size: 22px;
    }

    .partner-list-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .partner-list {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .partner-detail {
        padding: 18px;
        border-radius: 0;
    }

    .partner-detail-logo {
        width: 100%;
        height: 96px;
    }

    .partner-detail-meta {
        flex-direction: column;
        gap: 10px;
    }

    .partner-list-grid {
        grid-template-columns: 1fr;
    }

    .partner-list-card {
        padding: 16px;
    }
}
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 0;
    list-style: none;
}

.pagination li{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    padding: 0 10px;
    border-radius: 6px;
    margin: 0 2px;
    font-size: 14px;
    border: 1px solid #e0e0e0;
    background: #fff;
    color: #666;
    transition: all .3s;
}
.pagination li a{
    width: 100%;
    height: 100%;
    line-height: 34px;
    text-align: center;
}
.pagination li:hover {
    border-color: #EE6510;
    color: #EE6510;
}

.pagination li.active {
    background: #EE6510;
    color: #fff;
    border-color: #EE6510;
}
#goodsImageLabel{
    text-align: center;
}
#goodsImageLabel span{
    display: block;
}