﻿/**
* 娼晢榛勯〉 - 鏍峰紡鏂囦欢锛堥亾濂囪摑璁捐绯荤粺 v2.1锛?* 涓昏壊锛?1E90FF (Dodger Blue) | 杈呰壊锛?ff6b4a
* 2026-05 鍏ㄩ潰UI浼樺寲鍗囩骇
*/

:root {
    /* === 涓昏壊绯伙紙閬撳钃濓級 === */
    --primary: #2563eb;
    --primary-light: #3b82f6;
    --primary-dark: #1d4ed8;
    --primary-deeper: #1e40af;
    --primary-glow: #2563eb;
    --accent: #ff6b4a;
    --accent-light: #ff8a70;
    --accent-dark: #e55530;
    --primary-light-bg: rgba(37,99,235,0.06);
    --primary-mid-bg: rgba(37,99,235,0.12);
    --accent-light-bg: rgba(255,107,74,0.07);
    --primary-rgb: 37,99,235;
    --accent-rgb: 255,107,74;

    /* 鍏煎鏃у彉閲忓悕 */
    --primary-blue: var(--primary);
    --blue-dark: var(--primary-dark);
    --blue-accent: var(--accent);
    --blue-light: rgba(37,99,235,0.06);

    /* === 涓€ц壊锛堟洿鏌斿拰锛?=== */
    --navy: #0c2340;
    --navy-mid: #12365a;
    --navy-light: #0A5A8C;
    --surface: #f2f5f9;
    --surface-alt: #eef2f8;
    --white: #FFFFFF;
    --text-primary: #1a1a2e;
    --text-secondary: #4d5566;
    --text-tertiary: #8c93a4;
    --gray: #5a6070;
    --gray-light: #f5f7fa;
    --gray-mid: #d9d9d9;
    --border: #e2e6ed;
    --border-strong: #c5ccd6;

    /* === 鍔熻兘鑹?=== */
    --success: #22c55e;
    --success-light: #dcfce7;
    --success-dark: #16a34a;
    --info: #2563eb;
    --info-light: rgba(30,144,255,0.06);
    --warning: #ff6b4a;
    --warning-light: rgba(255,107,74,0.08);
    --danger: #EF4444;
    --danger-light: #fee2e2;

    /* === 闃村奖锛堟洿鏈夊眰娆★級 === */
    --shadow-xs: 0 1px 2px rgba(0,0,0,0.04);
    --shadow-sm: 0 1px 4px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow: 0 2px 10px rgba(0,0,0,0.07), 0 1px 3px rgba(0,0,0,0.05);
    --shadow-md: 0 6px 20px rgba(0,0,0,0.09), 0 2px 6px rgba(0,0,0,0.05);
    --shadow-lg: 0 12px 32px rgba(0,0,0,0.10), 0 4px 10px rgba(0,0,0,0.06);
    --shadow-xl: 0 20px 56px rgba(0,0,0,0.14), 0 8px 20px rgba(0,0,0,0.08);
    --shadow-primary: 0 6px 20px rgba(var(--primary-rgb), 0.22);
    --shadow-accent: 0 6px 20px rgba(var(--accent-rgb), 0.22);
    --glow: 0 0 24px rgba(var(--primary-rgb), 0.14);
    --glow-sm: 0 0 12px rgba(var(--primary-rgb), 0.10);

    /* === 鍦嗚 === */
    --radius-xs: 6px;
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 14px;
    --radius-xl: 18px;
    --radius-2xl: 24px;

    /* === 杩囨浮 === */
    --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
    --duration-fast: 0.15s;
    --duration: 0.25s;
    --duration-slow: 0.4s;

    /* === 缁熶竴瀹瑰櫒瀹藉害 === */
    --container-width: 1320px;
    --container-padding: 24px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

/* 鑷畾涔夋枃鏈€変腑鏍峰紡 */
::selection {
    background: rgba(30,144,255,0.2);
    color: inherit;
}

body {
    font-family: 'Noto Sans SC', 'Microsoft YaHei', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--surface);
    color: var(--text-primary);
    font-size: 14px;
    line-height: 1.6;
    letter-spacing: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* 婊氬姩鏉＄編鍖?*/
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(30,144,255,0.25); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(30,144,255,0.45); }

/* ================================
   Header - 娣辫摑绉戞妧瀵艰埅锛堝寮虹増锛?   ================================ */
.header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.2);
}

.header::after { display: none; }

.header-bar {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    padding: 5px 0;
    text-align: center;
    font-size: 13px;
    color: rgba(255,255,255,0.95);
    letter-spacing: 0.8px;
    font-weight: 400;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.header-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 9px var(--container-padding);
    max-width: var(--container-width);
    margin: 0 auto;
    gap: 16px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    text-decoration: none;
    flex-shrink: 0;
    transition: opacity var(--duration) var(--ease);
}

.logo:hover { opacity: 0.9; }

.logo-emblem {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}
.logo-emblem img {
    height: 40px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}

.logo-text h1,
.logo-text .site-name {
    font-size: 18px;
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.5px;
    white-space: nowrap;
    text-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

.logo-text span {
    font-size: 11px;
    color: rgba(255,255,255,0.45);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 400;
}

.nav-menu { display: flex; gap: 1px; }

.nav-item {
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    padding: 7px 13px;
    font-size: 14px;
    font-weight: 500;
    border-radius: var(--radius-xs);
    transition: all var(--duration-fast) var(--ease);
    cursor: pointer;
    white-space: nowrap;
    position: relative;
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: 3px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 20px;
    height: 2px;
    background: var(--primary-light);
    border-radius: 1px;
    transition: transform var(--duration-fast) var(--ease);
}

.nav-item:hover {
    background: rgba(255,255,255,0.09);
    color: #fff;
}

.nav-item:hover::after {
    transform: translateX(-50%) scaleX(1);
}

.nav-item.active {
    background: rgba(30,144,255,0.25);
    color: #fff;
    font-weight: 600;
}

.nav-item.active::after {
    transform: translateX(-50%) scaleX(1);
    background: #fff;
}

.header-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-shrink: 0;
}

/* 鎵嬫満绔眽鍫¤彍鍗曟寜閽?*/
.mobile-menu-btn {
    display: none;
    width: 36px;
    height: 36px;
    border: none;
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: background var(--duration) var(--ease);
    line-height: 1;
}

.mobile-menu-btn:hover {
    background: rgba(255,255,255,0.18);
}

/* ================================
   Buttons - 鍏ㄩ潰鍗囩骇
   ================================ */
.btn {
    padding: 8px 18px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--duration) var(--ease);
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    letter-spacing: normal;
    line-height: 1.5;
    white-space: nowrap;
    text-decoration: none;
    user-select: none;
}

.btn:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: #fff;
    box-shadow: 0 2px 8px rgba(var(--primary-rgb),0.25);
}
.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-deeper) 0%, var(--primary-dark) 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(var(--primary-rgb),0.35);
}
.btn-primary:active { transform: translateY(0); box-shadow: none; }

.btn-blue {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, var(--primary-light) 100%);
    color: #fff;
    box-shadow: 0 2px 10px rgba(var(--primary-rgb),0.28);
}
.btn-blue:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 18px rgba(var(--primary-rgb),0.38);
    filter: brightness(1.05);
}
.btn-blue:active { transform: translateY(0); }

.btn-outline {
    background: transparent;
    color: rgba(255,255,255,0.85);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: var(--radius-sm);
    backdrop-filter: blur(4px);
}
.btn-outline:hover {
    background: rgba(255,255,255,0.12);
    color: #fff;
    border-color: rgba(255,255,255,0.4);
}

.btn-accent {
    background: linear-gradient(135deg, var(--accent-dark) 0%, var(--accent) 100%);
    color: #fff;
    border-radius: var(--radius-sm);
    box-shadow: 0 2px 8px rgba(var(--accent-rgb),0.25);
}
.btn-accent:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(var(--accent-rgb),0.38);
    filter: brightness(1.05);
}

.btn-ghost {
    background: transparent;
    color: var(--primary);
    border: 1px solid rgba(var(--primary-rgb),0.2);
}
.btn-ghost:hover {
    background: var(--primary-light-bg);
    border-color: rgba(var(--primary-rgb),0.35);
}

/* ================================
   Main Content
   ================================ */
.main { margin-top: 104px; }

/* ================================
   Hero Banner - 鍏ㄩ潰鍗囩骇鐗?   ================================ */
.hero-banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    padding: 70px var(--container-padding) 88px;
    position: relative;
    overflow: hidden;
}

/* 澶氬眰瑁呴グ鏁堟灉 */
.hero-banner::before {
    content: "";
    position: absolute;
    top: -60%;
    left: -10%;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(30,144,255,0.15) 0%, transparent 65%);
    pointer-events: none;
}

.hero-banner::after {
    content: "";
    position: absolute;
    bottom: -30%;
    right: -15%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--accent-rgb),0.1) 0%, transparent 65%);
    pointer-events: none;
}

.hero-pattern {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    opacity: 0.06;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
    max-width: var(--container-width);
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 46px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 14px;
    line-height: 1.15;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.2);
}

.hero-title span {
    color: var(--accent-light);
    position: relative;
}

.hero-subtitle {
    font-size: 16px;
    color: rgba(255,255,255,0.72);
    margin-bottom: 32px;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: 0.3px;
}

/* Hero 鍐呭祵鎼滅储妗?*/
.hero-search {
    max-width: 700px;
    margin: 0 auto 36px;
}

.hero-search-box {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.97);
    border-radius: 18px;
    padding: 5px 5px 5px 22px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.22), 0 4px 12px rgba(0, 0, 0, 0.12);
    transition: all var(--duration-slow) var(--ease);
    border: 2px solid transparent;
}

.hero-search-box:focus-within {
    border-color: rgba(255,255,255,0.6);
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.26), 0 0 0 4px rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.hero-search-icon {
    font-size: 17px;
    color: #94a3b8;
    margin-right: 12px;
    flex-shrink: 0;
}

.hero-search-input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-size: 15px;
    color: #1e293b;
    padding: 12px 4px;
    line-height: 1.5;
    font-family: inherit;
}

.hero-search-input::placeholder {
    color: #9ca5b4;
}

.hero-search-btn {
    padding: 11px 30px;
    background: linear-gradient(135deg, #1e40af, #2563eb);
    color: #fff;
    border: none;
    border-radius: 13px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all var(--duration) var(--ease);
    letter-spacing: 0.5px;
    box-shadow: 0 3px 12px rgba(0,88,196,0.35);
    font-family: inherit;
}

.hero-search-btn:hover {
    background: linear-gradient(135deg, #1e40af, #0090D0);
    box-shadow: 0 6px 20px rgba(0,88,196,0.45);
    transform: scale(1.02);
}

.hero-search-btn:active {
    transform: scale(0.98);
}

/* Stats Bar */
.stats-bar {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    padding: 16px 28px;
    background: rgba(255,255,255,0.09);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255,255,255,0.12);
    min-width: 120px;
    backdrop-filter: blur(8px);
    transition: all var(--duration) var(--ease);
}

.stat-item:hover {
    background: rgba(255,255,255,0.14);
    transform: translateY(-2px);
    border-color: rgba(255,255,255,0.2);
}

.stat-num {
    font-size: 30px;
    font-weight: 800;
    color: var(--accent-light);
    line-height: 1.2;
}

.stat-label { font-size: 13px; color: rgba(255,255,255,0.6); margin-top: 3px; font-weight: 400; }

/* ================================
   Section Header - 鍗囩骇鐗?   ================================ */
.category-section {
    padding: 60px var(--container-padding) 56px;
    max-width: var(--container-width);
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-title {
    font-size: 30px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 10px;
    line-height: 1.2;
    letter-spacing: -0.3px;
}

.section-subtitle {
    color: var(--text-tertiary);
    font-size: 14px;
    font-weight: 400;
}

.title-decoration {
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    margin: 12px auto;
    border-radius: 2px;
    position: relative;
}

.title-decoration::after {
    content: '';
    position: absolute;
    right: -10px;
    top: 0;
    width: 6px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
    opacity: 0.5;
}

/* ================================
   Category Grid - 琛屼笟鍒嗙被鍗囩骇
   ================================ */
.category-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
}

.category-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 22px 12px 18px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: all var(--duration) var(--ease);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    transform: scaleX(0);
    transition: transform var(--duration) var(--ease);
    border-radius: 2px 2px 0 0;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(var(--primary-rgb),0.2);
}

