:root {
    --brand: #2E63F0;
    --brand-2: #4C7BF5;
    --brand-soft: #EDF2FE;
    --ink: #14181F;
    --muted: #6B7280;
    --line: #EDEDED;
    --bg: #FFFFFF;
    --card: #FFFFFF;
    --price: #2E63F0;
    --phone: 402px;
}
* { box-sizing: border-box; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
    font-size: 14px;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
.phone {
    width: min(var(--phone), 100%);
    min-height: 100vh;
    margin: 0 auto;
    background: var(--bg);
    position: relative;
}
.page-layer {
    position: fixed;
    z-index: 20;
    top: 0;
    bottom: 0;
    left: 50%;
    width: min(var(--phone), 100%);
    transform: translateX(-50%);
    background: var(--bg);
    overflow: auto;
}
.page-layer.has-tab { padding-bottom: 72px; }
.page-layer.has-buybar,
.page-layer.has-paybar { padding-bottom: 148px; }
.page-layer .tabbar,
.page-layer .buybar,
.page-layer .paybar {
    width: 100%;
    left: 0;
    transform: none;
}
body.has-layer > .phone > .tabbar,
body.has-layer > .phone > .buybar,
body.has-layer > .phone > .paybar {
    visibility: hidden;
}
.has-tab { padding-bottom: 72px; }
.has-buybar { padding-bottom: 148px; }
.has-paybar { padding-bottom: 148px; }
.notice {
    margin: 8px 12px 0;
    padding: 8px 12px;
    border-radius: 8px;
    background: var(--brand-soft);
    color: var(--brand);
}
.notice.bad { background: #FBEFEC; color: #A33B2E; }
.topbar, .search-page, .detail-bar, .subhead {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 5;
}
.subhead.center { justify-content: center; }
.search-fake, .search-page input {
    flex: 1;
    height: 36px;
    border: 1px solid var(--brand);
    border-radius: 18px;
    background: #fff;
    color: #999;
    padding: 0 14px;
}
.search-page input { color: var(--ink); outline: none; }
.channels {
    display: flex;
    padding: 4px 0 0;
}
.channels a {
    flex: 1;
    position: relative;
    padding: 8px 0 12px;
    text-align: center;
    color: #999;
    font-size: 16px;
}
.channels a.on {
    color: #111;
    font-weight: 700;
}
.channels a.on::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 4px;
    width: 36px;
    height: 3px;
    margin-left: -18px;
    border-radius: 2px;
    background: var(--brand);
}
.channels, .chips, .filters { background: #fff; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px; }
.chips a, .choices label {
    flex: none;
    background: #F1F4F9;
    border-radius: 8px;
    padding: 7px 12px;
    color: #333;
}
.chips a.on, .choices label:has(input:checked) { background: var(--brand-soft); color: var(--brand); font-weight: 700; }
.banners { display: grid; grid-template-columns: 1.3fr .9fr; gap: 8px; padding: 8px 12px; }
.banners.one { grid-template-columns: 1fr; }
.side-banner { display: block; }
.vip-card, .side-banner.plain {
    min-height: 92px;
    border-radius: 12px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
    background: linear-gradient(120deg, var(--brand-2), var(--brand));
}
.side-banner.plain { color: #fff; background: linear-gradient(120deg, #4C7BF5, #2E63F0); }
.side-banner img { width: 100%; height: 92px; object-fit: cover; border-radius: 12px; display: block; }
.filters { display: flex; align-items: center; gap: 6px; padding: 4px 12px 8px; color: #666; }
.filters button, .drop > button {
    border: 0;
    background: transparent;
    color: #666;
    padding: 6px 2px;
}
.drop > button::after {
    content: "";
    display: inline-block;
    margin-left: 4px;
    vertical-align: 2px;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
}
.drop > button.on,
.drop:has(.drop-panel:not([hidden])) > button { color: var(--brand); font-weight: 700; }
.filter-btn { display: inline-flex; align-items: center; gap: 3px; }
.filter-ico { width: 13px; height: 13px; display: block; }
.filter-ico path { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.filter-btn.on { color: var(--brand); font-weight: 700; }
.drop { position: relative; flex: 1; }
.drop-panel {
    position: absolute;
    left: 0;
    top: 32px;
    z-index: 8;
    min-width: 148px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
    padding: 6px 0;
}
.drop-panel a { display: block; padding: 10px 14px; }
.filters { position: relative; }
.drop:has(.drop-panel.tree) { position: static; }
.drop-panel.tree {
    left: 12px;
    right: 12px;
    width: auto;
    max-width: 640px;
    max-height: 70vh;
    overflow: auto;
    padding: 10px 12px 12px;
}
.drop-panel.tree a { display: inline-block; padding: 6px 12px; }
.type-group { margin-bottom: 10px; }
.type-group-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.type-group-head strong { color: #111; font-size: 14px; }
.type-group-head button { background: transparent; color: #999; padding: 0; font-size: 12px; }
.type-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.type-chips[hidden] { display: none; }
.type-chips a { background: #F1F4F9; color: #333; border-radius: 16px; }
.type-chips a.on { background: var(--brand-soft); color: var(--brand); font-weight: 700; }
.industry-pick { display: flex; min-height: 180px; }
.industry-side { width: 108px; flex: none; border-right: 1px solid var(--line); max-height: 320px; overflow: auto; }
.industry-side button { display: block; width: 100%; text-align: left; background: transparent; color: #333; border-radius: 0; padding: 8px 6px; font-size: 13px; }
.industry-side button.on { color: var(--brand); font-weight: 700; }
.industry-body { flex: 1; min-width: 0; padding: 8px 10px; }
.sheet {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.45);
    z-index: 20;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}
.sheet[hidden], .modal[hidden], .drop-panel[hidden] { display: none; }
.sheet form {
    width: min(480px, 100%);
    background: #fff;
    border-radius: 16px 16px 0 0;
    padding: 16px 16px 24px;
    max-height: 80vh;
    overflow: auto;
}
.choices { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.choices input { margin-right: 4px; }
.sheet-actions { display: flex; gap: 10px; }
.sheet-actions a, .sheet-actions button, .primary, .paybar button, .paybar a, .buybar form button, .remain {
    border: 0;
    border-radius: 22px;
    background: linear-gradient(90deg, var(--brand-2), var(--brand));
    color: #fff;
    font-weight: 700;
    padding: 10px 16px;
    text-align: center;
}
.sheet-actions a { background: #F1F4F9; color: #333; }
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 10px; padding: 8px 12px 16px; }
.cover { position: relative; border-radius: 8px; overflow: hidden; background: #F1F4F9; aspect-ratio: 1.15 / 1; }
.cover img, .previews img, .related img { width: 100%; display: block; object-fit: cover; }
.cover img { height: 100%; object-fit: contain; background: #F1F4F9; }
.cover.cover-mosaic {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1.45fr 1fr 1fr;
    gap: 2px;
    aspect-ratio: 1 / 1.12;
    background: #fff;
}
.cover.cover-mosaic img { height: 100%; object-fit: cover; background: #F1F4F9; }
.cover.cover-mosaic img:first-child { grid-column: 1 / -1; }
.fmt, .views, .free-flag {
    position: absolute;
    z-index: 1;
    bottom: 6px;
    color: #fff;
    font-size: 12px;
    text-shadow: 0 1px 2px rgba(0,0,0,.4);
}
.fmt { left: 8px; }
.views { right: 8px; }
.views::before {
    content: "";
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-right: 3px;
    vertical-align: -2px;
    background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M12 5C6.5 5 2.1 8.4 1 12c1.1 3.6 5.5 7 11 7s9.9-3.4 11-7c-1.1-3.6-5.5-7-11-7zm0 11.5a4.5 4.5 0 1 1 0-9 4.5 4.5 0 0 1 0 9zm0-7.2a2.7 2.7 0 1 0 .1 5.4 2.7 2.7 0 0 0-.1-5.4z'/%3E%3C/svg%3E");
    filter: drop-shadow(0 1px 1px rgba(0,0,0,.45));
}
.free-flag {
    top: 6px;
    left: 6px;
    bottom: auto;
    background: rgba(0,0,0,.55);
    border-radius: 4px;
    padding: 2px 5px;
    font-style: normal;
}
.card h3 { margin: 8px 0 4px; font-size: 14px; line-height: 1.35; height: 38px; overflow: hidden; }
.tags { margin: 0; color: var(--muted); font-size: 12px; }
.card mark { background: none; color: var(--brand); font-weight: 700; }
.price { margin: 4px 0 0; }
.price b { color: var(--price); margin-right: 6px; }
.price s { color: #ccc; }
.empty { text-align: center; color: var(--muted); padding: 28px 16px; }
#more { text-align: center; color: #bbb; padding: 8px 0 20px; }
.tabbar {
    position: fixed;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: min(var(--phone), 100%);
    height: 58px;
    display: flex;
    background: #fff;
    border-top: 1px solid var(--line);
    z-index: 10;
}
.tabbar a { flex: 1; text-align: center; color: #999; font-size: 12px; padding-top: 6px; }
.tabbar a.active { color: var(--brand); }
.tabbar i {
    display: block;
    width: 22px;
    height: 22px;
    margin: 0 auto 2px;
    border-radius: 6px;
    background: #F1F4F9;
    color: #999;
    font-style: normal;
    line-height: 22px;
    font-size: 11px;
}
.tabbar a.active i, .tabbar a.is-top i { background: var(--brand); color: #fff; }
.back { color: #666; min-width: 36px; }
.hot-list { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 12px 16px; }
.hot-list a, .hot-list button {
    border: 0;
    background: #fff;
    border-radius: 16px;
    padding: 6px 10px;
}
.badge { margin-left: 4px; font-style: normal; color: #fff; border-radius: 4px; padding: 0 4px; font-size: 12px; }
.badge-爆 { background: #B4553F; }
.badge-热 { background: #A9803F; }
.badge-新 { background: #7C6A8F; }
.block-head { display: flex; justify-content: space-between; padding: 12px; }
.previews img { margin-bottom: 6px; }
.pc-tip, .benefit, .benefit.own {
    margin: 8px 12px;
    background: var(--brand-soft);
    border-radius: 8px;
    padding: 8px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.benefit.own { background: #EDF2FE; }
.pc-tip button, .text, .ghost {
    border: 0;
    background: var(--brand);
    color: #fff;
    border-radius: 14px;
    padding: 4px 10px;
}
.remain { display: block; width: calc(100% - 24px); margin: 8px auto; }
.remain em { margin-left: 8px; font-style: normal; }
.detail-card, .panel, .article { margin: 12px; padding: 12px; background: #fff; border-radius: 12px; }
.pay-way { margin: 16px 0 8px; font-size: 15px; }
.pay-qrs { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; margin: 12px 0; }
.pay-qrs figure { margin: 0; text-align: center; }
.pay-qrs img { width: min(280px, 100%); height: auto; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.pay-qrs figcaption { margin-top: 6px; color: #666; font-size: 13px; }
.detail-card { background: #fff; }
.price-line { display: flex; justify-content: space-between; align-items: center; }
.vip-tag { background: var(--brand); color: #fff; border-radius: 6px; padding: 4px 8px; }
.meta { display: grid; grid-template-columns: 72px 1fr; gap: 8px 12px; margin: 12px 0; }
.meta dt { color: var(--muted); }
.meta dd { margin: 0; text-align: right; }
.summary { line-height: 1.6; }
.related-row { display: flex; gap: 8px; overflow-x: auto; }
.related-row a { width: 140px; flex: none; }
.related-row img { height: 90px; border-radius: 8px; }
.related-row span { display: block; height: 36px; overflow: hidden; font-size: 12px; }
.buybar, .paybar {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    width: min(var(--phone), 100%);
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
    background: #fff;
    border-top: 1px solid var(--line);
    z-index: 11;
}
.buybar, .paybar { bottom: 58px; }
.buybar > button,
.buybar > form.bar-side button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: auto;
    min-width: 72px;
    padding: 8px 6px;
    border: 0;
    border-radius: 0;
    background: #fff;
    color: #333;
    font-weight: 400;
}
.buybar form { flex: none; }
.buybar > form:last-child { margin-left: auto; }
.buybar > form:last-child button {
    width: auto;
    min-width: 132px;
    padding: 9px 28px;
    border-radius: 8px;
}
.paybar button, .paybar a { display: block; width: 100%; }
.buybar .bar-ico { width: 16px; height: 16px; display: block; }
.buybar .bar-ico path {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linejoin: round;
    stroke-linecap: round;
}
.modal { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 30; display: flex; align-items: center; justify-content: center; }
.dialog { width: 280px; background: #fff; border-radius: 14px; padding: 18px; text-align: center; }
.dialog-actions { display: flex; gap: 10px; }
.dialog-actions button, .dialog-actions a { flex: 1; border: 0; border-radius: 18px; padding: 8px 0; background: #F1F4F9; color: #333; }
.dialog-actions a { background: var(--brand); color: #fff; }
.auth-card input:not([type="checkbox"]), .panel input, .admin-main input, .admin-main select, .admin-main textarea {
    width: 100%;
    border: 0;
    border-bottom: 1px solid var(--line);
    padding: 12px 4px;
    margin-bottom: 8px;
    outline: none;
}
.auth-card { padding: 12px 16px 24px; }
.auth-row { text-align: right; color: #999; margin-bottom: 8px; }
.agree { display: flex; gap: 6px; align-items: flex-start; color: #666; margin: 10px 0; }
.primary, .ghost { display: block; width: 100%; margin-top: 10px; }
.ghost { background: #F1F4F9; color: #333; padding: 10px; border-radius: 22px; text-align: center; }
.order-amount b, .paybar b { color: var(--price); font-size: 22px; }
.warn { color: var(--brand); background: var(--brand-soft); padding: 8px; border-radius: 8px; }
.vip-user { display: flex; gap: 10px; align-items: center; padding: 16px 12px; background: linear-gradient(var(--brand-soft), #fff); }
.avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--brand); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.plans { display: flex; gap: 10px; overflow-x: auto; padding: 8px 12px 12px; }
.plan { min-width: 150px; border: 1px solid var(--line); border-radius: 12px; background: #fff; padding: 12px; text-align: left; }
.plan.on { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand) inset; }
.plan em { display: block; color: var(--price); font-size: 24px; font-style: normal; font-weight: 700; }
.plan s { color: #bbb; }
.benefit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.benefit-grid article, .faq { background: #fff; border-radius: 10px; padding: 10px; }
.benefits, .faq, .agree-line { padding: 0 12px 12px; }
.menu a, .order-item { display: block; padding: 14px 12px; border-bottom: 1px solid var(--line); }
.order-item span, .menu a { color: #666; }
.logout { display: block; width: calc(100% - 24px); margin: 16px auto; background: #fff; border-radius: 20px; padding: 10px; text-align: center; }
.mine-head { background: linear-gradient(#fff, var(--brand-soft)); padding: 18px 16px 8px; }
.mine-profile { display: flex; align-items: center; gap: 12px; }
.mine-profile b { font-size: 18px; }
.mine-profile p { margin: 4px 0 0; color: #999; }
.mine-arrow { margin-left: auto; color: #ccc; font-size: 22px; }
.mine-vip { margin: 0 12px; background: #F1F4F9; border-radius: 12px; overflow: hidden; }
.mine-vip a { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 14px 12px; border-bottom: 1px solid #EDEDED; }
.mine-vip a > span:first-child { min-width: 0; }
.mine-vip a:last-child { border-bottom: 0; }
.mine-vip em { display: block; margin-top: 2px; color: #999; font-style: normal; font-size: 12px; }
.mine-open { flex: none; color: var(--brand); white-space: nowrap; }
.mine-stats, .mine-tools, .mine-tabs, .mine-list { background: #fff; }
.mine-stats { display: flex; margin-top: 8px; }
.mine-stats a { flex: 1; text-align: center; padding: 12px 0; color: #666; font-size: 12px; }
.mine-stats b { display: block; color: #111; font-size: 16px; margin-bottom: 2px; }
.mine-tools { display: flex; padding: 4px 8px 14px; }
.mine-tools a { flex: 1; text-align: center; color: #333; font-size: 12px; }
.mine-tools i {
    display: block;
    width: 44px;
    height: 44px;
    margin: 0 auto 6px;
    border-radius: 12px;
    background: #F1F4F9;
    color: #111;
    font-style: normal;
    line-height: 44px;
    font-size: 16px;
    font-weight: 700;
}
.mine-tabs { display: flex; margin-top: 8px; border-bottom: 1px solid var(--line); }
.mine-tabs a { flex: 1; position: relative; text-align: center; padding: 12px 0; color: #999; }
.mine-tabs a.on { color: #111; font-weight: 700; }
.mine-tabs a.on::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 28px;
    height: 3px;
    margin-left: -14px;
    border-radius: 2px;
    background: var(--brand);
}
.mine-list { min-height: 160px; }
.mine-row { display: flex; gap: 10px; align-items: center; padding: 12px; border-bottom: 1px solid #F1F4F9; }
.mine-row img { width: 72px; height: 48px; object-fit: cover; border-radius: 6px; background: #F1F4F9; flex: none; }
.mine-row b { display: block; line-height: 1.4; }
.mine-row em { color: #999; font-style: normal; font-size: 12px; }
.mine-foot { padding: 8px 16px 24px; text-align: center; }
.mine-admin { display: inline-block; margin-top: 8px; color: #999; }
.buybar > form.bar-side { width: auto; flex: none; }
.buybar > form.bar-side button.on { color: var(--brand); }
.buybar > form.bar-side button.on .bar-ico path { fill: currentColor; }
.detail-bar strong {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

/* ===== 米白 · 墨绿 皮肤 ===== */
body { background: var(--bg); }
.topbar, .search-page, .detail-bar, .subhead { background: var(--bg); }
.search-fake, .search-page input {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: none;
}
.channels, .chips, .filters { background: transparent; }
.chips a, .choices label {
    background: #fff;
    border: 1px solid var(--line);
    color: #4B5563;
    border-radius: 16px;
}
.chips a.on, .choices label:has(input:checked) {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
    font-weight: 600;
}
.cards { gap: 18px 12px; }
.cover { border-radius: 10px; background: var(--brand-soft); }
.card h3 { font-weight: 600; color: #14181F; }
.price b { font-weight: 700; }
.tabbar { background: rgba(255, 255, 255, .96); border-top: 1px solid var(--line); }
.tabbar a { color: var(--muted); }
.tabbar a.active { color: var(--brand); font-weight: 600; }
.detail-card, .panel, .article { border: 1px solid var(--line); box-shadow: none; }
.buybar, .paybar { background: rgba(255, 255, 255, .98); border-top: 1px solid var(--line); }
.vip-card { background: linear-gradient(135deg, #1F49D6, #173AB0); }
.sheet-actions button, .primary, .paybar button, .paybar a, .buybar form button, .remain {
    background: var(--brand);
    color: #fff;
    border: 0;
}
.sheet-actions a { background: #F1F4F9; color: #4B5563; }

/* ===== 首页顶部轮播 ===== */
.carousel { margin: 10px 12px 2px; position: relative; }
.carousel-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    border-radius: 12px;
    scrollbar-width: none;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track a { flex: 0 0 100%; scroll-snap-align: center; display: block; }
.carousel-track img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 12px;
    display: block;
    background: var(--brand-soft);
}
.carousel-dots { display: flex; gap: 5px; justify-content: center; margin-top: 8px; }
.carousel-dots i {
    width: 5px; height: 5px; border-radius: 50%;
    background: #D7DEEA; display: block; transition: width .2s, background .2s;
}
.carousel-dots i.on { width: 14px; border-radius: 3px; background: var(--brand); }

/* ===== 会员页（卡密版） ===== */
.vip-hero {
    background: linear-gradient(160deg, #1F49D6, #173AB0);
    color: #fff;
    padding: 20px 16px 22px;
}
.vip-hero h1 { margin: 0 0 6px; font-size: 20px; letter-spacing: .5px; }
.vip-hero p { margin: 0; color: rgba(255, 255, 255, .74); font-size: 13px; }
.plan { border-radius: 14px; border: 1px solid var(--line); box-shadow: none; }
.plan.on { border-color: var(--brand); background: var(--brand-soft); box-shadow: none; }
.plan em { color: var(--brand); }
.card-steps, .redeem-box {
    margin: 0 12px 12px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 16px 14px;
}
.card-steps h3, .redeem-box h3 { margin: 0 0 8px; font-size: 15px; }
.card-steps ol { margin: 0; padding-left: 18px; color: #4B5563; line-height: 1.9; font-size: 13px; }
.redeem-box p.hint { margin: 0 0 10px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.redeem-box form { display: flex; gap: 8px; }
.redeem-box input {
    flex: 1; min-width: 0;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 11px 12px;
    background: #F7F9FC;
    letter-spacing: 1px;
    color: var(--ink);
}
.redeem-box button {
    flex: none;
    border: 0;
    border-radius: 10px;
    padding: 0 18px;
    background: var(--brand);
    color: #fff;
}
.contact-line { margin: 0 12px 14px; color: var(--muted); font-size: 12px; text-align: center; line-height: 1.7; }

/* 未解锁时底部按钮 */
.buybar > .lock-btn {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 132px;
    padding: 10px 26px;
    border-radius: 8px;
    background: var(--brand);
    color: #fff;
    font-weight: 600;
}

/* ---- 白底版收尾：白卡贴白底时用极淡投影+发丝线保住层次 ---- */
.panel, .detail-card, .article, .plan, .faq, .benefit-grid article {
    border: 1px solid var(--line);
    box-shadow: 0 1px 3px rgba(17, 17, 17, .045);
}
.card { border-radius: 10px; }
.card .thumb, .card img { border-radius: 10px; box-shadow: 0 1px 3px rgba(17, 17, 17, .06); }
.section-title { letter-spacing: .5px; }
/* ---- 下载按钮：比品牌蓝浅一档，更轻 ---- */
.buybar > form:last-child button,
.buybar > .lock-btn {
    background: #2E63F0;
    color: #fff;
    box-shadow: 0 2px 10px rgba(46, 99, 240, .22);
}
.buybar > form:last-child button:active,
.buybar > .lock-btn:active { background: #2455D8; }
/* ---- 方案卡价格：橙红色文字，会员免费 / 会员价 ---- */
.price b { color: #E8502A; }
.price b.free { color: #E8502A; letter-spacing: .3px; }
.price s { color: #A9B0BC; }
/* ---- 卡片价格行：会员免费徽章 + 价格 ---- */
.price { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.price i.vip-chip {
    font-style: normal;
    display: inline-block;
    padding: 2px 7px;
    border-radius: 4px;
    background: #2E63F0;
    color: #fff;
    font-size: 11px;
    line-height: 16px;
    font-weight: 600;
    letter-spacing: .3px;
}
.price b { font-size: 15px; font-weight: 700; }
.price b.todo { font-size: 12px; font-weight: 500; opacity: .85; }
.price s { font-size: 12px; }
/* ---- 会员徽章：免费=实心蓝，非免费=浅蓝描边，保证每张卡都有 ---- */
.price i.vip-chip.light {
    background: #EDF2FE;
    color: #2E63F0;
    border: 1px solid #C6D2F6;
    font-weight: 600;
}
/* 封面角标取消，避免与价格行徽章重复 */
.cover .free-flag { display: none; }
/* ---- 会员免费徽章：红黄渐变圆角块（纯会员制统一标识） ---- */
.price i.vip-chip {
    background: linear-gradient(135deg, #FF3D2E 0%, #FF7A18 55%, #FFB300 100%);
    color: #fff;
    border: 0;
    border-radius: 10px;
    padding: 3px 10px;
    font-size: 11px;
    font-weight: 700;
    line-height: 16px;
    letter-spacing: .5px;
    box-shadow: 0 2px 6px rgba(255, 96, 32, .26);
    text-shadow: 0 1px 1px rgba(170, 40, 0, .30);
}
/* ---- 悬浮客服按钮（可拖动，位置本地记忆） ---- */
.cs-fab {
    position: fixed;
    right: 16px;
    bottom: 96px;
    z-index: 60;
    width: 52px;
    height: 52px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: linear-gradient(150deg, #4A78F5 0%, #2E63F0 78%);
    box-shadow: 0 8px 20px rgba(0, 47, 167, .30);
    display: flex;
    align-items: center;
    justify-content: center;
    touch-action: none;
    cursor: grab;
    transition: transform .12s ease, box-shadow .12s ease;
}
.cs-fab:active { cursor: grabbing; transform: scale(.96); }
.cs-fab svg { display: block; }
.cs-mask {
    position: fixed;
    inset: 0;
    z-index: 61;
    background: rgba(10, 16, 40, .34);
}
.cs-panel {
    position: fixed;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    z-index: 62;
    width: 100%;
    max-width: 420px;
    box-sizing: border-box;
    padding: 22px 20px calc(24px + env(safe-area-inset-bottom));
    background: #fff;
    border-radius: 18px 18px 0 0;
    box-shadow: 0 -8px 30px rgba(0, 0, 0, .16);
    text-align: center;
}
.cs-panel h3 {
    margin: 0 0 14px;
    font-size: 15px;
    font-weight: 700;
    color: #14181F;
    letter-spacing: .5px;
}
.cs-panel .cs-contact {
    margin: 0 0 6px;
    font-size: 16px;
    font-weight: 600;
    color: #2E63F0;
    word-break: break-all;
    line-height: 1.6;
}
.cs-panel .cs-contact.empty { color: #8A93A3; font-weight: 500; font-size: 14px; }
.cs-panel .cs-tip { margin: 0 0 6px; font-size: 12px; color: #8A93A3; }
.cs-panel .cs-copy,
.cs-panel .cs-close {
    display: block;
    width: 100%;
    margin-top: 14px;
    padding: 12px 0;
    border: 0;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
}
.cs-panel .cs-copy { background: #2E63F0; color: #fff; }
.cs-panel .cs-close { background: #F1F4F9; color: #4B5563; }
/* ---- 首页图片区：可放多张，两列自动排 ---- */
.banners.multi {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}
.banners.multi .side-banner img {
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: cover;
}

/* ---- 装修页：多张首页图管理 ---- */
.decor-banners.multi {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}
.decor-banner-ops {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}
.decor-banner-ops button {
    flex: 1;
    padding: 9px 0;
    border: 0;
    border-radius: 8px;
    background: #FF5A1F;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
}
.decor-banner-ops button.gray {
    background: #F1F4F9;
    color: #5B6472;
}
.decor-add {
    margin-top: 18px;
    padding: 14px;
    border: 1px dashed #E5E9F0;
    border-radius: 10px;
    background: #F7F9FC;
}
.decor-add-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}
.decor-add-row input[name="url"] {
    flex: 1 1 180px;
    min-width: 0;
    padding: 9px 10px;
    border: 1px solid #E5E9F0;
    border-radius: 8px;
    font-size: 13px;
}
.decor-add-row button {
    padding: 9px 16px;
    border: 0;
    border-radius: 8px;
    background: #FF5A1F;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
}
/* ---- 装修页：顶部轮播图预览 ---- */
.decor-carousel {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 8px 12px 0;
}
.decor-carousel .carousel-slot {
    position: relative;
    display: block;
    border-radius: 10px;
    overflow: hidden;
    min-height: 78px;
    background: #F1F4F9;
}
.decor-carousel .carousel-slot img {
    width: 100%;
    display: block;
    border-radius: 10px;
    aspect-ratio: 2.4 / 1;
    object-fit: cover;
}
.decor-carousel .empty-slot {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px dashed #E7A17A;
    background: #FFF6F1;
}
/* ---- 装修页 1/2/3/4 编号标题与更清楚的说明文字 ---- */
.decor-block h3 {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 17px;
    color: #14181F;
    margin: 0 0 8px;
}
.decor-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #FF5A1F;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    font-style: normal;
    flex: 0 0 auto;
}
.decor-note.big {
    font-size: 13.5px;
    line-height: 1.75;
    color: #5B6472;
}
.decor-note.big b { color: #FF5A1F; font-weight: 700; }

/* 轮播图管理 */
.decor-cars { display: flex; flex-direction: column; gap: 14px; margin-bottom: 4px; }
.decor-car {
    display: flex;
    gap: 16px;
    padding: 14px;
    border: 1px solid #E9EDF4;
    border-radius: 12px;
    background: #FFFFFF;
    align-items: flex-start;
}
.decor-car-pic { flex: 0 0 200px; }
.decor-car-pic img {
    width: 200px;
    aspect-ratio: 2.4 / 1;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}
.decor-car-body { flex: 1 1 auto; min-width: 0; }
.decor-car-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}
.decor-car-head b { font-size: 14px; color: #14181F; }
.decor-field {
    display: block;
    font-size: 13px;
    color: #5B6472;
    margin-bottom: 4px;
}
.decor-field input {
    display: block;
    width: 100%;
    margin-top: 6px;
    padding: 9px 10px;
    border: 1px solid #E5E9F0;
    border-radius: 8px;
    font-size: 13px;
    box-sizing: border-box;
}
@media (max-width: 900px) {
    .decor-car { flex-direction: column; }
    .decor-car-pic, .decor-car-pic img { flex: none; width: 100%; }
}
/* 会员页权益/问答排版：标题与说明分行，窄屏改单列 */
.benefit-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
.benefit-grid article { padding: 12px 12px 13px; }
.benefit-grid article b { display: block; font-size: 14px; color: #2E63F0; margin-bottom: 6px; }
.benefit-grid article span { display: block; font-size: 12.5px; line-height: 1.7; color: #5B6472; }
.faq p { padding: 10px 12px; margin: 0 0 8px; background: #fff; border-radius: 10px; font-size: 13px; line-height: 1.75; }
.faq p b { display: block; color: #14181F; font-size: 13.5px; margin-bottom: 4px; }
@media (max-width: 380px) {
    .benefit-grid { grid-template-columns: 1fr; }
}
/* 会员页问答：同一张卡片内分隔，不再各自套白底 */
.faq > p {
    background: transparent;
    padding: 0 0 13px;
    margin: 0 0 13px;
    border-bottom: 1px solid #EFF2F7;
}
.faq > p:last-child { border-bottom: 0; padding-bottom: 0; margin-bottom: 0; }
.faq > p b { display: block; color: #14181F; font-size: 13.5px; margin-bottom: 6px; }
/* 会员页问答最终版：每条问答一张独立白卡，外层不再套卡 */
.faq {
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 12px 14px !important;
}
.faq > p,
.faq p {
    background: #fff !important;
    border: 0 !important;
    border-radius: 10px !important;
    padding: 12px 14px !important;
    margin: 0 0 8px !important;
    font-size: 13px;
    line-height: 1.75;
    color: #5B6472;
}
.faq > p:last-child, .faq p:last-child { margin-bottom: 0 !important; }
.faq p b {
    display: block;
    color: #14181F;
    font-size: 13.5px;
    margin-bottom: 6px;
}
/* 问答区：同卡内用细线分隔，避免白卡叠白卡看不出来 */
.faq p,
.faq > p {
    background: transparent !important;
    border: 0 !important;
    border-bottom: 1px solid #EFF2F7 !important;
    border-radius: 0 !important;
    padding: 0 0 14px !important;
    margin: 0 0 14px !important;
    font-size: 13px;
    line-height: 1.75;
    color: #5B6472;
}
.faq p:last-child, .faq > p:last-child {
    border-bottom: 0 !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}
.faq p b { display: block; color: #14181F; font-size: 13.5px; margin-bottom: 5px; }

/* ============================================================
   拍案 2.0 公共框架（阶段一：公共布局与导航）
   仅在文件末尾追加，不改动上方既有规则
   ============================================================ */
:root {
    --brand: #2E63F0;
    --brand-2: #4C7BF5;
    --brand-soft: #EDF2FE;
    --ink: #14181F;
    --muted: #6B7280;
    --line: #E5E9F0;
    --bg: #F5F7FA;
    --card: #FFFFFF;
    --price: #E8502A;
    --accent: #FF5A1F;
    --text-2: #4B5563;
    --text-3: #8A93A3;
    --radius-card: 12px;
    --radius-ctl: 8px;
    --shadow-card: 0 1px 2px rgba(16, 24, 40, .04), 0 4px 14px rgba(16, 24, 40, .05);
    --shadow-pop: 0 10px 30px rgba(16, 24, 40, .12);
    --phone: 402px;
    --shell: 1440px;
}
html { -webkit-text-size-adjust: 100%; }
body { background: var(--bg); color: var(--ink); }
.phone { background: transparent; }
.page-shell { position: relative; width: 100%; }

/* ---- 站点顶栏：默认隐藏，桌面端显示 ---- */
.sitehead { display: none; }

/* ---- 组件统一：卡片 / 按钮 / 输入框 ---- */
.panel, .detail-card, .article, .plan, .card-steps, .redeem-box,
.order-item, .benefit-grid article, .faq p, .faq > p {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
}
.primary, .sheet-actions button, .paybar button, .paybar a,
.buybar form button, .buybar > .lock-btn, .redeem-box button,
.text, .pc-tip button, .dialog-actions a, .cs-panel .cs-copy {
    border: 0;
    border-radius: var(--radius-ctl);
    background: var(--brand);
    color: #fff;
    font-weight: 600;
    transition: background .15s ease, box-shadow .15s ease, transform .1s ease;
}
.primary:hover, .sheet-actions button:hover, .paybar button:hover,
.buybar form button:hover, .buybar > .lock-btn:hover, .redeem-box button:hover,
.text:hover, .dialog-actions a:hover, .cs-panel .cs-copy:hover {
    background: #2455D8;
    box-shadow: 0 4px 12px rgba(46, 99, 240, .22);
}
.primary:active, .buybar form button:active, .buybar > .lock-btn:active,
.redeem-box button:active, .cs-panel .cs-copy:active { transform: translateY(1px); }
.ghost, .sheet-actions a, .dialog-actions button, .cs-panel .cs-close,
.menu a, .logout {
    background: #F1F4F9;
    color: var(--text-2);
    border: 1px solid var(--line);
    border-radius: var(--radius-ctl);
    transition: background .15s ease, color .15s ease;
}
.ghost:hover, .sheet-actions a:hover, .cs-panel .cs-close:hover, .logout:hover {
    background: var(--brand-soft);
    color: var(--brand);
}
.chips a, .type-chips a, .choices label, .hot-list a, .hot-list button {
    background: #fff;
    border: 1px solid var(--line);
    color: var(--text-2);
    border-radius: var(--radius-ctl);
    transition: border-color .15s ease, color .15s ease, background .15s ease;
}
.chips a:hover, .type-chips a:hover, .hot-list a:hover { border-color: var(--brand); color: var(--brand); }
.chips a.on, .type-chips a.on, .choices label:has(input:checked) {
    background: var(--brand-soft);
    border-color: var(--brand);
    color: var(--brand);
    font-weight: 600;
}
.auth-card input:not([type="checkbox"]), .panel input, .redeem-box input,
.search-page input {
    border: 1px solid var(--line);
    border-radius: var(--radius-ctl);
    background: #fff;
    padding: 11px 12px;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.auth-card input:not([type="checkbox"]):focus, .panel input:focus,
.redeem-box input:focus, .search-page input:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(46, 99, 240, .12);
    outline: none;
}

/* ---- 桌面端宽屏布局 ---- */
@media (min-width: 1024px) {
    .phone { width: 100%; max-width: none; }
    .page-shell { max-width: var(--shell); margin: 0 auto; padding: 0 40px; }

    .sitehead {
        display: block;
        position: sticky;
        top: 0;
        z-index: 30;
        background: rgba(255, 255, 255, .94);
        backdrop-filter: saturate(150%) blur(10px);
        border-bottom: 1px solid var(--line);
    }
    .sitehead-inner {
        max-width: var(--shell);
        margin: 0 auto;
        padding: 0 40px;
        height: 68px;
        display: flex;
        align-items: center;
        gap: 30px;
    }
    .sitehead-brand { display: flex; align-items: center; gap: 12px; flex: none; }
    .sitehead-logo {
        width: 36px; height: 36px;
        display: flex; align-items: center; justify-content: center;
        border-radius: 9px;
        background: var(--brand);
        color: #fff;
        font-size: 17px;
        font-weight: 700;
        box-shadow: 0 4px 12px rgba(46, 99, 240, .28);
    }
    .sitehead-word { display: flex; flex-direction: column; line-height: 1.15; }
    .sitehead-word b { font-size: 19px; font-weight: 700; letter-spacing: .5px; }
    .sitehead-word em { font-style: normal; font-size: 12px; color: var(--text-3); margin-top: 3px; }
    .sitehead-nav { display: flex; align-items: center; gap: 4px; margin-left: 6px; }
    .sitehead-nav a {
        position: relative;
        padding: 9px 15px;
        border-radius: var(--radius-ctl);
        color: var(--text-2);
        font-size: 15px;
        transition: color .15s ease, background .15s ease;
    }
    .sitehead-nav a:hover { color: var(--brand); background: var(--brand-soft); }
    .sitehead-nav a.on { color: var(--brand); font-weight: 700; }
    .sitehead-nav a.on::after {
        content: "";
        position: absolute;
        left: 15px; right: 15px; bottom: 1px;
        height: 2px;
        border-radius: 2px;
        background: var(--brand);
    }
    .sitehead-user { margin-left: auto; display: flex; align-items: center; gap: 10px; }
    .sitehead-login { color: var(--text-2); font-size: 14px; padding: 8px 12px; border-radius: var(--radius-ctl); transition: color .15s, background .15s; }
    .sitehead-login:hover { color: var(--brand); background: var(--brand-soft); }
    .sitehead-reg {
        background: var(--brand); color: #fff;
        font-size: 14px; font-weight: 600;
        padding: 9px 18px; border-radius: var(--radius-ctl);
        box-shadow: 0 4px 12px rgba(46, 99, 240, .22);
        transition: background .15s ease;
    }
    .sitehead-reg:hover { background: #2455D8; }
    .sitehead-me { font-size: 14px; color: var(--ink); max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .sitehead-out button { border: 0; background: transparent; color: var(--text-3); font-size: 13px; padding: 6px 8px; border-radius: 6px; cursor: pointer; }
    .sitehead-out button:hover { color: var(--brand); background: var(--brand-soft); }

    /* 桌面端隐藏手机底部导航，取消底部留白 */
    .tabbar { display: none; }
    .has-tab, body.has-tab { padding-bottom: 0; }

    /* 内容区左右留白交给容器，块级元素不再各自缩进 */
    .topbar { padding: 18px 0 10px; background: transparent; }
    .search-fake {
        height: 44px;
        display: flex; align-items: center;
        padding: 0 18px;
        border: 1px solid var(--line);
        border-radius: var(--radius-ctl);
        background: #fff;
        color: var(--text-3);
        box-shadow: var(--shadow-card);
    }
    .channels { padding: 6px 0 0; gap: 6px; }
    .channels a { flex: none; padding: 9px 18px; border-radius: var(--radius-ctl); font-size: 15px; }
    .channels a:hover { color: var(--brand); }
    .channels a.on { background: var(--brand-soft); color: var(--brand); }
    .channels a.on::after { display: none; }
    .chips, .type-chips { padding: 12px 0 0; gap: 10px; }
    .filters { padding: 8px 0 12px; }
    .drop-panel.tree { left: 0; right: 0; max-width: none; }
    .carousel { margin: 14px 0 6px; }
    .carousel-track img { height: 270px; border-radius: 14px; }
    .banners { padding: 12px 0 0; gap: 14px; }
    .banners.multi { grid-template-columns: repeat(4, 1fr); }
    .cards { padding: 18px 0 28px; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 18px; }
    .block-head { padding: 16px 0 8px; }
    .hot-list, .benefits, .faq, .agree-line, .mine-list, .mine-stats, .mine-tabs { padding-left: 0; padding-right: 0; }
    .detail-card, .panel, .article { margin: 16px 0; }
    .benefit, .pc-tip { margin: 14px 0; }
    .cs-fab { right: 32px; bottom: 32px; }

    /* 桌面端底部操作条改为整宽，避免 402px 窄条 */
    .buybar, .paybar {
        left: 0; right: 0; transform: none; width: 100%;
        padding: 10px 40px calc(10px + env(safe-area-inset-bottom));
        background: rgba(255, 255, 255, .96);
        backdrop-filter: blur(10px);
    }
    .buybar { bottom: 0; }
    .buybar-inner { max-width: var(--shell); margin: 0 auto; }
    .buybar > form:last-child button, .buybar > .lock-btn { min-width: 180px; border-radius: var(--radius-ctl); }
    .page-layer {
        left: 0; transform: none; width: 100%;
        background: var(--bg);
    }
}

@media (min-width: 1024px) and (max-width: 1199px) {
    .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .banners.multi { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1920px) {
    .page-shell { padding: 0 48px; }
    .sitehead-inner { padding: 0 48px; }
}

/* 打开浮层时隐藏底部导航（层级变化后的兜底规则） */
body.has-layer .tabbar,
body.has-layer .buybar,
body.has-layer .paybar { visibility: hidden; }
/* ============================================================
   阶段一 补丁二：平板宽度、筛选行对齐、详情预览限宽、套餐三列
   ============================================================ */
@media (min-width: 768px) and (max-width: 1023px) {
    .phone { width: 100%; }
    .page-shell { max-width: 640px; margin: 0 auto; padding: 0 12px; }
    .tabbar, .buybar, .paybar { left: 0; right: 0; transform: none; width: 100%; }
}

@media (min-width: 1024px) {
    .filters { justify-content: flex-start; gap: 22px; }
    .filters .drop { flex: none; }
    .drop > button { padding: 6px 0; }
    .previews { max-width: 880px; }
    .previews img { max-height: 72vh; object-fit: contain; background: #F1F4F9; }
    .plans {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 16px;
        overflow: visible;
        padding: 4px 0 12px;
    }
    .plans .plan { min-width: 0; }
    .vip-hero { border-radius: 0 0 var(--radius-card) var(--radius-card); }
}
/* ---- 阶段一 补丁三：登录/注册表单在桌面不再整行拉伸 ---- */
@media (min-width: 1024px) {
    .auth-card { max-width: 440px; margin: 28px auto 0; padding: 22px 0 0; background: transparent; border: 0; }
    .subhead { padding: 16px 0 10px; }
    .auth-card .primary, .auth-card .ghost { width: 100%; }
}

/* ==========================================================================
   灵感岛 2.0 手机版首页改版（v3，2026-11-17）
   新增区块：品牌区 / 大家在搜 / 快捷分类图标网格 / VIP 横幅 / 专题策划
   同时轻调：筛选条、双列卡片视觉
   说明：仅新增选择器与少量视觉覆盖，不改动 .phone / .page-shell / .tabbar 层级，
        卡片仍保持 .cards 双列 + .cover-mosaic 多页拼图原结构。
   ========================================================================== */

/* ---------- 1. 手机版品牌区 ---------- */
.mh-brand {
    padding: 14px 16px 12px;
    background:
        radial-gradient(120% 88% at 100% 0%, rgba(255, 155, 69, .12), transparent 58%),
        linear-gradient(180deg, #F5F9FF 0%, #FFFFFF 100%);
}
.mh-brand-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.mh-logo img { width: 150px; height: auto; display: block; }
.mh-brand-acts { display: flex; align-items: center; gap: 8px; }
.mh-vip {
    height: 30px;
    padding: 0 13px;
    border-radius: 15px;
    background: linear-gradient(120deg, #FFB36B, #FF9B45);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .6px;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 4px 12px rgba(255, 155, 69, .28);
}
.mh-me {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #E4EAF6;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #6B7280;
}
.mh-me svg { width: 17px; height: 17px; }
.mh-me svg circle, .mh-me svg path { fill: none; stroke: currentColor; stroke-width: 1.6; }

.mh-search {
    margin-top: 12px;
    height: 42px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 6px 0 14px;
    border-radius: 21px;
    background: #fff;
    border: 1px solid #E4EAF6;
    box-shadow: 0 6px 18px rgba(46, 99, 240, .07);
}
.mh-search-ico { width: 17px; height: 17px; flex: none; color: #9AA3B2; }
.mh-search-ico circle, .mh-search-ico path { fill: none; stroke: currentColor; stroke-width: 1.7; }
.mh-search input {
    flex: 1;
    min-width: 0;
    height: 100%;
    border: 0;
    background: none;
    outline: none;
    font-size: 13.5px;
    color: var(--ink);
    -webkit-appearance: none;
    appearance: none;
}
.mh-search input::-webkit-search-cancel-button { display: none; }
.mh-search input::placeholder { color: #A6AEBC; }
.mh-search button {
    flex: none;
    height: 30px;
    padding: 0 15px;
    border: 0;
    border-radius: 15px;
    background: var(--brand);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
}
.mh-slogan {
    margin: 10px 0 0;
    text-align: center;
    font-size: 11.5px;
    letter-spacing: 1.4px;
    color: #9AA3B2;
}

/* ---------- 区块标题（热搜 / 专题共用） ---------- */
.mh-sec-head { display: flex; align-items: center; gap: 8px; padding: 0 16px 8px; }
.mh-sec-head b { font-size: 15px; color: var(--ink); letter-spacing: .3px; }
.mh-sec-more, .mh-sec-sub { margin-left: auto; font-size: 12px; color: #9AA3B2; }

/* ---------- 2. 大家在搜 ---------- */
.mh-hot { padding: 10px 0 2px; margin-top: 6px; background: #fff; border-top: 1px solid #F3F5F9; }
.mh-hot-track {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 0 16px 12px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.mh-hot-track::-webkit-scrollbar { display: none; }
.mh-hot-item {
    flex: none;
    display: inline-flex;
    align-items: center;
    height: 28px;
    padding: 0 11px;
    border-radius: 14px;
    background: #F4F7FD;
    color: #4B5563;
    font-size: 12.5px;
    white-space: nowrap;
}
.mh-hot-item .badge { margin-left: 5px; }

/* ---------- 3. 快捷分类图标网格 ---------- */
.mh-cats {
    display: flex;
    gap: 4px;
    overflow-x: auto;
    padding: 12px 12px 8px;
    background: #fff;
    scrollbar-width: none;
}
.mh-cats::-webkit-scrollbar { display: none; }
.mh-cat {
    flex: none;
    width: 62px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 4px 0 2px;
    text-align: center;
}
.mh-cat-ico {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F4F7FD;
    color: #7B8496;
}
.mh-cat-ico svg { width: 21px; height: 21px; display: block; }
.mh-cat-ico svg * { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.mh-cat.on .mh-cat-ico { background: var(--brand-soft); color: var(--brand); }
.mh-cat-txt {
    font-size: 12px;
    color: #5B6472;
    line-height: 1.2;
    max-width: 62px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.mh-cat.on .mh-cat-txt { color: var(--brand); font-weight: 600; }

/* ---------- 4. VIP 会员横幅（不显示价格） ---------- */
.mh-vipb {
    margin: 10px 12px 2px;
    padding: 14px;
    border-radius: 14px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(118deg, #2E63F0 0%, #4C7BF5 58%, #6E8FF7 100%);
    box-shadow: 0 8px 20px rgba(46, 99, 240, .20);
}
.mh-vipb-txt { flex: 1; min-width: 0; }
.mh-vipb-txt b { display: block; font-size: 15px; letter-spacing: .4px; }
.mh-vipb-txt p { margin: 5px 0 0; font-size: 11.5px; line-height: 1.55; color: rgba(255, 255, 255, .84); }
.mh-vipb-btn {
    flex: none;
    height: 32px;
    padding: 0 14px;
    border-radius: 16px;
    background: #FF9B45;
    color: #fff;
    font-size: 12.5px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 4px 12px rgba(255, 155, 69, .32);
}

/* ---------- 5. 专题策划 ---------- */
.mh-topics { padding: 14px 0 4px; margin-top: 10px; background: #fff; }
.mh-topic-track {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 0 12px 4px;
    scrollbar-width: none;
}
.mh-topic-track::-webkit-scrollbar { display: none; }
.mh-topic {
    position: relative;
    flex: none;
    width: 272px;
    height: 152px;
    border-radius: 14px;
    overflow: hidden;
    background: #EEF2FA;
    box-shadow: 0 4px 14px rgba(16, 24, 40, .08);
}
.mh-topic img { width: 100%; height: 100%; object-fit: cover; display: block; filter: brightness(.82) saturate(.92) blur(1.6px); transform: scale(1.02); }
/* 封面多为带大字的海报，统一压一层暗色，保证标题可读、不与原图文字打架 */
.mh-topic::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(12, 18, 32, .30);
}
.mh-topic-mask {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 24px 12px 11px;
    background: linear-gradient(180deg, rgba(10, 16, 30, 0), rgba(10, 16, 30, .88));
    color: #fff;
}
.mh-topic-mask b { display: block; font-size: 14px; line-height: 1.35; }
.mh-topic-mask em { display: block; margin-top: 3px; font-style: normal; font-size: 11.5px; color: rgba(255, 255, 255, .82); }

/* ---------- 6/7. 手机端视觉微调（严格限制在 <1024，不动桌面第一阶段样式） ---------- */
@media (max-width: 1023px) {
/* 筛选条视觉（结构不变） */
.filters {
    padding: 10px 12px 8px;
    gap: 8px;
    border-top: 1px solid #F3F5F9;
    background: #fff;
}
.filters button, .drop > button {
    height: 32px;
    padding: 0 12px;
    border-radius: 16px;
    border: 0;
    background: #F4F7FD;
    color: #4B5563;
    font-size: 12.5px;
}
.filters button.on, .drop > button.on { background: var(--brand-soft); color: var(--brand); font-weight: 600; }
.filter-ico { width: 12px; height: 12px; }

/* ---------- 7. 双列卡片视觉（结构与数据含义不变） ---------- */
.cards { gap: 18px 10px; padding: 10px 12px 18px; }
.cover, .card .thumb, .card img { border-radius: 12px; }
.card h3 { font-size: 13.5px; line-height: 1.4; height: 38px; color: #14181F; }
.tags { font-size: 11.5px; color: #98A1B0; }
.card { border-radius: 12px; transition: transform .15s ease; }
.card:active { transform: scale(.985); }
.fmt, .views { font-size: 11.5px; }
.card .price i.vip-chip { border-radius: 4px; }

}
/* ---------- 8. 底部导航品牌图标 ---------- */
.tabbar .logo-mark {
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}
.tabbar .logo-mark img { width: 18px; height: 18px; object-fit: contain; display: block; }
.tabbar a.active .logo-mark { background: #fff; }

/* ---------- 9. 桌面端（≥1024）保留第一阶段布局，只补品牌与搜索 ---------- */
@media (min-width: 1024px) {
    .mh-brand { max-width: var(--shell); margin: 0 auto; padding: 20px 40px 4px; background: transparent; }
    .mh-brand-row { display: none; }
    .mh-search { max-width: 560px; margin: 0 auto; height: 40px; }
    .mh-slogan { display: none; }

    .mh-hot { border-top: 0; margin-top: 4px; background: transparent; }
    .mh-sec-head, .mh-hot .mh-sec-head { max-width: var(--shell); margin: 0 auto; padding: 0 40px 8px; }
    .mh-hot-track { max-width: var(--shell); margin: 0 auto; padding: 0 40px 14px; flex-wrap: wrap; overflow: visible; }
    .mh-hot-item { height: 30px; }

    .mh-cats { max-width: var(--shell); margin: 0 auto; padding: 12px 34px 10px; overflow: visible; background: transparent; }
    .mh-cat { width: 88px; }
    .mh-cat-ico { width: 46px; height: 46px; border-radius: 14px; }
    .mh-cat-ico svg { width: 24px; height: 24px; }
    .mh-cat-txt { font-size: 13px; max-width: 88px; }

    .mh-vipb { max-width: calc(var(--shell) - 80px); margin: 14px auto 6px; padding: 18px 20px; }
    .mh-vipb-txt b { font-size: 17px; }
    .mh-vipb-txt p { font-size: 13px; }
    .mh-vipb-btn { height: 36px; padding: 0 18px; font-size: 13.5px; }

    .mh-topics { background: transparent; padding: 18px 0 6px; }
    .mh-topics .mh-sec-head { max-width: var(--shell); margin: 0 auto; padding: 0 40px 10px; }
    .mh-topic-track { max-width: var(--shell); margin: 0 auto; padding: 0 40px 8px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; overflow: visible; }
    .mh-topic { width: auto; height: 200px; }

    .sitehead-logo {
        background: transparent;
        width: auto;
        height: 32px;
        border-radius: 0;
    }
    .sitehead-logo img { height: 32px; width: auto; display: block; }

    .filters { max-width: calc(var(--shell) - 80px); margin: 6px auto 0; border-radius: 10px; }
}

/* 平台定位行与搜索空态（第五阶段体验优化） */
.mh-pos { font-size: 12.5px; color: #8A93A6; text-align: center; margin: -2px 0 10px; letter-spacing: .04em; }
.mh-pos em { font-style: normal; margin: 0 6px; color: #C6CCDA; }
.empty p { margin: 0 0 6px; }
.empty .empty-tip { font-size: 12.5px; color: #8A93A6; line-height: 1.9; }
.empty .empty-tip .mh-hot-item { margin: 0 4px; }
.empty .empty-all { display: inline-block; margin-top: 10px; padding: 8px 18px; border: 1px solid var(--brand); border-radius: 999px; color: var(--brand); font-size: 13px; }
.summary.acquire { margin-top: 10px; }
.summary.acquire span { display: inline-block; margin-right: 6px; padding: 1px 6px; border-radius: 6px; background: #EDF2FE; color: var(--brand); font-size: 12px; }
