/* ==========================================================
   次元屋动漫周边商城 · 前台样式（电光紫 + 樱花粉 · 次元潮流）
   说明：全站基础变量在 app.css 里（糖果彩虹风，供后台使用），
   为了不影响商家端 / 平台端后台，前台在这里做整体变量与组件覆盖。
   ========================================================== */

:root {
    /* 主色：电光紫 */
    --c-primary:        #6c4cf1;
    --c-primary-dark:   #4a2fc4;
    --c-primary-light:  #9b86ff;
    --c-primary-soft:   #f0ecff;

    /* 辅助：琥珀 / 樱花粉 / 春青绿 */
    --c-gold:      #ffb020;
    --c-gold-soft: #fff4e0;
    --c-green:     #2fb98a;
    --c-berry:     #ff5c9d;
    --c-pink:      #ff5c9d;
    --c-pink-soft: #ffeaf3;
    --c-blue:      #8b6ff0;
    --c-blue-soft: #f0ecff;
    --c-purple:    #5b4a9e;
    --c-purple-soft: #f0ecff;

    /* 中性：紫灰 */
    --c-text:      #221a3a;
    --c-text-2:    #5d5478;
    --c-text-3:    #948aad;
    --c-border:    #ece9f6;
    --c-border-2:  #ddd6f0;
    --c-bg:        #f8f7fd;
    --c-bg-2:      #f1eefb;
    --c-white:     #ffffff;

    /* 状态 */
    --c-warn:    #e08a00;
    --c-success: #2fb98a;
    --c-danger:  #f0384b;
    --c-info:    #8b6ff0;

    /* 阴影 & 圆角：紫影投影，克制不童趣 */
    --shadow-sm: 0 1px 2px rgba(76, 47, 196, .05), 0 2px 10px rgba(76, 47, 196, .06);
    --shadow:    0 2px 4px rgba(76, 47, 196, .06), 0 12px 26px rgba(76, 47, 196, .1);
    --shadow-lg: 0 4px 8px rgba(76, 47, 196, .07), 0 22px 46px rgba(76, 47, 196, .14);
    --radius-sm: 10px;
    --radius:    14px;
    --radius-lg: 20px;
    --radius-pill: 999px;

    --line: 1.5px solid var(--c-border);
    --line-strong: 1.5px solid var(--c-border-2);
}

/* ---------------- 覆盖 app.css 共享组件（仅前台生效） ---------------- */

body {
    background: var(--c-bg);
    background-image:
        radial-gradient(circle at 10% 4%, rgba(255, 176, 32, .07), transparent 30%),
        radial-gradient(circle at 92% 12%, rgba(155, 134, 255, .07), transparent 32%);
    background-attachment: fixed;
}

