/* ============================================
   青岛印章网 - 主样式
   蓝色风格 · 响应式
   ============================================ */

:root {
    --primary: #003876;
    --primary-dark: #002a5c;
    --primary-light: #edf2f9;
    --primary-gradient: linear-gradient(135deg, #003876 0%, #1a5294 100%);
    --secondary: #0a1628;
    --accent: #2a6cb0;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --text: #1e293b;
    --text-light: #64748b;
    --bg: #f8fafc;
    --white: #ffffff;
    --border: #e2e8f0;
    --shadow: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --radius: 8px;
    --radius-lg: 12px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    font-size: 14px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
body > * { width: 100%; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary-dark); }

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

/* ===== Header ===== */
.site-header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 16px;
    height: 70px;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 30px;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--primary);
}

.site-logo img { height: 40px; width: auto; }

.main-nav { display: flex; gap: 4px; margin-left: auto; }

.main-nav a {
    padding: 8px 10px;
    border-radius: var(--radius);
    color: var(--text);
    font-size: 16px;
    font-weight: 500;
    transition: all .2s;
}

.main-nav a:hover, .main-nav a.active {
    background: var(--primary-light);
    color: var(--primary);
}

.main-nav a.nav-home {
    color: var(--primary);
    font-weight: 600;
}

.main-nav a.nav-home:hover, .main-nav a.nav-home.active {
    background: var(--primary-light);
    color: var(--primary);
}

.header-actions { display: flex; gap: 8px; align-items: center; }

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text);
    padding: 4px;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 20px;
    border: none;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all .2s;
    text-decoration: none;
    line-height: 1.4;
}

.btn-primary {
    background: var(--primary-gradient);
    color: var(--white);
    box-shadow: 0 2px 4px rgba(0,56,118,0.3);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 4px 8px rgba(0,56,118,0.35); color: #fff; }

.btn-outline {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
}
.btn-outline:hover { background: var(--primary-light); }

.btn-success { background: var(--success); color: #fff; }
.btn-danger { background: var(--danger); color: #fff; }
.btn-warning { background: var(--warning); color: #fff; }
.btn-sm { padding: 6px 12px; font-size: 12px; }
.btn-lg { padding: 14px 28px; font-size: 16px; }
.btn-block { width: 100%; }

/* ===== Hero / Banner ===== */
.hero-section {
    background: var(--primary-gradient);
    color: var(--white);
    padding: 24px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    pointer-events: none;
}

.hero-title { font-size: 32px; font-weight: 400; margin-bottom: 12px; }
.hero-subtitle { font-size: 16px; opacity: 0.9; margin-bottom: 30px; }

/* ===== Search Box ===== */
.search-box {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: var(--shadow-lg);
}

.search-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.search-row .form-group { flex: 1; min-width: 150px; margin-bottom: 0; }

.search-row .btn { min-width: 120px; height: 42px; }

/* ===== Notices & Policies ===== */
.np-tabs-mobile {
    display: none;
}
.notice-policy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 8px 0;
}
.np-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: 0 2px 8px rgba(0,56,118,0.08);
    overflow: hidden;
    transition: all .3s cubic-bezier(0.4, 0, 0.2, 1);
}
.np-card:hover {
    box-shadow: 0 8px 24px rgba(0,56,118,0.12);
    transform: translateY(-2px);
}
.np-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: #f0f5fb;
    position: relative;
}
.np-card-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.3px;
}
.np-card-icon {
    display: inline-flex;
    align-items: center;
}
.np-card-icon svg {
    width: 20px;
    height: 20px;
}
.np-card-more {
    font-size: 13px;
    color: var(--text-light);
    text-decoration: none;
    transition: color .2s;
    display: flex;
    align-items: center;
    gap: 2px;
}
.np-card-more:hover { color: var(--primary); }
.np-card-more-arrow {
    transition: transform .2s;
}
.np-card-more:hover .np-card-more-arrow {
    transform: translateX(3px);
}
.np-card-body { padding: 6px 0; }
.np-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 24px;
    text-decoration: none;
    color: inherit;
    border-bottom: none;
    transition: all .25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}
