/* ========== 掌上开远 - 苹果风格全局样式 ========== */
:root {
    --white: #ffffff;
    --bg-content: #f5f5f7;
    --title: #1d1d1f;
    --body: #1d1d1f;
    --nav: #333333;
    --red: #f23030;
    --blue: #009fff;
    --border: #e5e5e5;
    --shadow: 0 1px 3px rgba(0,0,0,0.04);
    --radius: 10px;
    --header-h: 52px;
    --nav-h: 64px;
    --max-w: 640px;
}

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

body {
    font-family: -apple-system, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
    background: var(--white);
    color: var(--body);
    font-size: 15px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    padding-bottom: calc(var(--nav-h) + 10px);
}

a { color: var(--blue); text-decoration: none; }
a:active { opacity: 0.7; }

/* ========== 顶部栏 - 苹果毛玻璃 ========== */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,0.72);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0,0,0,0.06);
}
.header-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    height: var(--header-h);
    display: flex;
    align-items: center;
    padding: 0 14px;
    gap: 12px;
}
.logo {
    display: flex;
    align-items: center;
    height: 38px;
    flex-shrink: 0;
}
.logo-img {
    height: 34px;
    width: auto;
    max-width: 90px;
    object-fit: contain;
    display: block;
}
.logo-icon { font-size: 22px; }
.logo-text { font-size: 19px; font-weight: 700; }

/* 搜索框 */
.search-box {
    flex: 1;
    display: flex;
    background: var(--bg-content);
    border-radius: 10px;
    overflow: hidden;
    height: 34px;
    border: 1px solid transparent;
    transition: border-color 0.2s;
}
.search-box:focus-within {
    border-color: var(--blue);
    background: var(--white);
}
.search-box input {
    flex: 1;
    min-width: 0;        /* 关键：允许被压缩，给按钮留空间 */
    border: none;
    outline: none;
    padding: 0 12px;
    font-size: 14px;
    background: transparent;
    color: var(--body);
}
.search-box input::placeholder {
    color: #999;
}
.search-box .search-btn {
    border: none;
    background: transparent;
    padding: 0 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    line-height: 0;
}
.search-btn svg {
    display: block;
}

/* 汉堡菜单 */
.menu-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    border: none;
    background: none;
    cursor: pointer;
    padding: 4px 0;
    flex-shrink: 0;
}
.menu-label {
    font-size: 14px;
    color: #333333;
    font-weight: 400;
}
.menu-hamburger {
    display: flex;
    flex-direction: column;
    gap: 3px;
    width: 18px;
}
.menu-hamburger i {
    display: block;
    height: 2px;
    background: #333333;
    border-radius: 1px;
}
.menu-hamburger i:nth-child(2) { width: 14px; align-self: flex-end; }

/* ========== 主体 ========== */
.main-content {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 12px 12px;
}

/* ========== 卡片 ========== */
.card {
    background: var(--bg-content);
    border-radius: var(--radius);
    padding: 14px;
    margin-bottom: 12px;
}

/* ========== 轮播图 ========== */
.banner-wrap {
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 20px;
    position: relative;
    aspect-ratio: 16 / 9;
    background: var(--bg-content);
}
.banner-slide {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: none;   /* 关闭原生吸附，手机端改由JS判断滑动方向，一次只翻一页，避免惯性甩页 */
    touch-action: pan-y;      /* 横向滚动交JS接管，浏览器只处理垂直，根治惯性甩页停在两张中间 */
    height: 100%;
    border-radius: var(--radius);
}
.banner-slide::-webkit-scrollbar { display: none; }
.banner-item {
    flex: 0 0 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 17px;
    font-weight: 600;
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, #333, #555);
}
.banner-item:nth-child(2) { background: linear-gradient(135deg, #1d1d1f, #333); }
.banner-item:nth-child(3) { background: linear-gradient(135deg, #f23030, #cc0000); }
.banner-item.has-image {
    padding: 0;
    background: transparent;
    position: relative;
    display: block;
}
.banner-item-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #fff;
    font-size: 17px;
    font-weight: 600;
    text-align: center;
    padding: 20px;
    text-decoration: none;
}
.banner-img-link {
    position: absolute;
    inset: 0;
    display: block;
    z-index: 1;
}
.banner-img-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 视频/图片共用：左下角联系信息（视频字幕风格） */
.banner-phone-bar {
    position: absolute;
    bottom: 10px;
    left: 10px;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 0;
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
    max-width: calc(100% - 140px);
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    -webkit-tap-highlight-color: transparent;
    text-shadow:
        0 1px 2px rgba(0,0,0,0.9),
        0 0 6px rgba(0,0,0,0.6),
        1px 1px 1px rgba(0,0,0,0.8);
}
.banner-phone-bar:active { opacity: 0.7; }
.bp-icon {
    display: inline-block;
    width: 13px;
    height: 13px;
    flex-shrink: 0;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.9));
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1-9.39 0-17-7.61-17-17 0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.25.2 2.45.57 3.57.11.35.03.74-.25 1.02l-2.2 2.2z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
.bp-text { line-height: 1; }

/* 视频 banner */
.banner-video {
    flex: 0 0 100%;
    height: 100%;
    position: relative;
    background: #000;
}
.banner-video video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
}
/* 视频封面遮罩层（微信浏览器不支持 video poster，用 img 覆盖） */
.poster-overlay {
    position: absolute;
    inset: 0;
    z-index: 5;
    background-size: cover;
    background-position: center;
    background-color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: opacity 0.3s ease;
}
.poster-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}
.poster-play-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(0,0,0,0.5);
    border: 2px solid rgba(255,255,255,0.8);
    color: #fff;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 3px;
}
/* 全屏时确保video铺满屏幕 */
.banner-video video:fullscreen {
    width: 100vw;
    height: 100vh;
    object-fit: contain;
}
.banner-video video:-webkit-full-screen {
    width: 100vw;
    height: 100vh;
    object-fit: contain;
}
/* 隐藏各浏览器视频下载按钮/菜单 */
.banner-video video::-webkit-media-controls-download-button,
.banner-video video::-webkit-media-controls-enclosure,
video::-internal-media-controls-download-button { display: none !important; }
.banner-video iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}
.banner-video-link {
    position: absolute;
    inset: 0;
    z-index: 2;
}

.banner-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 5;
}
.banner-dots span {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    transition: background 0.2s;
}
.banner-dots span.active { background: #fff; }

/* 左右箭头（电脑版显示，手机版隐藏） */
.banner-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 6;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: #333333;             /* 深灰按钮，浅色视频下也清晰 */
    backdrop-filter: blur(4px);
    color: #fff;
    font-size: 22px;
    font-weight: 300;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    line-height: 1;
    padding: 0;
}
.banner-arrow:hover { background: #1d1d1f; }
.banner-arrow-left  { left: 8px; }
.banner-arrow-right { right: 8px; }
@media (min-width: 768px) {
    .banner-arrow { display: flex; }
}

/* 播放进度条 */
.banner-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(255,255,255,0.25);
    z-index: 3;
}
.banner-progress-fill {
    height: 100%;
    background: rgba(255,255,255,0.85);
    width: 0%;
    transition: width 0.15s linear;
    border-radius: 0 2px 2px 0;
}

/* 视频控制按钮 */
.banner-video-controls {
    position: absolute;
    bottom: 14px;
    right: 10px;
    z-index: 4;
    display: flex;
    gap: 8px;
}
.vc-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: none;
    background: rgba(0,0,0,0.3);
    backdrop-filter: blur(4px);
    color: #fff;
    font-size: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    padding: 0;
    line-height: 1;
    -webkit-tap-highlight-color: transparent;
}
.vc-btn:hover { background: rgba(0,0,0,0.5); }

/* 手机端自动播放被禁时的提示：播放按钮脉冲动画 */
.banner-video.play-blocked .vc-play {
    animation: vc-pulse 1.5s ease-in-out infinite;
    background: rgba(0,0,0,0.7);
}
@keyframes vc-pulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255,255,255,0.4); }
    50% { transform: scale(1.15); box-shadow: 0 0 0 8px rgba(255,255,255,0); }
}

/* ========== 12图标导航 ========== */
.icon-nav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
    padding: 6px 0;
    margin-bottom: 20px;
}
.icon-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 4px;
    border-radius: 8px;
    transition: background 0.2s;
    color: var(--body);
}
.icon-nav-item:active { background: var(--bg-content); }
.icon-nav-item .icon-emoji {
    font-size: 28px;
    margin-bottom: 4px;
}
.icon-nav-item .icon-img {
    width: 48px;
    height: 48px;
    margin-bottom: 6px;
    display: block;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.icon-nav-item .icon-name {
    font-size: 12px;
    color: var(--nav);
}

/* ========== 区块标题 ========== */
.section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 20px 0 10px;
    padding: 0 4px;
}
.section-title h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--title);
}
.section-title .more {
    font-size: 13px;
    color: var(--blue);
    font-weight: 500;
}

/* ========== 招聘/求职列表项 ==========
   ⚠️ 卡片布局约定（2026-09-04 王涛定）：
   - 右侧 .job-side = 工资 + 时间区，右对齐
   - 「已认证商户」.verified-badge 必须**绝对定位贴在 .job-item 的右下角**，不走 .job-side
     （如果放 .job-side 里，.job-main 行高时会把它撑到卡片中段，视觉上不在"角"）
   - 未来再加任何认证类标签（紫V/皇冠/金牌），**必须也是 absolute 贴卡角**，跟已认证对齐同一位置
   - 不要把认证标签塞到 .job-meta 里（meta 是底部信息横排）
*/
.job-item {
    background: var(--bg-content);
    border-radius: var(--radius);
    padding: 14px;
    padding-bottom: 24px;             /* 给 .verified-badge 留呼吸空间，不与 .job-meta 行 baseline 撞 */
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    color: var(--body);
    position: relative;               /* 认证徽章 absolute 定位的基准；没有这个徽章跑去 viewport 角 */
}
.job-item:active { opacity: 0.7; }
.job-main { flex: 1; min-width: 0; }
/* 右侧「认证/工资/时间区」：右对齐 + 不挤压（窄屏优先保证左侧标题不被切）
   这个 class 不带任何视觉样式，只是给"右侧整块"一个名字——以后改认证区定位直接改这 */
.job-side {
    text-align: right;
    flex-shrink: 0;
}
.job-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--title);
}
.job-title .top-badge {
    background: var(--red);
    color: #fff;
    font-size: 10px;
    padding: 1px 6px;
    border-radius: 4px;
    font-weight: 500;
}
.job-company {
    /* 公司名：14px 比 .job-title(16px) 小一号，比 .job-meta(12px) 大一号，拉开梯度（2026-09-05 王涛觉得 13 太小） */
    font-size: 14px;
    color: #666;
    margin-bottom: 4px;
}
.job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 12px;
    color: #999;
}
.job-meta span { display: flex; align-items: center; gap: 2px; }
/* SVG 图标和文字基线对齐：emoji 是字符自动居中，SVG 默认底基线，
   在 .tag/inline 场景下会偏低。用 vertical-align 提到文字视觉中线。 */
.job-meta svg, .detail-meta svg { vertical-align: -0.18em; flex-shrink: 0; }
.job-salary {
    /* 工资色：原用 --red（与置顶、必填同色，区分度不够），改用 --blue（2026-09-04 王涛定）。
       注意工资 ≠ 警示色，红色会让人紧张；蓝色是「价格/信息」的中性提示色 */
    color: var(--blue);
    font-weight: 700;
    font-size: 15px;
    white-space: nowrap;
    text-align: right;
}
.job-salary-time {
    font-size: 11px;
    color: #999;
    text-align: right;
    margin-top: 2px;
}

/* 蓝V认证徽章：**绝对定位贴在 .job-item 的右下角**（2026-09-04 王涛定）。
   之前在 .job-side 内堆叠，.job-main 行高时被撑到卡片中段，视觉上不在"角"。
   现在直接 absolute 锚定卡片本身的右下角，不管主栏多高都贴在角上。

   配色：绿色 #01c260——既然是「认证通过」，颜色就用通过的绿（微信小程序认证绿同色系）
   未认证不渲染任何占位，留白反衬出认证的价值。 */