.category-card:hover::before {
    transform: scaleX(1);
}

.category-card:hover .category-icon {
    transform: scale(1.08);
    box-shadow: 0 6px 18px rgba(var(--primary-rgb),0.3);
}

.category-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin: 0 auto 10px;
    color: #fff;
    transition: all var(--duration) var(--ease);
    box-shadow: 0 4px 12px rgba(var(--primary-rgb),0.2);
}

.category-name { font-size: 13px; font-weight: 600; color: var(--text-primary); margin-bottom: 4px; }
.category-count { font-size: 12px; color: var(--text-tertiary); }

/* ================================
   Content Container - 缁熶竴瀹藉害
   ================================ */
.content-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding) 60px;
}

/* ================================
   Card System - 鍏ㄩ潰鍗囩骇
   ================================ */
/* Association Grid */
.assoc-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.assoc-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-sm);
    transition: all var(--duration) var(--ease);
    cursor: pointer;
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.assoc-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    transform: scaleX(0);
    transition: transform var(--duration) var(--ease);
}

.assoc-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(var(--primary-rgb),0.2);
}

.assoc-card:hover::after {
    transform: scaleX(1);
}

.assoc-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.assoc-badge {
    width: 46px;
    height: 46px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #fff;
    font-weight: 700;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 3px 10px rgba(var(--primary-rgb),0.22);
}
.assoc-badge img { width: 100%; height: 100%; object-fit: cover; }

.assoc-info h4 { font-size: 14px; font-weight: 600; color: var(--text-primary); margin-bottom: 3px; line-height: 1.4; }

.assoc-badge-tag {
    display: inline-block;
    padding: 2px 8px;
    background: var(--primary-light-bg);
    color: var(--primary);
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    border: 1px solid rgba(var(--primary-rgb),0.1);
}

.assoc-desc {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.55;
    margin: 8px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.assoc-stats {
    display: flex;
    gap: 12px;
    padding-top: 10px;
    border-top: 1px solid var(--border);
    margin-top: 2px;
}

.assoc-stat { font-size: 13px; color: var(--text-tertiary); }
.assoc-stat strong { color: var(--primary); font-size: 14px; font-weight: 700; }

/* ================================
   Association Detail Page
   ================================ */
.assoc-detail-header {
    background: #fff;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    padding: 28px 32px;
    margin-bottom: 20px;
    border: 1px solid var(--border);
}

.assoc-title-row {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
}

.assoc-logo-box {
    width: 72px;
    height: 72px;
    min-width: 72px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #fff;
    font-weight: 700;
    overflow: hidden;
    flex-shrink: 0;
}

.assoc-logo-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

.assoc-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 8px;
}

.assoc-meta-row {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 14px;
}

.assoc-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--text-secondary);
    font-size: 14px;
}

.assoc-meta-item i {
    color: var(--primary);
    font-size: 13px;
}

.assoc-stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.assoc-stat-card {
    background: var(--primary-light-bg);
    border-radius: var(--radius);
    padding: 18px 16px;
    text-align: center;
    border: 1px solid rgba(var(--primary-rgb), 0.08);
    transition: all var(--duration) var(--ease);
}

.assoc-stat-card:hover {
    box-shadow: var(--shadow-primary);
    transform: translateY(-2px);
}

.assoc-stat-num {
    font-size: 26px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
}

.assoc-stat-label {
    font-size: 14px;
    color: var(--text-secondary);
}

/* Tab Navigation */
.assoc-tab-nav {
    display: flex;
    gap: 0;
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    margin-bottom: 20px;
    border: 1px solid var(--border);
    overflow: hidden;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.assoc-tab-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 14px 24px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: all var(--duration) var(--ease);
    white-space: nowrap;
    border-right: 1px solid var(--border);
}

.assoc-tab-item:last-child { border-right: none; }

.assoc-tab-item:hover {
    color: var(--primary);
    background: var(--primary-light-bg);
}

.assoc-tab-item.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
    background: var(--primary-light-bg);
    font-weight: 600;
}

.assoc-tab-item i { font-size: 14px; }

/* Tab Content */
.assoc-tab-content {
    background: #fff;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    padding: 28px 32px;
    margin-bottom: 20px;
    border: 1px solid var(--border);
}

/* Section Title (detail pages) */
.content-section-title {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 8px;
}

.content-section-title i {
    color: var(--primary);
    font-size: 16px;
}

/* Description Body */
.assoc-desc-body {
    font-size: 15px;
    line-height: 1.85;
    color: var(--text-secondary);
    padding: 8px 0;
}

.assoc-desc-body p { margin-bottom: 12px; }

/* Contact Cards Grid 鈥?3 columns */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* Contact Cards (detail page variant) */
.contact-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    background: #f5f7fa;
    border-radius: var(--radius);
    transition: all var(--duration) var(--ease);
}

.contact-card:hover {
    background: var(--primary-light-bg);
    transform: translateX(4px);
}

.contact-card-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #fff;
    flex-shrink: 0;
}

.contact-card-label {
    font-size: 14px;
    color: var(--text-tertiary);
    margin-bottom: 2px;
}

.contact-card-value {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    word-break: break-all;
}

/* Member Company Grid (detail tab) */
.member-company-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 14px;
}

.member-company-card {
    display: block;
    background: #f5f7fa;
    border-radius: var(--radius);
    padding: 16px;
    text-decoration: none;
    color: inherit;
    transition: all var(--duration) var(--ease);
    border: 1px solid transparent;
}

.member-company-card:hover {
    background: var(--primary-light-bg);
    border-color: rgba(var(--primary-rgb), 0.15);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.mc-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}

.mc-info {
    display: flex;
    gap: 10px;
    font-size: 14px;
    color: var(--text-secondary);
    flex-wrap: wrap;
}

.mc-info span {
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

/* Board type tags (detail variant) */
.board-type-tag {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    flex-shrink: 0;
}

.board-type-tag.supply {
    background: rgba(34,197,94,0.1);
    color: #16a34a;
}

.board-type-tag.demand {
    background: rgba(239,68,68,0.1);
    color: #dc2626;
}

.board-type-tag.contact {
    background: rgba(30,144,255,0.1);
    color: var(--primary);
}

.board-title-link {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
    transition: color var(--duration) var(--ease);
}

.board-title-link:hover { color: var(--primary); }

.board-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-top: 4px;
}

/* Board List - 渚涢渶淇℃伅 4鍒楃綉鏍?*/
.board-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.board-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px;
    background: #f5f7fa;
    border-radius: var(--radius);
    border: 1px solid transparent;
    transition: all var(--duration) var(--ease);
}

.board-item:hover {
    background: #fff;
    border-color: rgba(var(--primary-rgb), 0.12);
    box-shadow: var(--shadow-sm);
    transform: translateY(-1px);
}

.board-info {
    flex: 1;
    min-width: 0;
}

.board-meta {
    font-size: 13px;
    color: var(--text-tertiary);
    margin-top: 6px;
}

/* Job List - 鎷涜仒淇℃伅 4鍒楃綉鏍?*/
.job-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.job-item {
    padding: 16px;
    border-bottom: none;
    background: #f5f7fa;
    border-radius: var(--radius);
    border: 1px solid transparent;
    transition: all var(--duration) var(--ease);
}

.job-item:last-child { border-bottom: none; }

.job-item:hover {
    background: #fff;
    border-color: rgba(var(--primary-rgb), 0.12);
    box-shadow: var(--shadow-sm);
    transform: translateY(-1px);
}

.job-item a {
    display: block;
    text-decoration: none;
    color: inherit;
}

.job-row-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.job-position-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}

.job-company {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

/* Disclaimer Text (detail page variant) */
.disclaimer-text {
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-secondary);
}

.disclaimer-text ol {
    padding-left: 20px;
    margin: 8px 0 0;
}

.disclaimer-text ol li {
    margin-bottom: 6px;
}

/* Assoc News List - 2鍒楃綉鏍?*/
.assoc-news-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.assoc-news-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0;
    background: transparent;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: all var(--duration) var(--ease);
    overflow: hidden;
}

.assoc-news-item:hover {
    border-color: rgba(var(--primary-rgb), 0.3);
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}

.assoc-news-img-link {
    flex-shrink: 0;
    width: 100%;
    height: 140px;
    border-radius: 0;
    overflow: hidden;
}

.assoc-news-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.assoc-news-item:hover .assoc-news-img {
    transform: scale(1.05);
}

.assoc-news-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    padding: 12px 14px 14px;
}

.assoc-news-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color var(--duration) var(--ease);
}

.assoc-news-title:hover {
    color: var(--primary);
}

.assoc-news-meta {
    display: flex;
    gap: 14px;
    font-size: 12px;
    color: var(--text-tertiary);
    margin-top: 6px;
}

.assoc-news-meta span {
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.assoc-news-desc {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-top: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Responsive: association detail tabs */
@media (max-width: 1024px) {
    .board-list { grid-template-columns: repeat(3, 1fr); }
    .job-list { grid-template-columns: repeat(3, 1fr); }
    .assoc-news-list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .board-list { grid-template-columns: repeat(2, 1fr); }
    .job-list { grid-template-columns: repeat(2, 1fr); }
    .assoc-news-list { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .board-list { grid-template-columns: 1fr; }
    .job-list { grid-template-columns: 1fr; }
}

/* Company Grid */
.company-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.company-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 18px;
    box-shadow: var(--shadow-sm);
    transition: all var(--duration) var(--ease);
    cursor: pointer;
    border: 1px solid var(--border);
    text-decoration: none;
    display: block;
    color: inherit;
    position: relative;
    overflow: hidden;
}

.company-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 3px;
    height: 0;
    background: linear-gradient(180deg, var(--primary), var(--primary-light));
    transition: height var(--duration) var(--ease);
    border-radius: 0 0 3px 0;
}

.company-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: rgba(var(--primary-rgb),0.2);
}

.company-card:hover::before {
    height: 100%;
}

.company-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.company-logo {
    width: 44px;
    height: 44px;
    background: var(--primary-light-bg);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
    border: 1px solid rgba(var(--primary-rgb),0.1);
    overflow: hidden;
}

.company-logo img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; }

.company-info h4 { font-size: 14px; font-weight: 600; color: var(--text-primary); margin-bottom: 2px; line-height: 1.4; }

.company-meta {
    display: flex;
    gap: 8px;
    font-size: 13px;
    color: var(--text-tertiary);
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.company-meta span {
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.company-tags {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}

.tag {
    padding: 2px 8px;
    background: var(--primary-light-bg);
    color: var(--primary);
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    border: 1px solid rgba(var(--primary-rgb),0.08);
}

.tag.supply { background: var(--success-light); color: var(--success-dark); }
.tag.demand { background: var(--warning-light); color: var(--accent-dark); }
.tag.news { background: rgba(139,92,246,0.08); color: #7c3aed; }

/* ================================
   Jobs Section - 鍗囩骇鐗?   ================================ */
.job-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.job-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 18px;
    box-shadow: var(--shadow-sm);
    transition: all var(--duration) var(--ease);
    border-left: 3px solid var(--primary);
    border-top: 1px solid var(--border);
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    text-decoration: none;
    color: inherit;
    display: block;
    position: relative;
}

.job-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-left-color: var(--accent);
    cursor: pointer;
}

.job-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 6px;
    gap: 8px;
}

.job-title { font-size: 14px; font-weight: 600; color: var(--text-primary); line-height: 1.4; flex: 1; }

.job-salary {
    font-size: 15px;
    font-weight: 700;
    color: var(--accent);
    white-space: nowrap;
    flex-shrink: 0;
}