.np-item:last-child { border-bottom: none; }
.np-item:hover {
    background: #f8fafc;
}
.np-item-featured {
    padding: 20px 24px;
    background: #fafbfd;
    border-bottom: none;
    gap: 18px;
    position: relative;
}
.np-item-featured:hover {
    background: #f5f8fc;
}
.np-featured-left {
    flex-shrink: 0;
}
.np-featured-right {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.np-featured-title {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.6;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    color: #0a0a0a;
}
.np-featured-excerpt {
    font-size: 13px;
    color: #5a6577;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    letter-spacing: 0.2px;
    padding: 8px 12px;
    background: rgba(0,56,118,0.02);
    border-radius: 6px;
}
.np-date-large {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary) 0%, #004a99 100%);
    color: #fff;
    box-shadow: 0 4px 12px rgba(0,56,118,0.3), 0 2px 4px rgba(0,56,118,0.2), inset 0 1px 0 rgba(255,255,255,0.15);
    transition: all .3s cubic-bezier(0.4, 0, 0.2, 1);
}
.np-item-featured:hover .np-date-large {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(0,56,118,0.35), 0 3px 6px rgba(0,56,118,0.25);
}
.np-date-large .np-date-day {
    font-size: 22px;
    color: #fff;
}
.np-date-large .np-date-ym {
    font-size: 11px;
    color: rgba(255,255,255,0.85);
}
.np-item-first {
    background: #f5f8fc;
    padding: 15px 22px;
}
.np-item-first:hover { background: #eef4fc; }
.np-date {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    background: var(--primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    line-height: 1;
    transition: all .3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0,56,118,0.2);
}
.np-item:hover .np-date {
    transform: scale(1.06);
    box-shadow: 0 3px 10px rgba(0,56,118,0.12);
}
.np-date-day {
    font-size: 19px;
    font-weight: 700;
    color: #fff;
}
.np-date-ym {
    font-size: 10px;
    color: rgba(255,255,255,0.85);
    margin-top: 2px;
}
.np-info {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}
.np-title {
    font-size: 14px;
    color: #1a1a1a;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
    min-width: 0;
    line-height: 1.5;
    transition: color .2s;
}
.np-item:hover .np-title { color: var(--primary); }
.np-item-first .np-title { font-weight: 600; }
.np-tag {
    display: inline-block;
    padding: 1px 6px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 600;
    flex-shrink: 0;
    line-height: 1.6;
    vertical-align: middle;
}
.np-tag-top {
    background: var(--primary);
    color: #fff;
}
.np-tag-new {
    background: #fee2e2;
    color: #dc2626;
    animation: np-new-pulse 2s ease-in-out infinite;
}
@keyframes np-new-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}
.np-empty {
    padding: 36px 22px;
    text-align: center;
    color: var(--text-light);
    font-size: 14px;
}

/* ===== Detail Pages (Notice / Policy) ===== */
.detail-back {
    display: inline-block;
    margin-bottom: 20px;
    color: var(--text-light);
    font-size: 14px;
    text-decoration: none;
    transition: color .2s;
}
.detail-back:hover { color: var(--primary); }

.detail-article {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 32px 36px;
    margin-bottom: 24px;
}
.detail-article-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 16px;
    line-height: 1.5;
}
.detail-highlight { color: #dc2626; }
.detail-tag-top {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 4px;
    margin-right: 8px;
    vertical-align: middle;
    font-weight: 600;
}
.detail-article-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    padding: 12px 0;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border);
    font-size: 13px;
    color: var(--text-light);
}
.detail-article-body {
    line-height: 1.9;
    font-size: 15px;
    color: var(--text);
    word-break: break-word;
}
.detail-article-body img { max-width: 100%; height: auto; border-radius: var(--radius); margin: 12px 0; }
.detail-article-body p { margin-bottom: 12px; }
.detail-article-body table { border-collapse: collapse; width: 100%; margin: 12px 0; }
.detail-article-body table th,
.detail-article-body table td { border: 1px solid var(--border); padding: 8px 12px; }

.notice-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    margin-bottom: 24px;
    transition: transform .25s cubic-bezier(0.4, 0, 0.2, 1);
}
.notice-card-link:hover {
    transform: translateY(-2px);
}
.notice-card-link:hover .notice-card {
    box-shadow: 0 8px 24px rgba(0,56,118,0.12);
}
.notice-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: box-shadow .3s cubic-bezier(0.4, 0, 0.2, 1);
}
.notice-card .detail-article-body {
    max-height: 300px;
    overflow: hidden;
    position: relative;
}
.notice-card .detail-article-body::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to bottom, transparent 0%, rgba(255,255,255,0.95) 100%);
    pointer-events: none;
}
.notice-card-link:hover .notice-card .detail-article-body::after {
    background: linear-gradient(to bottom, transparent 0%, rgba(255,255,255,0.98) 100%);
}

.detail-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.detail-nav-link {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 16px 20px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    text-decoration: none;
    color: var(--text);
    transition: all .2s;
}
a.detail-nav-link:hover { box-shadow: var(--shadow-md); color: var(--primary); }
.detail-nav-prev { text-align: left; }
.detail-nav-next { text-align: right; }
.detail-nav-label {
    font-size: 12px;
    color: var(--text-light);
    font-weight: 500;
}
.detail-nav-title {
    font-size: 14px;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.detail-nav-disabled {
    opacity: 0.5;
    cursor: default;
}

/* ===== List Page Items ===== */
.list-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    margin-bottom: 12px;
    text-decoration: none;
    color: inherit;
    transition: all .2s;
}
.list-item:hover { box-shadow: var(--shadow-md); transform: translateY(-1px); color: inherit; }
.list-item-date {
    width: 56px;
    height: 56px;
    border-radius: 10px;
    background: var(--primary-light);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    line-height: 1;
}
.list-item-date-day { font-size: 20px; font-weight: 700; color: var(--primary); }
.list-item-date-ym { font-size: 10px; color: var(--text-light); margin-top: 2px; }
.list-item-body { flex: 1; min-width: 0; }
.list-item-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
}
.list-item:hover .list-item-title { color: var(--primary); }
.list-item-meta {
    font-size: 12px;
    color: var(--text-light);
    margin-top: 6px;
    display: flex;
    gap: 16px;
}
.list-item-tag-top {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    font-size: 11px;
    padding: 1px 6px;
    border-radius: 3px;
    margin-right: 6px;
    font-weight: 600;
    vertical-align: middle;
}
.list-item-tag-highlight { color: #dc2626; font-weight: 700; }

/* ===== Content Layout with Left Sidebar ===== */
.content-layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 24px;
    padding: 24px 0;
    align-items: start;
}
.content-sidebar-left {
    position: sticky;
    top: 90px;
}
.content-sidebar-nav {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
}
.content-sidebar-nav-title {
    padding: 14px 18px;
    font-size: 15px;
    font-weight: 700;
    color: var(--white);
    background: var(--primary-gradient);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}