.verified-badge {
    position: absolute;
    right: 14px;
    bottom: 12px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 9px 4px 5px;
    border-radius: 13px;
    background: rgba(1, 194, 96, .08);   /* 绿色淡底 */
    font-size: 13px;
    font-weight: 600;
    color: #01c260;                     /* 绿色文字 */
    line-height: 1;
    white-space: nowrap;
    vertical-align: middle;
    z-index: 2;
}
.verified-badge svg {
    flex-shrink: 0;
    display: block;
}
.verified-badge svg circle { fill: #01c260; }   /* 圆对勾的圆也改绿 */
/* 详情页大号版：跟公司名并排，字号和留白都放大一档 */
.verified-badge-lg {
    margin-top: 0;
    margin-left: 6px;
    padding: 3px 8px 3px 4px;
    border-radius: 12px;
    font-size: 12px;
    gap: 4px;
}

/* 商家认证页：状态卡片，先告诉用户「现在处在哪一步」 */
.verify-status-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    margin-bottom: 14px;
    border-radius: 12px;
    background: #F3FAFE;
    border: 1px solid #B9E0F5;
}
.verify-status-card .vs-icon { flex-shrink: 0; line-height: 0; font-size: 26px; }
.verify-status-card .vs-title { font-size: 17px; font-weight: 600; color: #333333; }
.verify-status-card .vs-desc { font-size: 13px; color: #86868b; margin-top: 3px; line-height: 1.5; }
/* 驳回用琥珀色跟"待办/已通过"区分开，一眼知道要重传 */
.verify-status-card.vs-3 { background: #FFF8EC; border-color: #F5D9A8; }
.verify-status-card.vs-3 .vs-title { color: #B26A00; }

/* 营业执照上传框：大热区，手机以拍照上传为主 */
.up-box {
    display: block;
    border: 1.5px dashed #B9E0F5;
    border-radius: 12px;
    background: #F3FAFE;
    padding: 22px 14px;
    text-align: center;
    color: #86868b;
    font-size: 14px;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
}
.up-box:active { border-color: var(--blue); background: #E8F5FE; }
.up-box .up-preview {
    display: none;
    width: 100%;
    max-height: 260px;
    object-fit: contain;
    border-radius: 8px;
}

/* 求职卡片 */
.seek-item {
    background: var(--bg-content);
    border-radius: var(--radius);
    padding: 14px;
    margin-bottom: 8px;
    color: var(--body);
}
.seek-item:active { opacity: 0.7; }
.seek-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}
.seek-avatar {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--nav);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    flex-shrink: 0;
}
.seek-name { font-weight: 600; font-size: 15px; color: var(--title); }
.seek-intention { font-size: 13px; color: #666; }
.seek-info { font-size: 13px; color: #666; margin-top: 4px; }

/* ========== 便民信息 ========== */
.conv-group { margin-bottom: 14px; }
.conv-group-title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 8px;
    padding-left: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--title);
}
.conv-list {
    background: var(--bg-content);
    border-radius: var(--radius);
    overflow: hidden;
}
.conv-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 14px;
    border-bottom: 1px solid var(--border);
}
.conv-item:last-child { border-bottom: none; }
.conv-item:active { opacity: 0.7; }
.conv-info { flex: 1; min-width: 0; }
.conv-title { font-size: 14px; font-weight: 500; color: var(--title); }
.conv-desc { font-size: 12px; color: #999; margin-top: 2px; }
.conv-call {
    background: var(--blue);
    color: #fff;
    border: none;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    cursor: pointer;
    white-space: nowrap;
    font-weight: 500;
}
.conv-call:active { opacity: 0.8; }

/* ========== 详情页 ========== */
.detail-card {
    background: var(--bg-content);
    border-radius: var(--radius);
    padding: 18px;
    margin-bottom: 12px;
}
/* 顶部返回链接：详情页想退列表最常见动作，别让人拉到底（2026-09-05 王涛定） */
.detail-back {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    color: #666;
    text-decoration: none;
    padding: 2px 0 8px;
}
.detail-back:active { opacity: 0.6; }

.detail-title {
    /* 标题=绝对第一视觉重心，压过价格（2026-09-05 王涛：价格不该抢标题的戏） */
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--title);
    line-height: 1.4;
}
.detail-salary {
    color: var(--red);
    font-size: 18px;   /* 比标题 22 小一档，红色但不再压标题 */
    font-weight: 700;
    margin-bottom: 12px;
}
.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}
.detail-meta .tag {
    background: var(--white);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 13px;
    color: #666;
}
.detail-section { margin-top: 16px; }
.detail-section h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 8px;
    padding-left: 8px;
    border-left: 3px solid var(--blue);
    color: var(--title);
}
.detail-section p {
    font-size: 14px;
    color: var(--body);
    line-height: 1.8;
    white-space: pre-wrap;
}
.detail-contact {
    background: var(--bg-content);
    border-radius: var(--radius);
    padding: 16px;
    text-align: center;
    margin-top: 16px;
}
.detail-contact .contact-label {
    font-size: 13px;
    color: #666;
    margin-bottom: 6px;
}
.detail-contact .contact-name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--title);
}
.call-btn {
    display: inline-block;
    background: var(--blue);
    color: #fff;
    padding: 12px 40px;
    border-radius: 25px;
    font-size: 17px;
    font-weight: 600;
    border: none;
    cursor: pointer;
}
.call-btn:active { opacity: 0.85; }

