/* ==========================================================
   钓乐汇渔具商城 · 前台样式（藏青 + 琥珀金 · 旅行质感）
   说明：全站基础变量在 app.css 里（糖果彩虹风，供后台使用），
   为了不影响商家端 / 平台端后台，前台在这里做整体变量与组件覆盖。
   ========================================================== */

:root {
    /* 主色：深湖藏青 */
    --c-primary:        #1d4e6b;
    --c-primary-dark:   #12364b;
    --c-primary-light:  #3d7fa3;
    --c-primary-soft:   #e9f2f7;

    /* 辅助：琥珀金 / 陶土橘 / 松石绿 */
    --c-gold:      #c9962e;
    --c-gold-soft: #fbf3e0;
    --c-green:     #3f8574;
    --c-berry:     #c2603f;
    --c-pink:      #c2603f;
    --c-pink-soft: #fbeee6;
    --c-blue:      #5d87a8;
    --c-blue-soft: #e9f1f7;
    --c-purple:    #3f5d7d;
    --c-purple-soft: #e9eff5;

    /* 中性：冷暖灰蓝 */
    --c-text:      #1a2733;
    --c-text-2:    #52616e;
    --c-text-3:    #8796a2;
    --c-border:    #e3e9ee;
    --c-border-2:  #ccd8e1;
    --c-bg:        #f6f8fa;
    --c-bg-2:      #edf2f6;
    --c-white:     #ffffff;

    /* 状态 */
    --c-warn:    #d18b2c;
    --c-success: #2f8a68;
    --c-danger:  #cf3f34;
    --c-info:    #5d87a8;

    /* 阴影 & 圆角：藏青投影，克制不童趣 */
    --shadow-sm: 0 1px 2px rgba(23, 54, 75, .05), 0 2px 10px rgba(23, 54, 75, .06);
    --shadow:    0 2px 4px rgba(23, 54, 75, .06), 0 12px 26px rgba(23, 54, 75, .1);
    --shadow-lg: 0 4px 8px rgba(23, 54, 75, .07), 0 22px 46px rgba(23, 54, 75, .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(201, 150, 46, .07), transparent 30%),
        radial-gradient(circle at 92% 12%, rgba(61, 127, 163, .07), transparent 32%);
    background-attachment: fixed;
}