.content-sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    font-size: 14px;
    color: var(--text);
    border-bottom: 1px solid var(--border);
    transition: all .2s;
    text-decoration: none;
}
.content-sidebar-nav a:last-child { border-bottom: none; }
.content-sidebar-nav a:hover,
.content-sidebar-nav a.active {
    background: var(--primary-light);
    color: var(--primary);
    font-weight: 600;
}
.content-sidebar-nav a .nav-icon {
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.content-sidebar-nav a .nav-icon svg {
    width: 18px;
    height: 18px;
}
.content-sidebar-nav-title svg {
    width: 18px;
    height: 18px;
    vertical-align: -2px;
    margin-right: 2px;
}
.content-main {
    min-width: 0;
}

/* ===== Content Header Bar ===== */
.content-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 24px;
    background: var(--white);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    border-bottom: 1px solid var(--border);
}
.content-header-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--text);
    padding-left: 14px;
    position: relative;
    line-height: 1.4;
}
.content-header-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 1px;
    bottom: 1px;
    width: 4px;
    background: var(--primary);
    border-radius: 2px;
}
.content-header-link {
    font-size: 13px;
    color: var(--text-light);
    text-decoration: none;
    transition: color .2s;
    white-space: nowrap;
}
.content-header-link:hover { color: var(--primary); }

/* ===== Standard List (gov-style) ===== */
.standard-list {
    background: var(--white);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    box-shadow: var(--shadow);
}
.standard-list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 15px 24px;
    border-bottom: 1px solid #f0f2f5;
    text-decoration: none;
    color: inherit;
    transition: background .15s;
}
.standard-list-item:last-child { border-bottom: none; }
.standard-list-item:hover { background: #f8fafc; }
.standard-list-item:first-child:hover {
    border-radius: 0;
}
.sl-title {
    flex: 1;
    min-width: 0;
    font-size: 15px;
    color: var(--text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.5;
    transition: color .15s;
}
.standard-list-item:hover .sl-title { color: var(--primary); }
.sl-title .sl-tag-top {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    font-size: 11px;
    padding: 1px 6px;
    border-radius: 3px;
    margin-right: 8px;
    font-weight: 600;
    vertical-align: middle;
    line-height: 1.6;
}
.sl-title .sl-tag-highlight { color: #dc2626; font-weight: 600; }
.sl-title .sl-tag-new {
    display: inline-block;
    background: #fee2e2;
    color: #dc2626;
    font-size: 11px;
    padding: 1px 5px;
    border-radius: 3px;
    margin-left: 6px;
    font-weight: 600;
    vertical-align: middle;
    line-height: 1.6;
    animation: np-new-pulse 2s ease-in-out infinite;
}
.sl-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    font-size: 13px;
    color: #94a3b8;
    white-space: nowrap;
}
.sl-source {
    color: var(--text-light);
}
.sl-empty {
    padding: 60px 24px;
    text-align: center;
    color: var(--text-light);
    font-size: 14px;
    background: var(--white);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    box-shadow: var(--shadow);
}
.sl-empty-icon {
    font-size: 40px;
    opacity: 0.3;
    margin-bottom: 12px;
}

/* ===== Detail Article (in content area) ===== */
.detail-wrapper {
    background: var(--white);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 32px 32px 24px;
}
.detail-breadcrumb {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
}
.detail-breadcrumb a {
    color: var(--text-light);
    text-decoration: none;
    transition: color .2s;
}
.detail-breadcrumb a:hover { color: var(--primary); }
.detail-breadcrumb .sep { margin: 0 6px; color: #cbd5e1; }

/* ===== Page Header Banner ===== */
.page-header-banner {
    background: var(--primary-gradient);
    color: var(--white);
    padding: 28px 0;
    position: relative;
    overflow: hidden;
}
.page-header-banner::before {
    content: '';
    position: absolute;
    top: -60%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    pointer-events: none;
}
.page-header-banner h2 {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 6px;
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
}
.banner-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}
.page-header-banner p {
    font-size: 14px;
    opacity: 0.85;
    margin: 0;
    position: relative;
}
.page-header-breadcrumb {
    font-size: 13px;
    opacity: 0.7;
    margin-top: 8px;
    position: relative;
}
.page-header-breadcrumb a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
}
.page-header-breadcrumb a:hover { color: #fff; }

/* ===== Cards ===== */
.card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: all .3s;
}

.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.card-body { padding: 20px; }
.card-header {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* ===== Ad Banner Carousel ===== */
.ad-banner {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background: var(--white);
}

.ad-banner-label {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 3;
    background: rgba(0,0,0,0.35);
    color: #fff;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 4px;
    letter-spacing: 1px;
    pointer-events: none;
}

.ad-banner-track {
    position: relative;
    width: 100%;
    aspect-ratio: 21 / 9;
    overflow: hidden;
}

.ad-banner-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .6s ease;
    pointer-events: none;
}

.ad-banner-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.ad-banner-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ad-banner-slide a {
    display: block;
    width: 100%;
    height: 100%;
}

.ad-banner-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 8px;
}

.ad-banner-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    padding: 0;
    transition: all .3s;
}

.ad-banner-dot.active {
    background: #fff;
    width: 20px;
    border-radius: 4px;
}

.ad-banner-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(0,0,0,0.25);
    color: #fff;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    opacity: 0;
    transition: opacity .3s, background .2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ad-banner:hover .ad-banner-arrow { opacity: 1; }