/* ========== 发布表单 ========== */
.form-card {
    background: var(--bg-content);
    border-radius: var(--radius);
    padding: 18px 16px;
}
.form-tabs {
    display: flex;
    margin-bottom: 18px;
    background: var(--white);
    border-radius: 8px;
    padding: 4px;
}
.form-tab {
    flex: 1;
    text-align: center;
    padding: 10px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 500;
    color: var(--nav);
    cursor: pointer;
    transition: all 0.2s;
}
.form-tab.active {
    background: var(--bg-content);
    color: var(--blue);
    font-weight: 600;
}
.form-group { margin-bottom: 16px; }
.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 6px;
    color: var(--title);
}
.form-group label .required { color: var(--red); }
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 15px;
    outline: none;
    transition: border 0.2s;
    font-family: inherit;
    background: var(--white);
    color: var(--body);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--blue);
}
.form-group textarea { resize: vertical; min-height: 80px; }
.form-group .hint { font-size: 12px; color: #999; margin-top: 4px; }
.form-submit {
    width: 100%;
    background: var(--blue);
    color: #fff;
    border: none;
    padding: 14px;
    border-radius: 25px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 6px;
}
.form-submit:active { opacity: 0.85; }

.form-notice {
    background: #fff8f0;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 13px;
    color: var(--red);
    margin-bottom: 16px;
    line-height: 1.6;
}

/* ========== 底部导航 ========== */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: var(--nav-h);
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(0,0,0,0.06);
    display: flex;
    z-index: 100;
    max-width: 480px;
    margin: 0 auto;
}
.nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #333333;
    font-size: 13px;
}
.nav-item.active { color: #333333; }
.nav-icon { margin-bottom: 3px; display: flex; align-items: center; justify-content: center; }
.nav-post {
    position: relative;
}
.nav-post .nav-icon {
    margin-top: -24px;
    filter: drop-shadow(0 4px 10px rgba(237,96,96,0.35));
}

/* ========== Flash消息 ========== */
.flash-container {
    position: fixed;
    top: 70px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 200;
    width: 90%;
    max-width: 360px;
}
.flash-msg {
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    text-align: center;
    margin-bottom: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    animation: slideDown 0.3s ease;
}
.flash-success { background: var(--blue); color: #fff; }
.flash-error { background: var(--red); color: #fff; }
@keyframes slideDown {
    from { transform: translateY(-20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* ========== 空状态 ========== */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}
.empty-state .empty-icon { font-size: 50px; margin-bottom: 12px; }
.empty-state p { font-size: 15px; }

/* ========== 后台管理 ========== */
.admin-header {
    background: var(--nav);
    color: #fff;
    padding: 14px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.admin-header h1 { font-size: 18px; font-weight: 600; }
.admin-header a { color: #fff; font-size: 14px; }
.admin-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 14px;
}
.stat-card {
    background: var(--bg-content);
    border-radius: var(--radius);
    padding: 16px;
    text-align: center;
}
.stat-num { font-size: 26px; font-weight: 700; color: var(--blue); }
.stat-label { font-size: 13px; color: #666; margin-top: 4px; }
.stat-pending .stat-num { color: var(--red); }

.admin-table {
    width: 100%;
    background: var(--bg-content);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 14px;
}
.admin-table table { width: 100%; border-collapse: collapse; }
.admin-table th {
    background: var(--white);
    padding: 10px;
    text-align: left;
    font-size: 13px;
    color: #666;
    font-weight: 500;
}
.admin-table td {
    padding: 10px;
    font-size: 13px;
    border-top: 1px solid var(--border);
    color: var(--body);
}
.admin-table tr:active { opacity: 0.7; }
.status-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}
.status-pending { background: #fff3e0; color: #e65100; }
.status-active { background: #e8f5e9; color: #2e7d32; }
.status-rejected { background: #ffebee; color: #c62828; }
.status-expired { background: #f5f5f5; color: #999; }
.admin-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.admin-btn {
    padding: 5px 10px;
    border: none;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    text-decoration: none;
    font-weight: 500;
}
.btn-approve { background: var(--blue); color: #fff; }
.btn-reject { background: #ff9800; color: #fff; }
.btn-delete { background: var(--red); color: #fff; }
.btn-top { background: var(--red); color: #fff; }
.btn-untop { background: #999; color: #fff; }
.btn-refresh { background: var(--blue); color: #fff; }
.btn-on { background: var(--blue); color: #fff; }
.btn-off { background: #999; color: #fff; }

.admin-login-wrap {
    max-width: 360px;
    margin: 80px auto 0;
    padding: 20px;
}
.admin-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 14px;
    background: var(--white);
    border-radius: 8px;
    padding: 4px;
}
.admin-tab {
    flex: 1;
    text-align: center;
    padding: 8px;
    border-radius: 6px;
    font-size: 14px;
    color: var(--nav);
    text-decoration: none;
}

/* ========== 搜索结果 ========== */
.search-result-section { margin-bottom: 18px; }
.search-result-section h4 {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
    padding-left: 4px;
}

/* ========== 页面标题 ========== */
.page-title {
    font-size: 18px;
    font-weight: 700;
    padding: 4px 0 12px;
    color: var(--title);
}

/* ========== 顶部导航链接（桌面横排+hover下拉） ========== */
.header-nav {
    display: none;  /* 手机端隐藏 */
    gap: 2px;
    flex-shrink: 0;
}
.header-nav-link {
    font-size: 14px;
    color: var(--nav);
    padding: 6px 8px;
    border-radius: 6px;
    white-space: nowrap;
    transition: opacity 0.15s;
    font-weight: 400;
    letter-spacing: 0.02em;
    text-decoration: none;
    display: block;
}
.header-nav-link:hover { opacity: 0.7; }
.header-nav-link.active { color: var(--title); font-weight: 500; }

/* 下拉容器（桌面端） */
.nav-dd {
    position: relative;
}
/* 旧窄面板隐藏，仅作为 mega panel 的数据源 */
.nav-dd-panel {
    display: none !important;
}

/* 桌面端全宽大面板下拉 */
.desktop-mega-panel {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    z-index: 200;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    border-top: 1px solid rgba(0,0,0,0.04);
}
.desktop-mega-panel.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}
.mega-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 32px 22px 40px;
    display: flex;
    gap: 60px;
    justify-content: flex-start;
    transition: padding-left 0.2s ease, padding-right 0.2s ease;
}
.mega-inner.align-right {
    justify-content: flex-end;
    padding-left: 22px;
}
.mega-col {
    min-width: 140px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.mega-col h5 {
    font-size: 18px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 12px;
    letter-spacing: 0.02em;
}
.mega-col a {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    padding: 8px 0;
    font-size: 14px;
    color: #1d1d1f;
    text-decoration: none;
    transition: opacity 0.12s;
    position: relative;
}
/* 左箭头 */
.mega-col a::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-top: 2px solid #333;
    border-right: 2px solid #333;
    transform: rotate(45deg);
    margin-right: 8px;
    flex-shrink: 0;
}
/* 底部红线 */
.mega-col a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 14px;
    width: calc(100% - 14px);
    height: 2px;
    background: var(--red);
    transform: scaleX(0);
    transition: transform 0.15s ease;
}
.mega-col a:hover { opacity: 0.7; }
.mega-col a:hover::after { transform: scaleX(1); }
.mega-col a.coming-soon-link {
    color: #bbb;
    pointer-events: none;
}
.mega-col a.coming-soon-link::before { border-color: #aaa; }

/* 即将上线导航项 */
.header-nav-link.coming-soon-link,
.menu-panel-link.coming-soon-link {
    color: #bbb;
    pointer-events: none;
    cursor: default;
}
/* 桌面导航节省空间，隐藏即将上线标签 */
.header-nav-link .soon-tag { display: none; }
.soon-tag {
    font-size: 10px;
    background: var(--red);
    color: #fff;
    padding: 1px 5px;
    border-radius: 3px;
    margin-left: 3px;
    vertical-align: middle;
    font-weight: 500;
}
.coming-soon-link .soon-tag {
    background: #ccc;
}

/* ========== 汉堡菜单面板（手机端顶部下拉，accordion二级紧跟一级） ========== */
.menu-overlay {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.12);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    z-index: 98;
}
.menu-overlay.active { opacity: 1; pointer-events: auto; }

.menu-panel {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
    z-index: 99;
    padding: 16px 16px 20px;
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
.menu-panel.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

/* 3列网格 */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
}
.menu-cell,
.menu-group .menu-trigger {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 6px;
    border-radius: 8px;
    transition: background 0.15s;
    position: relative;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}
.menu-cell:active,
.menu-group .menu-trigger:active { background: rgba(0,0,0,0.04); }
.menu-cell,
.menu-group .menu-trigger {
    position: relative;
}
.menu-cell::after,
.menu-group .menu-trigger::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    width: 24px;
    height: 2px;
    background: var(--blue);
    transform: translateX(-50%) scaleX(0);
    transition: transform 0.15s ease;
}
.menu-cell:active::after,
.menu-group .menu-trigger:active::after { transform: translateX(-50%) scaleX(1); }

.menu-group {
    display: contents;  /* 让trigger和sub直接参与外层3列grid */
}
.menu-group .menu-trigger {
    cursor: pointer;
}
.menu-group.expanded .menu-trigger {
    background: rgba(0,0,0,0.03);
}

.menu-title {
    font-size: 14px;
    font-weight: 600;
    color: #1d1d1f;
    text-decoration: none;
    text-align: center;
    display: flex;
    align-items: center;
    gap: 3px;
}
/* 有二级的加一个向下小箭头 */
.menu-group.has-sub .menu-title::after {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-right: 1.5px solid #999;
    border-bottom: 1.5px solid #999;
    transform: rotate(45deg);
    margin-left: 2px;
    transition: transform 0.2s;
    flex-shrink: 0;
}
.menu-group.has-sub.expanded .menu-title::after {
    transform: rotate(-135deg);
}

/* 二级展开区：紧跟所属一级项下方，占满整行 */
.menu-sub {
    grid-column: 1 / -1;
    display: none;
    padding: 10px 4px 6px;
    border-top: 1px solid rgba(0,0,0,0.06);
    margin-top: 4px;
}
.menu-group.expanded .menu-sub {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
}
.sub-link {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    padding: 10px 8px;
    font-size: 13px;
    color: #555;
    border-radius: 6px;
    text-align: left;
    transition: background 0.15s;
    text-decoration: none;
    position: relative;
}
/* 左箭头 */
.sub-link::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-top: 2px solid #333;
    border-right: 2px solid #333;
    transform: rotate(45deg);
    margin-right: 6px;
    flex-shrink: 0;
}
/* 底部红线 */
.sub-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 20px;
    width: calc(100% - 28px);
    height: 2px;
    background: var(--red);
    transform: scaleX(0);
    transition: transform 0.15s ease;
}
.sub-link:active { background: rgba(0,0,0,0.04); color: #1d1d1f; }
.sub-link:active::after { transform: scaleX(1); }
.sub-link.coming-soon-link {
    color: #bbb;
    pointer-events: none;
}
.sub-link.coming-soon-link::before { border-color: #aaa; }

/* 响应式 - 平板/桌面 */
@media (min-width: 768px) {
    :root {
        --max-w: 1280px;                       /* 12个导航链接需要更宽内容区 */
    }
    body { font-size: 16px; padding-bottom: 0; }  /* 桌面无底部固定导航 */
    .header-inner { padding: 0 22px; height: 52px; gap: 12px; }
    .main-content { padding: 28px 22px; }

    /* 搜索框在桌面固定宽度，防止被导航挤压缩小 */
    .search-box { width: 200px; flex: none; flex-shrink: 0; }

    /* 桌面导航：12个链接均分排列，云服务靠最右 */
    .header-nav { display: flex; flex: 1; justify-content: space-between; gap: 0; }
    .header-nav-link {
        font-size: 14px;
        font-weight: 400;
        padding: 6px 4px;
        letter-spacing: 0;
        position: relative;
    }
    .header-nav-link::after {
        content: '';
        position: absolute;
        bottom: -2px;
        left: 4px;
        right: 4px;
        height: 2px;
        background: var(--red);
        transform: scaleX(0);
        transition: transform 0.2s ease;
    }
    .header-nav-link:hover::after { transform: scaleX(1); }
    .menu-btn { display: none; }            /* 桌面隐藏汉堡按钮 */
    .menu-panel, .menu-overlay { display: none !important; }  /* 桌面彻底隐藏手机菜单 */
    .bottom-nav { display: flex; max-width: 480px; }  /* 桌面也显示底部导航，限宽居中 */
    .desktop-mega-panel { display: block; } /* 桌面显示全宽大面板 */

    /* 桌面端轮播图：参考小米网站，全宽贴边直接展示 */
    .banner-wrap {
        display: block;
        position: relative;
        width: 100vw;
        margin-left: calc(50% - 50vw);
        margin-bottom: 22px;
        border-radius: 0;                /* 贴边，去圆角 */
        aspect-ratio: 21 / 9;            /* 超宽比例，大气 */
        max-height: 70vh;                /* 别太高，否则滚轮体验差 */
        background: #F5F5F7;                /* 浅灰底，视频contain时两侧融入网页 */
    }
    .banner-slide {
        border-radius: 0;
        overflow: hidden;                /* 关键：禁用overflow-x:auto，否则桌面端滚轮被拦截 */
        scroll-snap-type: none;          /* 桌面端用JS控制轮播，不需要snap */
    }
    .banner-item {
        font-size: 42px;
        font-weight: 700;
        letter-spacing: -0.02em;
        line-height: 1.2;
        padding: 0;
    }
    /* 桌面端视频contain保持完整，两侧白色融入网页 */
    .banner-video,
    .banner-video video {
        object-fit: contain;
        background: #F5F5F7;          /* 覆盖默认黑底，让21:9容器两侧融入网页 */
    }
    /* 桌面端轮播左右内边距放大，更大气 */
    .main-content { padding-top: 0; }    /* 轮播紧贴导航 */

    /* 大标题 + 多留白 */
    .section-title { margin: 44px 0 18px; }
    .section-title h3 { font-size: 28px; font-weight: 700; letter-spacing: -0.01em; }
    .section-title .more { font-size: 15px; }

    /* 图标导航 */
    .icon-nav { grid-template-columns: repeat(6, 1fr); gap: 10px; padding: 12px 0; }
    .icon-nav-item { padding: 18px 8px; }
    .icon-nav-item .icon-emoji { font-size: 34px; margin-bottom: 10px; }
    .icon-nav-item .icon-img { width: 56px; height: 56px; margin-bottom: 10px; }
    .icon-nav-item .icon-name { font-size: 14px; }

    /* 招聘卡片 */
    .job-item { padding: 22px; border-radius: 14px; margin-bottom: 12px; }
    .job-title { font-size: 18px; }
    .job-salary { font-size: 17px; }

    /* 求职卡片 */
    .seek-item { padding: 22px; border-radius: 14px; }

    /* 底部：桌面端 */
    .footer-inner { max-width: none; padding: 0 22px; }
    .footer-logo { width: 64px; height: 64px; }
    .footer-slogan { font-size: 19px; }
    .footer-subtitle { font-size: 14px; }
    .footer-brand-tech { max-width: 720px; }
    .footer-brand { padding-right: 32px; }
    .footer-tech { padding-left: 32px; }
    .footer-divider { height: 62px; }
    .tech-icon { width: 28px; height: 28px; }
    .tech-name { font-size: 14px; }
    .tech-slogan { font-size: 20px; }
    .footer-about-title { font-size: 18px; }
    .footer-about a { font-size: 13px; }
    .footer-tips { max-width: 720px; padding: 18px 0; }
    .footer-tips h4 { font-size: 18px; }
    .footer-tips ol { font-size: 13px; line-height: 1.8; }
    .footer-about-wrap { max-width: 720px; }
    .footer-copyright { font-size: 12px; }
}

/* ========== 苹果风格底部 ========== */
.site-footer {
    background: #f5f5f7;
    margin-top: 0;
    padding: 18px 0 20px;
}
.footer-inner {
    max-width: none;
    margin: 0 auto;
    padding: 0 16px;
}

/* 温馨提示 */
.footer-tips {
    max-width: 640px;
    margin: 0 auto 24px;
    padding: 14px 0;
    border-bottom: 1px solid #cececf;
}
.footer-tips h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--title);
    text-align: center;
    margin-bottom: 10px;
}
.footer-tips ol {
    margin: 0;
    padding-left: 0;
    list-style: none;
    counter-reset: tips;
    color: #5c5c5c;
    font-size: 12px;
    line-height: 1.7;
}
.footer-tips li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 8px;
}
.footer-tips li::before {
    counter-increment: tips;
    content: counter(tips) ".";
    position: absolute;
    left: 0;
    top: 0;
    color: #5c5c5c;
}
.footer-tips li:last-child { margin-bottom: 0; }

/* 品牌 + 技术支持 */
.footer-brand-tech {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    max-width: 640px;
    margin: 0 auto;
    padding-bottom: 12px;
}
.footer-brand {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 10px;
	padding-right: 18px;
}
.footer-logo {
	width: 40px;
	height: 40px;
	object-fit: contain;
	flex-shrink: 0;
}
.footer-brand-text { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.footer-slogan {
    font-size: 13px;
    font-weight: 700;
    color: #1d1d1f;
    letter-spacing: 0.02em;
}
.footer-subtitle {
    font-size: 13px;
    color: #86868b;
}
.footer-divider {
    width: 1px;
    height: 54px;
    background: #d2d2d7;
}
.footer-tech {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-left: 22px;
}
.tech-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}
.tech-text { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.tech-name {
    font-size: 13px;
    color: #86868b;
}
.tech-slogan {
    font-size: 13px;
    font-weight: 700;
    color: #1d1d1f;
    letter-spacing: 0.02em;
}

/* 关于我们 */
.footer-about-wrap {
    max-width: 640px;
    margin: 0 auto;
    padding: 12px 0 16px;
    text-align: center;
}
.footer-about-title {
    font-size: 18px;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 8px;
}
.footer-about {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 4px 0;
}
.footer-about a {
    font-size: 12px;
    color: #6e6e73;
    text-decoration: none;
    line-height: 1.6;
}
.footer-about a:hover { color: #333; text-decoration: underline; }
.footer-about .sep {
    font-size: 12px;
    color: #d2d2d7;
    padding: 0 10px;
}

/* 版权 */
.footer-copyright {
    text-align: center;
    font-size: 11px;
    color: #aeaeb2;
    line-height: 1.6;
    padding-top: 8px;
}

/* 备案号 */
.footer-beian {
    text-align: center;
    font-size: 11px;
    color: #aeaeb2;
    line-height: 1.8;
    padding-top: 2px;
    padding-bottom: 10px;
}
.footer-beian a {
    color: #aeaeb2;
    text-decoration: none;
}
.footer-beian a:hover {
    color: #666;
}
.footer-beian .sep {
    color: #c7c7cc;
    margin: 0 6px;
}

/* 未开放功能占位 */
.icon-nav-item.coming-soon {
    opacity: 0.4;
    pointer-events: none;
}
.icon-nav-item.coming-soon .icon-name {
    color: #bbb;
}

/* ========== 萤火虫读书会 ========== */

/* 读书会轮播：桌面端隐藏，手机端16:9 */
.reading-banner {
    aspect-ratio: 16 / 9;
}
@media (min-width: 768px) {
    .reading-banner { display: none; }
}

/* 二级菜单 */
.reading-menu { padding: 14px; margin-bottom: 12px; }
.reading-menu-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}
.reading-menu-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px 4px;
    border-radius: 10px;
    background: var(--white);
    color: var(--body);
    transition: background 0.15s;
}
.reading-menu-item:active { background: var(--bg-content); }
.rmi-icon {
    font-size: 26px;
    margin-bottom: 6px;
    line-height: 1;
}
.rmi-name {
    font-size: 12px;
    color: var(--nav);
    text-align: center;
    line-height: 1.2;
}

/* 参加读书会的理由 */
.reading-reasons {
    display: grid;
    gap: 10px;
    margin-bottom: 12px;
}
.reason-card {
    background: var(--bg-content);
    border-radius: var(--radius);
    padding: 16px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.reason-num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--red);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
}
.reason-text {
    flex: 1;
    font-size: 16px;
    font-weight: 600;
    color: var(--title);
    line-height: 1.5;
    padding-top: 4px;
}

/* 读书会形式 / 课程须知 */
.reading-section { padding: 18px; margin-bottom: 12px; }
.reading-section .reading-block { margin-bottom: 18px; }
.reading-section .reading-block:last-child { margin-bottom: 0; }
.reading-section h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--title);
    margin-bottom: 10px;
}
.reading-section ol,
.reading-section ul {
    padding-left: 18px;
    color: var(--body);
    font-size: 14px;
    line-height: 1.8;
}
.reading-section li { margin-bottom: 4px; }
.reading-section p {
    font-size: 14px;
    color: var(--body);
    line-height: 1.8;
}

/* 课程须知特殊样式 */
.reading-fee .fee-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--red);
    margin-bottom: 6px;
}
.reading-fee .fee-note {
    font-size: 14px;
    color: var(--title);
    font-weight: 600;
    margin-bottom: 8px;
}
.reading-join .join-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--title);
    margin-bottom: 10px;
    letter-spacing: 0.02em;
}

/* 遇知己 遇自己 */
.reading-slogan {
    text-align: center;
    font-size: 22px;
    font-weight: 700;
    margin: 24px 0 14px;
    letter-spacing: 0.05em;
}
.reading-slogan .slogan-pink { color: #e91e63; }
.reading-slogan .slogan-blue { color: #2196f3; }

/* 进群二维码 */
.reading-qrcode { padding: 18px; margin-bottom: 12px; }
.qrcode-main {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
}
.qrcode-seal {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 2px solid #333;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #333;
}
.seal-char {
    font-size: 12px;
    margin-bottom: 2px;
}
.seal-row {
    display: flex;
    gap: 8px;
    font-size: 22px;
    font-weight: 700;
}
.qrcode-img-wrap {
    text-align: center;
}
.qrcode-img {
    width: 140px;
    height: 140px;
    object-fit: contain;
    display: block;
    margin-bottom: 6px;
}
.qrcode-tip {
    font-size: 13px;
    color: var(--title);
    font-weight: 600;
}
.qrcode-tip-sub {
    font-size: 12px;
    color: #999;
}

/* 读书会桌面端适配 */
@media (min-width: 768px) {
    .reading-menu-grid {
        grid-template-columns: repeat(7, 1fr);
        gap: 12px;
    }
    .reading-menu-item { padding: 18px 6px; }
    .rmi-icon { font-size: 32px; }
    .rmi-name { font-size: 14px; }

    .reading-reasons {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .reason-card { padding: 20px; }
    .reason-text { font-size: 17px; }

    .qrcode-seal {
        width: 120px;
        height: 120px;
    }
    .seal-char { font-size: 14px; }
    .seal-row { font-size: 28px; }
    .qrcode-img { width: 160px; height: 160px; }
}

/* ==================== 萤火虫云服务 ==================== */
.cloud-hero {
    padding: 0 14px 24px;
    background: #f5f5f7;
}
.cloud-hero-head {
    text-align: center;
    padding: 32px 0 24px;
}
.cloud-hero-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--title);
    margin: 0 0 6px;
    letter-spacing: -0.5px;
}
.cloud-hero-subtitle {
    font-size: 15px;
    color: #86868b;
    margin: 0;
}

/* Apple 风格产品大卡片 */
.cloud-product-card {
    display: block;
    border-radius: 22px;
    padding: 36px 24px 0;
    margin-bottom: 18px;
    text-align: center;
    text-decoration: none;
    overflow: hidden;
    position: relative;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.cloud-product-card:active {
    transform: scale(0.985);
}
.cloud-card-dark {
    background: linear-gradient(160deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: #fff;
}
.cloud-card-light {
    background: linear-gradient(160deg, #ffffff 0%, #f0f4ff 50%, #e6eeff 100%);
    color: var(--title);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.cloud-card-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.cloud-card-dark .cloud-card-badge {
    background: rgba(255,255,255,0.15);
    color: #aaddff;
}
.cloud-card-light .cloud-card-badge {
    background: rgba(0,102,255,0.1);
    color: #0066ff;
}

.cloud-card-name {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 8px;
    letter-spacing: -0.3px;
}
.cloud-card-tagline {
    font-size: 16px;
    margin: 0 0 20px;
    opacity: 0.85;
}
.cloud-card-dark .cloud-card-tagline { color: #c7d2ff; }
.cloud-card-light .cloud-card-tagline { color: #666; }

.cloud-card-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-bottom: 32px;
}
.cloud-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    padding: 9px 18px;
    border-radius: 40px;
    text-decoration: none;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}
.cloud-btn-primary {
    background: #0071e3;
    color: #fff;
}
.cloud-btn-primary:hover { background: #0077ed; }
.cloud-btn-text {
    background: transparent;
    color: #0071e3;
    padding: 9px 4px;
}
.cloud-btn-text:hover { text-decoration: underline; }
.cloud-card-dark .cloud-btn-text { color: #66b3ff; }
.cloud-btn-outline {
    background: transparent;
    color: #0071e3;
    border: 1.5px solid #0071e3;
}
.cloud-btn-outline:hover { background: rgba(0,113,227,0.05); }
.cloud-btn-large {
    font-size: 15px;
    padding: 12px 24px;
}

/* 设备mockup */
.cloud-card-visual {
    display: flex;
    justify-content: center;
    padding-bottom: 10px;
}
.device-phone {
    width: 140px;
    height: 280px;
    background: #111;
    border-radius: 24px;
    padding: 8px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.25);
    position: relative;
}
.device-phone::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 16px;
    background: #1a1a1a;
    border-radius: 10px;
    z-index: 2;
}
.device-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #1e3a5f 0%, #0d1b2a 100%);
    border-radius: 18px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.face-scan-ring {
    width: 80px;
    height: 80px;
    border: 3px solid rgba(100,200,255,0.6);
    border-radius: 50%;
    position: relative;
    animation: pulse-ring 2s infinite;
}
.face-scan-dot {
    position: absolute;
    width: 12px;
    height: 12px;
    background: #64c8ff;
    border-radius: 50%;
    box-shadow: 0 0 12px #64c8ff;
}
.face-scan-line {
    position: absolute;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #64c8ff, transparent);
    top: 40%;
    animation: scan-line 2.5s infinite linear;
}
.scan-text {
    position: absolute;
    bottom: 34px;
    font-size: 11px;
    color: rgba(255,255,255,0.85);
    letter-spacing: 0.5px;
}
@keyframes pulse-ring {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.05); opacity: 1; }
}
@keyframes scan-line {
    0% { top: 20%; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { top: 80%; opacity: 0; }
}

.device-browser {
    width: 220px;
    height: 150px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.06);
}
.browser-bar {
    height: 24px;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 0 10px;
}
.browser-bar span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #d0d0d0;
}
.browser-body {
    padding: 14px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    height: calc(100% - 24px);
}
.info-card {
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
    color: #fff;
}
.info-card-1 { background: linear-gradient(135deg, #667eea, #764ba2); }
.info-card-2 { background: linear-gradient(135deg, #f093fb, #f5576c); }
.info-card-3 { background: linear-gradient(135deg, #4facfe, #00f2fe); }
.info-card-4 { background: linear-gradient(135deg, #43e97b, #38f9d7); color: #064e3b; }

/* 信任区 */
.cloud-trust {
    padding: 28px 14px;
    background: #fff;
}
.cloud-section-title {
    font-size: 22px;
    font-weight: 700;
    text-align: center;
    margin: 0 0 20px;
    color: var(--title);
}
.cloud-trust-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}
.cloud-trust-item {
    background: #f5f5f7;
    border-radius: 16px;
    padding: 18px 12px;
    text-align: center;
}
.cloud-trust-icon {
    font-size: 26px;
    margin-bottom: 8px;
}
.cloud-trust-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--title);
    margin-bottom: 4px;
}
.cloud-trust-desc {
    font-size: 12px;
    color: #666;
    margin: 0;
    line-height: 1.4;
}

/* CTA */
.cloud-cta {
    padding: 36px 20px;
    text-align: center;
    background: #f5f5f7;
}
.cloud-cta-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 8px;
    color: var(--title);
}
.cloud-cta-desc {
    font-size: 14px;
    color: #666;
    margin: 0 0 18px;
}
.cloud-cta-btn {
    display: inline-block;
    background: #0071e3;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    padding: 13px 28px;
    border-radius: 40px;
    text-decoration: none;
}

/* 详情页 */
.cloud-detail-hero {
    padding: 40px 20px 0;
    text-align: center;
}
.cloud-detail-dark {
    background: linear-gradient(180deg, #1a1a2e 0%, #16213e 60%, #f5f5f7 60%);
    color: #fff;
}
.cloud-detail-light {
    background: linear-gradient(180deg, #ffffff 0%, #f0f4ff 60%, #f5f5f7 60%);
    color: var(--title);
}
.cloud-detail-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: 14px;
    text-transform: uppercase;
}
.cloud-detail-dark .cloud-detail-badge { background: rgba(255,255,255,0.15); color: #aaddff; }
.cloud-detail-light .cloud-detail-badge { background: rgba(0,102,255,0.1); color: #0066ff; }
.cloud-detail-title {
    font-size: 30px;
    font-weight: 700;
    margin: 0 0 12px;
    letter-spacing: -0.5px;
}
.cloud-detail-lead {
    font-size: 16px;
    line-height: 1.5;
    max-width: 520px;
    margin: 0 auto 22px;
    opacity: 0.9;
}
.cloud-detail-dark .cloud-detail-lead { color: #c7d2ff; }
.cloud-detail-light .cloud-detail-lead { color: #555; }
.cloud-detail-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-bottom: 36px;
}
.cloud-detail-visual {
    display: flex;
    justify-content: center;
    padding-bottom: 0;
}
.device-phone-large {
    width: 170px;
    height: 340px;
    border-radius: 30px;
    padding: 10px;
}
.device-browser-large {
    width: 280px;
    height: 190px;
    border-radius: 18px;
}
.device-browser-large .browser-body {
    grid-template-columns: 1fr 1fr;
    padding: 18px;
    gap: 12px;
}
.device-browser-large .info-card {
    font-size: 13px;
}

/* 功能、场景、价格 */
.cloud-features,
.cloud-scenarios,
.cloud-pricing {
    padding: 32px 14px;
    background: #f5f5f7;
}
.cloud-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
.cloud-feature-item {
    background: #fff;
    border-radius: 18px;
    padding: 20px 14px;
    text-align: center;
}
.cloud-feature-icon {
    font-size: 28px;
    margin-bottom: 10px;
}
.cloud-feature-item h3 {
    font-size: 14px;
    font-weight: 700;
    color: var(--title);
    margin: 0 0 6px;
}
.cloud-feature-item p {
    font-size: 12px;
    color: #666;
    margin: 0;
    line-height: 1.45;
}

.cloud-scenario-list {
    background: #fff;
    border-radius: 18px;
    padding: 18px 20px;
    max-width: 640px;
    margin: 0 auto;
}
.cloud-scenario-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    font-size: 14px;
    color: #333;
    border-bottom: 1px solid #f0f0f0;
}
.cloud-scenario-item:last-child { border-bottom: none; }
.cloud-scenario-dot {
    width: 8px;
    height: 8px;
    background: #0071e3;
    border-radius: 50%;
    margin-top: 6px;
    flex-shrink: 0;
}

.cloud-pricing-cards {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 640px;
    margin: 0 auto;
}
.cloud-pricing-card {
    background: #fff;
    border-radius: 22px;
    padding: 26px 22px;
    position: relative;
    text-align: center;
}
.cloud-pricing-recommended {
    border: 2px solid #0071e3;
}
.cloud-pricing-badge {
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    background: #0071e3;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 14px;
    border-radius: 0 0 12px 12px;
}
.cloud-pricing-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--title);
    margin-bottom: 8px;
}
.cloud-pricing-price {
    font-size: 32px;
    font-weight: 700;
    color: var(--title);
    margin-bottom: 16px;
}
.cloud-pricing-price span {
    font-size: 14px;
    font-weight: 400;
    color: #888;
}
.cloud-pricing-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    text-align: left;
}
.cloud-pricing-list li {
    font-size: 13px;
    color: #555;
    padding: 7px 0;
    border-bottom: 1px solid #f5f5f7;
}
.cloud-pricing-list li::before {
    content: '✓';
    color: #0071e3;
    font-weight: 700;
    margin-right: 8px;
}
.cloud-pricing-note {
    text-align: center;
    font-size: 12px;
    color: #888;
    margin: 16px 0 0;
}
.cloud-cta-compact {
    padding: 28px 20px;
}

/* 云服务桌面端适配 */
@media (min-width: 768px) {
    .cloud-hero { padding: 0 24px 32px; }
    .cloud-hero-head { padding: 48px 0 32px; }
    .cloud-hero-title { font-size: 42px; }
    .cloud-hero-subtitle { font-size: 18px; }

    .cloud-product-card {
        padding: 52px 40px 0;
        margin-bottom: 24px;
        border-radius: 30px;
    }
    .cloud-card-name { font-size: 34px; }
    .cloud-card-tagline { font-size: 20px; }
    .cloud-card-actions { margin-bottom: 44px; }
    .cloud-btn { font-size: 15px; padding: 10px 22px; }
    .cloud-btn-text { padding: 10px 6px; }

    .device-phone {
        width: 180px;
        height: 360px;
        border-radius: 32px;
        padding: 10px;
    }
    .device-browser {
        width: 320px;
        height: 210px;
        border-radius: 20px;
    }
    .browser-body { padding: 20px; gap: 14px; }
    .info-card { font-size: 13px; }

    .cloud-trust-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
    .cloud-trust-item { padding: 24px 16px; }
    .cloud-trust-icon { font-size: 32px; }
    .cloud-trust-name { font-size: 15px; }
    .cloud-trust-desc { font-size: 13px; }

    .cloud-detail-hero { padding: 60px 40px 0; }
    .cloud-detail-title { font-size: 44px; }
    .cloud-detail-lead { font-size: 19px; margin-bottom: 28px; }
    .cloud-detail-actions { margin-bottom: 50px; }

    .device-phone-large {
        width: 210px;
        height: 420px;
        border-radius: 36px;
        padding: 12px;
    }
    .device-browser-large {
        width: 420px;
        height: 280px;
    }
    .device-browser-large .browser-body {
        padding: 24px;
        gap: 16px;
    }
    .device-browser-large .info-card { font-size: 15px; }

    .cloud-feature-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
    .cloud-feature-item { padding: 28px 18px; }
    .cloud-feature-icon { font-size: 32px; }
    .cloud-feature-item h3 { font-size: 15px; }
    .cloud-feature-item p { font-size: 13px; }

    .cloud-pricing-cards { flex-direction: row; gap: 20px; }
    .cloud-pricing-card { flex: 1; padding: 32px 26px; }
}

/* ========== 充值/定价页 ========== */
.pricing-hero {
    padding: 30px 20px 10px;
    text-align: center;
}
.pricing-hero h1 {
    font-size: 24px;
    font-weight: 700;
    color: var(--title);
    margin: 0 0 6px;
}
.pricing-hero p {
    font-size: 14px;
    color: #888;
    margin: 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 16px 0;
}
.pricing-card {
    background: #fff;
    border-radius: 16px;
    padding: 22px 14px;
    text-align: center;
    position: relative;
    border: 2px solid #eee;
}
.pricing-popular {
    border-color: var(--red);
    background: #fff5f5;
}
.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--red);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 14px;
    border-radius: 10px;
}
.pricing-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--title);
    margin-bottom: 10px;
}
.pricing-price {
    font-size: 36px;
    font-weight: 700;
    color: var(--red);
    margin-bottom: 6px;
}
.pricing-symbol { font-size: 18px; }
.pricing-unit {
    font-size: 14px;
    color: #333;
    font-weight: 600;
    margin-bottom: 2px;
}
.pricing-per {
    font-size: 12px;
    color: #999;
}

/* 充值步骤 */
.recharge-steps {
    padding: 6px 0;
}
.step-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid #f0f0f0;
}
.step-item:last-child { border-bottom: none; }
.step-num {
    width: 28px;
    height: 28px;
    background: var(--blue);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
}
.step-text strong {
    display: block;
    font-size: 15px;
    color: var(--title);
    margin-bottom: 4px;
}
.step-text span {
    font-size: 13px;
    color: #888;
}

/* 联系客服卡片 */
.contact-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
}
.contact-qr {
    flex-shrink: 0;
}
.qr-img {
    width: 100px;
    height: 100px;
    border-radius: 10px;
    border: 1px solid #eee;
}
.qr-placeholder {
    width: 100px;
    height: 100px;
    border-radius: 10px;
    background: #f5f5f7;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-size: 13px;
    color: #ccc;
}
.contact-info {
    flex: 1;
}
.contact-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--title);
    margin-bottom: 8px;
}
.contact-phone {
    font-size: 20px;
    font-weight: 700;
    color: var(--blue);
    text-decoration: none;
    display: block;
    margin-bottom: 4px;
}
.contact-wx {
    font-size: 13px;
    color: #666;
    margin-bottom: 6px;
}
.contact-hint {
    font-size: 12px;
    color: var(--red);
    font-weight: 600;
}

/* FAQ */
.faq-item {
    padding: 14px 0;
    border-bottom: 1px solid #f0f0f0;
}
.faq-item:last-child { border-bottom: none; }
.faq-q {
    font-size: 14px;
    font-weight: 600;
    color: var(--title);
    margin-bottom: 6px;
}
.faq-a {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
}

/* ========== 商家中心 ========== */
.page-hero {
    padding: 24px 20px 8px;
    text-align: center;
}
.page-hero h1 {
    font-size: 24px;
    font-weight: 700;
    color: var(--title);
    margin: 0 0 4px;
}
.page-hero p {
    font-size: 14px;
    color: #888;
    margin: 0;
}

.balance-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 16px;
}
.balance-card {
    background: #fff;
    border-radius: 16px;
    padding: 20px 14px;
    text-align: center;
}
.balance-free {
    border: 2px solid #ff9800;
}
.balance-paid {
    border: 2px solid var(--blue);
}
.balance-label {
    font-size: 13px;
    color: #888;
    margin-bottom: 6px;
}
.balance-num {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 4px;
}
.balance-free .balance-num { color: #ff9800; }
.balance-paid .balance-num { color: var(--blue); }
.balance-sub {
    font-size: 12px;
    color: #999;
}

/* 交易记录 */
.log-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.log-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    padding: 12px 14px;
    border-radius: 12px;
}
.log-icon { font-size: 20px; flex-shrink: 0; }
.log-main { flex: 1; min-width: 0; }
.log-desc {
    font-size: 14px;
    color: var(--title);
    font-weight: 600;
}
.log-time {
    font-size: 12px;
    color: #999;
    margin-top: 2px;
}
.log-amount {
    font-size: 14px;
    font-weight: 700;
}
.log-in { color: var(--red); }
.log-out { color: #999; }

/* 最近发布 */
.merchant-jobs {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.merchant-job-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    padding: 10px 14px;
    border-radius: 10px;
    text-decoration: none;
    color: var(--title);
}
.merchant-job-item:active { background: var(--bg-content); }
.mj-left { flex-shrink: 0; }
.mj-status {
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 600;
}
.mj-active { background: #e8f5e9; color: #2e7d32; }
.mj-pending { background: #fff3e0; color: #e65100; }
.mj-rejected { background: #fce4ec; color: #c62828; }
.mj-expired { background: #f5f5f5; color: #999; }
.mj-title {
    flex: 1;
    font-size: 14px;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.mj-time {
    font-size: 12px;
    color: #999;
}

/* 通用按钮 */
.btn-primary {
    background: var(--blue);
    color: #fff;
    border: none;
    cursor: pointer;
    font-weight: 600;
}
.btn-outline {
    background: transparent;
    cursor: pointer;
    font-weight: 600;
}

/* 推广素材管理 */
.promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
    margin-top: 16px;
}
.promo-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e5e5e7;
    display: flex;
    flex-direction: column;
}
.promo-img-wrap {
    width: 100%;
    aspect-ratio: 9/16;
    background: #f5f5f7;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.promo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.promo-info {
    padding: 12px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.promo-name {
    font-size: 13px;
    font-weight: 600;
    color: #1d1d1f;
    word-break: break-all;
}
.promo-meta {
    font-size: 12px;
    color: #86868b;
    display: flex;
    gap: 6px;
}
.promo-actions {
    margin-top: auto;
    display: flex;
    gap: 8px;
    padding-top: 8px;
}
.promo-actions .admin-btn {
    flex: 1;
    text-align: center;
    padding: 8px 10px;
    font-size: 13px;
}
.admin-btn.btn-secondary {
    background: #f5f5f7;
    color: #1d1d1f;
    border: 1px solid #e5e5e7;
}
.admin-btn.btn-secondary:hover {
    background: #ececef;
}
.promo-tips {
    margin-top: 24px;
    padding: 16px 20px;
    background: #f5f5f7;
    border-radius: 8px;
    font-size: 13px;
    color: #1d1d1f;
}
.promo-tips h3 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
}
.promo-tips ul {
    margin: 0;
    padding-left: 20px;
    line-height: 1.8;
}
.promo-tips code {
    background: #fff;
    padding: 1px 6px;
    border-radius: 3px;
    font-size: 12px;
    color: #c0392b;
}
.admin-sub {
    font-size: 13px;
    color: #86868b;
    margin: 4px 0 0;
}
.empty-tip {
    text-align: center;
    padding: 60px 20px;
    color: #86868b;
}
.empty-tip p { margin: 6px 0; }
.empty-tip .hint { font-size: 12px; }

/* 首页商家充值横幅 */
.merchant-banner {
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #fff5f5, #fff0f0);
    border: 1px solid #ffcccc;
    border-radius: 12px;
    padding: 14px 16px;
    margin: -6px 0 20px;
    text-decoration: none;
    transition: background 0.2s;
}
.merchant-banner:active { background: linear-gradient(135deg, #ffe8e8, #ffdddd); }
.mb-left { font-size: 24px; flex-shrink: 0; }
.mb-center {
    flex: 1;
    font-size: 14px;
    font-weight: 600;
    color: #cc3333;
}
.mb-right {
    font-size: 13px;
    color: #999;
    font-weight: 500;
}

/* ========== 今日信息 ========== */
.today-section {
    background: #e7f2f7;
    border-radius: 16px;
    padding: 14px;
    margin-top: 20px;
    margin-bottom: 20px;
}
.today-section-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 6px 12px;
    margin: 0 0 12px;
    padding: 0 2px 10px;
}
.today-section-left {
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-shrink: 0;
    min-width: 0;
}
.today-section-title {
    font-size: 22px;
    font-weight: 700;
    color: #1d1d1f;
    letter-spacing: -0.5px;
    line-height: 1.1;
    white-space: nowrap;
}
.today-section-date {
    font-size: 13px;
    color: #86868b;
    font-weight: 400;
    white-space: nowrap;
    letter-spacing: -0.3px;
}
.today-section-right {
    font-size: 14px;
    text-align: right;
    line-height: 1.4;
    white-space: nowrap;
}
.search-hint {
    color: #F23030;
    font-weight: 600;
}
.today-divider {
    width: 100%;
    height: auto;
    margin-bottom: 12px;
    display: block;
}
.today-info-list {
    margin-top: 0;
    margin-bottom: 0;
}
.today-info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #ffffff;
    border-radius: 10px;
    padding: 10px 12px;
    margin-bottom: 16px;
    text-decoration: none;
    color: #1d1d1f;
    transition: background 0.15s;
}
.today-info-item:last-child { margin-bottom: 0; }
.today-info-item:active { background: #ececef; }
.today-info-item.is-top { border-left: 3px solid #ff3b30; }
.today-info-main { flex: 1; min-width: 0; }
.today-info-title {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.today-cat {
    display: inline-block;
    color: #333333;
    font-size: 14px;
    font-weight: 700;
    margin-right: 6px;
    flex-shrink: 0;
}
.today-info-desc {
    font-size: 13px;
    color: #86868b;
    margin-top: 3px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.today-info-meta {
    font-size: 13px;
    color: #aeaeb2;
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.today-phone-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #009FFF;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}
.today-phone-btn:active { opacity: 0.6; }
.today-phone-icon {
    width: 18px;
    height: 18px;
    vertical-align: middle;
}
.today-info-thumb {
    width: 56px;
    height: 56px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}
.today-info-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.today-detail-link {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #86868b;
    font-weight: 500;
    line-height: 1.3;
}
.top-badge {
    background: #ff3b30;
    color: #fff;
    font-size: 10px;
    padding: 1px 5px;
    border-radius: 3px;
    margin-right: 3px;
}

/* ===== 首页图廊（今日信息下方，纯图片21:9贴边全宽） ===== */
/* 图廊轮播：移动端圆角卡片式（贴左右边缘，和其他信息条对齐），桌面端贴边全宽（和顶部 banner 一致） */
.gallery-wrap {
    position: relative;
    margin-bottom: 20px;
    aspect-ratio: 16 / 9;
    background: var(--bg-content);
    border-radius: var(--radius);
    overflow: hidden;
}
.gallery-slide {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: none;   /* 关闭原生吸附，手机端改由JS判断滑动方向，一次只翻一页，避免惯性甩页 */
    touch-action: pan-y;      /* 横向滚动交JS接管，浏览器只处理垂直，根治惯性甩页停在两张中间 */
    scrollbar-width: none;
    height: 100%;
    border-radius: var(--radius);
}
.gallery-slide::-webkit-scrollbar { display: none; }
.gallery-item {
    flex: 0 0 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
}
.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
/* 图廊左下角标题（与 banner 一致：无背景框，纯文字+阴影，可点击） */
.gallery-caption {
    position: absolute;
    bottom: 10px;
    left: 10px;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 0;
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
    max-width: calc(100% - 140px);
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    line-height: 1;
    -webkit-tap-highlight-color: transparent;
    text-shadow:
        0 1px 2px rgba(0,0,0,0.9),
        0 0 6px rgba(0,0,0,0.6),
        1px 1px 1px rgba(0,0,0,0.8);
}
.gallery-caption:active { opacity: 0.7; }
.gallery-img-link { display: block; }
.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 6;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: #333333;
    color: #fff;
    font-size: 22px;
    font-weight: 300;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    line-height: 1;
    padding: 0;
}
.gallery-arrow:hover { background: #1d1d1f; }
.gallery-arrow-left { left: 16px; }
.gallery-arrow-right { right: 16px; }
.gallery-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 6;
}
.gallery-dots span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    transition: background 0.2s;
}
.gallery-dots span.active { background: #fff; }

@media (min-width: 769px) {
    .gallery-wrap {
        width: 100vw;
        margin-left: calc(50% - 50vw);
        border-radius: 0;                /* 桌面端贴边，去圆角 */
        aspect-ratio: 21 / 9;            /* 超宽比例，大气 */
        background: #F5F5F7;
    }
    .gallery-slide {
        border-radius: 0;
        overflow: hidden;
        scroll-snap-type: none;
    }
    .gallery-arrow { display: flex; }
    .gallery-slide { overflow: hidden; scroll-snap-type: none; }
}

/* ========== 首页板块（二手交易/租房信息） ========== */
.home-section {
    border-radius: 16px;
    padding: 14px;
    margin-top: 20px;
}
.home-section--trade { background: #faf6e7; }
.home-section--rent { background: #dbf0ef; }
.home-section-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin: 0 0 12px;
    padding: 0 2px 10px;
}
.home-section-left {
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-shrink: 0;
    min-width: 0;
}
.home-section-title {
    font-size: 22px;
    font-weight: 700;
    color: #1d1d1f;
    letter-spacing: -0.5px;
    line-height: 1.1;
    white-space: nowrap;
}
.home-section-sub {
    font-size: 15px;
    color: #86868b;
    font-weight: 400;
    white-space: nowrap;
    letter-spacing: -0.3px;
}
.home-section-more {
    font-size: 14px;
    color: #009FFF;
    font-weight: 600;
    white-space: nowrap;
    text-decoration: none;
}
.home-section-more:active { opacity: 0.6; }

.home-info-list {
    margin-bottom: 16px;
}
.home-info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #ffffff;
    border-radius: 10px;
    padding: 10px 12px;
    margin-bottom: 16px;
    text-decoration: none;
    color: #1d1d1f;
    transition: background 0.15s;
}
.home-info-item:last-child { margin-bottom: 0; }
.home-info-item:active { background: #ececef; }
.home-info-item.is-top { border-left: 3px solid #ff3b30; }
.home-info-main { flex: 1; min-width: 0; }
.home-info-title {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.home-cat {
    display: inline-block;
    color: #333333;
    font-size: 14px;
    font-weight: 700;
    margin-right: 6px;
    flex-shrink: 0;
}
.home-info-meta {
    font-size: 13px;
    color: #aeaeb2;
    margin-top: 5px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.home-price {
    color: #f23030;
    font-weight: 700;
    font-size: 14px;
}
.home-loc {
    color: #86868b;
}
.home-date {
    color: #aeaeb2;
}
.home-phone-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    color: #009FFF;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
}
.home-phone-btn:active { opacity: 0.6; }

/* ========== 数字商业街（苹果风格） ========== */
.digital-shop {
    margin: 20px 0;
    padding: 32px 20px 24px;
    border-radius: 16px;
    background: #F5F5F7;
    color: #1d1d1f;
    text-align: center;
}
.ds-title {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.5px;
    line-height: 1.1;
    margin-bottom: 8px;
}
.ds-subtitle {
    font-size: 15px;
    color: #6e6e73;
    line-height: 1.5;
    margin-bottom: 18px;
    padding: 0 8px;
}
.ds-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.ds-btn-primary {
    display: inline-block;
    padding: 10px 22px;
    background: #0071e3;
    color: #fff;
    border-radius: 20px;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: opacity 0.15s;
}
.ds-btn-primary:active { opacity: 0.7; }
.ds-btn-outline {
    display: inline-block;
    padding: 10px 22px;
    background: transparent;
    color: #0071e3;
    border: 1px solid #0071e3;
    border-radius: 20px;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: opacity 0.15s;
}
.ds-btn-outline:active { opacity: 0.7; }
.ds-image {
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
    display: block;
}
.ds-tag {
    display: inline-block;
    font-size: 12px;
    color: #1d1d1f;
    background: #ffd60a;
    padding: 3px 10px;
    border-radius: 20px;
    font-weight: 600;
    margin-bottom: 14px;
}

/* ========== 便民电话黄页入口 ========== */
.yellow-pages {
    margin: 20px 0;
    border-radius: 16px;
    background: #f8e9e8;
    padding: 14px;
}
.yp-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin: 0 0 12px;
    padding: 0 2px 10px;
}
.yp-left {
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-shrink: 0;
    min-width: 0;
}
.yp-title {
    font-size: 22px;
    font-weight: 700;
    color: #1d1d1f;
    letter-spacing: -0.5px;
    line-height: 1.1;
    white-space: nowrap;
}
.yp-sub {
    font-size: 15px;
    color: #86868b;
    font-weight: 400;
    white-space: nowrap;
    letter-spacing: -0.3px;
}
.yp-more {
    font-size: 14px;
    color: #009FFF;
    font-weight: 600;
    white-space: nowrap;
    text-decoration: none;
}
.yp-more:active { opacity: 0.6; }
.yp-list {
    margin-bottom: 0;
}
.yp-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #ffffff;
    border-radius: 10px;
    padding: 10px 12px;
    margin-bottom: 16px;
    text-decoration: none;
    color: #1d1d1f;
    transition: background 0.15s;
}
.yp-item:last-child { margin-bottom: 0; }
.yp-item:active { background: #ececef; }
.yp-item-main { flex: 1; min-width: 0; }
.yp-item-title {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.yp-phone-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #009FFF;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
}
.yp-phone-btn .today-phone-icon {
    width: 18px;
    height: 18px;
    vertical-align: middle;
}
.yp-phone-btn:active { opacity: 0.6; }

/* ========== 法律页面（用户协议/隐私政策） ========== */
.legal-page {
    max-width: 720px;
    margin: 0 auto;
    padding: 20px 16px 100px;
}
.legal-page h1 {
    font-size: 22px;
    font-weight: 700;
    color: #1d1d1f;
    text-align: center;
    margin-bottom: 4px;
}
.legal-updated {
    text-align: center;
    font-size: 13px;
    color: #86868b;
    margin-bottom: 24px;
}
.legal-page h2 {
    font-size: 16px;
    font-weight: 700;
    color: #1d1d1f;
    margin-top: 22px;
    margin-bottom: 8px;
}
.legal-page p {
    font-size: 14px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 6px;
}
.legal-page ul {
    margin: 6px 0 10px 18px;
    padding: 0;
}
.legal-page li {
    font-size: 14px;
    line-height: 1.8;
    color: #333;
}
.legal-page strong {
    color: #1d1d1f;
}

/* 价值观页面专用 */
.values-hero {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    color: #A63A2A;
    letter-spacing: 0.15em;
    margin: 8px 0 28px;
}
.values-pull {
    text-align: center;
    margin: 28px 0;
    padding: 20px 16px;
    background: #f5f5f7;
    border-radius: 8px;
}
.values-pull p {
    font-size: 16px;
    line-height: 2;
    color: #1d1d1f;
    margin: 0;
}
.values-signature {
    text-align: center;
    font-size: 15px;
    color: #86868b;
    line-height: 1.8;
    margin: 20px 0 8px;
}

/* ========== 站点页脚 ========== */
.site-footer {
    background: #f5f5f7;
    padding: 20px 16px calc(var(--nav-h) + 16px);
    text-align: center;
}
.footer-inner a {
    font-size: 13px;
    color: #555;
    text-decoration: none;
}
.footer-inner a:hover {
    color: var(--blue);
}
.footer-sep {
    color: #c8c8cc;
    margin: 0 8px;
}
.footer-copyright {
    font-size: 12px;
    color: #86868b;
    margin-top: 8px;
}

/* ========== 协议勾选框 ========== */
.agree-row {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 400 !important;
    color: #555;
}
.agree-row input[type="checkbox"] {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}
.agree-row a {
    color: var(--blue);
    text-decoration: none;
}

/* ========== 举报系统 ========== */
.report-trigger {
    background: none;
    border: none;
    color: #86868b;
    font-size: 13px;
    padding: 6px 12px;
    cursor: pointer;
}
.report-trigger:active {
    color: #e34040;
}
.report-modal {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}
.report-modal-mask {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.4);
}
.report-modal-box {
    position: relative;
    background: #fff;
    border-radius: 16px;
    padding: 24px 20px;
    width: 90%;
    max-width: 360px;
    z-index: 1;
}
.report-modal-box h3 {
    font-size: 17px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
    color: #1d1d1f;
}
.report-reasons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 14px;
}
.report-reasons label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    color: #333;
    cursor: pointer;
}
.report-reasons input[type="radio"] {
    width: 18px;
    height: 18px;
}
#report-detail {
    width: 100%;
    border: 1px solid #d2d2d7;
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 14px;
    resize: none;
    box-sizing: border-box;
}
.report-modal-btns {
    display: flex;
    gap: 10px;
    margin-top: 14px;
}
.report-btn-cancel {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 10px;
    background: #f5f5f7;
    color: #555;
    font-size: 15px;
    cursor: pointer;
}
.report-btn-submit {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 10px;
    background: #e34040;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}
.report-btn-submit:active {
    opacity: 0.8;
}

/* ========== 分享功能 ========== */
.share-card {
    background: var(--bg-content);
    border-radius: var(--radius);
    padding: 18px;
    margin-bottom: 12px;
    text-align: center;
}
.share-btn {
    display: block;
    width: 100%;
    background: #07c160;
    color: #fff;
    border: none;
    padding: 14px;
    border-radius: 25px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    box-sizing: border-box;
}
.share-btn:active { opacity: 0.85; }
.share-btn-sub {
    margin-top: 8px;
    font-size: 12px;
    color: #86868b;
}
.share-modal {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}
.share-modal-mask {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.4);
}
.share-modal-box {
    position: relative;
    background: #fff;
    border-radius: 16px;
    padding: 24px 20px;
    width: 90%;
    max-width: 360px;
    z-index: 1;
    text-align: center;
}
.share-modal-box h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #1d1d1f;
}
.share-qr {
    display: flex;
    justify-content: center;
    margin-bottom: 14px;
}
.share-qr img, .share-qr canvas {
    border: 1px solid #f2f2f4;
    border-radius: 8px;
}
.share-url-display {
    font-size: 12px;
    color: #86868b;
    word-break: break-all;
    margin-bottom: 14px;
    padding: 8px 10px;
    background: #f5f5f7;
    border-radius: 8px;
    line-height: 1.5;
}
.share-copy-btn {
    display: block;
    width: 100%;
    background: #07c160;
    color: #fff;
    border: none;
    padding: 12px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    box-sizing: border-box;
    margin-bottom: 10px;
}
.share-copy-btn:active { opacity: 0.85; }
.share-tip {
    font-size: 12px;
    color: #86868b;
    margin-bottom: 14px;
}
.share-close-btn {
    display: block;
    width: 100%;
    background: #f5f5f7;
    color: #555;
    border: none;
    padding: 10px;
    border-radius: 10px;
    font-size: 15px;
    cursor: pointer;
    box-sizing: border-box;
}

/* ========== 微信浏览器分享引导浮层 ========== */
.wx-share-guide {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 10000;
    background: rgba(0,0,0,0.75);
    color: #fff;
}
.wx-guide-arrow {
    font-size: 64px;
    text-align: right;
    padding: 12px 24px 0 0;
    line-height: 1;
    animation: wxGuideBounce 1s ease-in-out infinite;
}
.wx-guide-text {
    text-align: right;
    padding-right: 24px;
    margin-top: 4px;
}
.wx-guide-text strong {
    font-size: 20px;
    display: block;
    margin-bottom: 8px;
}
.wx-guide-text p {
    font-size: 14px;
    color: rgba(255,255,255,0.75);
}
.wx-guide-hint {
    position: absolute;
    bottom: 80px;
    left: 0; right: 0;
    text-align: center;
    font-size: 13px;
    color: rgba(255,255,255,0.4);
}
@keyframes wxGuideBounce {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(6px, -6px); }
}

/* ========== 专属海报弹窗 ========== */
.share-btn-row {
    display: flex;
    gap: 10px;
    width: 100%;
}
.share-btn-row .share-btn {
    flex: 1;
    margin: 0;
}
.poster-btn {
    background: linear-gradient(135deg, #1a73e8 0%, #00b67a 100%) !important;
    color: #fff !important;
}
.poster-btn:active {
    opacity: 0.9;
}
.poster-modal-box { max-width: 420px; padding: 20px 16px; }
.poster-img {
    width: 100%;
    height: auto;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    background: #f5f5f5;
    display: block;
    -webkit-user-select: none;
    user-select: none;
    -webkit-touch-callout: default;
}

/* ========== 发布信息分类页 ========== */
.publish-page {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 10px 12px 100px;
}
.publish-header {
    text-align: center;
    margin-bottom: 10px;
}
.publish-title {
    font-size: 24px;
    font-weight: 700;
    color: #1d1d1f;
    letter-spacing: -0.5px;
}
.publish-subtitle {
    font-size: 20px;
    font-weight: 700;
    color: #333333;
}
.publish-group {
    margin-bottom: 14px;
}
.publish-group-title {
    font-size: 16px;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 10px;
    text-align: left;
    padding-left: 0;
}
.publish-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}
.publish-grid--2 {
    grid-template-columns: repeat(2, 1fr);
}
.publish-grid--1 {
    grid-template-columns: 1fr;
}
.publish-grid--1 .publish-card {
    flex-direction: row;
    text-align: left;
    padding: 16px 20px;
}
.publish-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    background: #fff;
    border-radius: 14px;
    padding: 16px 8px 12px;
    text-decoration: none;
    color: #1d1d1f;
    transition: transform 0.12s;
    position: relative;
}
.publish-card:active { transform: scale(0.98); }
.publish-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    flex-shrink: 0;
}
.publish-merchant-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #F5F5F7;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    flex-shrink: 0;
}
.publish-card-body {
    width: 100%;
}
.publish-grid--1 .publish-card-body {
    width: auto;
    flex: 1;
}
.publish-card-title {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
}
.publish-card-desc {
    font-size: 13px;
    color: #86868b;
    margin-top: 2px;
    line-height: 1.3;
}
.publish-card-tag {
    position: absolute;
    top: 8px;
    right: 8px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    background: #FF9500;
    padding: 2px 8px;
    border-radius: 20px;
    white-space: nowrap;
}
.publish-tag-free {
    background: #34C759;
}
.publish-tag-hot {
    background: #F23030;
}
.publish-card-merchant {
    background: linear-gradient(135deg, #f5f5f7 0%, #e8e8ed 100%);
}
/* 温馨提示 */
.publish-tip {
    margin-top: 24px;
    padding: 16px;
    background: #FFF8E1;
    border-radius: 14px;
}
.publish-tip-title {
    font-size: 14px;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 8px;
}
.publish-tip-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.publish-tip-list li {
    font-size: 13px;
    color: #86868b;
    line-height: 1.6;
    padding-left: 16px;
    position: relative;
}
.publish-tip-list li::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 9px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #FF9500;
}

/* ========== 底部导航栏 5按钮 ========== */
.bottom-nav {
    height: 64px;
}
.nav-item {
    font-size: 12px;
}
.nav-icon {
    margin-bottom: 4px;
}
.nav-post .nav-icon {
    margin-top: -24px;
    filter: drop-shadow(0 4px 12px rgba(237,96,96,0.35));
}

/* ========== 使用说明页 ========== */
.help-page {
    max-width: 640px;
    margin: 0 auto;
    padding: 0 16px 40px;
}
.help-hero {
    text-align: center;
    padding: 30px 0 20px;
}
.help-hero-title {
    font-size: 28px;
    font-weight: 700;
    color: #1d1d1f;
    letter-spacing: -0.5px;
}
.help-hero-sub {
    font-size: 15px;
    color: #86868b;
    margin-top: 6px;
}
.help-section {
    border-radius: 16px;
    padding: 14px;
    margin-bottom: 20px;
}
.help-section-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 2px 12px;
}
.help-section-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: #1d1d1f;
    color: #fff;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
}
.help-section-title {
    font-size: 22px;
    font-weight: 700;
    color: #1d1d1f;
    letter-spacing: -0.5px;
}
.help-card {
    background: #fff;
    border-radius: 12px;
    padding: 16px;
}