.job-company { font-size: 13px; color: var(--text-secondary); margin-bottom: 8px; }

.job-tags {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.job-tag {
    padding: 2px 8px;
    background: #f0f4f9;
    border-radius: 6px;
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 500;
}

.job-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 8px;
    border-top: 1px solid var(--border);
    font-size: 12px;
    color: var(--text-tertiary);
}

/* ================================
   News Section - 鍗囩骇鐗?   ================================ */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.news-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--duration) var(--ease);
    cursor: pointer;
    border: 1px solid var(--border);
    text-decoration: none;
    color: inherit;
    display: block;
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(var(--primary-rgb),0.15);
}

.news-img {
    height: 155px;
    background: linear-gradient(135deg, #0A5A8C, #2563eb);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    transition: transform var(--duration-slow) var(--ease);
    overflow: hidden;
}

.news-card:hover .news-img {
    transform: scale(1.03);
}

.news-content { padding: 16px; }

.news-date {
    font-size: 12px;
    color: var(--text-tertiary);
    margin-bottom: 5px;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.news-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
    line-height: 1.45;
    letter-spacing: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color var(--duration-fast) var(--ease);
}

.news-card:hover .news-title {
    color: var(--primary);
}

.news-desc {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ================================
   Loading States & Animations
   ================================ */

/* Loading Spinner */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 0.8s linear infinite;
}

.loading-spinner-primary {
    border-color: rgba(var(--primary-rgb),0.2);
    border-top-color: var(--primary);
}

.loading-spinner-dark {
    border-color: rgba(0,0,0,0.1);
    border-top-color: #333;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Loading Overlay */
.loading-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255,255,255,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    border-radius: inherit;
}

.loading-overlay-dark {
    background: rgba(0,0,0,0.5);
}

.loading-content {
    text-align: center;
}

.loading-dots {
    display: flex;
    gap: 6px;
    justify-content: center;
    margin-top: 12px;
}

.loading-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: bounce 1.4s ease-in-out infinite;
}

.loading-dot:nth-child(1) { animation-delay: 0s; }
.loading-dot:nth-child(2) { animation-delay: 0.2s; }
.loading-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes bounce {
    0%, 80%, 100% { transform: scale(0.6); opacity: 0.5; }
    40% { transform: scale(1); opacity: 1; }
}

/* Button Loading State */
.btn-loading {
    position: relative;
    pointer-events: none;
    opacity: 0.8;
}

.btn-loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin: -8px 0 0 -8px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 0.8s linear infinite;
}

/* ================================
   Skeleton Loaders
   ================================ */
.skeleton {
    background: linear-gradient(90deg, #f0f2f5 25%, #e6e8eb 50%, #f0f2f5 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 4px;
}

.skeleton-text {
    height: 14px;
    margin-bottom: 8px;
}

.skeleton-text-sm {
    height: 12px;
    width: 60%;
}

.skeleton-title {
    height: 20px;
    width: 80%;
    margin-bottom: 12px;
}

.skeleton-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
}

.skeleton-image {
    width: 100%;
    height: 160px;
    border-radius: var(--radius);
}

.skeleton-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-sm);
}

.skeleton-line {
    height: 16px;
    margin-bottom: 10px;
    border-radius: 4px;
}

.skeleton-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.skeleton-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* ================================
   Empty States (Enhanced)
   ================================ */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    animation: fadeIn 0.4s ease;
}

/* Legacy empty-state sub-elements (used by association.html) */
.empty-state i {
    font-size: 40px;
    margin-bottom: 12px;
    display: block;
    color: var(--border-strong);
}

.empty-state p {
    font-size: 15px;
    margin: 0;
    color: var(--text-tertiary);
}

.empty-state-icon {
    font-size: 64px;
    margin-bottom: 20px;
    opacity: 0.6;
    color: var(--primary);
}

.empty-state-icon-secondary {
    color: var(--text-tertiary);
}

.empty-state-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.empty-state-desc {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 24px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.empty-state-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* ================================
   Toast Notifications (Enhanced)
   ================================ */
.toast-container {
    position: fixed;
    top: 120px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 400px;
}

.toast-notification {
    background: #fff;
    border-radius: var(--radius);
    padding: 16px 20px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    animation: slideDown 0.3s ease;
    border-left: 4px solid var(--primary);
}

.toast-notification.success {
    border-left-color: var(--success);
}

.toast-notification.error {
    border-left-color: var(--danger);
}

.toast-notification.warning {
    border-left-color: var(--warning);
}

.toast-notification.info {
    border-left-color: var(--info);
}

.toast-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.toast-content {
    flex: 1;
}

.toast-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.toast-message {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.4;
}

.toast-close {
    background: none;
    border: none;
    font-size: 18px;
    color: var(--text-tertiary);
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: color 0.2s;
}

.toast-close:hover {
    color: var(--text-primary);
}

.toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: var(--primary);
    border-radius: 0 0 0 var(--radius);
    animation: toast-progress 3s linear forwards;
}

@keyframes toast-progress {
    from { width: 100%; }
    to { width: 0%; }
}

/* ================================
   Form Validation States
   ================================ */
.form-control.is-valid {
    border-color: var(--success);
}

.form-control.is-valid:focus {
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.15);
}

.form-control.is-invalid {
    border-color: var(--danger);
}

.form-control.is-invalid:focus {
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

.invalid-feedback {
    font-size: 12px;
    color: var(--danger);
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.valid-feedback {
    font-size: 12px;
    color: var(--success);
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ================================
   Inline Validation Messages
   ================================ */
.field-status {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    font-size: 12px;
    animation: fadeIn 0.2s ease;
}

.field-status.validating {
    color: var(--text-tertiary);
}

.field-status.valid {
    color: var(--success);
}

.field-status.invalid {
    color: var(--danger);
}

.field-status .spinner-small {
    width: 12px;
    height: 12px;
    border: 2px solid rgba(0,0,0,0.1);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

/* ================================
   Focus & Accessibility
   ================================ */
*:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Skip to content link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary);
    color: #fff;
    padding: 8px 16px;
    z-index: 10000;
    transition: top 0.3s;
    text-decoration: none;
}

.skip-link:focus {
    top: 0;
}

/* ================================
   Page Transition Effects
   ================================ */
.page-enter {
    opacity: 0;
    transform: translateY(10px);
}

.page-enter-active {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* ================================
   Hover Tooltips
   ================================ */
[data-tooltip] {
    position: relative;
    cursor: help;
}

[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 12px;
    background: #333;
    color: #fff;
    font-size: 12px;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s;
    pointer-events: none;
    z-index: 1000;
}

[data-tooltip]:hover::after {
    opacity: 1;
    visibility: visible;
}

/* ================================
   Card Hover Effects
   ================================ */
.card-interactive {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    cursor: pointer;
}

.card-interactive:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

/* ================================
   List Item Hover Effects
   ================================ */
.list-item-hover {
    transition: background-color 0.2s ease, padding-left 0.2s ease;
}

.list-item-hover:hover {
    background-color: var(--primary-light-bg);
    padding-left: 16px;
}

/* ================================
   Home Page Association List Items
   ================================ */
.home-assoc-list-item {
    display: block;
    text-decoration: none;
    padding: 12px;
    border-radius: 8px;
    background: #f8f9fa;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.home-assoc-list-item:hover {
    background: #e6f7fc;
    border-color: #b3e0f3;
    text-decoration: none;
    transform: translateX(4px);
    box-shadow: 0 2px 8px rgba(3, 78, 162, 0.12);
}

.home-assoc-list-item:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(30, 144, 255, 0.2);
}

/* ================================
   Mobile Optimizations
   ================================ */
@media (max-width: 768px) {
    .toast-container {
        top: 80px;
        right: 12px;
        left: 12px;
        max-width: none;
    }
    
    .skeleton-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .empty-state {
        padding: 40px 16px;
    }
    
    .empty-state-icon {
        font-size: 48px;
    }
}

/* 瀹瑰櫒锛氬乏涓?+ 鍙充晶鏍?*/
.lp-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 30px 20px;
    display: flex;
    gap: 28px;
    align-items: flex-start;
}
.lp-main {
    flex: 1;
    min-width: 0;
}
.lp-sidebar {
    width: 300px;
    flex-shrink: 0;
}

/* 鍒嗙被鏍囩鏍?*/
.lp-cat-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #eee;
}
.lp-cat-item {
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    text-decoration: none;
    background: #f5f5f5;
    color: #555;
    transition: all .2s;
}
.lp-cat-item:hover {
    background: #e8e8e8;
    color: #333;
}
.lp-cat-item.active {
    background: #2563eb;
    color: #fff;
}
.lp-cat-hot {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
}
.lp-cat-hot.active {
    background: #e63946;
    color: #fff;
    border-color: #e63946;
}

/* 鏍囩鏍?*/
.lp-tag-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-bottom: 20px;
    padding: 12px 16px;
    background: #f9fafb;
    border-radius: 8px;
}
.lp-tag-label {
    font-size: 13px;
    font-weight: 600;
    color: #888;
    margin-right: 4px;
}
.lp-tag-item {
    display: inline-block;
    padding: 3px 10px;
    font-size: 12px;
    background: #e9ecef;
    color: #495057;
    border-radius: 12px;
    text-decoration: none;
    transition: background .2s;
}
.lp-tag-item:hover {
    background: #d0e8f7;
    color: #2563eb;
}
.lp-tag-item sup {
    font-size: 10px;
    color: #aaa;
    margin-left: 2px;
}

/* 鍖哄煙鏍囬 */
.lp-section-head {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 20px;
}
.lp-section-title {
    font-size: 20px;
    font-weight: 700;
    color: #222;
    margin: 0;
}
.lp-section-count {
    font-size: 13px;
    color: #999;
}

/* 缃《鍖?*/
.lp-top-section {
    margin-bottom: 24px;
    padding: 20px;
    background: #f0f7ff;
    border-radius: 12px;
    border: 1px solid #d6eaf8;
}
.lp-top-label {
    font-size: 13px;
    font-weight: 600;
    color: #2563eb;
    margin-bottom: 14px;
}
.lp-top-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}
.lp-top-card {
    display: flex;
    gap: 12px;
    padding: 12px;
    background: #fff;
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
    border-left: 3px solid #2563eb;
    transition: box-shadow .2s;
}
.lp-top-card:hover {
    box-shadow: 0 2px 12px rgba(47,155,243,.15);
}
.lp-top-thumb {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background: linear-gradient(135deg, #2563eb, #1a6fc4);
    display: flex;
    align-items: center;
    justify-content: center;
}
.lp-top-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.lp-top-letter {
    color: #fff;
    font-size: 22px;
    font-weight: 700;
}
.lp-top-body {
    min-width: 0;
}
.lp-top-badge {
    font-size: 11px;
    color: #e63946;
    margin-bottom: 4px;
    font-weight: 600;
}
.lp-top-title {
    font-size: 14px;
    font-weight: 600;
    color: #222;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.lp-top-meta {
    font-size: 12px;
    color: #999;
    margin-top: 6px;
}

/* 鏂囩珷鍒楄〃 鈥?闆峰嘲缃戞í鎺掑崱鐗?*/
.lp-article-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.lp-article-card {
    display: flex;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid #f0f0f0;
    text-decoration: none;
    color: inherit;
    transition: background .15s;
}
.lp-article-card:hover {
    background: #fafbfc;
}
.lp-article-card:hover .lp-article-title {
    color: #2563eb;
}
.lp-article-body {
    flex: 1;
    min-width: 0;
}
.lp-article-tags {
    display: flex;
    gap: 6px;
    align-items: center;
    margin-bottom: 8px;
}
.lp-article-cat {
    display: inline-block;
    padding: 2px 8px;
    font-size: 12px;
    background: #e8f4fd;
    color: #2563eb;
    border-radius: 3px;
    font-weight: 500;
}
.lp-article-badge {
    display: inline-block;
    padding: 1px 6px;
    font-size: 11px;
    border-radius: 3px;
    font-weight: 500;
}
.lp-badge-hot {
    background: #ffe8ea;
    color: #e63946;
}
.lp-badge-rec {
    background: #e8f8ee;
    color: #28a745;
}
.lp-article-title {
    font-size: 17px;
    font-weight: 600;
    color: #222;
    line-height: 1.5;
    margin: 0 0 8px;
    transition: color .2s;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.lp-article-summary {
    font-size: 14px;
    color: #777;
    line-height: 1.6;
    margin: 0 0 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.lp-article-footer {
    display: flex;
    gap: 18px;
    font-size: 13px;
    color: #aaa;
}
.lp-article-date i,
.lp-article-views i {
    margin-right: 4px;
}
.lp-article-img {
    width: 200px;
    height: 130px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}
.lp-article-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s;
}
.lp-article-card:hover .lp-article-img img {
    transform: scale(1.05);
}

/* 绌虹姸鎬?*/
.lp-empty {
    text-align: center;
    padding: 80px 20px;
    color: #bbb;
    font-size: 15px;
}

/* 鍒嗛〉鍣?鈥?闆峰嘲缃戦鏍?*/
.lp-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    margin-top: 36px;
    padding-top: 24px;
    border-top: 1px solid #f0f0f0;
}
.lp-page-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #666;
    text-decoration: none;
    font-size: 13px;
    transition: all .2s;
}
.lp-page-btn:hover {
    border-color: #2563eb;
    color: #2563eb;
}
.lp-page-num {
    min-width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #555;
    text-decoration: none;
    font-size: 14px;
    transition: all .2s;
}
.lp-page-num:hover {
    border-color: #2563eb;
    color: #2563eb;
}
.lp-page-num.active {
    background: #2563eb;
    border-color: #2563eb;
    color: #fff;
}
.lp-page-ellipsis {
    padding: 0 6px;
    color: #999;
}