.ad-banner-arrow:hover { background: rgba(0,0,0,0.45); }
.ad-banner-arrow--left { left: 12px; }
.ad-banner-arrow--right { right: 12px; }

/* ===== Store List ===== */
.store-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    padding: 20px 0;
}

.store-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: all .3s;
    position: relative;
}

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

.store-card .badge-top {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--warning);
    color: #fff;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 1;
}

.store-card .badge-paid {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--success);
    color: #fff;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 1;
}

.store-image {
    height: 180px;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.store-image img { width: 100%; height: 100%; object-fit: cover; }

.store-image .placeholder {
    color: var(--primary);
    font-size: 48px;
    opacity: 0.3;
}

.store-info { padding: 16px; }
.store-info h3 { font-size: 16px; margin-bottom: 8px; color: var(--text); }
.store-info .meta { color: var(--text-light); font-size: 13px; margin-bottom: 4px; display: flex; align-items: center; gap: 6px; }
.store-info .meta .icon { width: 16px; text-align: center; }

/* ===== Result Bar ===== */
.result-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    padding: 14px 4px;
    margin-bottom: 8px;
}

.result-count {
    font-size: 14px;
    color: var(--text-light);
}

.result-count strong {
    color: var(--primary);
    font-size: 15px;
    font-weight: 700;
}

.result-filters {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.result-filter-tag {
    display: inline-block;
    padding: 3px 12px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    border: 1px solid rgba(0,56,118,0.18);
}

/* ===== Store List (horizontal cards) ===== */
.store-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0 0 12px;
    margin-top: 20px;
}

.store-item {
    display: flex;
    align-items: stretch;
    gap: 16px;
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid transparent;
    padding: 18px 20px;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    transition: all .2s ease;
}

.store-item:hover {
    border-color: var(--primary);
    background: var(--white);
    color: inherit;
    box-shadow: 0 4px 12px rgba(0,56,118,0.1);
    transform: translateY(-1px);
}

.store-item-top {
    border-color: var(--primary);
    border-left-width: 3px;
    background: linear-gradient(90deg, #edf2f9 0%, var(--white) 40%);
}

.store-item-top:hover {
    background: linear-gradient(90deg, #e0ecf7 0%, var(--white) 40%);
    box-shadow: 0 4px 12px rgba(0,56,118,0.12);
}

.store-item-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
}

.store-item-header {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.store-item-header h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    margin: 0;
}

.store-item-badges {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}

.store-item-badges .badge-top {
    background: var(--warning);
    color: #fff;
    padding: 1px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
}

.store-item-badges .badge-paid {
    background: var(--success);
    color: #fff;
    padding: 1px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
}

.store-item-meta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.store-item-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: var(--text-light);
}

.store-item-tag .icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    flex-shrink: 0;
}

.store-item-tag .icon svg {
    width: 14px;
    height: 14px;
    fill: var(--primary);
    opacity: 0.7;
}

.store-item-address {
    font-size: 12px;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.store-item-address .icon {
    flex-shrink: 0;
    font-size: 13px;
}

.store-item-arrow {
    display: flex;
    align-items: center;
    font-size: 22px;
    color: #cbd5e1;
    flex-shrink: 0;
    transition: color .2s;
}

.store-item:hover .store-item-arrow { color: var(--primary); }

.store-item-contact {
    display: flex;
    align-items: center;
    gap: 0;
    flex-wrap: nowrap;
    overflow: hidden;
    font-size: 13px;
    color: var(--text-light);
}

.store-item-contact .store-item-tag { white-space: nowrap; flex-shrink: 0; }
.store-item-contact .store-item-addr { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }

.store-item-sep {
    width: 1px;
    height: 12px;
    background: var(--border);
    margin: 0 10px;
    flex-shrink: 0;
}

/* ===== Forms ===== */
.form-group { margin-bottom: 16px; }
.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: var(--text);
    font-size: 14px;
}

.form-group label .required { color: var(--danger); margin-left: 2px; }

.form-control {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 14px;
    transition: border-color .2s, box-shadow .2s;
    background: var(--white);
    color: var(--text);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0,56,118,0.12);
}

select.form-control {
    appearance: auto;
    -webkit-appearance: menulist;
    -moz-appearance: menulist;
    cursor: pointer;
    position: relative;
    z-index: 1;
}
textarea.form-control { resize: vertical; min-height: 100px; }

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

/* ===== Tables ===== */
.table-wrap { overflow-x: auto; }

.table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
}

.table th, .table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border);
    white-space: nowrap;
}

.table th {
    background: var(--bg);
    font-weight: 600;
    color: var(--text-light);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.table tr:hover td { background: var(--primary-light); }

/* ===== Badges ===== */
.badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
}