/* 平台介绍 */
.help-intro {
    font-size: 15px;
    color: #333;
    line-height: 1.6;
    margin-bottom: 16px;
    font-weight: 500;
}
.help-feature-row {
    display: flex;
    gap: 10px;
}
.help-feature-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 4px;
}
.help-feature-icon {
    font-size: 28px;
}
.help-feature-label {
    font-size: 14px;
    font-weight: 700;
    color: #1d1d1f;
}
.help-feature-desc {
    font-size: 12px;
    color: #86868b;
    line-height: 1.3;
}

/* 发布步骤 */
.help-step {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}
.help-step:last-child { border-bottom: none; }
.help-step-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: #1d1d1f;
    color: #fff;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 1px;
}
.help-step-title {
    font-size: 15px;
    font-weight: 600;
    color: #1d1d1f;
    line-height: 1.3;
}
.help-step-desc {
    font-size: 13px;
    color: #86868b;
    margin-top: 3px;
    line-height: 1.4;
}

/* 发布规则 */
.help-rule-block {
    margin-bottom: 14px;
}
.help-rule-block:last-of-type { margin-bottom: 0; }
.help-rule-label {
    font-size: 14px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 10px;
}
.help-rule-ok {
    background: #e8f8e8;
    color: #1a7a1a;
}
.help-rule-no {
    background: #fde8e8;
    color: #c01a1a;
}
.help-rule-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.help-rule-list li {
    font-size: 14px;
    color: #333;
    line-height: 1.6;
    padding-left: 16px;
    position: relative;
}
.help-rule-list li::before {
    content: "·";
    position: absolute;
    left: 4px;
    font-weight: 700;
    color: #86868b;
}
.help-rule-warn {
    margin-top: 12px;
    padding: 10px 14px;
    background: #fff3cd;
    border-radius: 10px;
    font-size: 13px;
    color: #856404;
    line-height: 1.5;
}