/* ====== 渚ц竟鏍?====== */
.lp-side-block {
    background: #fff;
    border-radius: 10px;
    padding: 18px;
    margin-bottom: 18px;
    border: 1px solid #f0f0f0;
}
.lp-side-head {
    font-size: 15px;
    font-weight: 700;
    color: #333;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid #2563eb;
    display: flex;
    align-items: center;
    gap: 6px;
}
.lp-side-head i {
    color: #2563eb;
}
.lp-side-list {
    display: flex;
    flex-direction: column;
}
.lp-side-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid #f7f7f7;
    text-decoration: none;
    color: inherit;
    transition: color .15s;
}
.lp-side-item:last-child {
    border-bottom: none;
}
.lp-side-item:hover .lp-side-text {
    color: #2563eb;
}
.lp-side-rank {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: #bbb;
    background: #f5f5f5;
    border-radius: 4px;
    flex-shrink: 0;
    margin-top: 2px;
}
.lp-side-rank.top3 {
    background: #2563eb;
    color: #fff;
}
.lp-side-dot {
    width: 6px;
    height: 6px;
    background: #ccc;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 7px;
}
.lp-side-text {
    font-size: 14px;
    color: #444;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color .15s;
}

/* ====== 璇︽儏椤?====== */
.lp-breadcrumb {
    font-size: 13px;
    color: #999;
    margin-bottom: 16px;
}
.lp-breadcrumb a {
    color: #666;
    text-decoration: none;
}
.lp-breadcrumb a:hover {
    color: #2563eb;
}
.lp-bc-sep {
    margin: 0 6px;
    color: #ccc;
}
.lp-bc-current {
    color: #2563eb;
}

.lp-article-page {
    background: #fff;
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 1px 6px rgba(0,0,0,.06);
}

/* 鏂囩珷鏍囩 */
.lp-art-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 16px;
}
.lp-art-cat-tag {
    background: #2563eb;
    color: #fff;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}
.lp-art-status-tag {
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}
.lp-tag-top { background: #e63946; color: #fff; }
.lp-tag-hot { background: #ff6b35; color: #fff; }
.lp-tag-rec { background: #28a745; color: #fff; }

/* 鏂囩珷鏍囬 */
.lp-art-title {
    font-size: 26px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.5;
    margin: 0 0 18px;
}

/* 鍏冧俊鎭?*/
.lp-art-meta {
    display: flex;
    gap: 20px;
    font-size: 14px;
    color: #999;
    flex-wrap: wrap;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 24px;
}
.lp-art-meta-item i {
    margin-right: 4px;
    color: #bbb;
}

/* 瀵艰 */
.lp-art-lead {
    margin-bottom: 24px;
    padding: 16px 20px;
    background: #f0f7ff;
    border-radius: 8px;
    border-left: 4px solid #2563eb;
    font-size: 15px;
    color: #555;
    line-height: 1.9;
    font-weight: 500;
}

/* 姝ｆ枃 */
.lp-art-content {
    font-size: 16px;
    line-height: 1.9;
    color: #333;
    word-break: break-word;
    margin-bottom: 24px;
}
.lp-art-content p {
    margin: 0 0 16px;
}
.lp-art-content img {
    max-width: 100%;
    border-radius: 6px;
    margin: 12px 0;
}
.lp-art-content h2,
.lp-art-content h3 {
    color: #1a1a1a;
    margin: 24px 0 12px;
}
.lp-art-content blockquote {
    margin: 16px 0;
    padding: 12px 20px;
    background: #f9fafb;
    border-left: 3px solid #2563eb;
    color: #666;
}

/* 鏂囩珷鏍囩鍒楄〃 */
.lp-art-tag-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}
.lp-art-tag-label {
    font-size: 13px;
    color: #999;
    font-weight: 500;
}
.lp-art-tag-item {
    display: inline-block;
    padding: 4px 12px;
    background: #f5f5f5;
    color: #666;
    border-radius: 4px;
    font-size: 13px;
    text-decoration: none;
    transition: all .2s;
}
.lp-art-tag-item:hover {
    background: #e8f4fd;
    color: #2563eb;
}

/* 鍏宠仈淇℃伅 */
.lp-art-related-info {
    margin-top: 24px;
    padding: 18px;
    background: #f9fafb;
    border-radius: 10px;
    border: 1px solid #eee;
}
.lp-art-related-title {
    font-size: 14px;
    font-weight: 600;
    color: #666;
    margin-bottom: 14px;
}
.lp-art-related-title i {
    color: #2563eb;
    margin-right: 4px;
}
.lp-art-related-cards {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}
.lp-art-related-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    background: #fff;
    border-radius: 8px;
    text-decoration: none;
    border: 1px solid #e9ecef;
    transition: border-color .2s;
    min-width: 180px;
}
.lp-art-related-card:hover {
    border-color: #2563eb;
}
.lp-art-related-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}
.lp-avatar-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    background: #2563eb;
}
.lp-art-related-name {
    font-size: 14px;
    font-weight: 600;
    color: #222;
}
.lp-art-related-desc {
    font-size: 12px;
    color: #999;
}

/* 杩斿洖鎸夐挳 */
.lp-art-back {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid #f0f0f0;
    margin-top: 16px;
}
.lp-back-btn {
    display: inline-block;
    padding: 10px 30px;
    background: #2563eb;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    transition: background .2s;
}
.lp-back-btn:hover {
    background: #1a8ae0;
}

/* ====== 鍝嶅簲寮?====== */
@media (max-width: 960px) {
    .lp-container {
        flex-direction: column;
    }
    .lp-sidebar {
        width: 100%;
    }
    .lp-top-grid {
        grid-template-columns: 1fr;
    }
    .lp-article-img {
        width: 140px;
        height: 95px;
    }
}
@media (max-width: 640px) {
    .lp-container {
        padding: 16px 12px;
    }
    .lp-article-card {
        flex-direction: column;
        gap: 12px;
    }
    .lp-article-img {
        width: 100%;
        height: 180px;
    }
    .lp-article-title {
        font-size: 15px;
    }
    .lp-art-title {
        font-size: 20px;
    }
    .lp-article-page {
        padding: 18px;
    }
}
   ================================ */
.filter-bar {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 14px 20px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    border: 1px solid var(--border);
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-label { font-size: 14px; color: var(--text-secondary); font-weight: 500; white-space: nowrap; }

.filter-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    align-items: center;
}

.filter-tag {
    display: inline-block;
    padding: 3px 10px;
    background: #f0f3f7;
    border: 1px solid transparent;
    border-radius: 20px;
    font-size: 14px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.15s;
    white-space: nowrap;
}

.filter-tag:hover {
    background: #e0ecff;
    color: var(--primary);
}

.filter-tag.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* 鍦板尯瀛愭爣绛?*/
.filter-sub-tags {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-left: 2px;
}

.filter-sub-tags::before {
    content: '>';
    font-size: 14px;
    color: var(--gray);
    margin-right: 2px;
    display: flex;
    align-items: center;
}

.filter-tag.sub {
    padding: 3px 10px;
    font-size: 14px;
    background: #e8eef6;
}

.filter-tag.sub:hover {
    background: #d0dfff;
}

.filter-tag.sub.active {
    background: var(--primary);
    color: #fff;
}

.filter-select {
    padding: 6px 12px;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm);
    font-size: 14px;
    color: var(--text-primary);
    background: #f5f7fa;
    cursor: pointer;
    transition: all var(--duration) var(--ease);
}

.filter-select:focus {
    outline: none;
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb),0.1);
}

/* ================================
   Detail Pages
   ================================ */
.detail-hero {
    background: linear-gradient(160deg, #0c2340, #0A5A8C);
    padding: 48px var(--container-padding);
    color: #fff;
}

.detail-hero-content { max-width: var(--container-width); margin: 0 auto; }

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--primary-light);
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 16px;
    cursor: pointer;
    font-weight: 500;
}

.back-link:hover { color: #fff; }

.detail-header { display: flex; gap: 20px; align-items: center; }

.detail-logo {
    width: 72px;
    height: 72px;
    min-width: 72px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #fff;
    overflow: hidden;
}

.detail-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

.detail-title h2 {
    font-size: 24px;
    margin-bottom: 6px;
    font-weight: 700;
}

.detail-meta {
    display: flex;
    gap: 16px;
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    flex-wrap: wrap;
}

.detail-meta span { display: flex; align-items: center; gap: 5px; }

.detail-content {
    max-width: var(--container-width);
    margin: -32px auto 48px;
    padding: 0 var(--container-padding);
}

.detail-card {
    background: #fff;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: 1px solid var(--border);
}

.detail-tabs {
    display: flex;
    border-bottom: 1px solid var(--border);
    padding: 0 20px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.detail-tab {
    padding: 14px 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all var(--duration) var(--ease);
    background: none;
    border-left: none;
    border-right: none;
    border-top: none;
    white-space: nowrap;
}

.detail-tab:hover { color: var(--text-primary); }

.detail-tab.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.detail-body { padding: 24px; }

/* Contact Info - handled by contact page inline styles */
.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    background: #f5f7fa;
    border-radius: var(--radius);
}

.contact-icon {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.contact-label { font-size: 14px; color: var(--text-tertiary); margin-bottom: 2px; }
.contact-value { font-size: 14px; font-weight: 500; color: var(--text-primary); }

/* About Text */
.about-text {
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-secondary);
}

/* Leaders Grid */
.leaders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 10px;
    margin-top: 14px;
}

.leader-card {
    background: #f5f7fa;
    border-radius: var(--radius);
    padding: 14px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    transition: all var(--duration) var(--ease);
}

.leader-card:hover {
    background: var(--primary-light-bg);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.leader-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
    color: #fff;
}

.leader-info { flex: 1; }

.leader-title-tag {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    font-size: 14px;
    padding: 2px 7px;
    border-radius: 4px;
    margin-bottom: 4px;
    font-weight: 500;
}

.leader-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.leader-company { font-size: 14px; color: var(--text-secondary); margin-bottom: 2px; }
.leader-phone { font-size: 14px; color: var(--primary); font-weight: 500; }

/* ================================
   Disclaimer
   ================================ */
.disclaimer-section {
    padding: 0 var(--container-padding) 20px;
}