.badge-success { background: #d1fae5; color: #065f46; }
.badge-warning { background: #fef3c7; color: #92400e; }
.badge-danger { background: #fee2e2; color: #991b1b; }
.badge-info { background: #dce6f2; color: #1a4f85; }
.badge-secondary { background: #f1f5f9; color: #475569; }

/* ===== Pagination ===== */
.pagination-wrap { margin: 30px 0; text-align: center; }

.pagination {
    display: inline-flex;
    gap: 4px;
    list-style: none;
}

.pagination li a, .pagination li span {
    display: block;
    padding: 8px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    font-size: 14px;
    transition: all .2s;
}

.pagination li a:hover { background: var(--primary-light); border-color: var(--primary); color: var(--primary); }
.pagination li.active a { background: var(--primary); color: #fff; border-color: var(--primary); }
.pagination li.disabled span { color: var(--text-light); }

/* ===== Admin Layout ===== */
.admin-layout { display: flex; min-height: 100vh; }

.admin-sidebar {
    width: 240px;
    background: var(--secondary);
    color: #fff;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
}

.sidebar-header {
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.sidebar-header h2 { font-size: 16px; font-weight: 600; }

.sidebar-nav { flex: 1; padding: 12px 0; overflow-y: auto; }

.sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    color: rgba(255,255,255,0.7);
    transition: all .2s;
    font-size: 14px;
}

.sidebar-nav a:hover, .sidebar-nav a.active {
    background: rgba(255,255,255,0.1);
    color: #fff;
}

.sidebar-nav a .icon { width: 20px; display: inline-flex; align-items: center; justify-content: center; }
.sidebar-nav a .icon svg { width: 18px; height: 18px; }

.admin-main { flex: 1; display: flex; flex-direction: column; overflow: hidden; }

.admin-topbar {
    height: 60px;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    box-shadow: var(--shadow);
}

.admin-content { flex: 1; padding: 24px; overflow-y: auto; }

.admin-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 24px;
    margin-bottom: 24px;
}

/* ===== Stats Cards ===== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 24px;
}

.stat-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 16px;
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.stat-icon.blue { background: #dce6f2; color: #003876; }
.stat-icon.green { background: #e0ecf7; color: #1a5294; }
.stat-icon.orange { background: #d5e3f2; color: #004a99; }
.stat-icon.purple { background: #e8f0f9; color: #2a6cb0; }

.stat-info h4 { font-size: 24px; font-weight: 700; color: var(--text); }
.stat-info p { font-size: 13px; color: var(--text-light); }

/* ===== Footer ===== */
.site-footer {
    background: var(--primary-dark);
    color: rgba(255,255,255,0.7);
    padding: 24px 0;
    text-align: center;
    margin-top: auto;
}

.site-footer a { color: rgba(255,255,255,0.9); }

.footer-links { font-size: 14px; }
.footer-item + .footer-item::before {
    content: '|';
    margin: 0 8px;
    color: rgba(255,255,255,0.4);
}

/* ===== Login Page ===== */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-gradient);
}

.login-box {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    width: 100%;
    max-width: 400px;
    box-shadow: var(--shadow-lg);
}

.login-box h2 { text-align: center; margin-bottom: 30px; color: var(--primary); }

/* ===== Modal ===== */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all .3s;
}

.modal-overlay.active { opacity: 1; visibility: visible; }

.modal {
    background: var(--white);
    border-radius: var(--radius-lg);
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
}

.modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-header h3 { font-size: 18px; }

.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-light);
}

.modal-body { padding: 24px; }
.modal-footer { padding: 16px 24px; border-top: 1px solid var(--border); display: flex; gap: 8px; justify-content: flex-end; }

.modal .tox-tinymce { border-radius: var(--radius); }
.tox-tinymce-aux { z-index: 10001 !important; }
.tox .tox-tbtn__select-label { font-size: 12px; }

/* ===== Alerts ===== */
.alert {
    padding: 12px 16px;
    border-radius: var(--radius);
    margin-bottom: 16px;
    font-size: 14px;
}

.alert-success { background: #d1fae5; color: #065f46; border: 1px solid #a7f3d0; }
.alert-danger { background: #fee2e2; color: #991b1b; border: 1px solid #fecaca; }
.alert-warning { background: #fef3c7; color: #92400e; border: 1px solid #fde68a; }
.alert-info { background: #dce6f2; color: #1a4f85; border: 1px solid #b8cce0; }

/* ===== Image Upload ===== */
.image-upload-area {
    border: 2px dashed var(--border);
    border-radius: var(--radius);
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all .2s;
}

.image-upload-area:hover { border-color: var(--primary); background: var(--primary-light); }

.image-preview { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
.image-preview .item {
    width: 80px; height: 80px;
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
}
.image-preview .item img { width: 100%; height: 100%; object-fit: cover; }
.image-preview .item .remove {
    position: absolute; top: 2px; right: 2px;
    background: rgba(0,0,0,0.6); color: #fff;
    width: 20px; height: 20px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 12px; cursor: pointer;
}

/* ===== Filter Bar ===== */
.filter-bar {
    margin-bottom: 0;
    padding: 22px 28px;
    background: var(--white);
    border: none;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.filter-bar .form-group { margin-bottom: 0; min-width: 150px; flex: 1; }

.filter-form {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    align-items: flex-end;
    width: 100%;
}

.filter-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-shrink: 0;
}

.filter-actions .btn {
    white-space: nowrap;
}

/* ===== Section ===== */
.section { padding: 16px 0; }
.section-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text);
}
.section-desc { color: var(--text-light); margin-bottom: 20px; font-size: 14px; }

/* ===== Empty State ===== */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-light);
}
.empty-state .icon { margin-bottom: 16px; opacity: 0.5; line-height: 0; }
.empty-state .icon svg { width: 48px; height: 48px; }
.empty-state p { font-size: 15px; }

/* ===== Store Detail ===== */
.store-detail {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.store-detail-back {
    display: inline-block;
    margin-bottom: 16px;
    color: var(--text-light);
    font-size: 14px;
    text-decoration: none;
    transition: color .2s;
}

.store-detail-back:hover { color: var(--primary); }

.store-detail-header {
    position: relative;
    padding: 36px 32px 28px;
    overflow: hidden;
}

.store-detail-header-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #003876 0%, #1a5294 100%);
}

.store-detail-header-bg::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -10%;
    width: 350px;
    height: 350px;
    background: rgba(255,255,255,0.06);
    border-radius: 50%;
    pointer-events: none;
}

