/* ============================================================
   盈涛集 · 前台视觉系统（明亮版）
   暖白底 + 靛紫 / 青蓝点缀，轻玻璃拟态与东方留白。
   ============================================================ */

:root {
    --bg: #f6f7fb;
    --bg-soft: #eef1f8;
    --surface: rgba(255, 255, 255, 0.82);
    --surface-strong: #ffffff;
    --surface-light: rgba(52, 63, 105, 0.045);
    --line: rgba(31, 41, 75, 0.10);
    --line-strong: rgba(31, 41, 75, 0.18);
    --text: #1b2033;
    --text-soft: #454d68;
    --muted: #6b738c;
    --heading: #161b2c;
    --accent: #6a4cff;
    --accent-2: #0a7f9e;
    --accent-3: #d94f9b;
    --gold: #9a6d1f;
    --success: #157a52;
    --warning: #9a6410;
    --danger: #c62f49;
    --radius: 20px;
    --radius-sm: 12px;
    --shadow: 0 24px 60px rgba(28, 36, 70, 0.12);
    --card-bg: #ffffff;
    --card-shadow: 0 6px 22px rgba(28, 36, 70, .045);
    --card-shadow-hover: 0 22px 52px rgba(28, 36, 70, .12);
    --container: 1220px;
    --font-size-base: 16px;
    --space-scale: 1;
    --font-body: "Inter", "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", system-ui, sans-serif;
    --font-display: "Noto Serif SC", "Songti SC", "STSong", "SimSun", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: var(--font-size-base, 16px);
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(900px 620px at 84% -12%, rgba(123, 92, 255, 0.16), transparent 62%),
        radial-gradient(680px 540px at 6% 4%, rgba(56, 190, 220, 0.12), transparent 62%),
        radial-gradient(760px 680px at 52% 112%, rgba(255, 122, 200, 0.07), transparent 66%),
        linear-gradient(180deg, #fbfbff 0%, #f6f7fb 46%, #f3f5fa 100%);
}
body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    opacity: 0.55;
    background-image:
        linear-gradient(rgba(39, 50, 92, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(39, 50, 92, 0.035) 1px, transparent 1px);
    background-size: 86px 86px;
    mask-image: radial-gradient(circle at 50% 18%, black, transparent 78%);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: rgba(106, 76, 255, 0.20); color: #1b2033; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: #c8cfe0; border-radius: 20px; }
::-webkit-scrollbar-track { background: #eef0f6; }

.container { width: min(var(--container), calc(100% - 48px)); margin: 0 auto; }
.container-narrow { width: min(880px, calc(100% - 48px)); margin: 0 auto; }

/* ---------- 顶部导航 ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 90;
    backdrop-filter: blur(20px) saturate(150%);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
    background: rgba(255, 255, 255, 0.78);
    border-bottom: 1px solid transparent;
    transition: border-color .35s ease, background .35s ease, box-shadow .35s ease;
}
.site-header.is-scrolled {
    background: rgba(255, 255, 255, 0.94);
    border-bottom-color: var(--line);
    box-shadow: 0 10px 30px rgba(28, 36, 70, 0.06);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 82px; }
.brand { display: flex; align-items: center; gap: 13px; flex: none; }
.brand-mark {
    width: 42px; height: 42px; border-radius: 13px; flex: none;
    display: grid; place-items: center;
    background: linear-gradient(145deg, var(--accent), var(--accent-2) 55%, var(--accent));
    box-shadow: 0 10px 26px rgba(105, 82, 255, .30), inset 0 1px 0 rgba(255,255,255,.35);
    font-family: var(--font-display); font-size: 22px; font-weight: 700; color: #fff;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-name { font-family: var(--font-display); font-size: 21px; letter-spacing: .16em; font-weight: 700; color: var(--heading); }
.brand-sub { font-size: 10px; letter-spacing: .24em; color: var(--muted); text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: 2px; }
.site-nav a {
    position: relative; padding: 9px 11px; border-radius: 999px;
    font-size: 14px; color: var(--text-soft); letter-spacing: .02em; white-space: nowrap;
    transition: color .25s ease, background .25s ease;
}
.site-nav a:hover { color: var(--accent); background: rgba(106, 76, 255, .07); }
.site-nav a.active { color: var(--accent); font-weight: 600; }
.site-nav a.active::after {
    content: ""; position: absolute; left: 11px; right: 11px; bottom: 2px; height: 2px;
    background: linear-gradient(90deg, var(--accent), #21b6d6); border-radius: 2px;
}
.header-actions { display: flex; align-items: center; gap: 9px; flex: none; }
.nav-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; }
.nav-toggle span { display: block; width: 18px; height: 1.5px; background: var(--text); margin: 4px auto; transition: .3s; }

/* ---------- 按钮 ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    padding: 12px 22px; border-radius: 999px; border: 1px solid transparent;
    font-size: 14px; font-weight: 600; letter-spacing: .03em; cursor: pointer;
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease;
    white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
    background: linear-gradient(120deg, var(--accent), var(--accent-2));
    color: #fff;
    box-shadow: 0 12px 30px rgba(106, 76, 255, .28);
}
.btn-primary:hover { box-shadow: 0 16px 38px rgba(106, 76, 255, .38); }
.btn-ghost { border-color: var(--line-strong); background: #fff; color: var(--text); }
.btn-ghost:hover { border-color: rgba(106, 76, 255, .42); background: #fbfaff; color: var(--accent); }
.btn-gold { background: linear-gradient(120deg, #c9a35f, #f0d49c); color: #201708; box-shadow: 0 12px 30px rgba(217,185,121,.22); }
.btn-sm { padding: 8px 15px; font-size: 13px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }

/* ---------- 通用版式 ---------- */
.section { padding: calc(92px * var(--space-scale, 1)) 0; position: relative; }
.section-sm { padding: calc(62px * var(--space-scale, 1)) 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 40px; }
.section-eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: var(--accent-2);
    margin-bottom: 14px;
}
.section-eyebrow::before { content: ""; width: 26px; height: 1px; background: linear-gradient(90deg, var(--accent-2), transparent); }
.section-title { font-family: var(--font-display); font-size: clamp(30px, 4vw, 48px); line-height: 1.25; margin: 0; font-weight: 600; letter-spacing: .02em; color: var(--heading); }
.section-desc { color: var(--muted); max-width: 580px; margin: 16px 0 0; font-size: 15px; }
.section-link { color: var(--text-soft); font-size: 14px; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.section-link:hover { color: var(--accent); }
.text-gold { color: var(--gold); }
.text-accent { color: var(--accent-2); }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.center { text-align: center; }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 36px; }
.mb-0 { margin-bottom: 0; } .mb-1 { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; }
.flex { display: flex; } .flex-between { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.gap-1 { gap: 8px; } .gap-2 { gap: 16px; } .gap-3 { gap: 24px; }
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.hidden { display: none !important; }

/* ---------- 英雄区 ---------- */
.hero { position: relative; padding: 86px 0 76px; overflow: hidden; }
.hero::before {
    content: ""; position: absolute; width: 620px; height: 620px; right: -160px; top: -140px;
    background: radial-gradient(circle, rgba(123,92,255,.20), transparent 66%); filter: blur(20px); pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 60px; align-items: center; }
.hero-kicker {
    display: inline-flex; align-items: center; gap: 12px; padding: 7px 16px 7px 8px;
    border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.78);
    font-size: 12px; letter-spacing: .1em; color: var(--text-soft);
    box-shadow: 0 8px 24px rgba(28,36,70,.05);
}
.hero-kicker b { display: inline-block; padding: 4px 11px; border-radius: 999px; background: rgba(106,76,255,.12); color: var(--accent); font-weight: 600; letter-spacing: .06em; }
.hero h1 {
    font-family: var(--font-display); font-weight: 600; letter-spacing: .015em; color: #14192a;
    font-size: clamp(44px, 6.2vw, 82px); line-height: 1.12; margin: 26px 0 22px;
}
.hero h1 .gradient {
    background: linear-gradient(100deg, var(--heading) 8%, var(--accent) 52%, var(--accent-2) 92%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-lead { color: var(--text-soft); font-size: 17px; max-width: 610px; margin: 0 0 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-note { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 18px 22px; color: var(--muted); font-size: 13px; }
.hero-note span { display: inline-flex; align-items: center; gap: 8px; }
.hero-note i { width: 5px; height: 5px; border-radius: 50%; background: #20b6d5; box-shadow: 0 0 10px rgba(32,182,213,.55); }
.hero-visual { position: relative; }
.hero-poster {
    position: relative; border-radius: 26px; overflow: hidden; border: 1px solid rgba(31,41,75,.14);
    background: #e8ebf4;
    box-shadow: 0 34px 80px rgba(28,36,70,.18), 0 0 0 1px rgba(123,92,255,.08);
    transform: perspective(1200px) rotateY(-5deg) rotateX(2deg);
    transition: transform .6s ease;
}
.hero-poster:hover { transform: perspective(1200px) rotateY(-2deg) rotateX(1deg); }
.hero-poster img { width: 100%; height: 520px; object-fit: cover; }
.hero-poster::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 52%, rgba(17,22,45,.55)); }
.hero-poster-tag {
    position: absolute; left: 22px; bottom: 22px; z-index: 2;
    padding: 13px 18px; border-radius: 14px; border: 1px solid rgba(255,255,255,.72);
    background: rgba(255,255,255,.92); backdrop-filter: blur(16px); font-size: 13px; color: var(--text);
    box-shadow: 0 14px 34px rgba(17,22,45,.18); max-width: calc(100% - 44px);
}
.hero-poster-tag strong { display: block; font-size: 16px; margin-bottom: 3px; font-family: var(--font-display); color: #161b2c; }
.hero-float {
    position: absolute; left: -32px; top: 42px; z-index: 3;
    padding: 15px 19px; border-radius: 16px; border: 1px solid var(--line-strong);
    background: rgba(255,255,255,.94); backdrop-filter: blur(18px); box-shadow: var(--shadow);
    font-size: 12px; color: var(--muted); letter-spacing: .06em;
}
.hero-float strong { display: block; font-size: 26px; color: #161b2c; font-family: var(--font-display); letter-spacing: .02em; margin-bottom: 2px; }

/* ---------- 数据条 ---------- */
.stats-band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.66); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat-item { padding: 30px 26px; border-right: 1px solid var(--line); }
.stat-item:last-child { border-right: 0; }
.stat-value { font-family: var(--font-display); font-size: 38px; line-height: 1; color: var(--heading); }
.stat-value small { font-size: 14px; color: var(--accent-2); margin-left: 4px; font-family: var(--font-body); }
.stat-label { font-size: 12px; letter-spacing: .14em; color: var(--muted); margin-top: 10px; text-transform: uppercase; }

/* ---------- 卡片 ---------- */
.card {
    position: relative; border-radius: var(--radius); border: 1px solid var(--line);
    background: var(--card-bg, #ffffff);
    box-shadow: var(--card-shadow, 0 6px 22px rgba(28, 36, 70, .045));
    overflow: hidden;
    transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.card:hover { transform: translateY(-5px); border-color: rgba(106,76,255,.30); box-shadow: var(--card-shadow-hover, 0 22px 52px rgba(28,36,70,.12)); }
.card-body { padding: 28px; }
.card-media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #e9ecf5; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.card:hover .card-media img { transform: scale(1.045); }
.card-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 62%, rgba(17,22,45,.28)); }
.card-tag {
    position: absolute; left: 16px; top: 16px; z-index: 2; padding: 5px 12px; border-radius: 999px;
    background: rgba(255,255,255,.92); border: 1px solid rgba(255,255,255,.72); backdrop-filter: blur(12px);
    font-size: 11px; letter-spacing: .1em; color: #3a3f58;
}
.card-title { font-family: var(--font-display); font-size: 21px; line-height: 1.45; margin: 0 0 12px; font-weight: 600; color: var(--heading); }
.card-title a:hover { color: var(--accent); }
.card-desc { color: var(--muted); font-size: 14px; margin: 0; }
.card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; color: var(--muted); font-size: 12px; letter-spacing: .04em; margin-top: 18px; }
.card-meta span { display: inline-flex; align-items: center; gap: 6px; }
.card-link { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--accent-2); margin-top: 18px; }
.card-link:hover { gap: 12px; color: var(--accent); }

.event-card { display: grid; grid-template-columns: 1.1fr 1fr; overflow: hidden; }
.event-card-media { position: relative; min-height: 320px; background: #e9ecf5; }
.event-card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.event-card-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 55%, #ffffff 100%); }
.event-card-body { padding: 42px; display: flex; flex-direction: column; justify-content: center; }
.event-date { display: inline-flex; align-items: center; gap: 12px; color: var(--accent-2); font-size: 12px; letter-spacing: .18em; margin-bottom: 14px; }
.event-title { font-family: var(--font-display); font-size: clamp(26px, 3vw, 38px); line-height: 1.3; margin: 0 0 14px; color: var(--heading); }
.event-info { display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--text-soft); font-size: 13px; margin: 18px 0 26px; }
.event-info span { display: inline-flex; align-items: center; gap: 7px; }

/* ---------- 徽标 / 标签 ---------- */
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 999px; font-size: 11px; letter-spacing: .06em; border: 1px solid var(--line); background: #f6f7fc; color: var(--text-soft); }
.badge-primary { color: #5b3ee8; background: #f0ecff; border-color: #dcd3ff; }
.badge-success { color: #157a52; background: #eaf9f2; border-color: #c2ecd9; }
.badge-warning { color: #96610f; background: #fff6e5; border-color: #f2ddb8; }
.badge-danger { color: #c62f49; background: #fff0f3; border-color: #f6ccd5; }
.badge-muted { color: var(--muted); }

/* ---------- 沙龙列表 ---------- */
.salon-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.salon-card .card-media { aspect-ratio: 4 / 5; }
.salon-card .card-body { padding: 26px; }
.salon-period { font-size: 11px; letter-spacing: .2em; color: var(--accent-2); margin-bottom: 10px; }
.salon-card h3 { font-family: var(--font-display); font-size: 22px; margin: 0 0 12px; line-height: 1.4; }
.salon-card h3 a:hover { color: var(--accent); }
.salon-card .meta-line { display: flex; flex-direction: column; gap: 7px; color: var(--muted); font-size: 13px; margin: 16px 0 20px; }
.salon-card .meta-line span { display: flex; align-items: center; gap: 8px; }

/* ---------- 文章列表 ---------- */
.article-card .card-media { aspect-ratio: 16 / 9; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: start; }
.article-list { display: grid; gap: 22px; }
.article-row { display: grid; grid-template-columns: 260px 1fr; gap: 26px; padding: 20px; border-radius: 18px; border: 1px solid transparent; transition: .3s; }
.article-row:hover { background: #fff; border-color: var(--line); box-shadow: 0 12px 30px rgba(28,36,70,.06); }
.article-row-media { border-radius: 13px; overflow: hidden; aspect-ratio: 4/3; background: #e9ecf5; }
.article-row-media img { width: 100%; height: 100%; object-fit: cover; }
.article-row-body { padding: 6px 0; }
.article-row h3 { font-family: var(--font-display); font-size: 22px; line-height: 1.45; margin: 8px 0 10px; }
.article-row h3 a:hover { color: var(--accent); }
.article-row p { color: var(--muted); font-size: 14px; margin: 0 0 14px; }

.sidebar { position: sticky; top: 106px; display: grid; gap: 22px; }
.sidebar-box { padding: 24px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: rgba(255,255,255,.78); }
.sidebar-title { font-size: 13px; letter-spacing: .16em; color: var(--text-soft); margin: 0 0 16px; text-transform: uppercase; }
.category-list { display: grid; gap: 4px; }
.category-list a { display: flex; align-items: center; justify-content: space-between; padding: 9px 10px; border-radius: 9px; color: var(--muted); font-size: 14px; }
.category-list a:hover, .category-list a.active { background: rgba(106,76,255,.09); color: var(--accent); }
.category-list em { font-style: normal; font-size: 12px; color: var(--muted); }
.hot-list { display: grid; gap: 14px; counter-reset: hot; }
.hot-list a { display: grid; grid-template-columns: 24px 1fr; gap: 10px; font-size: 14px; line-height: 1.55; color: var(--text-soft); }
.hot-list a:hover { color: var(--accent); }
.hot-list a::before { counter-increment: hot; content: counter(hot, decimal-leading-zero); color: var(--accent); font-size: 11px; letter-spacing: .1em; padding-top: 4px; }

/* ---------- 文章详情 ---------- */
.article-hero { padding: 58px 0 38px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: 12px; letter-spacing: .05em; }
.breadcrumb a:hover { color: var(--accent); }
.article-header { max-width: 860px; margin: 24px 0 34px; }
.article-header h1 { font-family: var(--font-display); font-size: clamp(30px, 4.6vw, 52px); line-height: 1.32; margin: 0 0 20px; font-weight: 600; color: #14192a; }
.article-header .lead { color: var(--text-soft); font-size: 17px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 16px; color: var(--muted); font-size: 13px; margin-top: 24px; }
.article-cover { width: 100%; max-height: 560px; object-fit: cover; border-radius: 22px; border: 1px solid var(--line); }
.article-content { max-width: 800px; margin: 44px auto 0; font-size: 16.5px; line-height: 1.95; color: #333a53; }
.article-content h2 { font-family: var(--font-display); font-size: 28px; margin: 50px 0 18px; color: #161b2c; line-height: 1.45; }
.article-content h3 { font-family: var(--font-display); font-size: 22px; margin: 36px 0 14px; color: #161b2c; }
.article-content p { margin: 0 0 22px; }
.article-content a { color: var(--accent-2); border-bottom: 1px solid rgba(10,127,158,.28); }
.article-content ul, .article-content ol { padding-left: 26px; margin: 0 0 24px; }
.article-content li { margin-bottom: 10px; }
.article-content img { border-radius: 16px; margin: 30px auto; border: 1px solid var(--line); }
.article-content blockquote { margin: 30px 0; padding: 20px 26px; border-left: 3px solid var(--accent); background: #f4f1ff; border-radius: 0 12px 12px 0; color: var(--text-soft); }
.article-content table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 14px; }
.article-content th, .article-content td { border: 1px solid var(--line); padding: 11px 14px; text-align: left; }
.article-content th { background: #f4f6fb; }
.article-content code { background: #f0f2f8; padding: 2px 6px; border-radius: 5px; font-size: .9em; }
.article-content pre { background: #f4f6fb; border: 1px solid var(--line); border-radius: 14px; padding: 20px; overflow-x: auto; }
/* 富文本编辑器输出：对齐、缩进、列表与代码块 */
.article-content .ql-align-center { text-align: center; }
.article-content .ql-align-right { text-align: right; }
.article-content .ql-align-justify { text-align: justify; }
.article-content .ql-indent-1 { padding-left: 3em; }
.article-content .ql-indent-2 { padding-left: 6em; }
.article-content .ql-indent-3 { padding-left: 9em; }
.article-content .ql-indent-4 { padding-left: 12em; }
.article-content .ql-indent-5 { padding-left: 15em; }
.article-content .ql-indent-6 { padding-left: 18em; }
.article-content .ql-indent-7 { padding-left: 21em; }
.article-content .ql-indent-8 { padding-left: 24em; }
.article-content li[data-list="bullet"] { list-style-type: disc; }
.article-content li[data-list="ordered"] { list-style-type: decimal; }
.article-content li[data-list="checked"],
.article-content li[data-list="unchecked"] { list-style: none; }
.article-content .ql-ui { display: none; }
.article-content .ql-code-block-container { background: #f4f6fb; border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; margin: 24px 0; overflow-x: auto; }
.article-content .ql-code-block { white-space: pre-wrap; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 14px; line-height: 1.7; }
.article-source { max-width: 800px; margin: 30px auto 0; padding: 16px 20px; border: 1px dashed var(--line-strong); border-radius: 12px; color: var(--muted); font-size: 13px; }
.author-box { max-width: 800px; margin: 40px auto 0; padding: 26px; border-radius: 18px; border: 1px solid var(--line); background: rgba(255,255,255,.8); display: flex; gap: 18px; align-items: center; }
.author-avatar { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; background: #e8ebf4; }
.author-box strong { display: block; font-size: 16px; }
.author-box p { margin: 4px 0 0; color: var(--muted); font-size: 13px; }

/* ---------- 首页版块布局（后台可配置） ---------- */
.home-grid { display: grid; grid-template-columns: repeat(var(--home-cols, 3), minmax(0, 1fr)); gap: 26px; align-items: start; }
.home-grid > .card { min-width: 0; }
.home-section .card-media { display: block; aspect-ratio: var(--home-cover, 16 / 10); }
.home-section .card-media img { width: 100%; height: 100%; object-fit: cover; }
.home-team .team-avatar { width: var(--home-team-avatar, 92px); height: var(--home-team-avatar, 92px); }
.home-brands .brand-card-logo { height: var(--home-brand-logo, 132px); }
.home-brands .brand-card-logo img { max-height: calc(var(--home-brand-logo, 132px) - 30px); }
@media (max-width: 1100px) {
    .home-grid { grid-template-columns: repeat(var(--home-cols-md, 2), minmax(0, 1fr)); gap: 22px; }
}
@media (max-width: 720px) {
    .home-grid { grid-template-columns: repeat(var(--home-cols-sm, 1), minmax(0, 1fr)); gap: 18px; }
}

/* FAQ */
.faq-list { display: grid; gap: 12px; max-width: 800px; margin: 26px auto 0; }
.faq-item { border: 1px solid var(--line); border-radius: 14px; background: #fff; overflow: hidden; }
.faq-item summary { cursor: pointer; list-style: none; padding: 18px 22px; font-size: 15px; font-weight: 600; position: relative; padding-right: 50px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 22px; top: 16px; color: var(--accent-2); font-size: 20px; line-height: 1; transition: .25s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin: 0; padding: 0 22px 20px; color: var(--text-soft); font-size: 14px; }
.home-faq-list { max-width: none; margin-left: 0; grid-template-columns: repeat(var(--home-faq-cols, 2), minmax(0, 1fr)); align-items: start; }
@media (max-width: 860px) {
    .home-faq-list { grid-template-columns: 1fr; }
}

/* 标签 */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.tag-chip { display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px; border-radius: 999px; border: 1px solid var(--line-strong); background: rgba(255,255,255,.72); color: var(--text-soft); font-size: 13px; line-height: 1; transition: border-color .22s, color .22s, background .22s, transform .22s; }
.tag-chip em { font-style: normal; font-size: 11px; color: var(--muted); background: #f0f2f8; border-radius: 999px; padding: 2px 6px; }
.tag-chip:hover { border-color: rgba(106,76,255,.5); color: var(--accent); background: #fff; transform: translateY(-1px); }
.tag-chip.active { background: #f0ecff; border-color: rgba(106,76,255,.55); color: var(--accent); }
.tag-cloud-lg { gap: 12px; max-width: 920px; }
.tag-cloud-lg .tag-chip { font-size: 14px; padding: 10px 16px; }
.tag-cloud-sm { gap: 8px; }
.tag-cloud-sm .tag-chip { font-size: 12px; padding: 6px 10px; }
.home-tag-cloud { margin-top: 28px; }
.article-tags { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; max-width: 800px; margin: 26px auto 0; padding-top: 20px; border-top: 1px dashed var(--line); }
.article-tags-label { font-size: 12px; letter-spacing: .14em; color: var(--muted); text-transform: uppercase; }

/* ---------- 沙龙详情 / 报名 ---------- */
.salon-hero { padding: 54px 0 34px; }
.salon-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: start; }
.salon-hero h1 { font-family: var(--font-display); font-size: clamp(32px, 4.6vw, 54px); line-height: 1.3; margin: 18px 0 18px; color: #14192a; }
.salon-poster { border-radius: 22px; overflow: hidden; border: 1px solid var(--line-strong); box-shadow: var(--shadow); background: #e9ecf5; }
.salon-poster img { width: 100%; }
.salon-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 28px 0; }
.fact { padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.fact span { display: block; font-size: 11px; letter-spacing: .14em; color: var(--muted); margin-bottom: 6px; text-transform: uppercase; }
.fact strong { font-size: 15px; font-weight: 600; color: #20263a; }
.map-box { border-radius: 16px; overflow: hidden; border: 1px solid var(--line); margin-top: 24px; background: #eef1f7; }
.map-box iframe { width: 100%; height: 300px; border: 0; display: block; filter: saturate(.92); }
.map-box img.map-image { width: 100%; height: 300px; object-fit: cover; display: block; filter: saturate(.92); background: #eef1f7; }
.map-links { display: flex; gap: 10px; padding: 12px; background: #f7f8fc; }
.map-links a { font-size: 12px; color: var(--accent-2); }

.register-card { border-radius: 22px; border: 1px solid rgba(106,76,255,.24); background: linear-gradient(165deg, #f5f2ff, #ffffff 58%); box-shadow: 0 24px 60px rgba(28,36,70,.10); padding: 34px; }
.register-card h2 { font-family: var(--font-display); font-size: 26px; margin: 0 0 8px; }
.register-card .sub { color: var(--muted); font-size: 13px; margin: 0 0 24px; }

/* ---------- 表单 ---------- */
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 13px; color: var(--text-soft); letter-spacing: .02em; }
.form-field label .req { color: var(--accent-3); margin-left: 3px; }
.input, .select, .textarea {
    width: 100%; padding: 12px 15px; border-radius: 11px;
    border: 1px solid var(--line-strong); background: #fff; color: var(--text);
    outline: none; transition: border-color .25s, box-shadow .25s, background .25s;
}
.input:focus, .select:focus, .textarea:focus { border-color: rgba(106,76,255,.62); box-shadow: 0 0 0 3px rgba(106,76,255,.12); background: #fff; }
.input::placeholder, .textarea::placeholder { color: #9aa1b5; }
.textarea { min-height: 120px; resize: vertical; line-height: 1.7; }
.select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #6b738c 50%), linear-gradient(135deg, #6b738c 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; padding-right: 38px; }
.radio-group { display: flex; gap: 10px; flex-wrap: wrap; }
.radio-pill { position: relative; }
.radio-pill input { position: absolute; opacity: 0; pointer-events: none; }
.radio-pill span { display: inline-flex; padding: 10px 18px; border-radius: 11px; border: 1px solid var(--line-strong); background: #fff; font-size: 13px; color: var(--text-soft); cursor: pointer; transition: .25s; }
.radio-pill input:checked + span { border-color: rgba(106,76,255,.62); background: #f0ecff; color: var(--accent); }
.checkbox { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--text-soft); cursor: pointer; }
.checkbox input { width: 17px; height: 17px; accent-color: var(--accent); margin-top: 3px; flex: none; }
.form-hint { color: var(--muted); font-size: 12px; }
.form-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 24px; }
.honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; overflow: hidden; }
.toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.toolbar .search { display: flex; gap: 8px; flex-wrap: wrap; }
.logo-upload { display: flex; align-items: flex-start; gap: 16px; }
.logo-upload img { width: 88px; height: 88px; object-fit: contain; border-radius: 14px; border: 1px solid var(--line); background: #fff; padding: 7px; flex: none; }

/* ---------- 会员 / 企业 ---------- */
.member-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.member-card { padding: 26px 22px; text-align: center; }
.member-avatar { width: 68px; height: 68px; border-radius: 20px; margin: 0 auto 16px; object-fit: cover; background: linear-gradient(145deg, #ece7ff, #f6f8ff); border: 1px solid var(--line-strong); }
.member-card h3 { font-family: var(--font-display); font-size: 18px; margin: 0 0 6px; }
.member-card .company { color: var(--text-soft); font-size: 13px; }
.member-card .industry { color: var(--muted); font-size: 12px; margin-top: 10px; letter-spacing: .08em; }
.company-hero { display: flex; gap: 26px; align-items: center; padding: 40px; border-radius: 22px; border: 1px solid var(--line); background: linear-gradient(150deg, #f2eeff, #ffffff 60%); }
.company-logo { width: 96px; height: 96px; border-radius: 24px; object-fit: cover; background: #fff; border: 1px solid var(--line-strong); }
.company-hero h1 { font-family: var(--font-display); font-size: 36px; margin: 0 0 8px; }
.company-hero .sub { color: var(--muted); font-size: 14px; }
.company-stats { display: flex; gap: 26px; margin-top: 18px; color: var(--muted); font-size: 13px; }
.company-stats strong { color: #161b2c; font-size: 20px; font-family: var(--font-display); margin-right: 4px; }

/* ---------- 产品 ---------- */
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.product-card .card-body { padding: 22px; }
.product-card h3 { font-size: 17px; margin: 0 0 8px; font-family: var(--font-display); }
.product-card h3 a:hover { color: var(--accent); }
.price { color: var(--gold); font-size: 14px; margin-top: 12px; }

/* ---------- 品牌 ---------- */
.brand-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.brand-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.brand-card { display: flex; flex-direction: column; }
.brand-card .card-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.brand-card-logo {
    display: flex; align-items: center; justify-content: center;
    height: 150px; background: linear-gradient(150deg, #f5f3ff, #f8fbff 70%, #ffffff);
    border-bottom: 1px solid var(--line); padding: 24px;
}
.brand-card-logo img { max-width: 118px; max-height: 96px; width: auto; height: auto; object-fit: contain; transition: transform .5s ease; }
.brand-card:hover .brand-card-logo img { transform: scale(1.05); }
.brand-card h3 { font-family: var(--font-display); font-size: 19px; margin: 0 0 5px; line-height: 1.4; }
.brand-card h3 a:hover { color: var(--accent); }
.brand-company { color: var(--accent-2); font-size: 12px; margin: 0 0 10px; letter-spacing: .03em; }
.brand-links { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 8px; }
.brand-links .card-link { margin-top: 10px; }
.brand-site { color: var(--muted); font-size: 12px; margin-top: 10px; white-space: nowrap; }
.brand-site:hover { color: var(--accent); }
.brand-contact { border-top: 1px dashed var(--line); margin-top: 12px; padding-top: 10px; color: var(--muted); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.brand-card-compact .brand-card-logo { height: 132px; }
.home-brands { border-top: 1px solid var(--line); background: linear-gradient(180deg, rgba(255,255,255,.5), rgba(238,241,249,.55)); }
.brand-hero { display: grid; grid-template-columns: 200px 1fr; gap: 38px; align-items: center; padding: 36px; border-radius: 24px; border: 1px solid var(--line); background: linear-gradient(145deg, #f2eeff, #ffffff 56%, #f7fbff); box-shadow: 0 18px 44px rgba(28,36,70,.07); }
.brand-hero-logo { display: flex; align-items: center; justify-content: center; width: 100%; aspect-ratio: 1; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 22px; }
.brand-hero-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.brand-hero-body h1 { font-family: var(--font-display); font-size: clamp(32px, 4.4vw, 50px); line-height: 1.25; margin: 16px 0 6px; color: #14192a; }
.brand-hero-company { color: var(--accent-2); font-size: 14px; margin: 0 0 12px; }
.brand-contact-box { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 10px; margin-top: 20px; padding: 12px 16px; border-radius: 12px; border: 1px solid var(--line); background: #fff; }
.brand-contact-box span { color: var(--muted); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.brand-contact-box strong { font-size: 14px; color: #20263a; }
.brand-detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; align-items: start; }
.brand-side { display: grid; gap: 20px; }
.brand-fact { padding: 12px 0; border-bottom: 1px solid var(--line); }
.brand-fact:last-child { border-bottom: 0; padding-bottom: 0; }
.brand-fact span { display: block; color: var(--muted); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 3px; }
.brand-fact strong { font-size: 14px; color: #20263a; word-break: break-word; }

/* ---------- 组织成员 ---------- */
.team-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.team-card { text-align: center; padding: 30px 22px; }
.team-avatar { width: 92px; height: 92px; border-radius: 50%; object-fit: cover; margin: 0 auto 18px; border: 1px solid var(--line-strong); background: #eef1f8; }
.team-card h3 { font-family: var(--font-display); font-size: 19px; margin: 0 0 4px; }
.team-card .role { color: var(--accent-2); font-size: 12px; letter-spacing: .06em; }
.team-card .company { color: var(--muted); font-size: 12px; margin-top: 6px; }
.team-card .bio { color: var(--text-soft); font-size: 13px; margin-top: 14px; }

/* ---------- 联系 ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 42px; align-items: start; }
.contact-info { display: grid; gap: 16px; }
.contact-item { display: flex; gap: 16px; padding: 20px; border-radius: 14px; border: 1px solid var(--line); background: #fff; }
.contact-icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: #f0ecff; color: var(--accent); flex: none; font-size: 15px; }
.contact-item strong { display: block; font-size: 14px; margin-bottom: 3px; }
.contact-item span { color: var(--muted); font-size: 13px; }
.contact-form { padding: 34px; border-radius: 20px; border: 1px solid var(--line); background: #fff; }
.notice { padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line-strong); background: #f7f8fc; font-size: 13.5px; color: var(--text-soft); line-height: 1.7; }
.notice.info { border-color: #bfe3ee; background: #eef9fc; }
.notice.success { border-color: #bfe6cd; background: #effaf3; color: #1f6b40; }
.notice.warn { border-color: #f0ddb8; background: #fff8ea; color: #85581a; }
.notice strong { color: #20263a; }
.contact-list { display: grid; gap: 12px; }
.contact-list .contact-item { flex-direction: column; gap: 4px; padding: 16px 18px; }
.contact-list .contact-item span { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.contact-list .contact-item strong { font-size: 15px; }
.contact-list .contact-item a { color: var(--text); }
.contact-list .contact-item a:hover { color: var(--accent); }

/* ---------- 网站地图 / 单页 ---------- */
.sitemap-title { font-family: var(--font-display); font-size: 18px; margin: 0 0 16px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.sitemap-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.sitemap-list li { font-size: 14px; color: var(--text-soft); }
.sitemap-list a { color: var(--text-soft); }
.sitemap-list a:hover { color: var(--accent); }
.page-actions { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 26px; border-top: 1px solid var(--line); }

/* ---------- 用户中心 ---------- */
.member-shell { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 34px; align-items: start; padding: 46px 0 84px; }
.member-side { position: sticky; top: 106px; border: 1px solid var(--line); border-radius: 18px; background: #fff; padding: 18px; box-shadow: 0 8px 24px rgba(28,36,70,.045); }
.member-user { display: flex; gap: 12px; align-items: center; padding: 10px 8px 18px; border-bottom: 1px solid var(--line); margin-bottom: 12px; }
.member-user img { width: 44px; height: 44px; border-radius: 13px; object-fit: cover; background: #eef1f8; }
.member-user strong { display: block; font-size: 14px; }
.member-user span { display: block; color: var(--muted); font-size: 11px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 150px; }
.member-nav { display: grid; gap: 3px; }
.member-nav a { padding: 10px 12px; border-radius: 9px; color: var(--muted); font-size: 14px; }
.member-nav a:hover { background: #f5f6fb; color: var(--text); }
.member-nav a.active { background: #f0ecff; color: var(--accent); font-weight: 600; }
.member-main { min-width: 0; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 26px; flex-wrap: wrap; }
.page-head h1 { font-family: var(--font-display); font-size: 30px; margin: 0; }
.page-head p { color: var(--muted); font-size: 13px; margin: 6px 0 0; }
.stat-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 16px; }
.stat-card { padding: 22px; border-radius: 15px; border: 1px solid var(--line); background: #fff; }
.stat-card span { display: block; color: var(--muted); font-size: 12px; letter-spacing: .06em; }
.stat-card strong { display: block; font-family: var(--font-display); font-size: 30px; margin-top: 6px; color: #161b2c; }
.panel { border: 1px solid var(--line); border-radius: 16px; background: #fff; overflow: hidden; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.panel-head h2 { font-size: 16px; margin: 0; font-family: var(--font-display); }
.panel-body { padding: 22px; }
.panel-body.tight { padding: 0; }

/* ---------- 表格 ---------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.data { width: 100%; border-collapse: collapse; font-size: 13.5px; }
table.data th, table.data td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.data th { color: var(--muted); font-weight: 500; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; background: #fafbfe; }
table.data tr:last-child td { border-bottom: 0; }
table.data tbody tr:hover { background: #fafbff; }
table.data td.actions { white-space: nowrap; text-align: right; }
.table-title { max-width: 360px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.table-brand { display: flex; align-items: center; gap: 12px; min-width: 180px; }
.table-brand img { width: 42px; height: 42px; object-fit: contain; border-radius: 10px; border: 1px solid var(--line); background: #fff; padding: 4px; flex: none; }
.inline-form { display: inline-flex; gap: 6px; align-items: center; }
.link { color: var(--accent-2); }
.link:hover { text-decoration: underline; }
.link-danger { color: var(--danger); }
.link-danger:hover { text-decoration: underline; }

/* ---------- 分页 ---------- */
.pagination { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 34px; }
.pagination a, .pagination span {
    min-width: 38px; height: 38px; padding: 0 13px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid var(--line); background: #fff; color: var(--text-soft); font-size: 13px;
}
.pagination a:hover { border-color: rgba(106,76,255,.4); color: var(--accent); }
.pagination .current { background: #f0ecff; border-color: #d8ceff; color: var(--accent); }

/* ---------- 提示 ---------- */
.flash-wrap { position: fixed; top: 96px; right: 24px; z-index: 200; display: grid; gap: 10px; width: min(380px, calc(100% - 48px)); }
.flash { padding: 14px 18px; border-radius: 12px; border: 1px solid var(--line-strong); background: rgba(255,255,255,.97); backdrop-filter: blur(18px); box-shadow: var(--shadow); font-size: 13.5px; display: flex; gap: 10px; align-items: flex-start; animation: flashIn .35s ease; }
.flash.success { border-color: #bce7d4; }
.flash.error { border-color: #f3c3cd; }
.flash::before { content: ""; width: 6px; height: 6px; border-radius: 50%; margin-top: 8px; flex: none; background: var(--accent-2); box-shadow: 0 0 0 4px rgba(10,127,158,.12); }
.flash.success::before { background: var(--success); box-shadow: 0 0 0 4px rgba(21,122,82,.12); }
.flash.error::before { background: var(--danger); box-shadow: 0 0 0 4px rgba(198,47,73,.12); }
@keyframes flashIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.empty-state { padding: 54px 20px; text-align: center; color: var(--muted); }
.empty-state strong { display: block; color: var(--text-soft); font-family: var(--font-display); font-size: 18px; margin-bottom: 6px; }

/* ---------- 页脚 ---------- */
.site-footer { border-top: 1px solid var(--line); margin-top: 40px; padding: 62px 0 30px; background: linear-gradient(180deg, rgba(255,255,255,.35), #eceff7); }
.footer-grid { display: grid; grid-template-columns: 1.3fr .8fr .8fr 1fr 1fr; gap: 32px; align-items: start; }
.footer-brand p { color: var(--muted); font-size: 13px; margin: 18px 0 0; max-width: 320px; }
.footer-col h4 { font-size: 12px; letter-spacing: .16em; color: var(--text-soft); margin: 0 0 16px; text-transform: uppercase; }
.footer-col a, .footer-col > span { display: block; color: var(--muted); font-size: 13px; margin-bottom: 9px; }
.footer-col a:hover { color: var(--accent); }
.footer-contact-col > span { line-height: 1.7; }
.footer-social-icons { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 14px; }
.footer-col .footer-social-icon { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; margin: 0; border-radius: 11px; border: 1px solid var(--line-strong); background: #fff; color: var(--text-soft); overflow: hidden; transition: border-color .22s, color .22s, transform .22s, box-shadow .22s; }
.footer-col a.footer-social-icon:hover { border-color: rgba(106,76,255,.5); color: var(--accent); transform: translateY(-2px); box-shadow: 0 8px 18px rgba(28,36,70,.10); }
.footer-social-icon img { width: 20px; height: 20px; object-fit: contain; display: block; }
.footer-social-icon b { font-size: 12px; font-weight: 600; line-height: 1; letter-spacing: .02em; }
.footer-qr-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.footer-col .footer-qr { margin: 0; text-align: center; }
.footer-qr img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; display: block; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.footer-qr figcaption { margin-top: 5px; font-size: 11px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.footer-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 12px; }
.footer-bottom a { color: var(--muted); }
.footer-bottom a:hover { color: var(--accent); }

/* ---------- 动效 ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
    .reveal { opacity: 1; transform: none; }
    html { scroll-behavior: auto; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1180px) {
    .site-nav a { padding: 9px 8px; font-size: 13.5px; }
    .header-inner { gap: 16px; }
}

@media (max-width: 1100px) {
    .hero-grid { grid-template-columns: 1fr; gap: 46px; }
    .hero-poster { transform: none; }
    .hero-poster img { height: 460px; }
    .hero-float { left: 12px; }
    .article-layout { grid-template-columns: 1fr; }
    .sidebar { position: static; grid-template-columns: repeat(2, 1fr); }
    .member-grid, .product-grid, .team-grid, .brand-grid { grid-template-columns: repeat(3, 1fr); }
    .brand-grid-3 { grid-template-columns: repeat(3, 1fr); }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
    .salon-hero-grid { grid-template-columns: 1fr; }
    .member-shell { grid-template-columns: 220px minmax(0, 1fr); }
    .brand-detail-grid { grid-template-columns: 1fr; }
    .brand-side { grid-template-columns: repeat(2, 1fr); align-items: start; }
}

@media (max-width: 980px) {
    .site-header { backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
    .header-inner { height: 70px; }
    .site-nav {
        position: fixed; inset: 70px 0 auto; padding: 16px 20px 24px;
        flex-direction: column; align-items: stretch; gap: 3px;
        background: rgba(255,255,255,.985); border-bottom: 1px solid var(--line);
        box-shadow: 0 24px 40px rgba(28,36,70,.12);
        transform: translateY(-140%); transition: transform .35s ease; backdrop-filter: blur(20px);
        max-height: calc(100vh - 70px); overflow-y: auto;
    }
    .site-nav.is-open { transform: none; }
    body.nav-open { overflow: hidden; }
    .site-nav a { padding: 12px 14px; border-radius: 10px; font-size: 15px; }
    .site-nav a:hover { background: #f5f3ff; }
    .site-nav a.active::after { display: none; }
    .site-nav a.active { background: #f0ecff; }
    .nav-toggle { display: block; }
    .header-actions .btn-ghost { display: none; }
}

@media (max-width: 860px) {
    .container { width: calc(100% - 36px); }
    .section { padding: calc(66px * var(--space-scale, 1)) 0; }
    .section-sm { padding: calc(48px * var(--space-scale, 1)) 0; }
    .section-head { flex-direction: column; align-items: flex-start; gap: 14px; }
    .hero { padding: 50px 0 46px; }
    .hero h1 { font-size: clamp(38px, 9.5vw, 56px); }
    .hero-lead { font-size: 16px; }
    .hero-poster img { height: 400px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-item:nth-child(2) { border-right: 0; }
    .stat-item:nth-child(1), .stat-item:nth-child(2) { border-bottom: 1px solid var(--line); }
    .grid-2 { grid-template-columns: 1fr; }
    .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .event-card { grid-template-columns: 1fr; }
    .event-card-media { min-height: 250px; }
    .event-card-media::after { background: linear-gradient(180deg, transparent 60%, #ffffff 100%); }
    .event-card-body { padding: 28px; }
    .salon-grid, .member-grid, .product-grid, .team-grid, .brand-grid, .brand-grid-3 { grid-template-columns: repeat(2, 1fr); }
    .article-row { grid-template-columns: 1fr; }
    .article-row-media { aspect-ratio: 16/9; }
    .form-grid { grid-template-columns: 1fr; }
    .member-shell { grid-template-columns: 1fr; padding-top: 30px; }
    .member-side { position: static; }
    .member-nav { grid-template-columns: repeat(2, 1fr); }
    .stat-cards { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr; }
    .company-hero { flex-direction: column; align-items: flex-start; padding: 28px; }
    .sidebar { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 26px; }
    .flash-wrap { top: 82px; right: 12px; width: min(380px, calc(100% - 24px)); }
    .logo-upload { flex-direction: column; }
    .brand-hero { grid-template-columns: 150px 1fr; gap: 26px; padding: 26px; }
    .brand-side { grid-template-columns: 1fr; }
    table.data { min-width: 560px; }
    table.data th, table.data td { padding: 12px 14px; }
}

@media (max-width: 640px) {
    .container { width: calc(100% - 28px); }
    .container-narrow { width: calc(100% - 28px); }
    .header-inner { height: 64px; gap: 10px; }
    .site-nav { inset: 64px 0 auto; max-height: calc(100vh - 64px); }
    .brand-mark { width: 38px; height: 38px; border-radius: 11px; font-size: 20px; }
    .brand-name { font-size: 18px; letter-spacing: .12em; }
    .brand-sub { display: none; }
    .brand { gap: 10px; }
    .header-actions { gap: 6px; }
    .header-actions .btn { padding: 8px 13px; font-size: 12px; }
    .nav-toggle { width: 40px; height: 40px; }
    .hero { padding: 38px 0 40px; }
    .hero-kicker { font-size: 11px; gap: 8px; padding-right: 12px; }
    .hero h1 { margin: 20px 0 16px; }
    .hero-lead { margin-bottom: 26px; line-height: 1.75; }
    .hero-actions { gap: 10px; }
    .hero-note { gap: 10px 16px; margin-top: 22px; }
    .hero-poster { border-radius: 20px; }
    .hero-poster img { height: auto; aspect-ratio: 4 / 5; max-height: 460px; }
    .hero-poster-tag { left: 14px; right: 14px; bottom: 14px; padding: 11px 14px; }
    .hero-float { display: none; }
    .section-title { font-size: clamp(27px, 7vw, 36px); }
    .section-desc { font-size: 14px; }
    .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .salon-grid, .member-grid, .product-grid, .team-grid, .brand-grid, .brand-grid-3 { grid-template-columns: 1fr; }
    .brand-card-logo { height: 138px; }
    .brand-hero { grid-template-columns: 1fr; }
    .brand-hero-logo { width: 132px; aspect-ratio: 1; }
    .brand-hero-body h1 { font-size: 30px; }
    .salon-facts { grid-template-columns: 1fr; }
    .register-card { padding: 22px; }
    .contact-form { padding: 22px; }
    .article-content { font-size: 16px; line-height: 1.9; }
    .article-content img { border-radius: 12px; }
    .member-nav { grid-template-columns: 1fr; }
    .stat-cards { grid-template-columns: repeat(2, 1fr); }
    .page-head { align-items: flex-start; }
    .page-head h1 { font-size: 26px; }
    .form-actions .btn { flex: 1 1 auto; }
    .input, .select, .textarea { font-size: 16px; }
    .table-wrap { margin: 0 -2px; }
    .toolbar .search { width: 100%; }
    .toolbar .search .input { flex: 1; min-width: 0; }
    .footer-grid { gap: 22px; }
    .site-footer { padding: 48px 0 24px; margin-top: 24px; }
    .logo-upload img { width: 72px; height: 72px; }
}

@media (max-width: 420px) {
    .container, .container-narrow { width: calc(100% - 24px); }
    .hero h1 { font-size: 36px; }
    .hero-actions .btn { width: 100%; }
    .header-actions .btn-primary { padding: 7px 11px; font-size: 11.5px; }
    .stats-grid { grid-template-columns: 1fr; }
    .stat-item { border-right: 0; border-bottom: 1px solid var(--line); padding: 20px 18px; }
    .stat-item:last-child { border-bottom: 0; }
    .stat-item:nth-child(2) { border-right: 0; }
    .stat-cards { grid-template-columns: 1fr; }
    .brand-contact-box { display: flex; }
    .pagination a, .pagination span { min-width: 34px; height: 34px; padding: 0 10px; }
}

/* ===== 会员类型 / 实名认证 ===== */
.member-meta-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 22px;
}
.member-meta-card {
    padding: 18px 20px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--line);
    background: var(--surface);
    display: grid;
    gap: 3px;
}
.member-meta-card > span { font-size: 12px; letter-spacing: .14em; color: var(--muted); text-transform: uppercase; }
.member-meta-card strong { font-size: 18px; color: var(--text); }
.member-meta-card small { color: var(--muted); font-size: 12.5px; }
.member-meta-card .verify-text.is-approved { color: var(--success); }
.member-meta-card .verify-text.is-pending { color: var(--warning); }
.member-meta-card .verify-text.is-rejected { color: var(--danger); }

.member-verify-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 12.5px;
    color: var(--text-soft);
    background: rgba(106, 76, 255, .08);
    border: 1px solid rgba(106, 76, 255, .18);
}
.member-verify-chip.is-ok { color: var(--success); background: rgba(21, 122, 82, .08); border-color: rgba(21, 122, 82, .2); }
.member-verify-chip.is-pending { color: var(--warning); background: rgba(154, 100, 16, .08); border-color: rgba(154, 100, 16, .2); }
.member-verify-chip.is-rejected { color: var(--danger); background: rgba(198, 47, 73, .08); border-color: rgba(198, 47, 73, .2); }

.verify-badge {
    display: inline-flex;
    align-items: center;
    padding: 7px 14px;
    border-radius: 999px;
    font-size: 13px;
    border: 1px solid var(--line-strong);
    color: var(--muted);
    background: var(--surface);
}
.verify-badge.is-approved { color: var(--success); border-color: rgba(21, 122, 82, .25); background: rgba(21, 122, 82, .08); }
.verify-badge.is-pending { color: var(--warning); border-color: rgba(154, 100, 16, .25); background: rgba(154, 100, 16, .08); }
.verify-badge.is-rejected { color: var(--danger); border-color: rgba(198, 47, 73, .25); background: rgba(198, 47, 73, .08); }

.verify-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 22px; align-items: start; }
.verify-result { padding: 18px 20px; border-radius: var(--radius-sm); border: 1px dashed var(--line-strong); background: var(--surface-light); }
.verify-result strong { display: block; font-size: 17px; margin-bottom: 6px; }
.verify-result p { margin: 4px 0; color: var(--text-soft); }
.verify-result.is-ok { border-style: solid; border-color: rgba(21, 122, 82, .25); background: rgba(21, 122, 82, .06); }
.verify-result.is-ok strong { color: var(--success); }
.verify-result.is-pending { border-style: solid; border-color: rgba(154, 100, 16, .25); background: rgba(154, 100, 16, .06); }
.verify-result.is-pending strong { color: var(--warning); }
.verify-result.is-rejected { border-style: solid; border-color: rgba(198, 47, 73, .25); background: rgba(198, 47, 73, .06); }
.verify-result.is-rejected strong { color: var(--danger); }

.verify-tips { margin: 0; padding-left: 20px; color: var(--text-soft); display: grid; gap: 8px; }
.verify-tips li::marker { color: var(--accent); }
.verify-thumb {
    display: block;
    width: 168px;
    max-width: 100%;
    margin-bottom: 8px;
    border-radius: 10px;
    border: 1px solid var(--line-strong);
    background: #fff;
}

@media (max-width: 900px) {
    .member-meta-grid { grid-template-columns: 1fr; }
    .verify-grid { grid-template-columns: 1fr; }
}

/* ===== 前台侧边栏工具 ===== */
.site-tools {
    position: fixed;
    bottom: 30px;
    z-index: 70;
    display: grid;
    gap: 10px;
    padding: 10px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .82);
    border: 1px solid var(--line);
    box-shadow: 0 18px 40px rgba(28, 36, 70, .16);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}
.site-tools-right { right: 22px; }
.site-tools-left { left: 22px; }
.tool-item { position: relative; }
.tool-btn {
    position: relative;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    border: 1px solid transparent;
    background: rgba(106, 76, 255, .07);
    color: var(--text-soft);
    cursor: pointer;
    transition: background .2s ease, color .2s ease, transform .2s ease;
    text-decoration: none;
}
.tool-btn:hover,
.tool-btn:focus-visible {
    background: linear-gradient(135deg, rgba(123, 92, 255, .16), rgba(56, 211, 255, .12));
    color: var(--accent);
    transform: translateY(-1px);
    outline: none;
}
.tool-icon { display: inline-flex; }
.tool-label {
    position: absolute;
    top: 50%;
    transform: translateY(-50%) scale(.96);
    white-space: nowrap;
    padding: 6px 10px;
    border-radius: 8px;
    background: #1b2033;
    color: #fff;
    font-size: 12px;
    line-height: 1;
    opacity: 0;
    pointer-events: none;
    transition: opacity .18s ease, transform .18s ease;
}
.site-tools-right .tool-label { right: calc(100% + 12px); }
.site-tools-left .tool-label { left: calc(100% + 12px); }
.tool-btn:hover .tool-label,
.tool-btn:focus-visible .tool-label { opacity: 1; transform: translateY(-50%) scale(1); }
.tool-top { opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility .2s ease, background .2s ease, color .2s ease; }
.site-tools.has-scrolled .tool-top { opacity: 1; visibility: visible; }
.tool-pop {
    position: absolute;
    bottom: 0;
    width: 210px;
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .96);
    border: 1px solid var(--line);
    box-shadow: 0 18px 38px rgba(28, 36, 70, .18);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}
.site-tools-right .tool-pop { right: calc(100% + 12px); }
.site-tools-left .tool-pop { left: calc(100% + 12px); }
.tool-item.is-open .tool-pop { opacity: 1; visibility: visible; transform: translateY(0); }
.tool-pop strong { display: block; font-size: 13px; margin-bottom: 8px; }
.tool-copy { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.tool-copy span { font-size: 13px; color: var(--text-soft); word-break: break-all; }
.tool-copy button {
    flex: none;
    border: 1px solid rgba(106, 76, 255, .24);
    background: rgba(106, 76, 255, .08);
    color: var(--accent);
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 12px;
    cursor: pointer;
}
.tool-copy button:hover { background: rgba(106, 76, 255, .16); }

@media (max-width: 900px) {
    .site-tools.is-desktop-only { display: none; }
}
@media (max-width: 640px) {
    .site-tools { bottom: 16px; padding: 7px; border-radius: 15px; gap: 7px; }
    .site-tools-right { right: 12px; }
    .site-tools-left { left: 12px; }
    .tool-btn { width: 40px; height: 40px; border-radius: 11px; }
    .tool-label { display: none; }
    .site-tools-right .tool-pop { right: 0; bottom: calc(100% + 10px); }
    .site-tools-left .tool-pop { left: 0; bottom: calc(100% + 10px); }
}

/* 活动邀请海报 */
.poster-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.poster-modal[hidden],
.poster-dialog [hidden] { display: none !important; }
.poster-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(14, 18, 36, .64);
    backdrop-filter: blur(5px);
}
.poster-dialog {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 250px;
    gap: 20px;
    width: min(880px, 100%);
    max-height: calc(100vh - 48px);
    overflow: auto;
    padding: 22px;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 36px 90px rgba(10, 14, 34, .34);
}
.poster-close {
    position: absolute;
    top: 12px;
    right: 14px;
    z-index: 2;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: rgba(20, 25, 42, .08);
    color: #3a4160;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}
.poster-close:hover { background: rgba(20, 25, 42, .16); }
.poster-stage {
    grid-row: span 2;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 320px;
    padding: 14px;
    border-radius: 18px;
    background:
        radial-gradient(circle at 18% 12%, rgba(106, 76, 255, .14), transparent 46%),
        radial-gradient(circle at 82% 88%, rgba(10, 127, 158, .12), transparent 44%),
        #f2f3f9;
}
.poster-stage canvas {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: calc(100vh - 120px);
    border-radius: 12px;
    box-shadow: 0 20px 46px rgba(20, 25, 42, .22);
}
.poster-loading {
    padding: 40px 20px;
    color: var(--muted);
    font-size: 14px;
    text-align: center;
}
.poster-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 26px;
}
.poster-actions .btn { width: 100%; justify-content: center; }
.poster-note {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.7;
}
.poster-note [data-poster-ai-note] { display: block; color: var(--accent-2); }
@media (max-width: 760px) {
    .poster-modal { padding: 12px; }
    .poster-dialog {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 16px;
        max-height: calc(100vh - 24px);
    }
    .poster-stage { grid-row: auto; min-height: 0; padding: 8px; }
    .poster-stage canvas { max-height: 58vh; }
    .poster-actions { padding-top: 0; display: grid; grid-template-columns: 1fr 1fr; }
    .poster-actions .btn:first-child { grid-column: span 2; }
    .poster-close { top: 8px; right: 10px; }
}

/* 联系方式可见性 */
.contact-lock-note {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 14px;
    margin-top: 18px;
    padding: 14px 16px;
    border: 1px dashed #d8d2f5;
    border-radius: 12px;
    background: #faf9ff;
    color: var(--text-soft);
    font-size: 13px;
    line-height: 1.7;
}
.contact-lock-note strong { color: #3b3560; }
.contact-lock-note span { color: var(--muted); }
.contact-lock-note a:not(.btn) { color: var(--accent); font-weight: 600; }
.contact-lock-note.compact {
    margin-top: 12px;
    padding: 10px 12px;
    font-size: 12px;
}
.contact-lock-note .btn { margin-left: auto; }
.footer-contact-state { color: #8b90a8; font-size: 12px; line-height: 1.6; }
.footer-contact-state a { display: inline; color: var(--accent); font-weight: 600; }
.tool-lock {
    margin: 10px 0 0;
    padding-top: 10px;
    border-top: 1px dashed var(--line);
    color: var(--muted);
    font-size: 11.5px;
    line-height: 1.65;
}
.tool-lock a { display: block; margin-top: 6px; color: var(--accent); font-weight: 600; }

/* 会员实名状态 */
.member-verify-banner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 18px;
    margin-bottom: 20px;
    padding: 16px 18px;
    border: 1px solid #e7ddff;
    border-radius: 14px;
    background: linear-gradient(135deg, #faf8ff, #f2f8fc);
    color: #4b4768;
    font-size: 13.5px;
    line-height: 1.7;
}
.member-verify-banner.is-pending { border-color: #cfe8f2; background: #f2fbfe; }
.member-verify-banner.is-rejected { border-color: #f0ddb8; background: #fff8ea; }
.member-verify-banner strong { color: #2c2848; }
.member-verify-banner .btn { flex: 0 0 auto; }
.nav-lock {
    display: inline-block;
    margin-left: 6px;
    padding: 1px 6px;
    border-radius: 999px;
    background: #f1eefc;
    color: #6a5aa8;
    font-size: 10.5px;
    font-weight: 600;
    vertical-align: 1px;
}
@media (max-width: 640px) {
    .contact-lock-note { align-items: flex-start; }
    .contact-lock-note .btn { margin-left: 0; }
}