/* 顶部导航 */
.site-header {
    border-bottom: 1px solid var(--c-border-2);
}
.brand .logo {
    background: linear-gradient(135deg, #9b86ff, #6c4cf1 55%, #4a2fc4);
    box-shadow: 0 4px 0 rgba(108, 76, 241, .22);
    transform: rotate(-3deg);
}
.brand:hover .logo { transform: rotate(3deg) scale(1.06); }
.main-nav a.active {
    box-shadow: 0 3px 0 rgba(108, 76, 241, .25);
}

/* 按钮 */
.btn { border-width: 1.5px; }
.btn-primary {
    background: linear-gradient(135deg, #9b86ff, #6c4cf1 65%, #4a2fc4);
    box-shadow: 0 4px 12px rgba(76, 47, 196, .26);
}
.btn-primary:hover {
    background: linear-gradient(135deg, #b0a0ff, #5b3fd6 65%, #42259f);
    box-shadow: 0 6px 16px rgba(76, 47, 196, .3);
}
.btn-danger  { box-shadow: 0 4px 12px rgba(240, 56, 75, .24); }
.btn-success { box-shadow: 0 4px 12px rgba(47, 185, 138, .24); }
.btn-soft { border-color: #ded4f7; }
.btn-soft:hover { background: #efe9ff; color: var(--c-primary-dark); }

/* 表单 */
.form-control:focus {
    box-shadow: 0 0 0 4px rgba(155, 134, 255, .16);
}
.form-control::placeholder { color: #b3aacb; }
select.form-control {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%235d5478' d='M1.4 0L6 4.6 10.6 0 12 1.4 6 7.4 0 1.4z'/%3E%3C/svg%3E");
}

/* 卡片 / 表格 / 弹窗 头部渐变 */
.card-head,
.modal-head {
    background: linear-gradient(135deg, #faf9ff, #f3f0fd);
}
.table th { background: linear-gradient(135deg, #faf9ff, #f3f0fd); }
.table tbody tr:hover { background: #faf9ff; }
.modal { border: 1.5px solid var(--c-border-2); }
.modal-mask { background: rgba(34, 26, 58, .45); }
.modal-close:hover { transform: rotate(90deg); }
.img-ph { background: linear-gradient(135deg, #f3f0fd, #f0ebfd); }
.pager .active a, .pager .active span { box-shadow: 0 3px 0 rgba(108, 76, 241, .25); }
.toast { box-shadow: 0 8px 0 rgba(76, 47, 196, .14), 0 16px 34px rgba(76, 47, 196, .2); }
.toast.warn { color: #4a3200; }

/* 页脚 */
.site-footer {
    background: linear-gradient(180deg, #f4f1fd, #f2effa);
    border-top: 2px solid var(--c-border-2);
}

/* 标题用现代无衬线，干净利落的二次元潮流感 */
h1, h2, h3, .hero h1, .section-head h2 {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
                 "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    letter-spacing: -.2px;
}

/* ---------------- Hero 区 ---------------- */
.hero {
    position: relative;
    padding: 74px 0 68px;
    background:
        radial-gradient(circle at 12% 20%, rgba(155, 134, 255, .24), transparent 42%),
        radial-gradient(circle at 88% 14%, rgba(255, 176, 32, .2), transparent 42%),
        radial-gradient(circle at 70% 88%, rgba(139, 111, 240, .16), transparent 40%),
        linear-gradient(160deg, #f6f3ff 0%, #f3f0fd 55%, #f3f0fd 100%);
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(108, 76, 241, .05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(108, 76, 241, .05) 1px, transparent 1px);
    background-size: 52px 52px;
    pointer-events: none;
    mask-image: radial-gradient(circle at 50% 40%, #000 30%, transparent 78%);
    -webkit-mask-image: radial-gradient(circle at 50% 40%, #000 30%, transparent 78%);
}
.hero::after {
    content: '🎐';
    position: absolute;
    right: 3%; bottom: -18px;
    font-size: 130px;
    opacity: .1;
    transform: rotate(-8deg);
    pointer-events: none;
}
.hero .inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 50px;
}
.hero-text { flex: 1; min-width: 0; }
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 17px;
    border-radius: var(--radius-pill);
    background: #fff;
    border: 1.5px solid #ded4f7;
    color: var(--c-primary);
    font-size: 12.5px;
    font-weight: 700;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(108, 76, 241, .1);
}
.hero h1 {
    font-size: 42px;
    line-height: 1.22;
    margin-bottom: 16px;
    letter-spacing: -.3px;
    color: var(--c-text);
}
.hero h1 .hl {
    background: linear-gradient(110deg, #9b86ff, #6c4cf1 55%, #4a2fc4 90%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}
.hero p.lead {
    font-size: 16px;
    color: var(--c-text-2);
    max-width: 480px;
    margin-bottom: 28px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-visual {
    flex: 0 0 400px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}
.hero-card {
    border-radius: var(--radius);
    background: var(--c-white);
    box-shadow: var(--shadow);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    border: 1.5px solid #e8e2f6;
    transition: transform .3s cubic-bezier(.22, .61, .36, 1);
}
.hero-card:nth-child(1) { transform: translateY(-14px); }
.hero-card:nth-child(2) { transform: translateY(0); }
.hero-card:nth-child(3) { transform: translateY(0); }
.hero-card:nth-child(4) { transform: translateY(-14px); }
.hero-card:nth-child(1):hover { transform: translateY(-16px); }
.hero-card:nth-child(2):hover { transform: translateY(-2px); }
.hero-card:nth-child(3):hover { transform: translateY(-2px); }
.hero-card:nth-child(4):hover { transform: translateY(-16px); }
.hero-card:nth-child(2) { border-color: #e4dcf7; }
.hero-card:nth-child(3) { border-color: #e0d8f5; }
.hero-card:nth-child(4) { border-color: #ddd4f3; }
.hero-card .emoji { font-size: 36px; line-height: 1; }
.hero-card .t { font-weight: 800; font-size: 14.5px; color: var(--c-text); }
.hero-card .d { font-size: 12.5px; color: var(--c-text-3); line-height: 1.5; }

/* 统计条 */
.hero-stats {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 44px;
    margin-top: 46px;
    padding-top: 26px;
    border-top: 1.5px dashed rgba(108, 76, 241, .22);
    flex-wrap: wrap;
}
.hero-stats .item .num {
    font-size: 27px;
    font-weight: 800;
    color: var(--c-primary);
    line-height: 1.2;
}
.hero-stats .item .lbl { font-size: 13px; color: var(--c-text-3); font-weight: 600; }

/* ---------------- 区块标题 ---------------- */
.section { margin: 56px 0; }
.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 26px;
    flex-wrap: wrap;
}
.section-head h2 {
    font-size: 24px;
    margin: 0;
    position: relative;
    padding-left: 44px;
    color: var(--c-text);
}
.section-head h2::before {
    content: '';
    position: absolute;
    left: 0; top: 50%;
    transform: translateY(-50%);
    width: 32px; height: 32px;
    border-radius: 10px;
    background: linear-gradient(135deg, #ffc247, #ffb020 55%, #6c4cf1);
    border: 1.5px solid #fff;
    box-shadow: 0 4px 12px rgba(76, 47, 196, .2);
}
.section-head .sub {
    font-size: 13.5px;
    color: var(--c-text-3);
    margin-top: 5px;
    padding-left: 44px;
}
.section-head .more {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--c-text-3);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 16px;
    border-radius: var(--radius-pill);
    background: #fff;
    border: 1.5px solid var(--c-border);
    transition: all .2s;
}
.section-head .more:hover {
    color: var(--c-primary);
    border-color: var(--c-primary-light);
    background: var(--c-primary-soft);
    transform: translateY(-2px);
}

/* ---------------- 分类导航 ---------------- */
.cat-strip {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(124px, 1fr));
    gap: 16px;
}
.cat-item {
    background: var(--c-white);
    border: 1.5px solid #e8e2f6;
    border-radius: var(--radius);
    padding: 22px 10px 18px;
    text-align: center;
    transition: all .26s cubic-bezier(.22, .61, .36, 1);
    color: var(--c-text);
    box-shadow: var(--shadow-sm);
}
.cat-item:nth-child(4n+2) { border-color: #e4dcf7; }
.cat-item:nth-child(4n+3) { border-color: #e0d8f5; }
.cat-item:nth-child(4n+4) { border-color: #ddd4f3; }
.cat-item:nth-child(4n+1) { border-color: #e6dcf7; }
.cat-item:hover {
    background: linear-gradient(160deg, #fbfaff, #f6f4fe);
    transform: translateY(-6px);
    box-shadow: var(--shadow);
    color: var(--c-primary-dark);
}
.cat-item .ico {
    font-size: 30px;
    margin-bottom: 8px;
    line-height: 1;
    display: inline-block;
    transition: transform .3s cubic-bezier(.22, .61, .36, 1);
}
.cat-item:hover .ico { transform: scale(1.14); }
.cat-item .nm { font-size: 14px; font-weight: 700; }
.cat-item .ct { font-size: 11.5px; color: var(--c-text-3); margin-top: 2px; }

/* ---------------- 商品卡片 ---------------- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(236px, 1fr));
    gap: 22px;
}

.product-card {
    background: var(--c-white);
    border: 1.5px solid #e8e2f6;
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all .28s cubic-bezier(.22, .61, .36, 1);
    position: relative;
    box-shadow: var(--shadow-sm);
}
.product-card:nth-child(4n+2) { border-color: #e4dcf7; }
.product-card:nth-child(4n+3) { border-color: #e0d8f5; }
.product-card:nth-child(4n+4) { border-color: #ddd4f3; }
.product-card:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow);
}

.product-card .thumb {
    position: relative;
    aspect-ratio: 1 / 1;
    background: linear-gradient(135deg, #f6f3ff, #efeafd);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.product-card .thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .45s cubic-bezier(.22, .61, .36, 1);
}
.product-card:hover .thumb img { transform: scale(1.07); }

.product-card .thumb .ph-emoji { font-size: 58px; opacity: .85; }

.product-card .corner {
    position: absolute;
    top: 12px; left: 12px;
    padding: 3px 12px;
    border-radius: var(--radius-pill);
    font-size: 11.5px;
    font-weight: 800;
    background: linear-gradient(135deg, #ffc247, #ffb020);
    color: #fff;
    border: 2px solid #fff;
    box-shadow: 0 4px 10px rgba(224, 148, 0, .24);
}
.product-card .corner.hot {
    background: linear-gradient(135deg, #ff5c9d, #f0384b);
    box-shadow: 0 4px 10px rgba(240, 56, 75, .22);
}

.product-card .body {
    padding: 15px 16px 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.product-card .nm {
    font-size: 14.5px;
    font-weight: 700;
    line-height: 1.45;
    margin-bottom: 5px;
    color: var(--c-text);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 42px;
}
.product-card:hover .nm { color: var(--c-primary-dark); }
.product-card .sub {
    font-size: 12.5px;
    color: var(--c-text-3);
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.product-card .shop {
    font-size: 12px;
    color: var(--c-text-3);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 4px;
}
.product-card .foot {
    margin-top: auto;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 8px;
}
.product-card .price {
    color: var(--c-danger);
    font-size: 19px;
    font-weight: 800;
    line-height: 1.1;
}
.product-card .price .cur { font-size: 13px; margin-right: 1px; }
.product-card .price-old {
    font-size: 12px;
    color: var(--c-text-3);
    text-decoration: line-through;
    margin-left: 5px;
}
.product-card .sales { font-size: 12px; color: var(--c-text-3); }
.product-card .add-cart {
    width: 36px; height: 36px;
    border-radius: 50%;
    border: 1.5px solid #fff;
    background: linear-gradient(135deg, var(--c-primary-light), var(--c-primary));
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .24s cubic-bezier(.22, .61, .36, 1);
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(76, 47, 196, .24);
    line-height: 1;
}
.product-card .add-cart:hover {
    transform: scale(1.12);
    box-shadow: 0 4px 0 rgba(76, 47, 196, .32);
}

/* ---------------- 筛选栏 ---------------- */
.filter-bar {
    background: var(--c-white);
    border: var(--line);
    border-radius: var(--radius);
    padding: 16px 20px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}
.filter-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    padding: 8px 0;
}
.filter-row + .filter-row { border-top: 2px dashed var(--c-border); }
.filter-row .lbl {
    font-size: 13px;
    font-weight: 700;
    color: var(--c-text-3);
    flex-shrink: 0;
    min-width: 52px;
}
.filter-row .opts { display: flex; gap: 7px; flex-wrap: wrap; }
.filter-row .opt {
    padding: 5px 15px;
    border-radius: var(--radius-pill);
    font-size: 13px;
    font-weight: 600;
    color: var(--c-text-2);
    transition: all .2s;
    border: 2px solid transparent;
}
.filter-row .opt:hover { background: var(--c-primary-soft); color: var(--c-primary); }
.filter-row .opt.active {
    background: linear-gradient(135deg, var(--c-primary-light), var(--c-primary));
    color: #fff;
    border-color: #fff;
    box-shadow: 0 4px 12px rgba(76, 47, 196, .2);
}

/* ---------------- 商品详情 ---------------- */
.pd-wrap {
    display: grid;
    grid-template-columns: 440px 1fr;
    gap: 40px;
    background: var(--c-white);
    border: 1.5px solid #e8e2f6;
    border-radius: var(--radius-lg);
    padding: 32px;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
}
.pd-gallery .main-img {
    aspect-ratio: 1 / 1;
    border-radius: var(--radius);
    overflow: hidden;
    background: linear-gradient(135deg, #f6f3ff, #efeafd);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 96px;
    border: var(--line);
}
.pd-gallery .main-img img { width: 100%; height: 100%; object-fit: cover; }

.pd-info h1 { font-size: 26px; margin-bottom: 10px; line-height: 1.35; }
.pd-info .pd-sub { font-size: 14px; color: var(--c-text-2); margin-bottom: 18px; }

.pd-price-box {
    background: linear-gradient(135deg, #f6f3ff, #f3f0fd);
    border: 1.5px solid #ded4f7;
    border-radius: var(--radius);
    padding: 18px 22px;
    margin-bottom: 20px;
    display: flex;
    align-items: baseline;
    gap: 12px;
    flex-wrap: wrap;
}
.pd-price-box .now {
    color: var(--c-danger);
    font-size: 34px;
    font-weight: 800;
    line-height: 1;
}
.pd-price-box .now .cur { font-size: 18px; }
.pd-price-box .old {
    color: var(--c-text-3);
    text-decoration: line-through;
    font-size: 14px;
}
.pd-price-box .save {
    font-size: 12.5px;
    font-weight: 700;
    background: linear-gradient(135deg, #ff4d8d, #f0384b);
    color: #fff;
    padding: 3px 12px;
    border-radius: var(--radius-pill);
    border: 2px solid #fff;
}

.pd-meta { margin-bottom: 22px; }
.pd-meta .line {
    display: flex;
    gap: 14px;
    padding: 10px 0;
    font-size: 13.5px;
    border-bottom: 2px dashed var(--c-border);
}
.pd-meta .line:last-child { border-bottom: none; }
.pd-meta .k { color: var(--c-text-3); width: 62px; flex-shrink: 0; font-weight: 600; }
.pd-meta .v { color: var(--c-text-2); flex: 1; }

/* ---------------- 规格（SKU）选择 ---------------- */
.pd-price-box #pdPrice { font-size: 32px; }
.pd-price-box .pd-price-tip {
    margin-left: 10px;
    font-size: 12px;
    color: var(--c-text-3);
    align-self: flex-end;
    padding-bottom: 4px;
}

.pd-sku {
    margin: 4px 0 18px;
    padding: 16px 16px 6px;
    border: 1px dashed var(--c-border-2);
    border-radius: var(--radius);
    background: var(--c-bg-2);
}
.pd-sku .sku-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}
.pd-sku .sku-label { font-size: 13.5px; font-weight: 700; color: var(--c-text-2); }
.pd-sku .sku-cur { font-size: 12.5px; color: var(--c-text-3); }
.pd-sku .sku-cur b { color: var(--c-primary); }
.pd-sku .sku-options { display: flex; flex-wrap: wrap; gap: 10px; }

.sku-opt {
    position: relative;
    padding: 9px 16px;
    border: 1.5px solid var(--c-border-2);
    border-radius: var(--radius-sm);
    background: var(--c-white);
    color: var(--c-text-2);
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    transition: all .18s;
    line-height: 1.4;
}
.sku-opt:hover:not(.soldout) {
    border-color: var(--c-primary);
    color: var(--c-primary);
}
.sku-opt.active {
    border-color: var(--c-primary);
    background: var(--c-primary-soft);
    color: var(--c-primary);
    box-shadow: 0 0 0 2px rgba(108, 76, 241, .10);
}
.sku-opt.soldout {
    color: var(--c-text-3);
    background: var(--c-bg-2);
    cursor: not-allowed;
    opacity: .7;
}
.sku-opt .sku-tag {
    display: inline-block;
    margin-left: 6px;
    padding: 0 6px;
    border-radius: 999px;
    background: rgba(0, 0, 0, .06);
    color: var(--c-text-3);
    font-size: 11px;
    font-weight: 500;
}

/* 购物车 / 结算页的规格文案 */
.cart-prod .sh.sku-name { color: var(--c-text-2); }
.checkout-item .sku-name { font-size: 12.5px; color: var(--c-text-2); margin-top: 3px; }

.qty-picker {
    display: inline-flex;
    align-items: center;
    border: 1.5px solid var(--c-border-2);
    border-radius: var(--radius-pill);
    overflow: hidden;
    background: var(--c-white);
}
.qty-picker button {
    width: 40px; height: 42px;
    border: none;
    background: var(--c-bg-2);
    color: var(--c-text-2);
    font-size: 19px;
    font-weight: 700;
    cursor: pointer;
    transition: all .18s;
    line-height: 1;
}
.qty-picker button:hover:not(:disabled) { background: var(--c-primary-soft); color: var(--c-primary); }
.qty-picker button:disabled { opacity: .35; cursor: not-allowed; }
.qty-picker input {
    width: 58px; height: 42px;
    border: none;
    text-align: center;
    font-size: 15px;
    font-weight: 700;
    outline: none;
    color: var(--c-text);
}

.pd-actions { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
.pd-actions .btn { flex: 1; min-width: 140px; }

.pd-detail {
    background: var(--c-white);
    border: var(--line);
    border-radius: var(--radius-lg);
    padding: 28px 32px;
    box-shadow: var(--shadow-sm);
}
.pd-detail .pd-detail-head {
    display: flex;
    gap: 26px;
    border-bottom: var(--line);
    margin-bottom: 22px;
}
.pd-detail .pd-detail-head span {
    padding: 10px 0;
    font-size: 15.5px;
    font-weight: 800;
    color: var(--c-primary);
    border-bottom: 2px solid var(--c-primary);
    margin-bottom: -2.5px;
}
.pd-detail .content { font-size: 14.5px; line-height: 1.9; color: var(--c-text-2); }
.pd-detail .content img { border-radius: var(--radius-sm); margin: 12px 0; }
/* 结构化详情排版（亮点/规格参数/售后等区块） */
.pd-detail .content h3 {
    font-size: 16px;
    font-weight: 800;
    color: var(--c-text);
    margin: 28px 0 12px;
    padding-left: 12px;
    border-left: 5px solid var(--c-gold);
    border-radius: 3px;
    line-height: 1.4;
}
.pd-detail .content h3:first-child { margin-top: 0; }
.pd-detail .content ul { padding-left: 20px; margin: 0 0 8px; }
.pd-detail .content li { margin: 7px 0; }
.pd-detail .content li::marker { color: var(--c-primary); }
.pd-detail .content p { margin: 8px 0; }
.pd-detail .content table {
    width: 100%;
    border-collapse: collapse;
    margin: 6px 0 10px;
    background: var(--c-bg);
    border: var(--line);
    border-radius: var(--radius-sm);
    overflow: hidden;
}
.pd-detail .content th, .pd-detail .content td {
    padding: 10px 14px;
    font-size: 13.5px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid var(--c-border);
}
.pd-detail .content tr:last-child th, .pd-detail .content tr:last-child td { border-bottom: none; }
.pd-detail .content th {
    width: 110px;
    font-weight: 700;
    color: var(--c-text);
    white-space: nowrap;
    background: var(--c-primary-soft);
}

/* ---------------- 购物车 ---------------- */
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th {
    padding: 14px 14px;
    text-align: left;
    font-size: 13px;
    font-weight: 700;
    color: var(--c-text-2);
    background: linear-gradient(135deg, #faf9ff, #f3f0fd);
    border-bottom: var(--line);
}
.cart-table td {
    padding: 16px 14px;
    border-bottom: 1px solid var(--c-border);
    vertical-align: middle;
}
.cart-table tbody tr:last-child td { border-bottom: none; }

.cart-prod { display: flex; align-items: center; gap: 14px; min-width: 280px; }
.cart-prod .thumb {
    width: 78px; height: 78px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: linear-gradient(135deg, #f6f3ff, #efeafd);
    border: var(--line);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    flex-shrink: 0;
}
.cart-prod .thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-prod .nm { font-size: 14px; font-weight: 700; line-height: 1.45; }
.cart-prod .nm:hover { color: var(--c-primary); }
.cart-prod .sh { font-size: 12px; color: var(--c-text-3); margin-top: 3px; }

.cart-foot {
    position: sticky;
    bottom: 0;
    background: var(--c-white);
    border-top: var(--line);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    border-radius: 0 0 var(--radius) var(--radius);
    box-shadow: 0 -6px 20px rgba(108, 76, 241, .1);
}
.cart-foot .total { font-size: 14px; color: var(--c-text-2); }
.cart-foot .total .amt {
    color: var(--c-danger);
    font-size: 26px;
    font-weight: 800;
    margin-left: 6px;
}

/* ---------------- 结算页 ---------------- */
.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 24px;
    align-items: start;
}
.addr-option {
    display: flex;
    gap: 12px;
    padding: 15px 17px;
    border: 1.5px solid var(--c-border);
    border-radius: var(--radius);
    margin-bottom: 12px;
    cursor: pointer;
    transition: all .2s;
    background: var(--c-white);
}
.addr-option:hover { border-color: var(--c-primary-light); background: #faf9ff; }
.addr-option.selected {
    border-color: var(--c-primary);
    background: var(--c-primary-soft);
    box-shadow: 0 0 0 4px rgba(155, 134, 255, .16);
}
.addr-option input[type=radio] { margin-top: 3px; accent-color: var(--c-primary); }
.addr-option .who { font-weight: 700; font-size: 14px; margin-bottom: 3px; }
.addr-option .who .mob { font-weight: 500; color: var(--c-text-2); margin-left: 10px; font-size: 13px; }
.addr-option .where { font-size: 13px; color: var(--c-text-2); line-height: 1.55; }

.order-summary {
    background: var(--c-white);
    border: 1.5px solid #e8e2f6;
    border-radius: var(--radius);
    padding: 20px;
    position: sticky;
    top: 92px;
    box-shadow: var(--shadow);
}
.order-summary h3 { font-size: 16.5px; margin-bottom: 16px; }
.sum-line {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 13.5px;
    color: var(--c-text-2);
}
.sum-line.total {
    border-top: 2px dashed var(--c-border-2);
    margin-top: 10px;
    padding-top: 14px;
    font-size: 15px;
    color: var(--c-text);
    font-weight: 700;
}
.sum-line.total .amt { color: var(--c-danger); font-size: 23px; font-weight: 800; }

.checkout-item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 2px dashed var(--c-border);
}
.checkout-item:last-child { border-bottom: none; }
.checkout-item .thumb {
    width: 60px; height: 60px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: linear-gradient(135deg, #f6f3ff, #efeafd);
    border: 2px solid var(--c-border);
    display: flex; align-items: center; justify-content: center;
    font-size: 26px;
    flex-shrink: 0;
}
.checkout-item .thumb img { width: 100%; height: 100%; object-fit: cover; }
.checkout-item .info { flex: 1; min-width: 0; }
.checkout-item .nm { font-size: 13px; line-height: 1.45; }
.checkout-item .pr { font-size: 12.5px; color: var(--c-text-3); margin-top: 3px; }

/* ---------------- 订单列表 ---------------- */
.order-card {
    background: var(--c-white);
    border: var(--line);
    border-radius: var(--radius);
    margin-bottom: 18px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.order-card .oc-head {
    padding: 13px 18px;
    background: linear-gradient(135deg, #faf9ff, #f3f0fd);
    border-bottom: var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 13px;
    flex-wrap: wrap;
}
.order-card .oc-head .no { color: var(--c-text-2); }
.order-card .oc-head .no b { color: var(--c-text); font-weight: 700; }
.order-card .oc-body { padding: 4px 18px; }
.order-card .oc-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 13px 0;
    border-bottom: 2px dashed var(--c-border);
}
.order-card .oc-item:last-child { border-bottom: none; }
.order-card .oc-item .thumb {
    width: 68px; height: 68px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: linear-gradient(135deg, #f6f3ff, #efeafd);
    border: 2px solid var(--c-border);
    display: flex; align-items: center; justify-content: center;
    font-size: 28px;
    flex-shrink: 0;
}
.order-card .oc-item .thumb img { width: 100%; height: 100%; object-fit: cover; }
.order-card .oc-item .info { flex: 1; min-width: 0; }
.order-card .oc-item .nm { font-size: 13.5px; font-weight: 700; }
.order-card .oc-item .meta { font-size: 12.5px; color: var(--c-text-3); margin-top: 4px; }
.order-card .oc-foot {
    padding: 14px 18px;
    border-top: var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    background: #fbfaff;
}
.order-card .oc-foot .amt { font-size: 15px; }
.order-card .oc-foot .amt b { color: var(--c-danger); font-size: 20px; }
.order-card .oc-btns { display: flex; gap: 8px; flex-wrap: wrap; }

/* 订单状态 Tab */
.tabs {
    display: flex;
    gap: 5px;
    background: var(--c-white);
    border: var(--line);
    border-radius: var(--radius);
    padding: 7px;
    margin-bottom: 20px;
    overflow-x: auto;
    box-shadow: var(--shadow-sm);
}
.tabs a {
    padding: 9px 20px;
    border-radius: var(--radius-pill);
    font-size: 13.5px;
    font-weight: 600;
    color: var(--c-text-2);
    white-space: nowrap;
    transition: all .2s;
}
.tabs a:hover { background: var(--c-bg-2); color: var(--c-primary); }
.tabs a.active {
    background: linear-gradient(135deg, var(--c-primary-light), var(--c-primary));
    color: #fff;
    box-shadow: 0 4px 12px rgba(76, 47, 196, .2);
}

/* ---------------- 订单流程条 ---------------- */
.steps {
    display: flex;
    align-items: flex-start;
    margin: 24px 0 28px;
    padding: 0 10px;
}
.steps .step {
    flex: 1;
    text-align: center;
    position: relative;
    font-size: 13px;
    color: var(--c-text-3);
    font-weight: 600;
}
.steps .step .dot {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: var(--c-bg-2);
    color: var(--c-text-3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 9px;
    font-size: 16px;
    position: relative;
    z-index: 1;
    border: 1.5px solid #fff;
    box-shadow: 0 0 0 2px var(--c-border-2);
}
.steps .step::before {
    content: '';
    position: absolute;
    top: 19px; left: -50%;
    width: 100%; height: 3px;
    background: var(--c-border-2);
    z-index: 0;
    border-radius: 2px;
}
.steps .step:first-child::before { display: none; }
.steps .step.done .dot {
    background: linear-gradient(135deg, #ffc247, #e09400);
    color: #fff;
    box-shadow: 0 0 0 2px #ffe8bd, 0 4px 0 rgba(76, 47, 196, .26);
}
.steps .step.done { color: var(--c-primary); font-weight: 700; }
.steps .step.done::before { background: var(--c-primary-light); }

/* ---------------- 认证页 ---------------- */
.auth-wrap {
    min-height: calc(100vh - 70px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 44px 20px;
    background:
        radial-gradient(circle at 16% 20%, rgba(155, 134, 255, .22), transparent 42%),
        radial-gradient(circle at 84% 76%, rgba(255, 176, 32, .16), transparent 42%),
        radial-gradient(circle at 60% 10%, rgba(139, 111, 240, .14), transparent 38%),
        linear-gradient(150deg, #f7f4ff, #f3f0fd);
}
.auth-card {
    width: 100%;
    max-width: 440px;
    background: var(--c-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 38px 36px 32px;
    border: 1.5px solid #e8e2f6;
    position: relative;
}
.auth-card::before {
    content: '🎐';
    position: absolute;
    top: -20px; right: -14px;
    font-size: 40px;
    transform: rotate(8deg);
}
.auth-card.wide { max-width: 660px; }
.auth-head { text-align: center; margin-bottom: 26px; }
.auth-head .ico {
    width: 58px; height: 58px;
    border-radius: 16px;
    background: linear-gradient(135deg, #9b86ff, #6c4cf1 60%, #ffb020);
    border: 1.5px solid #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto 14px;
    box-shadow: 0 6px 16px rgba(108, 76, 241, .22);
    transform: none;
}
.auth-head h1 { font-size: 23px; margin-bottom: 6px; }
.auth-head p { font-size: 13.5px; color: var(--c-text-3); margin: 0; }

.auth-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0;
    color: var(--c-text-3);
    font-size: 12.5px;
}
.auth-divider::before, .auth-divider::after {
    content: '';
    flex: 1;
    height: 2px;
    background: var(--c-border);
    border-radius: 2px;
}

.auth-foot { text-align: center; margin-top: 22px; font-size: 13.5px; color: var(--c-text-3); }

/* 角色选择卡 */
.role-pick { display: flex; gap: 12px; margin-bottom: 22px; }
.role-pick label {
    flex: 1;
    border: 1.5px solid var(--c-border);
    border-radius: var(--radius);
    padding: 16px 12px;
    text-align: center;
    cursor: pointer;
    transition: all .2s;
}
.role-pick label:hover { border-color: var(--c-primary-light); background: #faf9ff; }
.role-pick input { display: none; }
.role-pick input:checked + .rp-inner { color: var(--c-primary); }
.role-pick label:has(input:checked) {
    border-color: var(--c-primary);
    background: var(--c-primary-soft);
    box-shadow: 0 0 0 4px rgba(155, 134, 255, .16);
}
.role-pick .rp-ico { font-size: 26px; margin-bottom: 5px; }
.role-pick .rp-nm { font-size: 13.5px; font-weight: 700; }
.role-pick .rp-ds { font-size: 11.5px; color: var(--c-text-3); margin-top: 2px; }

/* ---------------- 个人中心 ---------------- */
.profile-grid {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 22px;
    align-items: start;
}
.side-menu {
    background: var(--c-white);
    border: var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    position: sticky;
    top: 92px;
    box-shadow: var(--shadow-sm);
}
.side-menu .sm-user {
    padding: 22px 20px;
    text-align: center;
    background: linear-gradient(135deg, #f6f3ff, #f3f0fd);
    border-bottom: var(--line);
}
.side-menu .sm-avatar {
    width: 60px; height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #9b86ff, #6c4cf1 60%, #ffb020);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
    font-weight: 800;
    margin: 0 auto 10px;
    border: 1.5px solid #fff;
    box-shadow: 0 4px 12px rgba(108, 76, 241, .2);
}
.side-menu .sm-name { font-size: 15.5px; font-weight: 800; }
.side-menu .sm-sub { font-size: 12.5px; color: var(--c-text-3); margin-top: 3px; }
.side-menu nav { padding: 9px; }
.side-menu nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: var(--radius-pill);
    color: var(--c-text-2);
    font-size: 13.5px;
    font-weight: 600;
    transition: all .2s;
}
.side-menu nav a:hover { background: var(--c-bg-2); color: var(--c-primary); }
.side-menu nav a.active {
    background: linear-gradient(135deg, var(--c-primary-light), var(--c-primary));
    color: #fff;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(76, 47, 196, .18);
}
.side-menu nav a.active .cnt { background: rgba(255, 255, 255, .3); color: #fff; }
.side-menu nav a .ico { font-size: 16px; width: 19px; text-align: center; }
.side-menu nav a .cnt {
    margin-left: auto;
    background: var(--c-danger);
    color: #fff;
    font-size: 10.5px;
    padding: 1px 7px;
    border-radius: var(--radius-pill);
    font-weight: 800;
    min-width: 18px;
    text-align: center;
}

.stat-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(124px, 1fr));
    gap: 14px;
    margin-bottom: 20px;
}
.stat-mini {
    background: var(--c-white);
    border: 1.5px solid #e8e2f6;
    border-radius: var(--radius);
    padding: 16px;
    text-align: center;
    transition: all .24s cubic-bezier(.22, .61, .36, 1);
    box-shadow: var(--shadow-sm);
}
.stat-mini:nth-child(3n+2) { border-color: #e4dcf7; }
.stat-mini:nth-child(3n+3) { border-color: #e0d8f5; }
.stat-mini:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.stat-mini .n {
    font-size: 24px;
    font-weight: 800;
    color: var(--c-primary);
    line-height: 1.2;
}
.stat-mini .l { font-size: 12.5px; color: var(--c-text-3); margin-top: 3px; font-weight: 600; }

/* 商品详情页图片集 */
.gallery-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    overflow-x: auto;
    padding-bottom: 4px;
}
.gallery-thumbs .gt {
    width: 66px; height: 66px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1.5px solid transparent;
    cursor: pointer;
    flex-shrink: 0;
    background: linear-gradient(135deg, #f6f3ff, #efeafd);
    display: flex; align-items: center; justify-content: center;
    font-size: 26px;
    transition: all .2s;
}
.gallery-thumbs .gt:hover, .gallery-thumbs .gt.active {
    border-color: var(--c-primary);
    transform: translateY(-3px);
    box-shadow: 0 3px 10px rgba(108, 76, 241, .16);
}
.gallery-thumbs .gt img { width: 100%; height: 100%; object-fit: cover; }

/* 面包屑 */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    color: var(--c-text-3);
    margin: 22px 0 18px;
    flex-wrap: wrap;
}
.breadcrumb a { color: var(--c-text-3); font-weight: 600; }
.breadcrumb a:hover { color: var(--c-primary); }
.breadcrumb .sep { color: var(--c-primary-light); font-weight: 700; }
.breadcrumb > span:last-child { color: var(--c-text-2); font-weight: 700; }

/* 商家列表（前台） */
.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(272px, 1fr));
    gap: 20px;
}
.shop-card {
    background: var(--c-white);
    border: 1.5px solid #e8e2f6;
    border-radius: var(--radius);
    padding: 22px;
    transition: all .26s cubic-bezier(.22, .61, .36, 1);
    box-shadow: var(--shadow-sm);
}
.shop-card:nth-child(3n+2) { border-color: #e4dcf7; }
.shop-card:nth-child(3n+3) { border-color: #e0d8f5; }
.shop-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}
.shop-card .sc-head { display: flex; align-items: center; gap: 13px; margin-bottom: 13px; }
.shop-card .sc-logo {
    width: 54px; height: 54px;
    border-radius: 14px;
    background: linear-gradient(135deg, #9b86ff, #6c4cf1 60%, #ffb020);
    color: #fff;
    border: 1.5px solid #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 23px;
    font-weight: 800;
    flex-shrink: 0;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(108, 76, 241, .18);
}
/* 店铺 Logo 图片模式：铺满容器、保持圆角（.has-img 由 shop_logo_html() 输出） */
.sc-logo.has-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    border-radius: inherit;
}
.shop-card .sc-nm { font-size: 15.5px; font-weight: 800; }
.shop-card .sc-meta { font-size: 12.5px; color: var(--c-text-3); margin-top: 2px; }
.shop-card .sc-desc {
    font-size: 13px;
    color: var(--c-text-2);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 42px;
}

@media (max-width: 980px) {
    .hero .inner { flex-direction: column; gap: 34px; }
    .hero-visual { flex: none; width: 100%; }
    .hero h1 { font-size: 32px; }
    .pd-wrap { grid-template-columns: 1fr; gap: 26px; padding: 22px; }
    .checkout-grid { grid-template-columns: 1fr; }
    .order-summary { position: static; }
    .profile-grid { grid-template-columns: 1fr; }
    .side-menu { position: static; }
    .side-menu nav { display: flex; overflow-x: auto; gap: 5px; }
    .side-menu nav a { white-space: nowrap; }
}
@media (max-width: 600px) {
    .hero { padding: 46px 0 42px; }
    .hero h1 { font-size: 27px; }
    .hero p.lead { font-size: 14.5px; }
    .hero-stats { gap: 26px; }
    .hero-stats .item .num { font-size: 22px; }
    .product-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 13px; }
    .product-card .nm { font-size: 13.5px; min-height: 39px; }
    .product-card .price { font-size: 17px; }
    .auth-card { padding: 28px 22px 24px; }
    .auth-card::before { display: none; }
    .pd-detail { padding: 20px; }
    .cart-table thead { display: none; }
}

/* ==========================================================
   周边商城新增组件（时效 / 发货地 / 承诺条）
   ========================================================== */

/* 顶部物流承诺条 */
.promise-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(196px, 1fr));
    gap: 14px;
    margin-top: -34px;
    position: relative;
    z-index: 2;
}
.promise-item {
    background: var(--c-white);
    border: 1.5px solid var(--c-border);
    border-radius: var(--radius);
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    box-shadow: var(--shadow-sm);
    transition: all .24s cubic-bezier(.22, .61, .36, 1);
    color: var(--c-text);
}
.promise-item:hover {
    transform: translateY(-4px);
    border-color: var(--c-primary-light);
    box-shadow: var(--shadow);
    color: var(--c-text);
}
.promise-item .pi-ico {
    font-size: 22px;
    line-height: 1;
    margin-bottom: 6px;
}
.promise-item .pi-t {
    font-size: 15.5px;
    font-weight: 800;
}
.promise-item .pi-d { font-size: 12.5px; color: var(--c-text-3); }

/* 商家入驻 CTA */
.cta-banner {
    background: linear-gradient(120deg, #4a2fc4, #6c4cf1 52%, #7a5cf0 100%);
    border-radius: var(--radius-lg);
    padding: 44px 40px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    flex-wrap: wrap;
    box-shadow: var(--shadow-lg);
}
.cta-banner h2 { color: #fff; margin-bottom: 10px; font-size: 25px; }
.cta-banner p { color: rgba(255, 255, 255, .88); margin: 0; font-size: 14.5px; max-width: 560px; }
.cta-banner .btn {
    background: #fff;
    color: var(--c-primary);
    border-color: #fff;
    flex-shrink: 0;
}
.cta-banner .btn:hover { background: var(--c-primary-soft); color: var(--c-primary-dark); }

/* 商品卡片：承诺时效角标 + 发货地信息行 */
.product-card .ship-time {
    position: absolute;
    right: 10px;
    bottom: 10px;
    padding: 3px 10px;
    border-radius: var(--radius-pill);
    font-size: 11.5px;
    font-weight: 700;
    color: var(--c-primary-dark);
    background: rgba(255, 255, 255, .92);
    border: 1px solid var(--c-border);
    backdrop-filter: blur(2px);
}
.product-card .ship-line {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 11.5px;
    color: var(--c-text-3);
    margin-bottom: 8px;
}
.product-card .ship-line .st {
    color: var(--c-primary);
    font-weight: 700;
    background: var(--c-primary-soft);
    border-radius: var(--radius-pill);
    padding: 2px 9px;
}

/* 列表页筛选：发货地 / 到货时间 */
.filter-row-ship .lbl::before { content: '📍 '; }
.filter-row-time .lbl::before { content: '⏱ '; }
.filter-row .opt-cnt {
    display: inline-block;
    margin-left: 5px;
    padding: 0 6px;
    border-radius: var(--radius-pill);
    font-size: 10.5px;
    font-weight: 700;
    background: var(--c-bg-2);
    color: var(--c-text-3);
}
.filter-row .opt.active .opt-cnt { background: rgba(255, 255, 255, .28); color: #fff; }

/* 结果区上方的时效摘要条 */
.ship-note {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    padding: 12px 18px;
    margin-bottom: 20px;
    border-radius: var(--radius);
    background: linear-gradient(120deg, var(--c-primary-soft), #fff 70%);
    border: 1.5px solid var(--c-border);
    font-size: 13.5px;
    color: var(--c-text-2);
}
.ship-note .ico { font-size: 18px; }
.ship-note .txt { flex: 1; min-width: 220px; }
.ship-note .txt b { color: var(--c-primary); }
.ship-note .reset {
    font-size: 12.5px;
    color: var(--c-text-3);
    border-bottom: 1px dashed var(--c-border-2);
    padding-bottom: 1px;
}

/* 详情页时效标签 */
.pd-ship-time {
    display: inline-block;
    padding: 2px 10px;
    border-radius: var(--radius-pill);
    font-weight: 700;
    color: var(--c-primary);
    background: var(--c-primary-soft);
    border: 1px solid var(--c-border);
}
.pd-eta { margin-left: 8px; font-size: 12.5px; color: var(--c-text-3); }

@media (max-width: 600px) {
    .promise-bar { grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 24px; }
    .promise-item { padding: 13px 14px; }
    .promise-item .pi-t { font-size: 14px; }
    .promise-item .pi-d { font-size: 11.5px; }
    .cta-banner { padding: 26px 20px; }
    .cta-banner h2 { font-size: 20px; }
}

/* ==========================================================
   同好社区模块（动态流 / 详情 / 发布 / 我的发布 / 我的积分）
   说明：这套页面此前的自定义类没有任何样式定义，此处统一补齐。
   ========================================================== */

/* ---------------- 发布者头像 ---------------- */
.pai {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    color: #fff;
    background: linear-gradient(135deg, #b3a6d6, #7a6aa8);
    overflow: hidden;
    user-select: none;
    letter-spacing: 0;
}
.pai.has-img { background: var(--c-bg-2); }
.pai.has-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pai-user     { background: linear-gradient(135deg, #9b86ff, #9b86ff); }
.pai-merchant { background: linear-gradient(135deg, #ffc247, #ffb020); }
.pai-admin    { background: linear-gradient(135deg, #6c4cf1, #4a2fc4); }

/* ---------------- 广场头部 ---------------- */
.post-hero {
    position: relative;
    display: flex;
    align-items: center;
    gap: 34px;
    padding: 36px 40px;
    border-radius: var(--radius-lg);
    margin-bottom: 22px;
    overflow: hidden;
    background:
        radial-gradient(circle at 86% 10%, rgba(255, 176, 32, .24), transparent 46%),
        radial-gradient(circle at 8% 96%, rgba(155, 134, 255, .3), transparent 50%),
        linear-gradient(135deg, #6c4cf1 0%, #5b3fd6 55%, #3a256e 100%);
    box-shadow: 0 18px 42px rgba(58, 37, 110, .24);
}
.post-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px);
    background-size: 46px 46px;
    pointer-events: none;
    mask-image: radial-gradient(circle at 72% 26%, #000 18%, transparent 74%);
    -webkit-mask-image: radial-gradient(circle at 72% 26%, #000 18%, transparent 74%);
}
.post-hero::after {
    content: '🎐';
    position: absolute;
    right: 30px;
    bottom: -30px;
    font-size: 138px;
    line-height: 1;
    opacity: .09;
    transform: rotate(-10deg);
    pointer-events: none;
}
.ph-main { position: relative; z-index: 1; flex: 1; min-width: 0; }
.ph-side {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    width: 170px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.ph-side .btn { width: 100%; justify-content: center; }
.post-hero .hero-eyebrow {
    background: rgba(255, 255, 255, .14);
    border-color: rgba(255, 255, 255, .32);
    color: #fff;
    box-shadow: none;
    margin-bottom: 14px;
    backdrop-filter: blur(4px);
}
.post-hero h1 {
    color: #fff;
    font-size: 34px;
    line-height: 1.25;
    margin: 0 0 12px;
    letter-spacing: -.4px;
}
.post-hero p {
    color: rgba(255, 255, 255, .8);
    font-size: 14.5px;
    line-height: 1.8;
    max-width: 570px;
    margin: 0;
}
.ph-stats {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px 26px;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1.5px dashed rgba(255, 255, 255, .22);
}
.ph-stats span {
    display: inline-flex;
    align-items: baseline;
    gap: 5px;
    font-size: 12.5px;
    color: rgba(255, 255, 255, .68);
}
.ph-stats b {
    font-size: 19px;
    font-weight: 800;
    color: #ffd479;
    line-height: 1;
}
/* 头部里的按钮换成金 / 玻璃双色，避免与深底同色 */
.post-hero .btn-primary {
    background: linear-gradient(135deg, #ffd479, #ffb020);
    color: #4a2600;
    border-color: transparent;
    box-shadow: 0 8px 20px rgba(255, 176, 32, .34);
}
.post-hero .btn-primary:hover {
    box-shadow: 0 10px 26px rgba(255, 176, 32, .46);
    transform: translateY(-2px);
}
.post-hero .btn-ghost {
    background: rgba(255, 255, 255, .1);
    border-color: rgba(255, 255, 255, .3);
    color: #fff;
}
.post-hero .btn-ghost:hover {
    background: rgba(255, 255, 255, .2);
    border-color: rgba(255, 255, 255, .52);
    color: #fff;
}

/* ---------------- 列表骨架 ---------------- */
.post-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 312px;
    gap: 24px;
    align-items: start;
    margin-bottom: 46px;
}
.post-main { min-width: 0; }
.post-side { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.post-side .card { margin: 0; }

/* 广场工具条：类型 Tab + 排序 */
.post-toolbar {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}
.post-toolbar .tabs { flex: 1; margin-bottom: 0; }
.post-sort {
    display: inline-flex;
    gap: 6px;
    flex-shrink: 0;
    background: var(--c-white);
    border: var(--line);
    border-radius: var(--radius);
    padding: 7px;
    box-shadow: var(--shadow-sm);
}
.post-sort a {
    padding: 9px 16px;
    border-radius: var(--radius-pill);
    font-size: 13px;
    font-weight: 700;
    color: var(--c-text-2);
    white-space: nowrap;
    transition: all .2s;
}
.post-sort a:hover { background: var(--c-bg-2); color: var(--c-primary); }
.post-sort a.active {
    background: linear-gradient(135deg, var(--c-primary-light), var(--c-primary));
    color: #fff;
    box-shadow: 0 4px 12px rgba(76, 47, 196, .2);
}

/* 结果计数 */
.post-count {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 16px;
    font-size: 13.5px;
    color: var(--c-text-2);
}
.post-count b { color: var(--c-primary); font-size: 15px; }
.post-count .chips { display: inline-flex; gap: 7px; flex-wrap: wrap; margin-left: auto; }
.post-count .chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 11px;
    border-radius: var(--radius-pill);
    background: var(--c-primary-soft);
    border: 1px solid var(--c-border);
    font-size: 12px;
    font-weight: 600;
    color: var(--c-primary);
}
.post-count .chip.off {
    background: var(--c-bg-2);
    color: var(--c-text-3);
    border-color: var(--c-border);
}

/* ---------------- 信息卡片 ---------------- */
.post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(236px, 1fr));
    gap: 20px;
}
.post-card {
    display: flex;
    flex-direction: column;
    background: var(--c-white);
    border: 1.5px solid var(--c-border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    color: var(--c-text);
    transition: transform .28s cubic-bezier(.22, .61, .36, 1),
                box-shadow .28s ease,
                border-color .28s ease;
}
.post-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
    border-color: var(--c-primary-light);
}
.pc-thumb {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: linear-gradient(135deg, #f3f0fd, #efeafd);
}
.pc-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s cubic-bezier(.22, .61, .36, 1);
}
.post-card:hover .pc-thumb img { transform: scale(1.06); }
.pc-thumb::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 66%;
    background: linear-gradient(to top, rgba(34, 26, 58, .62), rgba(34, 26, 58, 0));
    pointer-events: none;
}
.pc-type {
    position: absolute;
    left: 10px;
    bottom: 10px;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 11px;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, .93);
    color: var(--c-primary-dark);
    font-size: 11.5px;
    font-weight: 800;
    backdrop-filter: blur(4px);
}
.pc-top {
    position: absolute;
    left: 10px;
    top: 10px;
    z-index: 1;
    padding: 3px 10px;
    border-radius: var(--radius-pill);
    background: linear-gradient(135deg, #ffcb5c, #ffb020);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    box-shadow: 0 4px 10px rgba(224, 148, 0, .3);
}
.pc-lock {
    position: absolute;
    right: 10px;
    top: 10px;
    z-index: 1;
    padding: 3px 10px;
    border-radius: var(--radius-pill);
    font-size: 11px;
    font-weight: 800;
    border: 1.5px solid #fff;
    box-shadow: 0 3px 10px rgba(58, 37, 110, .18);
    white-space: nowrap;
}
.pc-lock.is-free   { background: #e6f7f0; color: #2fb98a; }
.pc-lock.is-locked { background: linear-gradient(135deg, #ffc247, #ffb020); color: #fff; }
.pc-lock.is-open   { background: linear-gradient(135deg, #9b86ff, #6c4cf1); color: #fff; }

/* 无封面时的类型主题占位底 */
.pc-thumb.is-ph {
    display: flex;
    align-items: center;
    justify-content: center;
}
.pc-thumb.is-ph.ph-share  { background: linear-gradient(140deg, #efeaff, #ddd4f3); }
.pc-thumb.is-ph.ph-second { background: linear-gradient(140deg, #fff3e0, #ffedc9); }
.pc-thumb.is-ph.ph-spot   { background: linear-gradient(140deg, #e6f7f0, #c9f0e3); }
.pc-ph-emoji {
    font-size: 54px;
    line-height: 1;
    opacity: .5;
    transition: transform .4s cubic-bezier(.22, .61, .36, 1);
}
.post-card:hover .pc-ph-emoji { transform: scale(1.1) rotate(-4deg); }

.pc-body {
    padding: 14px 15px 15px;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}
.pc-title {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.5;
    color: var(--c-text);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 45px;
}
.post-card:hover .pc-title { color: var(--c-primary-dark); }
.pc-sum {
    margin-top: 7px;
    font-size: 12.5px;
    line-height: 1.62;
    color: var(--c-text-3);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 41px;
}
.pc-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    font-size: 12px;
    color: var(--c-text-3);
    min-width: 0;
}
.pc-meta .pai { width: 22px; height: 22px; font-size: 11px; }
.pc-author {
    max-width: 88px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--c-text-2);
    font-weight: 600;
}
.pc-badge {
    flex-shrink: 0;
    padding: 1px 8px;
    border-radius: var(--radius-pill);
    font-size: 10.5px;
    font-weight: 700;
    background: var(--c-bg-2);
    color: var(--c-text-3);
}
.pc-dot { color: var(--c-border-2); }
.pc-foot {
    margin-top: auto;
    padding-top: 11px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    border-top: 1px dashed var(--c-border);
    font-size: 11.5px;
    color: var(--c-text-3);
}
.pc-foot > span { display: inline-flex; align-items: center; gap: 3px; }
.pc-price-tag { color: var(--c-danger); font-weight: 800; font-size: 13px; }
.pc-time { margin-left: auto; }

/* ---------------- 右侧排行 / 相关列表 ---------------- */
.hot-list { display: flex; flex-direction: column; }
.hot-list a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 18px;
    font-size: 13px;
    color: var(--c-text-2);
    border-bottom: 1px solid var(--c-border);
    transition: background .2s, color .2s;
}
.hot-list a:last-child { border-bottom: none; }
.hot-list a:hover { background: var(--c-primary-soft); color: var(--c-primary-dark); }
.hl-idx {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11.5px;
    font-weight: 800;
    background: var(--c-bg-2);
    color: var(--c-text-3);
}
.hl-idx.top { background: linear-gradient(135deg, #ffcb5c, #ffb020); color: #fff; }
.hl-txt {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.hl-meta { flex-shrink: 0; font-size: 11.5px; color: var(--c-text-3); }

/* ---------------- 信息详情 ---------------- */
.post-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 312px;
    gap: 24px;
    align-items: start;
    margin-bottom: 46px;
}
.post-article {
    background: var(--c-white);
    border: var(--line);
    border-radius: var(--radius-lg);
    padding: 30px 34px 32px;
    box-shadow: var(--shadow-sm);
    min-width: 0;
}
.pa-head {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}
.pa-type {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 13px;
    border-radius: var(--radius-pill);
    background: var(--c-primary-soft);
    border: 1px solid var(--c-border);
    color: var(--c-primary);
    font-size: 12.5px;
    font-weight: 800;
}
.pa-top {
    padding: 4px 11px;
    border-radius: var(--radius-pill);
    background: linear-gradient(135deg, #ffcb5c, #ffb020);
    color: #fff;
    font-size: 11.5px;
    font-weight: 800;
}
.post-article h1 {
    font-size: 27px;
    line-height: 1.45;
    margin: 0 0 18px;
    color: var(--c-text);
    letter-spacing: -.2px;
}
.pa-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 20px;
    margin-bottom: 22px;
    border-bottom: 1.5px dashed var(--c-border);
    flex-wrap: wrap;
}
.pa-meta .pai { width: 38px; height: 38px; font-size: 16px; }
.pa-author { min-width: 0; }
.pa-author .nm { font-size: 14.5px; font-weight: 800; color: var(--c-text); }
.pa-author .sub { font-size: 12.5px; color: var(--c-text-3); margin-top: 2px; }
.pa-counts {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    font-size: 12.5px;
    color: var(--c-text-3);
}
.pa-summary {
    position: relative;
    padding: 15px 18px 15px 20px;
    margin-bottom: 22px;
    border-radius: var(--radius-sm);
    background: linear-gradient(120deg, var(--c-primary-soft), #fbfaff);
    border: 1px solid var(--c-border);
    font-size: 14px;
    line-height: 1.85;
    color: var(--c-text-2);
}
.pa-summary::before {
    content: '';
    position: absolute;
    left: 0; top: 12px; bottom: 12px;
    width: 3px;
    border-radius: 3px;
    background: linear-gradient(180deg, #ffcb5c, #ffb020);
}
.pa-cover {
    margin-bottom: 22px;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--c-bg-2);
    border: 1px solid var(--c-border);
}
.pa-cover img { width: 100%; display: block; max-height: 460px; object-fit: cover; }
/* 无封面时的类型主题底 */
.pa-cover.is-ph {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 210px;
    border-style: dashed;
}
.pa-cover.is-ph.ph-share  { background: linear-gradient(140deg, #f2eeff, #e5ddf7); }
.pa-cover.is-ph.ph-second { background: linear-gradient(140deg, #fff6e6, #ffe9c2); }
.pa-cover.is-ph.ph-spot   { background: linear-gradient(140deg, #e6f7f0, #c9f0e3); }
.pa-ph-emoji { font-size: 78px; line-height: 1; opacity: .45; }
.pa-price {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    padding: 10px 20px;
    margin-bottom: 22px;
    border-radius: var(--radius-sm);
    background: linear-gradient(120deg, #ffeaf3, #fff);
    border: 1px solid #ffd6e2;
    font-size: 13.5px;
    color: var(--c-text-2);
}
.pa-price b { font-size: 24px; color: var(--c-danger); font-weight: 800; }

/* 正文排版 */
.pa-content { font-size: 15px; line-height: 1.95; color: var(--c-text-2); }
.pa-content p { margin: 0 0 15px; }
.pa-content h2 { font-size: 19px; margin: 26px 0 12px; color: var(--c-text); }
.pa-content h3 { font-size: 16.5px; margin: 22px 0 10px; color: var(--c-text); }
.pa-content ul, .pa-content ol { margin: 0 0 15px; padding-left: 22px; }
.pa-content li { margin-bottom: 7px; }
.pa-content img { max-width: 100%; border-radius: var(--radius-sm); margin: 8px 0; }
.pa-content a { color: var(--c-primary); border-bottom: 1px solid var(--c-primary-light); }
.pa-content blockquote {
    margin: 0 0 16px;
    padding: 12px 18px;
    border-left: 3px solid var(--c-gold);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    background: var(--c-gold-soft);
    color: var(--c-text-2);
    font-size: 14px;
}
.pa-content code {
    padding: 2px 6px;
    border-radius: 5px;
    background: var(--c-bg-2);
    font-size: 13px;
    color: var(--c-primary-dark);
}

/* 配图集 */
.pa-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 12px;
    margin: 22px 0 4px;
}
.pa-gallery img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: var(--radius-sm);
    border: 1px solid var(--c-border);
    margin: 0;
    transition: transform .3s ease, box-shadow .3s ease;
}
.pa-gallery img:hover { transform: translateY(-3px); box-shadow: var(--shadow); }

/* 位置 / 联系 */
.pa-info-row {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    padding: 13px 16px;
    border-radius: var(--radius-sm);
    background: var(--c-bg);
    border: 1px solid var(--c-border);
    font-size: 13.5px;
    line-height: 1.7;
}
.pa-info-row .k { flex-shrink: 0; font-weight: 700; color: var(--c-text); }
.pa-info-row .v { color: var(--c-text-2); min-width: 0; }
.pa-contact {
    margin-top: 20px;
    padding: 18px 20px;
    border-radius: var(--radius);
    background: linear-gradient(120deg, #fff8ee, #fff 70%);
    border: 1.5px solid #ffe9c2;
}
.pa-contact .k { font-size: 13px; font-weight: 800; color: #9a5b00; margin-bottom: 8px; }
.pa-contact .v {
    font-size: 19px;
    font-weight: 800;
    color: var(--c-primary-dark);
    word-break: break-all;
    letter-spacing: .3px;
}
.pa-contact .tip { margin-top: 9px; font-size: 12px; color: var(--c-text-3); line-height: 1.6; }
.pa-unlocked-tip {
    margin-top: 22px;
    padding: 12px 17px;
    border-radius: var(--radius-sm);
    background: #e6f7f0;
    border: 1px solid #c9f0e3;
    color: #2fb98a;
    font-size: 13px;
    font-weight: 700;
}
.pa-owner-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1.5px dashed var(--c-border);
}
.pa-back-bar {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1.5px dashed var(--c-border);
}

/* 未兑换锁定态 */
.pa-locked {
    position: relative;
    margin-top: 8px;
    padding: 38px 28px 34px;
    border-radius: var(--radius);
    text-align: center;
    background:
        radial-gradient(circle at 50% 0%, rgba(255, 176, 32, .1), transparent 58%),
        linear-gradient(160deg, #fbfaff, #f6f4fe);
    border: 1.5px dashed var(--c-border-2);
}
.pl-icon {
    width: 66px;
    height: 66px;
    margin: 0 auto 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    background: linear-gradient(135deg, #ffcb5c, #ffb020);
    box-shadow: 0 10px 24px rgba(255, 176, 32, .32);
}
.pa-locked h3 { margin: 0 0 10px; font-size: 18px; color: var(--c-text); }
.pa-locked > p {
    margin: 0 auto 18px;
    max-width: 430px;
    font-size: 13.5px;
    line-height: 1.8;
    color: var(--c-text-3);
}
.pl-points {
    display: inline-flex;
    align-items: baseline;
    gap: 5px;
    padding: 9px 22px;
    margin-bottom: 20px;
    border-radius: var(--radius-pill);
    background: #fff;
    border: 1.5px solid #ffe9c2;
    font-size: 13.5px;
    color: var(--c-text-2);
}
.pl-points b { font-size: 21px; font-weight: 800; color: var(--c-danger); }
.pl-have { font-size: 12.5px; color: var(--c-text-3); }
/* 兑换后可查看清单 */
.pl-gain {
    display: inline-block;
    min-width: 268px;
    margin-bottom: 20px;
    padding: 14px 18px;
    border-radius: var(--radius);
    background: var(--c-white);
    border: 1.5px solid var(--c-border);
    text-align: left;
}
.pl-gain .pg-title {
    font-size: 12px;
    font-weight: 800;
    color: var(--c-text-3);
    letter-spacing: .4px;
    margin-bottom: 9px;
}
.pl-gain .pg-list { display: flex; flex-direction: column; gap: 7px; }
.pl-gain .pg-list span {
    font-size: 13px;
    color: var(--c-text-2);
    display: flex;
    align-items: center;
    gap: 7px;
    line-height: 1.5;
}
.pl-gain .pg-list span::first-letter { color: var(--c-success); font-weight: 800; }
.pa-locked .btn-lg { min-width: 220px; }
.pl-tip {
    margin-top: 14px;
    font-size: 12.5px;
    color: var(--c-text-3);
    line-height: 1.8;
}
.pl-tip a { color: var(--c-primary); font-weight: 700; border-bottom: 1px solid var(--c-primary-light); }

/* 详情页侧栏作者卡 */
.pa-author-card {
    display: flex;
    align-items: center;
    gap: 11px;
}
.pa-author-card .pai { width: 44px; height: 44px; font-size: 18px; }
.pa-author-card .nm { font-size: 14.5px; font-weight: 800; color: var(--c-text); }
.pa-author-card .sub { font-size: 12.5px; color: var(--c-text-3); margin-top: 2px; }

/* 通用软徽章（信息类型等） */
.badge-soft { background: var(--c-bg-2); color: var(--c-text-2); }

/* 前台通用操作条（原先只在后台有定义） */
.page-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

/* ---------------- 发布 / 编辑信息 ---------------- */
.post-form-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 312px;
    gap: 24px;
    align-items: start;
    margin-bottom: 46px;
}
.post-form {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.post-form .card { margin: 0; }

/* 类型选择卡 */
.type-pick {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}
.tp-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 18px 12px 15px;
    border-radius: var(--radius);
    border: 1.5px solid var(--c-border);
    background: var(--c-white);
    text-align: center;
    cursor: pointer;
    transition: all .24s cubic-bezier(.22, .61, .36, 1);
}
.tp-item:hover {
    border-color: var(--c-primary-light);
    background: #fbfaff;
    transform: translateY(-2px);
}
.tp-item input { position: absolute; opacity: 0; pointer-events: none; }
.tp-item.active {
    border-color: var(--c-primary);
    background: linear-gradient(160deg, var(--c-primary-soft), #fff 76%);
    box-shadow: 0 8px 20px rgba(76, 47, 196, .12);
}
.tp-item.active::after {
    content: '✓';
    position: absolute;
    top: 8px;
    right: 9px;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    background: linear-gradient(135deg, #9b86ff, #6c4cf1);
    color: #fff;
    font-size: 11px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}
.tp-ico { font-size: 28px; line-height: 1; }
.tp-nm { font-size: 14px; font-weight: 800; color: var(--c-text); }
.tp-item.active .tp-nm { color: var(--c-primary-dark); }
.tp-ds { font-size: 11.5px; line-height: 1.55; color: var(--c-text-3); }

/* 封面选择 */
.cover-pick { display: flex; gap: 16px; align-items: flex-start; }
.cp-preview {
    flex-shrink: 0;
    width: 190px;
    aspect-ratio: 16 / 10;
    border-radius: var(--radius-sm);
    border: 1.5px dashed var(--c-border-2);
    background: var(--c-bg);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cp-preview img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cp-empty { font-size: 12.5px; color: var(--c-text-3); }
.cp-side {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding-top: 2px;
    min-width: 0;
}

/* 发布奖励卡 */
.reward-box {
    display: flex;
    align-items: baseline;
    gap: 8px;
    padding: 18px 20px;
    margin-bottom: 14px;
    border-radius: var(--radius);
    background: linear-gradient(135deg, #fff3e0, #fffaf0);
    border: 1.5px solid #ffe9c2;
}
.rb-num {
    font-size: 34px;
    font-weight: 800;
    line-height: 1;
    color: #ffb020;
    letter-spacing: -.5px;
}
.rb-txt { font-size: 13px; font-weight: 700; color: #9a5b00; }

/* ---------------- 我的发布 ---------------- */
.sub-tabs {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--c-border);
}
.sub-tabs a {
    padding: 7px 16px;
    border-radius: var(--radius-pill);
    font-size: 13px;
    font-weight: 700;
    color: var(--c-text-2);
    background: var(--c-bg);
    border: 1px solid var(--c-border);
    transition: all .2s;
}
.sub-tabs a:hover {
    color: var(--c-primary);
    border-color: var(--c-primary-light);
    background: var(--c-primary-soft);
}
.sub-tabs a.active {
    background: linear-gradient(135deg, var(--c-primary-light), var(--c-primary));
    border-color: transparent;
    color: #fff;
    box-shadow: 0 4px 12px rgba(76, 47, 196, .2);
}

.my-post-list { display: flex; flex-direction: column; gap: 12px; }
.mp-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 14px;
    border-radius: var(--radius);
    border: 1.5px solid var(--c-border);
    background: var(--c-white);
    transition: all .24s cubic-bezier(.22, .61, .36, 1);
}
.mp-item:hover {
    border-color: var(--c-primary-light);
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}
.mp-thumb {
    flex-shrink: 0;
    width: 104px;
    aspect-ratio: 16 / 11;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--c-bg-2);
    display: block;
}
.mp-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mp-main { flex: 1; min-width: 0; }
.mp-title {
    font-size: 14.5px;
    font-weight: 800;
    line-height: 1.5;
    margin-bottom: 7px;
}
.mp-title a { color: var(--c-text); }
.mp-title a:hover { color: var(--c-primary); }
.mp-meta {
    display: flex;
    align-items: center;
    gap: 7px;
    flex-wrap: wrap;
    margin-bottom: 7px;
    font-size: 12px;
}
.mp-reject {
    margin-bottom: 7px;
    padding: 7px 12px;
    border-radius: var(--radius-sm);
    background: #ffeaf1;
    border: 1px solid #ffd6e2;
    color: #d92b3c;
    font-size: 12.5px;
    line-height: 1.65;
}
.mp-sum {
    font-size: 12.5px;
    line-height: 1.65;
    color: var(--c-text-3);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.mp-actions {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* ---------------- 我的积分 ---------------- */
.point-hero {
    position: relative;
    display: flex;
    align-items: center;
    gap: 26px;
    flex-wrap: wrap;
    padding: 26px 30px;
    border-radius: var(--radius-lg);
    margin-bottom: 18px;
    overflow: hidden;
    background:
        radial-gradient(circle at 90% 6%, rgba(255, 176, 32, .24), transparent 46%),
        linear-gradient(135deg, #6c4cf1, #4a2fc4 72%);
    box-shadow: 0 16px 36px rgba(58, 37, 110, .22);
}
.point-hero::after {
    content: '💠';
    position: absolute;
    right: 20px;
    bottom: -26px;
    font-size: 124px;
    line-height: 1;
    opacity: .08;
    pointer-events: none;
}
.ph-balance { position: relative; z-index: 1; flex: 0 0 auto; }
.ph-balance .lb { font-size: 12.5px; font-weight: 600; color: rgba(255, 255, 255, .7); }
.ph-balance .num {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -.5px;
    color: #ffd479;
    margin: 2px 0 4px;
}
.ph-balance .sub { font-size: 12.5px; color: rgba(255, 255, 255, .66); }
.ph-meta {
    position: relative;
    z-index: 1;
    flex: 1 1 auto;
    display: flex;
    gap: 28px;
    padding-left: 26px;
    border-left: 1.5px dashed rgba(255, 255, 255, .24);
}
.pm-item .k { font-size: 12px; color: rgba(255, 255, 255, .66); margin-bottom: 4px; }
.pm-item .v { font-size: 21px; font-weight: 800; color: #fff; line-height: 1.2; }
.ph-actions {
    position: relative;
    z-index: 1;
    flex: 0 0 auto;
    width: 136px;
    display: flex;
    flex-direction: column;
    gap: 9px;
}
.ph-actions .btn { width: 100%; justify-content: center; }
.point-hero .btn-primary {
    background: linear-gradient(135deg, #ffd479, #ffb020);
    color: #4a2600;
    border-color: transparent;
    box-shadow: 0 8px 20px rgba(255, 176, 32, .3);
}
.point-hero .btn-ghost {
    background: rgba(255, 255, 255, .1);
    border-color: rgba(255, 255, 255, .3);
    color: #fff;
}
.point-hero .btn-ghost:hover {
    background: rgba(255, 255, 255, .2);
    border-color: rgba(255, 255, 255, .52);
    color: #fff;
}

.rule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 14px;
}
.rg-item {
    padding: 16px 18px;
    border-radius: var(--radius);
    background: linear-gradient(160deg, #fbfaff, #f6f4fe);
    border: 1.5px solid var(--c-border);
    transition: all .24s cubic-bezier(.22, .61, .36, 1);
}
.rg-item:hover {
    border-color: var(--c-primary-light);
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}
.rg-item .ico { font-size: 24px; line-height: 1; margin-bottom: 9px; }
.rg-item .nm { font-size: 14px; font-weight: 800; color: var(--c-text); margin-bottom: 5px; }
.rg-item .ds { font-size: 12.5px; line-height: 1.7; color: var(--c-text-3); }

/* ---------------- 同好社区响应式 ---------------- */
@media (max-width: 1000px) {
    .post-layout,
    .post-detail-layout,
    .post-form-layout { grid-template-columns: minmax(0, 1fr); }
    .post-hero {
        flex-direction: column;
        align-items: stretch;
        padding: 30px 26px;
        gap: 22px;
    }
    .ph-side { width: 100%; flex-direction: row; }
    .ph-side .btn { flex: 1; }
    .post-hero::after { font-size: 104px; right: 14px; }
    .point-hero { padding: 24px 22px; gap: 20px; }
    .ph-meta { border-left: none; padding-left: 0; flex-direction: column; gap: 14px; }
    .ph-actions { width: 100%; flex-direction: row; }
    .ph-actions .btn { flex: 1; }
}

@media (max-width: 640px) {
    .post-hero h1 { font-size: 25px; }
    .post-hero p { font-size: 13.5px; }
    .ph-stats { gap: 8px 18px; margin-top: 16px; padding-top: 14px; }
    .ph-stats b { font-size: 17px; }
    .post-grid { grid-template-columns: repeat(auto-fill, minmax(158px, 1fr)); gap: 14px; }
    .pc-title { font-size: 14px; min-height: 42px; }
    .pc-sum { min-height: 0; -webkit-line-clamp: 1; }
    .pc-meta { display: none; }
    .post-toolbar { gap: 10px; }
    .post-toolbar .tabs { flex: 1 1 100%; }
    .post-sort { flex: 1 1 100%; justify-content: center; }
    .post-article { padding: 22px 19px 24px; border-radius: var(--radius); }
    .post-article h1 { font-size: 21px; }
    .pa-counts { margin-left: 0; width: 100%; }
    .pa-gallery { grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); }
    .pa-locked { padding: 28px 18px 26px; }
    .pa-locked .btn-lg { min-width: 0; width: 100%; }
    .type-pick { grid-template-columns: 1fr; }
    .cover-pick { flex-direction: column; }
    .cp-preview { width: 100%; }
    .mp-item { flex-wrap: wrap; }
    .mp-thumb { width: 78px; }
    .mp-actions { flex-direction: row; width: 100%; }
    .mp-actions .btn { flex: 1; }
    .ph-balance .num { font-size: 33px; }
    .ph-meta { flex-direction: row; gap: 20px; }
    .pm-item .v { font-size: 18px; }
}

/* ==========================================================
   次元屋 · 动漫周边商城皮肤增强
   在基础组件之上叠加「次元潮流」辨识度：渐变描边、光晕、
   圆角徽标与主题化装饰，不改动可复用组件结构。
   ========================================================== */

/* 顶部导航：紫→粉→青的渐变顶边，一眼有「次元」调性 */
.site-header { border-top: 3px solid transparent; }
.site-header::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #6c4cf1, #ff5c9d 48%, #23c6e6);
    pointer-events: none;
    z-index: 1;
}

.brand .logo {
    background: linear-gradient(135deg, #9b86ff, #6c4cf1 55%, #ff5c9d);
    box-shadow: 0 4px 0 rgba(108, 76, 241, .22), 0 0 18px rgba(255, 92, 157, .32);
}
.main-nav a.active { box-shadow: 0 3px 0 rgba(108, 76, 241, .25); }

/* 主按钮：紫→粉渐变 + 光晕 */
.btn-primary {
    background: linear-gradient(135deg, #9b86ff, #6c4cf1 58%, #ff5c9d);
    box-shadow: 0 6px 18px rgba(108, 76, 241, .3);
}
.btn-primary:hover {
    background: linear-gradient(135deg, #a995ff, #7a5cf0 58%, #ff75ab);
    box-shadow: 0 8px 22px rgba(108, 76, 241, .36);
}

/* 区块标题：方块取代成圆角渐变「宝石」，更青春 */
.section-head h2::before {
    border-radius: 9px 9px 9px 3px;
    background: linear-gradient(135deg, #ffd479, #ff5c9d 55%, #6c4cf1);
    box-shadow: 0 4px 12px rgba(108, 76, 241, .22);
}

/* Hero 装饰：飘落的樱花/次元星尘底纹 */
.hero::after { opacity: .14; }
.hero-eyebrow { border-color: #ded4f7; box-shadow: 0 2px 10px rgba(108, 76, 241, .12); }

/* 商品卡片：悬停泛粉紫光晕，圆角更大更软萌 */
.product-card:hover {
    border-color: #e0d8f5;
    box-shadow: 0 10px 30px rgba(108, 76, 241, .16), 0 2px 6px rgba(255, 92, 157, .1);
}
.product-card .corner {
    background: linear-gradient(135deg, #ff75ab, #ff5c9d 60%, #6c4cf1);
    box-shadow: 0 4px 12px rgba(255, 92, 157, .3);
}
.product-card .corner.hot {
    background: linear-gradient(135deg, #ffb020, #ff5c9d);
    box-shadow: 0 4px 12px rgba(255, 92, 157, .28);
}
.product-card .add-cart {
    background: linear-gradient(135deg, #9b86ff, #6c4cf1);
    box-shadow: 0 4px 12px rgba(108, 76, 241, .3);
}

/* 分类磁贴：悬停顶点泛出渐变边 */
.cat-item:hover {
    background: linear-gradient(160deg, #fbfaff, #f2eeff);
    border-color: #ded4f7;
    box-shadow: 0 12px 28px rgba(108, 76, 241, .14);
}

/* 承诺条 / 筛选选中态同步粉色系 */
.filter-row .opt.active,
.tabs a.active,
.side-menu nav a.active {
    background: linear-gradient(135deg, #9b86ff, #6c4cf1 60%, #ff5c9d);
}

/* 商家入驻 CTA：紫→粉→青大渐变横幅 */
.cta-banner {
    background: linear-gradient(120deg, #4a2fc4, #6c4cf1 45%, #ff5c9d 100%);
    box-shadow: 0 18px 42px rgba(108, 76, 241, .3);
}
.cta-banner .btn { color: #6c4cf1; }

/* 同好社区头部：紫粉渐变 + 樱花装饰 */
.post-hero {
    background:
        radial-gradient(circle at 86% 10%, rgba(255, 176, 32, .28), transparent 46%),
        radial-gradient(circle at 8% 96%, rgba(155, 134, 255, .34), transparent 50%),
        linear-gradient(135deg, #6c4cf1 0%, #5b3fd6 52%, #ff5c9d 100%);
    box-shadow: 0 18px 42px rgba(108, 76, 241, .3);
}
.post-hero .btn-primary {
    background: linear-gradient(135deg, #ffd479, #ffb020);
    color: #4a2600;
}

/* ==========================================================
   次元屋 · 同好社区（朋友圈式信息流 / 互动 / 发布器）
   风格：电光紫 + 樱花粉 + 亮青，大圆角、微立体、轻描边
   ========================================================== */

/* ---------- 社区封面 ---------- */
.mom-hero {
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: center;
    padding: 30px 34px;
    border-radius: var(--radius-lg);
    background: linear-gradient(118deg, #4a2fc4 0%, #6c4cf1 38%, #9b4ce4 68%, #ff5c9d 100%);
    color: #fff;
    box-shadow: var(--shadow-lg);
    margin-bottom: 18px;
}
.mom-hero-glow {
    position: absolute;
    right: -70px; bottom: -140px;
    width: 360px; height: 360px;
    border-radius: 50%;
    background: radial-gradient(circle at 32% 32%, rgba(255,255,255,.5), rgba(255,255,255,0) 62%);
    pointer-events: none;
}
.mom-hero-main { position: relative; z-index: 1; max-width: 660px; }
.mom-hero .hero-eyebrow {
    display: inline-block;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    background: rgba(255,255,255,.2);
    border: 1px solid rgba(255,255,255,.36);
    color: #fff;
    font-size: 12.5px;
    font-weight: 600;
    backdrop-filter: blur(4px);
}
.mom-hero h1 { margin: 12px 0 8px; font-size: 34px; line-height: 1.2; color: #fff; letter-spacing: .5px; }
.mom-hero p { margin: 0; font-size: 14px; line-height: 1.85; color: rgba(255,255,255,.92); }
.mom-hero-stats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.mom-hero-stats span {
    padding: 5px 12px;
    border-radius: var(--radius-pill);
    background: rgba(255,255,255,.16);
    border: 1px solid rgba(255,255,255,.28);
    font-size: 12.5px;
    color: rgba(255,255,255,.95);
}
.mom-hero-stats b { font-size: 15px; margin-right: 2px; }
.mom-hero-side { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 10px; min-width: 176px; }
.mom-hero-side .btn-primary {
    background: #fff;
    color: var(--c-primary-dark);
    border-color: #fff;
    box-shadow: 0 10px 24px rgba(30, 8, 80, .28);
}
.mom-hero-side .btn-primary:hover { background: #fff6ff; color: var(--c-primary-dark); }
.mom-hero-side .btn-ghost {
    background: rgba(255,255,255,.14);
    color: #fff;
    border-color: rgba(255,255,255,.4);
}
.mom-hero-side .btn-ghost:hover { background: rgba(255,255,255,.26); color: #fff; }

/* ---------- 标签筛选条 ---------- */
.tag-bar {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 16px;
    background: var(--c-white);
    border: var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    margin-bottom: 14px;
}
.tag-bar-lbl {
    flex: 0 0 auto;
    font-size: 13px;
    font-weight: 700;
    color: var(--c-text-2);
    line-height: 1.5;
    padding-top: 6px;
    white-space: nowrap;
}
/* 标签自动换行铺满，不做横向滚动 */
.tag-scroll {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 2px;
}
.tag-chip {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 13px;
    border-radius: var(--radius-pill);
    border: 1.5px solid var(--c-border-2);
    background: var(--c-bg-2);
    color: var(--c-text-2);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all .18s ease;
    line-height: 1.5;
}
.tag-chip:hover { border-color: var(--c-primary-light); color: var(--c-primary); background: var(--c-primary-soft); transform: translateY(-1px); }
.tag-chip.on {
    background: linear-gradient(135deg, var(--c-primary), var(--c-pink));
    border-color: transparent;
    color: #fff;
    box-shadow: 0 6px 16px rgba(108, 76, 241, .3);
}
.tag-chip i {
    font-style: normal;
    font-size: 11px;
    padding: 0 5px;
    border-radius: var(--radius-pill);
    background: rgba(108, 76, 241, .12);
    color: var(--c-primary);
}
.tag-chip.on i { background: rgba(255,255,255,.28); color: #fff; }
.tag-chip.sm { padding: 4px 10px; font-size: 12.5px; }

/* 类型 Tab：同好社区内不做横向滚动，超出自动换行 */
.post-toolbar .tabs { overflow-x: visible; flex-wrap: wrap; height: auto; }

/* ---------- 朋友圈信息流 ---------- */
.mom-feed { display: flex; flex-direction: column; gap: 14px; }
.mom-card {
    display: flex;
    gap: 14px;
    padding: 18px 20px;
    background: var(--c-white);
    border: var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.mom-card:hover { box-shadow: var(--shadow); border-color: var(--c-border-2); }
.mom-av { flex: 0 0 auto; }
.mom-av .pai {
    width: 46px; height: 46px;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
    font-weight: 800;
    font-size: 17px;
    color: #fff;
    background: linear-gradient(135deg, var(--c-primary), var(--c-pink));
    box-shadow: 0 6px 16px rgba(108, 76, 241, .26);
}
.mom-av .pai.has-img { background: #fff; padding: 0; }
.mom-av .pai img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mom-av .pai-merchant { background: linear-gradient(135deg, var(--c-gold), #ff8a3d); box-shadow: 0 6px 16px rgba(255, 138, 61, .28); }
.mom-av .pai-admin { background: linear-gradient(135deg, #3ac3d8, #6c4cf1); }

.mom-body { flex: 1 1 auto; min-width: 0; }
.mom-head { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; margin-bottom: 6px; }
.mom-name { font-size: 14.5px; font-weight: 800; color: var(--c-text); text-decoration: none; }
.mom-name:hover { color: var(--c-primary); }
.mom-badge {
    font-size: 11px; font-weight: 700;
    padding: 2px 8px;
    border-radius: var(--radius-pill);
    background: var(--c-primary-soft);
    color: var(--c-primary);
}
.mom-badge-merchant { background: var(--c-gold-soft); color: #b96f00; }
.mom-badge-admin { background: #e6f7fb; color: #0f7d92; }
.mom-type { font-size: 12px; color: var(--c-text-3); }
.mom-top {
    font-size: 11px; font-weight: 700;
    padding: 2px 8px;
    border-radius: var(--radius-pill);
    background: linear-gradient(135deg, var(--c-primary), var(--c-pink));
    color: #fff;
}
.mom-title {
    display: block;
    font-size: 16.5px;
    font-weight: 800;
    line-height: 1.55;
    color: var(--c-text);
    text-decoration: none;
    margin-bottom: 6px;
}
.mom-title:hover { color: var(--c-primary); }
.mom-text { font-size: 13.8px; line-height: 1.85; color: var(--c-text-2); margin-bottom: 10px; white-space: pre-wrap; }

/* 视频 */
.mom-video { position: relative; border-radius: var(--radius); overflow: hidden; background: #120c26; margin-bottom: 10px; max-width: 460px; }
.mom-video video { display: block; width: 100%; max-height: 460px; }
.mom-video-tag {
    position: absolute; left: 10px; top: 10px;
    padding: 3px 10px;
    border-radius: var(--radius-pill);
    background: rgba(0,0,0,.55);
    color: #fff;
    font-size: 11.5px;
    font-weight: 700;
    backdrop-filter: blur(4px);
}

/* 图片九宫格 */
.mom-media { display: grid; gap: 6px; margin-bottom: 10px; max-width: 460px; }
.mom-media.g1 { grid-template-columns: 1fr; }
.mom-media.g2 { grid-template-columns: repeat(2, 1fr); }
.mom-media.g3, .mom-media.g4 { grid-template-columns: repeat(3, 1fr); }
.mom-ph { position: relative; display: block; border-radius: 12px; overflow: hidden; background: var(--c-bg-2); aspect-ratio: 1 / 1; }
.mom-media.g1 .mom-ph { aspect-ratio: 4 / 3; }
.mom-ph img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.mom-ph:hover img { transform: scale(1.05); }
.mom-more {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    background: rgba(18, 12, 38, .55);
    color: #fff; font-size: 20px; font-weight: 800;
    backdrop-filter: blur(2px);
}

/* 标签 */
.mom-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.mom-tag {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--c-primary);
    background: var(--c-primary-soft);
    padding: 3px 10px;
    border-radius: var(--radius-pill);
    text-decoration: none;
    transition: all .18s ease;
}
.mom-tag:hover { background: linear-gradient(135deg, var(--c-primary), var(--c-pink)); color: #fff; }

/* 积分内容提示 */
.mom-lock {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 13px;
    border-radius: var(--radius);
    background: linear-gradient(120deg, #fff6e6, #ffeef6);
    border: 1.5px dashed #ffc98a;
    color: #a15a00;
    font-size: 13px;
    text-decoration: none;
    margin-bottom: 10px;
}
.mom-lock .ml-ico { font-size: 16px; }
.mom-lock .ml-txt { flex: 1 1 auto; }
.mom-lock .ml-go { flex: 0 0 auto; font-weight: 800; color: var(--c-pink); }
.mom-lock:hover { border-color: var(--c-pink); }

/* 底部：时间 + 操作 */
.mom-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    padding-top: 10px;
    border-top: 1.5px dashed var(--c-border);
}
.mom-time { font-size: 12.5px; color: var(--c-text-3); }
.mom-time a { color: var(--c-text-3); text-decoration: none; }
.mom-time a:hover { color: var(--c-primary); }
.mom-price { color: var(--c-danger); }
.mom-acts { display: flex; align-items: center; gap: 4px; }
.mom-act {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 11px;
    border-radius: var(--radius-pill);
    border: 1.5px solid transparent;
    background: var(--c-bg-2);
    color: var(--c-text-2);
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    transition: all .18s ease;
    font-family: inherit;
}
.mom-act:hover { background: var(--c-primary-soft); color: var(--c-primary); transform: translateY(-1px); }
.mom-act.on { background: linear-gradient(135deg, var(--c-primary), var(--c-pink)); color: #fff; box-shadow: 0 6px 14px rgba(108, 76, 241, .28); }
.mom-act.on .ma-num { color: #fff; }
.mom-act-tip:hover { background: var(--c-gold-soft); color: #b96f00; }
.ma-ico { font-size: 14px; line-height: 1; }
.ma-num { font-variant-numeric: tabular-nums; }

/* 内联评论 */
.mom-cmts { margin-top: 12px; padding-top: 12px; border-top: 1.5px dashed var(--c-border); }
.mom-cmts-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 10px; }
.mom-cmt-form { display: flex; gap: 8px; }
.mom-cmt-form .form-control { flex: 1 1 auto; }

/* ---------- 通用评论块 ---------- */
.pcmt { font-size: 13.2px; line-height: 1.8; }
.pcmt-b {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px;
    padding: 7px 12px;
    border-radius: 4px 14px 14px 14px;
    background: var(--c-bg-2);
}
.pcmt-n { font-weight: 800; color: var(--c-primary); }
.pcmt-x { color: var(--c-text-2); }
.pc-del {
    border: none; background: none; cursor: pointer;
    font-size: 11.5px; color: var(--c-text-3); padding: 0 2px;
    font-family: inherit;
}
.pc-del:hover { color: var(--c-danger); }
.pac-empty { font-size: 13px; color: var(--c-text-3); padding: 6px 0; }

/* ---------- 详情页：互动条 / 评论区 ---------- */
.pa-tags { margin: 4px 0 12px; }
.pa-video { border-radius: var(--radius); overflow: hidden; background: #120c26; margin: 14px 0; }
.pa-video video { display: block; width: 100%; max-height: 520px; }

.pa-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 16px 0 6px;
    margin-top: 18px;
    border-top: 1.5px solid var(--c-border);
}
.pa-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 18px;
    border-radius: var(--radius-pill);
    border: 1.5px solid var(--c-border-2);
    background: var(--c-white);
    color: var(--c-text-2);
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
    transition: all .18s ease;
    font-family: inherit;
}
.pa-btn:hover { border-color: var(--c-primary-light); color: var(--c-primary); background: var(--c-primary-soft); transform: translateY(-1px); }
.pa-btn.on {
    background: linear-gradient(135deg, var(--c-primary), var(--c-pink));
    border-color: transparent;
    color: #fff;
    box-shadow: 0 8px 20px rgba(108, 76, 241, .28);
}
.pa-btn.on .pb-num { color: #fff; }
.pa-btn-tip { border-color: #ffd08a; background: var(--c-gold-soft); color: #a15a00; }
.pa-btn-tip:hover { border-color: var(--c-gold); background: #ffe9c6; color: #8a4b00; }
.pb-num { font-variant-numeric: tabular-nums; color: var(--c-text-3); }
.pa-btn.on .pb-num, .pa-btn:hover .pb-num { color: inherit; }
.pa-btn-share { margin-left: auto; }

.pa-tips {
    margin-top: 16px;
    padding: 14px 16px;
    border-radius: var(--radius);
    background: linear-gradient(120deg, #fff8ec, #fff1f7);
    border: 1.5px solid #ffe0b8;
}
.pt-head { font-size: 13.5px; font-weight: 800; color: #a15a00; margin-bottom: 8px; }
.pt-list { display: flex; flex-wrap: wrap; gap: 7px; }
.pt-item {
    font-size: 12.5px;
    padding: 3px 10px;
    border-radius: var(--radius-pill);
    background: rgba(255,255,255,.85);
    border: 1px solid #ffe0b8;
    color: #8a4b00;
}

.pa-comments { margin-top: 26px; padding-top: 20px; border-top: 1.5px solid var(--c-border); }
.pac-title { margin: 0 0 14px; font-size: 17px; }
.pac-title em { font-style: normal; color: var(--c-primary); }
.pac-form { display: flex; gap: 10px; margin-bottom: 16px; }
.pac-form .form-control { flex: 1 1 auto; }
.pac-login { font-size: 13.5px; color: var(--c-text-2); margin-bottom: 14px; }
.pac-login a { color: var(--c-primary); font-weight: 700; }
.pac-list { display: flex; flex-direction: column; gap: 9px; }

/* ---------- 打赏弹窗 ---------- */
.tip-balance { font-size: 13.5px; color: var(--c-text-2); margin-bottom: 12px; }
.tip-balance b { color: var(--c-primary); font-size: 16px; }
.tip-options { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.tip-opt {
    padding: 10px 20px;
    border-radius: var(--radius);
    border: 2px solid var(--c-border-2);
    background: var(--c-white);
    color: var(--c-text-2);
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    transition: all .18s ease;
    font-family: inherit;
}
.tip-opt:hover { border-color: var(--c-primary-light); color: var(--c-primary); }
.tip-opt.on {
    border-color: transparent;
    background: linear-gradient(135deg, var(--c-primary), var(--c-pink));
    color: #fff;
    box-shadow: 0 8px 20px rgba(108, 76, 241, .3);
}
.tip-note { margin-top: 12px; font-size: 13px; color: var(--c-warn); }
.tip-note a { color: var(--c-primary); font-weight: 700; }

/* ---------- 发布器：上传 ---------- */
.tag-pick { display: flex; flex-wrap: wrap; gap: 8px; }
.uploader { border: 2px dashed var(--c-border-2); border-radius: var(--radius); padding: 14px; background: var(--c-bg-2); }
.up-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; }
.up-grid:empty { display: none; }
.up-cell { position: relative; aspect-ratio: 1 / 1; border-radius: 12px; overflow: hidden; background: var(--c-white); border: var(--line); }
.up-cell img { width: 100%; height: 100%; object-fit: cover; display: block; }
.up-del {
    position: absolute; right: 5px; top: 5px;
    width: 22px; height: 22px;
    border-radius: 50%;
    border: none;
    background: rgba(18, 12, 38, .6);
    color: #fff;
    font-size: 12px;
    line-height: 1;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    font-family: inherit;
}
.up-del:hover { background: var(--c-danger); }
.up-video { position: relative; margin-bottom: 12px; }
.up-video video { display: block; width: 100%; max-width: 420px; border-radius: 12px; background: #120c26; }
.up-video .up-del { position: static; width: auto; border-radius: var(--radius-pill); margin-top: 8px; padding: 5px 12px; background: var(--c-danger); font-size: 12.5px; font-weight: 700; }
.up-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 12px; }
.up-grid:not(:empty) + .up-video + .up-actions,
.up-grid:not(:empty) + .up-actions { margin-top: 12px; }
.up-tip { flex: 1 1 200px; }

/* ---------- 侧栏补充 ---------- */
.mom-me .card-body { padding: 16px; }
.mom-me-top { display: flex; align-items: center; gap: 12px; }
.mom-me-top .pai {
    width: 46px; height: 46px; border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden; color: #fff; font-weight: 800; font-size: 17px;
    background: linear-gradient(135deg, var(--c-primary), var(--c-pink));
}
.mom-me-top .pai img { width: 100%; height: 100%; object-fit: cover; }
.mom-me-top .nm { font-weight: 800; font-size: 14.5px; }
.mom-me-top .sub { font-size: 12.5px; color: var(--c-gold); font-weight: 700; margin-top: 3px; }
.mom-me-acts { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.mom-me-acts .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.side-tags { display: flex; flex-wrap: wrap; gap: 7px; }

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
    .mom-hero { flex-direction: column; align-items: flex-start; padding: 24px 20px; }
    .mom-hero h1 { font-size: 27px; }
    .mom-hero-side { flex-direction: row; flex-wrap: wrap; width: 100%; min-width: 0; }
    .mom-hero-side .btn { flex: 1 1 auto; }
}
@media (max-width: 640px) {
    .mom-card { padding: 14px 14px; gap: 11px; }
    .mom-av .pai { width: 40px; height: 40px; border-radius: 12px; font-size: 15px; }
    .mom-media { max-width: 100%; }
    .mom-acts { width: 100%; justify-content: space-between; }
    .mom-act { padding: 5px 9px; }
    .pa-btn { padding: 8px 13px; font-size: 13px; }
    .pa-btn-share { margin-left: 0; }
}

/* ==========================================================
   首页 v2 · 次元潮流版（沉浸式 Hero + 弹幕 + 磁贴 + Tab + 榜单）
   ========================================================== */

/* ---------- 滚动渐显 ---------- */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
[data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ---------- 沉浸式 Hero ---------- */
.hero2 {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(1100px 520px at 78% -8%, rgba(255, 92, 157, .42), rgba(255,92,157,0) 60%),
        radial-gradient(900px 520px at 8% 0%, rgba(35, 198, 230, .30), rgba(35,198,230,0) 62%),
        linear-gradient(160deg, #1b1038 0%, #2a1a5e 42%, #4a2fc4 100%);
    color: #fff;
    padding: 0 0 54px;
}
.hero2-bg { position: absolute; inset: 0; pointer-events: none; }
.hero2-bg .blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; }
.hero2-bg .b1 { width: 420px; height: 420px; left: -120px; top: 40px; background: #6c4cf1; animation: blobFloat 13s ease-in-out infinite; }
.hero2-bg .b2 { width: 360px; height: 360px; right: -100px; top: -80px; background: #ff5c9d; animation: blobFloat 16s ease-in-out infinite reverse; }
.hero2-bg .b3 { width: 300px; height: 300px; left: 42%; bottom: -140px; background: #23c6e6; opacity: .34; animation: blobFloat 19s ease-in-out infinite; }
@keyframes blobFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50%      { transform: translate(34px, -26px) scale(1.08); }
}
.hero2-bg .spark {
    position: absolute;
    color: rgba(255,255,255,.75);
    font-size: 15px;
    animation: sparkTw 3.6s ease-in-out infinite;
}
.hero2-bg .s1 { left: 12%; top: 26%; }
.hero2-bg .s2 { left: 30%; top: 68%; font-size: 11px; animation-delay: .8s; }
.hero2-bg .s3 { left: 56%; top: 18%; font-size: 12px; animation-delay: 1.6s; }
.hero2-bg .s4 { left: 72%; top: 56%; font-size: 17px; animation-delay: .4s; }
.hero2-bg .s5 { left: 88%; top: 34%; font-size: 12px; animation-delay: 2.2s; }
.hero2-bg .s6 { left: 44%; top: 40%; font-size: 10px; animation-delay: 1.1s; }
@keyframes sparkTw {
    0%, 100% { opacity: .2; transform: scale(.8); }
    50%      { opacity: 1; transform: scale(1.25); }
}

/* 弹幕公告条 */
.hero2-marquee {
    position: relative;
    z-index: 2;
    overflow: hidden;
    border-bottom: 1px solid rgba(255,255,255,.14);
    background: rgba(12, 6, 32, .35);
    backdrop-filter: blur(6px);
}
.hm-track {
    display: flex;
    gap: 34px;
    width: max-content;
    padding: 9px 0;
    animation: marquee 30s linear infinite;
}
.hero2-marquee:hover .hm-track { animation-play-state: paused; }
.hm-item { font-size: 12.5px; color: rgba(255,255,255,.82); white-space: nowrap; letter-spacing: .4px; }
@keyframes marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

.hero2-inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 34px;
    padding-top: 46px;
}
.hero2-eyebrow {
    display: inline-block;
    padding: 5px 14px;
    border-radius: var(--radius-pill);
    background: rgba(255,255,255,.13);
    border: 1px solid rgba(255,255,255,.3);
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: .5px;
    backdrop-filter: blur(6px);
}
.hero2-text { max-width: 620px; }
.hero2-text h1 {
    margin: 18px 0 14px;
    font-size: 52px;
    line-height: 1.16;
    letter-spacing: 1px;
    text-shadow: 0 6px 30px rgba(10, 2, 40, .4);
}
.hero2-text .grad-txt {
    background: linear-gradient(96deg, #7ef0ff 0%, #b79bff 44%, #ff9ac4 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero2-text .lead {
    margin: 0 0 24px;
    font-size: 15px;
    line-height: 1.95;
    color: rgba(255,255,255,.88);
    max-width: 560px;
}
.hero2-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-bottom: 30px; }
.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 30px;
    border-radius: var(--radius-pill);
    border: none;
    background: linear-gradient(120deg, #ff5c9d, #ff9a6c 52%, #ffb020);
    color: #fff;
    font-size: 15.5px;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 12px 30px rgba(255, 92, 157, .4);
    transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.btn-hero:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(255, 92, 157, .5); filter: brightness(1.06); color: #fff; }
.btn-hero-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 26px;
    border-radius: var(--radius-pill);
    border: 1.5px solid rgba(255,255,255,.45);
    background: rgba(255,255,255,.1);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    backdrop-filter: blur(6px);
    transition: all .2s ease;
}
.btn-hero-ghost:hover { background: rgba(255,255,255,.22); transform: translateY(-3px); color: #fff; }
.hero2-stats { display: flex; flex-wrap: wrap; gap: 12px; }
.hero2-stats .item {
    min-width: 104px;
    padding: 12px 18px;
    border-radius: var(--radius);
    background: rgba(255,255,255,.09);
    border: 1px solid rgba(255,255,255,.2);
    backdrop-filter: blur(8px);
}
.hero2-stats .num { font-size: 24px; font-weight: 900; line-height: 1.1; }
.hero2-stats .lbl { font-size: 12px; color: rgba(255,255,255,.72); margin-top: 3px; }

/* 悬浮分类玻璃卡 */
.hero2-cards {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(150px, 190px));
    gap: 14px;
}
.h2card {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 18px 18px 16px;
    border-radius: 18px;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.24);
    backdrop-filter: blur(12px);
    color: #fff;
    text-decoration: none;
    position: relative;
    transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
    animation: cardFloat 6s ease-in-out infinite;
}
.h2card:nth-child(2) { animation-delay: 1.1s; }
.h2card:nth-child(3) { animation-delay: 2.2s; }
.h2card:nth-child(4) { animation-delay: 3.3s; }
@keyframes cardFloat {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-9px); }
}
.h2card:hover { background: rgba(255,255,255,.2); transform: translateY(-8px) scale(1.03); box-shadow: 0 18px 44px rgba(8, 2, 34, .4); color: #fff; animation-play-state: paused; }
.h2c1 { transform: rotate(-2deg); }
.h2c2 { transform: rotate(1.6deg); }
.h2c3 { transform: rotate(1.4deg); }
.h2c4 { transform: rotate(-1.6deg); }
.hc-emoji { font-size: 30px; line-height: 1; margin-bottom: 6px; }
.hc-t { font-size: 15.5px; font-weight: 800; }
.hc-d { font-size: 12px; color: rgba(255,255,255,.72); }
.hc-go {
    position: absolute;
    right: 14px; top: 16px;
    font-size: 15px;
    opacity: .6;
    transition: all .2s ease;
}
.h2card:hover .hc-go { opacity: 1; transform: translateX(4px); }
.hero2-fade {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 60px;
    background: linear-gradient(to top, rgba(20, 10, 48, .55), transparent);
    pointer-events: none;
}

/* ---------- 次元货架（分类磁贴） ---------- */
.cat2-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 14px; }
.cat2 {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 22px 18px 18px;
    border-radius: 18px;
    background: var(--cg);
    color: #fff;
    text-decoration: none;
    box-shadow: 0 10px 26px rgba(76, 47, 196, .16);
    transition: transform .24s ease, box-shadow .24s ease;
}
.cat2::after {
    content: '';
    position: absolute;
    right: -26px; top: -26px;
    width: 96px; height: 96px;
    border-radius: 50%;
    background: rgba(255,255,255,.18);
    transition: transform .3s ease;
}
.cat2:hover { transform: translateY(-6px); box-shadow: 0 18px 38px rgba(76, 47, 196, .3); }
.cat2:hover::after { transform: scale(1.35); }
.c2-ico { font-size: 32px; line-height: 1; margin-bottom: 8px; text-shadow: 0 4px 12px rgba(0,0,0,.18); }
.c2-nm { font-size: 15.5px; font-weight: 800; position: relative; z-index: 1; }
.c2-ct { font-size: 12px; opacity: .85; position: relative; z-index: 1; }
.c2-go {
    position: absolute;
    right: 16px; bottom: 16px;
    font-size: 15px;
    font-weight: 800;
    opacity: .75;
    transition: transform .2s ease;
    z-index: 1;
}
.cat2:hover .c2-go { transform: translateX(5px); opacity: 1; }

/* ---------- 今日主推 ---------- */
.feat-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 16px; align-items: stretch; }
.feat-main {
    display: flex;
    gap: 20px;
    padding: 20px;
    border-radius: var(--radius-lg);
    background: var(--c-white);
    border: var(--line);
    box-shadow: var(--shadow);
    text-decoration: none;
    overflow: hidden;
    transition: transform .24s ease, box-shadow .24s ease;
}
.feat-main:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.fm-img {
    flex: 0 0 46%;
    border-radius: 14px;
    overflow: hidden;
    background: var(--c-bg-2);
    align-self: stretch;
}
.fm-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.feat-main:hover .fm-img img { transform: scale(1.04); }
.fm-body { display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.fm-tag {
    align-self: flex-start;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    background: linear-gradient(120deg, var(--c-primary), var(--c-pink));
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 12px;
}
.fm-nm { font-size: 21px; font-weight: 900; line-height: 1.45; color: var(--c-text); margin-bottom: 8px; }
.fm-sub { font-size: 13.5px; color: var(--c-text-2); line-height: 1.8; margin-bottom: 14px; }
.fm-meta { display: flex; align-items: baseline; gap: 10px; margin-bottom: 12px; }
.fm-price { font-size: 27px; font-weight: 900; color: var(--c-danger); }
.fm-price i { font-style: normal; font-size: 15px; margin-right: 2px; }
.fm-old { font-size: 13.5px; color: var(--c-text-3); text-decoration: line-through; }
.fm-sales { font-size: 12.5px; color: var(--c-text-3); }
.fm-shop { font-size: 12.5px; color: var(--c-text-3); margin-bottom: 14px; }
.fm-go {
    align-self: flex-start;
    padding: 9px 22px;
    border-radius: var(--radius-pill);
    background: linear-gradient(120deg, var(--c-primary), var(--c-pink));
    color: #fff;
    font-size: 13.5px;
    font-weight: 800;
    box-shadow: 0 8px 20px rgba(108, 76, 241, .28);
    transition: transform .2s ease;
}
.feat-main:hover .fm-go { transform: translateX(5px); }
.feat-side { display: flex; flex-direction: column; gap: 12px; }
.feat-mini {
    flex: 1 1 0;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    border-radius: var(--radius);
    background: var(--c-white);
    border: var(--line);
    box-shadow: var(--shadow-sm);
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease;
}
.feat-mini:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.fm2-img {
    flex: 0 0 74px;
    height: 74px;
    border-radius: 12px;
    overflow: hidden;
    background: var(--c-bg-2);
}
.fm2-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fm2-body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.fm2-nm {
    font-size: 13.8px;
    font-weight: 700;
    color: var(--c-text);
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.fm2-price { font-size: 15px; font-weight: 900; color: var(--c-danger); }
.fm2-price i { font-style: normal; font-size: 11.5px; font-weight: 500; color: var(--c-text-3); margin-left: 6px; }

/* ---------- 场景 Tab ---------- */
.occ-tab {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin: 0 10px 12px 0;
    padding: 9px 20px;
    border-radius: var(--radius-pill);
    border: 1.5px solid var(--c-border-2);
    background: var(--c-white);
    color: var(--c-text-2);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all .2s ease;
    font-family: inherit;
}
.occ-tab:hover { border-color: var(--c-primary-light); color: var(--c-primary); transform: translateY(-2px); }
.occ-tab.on {
    background: linear-gradient(120deg, var(--c-primary), var(--c-pink));
    border-color: transparent;
    color: #fff;
    box-shadow: 0 8px 20px rgba(108, 76, 241, .3);
}
.occ-panel { display: none; animation: panelIn .35s ease; }
.occ-panel.on { display: block; }
@keyframes panelIn {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: none; }
}
.occ-more { text-align: center; margin-top: 22px; }

/* ---------- 人气榜 + 到货最快 ---------- */
.rank-row { display: grid; grid-template-columns: 1fr 1.15fr; gap: 30px; align-items: start; }
.rank-list { display: flex; flex-direction: column; gap: 10px; }
.rank-item {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 10px 14px;
    border-radius: var(--radius);
    background: var(--c-white);
    border: var(--line);
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.rank-item:hover { transform: translateX(6px); box-shadow: var(--shadow); border-color: var(--c-border-2); }
.rk-no {
    flex: 0 0 30px;
    height: 30px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 900;
    background: var(--c-bg-2);
    color: var(--c-text-3);
}
.rk-no.top { background: linear-gradient(135deg, var(--c-primary), var(--c-pink)); color: #fff; box-shadow: 0 6px 14px rgba(108, 76, 241, .3); }
.rk-img {
    flex: 0 0 56px;
    height: 56px;
    border-radius: 12px;
    overflow: hidden;
    background: var(--c-bg-2);
}
.rk-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rk-body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.rk-nm {
    font-size: 13.8px;
    font-weight: 700;
    color: var(--c-text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.rk-meta { font-size: 12.5px; color: var(--c-text-3); }
.rk-go { flex: 0 0 auto; color: var(--c-text-3); font-size: 15px; transition: transform .2s ease; }
.rank-item:hover .rk-go { transform: translateX(4px); color: var(--c-primary); }
.fast-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }

/* ---------- 首页社区动态 ---------- */
.home-feed { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }

/* ---------- 商家入驻 CTA ---------- */
.cta2 {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 38px 40px;
    border-radius: var(--radius-lg);
    background:
        radial-gradient(560px 300px at 88% 10%, rgba(255, 92, 157, .5), rgba(255,92,157,0) 62%),
        linear-gradient(125deg, #2a1a5e 0%, #4a2fc4 48%, #6c4cf1 100%);
    color: #fff;
    box-shadow: var(--shadow-lg);
}
.cta2-glow {
    position: absolute;
    left: -60px; bottom: -110px;
    width: 300px; height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, rgba(126, 240, 255, .4), rgba(126,240,255,0) 65%);
    pointer-events: none;
}
.cta2-main { position: relative; z-index: 1; max-width: 660px; }
.cta2-eyebrow {
    display: inline-block;
    padding: 4px 13px;
    border-radius: var(--radius-pill);
    background: rgba(255,255,255,.15);
    border: 1px solid rgba(255,255,255,.3);
    font-size: 12.5px;
    font-weight: 600;
}
.cta2 h2 { margin: 13px 0 10px; font-size: 27px; line-height: 1.4; color: #fff; }
.cta2 p { margin: 0 0 22px; font-size: 14px; line-height: 1.9; color: rgba(255,255,255,.86); }
.cta2-acts { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- 首页响应式 ---------- */
@media (max-width: 1000px) {
    .hero2-inner { flex-direction: column; align-items: flex-start; }
    .hero2-text h1 { font-size: 40px; }
    .hero2-cards { width: 100%; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
    .feat-grid { grid-template-columns: 1fr; }
    .rank-row { grid-template-columns: 1fr; }
    .home-feed { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .hero2-text h1 { font-size: 32px; }
    .hero2-stats .item { flex: 1 1 40%; min-width: 0; }
    .feat-main { flex-direction: column; }
    .fm-img { flex-basis: auto; height: 220px; }
    .cat2-strip { grid-template-columns: repeat(2, 1fr); }
    .fast-grid { grid-template-columns: 1fr; }
    .cta2 { padding: 28px 22px; }
    .cta2 h2 { font-size: 22px; }
}