.store-detail-header-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 20px;
}

.store-detail-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

.store-detail-header-text {
    flex: 1;
    min-width: 0;
}

.store-detail-name-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.store-detail-header-badges {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}

.store-header-badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.6;
}

.store-header-badge--top {
    background: rgba(251,191,36,0.3);
    color: #fef3c7;
}

.store-header-badge--verified {
    background: rgba(16,185,129,0.25);
    color: #d1fae5;
}

.store-detail-name {
    font-family: "Microsoft YaHei Light", "Microsoft YaHei", sans-serif;
    font-size: 24px;
    font-weight: 400;
    margin: 0;
    color: #fff;
}

.store-detail-location {
    margin-top: 8px;
    font-size: 14px;
    color: rgba(255,255,255,0.85);
}

.store-detail-body {
    padding: 28px 32px;
}

.store-detail-call {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    background: linear-gradient(135deg, #003876 0%, #1a5294 100%);
    border-radius: var(--radius-lg);
    color: #fff;
    text-decoration: none;
    margin-bottom: 28px;
    transition: transform .2s, box-shadow .2s;
    box-shadow: 0 4px 12px rgba(0,56,118,0.3);
}

.store-detail-call:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0,56,118,0.35);
    color: #fff;
}

.store-detail-call-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.store-detail-call-icon svg {
    width: 20px;
    height: 20px;
    fill: #fff;
}

.store-detail-call-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.store-detail-call-text small {
    font-size: 12px;
    opacity: 0.85;
}

.store-detail-call-text strong {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.store-detail-call-arrow {
    font-size: 24px;
    opacity: 0.6;
    flex-shrink: 0;
}

.store-detail-info {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 28px;
}

.store-info-row {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
}

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

.store-info-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.store-info-icon svg {
    width: 18px;
    height: 18px;
    fill: var(--primary);
}

.store-info-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.store-info-label {
    font-size: 12px;
    color: var(--text-light);
}

.store-info-value {
    font-size: 15px;
    color: var(--text);
    word-break: break-all;
}

.store-detail-section {
    margin-bottom: 28px;
}

.store-detail-section-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
    color: var(--text);
}

.store-detail-desc {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 14px;
}

/* ===== Top Stores Grid ===== */
.top-stores-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 18px;
}

.top-stores-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.top-store-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    padding: 18px 20px;
    text-decoration: none;
    color: inherit;
    transition: box-shadow .2s, border-color .2s;
    position: relative;
    overflow: hidden;
}

.top-store-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #003876, #1a5294);
    opacity: 0;
    transition: opacity .2s;
}

.top-store-card:hover {
    box-shadow: 0 4px 16px rgba(0,56,118,0.12);
    border-color: #a8c4e0;
}

.top-store-card:hover::before { opacity: 1; }

.top-store-card-top {
    flex: 1;
    margin-bottom: 14px;
}

.top-store-name-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 8px;
}

.top-store-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    margin: 0;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
}

.top-store-badges {
    display: flex;
    gap: 4px;
    flex-shrink: 0;
}

.top-badge-top {
    display: inline-block;
    padding: 1px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
    background: linear-gradient(135deg, #003876, #1a5294);
    color: #fff;
    line-height: 1.7;
}

.top-badge-verified {
    display: inline-block;
    padding: 1px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 500;
    background: #dce6f2;
    color: #1e5a96;
    line-height: 1.7;
}

.top-store-location {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: var(--text-light);
}

.top-store-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 18px;
}

.top-store-icon svg {
    width: 14px;
    height: 14px;
    fill: var(--primary);
    opacity: 0.7;
}

.top-store-card-bottom {
    border-top: 1px solid var(--border);
    padding-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.top-store-info {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-light);
}

.top-store-phone {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
}

.top-store-phone:hover { color: var(--primary); }

.top-store-addr {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ===== Member Center ===== */
.member-hero {
    background: var(--primary-gradient);
    color: var(--white);
    padding: 32px 0 28px;
    position: relative;
    overflow: hidden;
}

.member-hero::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -15%;
    width: 400px;
    height: 400px;
    background: rgba(255,255,255,0.06);
    border-radius: 50%;
    pointer-events: none;
}

.member-hero-content {
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
    z-index: 1;
}

.member-hero-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    flex-shrink: 0;
}

.member-hero-info { flex: 1; min-width: 0; }

.member-hero-name {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.member-hero-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.member-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.6;
}

.member-badge--paid { background: rgba(16,185,129,0.25); color: #d1fae5; }
.member-badge--free { background: rgba(255,255,255,0.15); color: rgba(255,255,255,0.9); }
.member-badge--top { background: rgba(251,191,36,0.3); color: #fef3c7; }
.member-badge--inactive { background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.6); }
.member-badge--status { background: rgba(255,255,255,0.15); color: rgba(255,255,255,0.9); }

.member-hero-edit {
    flex-shrink: 0;
    padding: 8px 16px;
    border: 1px solid rgba(255,255,255,0.4);
    border-radius: var(--radius);
    color: var(--white);
    font-size: 13px;
    text-decoration: none;
    transition: background .2s;
    white-space: nowrap;
}

.member-hero-edit:hover { background: rgba(255,255,255,0.15); }

.member-pending-notice {
    margin-top: 20px;
    padding: 12px 16px;
    background: #fffbeb;
    border: 1px solid #fbbf24;
    border-radius: var(--radius);
    font-size: 14px;
    color: #92400e;
}

.member-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin: -20px 0 24px;
    padding: 20px 24px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    position: relative;
    z-index: 2;
}