.disclaimer-box {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 28px 32px;
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.disclaimer-box::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary), var(--accent));
    border-radius: 0 2px 2px 0;
}

.disclaimer-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
    padding-left: 4px;
}

.disclaimer-content p {
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.disclaimer-content p:last-child { margin-bottom: 0; }

/* ================================
   Talent List Page
   ================================ */
.talent-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 16px;
}

.talent-card-new {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: var(--radius-xl);
    padding: 22px;
    text-decoration: none;
    color: inherit;
    border: 1px solid var(--border);
    transition: all var(--duration) var(--ease);
}

.talent-card-new:hover {
    border-color: rgba(var(--primary-rgb), 0.3);
    box-shadow: var(--shadow-primary);
    transform: translateY(-3px);
}

.tc-top {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 14px;
}

.tc-avatar {
    width: 56px;
    height: 56px;
    min-width: 56px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #fff;
    font-weight: 700;
    overflow: hidden;
    flex-shrink: 0;
}

.tc-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

.tc-info { flex: 1; min-width: 0; }

.tc-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.tc-meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 13px;
    color: var(--text-secondary);
}

.tc-meta .tag-edu {
    background: var(--primary-light-bg);
    color: var(--primary);
    padding: 1px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.tc-intro {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tc-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    font-size: 13px;
    color: var(--text-tertiary);
}

.tc-skill-tag {
    background: #f0f5ff;
    color: var(--primary);
    padding: 2px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.tc-arrow {
    color: var(--border-strong);
    font-size: 12px;
    transition: all var(--duration) var(--ease);
}

.talent-card-new:hover .tc-arrow {
    color: var(--primary);
    transform: translateX(3px);
}

/* ================================
   Talent Detail Page
   ================================ */
.talent-detail-page {
    max-width: 800px;
    margin: 0 auto;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 20px;
    transition: color var(--duration) var(--ease);
}

.back-btn:hover { color: var(--primary); }

.talent-hero {
    background: #fff;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    padding: 32px;
    margin-bottom: 20px;
    border: 1px solid var(--border);
}

.talent-hero-top {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.talent-avatar-wrap {
    width: 88px;
    height: 88px;
    min-width: 88px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: #fff;
    font-weight: 700;
    overflow: hidden;
    flex-shrink: 0;
}

.talent-avatar-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.talent-hero-info { flex: 1; min-width: 0; }

.talent-hero-info h1 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 10px;
}

.talent-hero-meta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.meta-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    color: var(--text-secondary);
}

.meta-item i {
    color: var(--primary);
    font-size: 13px;
}

.meta-tag {
    display: inline-block;
    padding: 2px 10px;
    background: var(--primary-light-bg);
    color: var(--primary);
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
}

.talent-assoc-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 12px;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.1), rgba(var(--primary-rgb), 0.05));
    color: var(--primary);
    border: 1px solid rgba(var(--primary-rgb), 0.15);
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: all var(--duration) var(--ease);
}

.talent-assoc-tag:hover {
    background: var(--primary-light-bg);
    border-color: rgba(var(--primary-rgb), 0.3);
}

/* Talent Section */
.talent-section {
    background: #fff;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    padding: 24px 28px;
    margin-bottom: 16px;
    border: 1px solid var(--border);
}

.talent-section-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 8px;
}

.talent-section-title i {
    color: var(--primary);
    font-size: 15px;
}

/* Info Grid */
.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.info-item {
    padding: 10px 0;
}

.info-label {
    font-size: 13px;
    color: var(--text-tertiary);
    margin-bottom: 4px;
}

.info-value {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-primary);
}

/* Skill Tags */
.skill-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.skill-tag {
    display: inline-block;
    padding: 5px 14px;
    background: var(--primary-light-bg);
    color: var(--primary);
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 500;
    border: 1px solid rgba(var(--primary-rgb), 0.1);
    transition: all var(--duration) var(--ease);
}

.skill-tag:hover {
    background: rgba(var(--primary-rgb), 0.15);
    border-color: rgba(var(--primary-rgb), 0.25);
}

/* Self Intro */
.self-intro {
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-secondary);
}

/* Timeline (work/edu experience) */
.timeline {
    position: relative;
    padding-left: 24px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 6px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: var(--border);
    border-radius: 1px;
}

.timeline-item {
    position: relative;
    padding: 0 0 20px;
}

.timeline-item:last-child { padding-bottom: 0; }

.timeline-item::before {
    content: '';
    position: absolute;
    left: -22px;
    top: 7px;
    width: 10px;
    height: 10px;
    background: var(--primary);
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 0 0 2px rgba(var(--primary-rgb), 0.2);
}

.tl-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.tl-desc {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* Talent Detail Contact Cards (variant) */
.talent-section .contact-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: #f5f7fa;
    border-radius: var(--radius);
    margin-bottom: 10px;
    transition: all var(--duration) var(--ease);
}

.talent-section .contact-card:last-child { margin-bottom: 0; }

.talent-section .contact-card:hover {
    background: var(--primary-light-bg);
}

.contact-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #fff;
    flex-shrink: 0;
}

.contact-info { flex: 1; min-width: 0; }

.c-label {
    font-size: 13px;
    color: var(--text-tertiary);
    margin-bottom: 2px;
}

.c-value {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-primary);
    word-break: break-all;
}

/* ================================
   Footer - 娣辫摑鍗囩骇鐗?   ================================ */
.footer {
    background: linear-gradient(180deg, #081828 0%, #060f1c 100%);
    color: #fff;
    padding: 52px var(--container-padding) 24px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(30,144,255,0.4) 30%, rgba(255,107,74,0.4) 50%, rgba(30,144,255,0.4) 70%, transparent 100%);
}

.footer-content {
    max-width: var(--container-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr repeat(4, 1fr);
    gap: 40px;
    align-items: start;
}

.footer-brand h3 {
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
    letter-spacing: normal;
}

.footer-brand p {
    color: rgba(255,255,255,0.45);
    font-size: 13px;
    line-height: 1.75;
}

.footer h4 {
    font-size: 13px;
    margin-bottom: 12px;
    color: rgba(255,255,255,0.85);
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 11px;
}

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 7px; }
.footer-links a {
    color: rgba(255,255,255,0.45);
    text-decoration: none;
    font-size: 13px;
    transition: all var(--duration-fast) var(--ease);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--primary-light);
    transform: translateX(3px);
}

.footer-bottom {
    max-width: var(--container-width);
    margin: 36px auto 0;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,0.06);
    text-align: center;
    color: rgba(255,255,255,0.25);
    font-size: 13px;
}

/* ================================
   Toast
   ================================ */
.toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: var(--navy);
    color: #fff;
    padding: 12px 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    display: none;
    align-items: center;
    gap: 8px;
    z-index: 3000;
    font-size: 14px;
    font-weight: 500;
}

.toast.show { display: flex; }
.toast.success { background: var(--success); }
.toast.error { background: var(--danger); }

/* ================================
   Modal
   ================================ */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.4);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 16px;
}

.modal-overlay.active { display: flex; }

.modal {
    background: rgba(255,255,255,0.98);
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 640px;
    max-height: 88vh;
    overflow: hidden;
    animation: modalIn 0.35s var(--ease);
    box-shadow: var(--shadow-xl);
}

@keyframes modalIn {
    from { opacity: 0; transform: scale(0.96) translateY(8px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-header {
    padding: 18px 20px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 { font-size: 16px; color: var(--text-primary); font-weight: 600; }

.modal-close {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: none;
    background: #f0f3f7;
    cursor: pointer;
    font-size: 16px;
    transition: all var(--duration) var(--ease);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
}

.modal-close:hover { background: var(--primary); color: #fff; }

.modal-body { padding: 20px; overflow-y: auto; max-height: calc(88vh - 72px); }

/* ================================
   Forms
   ================================ */
.form-group { margin-bottom: 14px; }

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm);
    font-size: 14px;
    transition: all var(--duration) var(--ease);
    font-family: inherit;
    background: #fff;
    color: var(--text-primary);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb),0.1);
}

.form-group textarea { min-height: 100px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* Import Section */
.import-section {
    background: #fff;
    border-radius: var(--radius-xl);
    padding: 40px 32px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    border: 1px solid var(--border);
}

.drop-zone {
    border: 2px dashed var(--gray-mid);
    border-radius: var(--radius-lg);
    padding: 40px 20px;
    transition: all var(--duration) var(--ease);
}

.drop-zone.dragover {
    border-color: var(--primary);
    background: var(--primary-light-bg);
}

.drop-icon { font-size: 48px; margin-bottom: 14px; }
.drop-zone h4 { font-size: 16px; color: var(--text-primary); margin-bottom: 6px; font-weight: 600; }
.drop-zone p { color: var(--text-secondary); font-size: 14px; margin-bottom: 14px; }
.file-input { display: none; }

/* ================================
   Pagination
   ================================ */
.pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.page-link {
    padding: 6px 14px;
    background: #fff;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    text-decoration: none;
    transition: all var(--duration) var(--ease);
    font-size: 14px;
    font-weight: 500;
}

.page-link:hover {
    background: #f0f3f7;
}

.page-link.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* 鍒嗛〉锛歛dmin 鍒楄〃椤垫墍鐢ㄦ牱寮忥紙.page-btn / .pagination-links 绛夛級 */
.pagination-info {
    font-size: 13px;
    color: var(--text-secondary);
    margin-right: 12px;
    white-space: nowrap;
}
.pagination-links {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    padding: 0 10px;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm);
    background: #fff;
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: all var(--duration) var(--ease);
    cursor: pointer;
}
.page-btn:hover {
    background: #f0f3f7;
    border-color: var(--primary-light);
}
.page-btn.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}
.pagination-jump {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: 8px;
    font-size: 13px;
    color: var(--text-secondary);
}
.pagination-jump input[type="number"] {
    width: 56px;
    padding: 4px 6px;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm);
    font-size: 13px;
    text-align: center;
}
.pagination-jump button {
    padding: 4px 10px;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm);
    background: #fff;
    font-size: 13px;
    cursor: pointer;
    transition: background var(--duration) var(--ease);
}
.pagination-jump button:hover {
    background: #f0f3f7;
}

/* ================================
   鍏憡妯箙
   ================================ */
.notice-banner-container {
    background: linear-gradient(180deg, #12365a 0%, #0c2340 100%);
    padding: 16px 0 20px;
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
}

.notice-banner-container::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 0.5px;
    background: linear-gradient(90deg, transparent 0%, var(--primary) 30%, var(--accent) 50%, var(--primary) 70%, transparent 100%);
    opacity: 0.5;
}