/* 顶部导航 */
.site-header {
    border-bottom: 1px solid var(--c-border-2);
}
.brand .logo {
    background: linear-gradient(135deg, #3d7fa3, #1d4e6b 55%, #12364b);
    box-shadow: 0 4px 0 rgba(29, 78, 107, .22);
    transform: rotate(-3deg);
}
.brand:hover .logo { transform: rotate(3deg) scale(1.06); }
.main-nav a.active {
    box-shadow: 0 3px 0 rgba(29, 78, 107, .25);
}

/* 按钮 */
.btn { border-width: 1.5px; }
.btn-primary {
    background: linear-gradient(135deg, #3d7fa3, #1d4e6b 65%, #12364b);
    box-shadow: 0 4px 12px rgba(23, 54, 75, .26);
}
.btn-primary:hover {
    background: linear-gradient(135deg, #4a90b5, #236083 65%, #174259);
    box-shadow: 0 6px 16px rgba(23, 54, 75, .3);
}
.btn-danger  { box-shadow: 0 4px 12px rgba(160, 50, 40, .24); }
.btn-success { box-shadow: 0 4px 12px rgba(40, 120, 90, .24); }
.btn-soft { border-color: #cfe0ea; }
.btn-soft:hover { background: #e2edf4; color: var(--c-primary-dark); }

/* 表单 */
.form-control:focus {
    box-shadow: 0 0 0 4px rgba(61, 127, 163, .16);
}
.form-control::placeholder { color: #a9b8c4; }
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='%2352616e' 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, #f8fafc, #eef4f8);
}
.table th { background: linear-gradient(135deg, #f8fafc, #eef4f8); }
.table tbody tr:hover { background: #f6fafc; }
.modal { border: 1.5px solid var(--c-border-2); }
.modal-mask { background: rgba(26, 39, 51, .45); }
.modal-close:hover { transform: rotate(90deg); }
.img-ph { background: linear-gradient(135deg, #eef4f8, #e4edf3); }
.pager .active a, .pager .active span { box-shadow: 0 3px 0 rgba(29, 78, 107, .25); }
.toast { box-shadow: 0 8px 0 rgba(23, 54, 75, .14), 0 16px 34px rgba(23, 54, 75, .2); }
.toast.warn { color: #4a3200; }

/* 页脚 */
.site-footer {
    background: linear-gradient(180deg, #f0f4f8, #e8eff5);
    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(61, 127, 163, .24), transparent 42%),
        radial-gradient(circle at 88% 14%, rgba(217, 165, 60, .2), transparent 42%),
        radial-gradient(circle at 70% 88%, rgba(93, 135, 168, .16), transparent 40%),
        linear-gradient(160deg, #f4f8fb 0%, #ecf3f8 55%, #e8f0f6 100%);
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(29, 78, 107, .05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(29, 78, 107, .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 #cfe0ea;
    color: var(--c-primary);
    font-size: 12.5px;
    font-weight: 700;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(29, 78, 107, .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, #3d7fa3, #1d4e6b 55%, #12364b 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 #dde8f0;
    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: #d3e1eb; }
.hero-card:nth-child(3) { border-color: #cfdde8; }
.hero-card:nth-child(4) { border-color: #c9d8e4; }
.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(29, 78, 107, .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, #d9a53c, #c9962e 55%, #1d4e6b);
    border: 1.5px solid #fff;
    box-shadow: 0 4px 12px rgba(23, 54, 75, .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 #dde8f0;
    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: #d3e1eb; }
.cat-item:nth-child(4n+3) { border-color: #cfdde8; }
.cat-item:nth-child(4n+4) { border-color: #c9d8e4; }
.cat-item:nth-child(4n+1) { border-color: #dfe4d8; }
.cat-item:hover {
    background: linear-gradient(160deg, #fbfdfe, #f0f6fa);
    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 #dde8f0;
    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: #d3e1eb; }
.product-card:nth-child(4n+3) { border-color: #cfdde8; }
.product-card:nth-child(4n+4) { border-color: #c9d8e4; }
.product-card:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow);
}

.product-card .thumb {
    position: relative;
    aspect-ratio: 1 / 1;
    background: linear-gradient(135deg, #f4f8fb, #eaf1f6);
    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, #d9a53c, #c9962e);
    color: #fff;
    border: 2px solid #fff;
    box-shadow: 0 4px 10px rgba(160, 120, 30, .24);
}
.product-card .corner.hot {
    background: linear-gradient(135deg, #c2603f, #cf3f34);
    box-shadow: 0 4px 10px rgba(160, 50, 40, .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(23, 54, 75, .24);
    line-height: 1;
}
.product-card .add-cart:hover {
    transform: scale(1.12);
    box-shadow: 0 4px 0 rgba(23, 54, 75, .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(23, 54, 75, .2);
}

/* ---------------- 商品详情 ---------------- */
.pd-wrap {
    display: grid;
    grid-template-columns: 440px 1fr;
    gap: 40px;
    background: var(--c-white);
    border: 1.5px solid #dde8f0;
    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, #f4f8fb, #eaf1f6);
    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, #f4f8fb, #edf3f8);
    border: 1.5px solid #cfe0ea;
    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, #d0563f, #cf3f34);
    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(29, 78, 107, .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, #f8fafc, #eef4f8);
    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, #f4f8fb, #eaf1f6);
    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(29, 78, 107, .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: #f8fbfd; }
.addr-option.selected {
    border-color: var(--c-primary);
    background: var(--c-primary-soft);
    box-shadow: 0 0 0 4px rgba(61, 127, 163, .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 #dde8f0;
    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, #f4f8fb, #eaf1f6);
    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, #f8fafc, #eef4f8);
    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, #f4f8fb, #eaf1f6);
    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: #fbfdfe;
}
.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(23, 54, 75, .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, #d9a53c, #b8862a);
    color: #fff;
    box-shadow: 0 0 0 2px #ecdcb8, 0 4px 0 rgba(23, 54, 75, .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(61, 127, 163, .22), transparent 42%),
        radial-gradient(circle at 84% 76%, rgba(217, 165, 60, .16), transparent 42%),
        radial-gradient(circle at 60% 10%, rgba(93, 135, 168, .14), transparent 38%),
        linear-gradient(150deg, #f5f9fc, #eef4f9);
}
.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 #dde8f0;
    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, #3d7fa3, #1d4e6b 60%, #c9962e);
    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(29, 78, 107, .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: #f8fbfd; }
.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(61, 127, 163, .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, #f4f8fb, #edf3f8);
    border-bottom: var(--line);
}
.side-menu .sm-avatar {
    width: 60px; height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3d7fa3, #1d4e6b 60%, #c9962e);
    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(29, 78, 107, .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(23, 54, 75, .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 #dde8f0;
    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: #d3e1eb; }
.stat-mini:nth-child(3n+3) { border-color: #cfdde8; }
.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, #f4f8fb, #eaf1f6);
    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(29, 78, 107, .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 #dde8f0;
    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: #d3e1eb; }
.shop-card:nth-child(3n+3) { border-color: #cfdde8; }
.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, #3d7fa3, #1d4e6b 60%, #c9962e);
    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(29, 78, 107, .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, #12364b, #1d4e6b 52%, #2d6f95 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, #8ba7b8, #5d7d92);
    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, #6d9cbc, #3d7fa3); }
.pai-merchant { background: linear-gradient(135deg, #e0b25c, #c9962e); }
.pai-admin    { background: linear-gradient(135deg, #4d6f8f, #12364b); }

/* ---------------- 广场头部 ---------------- */
.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(217, 165, 60, .24), transparent 46%),
        radial-gradient(circle at 8% 96%, rgba(61, 127, 163, .3), transparent 50%),
        linear-gradient(135deg, #1d4e6b 0%, #16415a 55%, #0f2f42 100%);
    box-shadow: 0 18px 42px rgba(15, 47, 66, .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: #eec26a;
    line-height: 1;
}
/* 头部里的按钮换成金 / 玻璃双色，避免与深底同色 */
.post-hero .btn-primary {
    background: linear-gradient(135deg, #eec26a, #c9962e);
    color: #3a2a06;
    border-color: transparent;
    box-shadow: 0 8px 20px rgba(201, 150, 46, .34);
}
.post-hero .btn-primary:hover {
    box-shadow: 0 10px 26px rgba(201, 150, 46, .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(23, 54, 75, .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, #eef4f8, #e1ebf3);
}
.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(10, 30, 44, .62), rgba(10, 30, 44, 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, #e9b453, #c9962e);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    box-shadow: 0 4px 10px rgba(160, 120, 30, .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(15, 47, 66, .18);
    white-space: nowrap;
}
.pc-lock.is-free   { background: #eaf6f1; color: #2f8a68; }
.pc-lock.is-locked { background: linear-gradient(135deg, #d9a53c, #c9962e); color: #fff; }
.pc-lock.is-open   { background: linear-gradient(135deg, #3d7fa3, #1d4e6b); color: #fff; }

/* 无封面时的类型主题占位底 */
.pc-thumb.is-ph {
    display: flex;
    align-items: center;
    justify-content: center;
}
.pc-thumb.is-ph.ph-share  { background: linear-gradient(140deg, #e6f0f7, #cfe2ee); }
.pc-thumb.is-ph.ph-second { background: linear-gradient(140deg, #fbf1dd, #f2e0bb); }
.pc-thumb.is-ph.ph-spot   { background: linear-gradient(140deg, #e4f2ec, #cbe6da); }
.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, #e9b453, #c9962e); 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, #e9b453, #c9962e);
    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), #fbfdfe);
    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, #e9b453, #c9962e);
}
.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, #e8f1f8, #d3e5f0); }
.pa-cover.is-ph.ph-second { background: linear-gradient(140deg, #fcf3e1, #f3e3c0); }
.pa-cover.is-ph.ph-spot   { background: linear-gradient(140deg, #e7f4ee, #cfe9dd); }
.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, #fdeeea, #fff);
    border: 1px solid #f7d9d1;
    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, #fbf6ea, #fff 70%);
    border: 1.5px solid #f0e2c2;
}
.pa-contact .k { font-size: 13px; font-weight: 800; color: #8a6414; 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: #e9f5f0;
    border: 1px solid #cfe7dd;
    color: #2f8a68;
    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(201, 150, 46, .1), transparent 58%),
        linear-gradient(160deg, #fbfcfe, #f2f6fa);
    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, #e9b453, #c9962e);
    box-shadow: 0 10px 24px rgba(201, 150, 46, .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 #f0e2c2;
    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: #fbfdfe;
    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(23, 54, 75, .12);
}
.tp-item.active::after {
    content: '✓';
    position: absolute;
    top: 8px;
    right: 9px;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3d7fa3, #1d4e6b);
    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, #fbf1da, #fdf9ef);
    border: 1.5px solid #f0e2c2;
}
.rb-num {
    font-size: 34px;
    font-weight: 800;
    line-height: 1;
    color: #c9962e;
    letter-spacing: -.5px;
}
.rb-txt { font-size: 13px; font-weight: 700; color: #8a6414; }

/* ---------------- 我的发布 ---------------- */
.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(23, 54, 75, .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: #fbeeea;
    border: 1px solid #f6d5cf;
    color: #c0402f;
    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(217, 165, 60, .24), transparent 46%),
        linear-gradient(135deg, #1d4e6b, #12364b 72%);
    box-shadow: 0 16px 36px rgba(15, 47, 66, .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: #eec26a;
    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, #eec26a, #c9962e);
    color: #3a2a06;
    border-color: transparent;
    box-shadow: 0 8px 20px rgba(201, 150, 46, .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, #fbfdfe, #f2f7fa);
    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; }
}