.member-stat {
    flex: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.member-stat-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
}

.member-stat-label {
    font-size: 12px;
    color: var(--text-light);
}

.member-stat-divider {
    width: 1px;
    height: 36px;
    background: var(--border);
    margin: 0 8px;
}

.member-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 24px;
    margin-bottom: 20px;
}

.member-card-title {
    font-size: 17px;
    font-weight: 600;
    color: var(--text);
    margin: 0 0 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
}

.member-card-desc {
    font-size: 14px;
    color: var(--text-light);
    margin: -8px 0 16px;
    line-height: 1.5;
}

.member-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.member-info-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.member-info-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #edf2f9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.member-info-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.member-info-label {
    font-size: 12px;
    color: var(--text-light);
}

.member-info-value {
    font-size: 14px;
    color: var(--text);
    font-weight: 500;
    word-break: break-all;
}

.member-top-active {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px;
    background: #f0fdf4;
    border-radius: var(--radius);
    border: 1px solid #bbf7d0;
}

.member-top-active-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--success);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.member-top-active-title {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #166534;
}

.member-top-active-detail {
    margin: 6px 0 0;
    font-size: 14px;
    color: var(--text-light);
}

.member-top-active-hint {
    margin: 4px 0 0;
    font-size: 13px;
    color: var(--text-light);
}

.member-top-pricing {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: #edf2f9;
    border: 1px solid #b8cce0;
    border-radius: var(--radius);
    margin-bottom: 18px;
}

.member-top-pricing--full {
    background: #fef2f2;
    border-color: #fecaca;
}

.member-top-price-amount {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
}

.member-top-price-unit {
    font-size: 14px;
    color: var(--text-light);
    margin-left: 2px;
}

.member-top-slots { text-align: right; }

.member-top-slots-label {
    display: block;
    font-size: 13px;
    color: var(--text-light);
}

.member-top-slots-value {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #16a34a;
    margin-top: 2px;
}