.notice-banner-container::after {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image:
        linear-gradient(rgba(var(--primary-rgb),0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(var(--primary-rgb),0.02) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
}

.notice-banner {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 12px 32px 12px 24px;
    font-size: 14px;
    line-height: 1.65;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.85);
    position: relative;
    z-index: 1;
    border-radius: var(--radius);
    margin-left: var(--container-padding);
    margin-right: var(--container-padding);
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    transition: background var(--duration) var(--ease), border-color var(--duration) var(--ease);
}

.notice-banner:hover {
    background: rgba(255,255,255,0.07);
    border-color: rgba(255,255,255,0.1);
}

.notice-banner + .notice-banner {
    margin-top: 8px;
    border-top: none;
}

.notice-banner::before {
    content: "";
    position: absolute;
    left: -0.5px;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 50%;
    border-radius: 0 3px 3px 0;
}

.notice-banner.notice-important::before {
    background: linear-gradient(180deg, #FF6B6B, #EE5A24);
    box-shadow: 0 0 8px rgba(238,90,36,0.4);
}

.notice-banner.notice-warning::before {
    background: linear-gradient(180deg, #FECA57, #FF9F43);
    box-shadow: 0 0 8px rgba(255,159,67,0.4);
}

.notice-banner.notice-info::before {
    background: linear-gradient(180deg, var(--accent-light), var(--primary));
    box-shadow: 0 0 8px rgba(var(--accent-rgb),0.4);
}

.notice-icon {
    font-size: 15px;
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.notice-banner.notice-important .notice-icon {
    background: rgba(238,90,36,0.12);
}

.notice-banner.notice-warning .notice-icon {
    background: rgba(255,159,67,0.1);
}

.notice-banner.notice-info .notice-icon {
    background: rgba(var(--primary-rgb),0.12);
}

.notice-title {
    font-weight: 600;
    flex-shrink: 0;
    color: #fff;
    font-size: 14px;
}

.notice-content {
    flex: 1;
    color: rgba(255,255,255,0.6);
    font-size: 14px;
}

.notice-content br { display: block; margin-top: 2px; }

/* ================================
   渚涢渶鍗＄墖缃戞牸 - 鍗囩骇鐗?   ================================ */
.board-hero {
    background: linear-gradient(160deg, #031A2E 0%, #053558 40%, #2563eb 100%);
    padding: 46px var(--container-padding);
    color: white;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.board-hero::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image:
        linear-gradient(rgba(var(--primary-rgb),0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(var(--primary-rgb),0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

.board-hero-content { max-width: var(--container-width); margin: 0 auto; position: relative; }
.board-hero h1 { font-size: 26px; margin-bottom: 6px; font-weight: 800; letter-spacing: -0.3px; }
.board-hero p { opacity: 0.6; font-size: 14px; }
.board-stats { display: flex; gap: 32px; margin-top: 18px; }
.board-stat { text-align: center; }
.board-stat .num { font-size: 28px; font-weight: 800; }
.board-stat .label { font-size: 13px; opacity: 0.6; }
.board-stat.supply .num { color: var(--accent-light); }
.board-stat.demand .num { color: var(--accent); }

.board-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.board-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--duration) var(--ease);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border);
    text-decoration: none;
    position: relative;
    color: inherit;
}

.board-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
    border-color: rgba(var(--primary-rgb),0.2);
}

.board-card-img-wrap {
    position: relative;
    height: 120px;
    overflow: hidden;
    flex-shrink: 0;
    background: #f0f3f7;
}

.board-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease);
}

.board-card:hover .board-card-img-wrap img { transform: scale(1.06); }

.board-card-body { padding: 12px 14px; flex: 1; display: flex; flex-direction: column; }

.board-card-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 5px;
    align-self: flex-start;
}

.board-card-badge.supply { background: var(--primary-light-bg); color: var(--primary); border: 1px solid rgba(var(--primary-rgb),0.12); }
.board-card-badge.demand { background: var(--warning-light); color: var(--accent-dark); border: 1px solid rgba(var(--accent-rgb),0.15); }

.board-card-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    letter-spacing: normal;
}

.board-card-desc {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
    margin-bottom: 6px;
}

.board-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--text-tertiary);
    border-top: 1px solid var(--border);
    padding-top: 6px;
    margin-top: auto;
}

.board-card-meta .company { color: var(--text-secondary); max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.board-card-top-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: var(--danger);
    color: white;
    padding: 2px 8px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(255,59,48,0.3);
}

.board-type-tabs-home {
    display: flex;
    gap: 0;
    background: #edf1f7;
    border-radius: var(--radius-sm);
    padding: 3px;
    margin-bottom: 18px;
    width: fit-content;
}

.board-type-tab-home {
    text-align: center;
    padding: 7px 24px;
    border-radius: var(--radius-xs);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--duration-fast) var(--ease);
    text-decoration: none;
    color: var(--text-secondary);
    background: transparent;
    border: none;
    white-space: nowrap;
}

.board-type-tab-home:hover {
    color: var(--text-primary);
}

.board-type-tab-home.active {
    background: #fff;
    color: var(--primary);
    font-weight: 600;
    box-shadow: var(--shadow-sm);
}

.board-empty { text-align: center; padding: 36px 20px; color: var(--text-tertiary); font-size: 14px; }
.board-empty .icon { font-size: 36px; margin-bottom: 8px; }
.board-page-info { text-align: center; padding: 14px; color: var(--text-tertiary); font-size: 13px; }
.board-page-info a { color: var(--primary); text-decoration: none; margin: 0 6px; font-weight: 500; }

/* ================================
   瀵屾枃鏈唴瀹归€氱敤鏍峰紡
   ================================ */
.rich-content {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.rich-content p { margin: 0 0 12px 0; }

.rich-content h1, .rich-content h2, .rich-content h3 {
    margin: 20px 0 8px 0;
    color: var(--text-primary);
    font-weight: 600;
}

.rich-content h1 { font-size: 24px; }
.rich-content h2 { font-size: 20px; }
.rich-content h3 { font-size: 17px; }

.rich-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-sm);
    margin: 12px 0;
}

.rich-content a {
    color: var(--primary);
    text-decoration: none;
    border-bottom: 1px solid rgba(var(--primary-rgb),0.2);
}

.rich-content a:hover { border-bottom-color: var(--primary); }

.rich-content blockquote {
    border-left: 3px solid var(--primary);
    padding: 12px 18px;
    margin: 16px 0;
    background: #f5f7fa;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    color: var(--text-secondary);
    font-style: italic;
}

.rich-content code {
    background: #f0f3f7;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.88em;
    color: var(--danger);
    font-family: 'Consolas', 'Fira Code', monospace;
}

.rich-content pre {
    background: var(--navy);
    color: #e2e8f0;
    padding: 16px 20px;
    border-radius: var(--radius);
    overflow-x: auto;
    margin: 16px 0;
    font-size: 14px;
    line-height: 1.6;
}

.rich-content pre code {
    background: none;
    color: inherit;
    padding: 0;
    border-radius: 0;
}

.rich-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
}

.rich-content table th,
.rich-content table td {
    border: 1px solid var(--border);
    padding: 10px 14px;
    text-align: left;
    font-size: 14px;
}

.rich-content table th {
    background: #f5f7fa;
    font-weight: 600;
    color: var(--text-primary);
}

.rich-content table tr:hover td {
    background: var(--primary-light-bg);
}

.rich-content ul, .rich-content ol {
    padding-left: 22px;
    margin: 12px 0;
}

.rich-content li {
    margin-bottom: 4px;
    font-size: 14px;
}

.rich-content hr {
    border: none;
    height: 0.5px;
    background: var(--border);
    margin: 24px 0;
}

/* ================================
   鎵嬫満绔Щ鍔ㄥ鑸?   ================================ */
.mobile-nav-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-nav-overlay.active {
    display: block;
    opacity: 1;
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100%;
    background: #fff;
    z-index: 1001;
    transition: right 0.3s var(--ease);
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff;
}

.mobile-nav-header h3 {
    font-size: 16px;
    font-weight: 600;
}

.mobile-nav-close {
    width: 32px;
    height: 32px;
    border: none;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-nav-menu {
    padding: 12px 0;
}

.mobile-nav-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: background var(--duration) var(--ease);
    border-bottom: 1px solid var(--border);
}

.mobile-nav-menu a:hover,
.mobile-nav-menu a.active {
    background: var(--primary-light-bg);
    color: var(--primary);
}

.mobile-nav-menu a i {
    width: 24px;
    text-align: center;
    color: var(--primary);
    font-size: 16px;
}

.mobile-nav-actions {
    padding: 16px 20px;
    display: flex;
    gap: 10px;
}

.mobile-nav-actions .btn {
    flex: 1;
    justify-content: center;
    padding: 12px;
    font-size: 14px;
}

/* ================================
   Responsive - 鍝嶅簲寮忓竷灞€锛堝崌绾х増锛?   ================================ */
@media (max-width: 1280px) {
    .category-grid { grid-template-columns: repeat(4, 1fr); }
    .assoc-grid { grid-template-columns: repeat(3, 1fr); }
    .company-grid { grid-template-columns: repeat(3, 1fr); }
    .board-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1024px) {
    :root {
        --container-padding: 20px;
    }

    .header-main { padding: 9px var(--container-padding); }

    /* 鏄剧ず姹夊牎鑿滃崟鎸夐挳锛岄殣钘忔闈㈠鑸?*/
    .mobile-menu-btn { display: flex; }
    .nav-menu { display: none; }

    .category-grid { grid-template-columns: repeat(3, 1fr); }
    .assoc-grid { grid-template-columns: repeat(2, 1fr); }
    .company-grid { grid-template-columns: repeat(2, 1fr); }
    .board-section { grid-template-columns: 1fr; }
    .job-grid { grid-template-columns: repeat(2, 1fr); }
    .news-grid { grid-template-columns: repeat(2, 1fr); }
    .board-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-content { grid-template-columns: 1fr 1fr; gap: 24px; }

    .hero-title { font-size: 38px; }
    .hero-banner { padding: 52px var(--container-padding) 64px; }
    .section-title { font-size: 26px; }

    .detail-hero { padding: 36px var(--container-padding); }
    .detail-title h2 { font-size: 20px; }
}