/* 收费表格 */
.help-price-table {
    width: 100%;
    border-collapse: collapse;
}
.help-price-table th {
    text-align: left;
    font-size: 13px;
    color: #86868b;
    font-weight: 600;
    padding: 8px 0;
    border-bottom: 1px solid #e5e5ea;
}
.help-price-table td {
    padding: 11px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
    color: #1d1d1f;
    vertical-align: middle;
}
.help-price-table tr:last-child td { border-bottom: none; }
.price-free {
    color: #1a7a1a;
    font-weight: 700;
}
.price-paid {
    color: #c01a1a;
    font-weight: 700;
}
.price-note {
    display: block;
    font-size: 12px;
    color: #86868b;
    font-weight: 400;
    margin-top: 2px;
}

/* 安全防骗 */
.help-safety-item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}
.help-safety-item:last-child { border-bottom: none; padding-bottom: 0; }
.help-safety-item:first-child { padding-top: 0; }
.help-safety-icon {
    font-size: 22px;
    flex-shrink: 0;
}
.help-safety-title {
    font-size: 15px;
    font-weight: 600;
    color: #1d1d1f;
    line-height: 1.3;
}
.help-safety-desc {
    font-size: 13px;
    color: #86868b;
    margin-top: 3px;
    line-height: 1.4;
}

