/* ==========================================================================
   PC 版 · 静态论坛样式
   ========================================================================== */

:root {
    --pc-bg: #f4f5f7;
    --pc-card: #ffffff;
    --pc-text: #1f2329;
    --pc-text-2: #5b6370;
    --pc-text-3: #9aa1ac;
    --pc-line: #eceef1;
    --pc-brand: #ff5a5f;
    --pc-brand-dark: #ea474d;
    --pc-brand-soft: #fff1f1;
    --pc-blue: #2b6cf6;
    --pc-radius: 14px;
    --pc-shadow: 0 2px 10px rgba(23, 30, 45, .04);
    --pc-font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

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

html { font-size: 15px; }

body {
    font-family: var(--pc-font);
    color: var(--pc-text);
    background: var(--pc-bg);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; border: 0; }
ul, ol { list-style: none; }
button, input { font-family: inherit; font-size: inherit; }
button { cursor: pointer; border: 0; background: none; }

/* 统一版心宽度：PC 端 1500px，超出视口时自动收缩（三段媒体查询见文件底部） */
.wrap { width: 1500px; max-width: calc(100% - 40px); margin: 0 auto; }

/* ------------------------------ 顶栏 ------------------------------ */
.topbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, .94);
    border-bottom: 1px solid var(--pc-line);
    backdrop-filter: saturate(180%) blur(12px);
    /* 立体阴影：贴边窄影 + 中层扩散 + 远层柔影 */
    box-shadow:
        0 1px 2px rgba(23, 30, 45, .07),
        0 4px 10px rgba(23, 30, 45, .08),
        0 12px 28px rgba(23, 30, 45, .10);
}
.topbar-inner { display: flex; align-items: center; gap: 26px; height: 90px; }