@media (max-width: 768px) {
    :root {
        --container-padding: 16px;
    }

    .main { margin-top: 96px; }

    .header-bar { font-size: 12px; padding: 4px 0; }
    .header-main { padding: 8px var(--container-padding); }
    .logo-text h1,
    .logo-text .site-name { font-size: 15px; }
    .logo-text span { display: none; }

    .hero-title { font-size: 28px; }
    .hero-banner { padding: 40px var(--container-padding) 52px; }
    .hero-subtitle { font-size: 14px; margin-bottom: 24px; }
    .stats-bar { flex-wrap: wrap; gap: 10px; justify-content: center; }
    .stat-item { min-width: 90px; padding: 12px 18px; }
    .stat-num { font-size: 24px; }
    .stat-label { font-size: 12px; }

    .hero-search { margin-bottom: 24px; }
    .hero-search-btn { padding: 10px 20px; font-size: 14px; }

    /* 首页地图区域 - 平板/手机端响应式 */
    .home-map-container {
        flex-direction: column !important;
    }
    .home-map-container > div:first-child,
    .home-map-container > div:last-child {
        width: 100% !important;
        min-width: unset !important;
    }
    .home-map-panel {
        padding: 16px !important;
    }
    .home-map-panel h4 {
        font-size: 15px !important;
    }
    #home-map-world,
    #home-map-china {
        height: 280px !important;
    }
    #home-assoc-list-container {
        max-height: 300px !important;
    }

    .category-section { padding: 36px var(--container-padding) 32px; }
    .content-container { padding: 0 var(--container-padding) 40px; }
    .category-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
    .category-card { padding: 16px 8px 14px; }
    .category-icon { width: 44px; height: 44px; font-size: 18px; border-radius: 12px; }
    .category-name { font-size: 12px; }
    .category-count { font-size: 11px; }

    .assoc-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .assoc-stats-row { grid-template-columns: repeat(2, 1fr); }
    .assoc-title-row { flex-direction: column; align-items: flex-start; gap: 14px; }
    .assoc-tab-nav { overflow-x: auto; }
    .assoc-tab-item { padding: 12px 16px; font-size: 13px; }
    .assoc-tab-content { padding: 20px 16px; }
    .member-company-grid { grid-template-columns: 1fr; }
    .company-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .talent-grid { grid-template-columns: 1fr; }
    .talent-hero-top { flex-direction: column; align-items: center; text-align: center; }
    .talent-hero-meta { justify-content: center; }
    .info-grid { grid-template-columns: 1fr; }
    .job-grid { grid-template-columns: 1fr; }
    .news-grid { grid-template-columns: 1fr; }
    .board-grid { grid-template-columns: 1fr 1fr; }
    .footer-content { grid-template-columns: 1fr 1fr; gap: 20px; }

    .filter-bar { flex-direction: column; align-items: stretch; }
    .section-title { font-size: 22px; }

    .detail-content { padding: 0 var(--container-padding); margin-top: -24px; }
    .detail-header { flex-direction: column; align-items: flex-start; gap: 12px; }
    .detail-body { padding: 16px; }

    .form-row { grid-template-columns: 1fr; }

    .notice-banner { padding: 10px 12px 10px 20px; flex-direction: column; align-items: flex-start; gap: 4px; }
    .notice-banner::before { top: 6px; transform: none; height: calc(100% - 12px); }

    /* 鎵嬫満绔簳閮ㄥ畨鍏ㄥ尯鍩?*/
    .footer { padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px)); }

    /* 鎸夐挳鍔犲ぇ瑙︽懜鍖哄煙 */
    .btn { min-height: 40px; }
    .nav-item { min-height: 44px; }

    /* 鍒嗛〉绠€鍖?*/
    .pagination { gap: 4px; }
    .page-link { padding: 8px 12px; font-size: 13px; min-height: 38px; }

    .board-type-tabs-home { width: 100%; }
    .board-type-tab-home { flex: 1; }

    /* ========== 鎵嬫満绔笓椤逛紭鍖?========== */

    /* Hero 鎼滅储妗嗕紭鍖?*/
    .hero-search-box {
        flex-direction: column;
        padding: 12px;
        border-radius: 14px;
    }
    .hero-search-icon {
        display: none;
    }
    .hero-search-input {
        width: 100%;
        padding: 12px 14px;
        margin-bottom: 10px;
        border: 1px solid var(--border);
        border-radius: 10px;
        font-size: 16px; /* 闃叉 iOS 缂╂斁 */
    }
    .hero-search-btn {
        width: 100%;
        padding: 14px 20px;
        font-size: 15px;
    }

    /* 缁熻鏍忎紭鍖?*/
    .stats-bar {
        gap: 8px;
    }
    .stat-item {
        min-width: calc(50% - 8px);
        flex: 1 1 calc(50% - 8px);
        padding: 14px 12px;
    }
    .stat-item:nth-child(1),
    .stat-item:nth-child(2) {
        flex-basis: calc(50% - 8px);
    }
    .stat-item:nth-child(3),
    .stat-item:nth-child(4) {
        flex-basis: calc(50% - 8px);
    }

    /* 鍒嗙被缃戞牸浼樺寲 */
    .category-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
    }
    .category-card {
        padding: 12px 6px 10px;
    }
    .category-icon {
        width: 36px;
        height: 36px;
        font-size: 16px;
        border-radius: 10px;
        margin-bottom: 6px;
    }
    .category-name {
        font-size: 11px;
        line-height: 1.3;
    }
    .category-count {
        display: none;
    }

    /* 鍗＄墖缃戞牸浼樺寲 */
    .assoc-card,
    .company-card,
    .board-card {
        border-radius: 10px;
    }
    .assoc-card {
        padding: 14px;
    }
    .company-card {
        padding: 14px;
    }
    .board-card-body {
        padding: 10px 12px;
    }
    .board-card-img-wrap {
        height: 100px;
    }

    /* 鎷涜仒鍗＄墖浼樺寲 */
    .job-card {
        padding: 14px;
    }
    .job-title {
        font-size: 13px;
    }
    .job-salary {
        font-size: 14px;
    }

    /* 鏂伴椈鍗＄墖浼樺寲 */
    .news-card {
        border-radius: 10px;
    }
    .news-img {
        height: 120px;
    }
    .news-content {
        padding: 12px;
    }
    .news-title {
        font-size: 13px;
    }

    /* 鍦板浘鍖哄煙浼樺寲 */
    .home-map-section {
        flex-direction: column !important;
    }
    .home-map-container {
        width: 100% !important;
        min-width: 100% !important;
    }
    .home-map-sidebar {
        width: 100% !important;
        min-width: 100% !important;
        margin-top: 16px;
    }
    #home-map-world,
    #home-map-china {
        height: 280px !important;
    }

    /* 绛涢€夋爮浼樺寲 */
    .filter-bar {
        padding: 12px 14px;
    }
    .filter-group {
        width: 100%;
        flex-wrap: wrap;
    }
    .filter-tags {
        width: 100%;
    }
    .filter-tag {
        padding: 6px 12px;
        font-size: 13px;
    }

    /* Tab 瀵艰埅浼樺寲 */
    .assoc-tab-nav {
        padding: 0;
        border-radius: 10px;
    }
    .assoc-tab-item {
        padding: 12px 14px;
        font-size: 13px;
    }

    /* 璇︽儏椤典紭鍖?*/
    .assoc-detail-header,
    .detail-card,
    .talent-section {
        padding: 16px;
        border-radius: 12px;
    }
    .assoc-title-row {
        flex-direction: column;
        gap: 12px;
    }
    .assoc-logo-box {
        width: 56px;
        height: 56px;
        min-width: 56px;
        font-size: 24px;
    }

    /* 琛ㄥ崟浼樺寲 */
    .form-group input,
    .form-group textarea,
    .form-group select {
        font-size: 16px; /* 闃叉 iOS 缂╂斁 */
        padding: 12px 14px;
    }

    /* 鎸夐挳瑙︽懜鍖哄煙浼樺寲 */
    .btn {
        min-height: 44px;
        padding: 12px 20px;
    }
    .btn-blue,
    .btn-primary {
        min-height: 48px;
    }

    /* 绉诲姩瀵艰埅浼樺寲 */
    .mobile-nav {
        width: 280px;
    }
    .mobile-nav-menu a {
        padding: 16px 20px;
        min-height: 52px;
    }
    .mobile-nav-actions .btn {
        min-height: 48px;
        padding: 14px;
    }

    /* Toast 浣嶇疆浼樺寲 */
    .toast {
        bottom: 16px;
        right: 16px;
        left: 16px;
        width: auto;
    }

    /* 妯℃€佹浼樺寲 */
    .modal {
        max-width: calc(100% - 32px);
        border-radius: 14px;
    }
    .modal-header {
        padding: 16px 18px;
    }
    .modal-body {
        padding: 16px 18px;
    }

    /* 閾炬帴鍜屽彲鐐瑰嚮鍏冪礌浼樺寲 */
    a, button {
        -webkit-tap-highlight-color: transparent;
    }
    a:active, button:active {
        opacity: 0.8;
    }

    /* 鏂囧瓧閫夋嫨浼樺寲 */
    .category-name,
    .assoc-info h4,
    .company-info h4,
    .board-card-title,
    .job-title,
    .news-title {
        word-break: break-word;
        overflow-wrap: break-word;
    }
}

@media (max-width: 480px) {
    :root {
        --container-padding: 12px;
    }

    .category-grid { grid-template-columns: repeat(4, 1fr); gap: 6px; }
    .assoc-grid { grid-template-columns: 1fr; }
    .company-grid { grid-template-columns: 1fr; }
    .board-grid { grid-template-columns: 1fr; }

    .hero-title { font-size: 24px; }
    .hero-banner { padding: 32px var(--container-padding) 44px; }
    .stats-bar { gap: 8px; }
    .stat-item { min-width: calc(50% - 6px); padding: 12px 10px; }
    .stat-num { font-size: 20px; }

    .footer-content { grid-template-columns: 1fr; gap: 16px; }
    .footer { padding: 36px var(--container-padding) 18px; }

    .board-hero { padding: 28px var(--container-padding); }
    .board-hero h1 { font-size: 20px; }
    .board-stats { gap: 20px; }
    .board-stat .num { font-size: 22px; }

    /* 鎵嬫満绔ā鎬佹鍏ㄥ睆 */
    .modal { max-width: 100%; border-radius: 0; max-height: 100vh; }
    .modal-body { max-height: calc(100vh - 60px); }

    .hero-search-box { border-radius: 14px; padding: 10px; }

    /* 鍒嗙被鍗＄墖鏇寸揣鍑?*/
    .category-card {
        padding: 10px 4px 8px;
    }
    .category-icon {
        width: 32px;
        height: 32px;
        font-size: 14px;
        border-radius: 8px;
        margin-bottom: 4px;
    }
    .category-name {
        font-size: 10px;
        line-height: 1.2;
    }

    /* 鍗＄墖鍐呰竟璺濅紭鍖?*/
    .assoc-card,
    .company-card,
    .board-card,
    .job-card {
        border-radius: 8px;
    }
    .assoc-card {
        padding: 12px;
    }
    .company-card {
        padding: 12px;
    }
    .board-card-body {
        padding: 10px;
    }
    .job-card {
        padding: 12px;
    }

    /* 鏂伴椈鍗＄墖 */
    .news-card {
        border-radius: 8px;
    }
    .news-img {
        height: 100px;
    }
    .news-content {
        padding: 10px;
    }

    /* 璇︽儏椤?*/
    .assoc-detail-header,
    .detail-card,
    .talent-section {
        padding: 12px;
        border-radius: 10px;
    }

    /* 鍦板浘楂樺害 */
    #home-map-world,
    #home-map-china {
        height: 240px !important;
    }

    /* 鎸夐挳鏈€灏忛珮搴?*/
    .btn {
        min-height: 44px;
        padding: 10px 16px;
    }

    /* 首页地图区域 - 小屏手机 */
    .home-map-container {
        gap: 12px !important;
    }
    .home-map-panel {
        padding: 10px !important;
        border-radius: 8px !important;
    }
    .home-map-panel h4 {
        font-size: 13px !important;
    }
    #home-map-world,
    #home-map-china {
        height: 220px !important;
    }
    #home-assoc-list-container {
        max-height: 240px !important;
    }
    .map-tab {
        padding: 4px 10px !important;
        font-size: 11px !important;
    }

    /* 社团搜索框 - 手机端 */
    .assoc-search-box {
        padding: 12px !important;
        border-radius: 8px !important;
    }
    .assoc-search-box input {
        min-width: unset !important;
        width: 100% !important;
    }

    /* 地图 visualMap 控件小屏适配 */
    #home-map-world,
    #home-map-china {
        min-height: 200px;
    }

    /* 确保地图容器在小屏有正确宽度 */
    #home-map-world canvas,
    #home-map-china canvas {
        max-width: 100% !important;
    }
}

/* ================================
   杈呭姪宸ュ叿绫?   ================================ */
.text-center { text-align: center; }
.text-primary { color: var(--primary) !important; }
.text-accent { color: var(--accent) !important; }
.mt-16 { margin-top: 16px; }
.mb-16 { margin-bottom: 16px; }
.hidden-mobile { display: block; }
.visible-mobile { display: none; }

@media (max-width: 768px) {
    .hidden-mobile { display: none !important; }
    .visible-mobile { display: block !important; }
}

/* ================================
   鐧诲綍/娉ㄥ唽椤甸潰
   ================================ */