/* FAQ */
.faq-item {
    border-bottom: 1px solid #f0f0f0;
}
.faq-item:last-child { border-bottom: none; }
.faq-q {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    cursor: pointer;
    user-select: none;
}
.faq-q-text {
    font-size: 15px;
    font-weight: 600;
    color: #1d1d1f;
}
.faq-arrow {
    font-size: 20px;
    color: #86868b;
    transition: transform 0.2s;
    flex-shrink: 0;
}
.faq-item.open .faq-arrow {
    transform: rotate(90deg);
}
.faq-a {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    padding-bottom: 14px;
    display: none;
}
.faq-item.open .faq-a {
    display: block;
}

/* 底部联系 */
.help-contact {
    text-align: center;
    padding: 20px 0 10px;
}
.help-contact-text {
    font-size: 14px;
    color: #86868b;
    margin-bottom: 12px;
}
.help-contact-btn {
    display: inline-block;
    padding: 12px 28px;
    background: #1d1d1f;
    color: #fff;
    border: none;
    border-radius: 24px;
    font-size: 16px;
    font-weight: 700;
    font-family: inherit;
    text-decoration: none;
    cursor: pointer;
    -webkit-appearance: none;
}
.help-contact-btn:active { opacity: 0.7; }

/* ========== 用户认证页面 ========== */
.auth-page {
    max-width: 420px;
    margin: 0 auto;
    padding: 20px 16px 80px;
}
.auth-card {
    background: #F5F5F7;
    border-radius: 16px;
    padding: 28px 22px;
    box-shadow: 0 1px 6px rgba(0,0,0,0.06);
}
.auth-card-wide {
    max-width: 520px;
    margin: 0 auto;
}
.auth-title {
    font-size: 22px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 6px;
}
.auth-subtitle {
    font-size: 13px;
    color: #86868b;
    text-align: center;
    margin-bottom: 22px;
}
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.auth-field {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.auth-field label {
    font-size: 16px;
    font-weight: 600;
    color: #1d1d1f;
}
.auth-field input,
.auth-field select,
.auth-field textarea {
    padding: 10px 12px;
    border: 1.5px solid #e0e0e0;
    border-radius: 10px;
    font-size: 15px;
    outline: none;
    transition: border-color 0.15s;
    -webkit-appearance: none;
}
.auth-field input:focus,
.auth-field select:focus,
.auth-field textarea:focus {
    border-color: #0071e3;
}
.auth-select {
    background: #fff;
    cursor: pointer;
}
.auth-textarea {
    resize: vertical;
    min-height: 60px;
}
.auth-required {
    color: #e34040;
}
.captcha-hint {
    font-size: 12px;
    font-weight: 400;
    color: #86868b;
    margin-left: 6px;
}
.auth-captcha-row {
    display: flex;
    gap: 10px;
    align-items: stretch;
}
.auth-captcha-row input {
    flex: 0 1 60%;
    max-width: 180px;
    min-width: 0;
}
.auth-captcha-img {
    width: 120px;
    height: 44px;
    border-radius: 8px;
    cursor: pointer;
    border: 1.5px solid #e0e0e0;
    flex-shrink: 0;
}
.auth-btn {
    width: 100%;
    padding: 13px;
    background: #0071e3;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 4px;
    -webkit-appearance: none;
}
.auth-btn:active { opacity: 0.8; }
.auth-footer {
    text-align: center;
    margin-top: 18px;
    font-size: 14px;
    color: #86868b;
}
.auth-footer a {
    color: #0071e3;
    font-weight: 600;
}
.auth-notice {
    background: #f5f5f7;
    border-radius: 10px;
    padding: 12px 14px;
    margin-top: 4px;
}
.auth-notice-title {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 4px;
}
.auth-notice ul {
    margin: 0;
    padding-left: 16px;
    font-size: 12px;
    color: #666;
    line-height: 1.8;
}

/* ========== 用户个人中心 ========== */
.user-page {
    max-width: 680px;
    margin: 0 auto;
    padding: 16px 14px 80px;
}
.user-card {
    background: #fff;
    border-radius: 16px;
    padding: 18px 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}
/* 钱包 */
.user-wallet {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    border-radius: 16px;
    padding: 16px 18px;
    margin-top: 14px;
    color: #fff;
}
.user-wallet-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}
.user-wallet-title {
    font-size: 15px;
    font-weight: 600;
    opacity: 0.9;
}
.user-wallet-recharge {
    font-size: 14px;
    color: #FFD60A;
    text-decoration: none;
    font-weight: 600;
}
.user-wallet-body {
    display: flex;
    align-items: center;
}
.user-wallet-item {
    flex: 1;
    text-align: center;
}
.user-wallet-num {
    font-size: 26px;
    font-weight: 800;
    line-height: 1;
}
.user-wallet-label {
    font-size: 12px;
    opacity: 0.6;
    margin-top: 6px;
}
.user-wallet-divider {
    width: 1px;
    height: 32px;
    background: rgba(255,255,255,0.15);
}
.user-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0071e3, #42a1ec);
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.user-info {
    flex: 1;
    min-width: 0;
}
.user-name {
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}
.user-badge {
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 20px;
}
.user-badge-merchant {
    background: #fff3cd;
    color: #856404;
}
.user-badge-normal {
    background: #e3f2fd;
    color: #0071e3;
}
.user-meta {
    font-size: 12px;
    color: #86868b;
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}
.user-meta-divider {
    width: 1px;
    height: 10px;
    background: #ddd;
}
.user-alert {
    background: #fff8e1;
    border-radius: 12px;
    padding: 12px 14px;
    margin-top: 12px;
}
.user-alert-text {
    font-size: 13px;
    color: #856404;
    margin-bottom: 8px;
}
.user-alert-form {
    display: flex;
    gap: 8px;
}
.user-alert-form input {
    flex: 1;
    padding: 8px 12px;
    border: 1.5px solid #e0d6a8;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
}
.user-alert-btn {
    padding: 8px 16px;
    background: #ffc107;
    color: #5d4a00;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    -webkit-appearance: none;
}
.user-actions {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 14px;
}
.user-action-item {
    background: #fff;
    border-radius: 12px;
    padding: 14px 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: #1d1d1f;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.user-action-item:active { transform: scale(0.96); }
.user-action-icon {
    font-size: 26px;
}
.user-action-label {
    font-size: 12px;
    font-weight: 600;
}
.user-section {
    background: #fff;
    border-radius: 14px;
    margin-top: 14px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.user-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 14px;
    border-bottom: 1px solid #f0f0f0;
}
.user-section-title {
    font-size: 15px;
    font-weight: 700;
}
.user-section-count {
    font-size: 12px;
    color: #86868b;
}
.user-post-list {
    display: flex;
    flex-direction: column;
}
.user-post-item {
    display: block;
    padding: 12px 14px;
    border-bottom: 1px solid #f5f5f5;
    text-decoration: none;
    color: #1d1d1f;
}
.user-post-item:last-child { border-bottom: none; }
.user-post-item:active { background: #f9f9f9; }
.user-post-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}
.user-post-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}
.user-post-type {
    font-size: 11px;
    background: #f0f0f0;
    padding: 2px 6px;
    border-radius: 4px;
    color: #666;
}
.user-post-date {
    font-size: 11px;
    color: #aaa;
    margin-left: auto;
}
.user-post-item-wrap {
    border-bottom: 1px solid #f5f5f5;
}
.user-post-item-wrap:last-child { border-bottom: none; }
.pin-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 600;
    padding: 1px 6px;
    border-radius: 4px;
    vertical-align: middle;
    margin-left: 4px;
}
.pin-active {
    background: #FF9500;
    color: #fff;
}
.pin-status {
    font-size: 11px;
    color: #FF9500;
    padding: 2px 14px 6px;
}
.pin-form {
    padding: 0 14px 8px;
}
.pin-btn {
    width: 100%;
    padding: 6px 12px;
    border: 1px solid #FF9500;
    background: #FFF8EE;
    color: #FF9500;
    font-size: 12px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    font-family: inherit;
}
.pin-btn:active {
    background: #FF9500;
    color: #fff;
}
.unpin-btn {
    width: 100%;
    padding: 6px 12px;
    border: 1px solid #C7C7CC;
    background: #F2F2F7;
    color: #8E8E93;
    font-size: 12px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    font-family: inherit;
}
.unpin-btn:active {
    background: #C7C7CC;
    color: #fff;
}
.user-empty {
    text-align: center;
    padding: 40px 20px;
    color: #86868b;
}
.user-empty-icon {
    font-size: 40px;
    margin-bottom: 8px;
}
.user-empty-text {
    font-size: 14px;
    margin-bottom: 14px;
}
.user-empty-btn {
    display: inline-block;
    padding: 8px 24px;
    background: #0071e3;
    color: #fff;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}
.user-merchant-info {
    padding: 12px 14px;
    font-size: 13px;
    color: #666;
    line-height: 1.8;
}
.user-merchant-reject {
    color: #e34040;
}
.user-pwd-form {
    padding: 12px 14px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.user-pwd-form input {
    flex: 1;
    min-width: 120px;
    padding: 8px 12px;
    border: 1.5px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
}
.user-pwd-form input:focus { border-color: #0071e3; }
.user-pwd-btn {
    padding: 8px 16px;
    background: #1d1d1f;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    -webkit-appearance: none;
}

/* ========== 站内消息 ========== */

/* 底部导航红点 */
.nav-badge {
    position: absolute;
    top: 0;
    right: 50%;
    margin-right: -20px;
    background: #FF3B30;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    line-height: 18px;
    border-radius: 9px;
    padding: 0 4px;
    text-align: center;
    z-index: 10;
}
.nav-item { position: relative; }

/* 详情页发消息入口 */
.detail-msg {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #f0f0f0;
}
.detail-msg-own {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #f0f0f0;
    font-size: 13px;
    color: #999;
    text-align: center;
}
.msg-toggle-btn {
    display: block;
    width: 100%;
    padding: 10px;
    border: 1px solid #34C759;
    background: #F0FFF4;
    color: #34C759;
    font-size: 14px;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    font-family: inherit;
    text-align: center;
}
.msg-toggle-btn:active {
    background: #34C759;
    color: #fff;
}
.msg-toggle-link {
    text-decoration: none;
}
.msg-textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 14px;
    font-family: inherit;
    resize: none;
    box-sizing: border-box;
}
.msg-submit-btn {
    margin-top: 8px;
    width: 100%;
    padding: 10px;
    border: none;
    background: #34C759;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    font-family: inherit;
}

/* 消息列表页 */
.msg-page {
    padding: 0 0 60px;
}
.msg-page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 16px 10px;
}
.msg-page-header h2 {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
}
.msg-total-unread {
    font-size: 12px;
    color: #FF3B30;
    font-weight: 600;
}
.msg-session-list {
    padding: 0 16px;
}
.msg-session-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 0;
    border-bottom: 1px solid #f0f0f0;
    text-decoration: none;
    color: inherit;
}
.msg-session-main {
    flex: 1;
    min-width: 0;
}
.msg-session-top {
    display: flex;
    align-items: center;
    gap: 6px;
}
.msg-session-name {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
}
.msg-unread-badge {
    background: #FF3B30;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    min-width: 16px;
    height: 16px;
    line-height: 16px;
    border-radius: 8px;
    padding: 0 4px;
    text-align: center;
}
.msg-session-post {
    font-size: 12px;
    color: #8E8E93;
    margin-top: 2px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.msg-session-preview {
    font-size: 13px;
    color: #555;
    margin-top: 3px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.msg-session-time {
    font-size: 11px;
    color: #C7C7CC;
    white-space: nowrap;
    flex-shrink: 0;
}
.msg-empty {
    text-align: center;
    padding: 60px 20px;
}
.msg-empty-icon {
    font-size: 48px;
    margin-bottom: 12px;
}
.msg-empty p {
    font-size: 15px;
    color: #8E8E93;
    margin: 4px 0;
}
.msg-empty-hint {
    font-size: 13px !important;
    color: #C7C7CC !important;
}
.msg-empty-btn {
    display: inline-block;
    margin-top: 16px;
    padding: 8px 24px;
    background: var(--blue);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    border-radius: 20px;
    text-decoration: none;
}

/* 对话详情页 */
.chat-page {
    padding: 0 0 60px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
.chat-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    border-bottom: 1px solid #f0f0f0;
}
.chat-back {
    font-size: 16px;
    color: var(--blue);
    text-decoration: none;
    white-space: nowrap;
}
.chat-peer-name {
    font-size: 16px;
    font-weight: 600;
}
.chat-post-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    background: #F5F5F7;
    font-size: 13px;
    color: #555;
    text-decoration: none;
    border-bottom: 1px solid #f0f0f0;
}
.chat-post-arrow {
    color: #C7C7CC;
}
.chat-msgs {
    flex: 1;
    padding: 16px;
    overflow-y: auto;
}
.chat-msg {
    margin-bottom: 14px;
    display: flex;
    flex-direction: column;
}
.chat-msg-mine {
    align-items: flex-end;
}
.chat-msg-peer {
    align-items: flex-start;
}
.chat-bubble {
    max-width: 75%;
    padding: 10px 14px;
    border-radius: 16px;
    font-size: 14px;
    line-height: 1.5;
    word-break: break-word;
}
.chat-msg-mine .chat-bubble {
    background: #34C759;
    color: #fff;
    border-bottom-right-radius: 4px;
}
.chat-msg-peer .chat-bubble {
    background: #F2F2F7;
    color: #1a1a1a;
    border-bottom-left-radius: 4px;
}
.chat-msg-time {
    font-size: 10px;
    color: #C7C7CC;
    margin-top: 4px;
}
.chat-reply-form {
    display: flex;
    gap: 8px;
    padding: 10px 16px;
    border-top: 1px solid #f0f0f0;
    background: #fff;
    position: sticky;
    bottom: 56px;
}
.chat-reply-input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 20px;
    font-size: 14px;
    font-family: inherit;
    resize: none;
    max-height: 80px;
}
.chat-reply-btn {
    padding: 8px 16px;
    border: none;
    background: #34C759;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    border-radius: 20px;
    cursor: pointer;
    font-family: inherit;
    white-space: nowrap;
}