.brand { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
/* 全站统一 LOGO 图片（images/logo.png，205x70） */
.brand-logo { display: block; width: 205px; height: 70px; }
.brand-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: linear-gradient(135deg, #ff7a7e, var(--pc-brand));
    color: #fff;
    font-size: 19px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(255, 90, 95, .28);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-size: 17px; letter-spacing: .3px; }
.brand-text em { color: var(--pc-text-3); font-size: 11px; font-style: normal; margin-top: 2px; }

.nav { display: flex; align-items: center; gap: 4px; flex: 1; min-width: 0; overflow: hidden; }
.nav a {
    padding: 6px 12px;
    border-radius: 8px;
    color: var(--pc-text-2);
    font-size: 14.5px;
    white-space: nowrap;
    transition: background .15s, color .15s;
}
.nav a:hover { background: #f5f6f8; color: var(--pc-text); }
.nav a.is-active { color: var(--pc-brand); background: var(--pc-brand-soft); font-weight: 500; }
.nav a.nav-app { color: var(--pc-blue); }

.search {
    display: flex;
    align-items: center;
    flex: 0 0 210px;
    height: 36px;
    padding: 0 6px 0 12px;
    border-radius: 18px;
    background: #f2f3f5;
    border: 1px solid transparent;
    transition: border .15s, background .15s;
}
.search:focus-within { background: #fff; border-color: #dfe2e7; }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 13.5px; }
.search input::placeholder { color: var(--pc-text-3); }
.search button { display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; color: #8b929d; border-radius: 50%; }
.search button:hover { color: var(--pc-brand); background: #fff; }

/* 顶栏消息提示条（用户中心 / 发帖页 / 帖子详情等动态页共用） */
.message { padding: 12px 0; text-align: center; font-size: 14px; }
.message-success { background: #f0fff4; color: #1f8f4d; border-bottom: 1px solid #c4ecd2; }
.message-error { background: #fff1f1; color: #d6393f; border-bottom: 1px solid #ffd6d7; }

.top-user { display: flex; align-items: center; gap: 20px; flex: 0 0 auto; font-size: 14px; }
.top-user > a:first-child { color: var(--pc-text-2); }
.top-user > a:first-child:hover { color: var(--pc-brand); }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 9px 20px;
    border-radius: 9px;
    font-size: 14.5px;
    font-weight: 500;
    transition: background .15s, transform .1s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--pc-brand); color: #fff; }
.btn-primary:hover { background: var(--pc-brand-dark); }
.btn-ghost { background: #f4f5f7; color: var(--pc-text); }
.btn-ghost:hover { background: #e9ebef; }
.btn-sm { padding: 6px 14px; font-size: 13.5px; border-radius: 7px; }

/* 顶栏右侧胶囊按钮：发帖(蓝) / 登录(绿) / 注册(橙) */
.top-user .btn { border-radius: 999px; color: #fff; }
.top-user #topLogin { display: inline-flex; align-items: center; gap: 14px; }
.top-user .btn-ghost { background: var(--pc-blue); color: #fff !important; }
.top-user .btn-ghost:hover { background: #1d5ce8; color: #fff !important; }
.top-user .btn-login {
    display: inline-flex; align-items: center;
    padding: 6px 14px; font-size: 13.5px; border-radius: 999px;
    font-weight: 500; background: #12b76a; color: #fff;
    transition: background .15s, transform .1s;
}
.top-user .btn-login:hover { background: #0fa55e; }
.top-user .btn-primary { background: #f79009; }
.top-user .btn-primary:hover { background: #e07f00; }

/* ------------------------------ 页面 ------------------------------ */
.page { padding: 22px 0 48px; }

.hero {
    position: relative;
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 12px 56px;
    margin-bottom: 20px;
    border-radius: 18px;
    background:
        radial-gradient(1000px 260px at 100% -30%, rgba(255, 255, 255, .6), transparent 60%),
        linear-gradient(120deg, #fff 0%, #fff6f6 55%, #fff 100%);
    border: 1px solid #ffe3e4;
    overflow: hidden;
}
.hero::after {
    content: "";
    position: absolute;
    right: -60px;
    top: -80px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 90, 95, .14), transparent 68%);
}
.hero-text { flex: 1; min-width: 0; position: relative; z-index: 1; }
.hero-kicker { color: var(--pc-brand); font-size: 13px; letter-spacing: 2px; font-weight: 600; }
.hero h1 { margin-top: 4px; font-size: 27px; line-height: 1.3; letter-spacing: .5px; }
.hero-desc { margin-top: 5px; max-width: 760px; color: var(--pc-text-2); font-size: 14.5px; }

.hero-side { flex: 0 0 380px; position: relative; z-index: 1; }
.hero-app {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 6px 20px rgba(23, 30, 45, .07);
    transition: transform .15s, box-shadow .15s;
}
.hero-app:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(23, 30, 45, .1); }
.hero-app-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 11px;
    background: linear-gradient(135deg, #07c160, #34d47a);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .5px;
}
.hero-app strong { display: block; font-size: 15px; }
.hero-app em { display: block; color: var(--pc-text-3); font-size: 12px; font-style: normal; margin-top: 2px; }
.hero-tip { margin-top: 10px; white-space: nowrap; color: var(--pc-text-3); font-size: 12px; text-align: center; }

.page-head { margin: 4px 0 18px; padding: 6px 2px; }
.page-head h1 { font-size: 25px; letter-spacing: .3px; }
.page-head p { margin-top: 5px; color: var(--pc-text-2); font-size: 14px; }

/* ------------------------------ 布局 ------------------------------ */
.list-grid, .detail-grid { display: grid; grid-template-columns: 1fr 308px; gap: 20px; align-items: start; }

.card { background: var(--pc-card); border-radius: var(--pc-radius); box-shadow: var(--pc-shadow); }

.list-card { padding: 6px 22px 18px; }
.list-head { display: flex; align-items: baseline; justify-content: space-between; padding: 16px 2px 12px; border-bottom: 1px solid var(--pc-line); }
.list-head h2 { font-size: 17px; font-weight: 600; }
.list-head span { color: var(--pc-text-3); font-size: 12.5px; }

/* 置顶 / 精华卡片版块 */
.feature-block { margin-bottom: 20px; padding: 6px 22px 18px; }
.feature-block .list-head h2 .tag { margin-right: 8px; vertical-align: 1px; }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(355px, 1fr)); gap: 14px; padding-top: 16px; }
.feature-card { display: flex; gap: 14px; padding: 12px; border: 1px solid var(--pc-line); border-radius: 12px; background: #fff; text-decoration: none; transition: box-shadow .15s ease, transform .15s ease, border-color .15s ease; }
.feature-card:hover { border-color: #c9d8fb; box-shadow: 0 8px 22px rgba(43,108,246,.12); transform: translateY(-2px); }
.feature-pic { flex: 0 0 132px; height: 94px; border-radius: 8px; overflow: hidden; background: #f2f4f7; }
.feature-pic img { display: block; width: 100%; height: 100%; object-fit: cover; }
.feature-ph { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; font-size: 34px; font-weight: 700; color: #fff; background: linear-gradient(135deg, #5b8def, #7c5bef); }
.feature-block.feature-essence .feature-ph { background: linear-gradient(135deg, #f79009, #f0483e); }
.feature-body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.feature-body strong { font-size: 15.5px; font-weight: 600; line-height: 1.45; color: var(--pc-text); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.feature-body em { font-style: normal; font-size: 13px; line-height: 1.65; color: var(--pc-text-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.feature-body i { font-style: normal; font-size: 12px; color: var(--pc-text-3); margin-top: auto; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* 帖子条目 */
.post-item { display: flex; gap: 14px; padding: 18px 2px; border-bottom: 1px solid var(--pc-line); }
.post-item:last-of-type { border-bottom: 0; }
.post-avatar { flex: 0 0 44px; }
.post-avatar img { width: 44px; height: 44px; border-radius: 11px; object-fit: cover; background: #eee; }
.post-main { flex: 1; min-width: 0; }
.post-title { font-size: 17px; line-height: 1.45; font-weight: 600; }
.post-title a { transition: color .15s; }
.post-title a:hover { color: var(--pc-brand); }
.post-excerpt {
    margin-top: 6px;
    color: var(--pc-text-2);
    font-size: 13.5px;
    line-height: 1.62;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.post-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 10px; color: var(--pc-text-3); font-size: 12.5px; }
.post-author { color: var(--pc-text-2); font-weight: 500; }
.post-stats { margin-left: auto; }
.post-thumb { flex: 0 0 96px; }
.post-thumb img { width: 96px; height: 96px; border-radius: 10px; object-fit: cover; background: #f0f1f3; }

.tag { display: inline-block; margin-right: 6px; padding: 1px 6px; border-radius: 4px; font-size: 11px; font-weight: 500; vertical-align: 2px; }
.tag-top { background: #fff0e8; color: #f26b21; }
.tag-essence { background: #fff8e1; color: #c08b00; }
.tag-lock { background: #f0f1f3; color: #8b929d; }

.empty-box { padding: 56px 20px; text-align: center; color: var(--pc-text-3); font-size: 14px; }
.empty-box .empty-ico { display: inline-flex; align-items: center; justify-content: center; width: 60px; height: 60px; margin-bottom: 16px; border-radius: 50%; background: var(--pc-brand-soft); color: var(--pc-brand); }
.empty-box .empty-title { margin: 0 0 20px; color: var(--pc-text-3); }
.empty-box .empty-post-btn { min-width: 126px; padding: 10px 24px; border-radius: 999px; box-shadow: 0 8px 18px rgba(255, 90, 95, .24); }
.empty-box .empty-post-btn:hover { box-shadow: 0 12px 24px rgba(255, 90, 95, .32); transform: translateY(-1px); }
.empty-box .empty-post-btn svg { width: 16px; height: 16px; }

/* 分页 */
.pager { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 24px 0 6px; }
.pager-btn { padding: 7px 16px; border-radius: 8px; background: #f4f5f7; color: var(--pc-text-2); font-size: 13.5px; }
.pager-btn:hover { background: #e9ebef; color: var(--pc-text); }
.pager-btn.is-disabled { color: #c3c8d0; background: #f8f9fa; }
.pager-info { color: var(--pc-text-3); font-size: 13px; }

/* ------------------------------ 侧栏 ------------------------------ */
.side { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 86px; }
.side-card { padding: 18px 18px 16px; }
.side-card h3 { padding-bottom: 10px; margin-bottom: 8px; border-bottom: 1px solid var(--pc-line); font-size: 15px; font-weight: 600; }

/* 侧栏分类导航：树状（一级 + 二级） */
.cat-list { list-style: none; }
.cat-list .cat-item { display: block; }
.cat-list .cat-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 7px 8px; margin: 1px -8px; border-radius: 7px; font-size: 14px; color: var(--pc-text-2); }
.cat-list .cat-row .cat-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cat-list .cat-row .cat-count { flex: 0 0 auto; color: var(--pc-text-3); font-size: 12px; font-variant-numeric: tabular-nums; }
.cat-list .cat-row:hover { background: #f5f6f8; }
.cat-list > .cat-item.is-active > .cat-row { background: var(--pc-brand-soft); color: var(--pc-brand); font-weight: 500; }
.cat-list > .cat-item.is-active > .cat-row .cat-count { color: var(--pc-brand); }

/* 一级分类的展开箭头 */
.cat-list .cat-item.has-child > .cat-row .cat-name::before {
    content: "";
    display: inline-block;
    width: 5px; height: 5px;
    margin-right: 7px;
    margin-bottom: 2px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
    opacity: .55;
    vertical-align: middle;
}

/* 无子分类的一级项：左侧留出与箭头等宽的空位，保持文字对齐 */
.cat-list > .cat-item:not(.has-child) > .cat-row .cat-name { padding-left: 12px; }

/* 二级分类：缩进 + 竖向引导线 */
.cat-list .cat-sub { list-style: none; margin: 0 0 4px; padding: 0 0 0 16px; border-left: 2px solid #eef0f4; }
.cat-list .cat-sub .cat-row { padding: 6px 8px 6px 6px; font-size: 13px; color: var(--pc-text-3); }
.cat-list .cat-sub .cat-row .cat-count { font-size: 11.5px; }
.cat-list .cat-sub .cat-item.is-active > .cat-row { background: var(--pc-brand-soft); color: var(--pc-brand); font-weight: 600; }
.cat-list .cat-sub .cat-item.is-active > .cat-row .cat-count { color: var(--pc-brand); }

/* ---------------- 分类导航：两列并排 + 取消帖数统计（PC / 平板 / 手机通用） ---------------- */
.side-cat .cat-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; row-gap: 1px; align-items: start; }
/* 一级分类：通栏分节标题 */
.side-cat .cat-list > .cat-item { grid-column: 1 / -1; }
.side-cat .cat-list .cat-row { margin: 1px 0; }
.side-cat .cat-list > .cat-item.has-child > .cat-row {
    margin-top: 7px;
    padding-top: 9px;
    border-top: 1px solid #eef0f4;
    border-radius: 0;
    font-weight: 600;
    color: var(--pc-text);
}
.side-cat .cat-list > .cat-item.has-child:first-child > .cat-row { margin-top: 0; padding-top: 7px; border-top: 0; }
/* 两列布局下不再需要箭头与占位缩进 */
.side-cat .cat-list > .cat-item > .cat-row .cat-name::before { display: none; }
.side-cat .cat-list > .cat-item:not(.has-child) > .cat-row .cat-name { padding-left: 0; }
/* 二级分类：两列并排，去掉竖向引导线 */
.side-cat .cat-sub { display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; row-gap: 1px; margin: 0 0 4px; padding-left: 0; border-left: 0; }
.side-cat .cat-sub .cat-row { padding: 6px 6px; margin: 1px 0; font-size: 13px; }
/* 取消数量统计 */
.side-cat .cat-count { display: none; }
.side-more { display: block; margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--pc-line); color: var(--pc-blue); font-size: 13px; text-align: center; }

.side-list li { display: flex; align-items: baseline; gap: 10px; padding: 7px 0; font-size: 13.5px; line-height: 1.5; }
.side-list li a { flex: 1; min-width: 0; color: var(--pc-text-2); display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.side-list li a:hover { color: var(--pc-brand); }
.side-list li span { flex: 0 0 auto; color: var(--pc-text-3); font-size: 12px; }
.side-list li.muted { color: var(--pc-text-3); }

.mini-stats { display: flex; gap: 8px; margin-top: 4px; }
.mini-stats span { flex: 1; padding: 10px 0; border-radius: 9px; background: #f7f8fa; text-align: center; }
.mini-stats b { display: block; font-size: 18px; font-weight: 600; line-height: 1.25; }
.mini-stats em { color: var(--pc-text-3); font-size: 11px; font-style: normal; }

/* 侧栏 · 凹印仓库目录（仅一级大类） */
.ku-side-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; row-gap: 1px; list-style: none; }
.ku-side-list li { padding: 1px 0; }
.ku-side-list li a { display: flex; align-items: center; gap: 7px; padding: 8px 6px; margin: 0; border-radius: 7px; color: var(--pc-text-2); font-size: 13.5px; }
.ku-side-list li a:hover { background: #f5f6f8; color: var(--pc-brand); }
.ku-side-list li i { flex: 0 0 auto; width: 8px; height: 8px; border-radius: 50%; }
.ku-side-list li span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* 取消数量统计 */
.ku-side-list li em { display: none; }

.user-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.user-chip { display: flex; align-items: center; gap: 6px; padding: 4px 9px 4px 4px; border-radius: 16px; background: #f7f8fa; }
.user-chip img { width: 24px; height: 24px; border-radius: 7px; object-fit: cover; }
.user-chip em { max-width: 76px; color: var(--pc-text-2); font-size: 12px; font-style: normal; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.link-list li { padding: 6px 0; font-size: 13.5px; }
.link-list a { color: var(--pc-text-2); }
.link-list a:hover { color: var(--pc-brand); }

/* ------------------------------ 分类页 ------------------------------ */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 1280px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
.cat-card { display: flex; align-items: center; gap: 14px; padding: 20px 22px; background: #fff; border-radius: var(--pc-radius); box-shadow: var(--pc-shadow); transition: transform .15s, box-shadow .15s; }
.cat-card:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(23, 30, 45, .08); }
.cat-icon { display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 12px; background: var(--pc-brand-soft); font-size: 22px; flex: none; }
.cat-body { flex: 1; min-width: 0; }
.cat-body strong { display: block; font-size: 16px; }
.cat-body em {
    display: -webkit-box; margin-top: 3px; color: var(--pc-text-3); font-size: 12.5px; font-style: normal;
    -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.55;
}
.cat-count { color: var(--pc-text-3); font-size: 12.5px; }

/* ------------------------------ 详情页 ------------------------------ */
.crumbs { display: flex; align-items: center; gap: 8px; margin: 2px 2px 14px; color: var(--pc-text-3); font-size: 13px; }
.crumbs a:hover { color: var(--pc-brand); }
.crumbs em { max-width: 560px; font-style: normal; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.article { padding: 32px 38px 26px; }
.article-head h1 { margin-top: 10px; font-size: 27px; line-height: 1.4; letter-spacing: .2px; }
.article-tags:empty { display: none; }
.article-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; margin-top: 14px; color: var(--pc-text-3); font-size: 13px; }
.article-meta .meta-cat { color: var(--pc-brand); }

/* meta 区：发布者 + 收藏 */
.article-meta .meta-author { display: inline-flex; align-items: center; gap: 4px; min-width: 0; max-width: 100%; }
.article-meta .meta-author-link {
    color: var(--pc-blue); font-weight: 500;
    max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.article-meta .meta-author-link:hover { color: var(--pc-brand); text-decoration: underline; }
.article-meta .meta-fav {
    display: inline-flex; align-items: center; gap: 5px;
    margin-left: auto;
    padding: 3px 12px;
    border: 1px solid var(--pc-line);
    border-radius: 999px;
    background: #fff;
    color: var(--pc-text-2);
    font-size: 12.5px; line-height: 1.7;
    font-family: inherit;
    cursor: pointer;
    transition: color .15s, border-color .15s, background .15s;
}
.article-meta .meta-fav svg { flex: none; }
.article-meta .meta-fav:hover { color: var(--pc-brand); border-color: currentColor; }
.article-meta .meta-fav .fav-count { font-style: normal; opacity: .6; }
.article-meta .meta-fav.is-on { color: #ff5a5f; border-color: #ffd6d4; background: #fff1f0; }
.article-meta .meta-fav.is-on .fav-count { opacity: .85; }
.article-meta .meta-fav.is-on .fav-star { fill: currentColor; }

.article-summary { margin: 16px 0 0; padding: 12px 16px; border-left: 3px solid var(--pc-brand); border-radius: 0 10px 10px 0; background: #f6f8fc; color: var(--pc-text-2, #4a5262); font-size: 14px; line-height: 1.8; }
.article-summary em { display: inline-block; margin-right: 10px; padding: 1px 8px; border-radius: 999px; background: var(--pc-brand); color: #fff; font-size: 12px; font-style: normal; vertical-align: 1px; }

.article-content {
    margin-top: 26px;
    font-size: 16.5px;
    line-height: 1.85;
    color: #2b3038;
    word-break: break-word;
    overflow-wrap: anywhere;
}
.article-content * { max-width: 100% !important; }
.article-content img { height: auto !important; margin: 14px auto; border-radius: 6px; }
.article-content p { margin: 0 0 16px; }
.article-content h1, .article-content h2, .article-content h3, .article-content h4 { margin: 24px 0 12px; line-height: 1.45; }
.article-content h2 { font-size: 21px; }
.article-content h3 { font-size: 18px; }
.article-content a { color: var(--pc-blue); }
.article-content a:hover { text-decoration: underline; }
.article-content blockquote { margin: 16px 0; padding: 12px 16px; border-left: 3px solid #e0e3e8; background: #fafbfc; color: #59606c; border-radius: 0 6px 6px 0; }
.article-content pre { margin: 16px 0; padding: 14px 16px; border-radius: 8px; background: #f6f7f9; overflow-x: auto; font-size: 13.5px; line-height: 1.6; }
.article-content code { padding: 1px 5px; border-radius: 4px; background: #f3f4f6; font-size: .92em; }
.article-content pre code { padding: 0; background: transparent; }
.article-content table { width: 100%; margin: 16px 0; border-collapse: collapse; font-size: 14.5px; }
.article-content th, .article-content td { padding: 8px 12px; border: 1px solid #e5e7eb; }
.article-content th { background: #f8f9fa; }
.article-content ul, .article-content ol { margin: 0 0 16px; padding-left: 24px; }
.article-content li { list-style: disc; margin: 5px 0; }
.article-content ol li { list-style: decimal; }

.article-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--pc-line); }
.article-note { color: var(--pc-text-3); font-size: 12px; }

/* 收藏按钮 */
.btn-fav {
    background: #f4f5f7;
    color: #4b5563;
    border: 1px solid transparent;
    cursor: pointer;
    font-family: inherit;
}
.btn-fav svg { flex: none; transition: transform .15s; }
.btn-fav:hover { background: #e9ebef; color: #1f2633; }
.btn-fav:hover svg { transform: scale(1.08); }
.btn-fav .fav-count { font-style: normal; font-size: 12.5px; opacity: .7; margin-left: -2px; }
.btn-fav.is-on {
    background: #fff1f0;
    color: #ff5a5f;
    border-color: #ffd6d4;
}
.btn-fav.is-on .fav-star { fill: currentColor; }
.btn-fav.is-on .fav-count { opacity: .85; }
.btn-fav[disabled] { opacity: .6; cursor: default; }

/* 回复 */
.replies-section { margin-top: 20px; padding: 8px 30px 22px; }
.replies-head { display: flex; align-items: baseline; justify-content: space-between; padding: 16px 0 4px; border-bottom: 1px solid var(--pc-line); }
.replies-head h2 { font-size: 17px; font-weight: 600; }
.replies-head span { color: var(--pc-text-3); font-size: 12.5px; }
.reply { display: flex; gap: 13px; padding: 18px 0; border-bottom: 1px solid var(--pc-line); }
.reply:last-of-type { border-bottom: 0; }
.reply-avatar { flex: 0 0 38px; width: 38px; height: 38px; border-radius: 10px; object-fit: cover; background: #eee; }
.reply-main { flex: 1; min-width: 0; }
.reply-head { display: flex; align-items: baseline; gap: 10px; }
.reply-name { color: var(--pc-text); font-size: 14px; font-weight: 500; }
.reply-floor { color: var(--pc-text-3); font-size: 12px; }
.reply-head time { margin-left: auto; color: var(--pc-text-3); font-size: 12px; }
.reply-body { margin-top: 6px; font-size: 15px; line-height: 1.7; color: #343a43; word-break: break-word; }
.reply-body p { margin: 0 0 8px; }
.reply-body p:last-child { margin-bottom: 0; }
.reply-body img { margin: 8px 0; border-radius: 6px; }

.side-cta p { color: var(--pc-text-2); font-size: 13px; line-height: 1.7; margin-bottom: 12px; }

/* ------------------------------ 页脚 ------------------------------ */
.footer { padding: 30px 0 40px; border-top: 1px solid var(--pc-line); background: #fff; }
.footer-inner { display: flex; align-items: flex-start; justify-content: space-between; gap: 30px; }
.footer strong { font-size: 15px; }
.footer p { margin-top: 6px; color: var(--pc-text-3); font-size: 12.5px; }
.footer-links { display: flex; gap: 20px; color: var(--pc-text-2); font-size: 13px; }
.footer-links a:hover { color: var(--pc-brand); }

/* ==========================================================================
   响应式 · 三段式媒体查询（PC / 平板 / 小手机）
   PC 端（默认 ≥1025px）：统一 1500px 版心，见上方 .wrap
   ========================================================================== */

/* ------------------------------ 平板 ≤1024px ------------------------------ */
@media (max-width: 1024px) {
    .wrap { max-width: calc(100% - 32px); }
    .brand-logo { width: auto; height: 44px; }
    .top-user { gap: 14px; }

    /* 顶栏：两行 —— 第一行 logo / 搜索 / 发帖·登录·注册，第二行全宽导航 */
    .topbar-inner { flex-wrap: wrap; height: auto; padding: 10px 0 8px; gap: 10px 16px; }
    .brand { order: 1; }
    .search { order: 2; flex: 1 1 auto; min-width: 180px; }
    .top-user { order: 3; margin-left: auto; }
    .nav { order: 4; flex: 1 0 100%; width: 100%; gap: 0; overflow-x: auto; overflow-y: hidden; }
    .nav::-webkit-scrollbar { height: 0; }
    .nav a { padding: 6px 9px; font-size: 13.5px; }

    /* 单栏堆叠：内容在前 → 分类导航 → 热门帖子 → 凹印仓库目录 */
    .list-grid, .detail-grid { grid-template-columns: 1fr; gap: 16px; }
    .side { position: static; }
    /* 侧栏铺满后分类导航两列间距略放宽、一级标题字号微调 */
    .side-cat .cat-list { column-gap: 24px; }
    .side-cat .cat-sub { column-gap: 24px; }
    .side-cat .cat-list > .cat-item.has-child > .cat-row { font-size: 14.5px; }
    .side-cat .cat-sub .cat-row { padding: 7px 8px; font-size: 13.5px; }
    .ku-side-list { column-gap: 24px; }
    .ku-side-list li a { font-size: 14px; padding: 9px 8px; }
    .hero { flex-direction: column; align-items: flex-start; padding: 26px; }
    .hero-side { flex: none; width: 100%; }
    .hero-tip { white-space: normal; }
    .cat-grid { grid-template-columns: 1fr; }
    .article { padding: 24px 20px; }
    .post-stats { margin-left: 0; }
    .footer-links { flex-wrap: wrap; }
    /* 置顶 / 精华卡片：平板下两列以内 */
    .feature-grid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
}

/* ------------------------------ 小手机 ≤640px ------------------------------ */
@media (max-width: 640px) {
    .wrap { max-width: calc(100% - 24px); }

    /* 顶栏：三行 —— ① logo+搜索 ② 导航 ③ 发帖·登录·注册 */
    .topbar { position: static; }
    .topbar-inner { flex-wrap: wrap; height: auto; padding: 8px 0 10px; gap: 8px 10px; align-items: center; }
    .brand { order: 1; }
    .brand-logo { width: auto; height: 34px; }
    .search { order: 2; flex: 1 1 auto; min-width: 0; height: 34px; padding: 0 4px 0 10px; }
    .search input { font-size: 16px; }
    .nav { order: 3; flex: 1 0 100%; width: 100%; gap: 0; overflow-x: auto; overflow-y: hidden; }
    .nav a { padding: 6px 8px; font-size: 13.5px; }
    .top-user { order: 4; flex: 1 0 100%; width: 100%; gap: 8px; font-size: 14px; }
    .top-user > .btn { flex: 1 1 0; min-width: 0; padding-left: 0; padding-right: 0; }
    .top-user #topLogin { display: flex; flex: 2 1 0; min-width: 0; gap: 8px; }
    .top-user #topLogin > * { display: flex; align-items: center; flex: 1 1 0; min-width: 0; justify-content: center; text-align: center; }
    .top-user .top-username, .top-user .top-uc { margin-right: 0; }
    .top-user .top-uc { font-size: 14px; }

    .hero { padding: 22px; }
    .hero h1 { font-size: 24px; }

    /* 侧栏卡片：手机端更紧凑 */
    .side-card { padding: 15px 14px 13px; }
    .side-cat .cat-list { column-gap: 12px; }
    .side-cat .cat-list > .cat-item.has-child > .cat-row { font-size: 14px; }
    .side-cat .cat-sub { column-gap: 12px; }
    .side-cat .cat-sub .cat-row { padding: 6px 5px; font-size: 13px; }
    .ku-side-list { column-gap: 12px; }
    .ku-side-list li a { font-size: 13px; padding: 7px 5px; }
    .post-thumb { display: none; }
    .article-head h1 { font-size: 22px; }
    .article-content { font-size: 16px; }
    .article-foot { flex-direction: column; align-items: stretch; }
    .post-item { flex-wrap: wrap; }
    /* 置顶 / 精华卡片：手机单列，封面改为通栏 */
    .feature-block { padding: 4px 16px 14px; }
    .feature-grid { grid-template-columns: 1fr; gap: 10px; padding-top: 12px; }
    .feature-pic { flex: 0 0 108px; height: 80px; }
    .feature-body strong { font-size: 14.5px; }
    .feature-body em { font-size: 12.5px; }
}

/* 顶栏登录态（用户名 / 用户中心 / 退出，静态页由 /user/state.php 填充） */
.top-user .top-username { color: var(--pc-text); font-weight: 500; margin-right: 10px; }
.top-user .top-uc { color: var(--pc-brand); font-size: 15px; font-weight: 700; margin-right: 14px; }
.top-user .top-unread {
    display: inline-block; min-width: 16px; padding: 0 4px; margin-left: 4px;
    border-radius: 8px; background: var(--pc-brand); color: #fff;
    font-size: 10.5px; line-height: 16px; text-align: center; vertical-align: 1px;
}
.top-user .top-logout { color: var(--pc-text-3); }
.top-user .top-logout:hover { color: var(--pc-brand); }

/* ---------- 首页顶部双卡行：分类导航 + 凹印仓库目录 ---------- */
.home-nav-row { display: grid; grid-template-columns: 1.6fr 1fr; gap: 20px; margin: 0 0 20px; align-items: stretch; }
.home-nav-row .side-card { height: 100%; box-sizing: border-box; }
.home-nav-row .side-card h3 { margin-bottom: 12px; }
@media (max-width: 900px) { .home-nav-row { grid-template-columns: 1fr; } }

/* ---------- 首页凹印圈子导航：技术独占一列 + 资源/招聘/求职堆叠列 ---------- */
.home-nav-row { grid-template-columns: 2fr 1fr; }
.home-nav-row .side-card { padding: 14px 16px 12px; }
.home-nav-row .side-card h3 { padding-bottom: 8px; margin-bottom: 8px; }
.home-nav-row .side-more { margin-top: 8px; padding-top: 8px; }
.home-cat-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 6px 18px; align-items: start; }
.home-cat-stack { display: grid; gap: 8px; align-content: start; }
.home-cat-col { min-width: 0; }
.home-cat-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 9px; border-radius: 7px; background: #f7f8fa; font-size: 14px; font-weight: 600; color: var(--pc-text); }
.home-cat-head:hover { background: #f0f1f4; color: var(--pc-brand); }
.home-cat-head em { font-style: normal; font-weight: 400; font-size: 12px; color: var(--pc-text-3); font-variant-numeric: tabular-nums; }
.home-cat-sub { list-style: none; margin: 4px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px 10px; }
.home-cat-sub a { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 4px 8px; border-radius: 6px; font-size: 13px; color: var(--pc-text-2); }
.home-cat-sub a:hover { background: #f5f6f8; color: var(--pc-brand); }
.home-cat-sub a em { font-style: normal; font-size: 11.5px; color: var(--pc-text-3); font-variant-numeric: tabular-nums; }
.home-cat-sub a span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* 平板：双卡上下堆叠满宽，导航保持两列 */
@media (max-width: 1024px) {
  .home-nav-row { grid-template-columns: 1fr; }
  .home-cat-grid { gap: 6px 14px; }
}

/* 小手机：导航单列纵排（技术 → 资源/招聘/求职），字号与间距再收紧 */
@media (max-width: 640px) {
  .home-cat-grid { grid-template-columns: 1fr; }
  .home-cat-head { font-size: 13.5px; padding: 5px 8px; }
  .home-cat-sub a { font-size: 12.5px; padding: 3px 7px; }
  .home-nav-row .side-card { padding: 12px 14px 10px; }
}

/* ---------- 首页双卡：分类名称前置图标 ---------- */
.home-cat-head .ht { display: flex; align-items: center; gap: 6px; min-width: 0; }
.home-cat-head .ht > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.home-cat-head .nav-ico { flex: 0 0 auto; color: var(--pc-brand); }
.home-cat-sub a .ht { display: flex; align-items: center; gap: 5px; min-width: 0; flex: 1; }
.home-cat-sub a .ht > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.home-cat-sub a .nav-ico { flex: 0 0 auto; color: var(--pc-text-3); }
.ku-side-list .ku-side-ico { display: inline-flex; flex: 0 0 auto; }
.ku-side-list .ku-side-ico .nav-ico { display: block; }

/* ---------- 首页双卡：加大分类名称字号与图标 ---------- */
.home-cat-head { font-size: 16px; }
.home-cat-head .ht { gap: 8px; }
.home-cat-sub a { font-size: 14.5px; }
.home-cat-sub a .ht { gap: 6px; }
.home-nav-row .ku-side-list li a { font-size: 15px; gap: 9px; }

/* ---------- 首页图片广告位（1500×200） ---------- */
.home-ad { margin: 0 0 20px; }
.home-ad-item { display: block; width: 100%; height: 200px; border-radius: 14px; overflow: hidden; background: #f2f3f6; }
.home-ad-item + .home-ad-item { margin-top: 16px; }
.home-ad-item img { width: 100%; height: 200px; object-fit: cover; display: block; }
.home-ad-item:hover { box-shadow: 0 6px 22px rgba(20, 40, 80, 0.10); }
@media (max-width: 1024px) { .home-ad-item, .home-ad-item img { height: 150px; } }
@media (max-width: 640px) { .home-ad-item, .home-ad-item img { height: 110px; border-radius: 10px; } }

/* ---------- 侧栏悬浮广告位（热门帖子下方，sticky 跟随滚动） ---------- */
.side { align-self: stretch; }
.side-ad { position: sticky; top: 86px; }
.side-ad-item { display: block; border-radius: 12px; overflow: hidden; background: #f2f3f6; }
.side-ad-item + .side-ad-item { margin-top: 12px; }
.side-ad-item img { width: 100%; display: block; height: auto; }
.side-ad-item:hover { box-shadow: 0 6px 22px rgba(20, 40, 80, 0.10); }
@media (max-width: 1024px) { .side-ad { position: static; } .side { align-self: auto; } }

/* ---------- 会员 CTA 大按钮（侧栏「热门帖子」下方） ---------- */
.member-cta { display: block; margin: 14px 0; padding: 15px 12px; border-radius: 12px;
  background: linear-gradient(135deg, #ff5a5f, #ff8f1f); color: #fff; text-align: center;
  font-size: 16px; font-weight: 700; letter-spacing: 0.5px; text-decoration: none;
  box-shadow: 0 4px 14px rgba(255, 90, 95, 0.30); transition: transform .15s ease, box-shadow .15s ease; }
.member-cta:hover { transform: translateY(-2px); box-shadow: 0 7px 20px rgba(255, 90, 95, 0.40); color: #fff; }
.member-cta em { display: block; margin-top: 5px; font-size: 12px; font-style: normal; font-weight: 400; opacity: .88; }
@media (max-width: 640px) { .member-cta { font-size: 15px; padding: 13px 10px; } }

/* 会员 CTA 呼吸缩放动效（轻微放大缩小循环） */
@keyframes member-cta-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.03); } }
.member-cta { animation: member-cta-pulse 2.4s ease-in-out infinite; will-change: transform; }
.member-cta:hover { animation-play-state: paused; transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce) { .member-cta { animation: none; } }

/* ---------- 详情页侧栏：圈子导航 + 仓库目录 滚动固定 ---------- */
.side-sticky { position: sticky; top: 86px; z-index: 3; display: flex; flex-direction: column; gap: 16px; }
.side-sticky .side-cat { margin: 0; }
@media (max-width: 1024px) { .side-sticky { position: static; } }

/* ---------- 详情页底部三卡（全部回复下方） ---------- */
.detail-bottom { display: grid; grid-template-columns: 1fr 308px; gap: 20px; margin-top: 20px; align-items: start; }
.detail-bottom-left { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.detail-bottom .side-card { margin: 0; }
.detail-bottom .side-cta p { margin: 8px 0 12px; }
@media (max-width: 1024px) { .detail-bottom { grid-template-columns: 1fr; gap: 16px; } .detail-bottom-left { grid-template-columns: 1fr; } }

/* ---------- 分类页底部三卡（最新招聘 / 最新求职 / 热门帖子） ---------- */
.sort-bottom { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 20px; align-items: start; }
.sort-bottom .side-card { margin: 0; }
@media (max-width: 1024px) { .sort-bottom { grid-template-columns: 1fr; gap: 16px; } }

/* ---------- SEO / 可访问性 ---------- */
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 999; background: var(--pc-brand); color: #fff;
  padding: 10px 18px; border-radius: 0 0 8px 0; font-size: 14px; }
.skip-link:focus { left: 0; }
.time, time { font-style: normal; }

/* ---------- 免责声明（招聘/求职栏目胶囊按钮 + 独立页） ---------- */
.list-head .disclaimer-btn { margin-left: auto; display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 18px; border-radius: 999px; font-size: 13.5px; font-weight: 700; letter-spacing: 1px;
  color: #fff; text-decoration: none; white-space: nowrap;
  background: linear-gradient(135deg, #ff5a5f 0%, #ff8a3d 100%);
  box-shadow: 0 3px 10px rgba(255, 90, 95, .32);
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease; }
.list-head .disclaimer-btn::before { content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: rgba(255, 255, 255, .85); box-shadow: 0 0 0 3px rgba(255, 255, 255, .25); }
.list-head .disclaimer-btn:hover { transform: translateY(-1px); box-shadow: 0 5px 14px rgba(255, 90, 95, .42); filter: brightness(1.04); }
.list-head .disclaimer-btn:active { transform: translateY(0); }
.disclaimer-page { padding: 26px 30px 30px; }
.disclaimer-page .article-content { font-size: 15px; line-height: 1.9; color: var(--pc-text-2); }
.disclaimer-page .article-content h2, .disclaimer-page .article-content h3 { margin: 18px 0 10px; font-size: 16.5px; color: var(--pc-text-1); }
.disclaimer-page .article-content ul, .disclaimer-page .article-content ol { padding-left: 22px; margin: 0 0 14px; }
.disclaimer-page .article-content li { margin-bottom: 6px; }
@media (max-width: 640px) {
  .list-head { flex-wrap: wrap; row-gap: 8px; }
  .list-head .disclaimer-btn { padding: 6px 14px; font-size: 12.5px; }
  .disclaimer-page { padding: 20px 16px 22px; }
}

/* 文章 meta 区：小屏时段落换行，收藏按钮不再右侧对齐 */
@media (max-width: 640px) {
  .article-meta { gap: 8px 14px; }
  .article-meta .meta-fav, .article-meta .meta-like { margin-left: 0; }
  .article-meta .meta-author-link { max-width: 120px; }
}

/* meta 区：点赞按钮（免登录，爱心图标） */
.article-meta .meta-like {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 3px 12px;
    border: 1px solid var(--pc-line);
    border-radius: 999px;
    background: #fff;
    color: var(--pc-text-2);
    font-size: 12.5px; line-height: 1.7;
    font-family: inherit;
    cursor: pointer;
    transition: color .15s, border-color .15s, background .15s, transform .12s;
}
.article-meta .meta-like svg { flex: none; }
.article-meta .meta-like:hover { color: #ff5a5f; border-color: #ffb3b0; background: #fff7f6; }
.article-meta .meta-like:active { transform: scale(.94); }
.article-meta .meta-like .like-count { font-style: normal; opacity: .6; }
.article-meta .meta-like.is-on { color: #ff5a5f; border-color: #ffd6d4; background: #fff1f0; }
.article-meta .meta-like.is-on .like-count { opacity: .85; }
.article-meta .meta-like.is-on .like-heart { fill: currentColor; }

/* ============================ 网站地图页（/sitemap/） ============================ */
.sm-card { padding: 24px 28px 26px; }
.sm-sec { margin-bottom: 26px; }
.sm-sec:last-child { margin-bottom: 0; }
.sm-sec h2 {
    font-size: 17px; line-height: 1.4; margin: 0 0 12px;
    padding-left: 10px; border-left: 4px solid var(--pc-brand);
}
.sm-links { display: flex; flex-wrap: wrap; gap: 8px; }
.sm-links a {
    display: inline-block; max-width: 100%; padding: 6px 13px;
    border: 1px solid var(--pc-line); border-radius: 8px; background: #fafbfc;
    color: var(--pc-text-2); font-size: 13.5px; text-decoration: none;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; vertical-align: middle;
    transition: color .15s, border-color .15s, background .15s;
}
.sm-links a:hover { color: var(--pc-brand); border-color: var(--pc-brand); background: var(--pc-brand-soft); }
@media (max-width: 640px) {
    .sm-card { padding: 18px 16px 20px; }
    .sm-links a { white-space: normal; }
}

/* ============================ 页脚友情链接 ============================ */
.footer-fl {
    display: flex; align-items: flex-start; gap: 14px;
    margin-top: 22px; padding-top: 16px; border-top: 1px dashed var(--pc-line);
}
.footer-fl-label { flex: none; color: var(--pc-text-3); font-size: 12.5px; line-height: 2; }
.footer-fl-list { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.footer-fl-list a { color: var(--pc-text-2); font-size: 13px; line-height: 2; }
.footer-fl-list a:hover { color: var(--pc-brand); }
@media (max-width: 640px) {
    .footer-fl { flex-direction: column; gap: 4px; }
}

/* ---------- 笑话频道通栏横幅广告位（/joke/ 页面顶部） ---------- */
.joke-ad { margin: 0 0 20px; }
.joke-ad-item { display: block; width: 100%; height: 200px; border-radius: 14px; overflow: hidden; background: #f2f3f6; }
.joke-ad-item + .joke-ad-item { margin-top: 16px; }
.joke-ad-item img { width: 100%; height: 200px; object-fit: cover; display: block; }
.joke-ad-item:hover { box-shadow: 0 6px 22px rgba(20, 40, 80, 0.10); }
@media (max-width: 1024px) { .joke-ad-item, .joke-ad-item img { height: 150px; } }
@media (max-width: 640px) { .joke-ad-item, .joke-ad-item img { height: 110px; border-radius: 10px; } }

/* ---------- 左页广告（网页左边 · 文章内容区下方固定展示，left500 / left200） ---------- */
.left-ad-zone {
    display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
    margin: 22px 0 6px;
}
.left-ad { position: relative; }
.left-ad-item { display: block; border-radius: 10px; overflow: hidden; background: #f2f3f6; }
.left-ad-item img { display: block; height: 200px; width: auto; max-width: 100%; object-fit: cover; }
.left-ad-500 .left-ad-item img { height: 500px; }
/* 文章卡片内嵌变体：占满内容栏宽度、图片等比缩放，文档流固定展示（非悬浮、不可关闭） */
.left-ad-zone.in-article { width: 100%; margin: 2px 0 16px; }
.left-ad-zone.in-article .left-ad { width: 100%; }
.left-ad-zone.in-article .left-ad-item img { width: 100%; height: auto; object-fit: contain; }
/* 平板 / 手机端：左页广告跟随内容栏等比缩放显示（不再隐藏） */
@media (max-width: 1280px) {
    .left-ad-zone { margin: 2px 0 12px; }
}
@media (max-width: 640px) {
    .left-ad-zone { gap: 8px; margin: 2px 0 10px; }
}

/* ---------- PC 端全站右侧悬浮菜单条（APP下载/免费注册/凹印招聘/人才求职/群聊） ---------- */
.side-float {
    position: fixed; right: 10px; top: 50%; transform: translateY(-50%);
    z-index: 90; display: flex; flex-direction: column; gap: 6px;
}
.side-float-item {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
    width: 64px; height: 58px; padding: 6px 4px;
    background: var(--pc-card); color: var(--pc-text-2); text-decoration: none;
    border: 1px solid var(--pc-line); border-radius: 10px;
    box-shadow: 0 4px 14px rgba(23, 30, 45, .10);
    font-size: 12px; line-height: 1.2; text-align: center; letter-spacing: .02em;
    transition: color .15s, box-shadow .15s, transform .15s;
}
.side-float-item svg { width: 20px; height: 20px; flex: none; }
.side-float-item:hover {
    color: var(--pc-brand); border-color: var(--pc-brand-soft);
    transform: translateX(-3px); box-shadow: 0 6px 18px rgba(23, 30, 45, .18);
}
/* 平板端：悬浮菜单条紧凑显示 */
@media (max-width: 1280px) {
    .side-float { right: 8px; }
}
/* 手机端：缩小尺寸贴右显示（APP 下载落地页 app.html 为独立版式，无此条） */
@media (max-width: 640px) {
    .side-float { right: 6px; gap: 5px; }
    .side-float-item { width: 52px; height: 48px; padding: 4px 2px; font-size: 11px; }
    .side-float-item svg { width: 17px; height: 17px; }
}