.auth-page {
    min-height: calc(100vh - 104px - 120px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 16px;
    background: linear-gradient(135deg, #eef3fb 0%, #e4ecf7 50%, #eef3fb 100%);
}
.auth-card {
    width: 100%;
    max-width: 440px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 12px 40px rgba(14,44,100,0.11), 0 2px 8px rgba(14,44,100,0.06);
    overflow: hidden;
    animation: authFadeIn 0.4s ease;
}
.auth-card-wide {
    max-width: 560px;
}
@keyframes authFadeIn {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* 澶撮儴 */
.auth-header {
    background: linear-gradient(135deg, #041C32 0%, #063556 45%, #0A5A8C 100%);
    padding: 32px 24px 28px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.auth-header::before {
    content: '';
    position: absolute;
    top: -30px; right: -30px;
    width: 120px; height: 120px;
    background: rgba(255,255,255,0.06);
    border-radius: 50%;
}
.auth-header::after {
    content: '';
    position: absolute;
    bottom: -20px; left: -20px;
    width: 80px; height: 80px;
    background: rgba(255,255,255,0.04);
    border-radius: 50%;
}
.auth-logo {
    width: 48px; height: auto; object-fit: contain;
    margin-bottom: 8px;
    filter: brightness(0) invert(1);
}
.auth-title {
    color: #fff;
    font-size: 22px;
    font-weight: 600;
    margin: 0;
    position: relative;
    z-index: 1;
}
.auth-subtitle {
    color: rgba(255,255,255,0.65);
    font-size: 14px;
    margin: 4px 0 0;
    position: relative;
    z-index: 1;
}

/* 涓讳綋 */
.auth-body {
    padding: 28px 28px 24px;
}

/* 绫诲瀷鍒囨崲 */
.auth-type-switch {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    background: #f0f5fb;
    border-radius: 10px;
    padding: 4px;
}
.auth-type-btn {
    flex: 1;
    padding: 10px 16px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    color: #5a7195;
    background: transparent;
    cursor: pointer;
    transition: all 0.25s ease;
}
.auth-type-btn.active {
    background: #fff;
    color: var(--navy, #0c2340);
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(12,35,64,0.10);
}
.auth-type-btn:hover:not(.active) {
    color: var(--navy, #0c2340);
    background: rgba(255,255,255,0.5);
}
.auth-type-btn i {
    margin-right: 4px;
}

/* 琛ㄥ崟瀛楁 */
.auth-field {
    margin-bottom: 16px;
}
.auth-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #2c3e50;
    margin-bottom: 6px;
}
.auth-label i {
    color: var(--navy, #0c2340);
    width: 18px;
    text-align: center;
    margin-right: 4px;
    font-size: 13px;
}
.auth-required {
    color: #e74c3c;
}
.auth-input, .auth-select {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid #dde4ee;
    border-radius: 8px;
    font-size: 15px;
    color: #2c3e50;
    background: #fafbfd;
    transition: all 0.25s ease;
    outline: none;
}
.auth-input:focus, .auth-select:focus {
    border-color: var(--blue-accent, #1d4ed8);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(3,78,162,0.10);
}
.auth-input::placeholder {
    color: #aab5c4;
}
.auth-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235a7195' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}
.auth-hint {
    display: block;
    font-size: 12px;
    color: #8a99ab;
    margin-top: 4px;
}
.auth-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

/* 澶嶉€夋 */
.auth-check {
    margin-bottom: 18px;
}
.auth-check-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #5a7195;
    cursor: pointer;
}
.auth-check-label input[type="checkbox"] {
    width: 16px; height: 16px;
    accent-color: var(--blue-accent, #1d4ed8);
}

/* 鎻愪氦鎸夐挳 */
.auth-btn {
    width: 100%;
    padding: 12px 20px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.3px;
    color: #fff;
    background: linear-gradient(135deg, #063556 0%, #2563eb 100%);
    cursor: pointer;
    transition: all 0.22s ease;
    box-shadow: 0 3px 12px rgba(30,144,255,0.30);
    font-family: inherit;
}
.auth-btn:hover {
    background: linear-gradient(135deg, #041C32 0%, #0f72d9 100%);
    box-shadow: 0 6px 20px rgba(30,144,255,0.40);
    transform: translateY(-1px);
}
.auth-btn:active {
    transform: translateY(0);
}
.auth-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* 鎻愮ず */
.auth-tip {
    text-align: center;
    font-size: 13px;
    color: #8a99ab;
    margin: 10px 0 0;
}

/* 閿欒鎻愮ず */
.auth-alert {
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 16px;
}
.auth-alert-danger {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

/* 搴曢儴閾炬帴 */
.auth-footer {
    text-align: center;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #eef1f6;
    font-size: 14px;
    color: #8a99ab;
}
.auth-link {
    color: var(--blue-accent, #1d4ed8);
    font-weight: 500;
    text-decoration: none;
    margin-left: 4px;
    transition: color 0.2s;
}
.auth-link:hover {
    color: #024080;
    text-decoration: underline;
}

/* 鍝嶅簲寮?*/
@media (max-width: 768px) {
    .auth-page { padding: 24px 12px; }
    .auth-card, .auth-card-wide { max-width: 100%; border-radius: 12px; }
    .auth-header { padding: 24px 20px 20px; }
    .auth-body { padding: 20px 20px 18px; }
    .auth-row { grid-template-columns: 1fr; gap: 0; }
    .auth-title { font-size: 20px; }
}
@media (max-width: 480px) {
    .auth-body { padding: 16px 14px 14px; }
    .auth-type-btn { padding: 8px 10px; font-size: 14px; }
}

/* ================================
   绉诲姩绔笓椤逛紭鍖栵紙澧炲己鐗堬級
   ================================ */

/* 瑙︽懜鍙嶉浼樺寲 */
@media (hover: none) and (pointer: coarse) {
    /* 绉婚櫎 hover 鏁堟灉锛屾敼鐢?active */
    .category-card:hover,
    .assoc-card:hover,
    .company-card:hover,
    .board-card:hover,
    .job-card:hover,
    .news-card:hover {
        transform: none;
    }
    
    .category-card:active,
    .assoc-card:active,
    .company-card:active,
    .board-card:active,
    .job-card:active,
    .news-card:active {
        transform: scale(0.98);
        opacity: 0.9;
    }
    
    /* 鎸夐挳瑙︽懜鍙嶉 */
    .btn:active {
        transform: scale(0.96);
    }
    
    /* 閾炬帴瑙︽懜鍙嶉 */
    a:active {
        opacity: 0.8;
    }
}

/* iOS 瀹夊叏鍖哄煙閫傞厤 */
@supports (padding: env(safe-area-inset-bottom)) {
    .footer {
        padding-bottom: calc(24px + env(safe-area-inset-bottom));
    }
    
    .mobile-nav {
        padding-bottom: env(safe-area-inset-bottom);
    }
    
    .modal-overlay.active {
        padding-bottom: env(safe-area-inset-bottom);
    }
    
    .mobile-bottom-nav {
        padding-bottom: env(safe-area-inset-bottom);
    }
}

/* 闃叉 iOS 杈撳叆妗嗙缉鏀?*/
@media screen and (max-width: 768px) {
    input[type="text"],
    input[type="email"],
    input[type="password"],
    input[type="tel"],
    input[type="number"],
    input[type="search"],
    textarea,
    select {
        font-size: 16px !important;
    }
}

/* 妯睆浼樺寲 */
@media screen and (max-width: 768px) and (orientation: landscape) {
    .hero-banner {
        padding: 24px var(--container-padding) 32px;
    }
    
    .hero-title {
        font-size: 24px;
    }
    
    .stats-bar {
        flex-wrap: nowrap;
    }
    
    .stat-item {
        min-width: auto;
        flex: 1;
    }
    
    #home-map-world,
    #home-map-china {
        height: 200px !important;
    }
}

/* 楂樺姣斿害妯″紡鏀寔 */
@media (prefers-contrast: high) {
    .category-card,
    .assoc-card,
    .company-card,
    .board-card,
    .job-card,
    .news-card {
        border-width: 2px;
    }
    
    .btn {
        border-width: 2px;
    }
}

/* 鍑忓皯鍔ㄦ晥妯″紡 */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .hero-banner::before,
    .hero-banner::after {
        display: none;
    }
}

/* ================================
   鍥剧墖鍔犺浇澶辫触鍗犱綅绗?   ================================ */
img[src=""],
img:not([src]),
img[src$="/"] {
    background: var(--surface-alt, #eef2f8);
    display: inline-block;
    min-width: 40px;
    min-height: 40px;
}

/* 鍥剧墖鍔犺浇娣″叆鏁堟灉 */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s ease;
}
img[loading="lazy"].loaded,
img[loading="lazy"][complete] {
    opacity: 1;
}

/* Logo 濮嬬粓鍙锛堜笉鍋氭噿鍔犺浇娣″叆锛?*/
.logo img,
.header img,
_assoc-header img {
    opacity: 1 !important;
    transition: none !important;
}

/* ================================
   鍒嗛〉缁勪欢
   ================================ */
.pagination-nav {
    text-align: center;
    margin-top: 32px;
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}
.pagination-nav[aria-label] {
    /* ensure nav element is block */
    display: flex;
}
.page-num {
    padding: 8px 14px;
    border-radius: 6px;
    background: var(--gray-light, #f5f5f5);
    color: var(--text-secondary, #666);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease;
    min-width: 40px;
    text-align: center;
}
.page-num:hover {
    background: var(--primary-light-bg, rgba(30,144,255,0.1));
    color: var(--primary, #2563eb);
}
.page-num.current {
    background: var(--primary, #2563eb);
    color: #fff;
}
.page-num.current:hover {
    background: var(--primary-dark, #1d4ed8);
    color: #fff;
}
.page-info {
    padding: 8px 14px;
    color: var(--text-tertiary, #999);
    font-size: 14px;
}
/* Pagination nav container */
.pagination-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 32px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    justify-content: center;
    align-items: center;
}/* ========== Admin Batch Bar ========== */
.batch-bar {
    display: none;
    align-items: center;
    gap: 8px;
    background: #e6f7fc;
    border: 1px solid #bfdbfe;
    border-radius: 8px;
    padding: 8px 16px;
    margin-bottom: 14px;
    font-size: 13px;
    color: #1e40af;
}
.batch-bar.show { display: inline-flex; }
.btn-batch-del {
    padding: 5px 14px;
    border: 1px solid #ef4444;
    border-radius: 6px;
    background: #fff;
    color: #ef4444;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all .2s;
}
.btn-batch-del:hover { background: #fef2f2; }
.btn-batch-warn {
    padding: 5px 14px;
    border: 1px solid #f59e0b;
    border-radius: 6px;
    background: #fff;
    color: #f59e0b;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all .2s;
}
.btn-batch-warn:hover { background: #fffbeb; }
.btn-batch-ok {
    padding: 5px 14px;
    border: 1px solid #22c55e;
    border-radius: 6px;
    background: #fff;
    color: #22c55e;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all .2s;
}
.btn-batch-ok:hover { background: #f0fdf4; }
.btn-batch-cancel {
    padding: 5px 14px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: #fff;
    color: #6b7280;
    font-size: 12px;
    cursor: pointer;
    transition: all .2s;
}
.btn-batch-cancel:hover { background: #f3f4f6; }

/* ========== 涓嬫媺閫夋嫨鍣ㄦ牱寮?========== */
.custom-select {
    position: relative;
    width: 100%;
}

.select-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    background: #fff;
    border: 1px solid #e2e6ed;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.select-trigger:hover {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(26, 140, 255, 0.1);
}

.select-trigger .select-value {
    font-size: 14px;
    color: #1a1a2e;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 180px;
}

.select-arrow {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: #8c93a4;
    transition: transform 0.2s ease;
}

.custom-select.open .select-arrow {
    transform: rotate(180deg);
}

.select-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #e2e6ed;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    z-index: 100;
    display: none;
    max-height: 320px;
    overflow: hidden;
}

.custom-select.open .select-dropdown {
    display: block;
    animation: dropdownFadeIn 0.2s ease;
}

@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.select-search {
    padding: 10px;
    border-bottom: 1px solid #f0f0f0;
}

.select-search input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #e2e6ed;
    border-radius: 6px;
    font-size: 13px;
    outline: none;
    transition: border-color 0.2s;
}

.select-search input:focus {
    border-color: #2563eb;
}

.select-options {
    max-height: 260px;
    overflow-y: auto;
    padding: 6px;
}

.select-options::-webkit-scrollbar {
    width: 6px;
}

.select-options::-webkit-scrollbar-track {
    background: #f5f5f5;
    border-radius: 3px;
}

.select-options::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 3px;
}

.select-options::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
}

.select-option {
    display: block;
    padding: 8px 12px;
    font-size: 13px;
    color: #1a1a2e;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.15s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.select-option:hover {
    background: #f0f7ff;
    color: #2563eb;
}

.select-option.active {
    background: #2563eb;
    color: #fff;
}

/* 闅愯棌绌虹櫧閫夐」 */
.select-option[data-value=""] {
    display: none;
}

/* ================================
   Homepage - News Grid (潮团信息)
   ================================ */
.news-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.news-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.news-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.news-img {
    width: 100%;
    height: 160px;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 36px;
    font-weight: 700;
    overflow: hidden;
}

.news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-content {
    padding: 12px 14px 16px;
    display: flex;
    flex-direction: column;
}

.news-date {
    font-size: 12px;
    color: var(--text-tertiary);
    margin-bottom: 6px;
}

.news-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-desc {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-top: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Responsive */
@media (max-width: 1100px) {
    .news-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .news-grid { grid-template-columns: 1fr; }
    .news-img { height: 180px; }
}