/* ==================== 招聘页面 - 一眼舒服的筛选导航 ==================== */
.recruit-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    margin-bottom: 14px;
    padding: 6px 0;
}
.recruit-header-left {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    /* 王涛 2026-09-04：图标 + 标题整体右移 20px。
       用 transform 而不是 margin/padding——只做视觉平移，不动布局流，
       右边的「发布招聘」按钮位置完全不受影响 */
    transform: translateX(20px);
}
.recruit-header-img {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    object-fit: contain;
    display: block;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}
/* info 板块的 emoji 图标（生活服务/二手/租房等）：和 .recruit-header-img 同款圆角方块，
   用淡青底 + emoji 居中，视觉与招聘页的 webp 图标对齐（2026-09-05 统一） */
.recruit-header-emoji {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #F3FAFE;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    line-height: 1;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}
.recruit-header-title {
    font-size: 22px;
    font-weight: 800;
    color: #333333;
    line-height: 1.2;
}
.recruit-header-btn {
    padding: 8px 16px;
    background: var(--blue);
    color: #fff;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.2s;
    justify-self: center;
    width: fit-content;
    white-space: nowrap;
}
.recruit-header-btn:active {
    opacity: 0.8;
}

.recruit-filter-card {
    padding: 12px 14px;
    background: #F3FAFE;
}
.filter-group {
    margin-bottom: 10px;
}
.filter-group:last-of-type {
    margin-bottom: 0;
}
.filter-label {
    font-size: 12px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.filter-label::before {
    content: '';
    width: 3px;
    height: 14px;
    background: var(--blue);
    border-radius: 2px;
}

/* 工作性质：四列等宽，不需要滑动 */
.job-type-tabs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}
.job-type-tab {
    text-align: center;
    padding: 7px 2px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 500;
    color: var(--nav);
    background: var(--white);
    border: 1px solid var(--border);
    transition: all 0.2s;
    text-decoration: none;
}
.job-type-tab.active {
    background: var(--blue);
    color: #fff;
    border-color: var(--blue);
    box-shadow: 0 2px 8px rgba(0,159,255,0.2);
    font-weight: 600;
}
.job-type-tab:active {
    opacity: 0.8;
}

/* 行业划分：和工作性质一样的纯文字按钮 */
.job-industry-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}
.job-industry-tab {
    text-align: center;
    padding: 7px 2px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 500;
    color: #1d1d1f;
    background: var(--white);
    border: 1px solid #B9E0F5;
    text-decoration: none;
    transition: all 0.2s;
}
.job-industry-tab.active {
    background: var(--blue);
    color: #fff;
    border-color: var(--blue);
    box-shadow: 0 2px 8px rgba(0,159,255,0.2);
    font-weight: 600;
}
.job-industry-tab:active {
    opacity: 0.8;
}