.member-top-slots--full .member-top-slots-value { color: #dc2626; }

.member-top-warning {
    color: #dc2626;
    font-size: 14px;
    margin: 0 0 12px;
}

.member-top-form { margin-top: 4px; }

.member-top-input-row {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.member-top-input-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    flex-shrink: 0;
}

.member-top-input-group {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 180px;
}

.member-top-input-group .form-control {
    width: 100px;
    flex-shrink: 0;
}

.member-top-total {
    font-size: 14px;
    color: var(--text-light);
    white-space: nowrap;
}

.member-top-total strong {
    color: var(--primary);
    font-size: 16px;
}

.member-applications {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.member-application-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    gap: 12px;
}

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

.member-application-left {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.member-application-type {
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
}

.member-application-time {
    font-size: 12px;
    color: var(--text-light);
}

.member-application-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.member-application-note {
    font-size: 12px;
    color: var(--text-light);
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .np-tabs-mobile {
        display: flex;
        gap: 0;
        margin-bottom: 12px;
        background: #f0f5fb;
        border-radius: 8px;
        padding: 3px;
    }
    .np-tab-btn {
        flex: 1;
        border: none;
        background: transparent;
        padding: 9px 0;
        font-size: 14px;
        font-weight: 600;
        color: var(--text-light);
        border-radius: 6px;
        cursor: pointer;
        transition: all .2s;
    }
    .np-tab-btn.active {
        background: var(--white);
        color: var(--primary);
        box-shadow: 0 1px 4px rgba(0,56,118,0.1);
    }
    .notice-policy-grid { grid-template-columns: 1fr; gap: 12px; }
    .np-card[data-panel="policies"] { display: none; }
    .np-item-featured { padding: 14px 16px; gap: 14px; }
    .np-date-large { width: 50px; height: 50px; }
    .np-date-large .np-date-day { font-size: 18px; }
    .np-date-large .np-date-ym { font-size: 10px; }
    .np-featured-title { font-size: 14px; }
    .np-featured-excerpt { font-size: 12px; }
    .np-card-header { padding: 14px 16px; }
    .np-card-title { font-size: 15px; }
    .np-item { padding: 12px 16px; }

    .content-layout {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 16px 0;
    }
    .content-sidebar-left {
        position: static;
        display: none;
    }
    .page-header-banner { padding: 20px 0; }
    .page-header-banner h2 { font-size: 18px; }

    .detail-article { padding: 20px 18px; }
    .detail-article-title { font-size: 20px; }
    .detail-article-meta { gap: 12px; font-size: 12px; }
    .detail-article-body { font-size: 14px; }
    .detail-nav { grid-template-columns: 1fr; gap: 10px; }
    .detail-nav-link { padding: 12px 16px; }

    .list-item { padding: 14px 16px; gap: 12px; }
    .list-item-date { width: 48px; height: 48px; border-radius: 8px; }
    .list-item-date-day { font-size: 18px; }
    .list-item-title { font-size: 15px; }

    .header-inner { height: auto; min-height: 60px; position: relative; }

    .site-logo {
        flex: 1;
        font-size: 22px;
        justify-content: center;
        text-align: center;
    }
    .site-logo img { height: 32px; }

    .header-actions {
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        flex-shrink: 0;
        gap: 6px;
    }
    .header-actions .btn {
        padding: 4px 10px;
        font-size: 12px;
    }

    .mobile-toggle {
        order: -1;
        margin-left: auto;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 12px;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-md);
    }

    .main-nav.show { display: flex; }

    .mobile-toggle { display: block; }

    .hero-section { padding: 20px 0; }
    .hero-title { font-size: 22px; }
    .hero-subtitle { font-size: 14px; }

    .ad-banner-track { aspect-ratio: 16 / 9; }
    .ad-banner-arrow { width: 28px; height: 28px; font-size: 18px; }
    .ad-banner-label { top: 6px; right: 6px; font-size: 10px; padding: 1px 6px; }

    .search-row { flex-direction: column; }
    .search-row .form-group { min-width: 100%; margin-bottom: 12px; }
    .search-row select.form-control {
        min-height: 44px;
        font-size: 16px;
        padding: 12px 14px;
    }

    .store-grid { grid-template-columns: 1fr; }

    .store-list { gap: 14px; }

    .store-item {
        padding: 14px 16px;
        gap: 12px;
    }

    .store-item-body {
        gap: 8px;
    }

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

    .store-item-meta { gap: 12px; }

    .store-item-tag { font-size: 13px; }

    .store-item-contact { flex-wrap: wrap; gap: 6px; }
    .store-item-contact .store-item-addr { white-space: normal; -webkit-line-clamp: 2; display: -webkit-box; -webkit-box-orient: vertical; }

    .store-item-action { display: none; }

    .store-detail-header { padding: 24px 20px 20px; }
    .store-detail-header-content { gap: 14px; }
    .store-detail-avatar { width: 48px; height: 48px; font-size: 20px; }
    .store-detail-name { font-size: 18px; }
    .store-detail-location { font-size: 13px; margin-top: 6px; }
    .store-detail-body { padding: 20px; }
    .store-detail-call { padding: 14px 16px; gap: 12px; margin-bottom: 22px; }
    .store-detail-call-text strong { font-size: 18px; }
    .store-detail-info { margin-bottom: 22px; }
    .store-info-row { padding: 14px 16px; gap: 12px; }
    .store-info-icon { width: 32px; height: 32px; border-radius: 8px; }
    .store-info-icon svg { width: 16px; height: 16px; }
    .store-info-value { font-size: 14px; }
    .store-detail-section { margin-bottom: 22px; }

    .form-row { grid-template-columns: 1fr; }

    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
    }
    .stat-card {
        flex-direction: column;
        padding: 12px 8px;
        gap: 4px;
        text-align: center;
    }
    .stat-icon { display: none; }
    .stat-info h4 { font-size: 18px; }
    .stat-info p { font-size: 11px; }

    .admin-sidebar {
        position: fixed;
        left: -240px;
        top: 0;
        bottom: 0;
        z-index: 9998;
        transition: left .3s;
    }

    .admin-sidebar.show { left: 0; }

    .admin-content { padding: 16px; }

    .filter-bar { padding: 16px; }
    .filter-form { flex-direction: column; }
    .filter-bar .form-group { min-width: 100%; }
    .filter-bar select.form-control {
        min-height: 44px;
        font-size: 16px;
        padding: 12px 14px;
    }

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

    .top-stores-grid { grid-template-columns: 1fr; gap: 12px; }
    .top-store-card { padding: 14px 16px; }
    .top-store-name { font-size: 15px; }

    .member-hero { padding: 24px 0 20px; }
    .member-hero-content { flex-wrap: wrap; gap: 14px; }
    .member-hero-avatar { width: 48px; height: 48px; font-size: 20px; }
    .member-hero-name { font-size: 18px; }
    .member-hero-edit { font-size: 12px; padding: 6px 12px; }
    .member-stats {
        margin: -16px 0 20px;
        padding: 16px;
        flex-wrap: wrap;
        gap: 12px;
    }
    .member-stat-divider { display: none; }
    .member-stat { min-width: calc(33% - 12px); }
    .member-stat-value { font-size: 15px; }
    .member-card { padding: 18px; }
    .member-info-grid { grid-template-columns: 1fr; gap: 14px; }
    .member-top-pricing { flex-direction: column; gap: 12px; align-items: flex-start; }
    .member-top-slots { text-align: left; }
    .member-top-input-row { flex-direction: column; align-items: stretch; gap: 10px; }
    .member-top-input-group { min-width: 0; }
    .member-top-input-group .form-control { width: 80px; }
    .member-application-row { flex-direction: column; align-items: flex-start; gap: 8px; }

    .footer-item { display: block; }
    .footer-item + .footer-item::before { display: none; }
    .footer-item-beian { display: none; }

    .hero-title { display: none; }
}

@media (max-width: 480px) {
    .container { padding: 0 12px; }
}

/* ===== Utility ===== */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-muted { color: var(--text-light); }
.text-primary { color: var(--primary); }
.text-success { color: var(--success); }
.text-danger { color: var(--danger); }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.d-flex { display: flex; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }

/* ===== Search Ad Banner ===== */
.search-ad-banner {
    position: relative;
    margin-bottom: 20px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.search-ad-link {
    display: block;
    line-height: 0;
}
.search-ad-link img {
    width: 100%;
    height: auto;
    display: block;
}
.search-ad-label {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(0,0,0,0.5);
    color: #fff;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 3px;
    line-height: 1.5;
}