/* 二级行业面板：内嵌在 grid 里展开，占满整行，下方的一级菜单自动往下让开 */
.job-sub-panel {
    display: none;
    grid-column: 1 / -1;
    background: var(--white);
    border: 1px solid #B9E0F5;
    border-radius: 12px;
    padding: 12px;
    margin: 4px 0;
}
.job-sub-panel.show {
    display: block;
}
.jsp-title {
    font-size: 12px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 8px;
}
.jsp-title span {
    color: var(--blue);
}
/* 一级行业按钮展开态 */
.job-industry-tab.open {
    background: var(--blue);
    color: #fff;
    border-color: var(--blue);
}
.job-sub-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.job-sub-tag {
    padding: 5px 12px;
    border-radius: 18px;
    font-size: 12px;
    background: var(--white);
    color: #1d1d1f;
    border: 1px solid var(--border);
    text-decoration: none;
    transition: all 0.2s;
}
.job-sub-tag.active {
    background: var(--blue);
    color: #fff;
    border-color: var(--blue);
    font-weight: 500;
}
.job-sub-tag:active {
    opacity: 0.8;
}

/* 板块内搜索条：只搜当前板块（招聘/求职），区别于顶部导航条的全站搜索。
   通用组件，二手/租房等板块页后续可直接套用 .board-search */
.board-search {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #F3FAFE;    /* 与筛选导航卡片同色，同属"操作区" */
    border: 1px solid #B9E0F5;
    border-radius: 10px;
    padding: 0 4px 0 12px;
    height: 44px;           /* 手指粗点不准：整个搜索条按 44px 触控标准做 */
    margin-bottom: 8px;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
/* 聚焦时底色转白，提示"正在输入"，同时描边转蓝 */
.board-search:focus-within {
    background: var(--white);
    border-color: var(--blue);
    box-shadow: 0 0 0 2px rgba(0,159,255,0.10);
}

.board-search input {
    flex: 1;
    min-width: 0;          /* 关键：允许被压缩，给按钮留空间 */
    border: none;
    outline: none;
    background: transparent;
    font-size: 15px;
    font-family: inherit;
    color: var(--body);
    height: 100%;
}
.board-search input::placeholder {
    color: #999;
}
/* 有搜索词时才出现的清除按钮：视觉 22px，热区扩到 40px 防点不准 */
.bs-clear {
    flex-shrink: 0;
    position: relative;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #C8C8CC;
    color: #fff;
    font-size: 16px;
    line-height: 21px;
    text-align: center;
    text-decoration: none;
}
.bs-clear::after {          /* 隐形热区：看得见 22px，点得到 40px */
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    transform: translate(-50%, -50%);
}
.bs-clear:active {
    opacity: 0.7;
}
/* 放大镜在「搜索」文字左边，与顶部导航条一致；图标用 currentColor 继承按钮白色 */
.bs-btn {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 4px;
    height: 36px;
    padding: 0 14px;
    border: none;
    border-radius: 8px;
    background: var(--blue);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
}
.bs-btn:active {
    opacity: 0.85;
}
/* 列表区路标：一句短文案居中，20px / #333333（2026-09-04 王涛定）
   试过「红角标 + 15px 小字」，王涛嫌碎；最终回到纯文字，但字号给足 20px。
   不要图标、不要角标，就是一句人话把用户往下引。 */
.list-divider {
    text-align: center;
    padding: 14px 8px 16px;
}
.list-divider .ld-main {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 500;
    color: #333333;
    line-height: 1.4;
}
/* 搜索状态：用小字说，不破坏主文案的语气 */
.list-divider .ld-sub {
    margin-top: 8px;
    font-size: 13px;
    color: #86868b;
}
.list-divider .ld-sub a {
    color: var(--blue);
    text-decoration: none;
    font-weight: 500;
    display: inline-block;
    padding: 6px 0 6px 6px;  /* 扩大点击热区，手指粗也点得到 */
}
/* 窄屏（<360px）：10 个字 20px ≈ 200px，320 视口仍放得下，
   这里只是保险——真折行时收一点字号 */
@media (max-width: 359px) {
    .list-divider .ld-main {
        font-size: 17px;
    }
}

@media (min-width: 768px) {
    .recruit-header-icon {
        width: 60px;
        height: 60px;
    }
    .recruit-header-icon img {
        width: 42px;
        height: 42px;
    }
    .recruit-header-text h1 { font-size: 26px; }
    .recruit-header-text p { font-size: 14px; }
    .job-type-tab { font-size: 15px; padding: 12px 4px; }
    .job-industry-tab { font-size: 15px; padding: 12px 4px; }
    .job-sub-tag { font-size: 14px; padding: 8px 16px; }
}

/* ===== 列表无限滚动 + 分页兜底 + 回到顶部（v182）=====
   前 3 页滚到底自动加载，之后停下给「加载更多 + 页码 + 回到顶部」，
   避免用户一路滑到底、想回去还得再滑一遍。 */

.job-list { display: block; }

/* 哨兵：滚到它触发加载，本身不占位不可见 */
.load-sentinel { height: 1px; width: 100%; }

/* 加载状态行：默认不占位，有状态才显示 */
.load-status {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 16px 12px;
    font-size: 13px;
    color: #86868b;
    line-height: 1.5;
}
.load-status.is-loading,
.load-status.is-error,
.load-status.is-done { display: flex; }
.load-status.is-error { color: #A32D2D; }

.ls-spin {
    width: 14px; height: 14px;
    border: 2px solid #B9E0F5;
    border-top-color: var(--blue);
    border-radius: 50%;
    animation: ls-spin .7s linear infinite;
}
@keyframes ls-spin { to { transform: rotate(360deg); } }

.ls-retry {
    border: none; background: none; padding: 0 2px;
    color: var(--blue);
    font-size: 13px; font-family: inherit;
    text-decoration: underline; cursor: pointer;
}

/* 分页区 */
.pager-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 20px 16px 8px;
}

.pager-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-height: 44px;              /* 触控目标：手指头很粗 */
    padding: 0 22px;
    background: #fff;
    border: 1px solid #B9E0F5;
    border-radius: 10px;
    color: #1D1D1F;
    font-size: 15px;
    font-family: inherit;
    cursor: pointer;
    transition: background .15s;
}
.pager-btn:active { background: #F3FAFE; }
.pager-btn.is-loading { opacity: .6; }
.pager-btn[disabled] { cursor: default; }

.pager-left { color: #86868b; font-size: 13px; }

/* 页码导航：首页 上一页 1 2 3 … 9 10 下一页 末页（2026-09-04 王涛定）
   上一页/下一页用中文，不用 ‹ › 符号。窄屏(<520px)省掉首页/末页，
   一行必须放下，所以尺寸比常规分页器紧一档（32×36 / gap 4px）。 */
.pager-pages {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 4px;
}
.pager-num {
    min-width: 32px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
    border: 1px solid #B9E0F5;
    border-radius: 8px;
    background: #fff;
    color: #333333;
    font-size: 14px;
    font-family: inherit;
    text-decoration: none;
    cursor: pointer;
    transition: background .15s;
}
.pager-num:active { background: #F3FAFE; }
.pager-num.active {
    background: var(--blue);
    border-color: var(--blue);
    color: #fff;
}
.pager-num.active:active { background: var(--blue); }
/* 首页 / 末页 / 上一页 / 下一页：中文文字按钮，字号小一档跟数字页码区分开 */
.pager-edge {
    padding: 0 8px;
    font-size: 13px;
    color: #333333;
}
/* 禁用态：已经到头了，或者正在加载还没抓到的页 */
.pager-num[disabled] {
    opacity: .38;
    cursor: default;
}
.pager-num[disabled]:active { background: #fff; }
.pager-gap {
    color: #86868b;
    padding: 0 2px;
    font-size: 13px;
}

.pager-end { font-size: 13px; color: #86868b; padding: 4px 0; }

/* 分页区里的回顶做成弱化文字按钮，不抢「加载更多」的视觉 */
.pager-top {
    min-height: 38px;
    padding: 0 16px;
    border-color: transparent;
    background: transparent;
    color: #86868b;
    font-size: 13px;
}
.pager-top:active { background: #F3FAFE; }

/* 浮动回到顶部：默认隐藏，滚过一屏淡入；bottom 避开底部导航（约 56px 高）
   形状：正圆，圆内竖排「向上箭头 + 返回顶部」。
   圆放大到 58px：44px 的圆装不下四个字，箭头和字会挤成一团。 */
.back-top {
    position: fixed;
    right: 14px;
    bottom: 74px;
    z-index: 900;
    display: block;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity .22s, transform .22s, visibility .22s;
    -webkit-tap-highlight-color: transparent;
}
.back-top-circle {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    /* 内容靠上排（箭头 + 文字整体上移），不再垂直居中 */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 7px;
    /* gap 5px：文字位置独立于箭头大小。箭头缩小后文字会跟着上移，
       这里把间距补齐，让「返回顶部」四个字固定在圆心下方 6px 处 */
    gap: 5px;
    border: 1px solid #B9E0F5;
    background: #F3FAFE;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .10);
    transition: background .18s;
}
/* 20→16 缩箭头；viewBox 14 单位下，stroke-width 1.8 ≈ 视觉 2.06px，
   相对图形大小更显粗，弥补缩小后"瘦了"的视觉。 */
.back-top-circle svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: #1D1D1F;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}
/* 圆内四个字：10px 才塞得进圆，所以字号虽小但用深色（小字号必须深色） */
.back-top-label {
    font-size: 10px;
    line-height: 1.1;
    color: #1D1D1F;
    letter-spacing: .2px;
    white-space: nowrap;
}
.back-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.back-top:active .back-top-circle { background: #E1F2FC; }

@media (prefers-reduced-motion: reduce) {
    .ls-spin { animation: none; }
    .back-top { transition: none; }
}
