/* ============================================================
   登山线路详情页 - 高端设计系统
   Version: 3.7 (海报高度 620 · 标题 24px · 集合点 3 列)
   ============================================================ */

/* ============================================================
   1. 全局变量
   ============================================================ */
:root {
    --d-primary: #2d8a4e;
    --d-primary-dark: #1e6b3a;
    --d-primary-light: #4caf50;
    --d-accent: #f39c12;
    --d-danger: #e74c3c;
    --d-text: #1a2620;
    --d-text-sub: #5a6b60;
    --d-text-light: #93a399;
    --d-border: #e8efe9;
    --d-bg: #f5f7f5;
    --d-bg-soft: #f8fbf8;
    --d-radius: 16px;
    --d-radius-sm: 10px;
    --d-shadow-sm: 0 2px 12px rgba(31, 45, 36, 0.05);
    --d-shadow: 0 8px 32px rgba(31, 45, 36, 0.08);
    --d-shadow-lg: 0 20px 60px rgba(31, 45, 36, 0.12);
}

.detail-page {
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
                 "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    color: var(--d-text);
    background: var(--d-bg);
    padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px));
}

/* ============================================================
   2. Hero 首屏
   ============================================================ */
.d-hero {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    color: #fff;
    padding: 100px 0 80px;
}
.d-hero--noimg {
    background: linear-gradient(135deg, #2d8a4e 0%, #1e6b3a 60%, #0f3d20 100%);
    background-color: #2d8a4e;
}
.d-hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}
.d-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 50%, rgba(0,0,0,0.35) 100%);
    pointer-events: none;
}
.d-hero--noimg .d-hero__overlay {
    background: radial-gradient(ellipse at top right, rgba(255,255,255,0.08), transparent 60%);
}
.d-hero__inner {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}
.d-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    margin-bottom: 20px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.8);
}
.d-breadcrumb a { color: #fff; text-decoration: none; transition: opacity 0.2s; }
.d-breadcrumb a:hover { opacity: 0.8; }
.d-breadcrumb .sep { opacity: 0.7; }

.d-hero__tags { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 30px;
    padding: 0 16px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.25);
}
.tag small { font-size: 11px; opacity: 0.9; font-weight: 500; }
.tag--diff { color: #fff; }
.difficulty-easy     { background-color: #27ae60; }
.difficulty-beginner { background-color: #2ecc71; }
.difficulty-medium   { background-color: #f39c12; }
.difficulty-hard     { background-color: #e67e22; }
.difficulty-expert   { background-color: #e74c3c; }
.tag--full { background-color: #e74c3c; color: #fff; }
.tag--fee { background-color: #fff; color: #b06e00; }
.tag--free { background-color: #4caf50; color: #fff; }
.tag--earlybird {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    background-color: #ff6b35;
    color: #fff;
    box-shadow: 0 4px 14px rgba(255,107,53,0.5);
    animation: earlyBirdPulse 2s infinite;
}
@keyframes earlyBirdPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.03); }
}

.d-hero__title {
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.5px;
    margin: 0 0 24px;
    max-width: 900px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.9), 0 4px 16px rgba(0,0,0,0.7), 0 8px 32px rgba(0,0,0,0.5);
}

.d-hero__meta { display: flex; gap: 12px; flex-wrap: wrap; }
.meta-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: rgba(0,0,0,0.45);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    text-shadow: 0 1px 4px rgba(0,0,0,0.8);
    box-shadow: 0 2px 12px rgba(0,0,0,0.2);
}
.meta-chip svg { opacity: 0.95; flex-shrink: 0; }

.d-hero__scroll {
    position: absolute;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%);
    width: 26px;
    height: 42px;
    border: 2px solid rgba(255,255,255,0.6);
    border-radius: 100px;
    z-index: 3;
    background: rgba(0,0,0,0.2);
}
.d-hero__scroll span {
    display: block;
    width: 4px;
    height: 8px;
    background: #fff;
    border-radius: 4px;
    margin: 6px auto;
    animation: d-scroll 1.8s infinite;
}
@keyframes d-scroll {
    0% { opacity: 0; transform: translateY(-4px); }
    50% { opacity: 1; transform: translateY(8px); }
    100% { opacity: 0; transform: translateY(16px); }
}

/* ============================================================
   3. Hero 上的海报按钮
   ============================================================ */
.d-hero__poster-btn {
    position: relative;
    z-index: 6;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    background-color: #ffffff;
    background: #ffffff;
    color: #1e6b3a;
    border: 1px solid rgba(255,255,255,0.6);
    border-radius: 100px;
    font-size: 14px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.25s;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
    white-space: nowrap;
}
.d-hero__poster-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.4);
    color: #2d8a4e;
}
.d-hero__poster-btn:active { transform: translateY(0); }
.d-hero__poster-btn svg { flex-shrink: 0; }

/* ============================================================
   4. 数据统计卡
   ============================================================ */
.d-stats {
    max-width: 1200px;
    margin: -60px auto 0;
    padding: 0 24px;
    position: relative;
    z-index: 5;
}
.d-stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(31,45,36,0.12);
    overflow: hidden;
    border: 1px solid #e8efe9;
}
.d-stat {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 28px 24px;
    position: relative;
    transition: background 0.3s;
}
.d-stat + .d-stat::before {
    content: '';
    position: absolute;
    left: 0; top: 24%; bottom: 24%;
    width: 1px;
    background: #e8efe9;
}
.d-stat:hover { background: #f8fbf8; }
.d-stat__icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(45,138,78,0.1);
    color: #2d8a4e;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.d-stat__icon svg { width: 22px; height: 22px; }
.d-stat__body { min-width: 0; }
.d-stat__value {
    display: flex;
    align-items: baseline;
    gap: 3px;
    font-weight: 800;
    color: #1a2620;
    line-height: 1.1;
}
.d-stat__value .num { font-size: 24px; letter-spacing: -0.5px; }
.d-stat__value .unit { font-size: 13px; color: #93a399; font-weight: 600; }
.d-stat__label { font-size: 12px; color: #93a399; margin-top: 4px; }

/* ============================================================
   5. 主内容区
   ============================================================ */
.d-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 24px 0;
}
.d-content__wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 32px;
    align-items: start;
}
.d-main {
    display: flex;
    flex-direction: column;
    gap: 24px;
    min-width: 0;
}

/* ============================================================
   6. 内容卡片
   ============================================================ */
.d-block {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(31,45,36,0.05);
    overflow: hidden;
    transition: box-shadow 0.3s;
}
.d-block:hover { box-shadow: 0 8px 32px rgba(31,45,36,0.08); }
.d-block__head {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 22px 28px;
    border-bottom: 1px solid #e8efe9;
}
.d-block__icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.d-block__icon svg { width: 20px; height: 20px; }
.d-block__icon--green { background: linear-gradient(135deg, #d4edda, #b8e0c4); color: #1e6b3a; }
.d-block__icon--blue  { background: linear-gradient(135deg, #d1ecf1, #a8d8e8); color: #0c5460; }
.d-block__icon--amber { background: linear-gradient(135deg, #fff3cd, #ffe7a0); color: #856404; }
.d-block__icon--purple { background: linear-gradient(135deg, #e5d4f7, #d0b8ed); color: #5a2d9c; }
.d-block__title { font-size: 17px; font-weight: 700; color: #1a2620; margin: 0; letter-spacing: -0.2px; }
.d-block__line { flex: 1; height: 2px; background: linear-gradient(90deg, #e8efe9, transparent); border-radius: 2px; }
.d-block__body { padding: 28px; }
.d-block--warn {
    background: linear-gradient(135deg, #fffbf2 0%, #fff9eb 100%);
    border: 1px solid rgba(243,156,18,0.15);
}
.d-block--warn .d-block__head { border-bottom-color: rgba(243,156,18,0.15); }

/* ============================================================
   7. 信息网格
   ============================================================ */
.d-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.d-info {
    padding: 18px 20px;
    background: #f8fbf8;
    border-radius: 10px;
    border-left: 3px solid #2d8a4e;
    transition: transform 0.2s;
}
.d-info:hover { transform: translateX(4px); }
.d-info__label { font-size: 12px; color: #93a399; margin-bottom: 8px; letter-spacing: 0.5px; font-weight: 600; }
.d-info__value { font-size: 15px; color: #1a2620; line-height: 1.5; }
.d-info__value strong { font-weight: 700; font-size: 16px; }

/* ============================================================
   8. 上车集合点预览
   ============================================================ */
.d-pickup-preview {
    margin-top: 20px;
    padding: 18px 20px;
    background: linear-gradient(135deg, #f8fbf8 0%, #eef7f0 100%);
    border-radius: 10px;
    border: 1px dashed rgba(45,138,78,0.25);
}
.d-pickup-preview__label { font-size: 13px; font-weight: 700; color: #1e6b3a; margin-bottom: 12px; }
.d-pickup-preview__list { display: flex; flex-wrap: wrap; gap: 8px; }
.d-pickup-preview__item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px 6px 6px;
    background: #fff;
    border: 1px solid rgba(45,138,78,0.15);
    border-radius: 100px;
    font-size: 13px;
    color: #1a2620;
    font-weight: 500;
    transition: all 0.2s;
}
.d-pickup-preview__item:hover {
    border-color: #2d8a4e;
    box-shadow: 0 2px 8px rgba(45,138,78,0.15);
}
.d-pickup-preview__idx {
    display: inline-flex;
    width: 20px;
    height: 20px;
    background: #2d8a4e;
    color: #fff;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    flex-shrink: 0;
}

/* ============================================================
   9. 列表
   ============================================================ */
.d-text { font-size: 15px; line-height: 1.9; color: #5a6b60; word-break: break-word; }
.d-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.d-list li {
    position: relative;
    padding: 12px 16px 12px 42px;
    background: #f8fbf8;
    border-radius: 10px;
    font-size: 14px;
    color: #5a6b60;
    line-height: 1.6;
}
.d-list li::before {
    content: '';
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #2d8a4e;
    box-shadow: 0 0 0 4px rgba(45,138,78,0.12);
}
.d-list--warn li { background: rgba(243,156,18,0.08); }
.d-list--warn li::before { background: #f39c12; box-shadow: 0 0 0 4px rgba(243,156,18,0.15); }

/* ============================================================
   10. 文章正文
   ============================================================ */
.d-article { font-size: 15px; line-height: 1.9; color: #5a6b60; }
.d-article p { margin: 0 0 18px; }
.d-article p:last-child { margin-bottom: 0; }
.d-article h1, .d-article h2, .d-article h3, .d-article h4 {
    color: #1a2620; font-weight: 700; margin: 28px 0 14px; line-height: 1.4;
}
.d-article h1 { font-size: 22px; }
.d-article h2 { font-size: 19px; }
.d-article h3 { font-size: 17px; }
.d-article h4 { font-size: 16px; }
.d-article img {
    display: block;
    max-width: 100% !important;
    height: auto !important;
    margin: 20px auto;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(31,45,36,0.05);
    transition: transform 0.3s;
}
.d-article img:hover { transform: scale(1.01); }
.d-article a { color: #2d8a4e; text-decoration: none; border-bottom: 1px dashed #2d8a4e; transition: opacity 0.2s; }
.d-article a:hover { opacity: 0.7; }
.d-article ul, .d-article ol { padding-left: 22px; margin: 0 0 18px; }
.d-article li { margin-bottom: 8px; line-height: 1.8; }
.d-article blockquote {
    margin: 20px 0; padding: 16px 22px;
    background: #f8fbf8;
    border-left: 4px solid #2d8a4e;
    border-radius: 0 10px 10px 0;
    color: #5a6b60;
}
.d-article pre {
    background: #1a2620; color: #e0e6e1;
    padding: 18px 22px; border-radius: 10px;
    overflow-x: auto; margin: 20px 0;
    font-size: 13px; line-height: 1.6;
}
.d-article code {
    background: rgba(45,138,78,0.08); color: #1e6b3a;
    padding: 2px 6px; border-radius: 4px; font-size: 0.9em;
}
.d-article table {
    width: 100%; border-collapse: collapse;
    margin: 20px 0; font-size: 14px;
    display: block; overflow-x: auto;
}
.d-article th, .d-article td {
    padding: 10px 14px;
    border: 1px solid #e8efe9;
    text-align: left;
}
.d-article th { background: #f8fbf8; font-weight: 600; }

.d-empty { text-align: center; padding: 50px 20px; color: #93a399; }
.d-empty__icon { font-size: 48px; margin-bottom: 12px; opacity: 0.5; }
.d-empty p { margin: 0; font-size: 14px; }

/* ============================================================
   11. ★ 隐藏的海报舞台（高度 620 · 匹配 echo_log.php 内联样式）
   ============================================================ */
.d-poster-stage {
    position: fixed;
    top: 0;
    left: -9999px;
    width: 420px;
    height: 620px;
    z-index: -1;
    pointer-events: none;
    opacity: 0.01;
    overflow: hidden;
}
.d-poster {
    position: relative;
    width: 420px;
    height: 620px;
    border-radius: 20px;
    overflow: hidden;
    color: #fff;
    background: #1a2620;
    isolation: isolate;
    box-sizing: border-box;
}
.d-poster__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 1;
    transform: scale(1.05);
    filter: saturate(1.1);
}
.d-poster__overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(180deg, rgba(10,20,15,0.7) 0%, rgba(10,20,15,0.15) 35%, rgba(10,20,15,0.85) 72%, rgba(10,20,15,0.98) 100%);
}
.d-poster__content {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 22px 20px;
    height: 100%;
    box-sizing: border-box;
}
.d-poster__top {
    flex-shrink: 0;
    max-height: 132px;
    overflow: hidden;
}
.d-poster__title {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.28;
    margin: 0;
    letter-spacing: -0.3px;
    color: #fff;
    text-shadow: 0 3px 16px rgba(0,0,0,0.75), 0 2px 4px rgba(0,0,0,0.5);
    word-break: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-height: calc(1.28em * 3);
}
.d-poster__batch {
    display: inline-block;
    margin-top: 10px;
    padding: 4px 12px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 100px;
    font-size: 10.5px;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.3px;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.d-poster__qr-zone {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 0;
    min-height: 0;
}
.d-poster__qr-frame {
    position: relative;
    padding: 6px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: 14px;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 28px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.15);
    margin-bottom: 10px;
}
.d-poster__qr-frame img {
    width: 96px;
    height: 96px;
    background: #fff;
    padding: 5px;
    border-radius: 10px;
    display: block;
    box-sizing: border-box;
}
.d-poster__qr-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 10.5px;
    font-weight: 800;
    color: #fff;
    opacity: 0.95;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}
.d-poster__qr-label::before,
.d-poster__qr-label::after {
    content: '';
    display: inline-block;
    width: 16px;
    height: 1px;
    background: rgba(255,255,255,0.45);
}
.d-poster__pickup {
    flex-shrink: 0;
    padding-top: 10px;
    border-top: 1px solid rgba(255,255,255,0.15);
}
.d-poster__pickup-title {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 10.5px;
    font-weight: 800;
    color: #fff;
    opacity: 0.9;
    letter-spacing: 1.5px;
    margin-bottom: 7px;
    text-shadow: 0 2px 6px rgba(0,0,0,0.6);
}
.d-poster__pickup-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
}
.d-poster__pickup-item {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 6px 6px 5px;
    background: rgba(255,255,255,0.13);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 7px;
    font-size: 10px;
    color: #fff;
    line-height: 1.2;
    min-width: 0;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    box-sizing: border-box;
}
.d-poster__pickup-item:only-child {
    grid-column: 1 / -1;
}
.d-poster__pickup-idx {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f39c12, #e67e22);
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    flex-shrink: 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.35);
}
.d-poster__pickup-name {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0,0,0,0.45);
}
.d-poster__pickup-empty {
    padding: 10px 12px;
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
    font-size: 10.5px;
    color: #fff;
    opacity: 0.85;
    text-align: center;
    line-height: 1.5;
}

/* 兼容旧类名（避免其他页面引用报错） */
.d-poster__middle { display: none; }
.d-poster__bottom { display: none; }
.d-poster__stats,
.d-poster__stat,
.d-poster__stat-val,
.d-poster__stat-label,
.d-poster__foot,
.d-poster__qr { display: none; }

/* ============================================================
   12. 报名卡片
   ============================================================ */
.d-signup {
    position: relative;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(31,45,36,0.08);
    overflow: hidden;
    border: 1px solid #e8efe9;
}
.d-signup::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2d8a4e, #4caf50, #f39c12);
}
.d-signup__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    padding: 32px 32px 24px;
    border-bottom: 1px solid #e8efe9;
}
.d-signup__badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    color: #2d8a4e;
    margin-bottom: 8px;
    padding: 3px 10px;
    background: rgba(45,138,78,0.1);
    border-radius: 100px;
}
.d-signup__title { font-size: 22px; font-weight: 800; margin: 0 0 8px; color: #1a2620; letter-spacing: -0.3px; }
.d-signup__desc { margin: 0; font-size: 14px; color: #5a6b60; line-height: 1.6; }
.d-signup__desc strong { color: #2d8a4e; }
.d-signup__desc .text-danger { color: #e74c3c; }
.d-signup__counter {
    text-align: center;
    padding: 10px 22px;
    background: linear-gradient(135deg, rgba(45,138,78,0.08), rgba(45,138,78,0.03));
    border-radius: 14px;
    flex-shrink: 0;
}
.d-signup__counter-num { font-size: 28px; font-weight: 800; color: #2d8a4e; line-height: 1; }
.d-signup__counter-label { font-size: 12px; color: #93a399; margin-top: 4px; }

.d-progress {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 32px;
    background: #f8fbf8;
}
.d-progress__bar { flex: 1; height: 10px; background: #e2ebe3; border-radius: 100px; overflow: hidden; }
.d-progress__fill {
    height: 100%;
    background: linear-gradient(90deg, #2d8a4e, #4caf50);
    border-radius: 100px;
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.d-progress__text { font-size: 14px; font-weight: 800; color: #2d8a4e; min-width: 44px; text-align: right; }

.d-form { padding: 28px 32px 32px; }
.d-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.d-form__field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.d-form__field--full { grid-column: 1 / -1; }
.d-form__field--highlight {
    padding: 18px;
    background: linear-gradient(135deg, #f8fbf8 0%, #f0f7f2 100%);
    border-radius: 10px;
    border: 1px solid rgba(45,138,78,0.1);
    margin-bottom: 20px;
}
.d-form__field label { font-size: 13px; font-weight: 600; color: #1a2620; letter-spacing: 0.2px; }
.d-form__field .required { color: #e74c3c; }
.d-form__field input,
.d-form__field textarea {
    width: 100%;
    padding: 13px 16px;
    font-size: 15px;
    font-family: inherit;
    color: #1a2620;
    background: #f8fbf8;
    border: 1.5px solid transparent;
    border-radius: 10px;
    transition: all 0.2s;
    outline: none;
    -webkit-appearance: none;
    box-sizing: border-box;
}
.d-form__field input::placeholder,
.d-form__field textarea::placeholder { color: #a9b8ad; }
.d-form__field input:focus,
.d-form__field textarea:focus {
    background: #fff;
    border-color: #2d8a4e;
    box-shadow: 0 0 0 4px rgba(45,138,78,0.12);
}
.d-form__field textarea { resize: vertical; min-height: 100px; line-height: 1.6; }

.d-pickup-select { position: relative; width: 100%; }
.d-select {
    width: 100%;
    padding: 14px 44px 14px 18px;
    font-size: 15px;
    font-family: inherit;
    font-weight: 500;
    color: #1a2620;
    background-color: #fff;
    border: 1.5px solid transparent;
    border-radius: 10px;
    outline: none;
    cursor: pointer;
    transition: all 0.25s;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    box-sizing: border-box;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%232d8a4e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    background-size: 16px;
}
.d-select:hover { border-color: rgba(45,138,78,0.3); }
.d-select:focus { border-color: #2d8a4e; box-shadow: 0 0 0 4px rgba(45,138,78,0.12); }
.d-select option { color: #1a2620; padding: 12px; font-size: 15px; background: #fff; }

.d-form__hint {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #93a399;
    margin: 8px 0 0;
    line-height: 1.5;
}
.d-form__hint::before { content: '💡'; font-size: 14px; }

.d-btn-submit {
    width: 100%;
    height: 56px;
    background-color: #2d8a4e;
    background: linear-gradient(135deg, #2d8a4e 0%, #4caf50 100%);
    color: #fff !important;
    border: none;
    border-radius: 100px;
    font-size: 16px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 8px 24px rgba(45,138,78,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 8px;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}
.d-btn-submit:hover:not(:disabled) {
    background-color: #1e6b3a;
    background: linear-gradient(135deg, #1e6b3a 0%, #2d8a4e 100%);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(45,138,78,0.45);
}
.d-btn-submit:disabled { opacity: 0.7; cursor: not-allowed; transform: none; }
.d-btn-submit .btn-loading { color: #fff; }

.d-form__tip { text-align: center; font-size: 12px; color: #93a399; margin: 14px 0 0; }

.d-signup__tip {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 0 32px 32px;
    padding: 24px 28px;
    background: #f8fbf8;
    border-radius: 10px;
}
.d-signup__tip--error { background: #fdeceb; }
.d-signup__tip-icon { font-size: 36px; flex-shrink: 0; }
.d-signup__tip p { margin: 0 0 4px; font-size: 16px; font-weight: 700; color: #1a2620; }
.d-signup__tip span { font-size: 13px; color: #93a399; }

.signup-msg {
    margin: 0 32px 24px;
    padding: 16px 24px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    line-height: 1.6;
}
.signup-msg.success { background: #e8f7ee; color: #2d8a4e; border: 1px solid rgba(45,138,78,0.2); }
.signup-msg.error { background: #fdeceb; color: #e74c3c; border: 1px solid rgba(231,76,60,0.2); }

/* ============================================================
   13. 多人报名
   ============================================================ */
.d-form__section { padding: 20px 0; border-bottom: 1px dashed #e8efe9; }
.d-form__section:first-of-type { padding-top: 0; }
.d-form__section:last-of-type { border-bottom: none; padding-bottom: 0; }
.d-form__section-head { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.d-form__section-idx {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 26px;
    height: 26px;
    padding: 0 8px;
    background: linear-gradient(135deg, #2d8a4e, #4caf50);
    color: #fff;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 800;
    box-shadow: 0 2px 8px rgba(45,138,78,0.25);
    flex-shrink: 0;
}
.d-form__section-title { font-size: 15px; font-weight: 700; color: #1a2620; letter-spacing: 0.2px; }
.d-form__section-count {
    margin-left: auto;
    padding: 3px 10px;
    background: rgba(45,138,78,0.08);
    color: #2d8a4e;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
}

.d-member-card {
    position: relative;
    padding: 18px 18px 4px;
    margin-bottom: 14px;
    background: linear-gradient(135deg, #f9fcf9 0%, #f3f8f4 100%);
    border: 1px solid rgba(45,138,78,0.12);
    border-radius: 10px;
    overflow: hidden;
}
.d-member-card::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #2d8a4e, #4caf50);
    border-radius: 3px 0 0 3px;
}
.d-member-card__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.d-member-card__title { font-size: 13px; font-weight: 700; color: #1e6b3a; letter-spacing: 0.3px; }
.d-member-card__remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: #fff;
    color: #e74c3c;
    border: 1px solid rgba(231,76,60,0.2);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    padding: 0;
}
.d-member-card__remove:hover {
    background: #e74c3c;
    color: #fff;
    border-color: #e74c3c;
    transform: scale(1.05);
}
.d-member-card .d-form__row { margin-bottom: 14px; }
.d-member-card .d-form__field input { background: #fff; }

.d-btn-add-member {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 48px;
    background: #fff;
    color: #2d8a4e;
    border: 2px dashed rgba(45,138,78,0.35);
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.25s;
    margin-top: 4px;
}
.d-btn-add-member:hover {
    background: rgba(45,138,78,0.05);
    border-color: #2d8a4e;
    border-style: solid;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(45,138,78,0.15);
}
.d-btn-add-member:active { transform: translateY(0); }
.d-btn-add-member svg { flex-shrink: 0; }

/* ============================================================
   14. 费用汇总
   ============================================================ */
.d-summary {
    margin: 20px 0 8px;
    padding: 20px 22px;
    background: linear-gradient(135deg, #f8fbf8 0%, #eef7f0 100%);
    border: 1px solid rgba(45,138,78,0.15);
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}
.d-summary::before {
    content: '';
    position: absolute;
    top: -30px; right: -30px;
    width: 100px; height: 100px;
    background: radial-gradient(circle, rgba(45,138,78,0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.d-summary__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 14px;
    position: relative;
    z-index: 1;
}
.d-summary__label { color: #5a6b60; font-weight: 500; }
.d-summary__value { color: #1a2620; font-weight: 600; }
.d-summary__value small { font-size: 11px; color: #93a399; font-weight: 500; margin-left: 2px; }
.d-summary__divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(45,138,78,0.2), transparent);
    margin: 12px 0;
    position: relative;
    z-index: 1;
}
.d-summary__row--total { padding: 4px 0; }
.d-summary__row--total .d-summary__label { font-size: 15px; font-weight: 700; color: #1a2620; }
.d-summary__total { font-size: 24px; font-weight: 800; color: #e74c3c; letter-spacing: -0.5px; }

/* ============================================================
   15. 侧边栏
   ============================================================ */
.d-side {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: 88px;
}
.d-card {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 2px 12px rgba(31,45,36,0.05);
    transition: box-shadow 0.3s;
}
.d-card:hover { box-shadow: 0 8px 32px rgba(31,45,36,0.08); }
.d-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #2d8a4e, #4caf50);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    box-shadow: 0 6px 18px rgba(45,138,78,0.3);
}
.d-card__icon svg { width: 22px; height: 22px; }
.d-card__title { font-size: 15px; font-weight: 700; color: #1a2620; margin: 0 0 8px; }
.d-card__title--line {
    padding-left: 12px;
    border-left: 3px solid #2d8a4e;
    margin-bottom: 16px;
}
.d-card__desc { font-size: 13px; color: #93a399; margin: 0 0 10px; line-height: 1.6; }
.d-card__phone { font-size: 20px; font-weight: 800; color: #2d8a4e; letter-spacing: 0.5px; word-break: break-all; }
.d-card__label { font-size: 12px; color: #93a399; margin-bottom: 6px; letter-spacing: 0.5px; }
.d-card__value { font-size: 17px; font-weight: 700; color: #1a2620; word-break: break-all; }
.d-card--leader {
    background: linear-gradient(135deg, #fff9eb 0%, #fffbf2 100%);
    border-left: 4px solid #f39c12;
}
.d-card--leader .d-card__value { color: #856404; }
.d-card__empty { font-size: 13px; color: #93a399; margin: 0; }

.d-recent-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.d-recent-list li { margin: 0; padding: 0; }
.d-recent-item {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e8efe9;
    box-shadow: 0 2px 8px rgba(31,45,36,0.04);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    color: inherit;
}
.d-recent-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(31,45,36,0.12);
    border-color: rgba(45,138,78,0.3);
}
.d-recent-item__thumb {
    position: relative;
    width: 100%;
    height: 150px;
    overflow: hidden;
    background: linear-gradient(135deg, #e8efe9, #d4e4d8);
}
.d-recent-item__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.d-recent-item:hover .d-recent-item__thumb img { transform: scale(1.08); }
.d-recent-item__ph {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    opacity: 0.4;
}
.d-recent-item__thumb::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 50%;
    background: linear-gradient(180deg, transparent, rgba(0,0,0,0.25));
    pointer-events: none;
}
.d-recent-item__body {
    width: 100%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 14px 16px 16px;
    box-sizing: border-box;
}
.d-recent-item__title {
    font-size: 14px;
    font-weight: 700;
    color: #1a2620;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
    letter-spacing: -0.1px;
}
.d-recent-item__arrow {
    font-size: 12px;
    color: #2d8a4e;
    opacity: 0.85;
    transition: opacity 0.2s, transform 0.2s;
    font-weight: 600;
    letter-spacing: 0.3px;
}
.d-recent-item:hover .d-recent-item__arrow {
    opacity: 1;
    transform: translateX(4px);
}

/* ============================================================
   16. 底部导航栏
   ============================================================ */
.d-bottom-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100;
    display: flex;
    align-items: stretch;
    background: #fff;
    box-shadow: 0 -4px 24px rgba(0,0,0,0.08);
    border-top: 1px solid #e8efe9;
    padding-bottom: env(safe-area-inset-bottom, 0px);
}
.d-bottom-nav__item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 10px 6px;
    background: none;
    border: none;
    cursor: pointer;
    text-decoration: none;
    color: #5a6b60;
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.2px;
    transition: all 0.2s;
    position: relative;
    -webkit-tap-highlight-color: transparent;
}
.d-bottom-nav__item + .d-bottom-nav__item::before {
    content: '';
    position: absolute;
    left: 0; top: 20%; bottom: 20%;
    width: 1px;
    background: #e8efe9;
}
.d-bottom-nav__item svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}
.d-bottom-nav__item:active { background: #f8fbf8; }
.d-bottom-nav__item:hover { color: #2d8a4e; }
.d-bottom-nav__item--primary {
    background-color: #2d8a4e;
    background: linear-gradient(135deg, #2d8a4e 0%, #4caf50 100%);
    color: #fff !important;
    font-weight: 700;
    box-shadow: 0 -2px 12px rgba(45,138,78,0.25);
}
.d-bottom-nav__item--primary svg { color: #fff; }
.d-bottom-nav__item--primary:hover { color: #fff !important; background-color: #1e6b3a; }
.d-bottom-nav__item--primary:active { background-color: #1e6b3a; }
.d-bottom-nav__item--primary + .d-bottom-nav__item::before { display: none; }

/* ============================================================
   17. 二维码弹窗
   ============================================================ */
.d-qr-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 24px;
    box-sizing: border-box;
}
.d-qr-modal.active { display: flex; }
.d-qr-modal__mask {
    position: absolute;
    inset: 0;
    background: rgba(10,20,15,0.85);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    cursor: pointer;
    animation: d-qr-fade 0.25s ease;
}
@keyframes d-qr-fade {
    from { opacity: 0; }
    to { opacity: 1; }
}
.d-qr-modal__panel {
    position: relative;
    width: 100%;
    max-width: 340px;
    background: #fff;
    border-radius: 20px;
    padding: 32px 24px 28px;
    text-align: center;
    box-shadow: 0 24px 80px rgba(0,0,0,0.5);
    animation: d-qr-in 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
}
@keyframes d-qr-in {
    from { opacity: 0; transform: translateY(20px) scale(0.94); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
.d-qr-modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    background: none;
    border: none;
    color: #5a6b60;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s;
    padding: 0;
}
.d-qr-modal__close:hover {
    background: #f8fbf8;
    color: #1a2620;
}
.d-qr-modal__title {
    font-size: 17px;
    font-weight: 700;
    color: #1a2620;
    margin-bottom: 18px;
    letter-spacing: -0.2px;
}
.d-qr-modal__img-wrap {
    display: inline-block;
    padding: 12px;
    background: #f8fbf8;
    border-radius: 16px;
    margin-bottom: 16px;
    box-shadow: inset 0 0 0 1px rgba(45,138,78,0.08);
}
.d-qr-modal__img-wrap img {
    display: block;
    width: 220px;
    height: 220px;
    max-width: 100%;
    object-fit: contain;
    border-radius: 8px;
    background: #fff;
    -webkit-user-select: none;
    user-select: none;
}
.d-qr-modal__tip {
    margin: 0;
    font-size: 13px;
    color: #93a399;
    letter-spacing: 0.3px;
}

/* ============================================================
   18. 海报弹窗
   ============================================================ */
.d-poster-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}
.d-poster-modal.active { display: flex; }
.d-poster-modal__mask {
    position: absolute;
    inset: 0;
    background: rgba(10,20,15,0.85);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    cursor: pointer;
    animation: d-modal-fade 0.25s ease;
}
@keyframes d-modal-fade {
    from { opacity: 0; }
    to { opacity: 1; }
}
.d-poster-modal__panel {
    position: relative;
    width: 100%;
    max-width: 480px;
    max-height: calc(100vh - 40px);
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 24px 80px rgba(0,0,0,0.5);
    animation: d-modal-in 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes d-modal-in {
    from { opacity: 0; transform: translateY(20px) scale(0.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
.d-poster-modal__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #e8efe9;
    flex-shrink: 0;
}
.d-poster-modal__header h3 { margin: 0; font-size: 16px; font-weight: 700; color: #1a2620; }
.d-poster-modal__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    color: #5a6b60;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s;
    padding: 0;
}
.d-poster-modal__close:hover { background: #f8fbf8; color: #1a2620; }
.d-poster-modal__body {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 20px;
    background: #f8fbf8;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    position: relative;
}
.d-poster-modal__body img {
    display: block;
    max-width: 100%;
    max-height: 65vh;
    width: auto;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.2);
    -webkit-user-select: none;
    user-select: none;
    -webkit-touch-callout: default;
}
.d-poster-modal__loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 40px 20px;
}
.d-poster-modal__loading p { margin: 0; font-size: 14px; color: #5a6b60; }
.d-poster-modal__spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(45,138,78,0.15);
    border-top-color: #2d8a4e;
    border-radius: 50%;
    animation: d-spin 0.8s linear infinite;
}
@keyframes d-spin { to { transform: rotate(360deg); } }
.d-poster-modal__footer {
    padding: 16px 20px 20px;
    border-top: 1px solid #e8efe9;
    flex-shrink: 0;
    background: #fff;
}
.d-poster-modal__tip {
    margin: 0 0 12px;
    font-size: 13px;
    color: #93a399;
    text-align: center;
    letter-spacing: 0.3px;
}
.d-poster-modal__download {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 50px;
    background-color: #2d8a4e;
    background: linear-gradient(135deg, #2d8a4e 0%, #4caf50 100%);
    color: #fff !important;
    border: none;
    border-radius: 100px;
    font-size: 15px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.25s;
    box-shadow: 0 8px 24px rgba(45,138,78,0.35);
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}
.d-poster-modal__download:hover:not(:disabled) {
    background-color: #1e6b3a;
    background: linear-gradient(135deg, #1e6b3a 0%, #2d8a4e 100%);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(45,138,78,0.45);
}
.d-poster-modal__download:disabled { opacity: 0.6; cursor: not-allowed; }
.d-poster-modal__download svg { color: #fff; }

/* ============================================================
   19. 响应式 - 平板（≤ 1024px）
   ============================================================ */
@media (max-width: 1024px) {
    .d-content__wrap { grid-template-columns: 1fr; gap: 24px; }
    .d-side {
        position: static;
        flex-direction: row;
        flex-wrap: wrap;
    }
    .d-side > .d-card { flex: 1 1 260px; }
    .d-stats__grid { grid-template-columns: repeat(2, 1fr); }
    .d-stat:nth-child(2)::before,
    .d-stat:nth-child(4)::before { display: none; }
    .d-stat:nth-child(1),
    .d-stat:nth-child(2) { border-bottom: 1px solid #e8efe9; }

    .d-recent-list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .d-recent-item__thumb { height: 160px; }
}

/* ============================================================
   20. 响应式 - 手机（≤ 768px）
   ============================================================ */
@media (max-width: 768px) {
    .detail-page { padding-bottom: calc(70px + env(safe-area-inset-bottom, 0px)); }

    .d-hero { min-height: 420px; padding: 90px 0 60px; }
    .d-hero__inner { padding: 0 16px; }
    .d-hero__title { font-size: 24px; margin-bottom: 18px; }
    .d-hero__meta { gap: 8px; }
    .meta-chip { padding: 6px 12px; font-size: 12px; }
    .d-hero__scroll { display: none; }

    .d-hero__poster-btn {
        padding: 0;
        width: 44px;
        height: 44px;
        border-radius: 50%;
        justify-content: center;
    }
    .d-hero__poster-btn span { display: none; }

    .d-stats { margin-top: -40px; padding: 0 12px; }
    .d-stats__grid { border-radius: 14px; }
    .d-stat { padding: 18px 16px; gap: 12px; }
    .d-stat__icon { width: 36px; height: 36px; border-radius: 10px; }
    .d-stat__icon svg { width: 18px; height: 18px; }
    .d-stat__value .num { font-size: 20px; }
    .d-stat__value .unit { font-size: 11px; }
    .d-stat__label { font-size: 11px; }

    .d-content { padding: 24px 12px 0; }
    .d-content__wrap { gap: 16px; }
    .d-main { gap: 16px; }

    .d-block__head { padding: 18px 20px; gap: 10px; }
    .d-block__icon { width: 34px; height: 34px; border-radius: 10px; }
    .d-block__icon svg { width: 18px; height: 18px; }
    .d-block__title { font-size: 15px; }
    .d-block__body { padding: 20px; }

    .d-info-grid { grid-template-columns: 1fr; gap: 12px; }
    .d-info { padding: 14px 16px; }
    .d-info__value strong { font-size: 15px; }

    .d-pickup-preview { padding: 14px 16px; margin-top: 14px; }
    .d-pickup-preview__item { font-size: 12px; padding: 5px 10px 5px 5px; }
    .d-pickup-preview__idx { width: 18px; height: 18px; font-size: 10px; }

    .d-list li { padding: 10px 14px 10px 36px; font-size: 13px; }
    .d-list li::before { left: 14px; width: 7px; height: 7px; }

    .d-article { font-size: 14px; }
    .d-article h1 { font-size: 19px; }
    .d-article h2 { font-size: 17px; }
    .d-article h3 { font-size: 15px; }
    .d-article img { border-radius: 8px; }
    .d-article pre { padding: 14px 16px; font-size: 12px; }

    .d-signup__header {
        flex-direction: column;
        padding: 24px 22px 20px;
        gap: 14px;
    }
    .d-signup__title { font-size: 18px; }
    .d-signup__counter {
        align-self: stretch;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        padding: 10px 20px;
    }
    .d-signup__counter-num { font-size: 22px; }
    .d-signup__counter-label { margin: 0; }

    .d-progress { padding: 12px 22px; }

    .d-form { padding: 22px 22px 26px; }
    .d-form__row { grid-template-columns: 1fr; gap: 16px; margin-bottom: 16px; }
    .d-form__field input,
    .d-form__field textarea { font-size: 15px; padding: 12px 14px; }
    .d-btn-submit { height: 52px; font-size: 15px; }
    .signup-msg { margin: 0 22px 20px; }
    .d-signup__tip { margin: 0 22px 22px; padding: 20px; }
    .d-signup__tip-icon { font-size: 28px; }

    .d-form__field--highlight { padding: 14px; }
    .d-select { padding: 12px 40px 12px 14px; font-size: 15px; }

    .d-form__section { padding: 16px 0; }
    .d-form__section-head { margin-bottom: 12px; gap: 8px; }
    .d-form__section-idx { min-width: 22px; height: 22px; font-size: 12px; border-radius: 6px; }
    .d-form__section-title { font-size: 14px; }
    .d-form__section-count { font-size: 11px; padding: 2px 8px; }

    .d-member-card { padding: 14px 14px 2px; margin-bottom: 12px; }
    .d-member-card__head { margin-bottom: 10px; }
    .d-member-card__title { font-size: 12px; }
    .d-member-card__remove { width: 28px; height: 28px; }
    .d-member-card .d-form__row { margin-bottom: 12px; }

    .d-btn-add-member { height: 44px; font-size: 13px; }

    .d-summary { padding: 16px 18px; }
    .d-summary__row { font-size: 13px; }
    .d-summary__row--total .d-summary__label { font-size: 14px; }
    .d-summary__total { font-size: 20px; }

    .d-recent-list {
        display: flex;
        flex-direction: column;
        gap: 14px;
    }
    .d-recent-item__thumb { height: 170px; }
    .d-recent-item__body { padding: 12px 14px 14px; }
    .d-recent-item__title { font-size: 14px; }

    .d-side { flex-direction: column; }
    .d-side > .d-card { flex: none; padding: 20px; }
    .d-card__phone { font-size: 18px; }

    .d-bottom-nav__item {
        padding: 8px 4px;
        font-size: 11px;
        gap: 3px;
    }
    .d-bottom-nav__item svg { width: 20px; height: 20px; }

    .d-qr-modal { padding: 16px; }
    .d-qr-modal__panel { padding: 28px 20px 24px; border-radius: 16px; max-width: 320px; }
    .d-qr-modal__title { font-size: 16px; margin-bottom: 16px; }
    .d-qr-modal__img-wrap img { width: 200px; height: 200px; }
    .d-qr-modal__tip { font-size: 12px; }

    .d-poster-modal { padding: 12px; align-items: flex-start; padding-top: 40px; }
    .d-poster-modal__panel { max-width: 100%; max-height: calc(100vh - 60px); border-radius: 16px; }
    .d-poster-modal__header { padding: 14px 16px; }
    .d-poster-modal__header h3 { font-size: 15px; }
    .d-poster-modal__body { padding: 16px; }
    .d-poster-modal__body img { max-height: 60vh; border-radius: 10px; }
    .d-poster-modal__footer { padding: 14px 16px 18px; }
    .d-poster-modal__tip { font-size: 12px; margin-bottom: 10px; }
    .d-poster-modal__download { height: 46px; font-size: 14px; }
}

/* ============================================================
   21. 响应式 - 超小屏（≤ 380px）
   ============================================================ */
@media (max-width: 380px) {
    .d-hero__title { font-size: 22px; }
    .d-stat__value .num { font-size: 18px; }
    .d-stat__icon { width: 32px; height: 32px; }
    .d-block__body { padding: 18px 16px; }
    .d-form { padding: 20px 18px 24px; }
    .d-summary { padding: 14px 16px; }
    .d-summary__total { font-size: 18px; }
    .d-recent-item__thumb { height: 140px; }
    .d-bottom-nav__item { font-size: 10px; }
    .d-bottom-nav__item svg { width: 18px; height: 18px; }
}

/* ============================================================
   22. 桌面端底部导航居中
   ============================================================ */
@media (min-width: 1200px) {
    .d-bottom-nav {
        max-width: 600px;
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        border-radius: 20px 20px 0 0;
        box-shadow: 0 -8px 32px rgba(31,45,36,0.12);
        border: 1px solid #e8efe9;
        border-bottom: none;
    }
    .d-bottom-nav__item {
        padding: 12px 16px;
        font-size: 13px;
    }
    .d-bottom-nav__item svg { width: 20px; height: 20px; }
}

/* ============================================================
   23. 用户资料侧栏 + 三栏布局
   ============================================================ */
.d-content {
    max-width: 1400px;
    padding: 48px 28px 0;
}
.d-content__wrap {
    grid-template-columns: 260px minmax(0, 1fr) 320px;
    gap: 24px;
}

.d-user-side {
    position: sticky;
    top: 88px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-self: start;
}

.d-user-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(31,45,36,0.05);
    transition: box-shadow .3s;
}
.d-user-card:hover {
    box-shadow: 0 8px 28px rgba(31,45,36,0.1);
}

.d-user-card__cover {
    height: 76px;
    background: linear-gradient(135deg, #2d8a4e 0%, #4caf50 55%, #f39c12 110%);
    position: relative;
}
.d-user-card__cover::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 80% 20%, rgba(255,255,255,0.25), transparent 55%),
        radial-gradient(circle at 15% 80%, rgba(255,255,255,0.12), transparent 60%);
}
.d-user-card--guest .d-user-card__cover {
    background: linear-gradient(135deg, #8fa89a 0%, #a9b8ad 55%, #d6d3cc 110%);
}

.d-user-card__body {
    padding: 0 20px 20px;
    text-align: center;
    margin-top: -38px;
    position: relative;
}

.d-user-avatar {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2d8a4e, #4caf50);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    font-weight: 800;
    margin: 0 auto 12px;
    border: 4px solid #fff;
    box-shadow: 0 6px 20px rgba(45,138,78,0.32);
    position: relative;
    user-select: none;
    letter-spacing: -1px;
}
.d-user-avatar--guest {
    background: linear-gradient(135deg, #93a399, #a9b8ad);
    font-size: 30px;
    font-weight: 400;
    box-shadow: 0 6px 20px rgba(147,163,153,0.3);
}
.d-user-avatar__dot {
    position: absolute;
    right: 2px;
    bottom: 2px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #27ae60;
    border: 3px solid #fff;
    box-shadow: 0 2px 6px rgba(39,174,96,0.4);
}

.d-user-name {
    font-size: 16px;
    font-weight: 800;
    color: #1a2620;
    margin: 0 0 4px;
    line-height: 1.3;
    word-break: break-word;
    letter-spacing: -0.2px;
}
.d-user-uid {
    font-size: 11px;
    color: #93a399;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    font-weight: 500;
}
.d-user-welcome {
    font-size: 12px;
    color: #93a399;
    margin-bottom: 18px;
}

.d-user-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin-bottom: 14px;
}
.d-user-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.2px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    white-space: nowrap;
}

.d-user-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    padding: 14px 0;
    margin-bottom: 14px;
    border-top: 1px solid #e8efe9;
    border-bottom: 1px solid #e8efe9;
}
.d-user-stat {
    text-align: center;
    position: relative;
}
.d-user-stat + .d-user-stat::before {
    content: '';
    position: absolute;
    left: 0;
    top: 20%;
    bottom: 20%;
    width: 1px;
    background: #e8efe9;
}
.d-user-stat__val {
    font-size: 17px;
    font-weight: 800;
    color: #2d8a4e;
    line-height: 1.1;
    letter-spacing: -0.3px;
    word-break: break-all;
}
.d-user-stat__lab {
    font-size: 11px;
    color: #93a399;
    margin-top: 5px;
    font-weight: 500;
}

.d-user-sublist {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px 14px;
    background: #f8fbf8;
    border-radius: 10px;
    margin-bottom: 14px;
}
.d-user-subitem {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
}
.d-user-subitem__icon {
    font-size: 14px;
    flex-shrink: 0;
}
.d-user-subitem__label {
    flex: 1;
    text-align: left;
    color: #5a6b60;
    font-weight: 500;
}
.d-user-subitem__val {
    color: #1a2620;
    font-weight: 700;
    font-size: 12px;
}

.d-user-signin {
    margin-bottom: 14px;
}
.d-user-signin__done {
    padding: 10px 12px;
    background: #e8f7ee;
    color: #2d8a4e;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.5;
}
.d-user-signin__done strong {
    color: #1e6b3a;
    font-weight: 800;
}
.d-user-signin__btn {
    width: 100%;
    padding: 11px;
    background: linear-gradient(135deg, #f39c12, #f7b731);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: all .25s;
    box-shadow: 0 4px 12px rgba(243,156,18,0.32);
    letter-spacing: 0.2px;
}
.d-user-signin__btn:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(243,156,18,0.45);
}
.d-user-signin__btn:active { transform: translateY(0); }
.d-user-signin__btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.d-user-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.d-user-actions--stack {
    grid-template-columns: 1fr;
}
.d-user-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    background: linear-gradient(135deg, #2d8a4e, #4caf50);
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(45,138,78,0.25);
    transition: all .2s;
    white-space: nowrap;
    letter-spacing: 0.2px;
}
.d-user-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(45,138,78,0.35);
}
.d-user-btn:active { transform: translateY(0); }
.d-user-btn--ghost {
    background: #f5f8f5;
    color: #5a6b60 !important;
    box-shadow: none;
}
.d-user-btn--ghost:hover {
    background: #e8efe9;
    color: #2d8a4e !important;
    box-shadow: none;
    transform: translateY(-1px);
}

.d-user-benefits {
    text-align: left;
    padding: 12px 14px;
    background: #f8fbf8;
    border-radius: 10px;
    margin-bottom: 16px;
}
.d-user-benefit {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #5a6b60;
    line-height: 1.9;
    font-weight: 500;
}
.d-user-benefit span {
    font-size: 14px;
    flex-shrink: 0;
}

/* ★ 断点由 1280px 下调为 1024px，让 PC 端（≥1025px）保持三栏宽屏 */
@media (max-width: 1024px) {
    .d-content {
        max-width: 1200px;
        padding: 40px 20px 0;
    }
    .d-content__wrap {
        grid-template-columns: 240px minmax(0, 1fr);
        gap: 20px;
    }
    .d-side {
        grid-column: 1 / -1;
        position: static;
        flex-direction: row;
        flex-wrap: wrap;
        margin-top: 4px;
    }
    .d-side > .d-card {
        flex: 1 1 260px;
        max-width: 100%;
    }
}

@media (max-width: 900px) {
    .d-content {
        padding: 28px 16px 0;
    }
    .d-content__wrap {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .d-user-side {
        position: static;
    }
    .d-user-card__cover { height: 60px; }
    .d-user-card__body {
        padding: 0 16px 16px;
        margin-top: -32px;
    }
    .d-user-avatar {
        width: 64px;
        height: 64px;
        font-size: 24px;
        border-width: 3px;
        margin-bottom: 10px;
    }
    .d-user-avatar__dot {
        width: 14px;
        height: 14px;
        border-width: 2px;
    }
    .d-user-name { font-size: 15px; }
    .d-user-benefits { display: none; }
    .d-user-sublist { display: none; }
    .d-user-stats {
        padding: 12px 0;
        margin-bottom: 12px;
    }
    .d-user-stat__val { font-size: 15px; }
    .d-side {
        flex-direction: column;
    }
    .d-side > .d-card {
        flex: none;
    }
}

@media (max-width: 480px) {
    .d-content { padding: 22px 12px 0; }
    .d-user-card__body { padding: 0 14px 14px; }
    .d-user-avatar {
        width: 58px;
        height: 58px;
        font-size: 22px;
    }
    .d-user-stat__val { font-size: 14px; }
    .d-user-stat__lab { font-size: 10px; }
    .d-user-badge { font-size: 10px; padding: 3px 8px; }
    .d-user-btn { padding: 9px 10px; font-size: 12px; }
    .d-user-signin__btn { padding: 10px; font-size: 12px; }
}

/* ============================================================
   24. TAB 切换图文区块
   ============================================================ */
.d-tabs-section {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(31,45,36,0.05);
    padding: 26px 26px 30px;
    margin-bottom: 24px;
}
.d-tabs-head {
    margin-bottom: 20px;
}
.d-tabs-head__title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 800;
    color: #2b2418;
    margin: 0;
    letter-spacing: -0.4px;
    line-height: 1.2;
}
.d-tabs-head__bar {
    display: inline-block;
    width: 5px;
    height: 22px;
    background: linear-gradient(180deg, #b8934f, #8a6d3a);
    border-radius: 3px;
    flex-shrink: 0;
}
.d-tabs-head__sub {
    margin: 8px 0 0 15px;
    font-size: 13px;
    color: #93a399;
    line-height: 1.6;
}

.d-tabs-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}
.d-tabs-nav__btn {
    padding: 10px 26px;
    border-radius: 100px;
    background: #f8f6f0;
    color: #5a5240;
    border: none;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all .25s;
    white-space: nowrap;
    letter-spacing: 0.3px;
}
.d-tabs-nav__btn:hover {
    background: #efe9d9;
    color: #8a6d3a;
}
.d-tabs-nav__btn.is-active {
    background: linear-gradient(135deg, #c5a35b, #a8863d);
    color: #fff;
    box-shadow: 0 4px 14px rgba(168,134,61,0.35);
}

.d-tabs-body {
    position: relative;
}
.d-tabs-pane {
    display: none;
    animation: d-tabs-fade .3s ease;
}
.d-tabs-pane.is-active {
    display: block;
}
@keyframes d-tabs-fade {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.d-tabs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.d-tab-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    transition: transform .3s, box-shadow .3s;
    box-shadow: 0 2px 8px rgba(31,45,36,0.04);
}
.d-tab-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(31,45,36,0.12);
}

.d-tab-card__img {
    position: relative;
    width: 100%;
    padding-top: 100%;
    background: linear-gradient(135deg, #e8efe9, #d4e4d8);
    overflow: hidden;
}
.d-tab-card__img img {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s cubic-bezier(0.4, 0, 0.2, 1);
}
.d-tab-card:hover .d-tab-card__img img {
    transform: scale(1.08);
}
.d-tab-card__ph {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 44px;
    opacity: 0.35;
}

.d-tab-card__badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 10px;
    background: #e74c3c;
    color: #fff;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.3px;
    line-height: 1.2;
    box-shadow: 0 2px 6px rgba(231,76,60,0.35);
}

.d-tab-card__views {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 18px 10px 8px;
    background: linear-gradient(180deg, transparent, rgba(0,0,0,0.65));
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.2px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.d-tab-card__info {
    padding: 10px 12px 12px;
}
.d-tab-card__title {
    font-size: 14px;
    font-weight: 700;
    color: #1a2620;
    margin: 0 0 8px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
    min-height: 38px;
}
.d-tab-card__sub {
    display: inline-block;
    padding: 3px 10px;
    background: #f5f0e6;
    color: #8a6d3a;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2px;
    line-height: 1.4;
}

@media (max-width: 1024px) {
    .d-tabs-section { padding: 22px 20px 24px; }
    .d-tabs-head__title { font-size: 20px; }
    .d-tabs-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
}

@media (max-width: 768px) {
    .d-tabs-section {
        padding: 18px 16px 20px;
        margin-bottom: 16px;
        border-radius: 14px;
    }
    .d-tabs-head { margin-bottom: 14px; }
    .d-tabs-head__title { font-size: 18px; gap: 8px; }
    .d-tabs-head__bar { width: 4px; height: 18px; }
    .d-tabs-head__sub { margin-left: 12px; font-size: 12px; }

    .d-tabs-nav { gap: 8px; margin-bottom: 16px; }
    .d-tabs-nav__btn {
        padding: 8px 20px;
        font-size: 13px;
    }

    .d-tabs-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .d-tab-card { border-radius: 12px; }
    .d-tab-card__badge { font-size: 10px; padding: 3px 8px; top: 8px; left: 8px; }
    .d-tab-card__views { padding: 14px 8px 6px; font-size: 11px; }
    .d-tab-card__info { padding: 8px 10px 10px; }
    .d-tab-card__title { font-size: 13px; min-height: 34px; margin-bottom: 6px; }
    .d-tab-card__sub { padding: 2px 8px; font-size: 10px; }
}

@media (max-width: 420px) {
    .d-tabs-section { padding: 16px 12px 18px; }
    .d-tabs-nav__btn { padding: 7px 16px; font-size: 12px; }
    .d-tabs-grid { gap: 8px; }
    .d-tab-card__title { font-size: 12px; }
    .d-tab-card__views { font-size: 10px; padding: 12px 6px 5px; }
}

/* ============================================================
   25. 用户资料卡 - 徽章行
   ============================================================ */
.d-user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

.d-user-badges-row {
    padding: 12px 14px;
    background: linear-gradient(135deg, #fffbee 0%, #fff9e6 100%);
    border-radius: 10px;
    margin-bottom: 14px;
    border: 1px solid rgba(243,156,18,0.15);
}
.d-user-badges-row__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    font-weight: 700;
    color: #856404;
    margin-bottom: 10px;
    letter-spacing: 0.2px;
}
.d-user-badges-row__more {
    font-size: 11px;
    color: #f39c12;
    text-decoration: none;
    font-weight: 600;
    transition: opacity .2s;
}
.d-user-badges-row__more:hover { opacity: 0.7; }

.d-user-badges-row__list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.d-user-mini-badge {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
    color: #fff;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0,0,0,0.12);
    transition: transform .2s;
    cursor: default;
    flex-shrink: 0;
}
.d-user-mini-badge img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.d-user-mini-badge:hover {
    transform: scale(1.15) rotate(-3deg);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

@media (max-width: 900px) {
    .d-user-badges-row { display: none; }
}

@media (max-width: 480px) {
    .d-user-mini-badge {
        width: 26px;
        height: 26px;
        font-size: 11px;
    }
}

/* ============================================================
   26. 用户卡报名次数高亮
   ============================================================ */
.d-user-highlight {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: linear-gradient(135deg, #fffbf0 0%, #fff9e6 100%);
    border-radius: 12px;
    margin-bottom: 14px;
    border: 1px solid rgba(243,156,18,0.2);
    position: relative;
    overflow: hidden;
}
.d-user-highlight::before {
    content: '';
    position: absolute;
    top: -20px; right: -20px;
    width: 80px; height: 80px;
    background: radial-gradient(circle, rgba(243,156,18,0.2) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.d-user-highlight__icon {
    font-size: 28px;
    line-height: 1;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 6px rgba(243,156,18,0.3));
}
.d-user-highlight__body {
    flex: 1;
    min-width: 0;
}
.d-user-highlight__val {
    font-size: 24px;
    font-weight: 800;
    color: #e67e22;
    line-height: 1.1;
    letter-spacing: -0.4px;
}
.d-user-highlight__val small {
    font-size: 12px;
    color: #93a399;
    font-weight: 600;
    margin-left: 2px;
}
.d-user-highlight__lab {
    font-size: 12px;
    color: #8a6d3a;
    margin-top: 3px;
    font-weight: 600;
    letter-spacing: 0.2px;
}

@media (max-width: 900px) {
    .d-user-highlight { padding: 12px 14px; }
    .d-user-highlight__val { font-size: 20px; }
    .d-user-highlight__icon { font-size: 24px; }
}

/* ============================================================
   27. 联系方式卡片
   ============================================================ */
.d-contact-card {
    background: #fff;
    border-radius: 16px;
    padding: 20px 20px 18px;
    box-shadow: 0 2px 12px rgba(31,45,36,0.05);
    transition: box-shadow .3s;
}
.d-contact-card:hover {
    box-shadow: 0 8px 32px rgba(31,45,36,0.08);
}

.d-contact-card__head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 16px;
    margin-bottom: 14px;
    border-bottom: 1px solid #eef2ee;
}
.d-contact-card__icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #2d8a4e, #4caf50);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(45,138,78,0.3);
    flex-shrink: 0;
}
.d-contact-card__icon svg { width: 20px; height: 20px; }
.d-contact-card__title {
    font-size: 15px;
    font-weight: 800;
    color: #1a2620;
    margin: 0 0 3px;
    letter-spacing: -0.2px;
}
.d-contact-card__desc {
    font-size: 12px;
    color: #93a399;
    margin: 0;
    line-height: 1.5;
}

.d-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: #f8fbf8;
    border-radius: 12px;
    margin-bottom: 10px;
    text-decoration: none;
    color: inherit;
    transition: all .25s;
    position: relative;
    border: 1px solid transparent;
}
.d-contact-item:hover {
    background: #fff;
    border-color: rgba(45,138,78,0.2);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(31,45,36,0.06);
}
.d-contact-item:active {
    transform: translateY(0);
}
.d-contact-item--wechat {
    cursor: pointer;
}

.d-contact-item__icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 16px;
}

.d-contact-item__body {
    flex: 1;
    min-width: 0;
}
.d-contact-item__label {
    font-size: 11px;
    color: #93a399;
    font-weight: 600;
    margin-bottom: 3px;
    letter-spacing: 0.2px;
}
.d-contact-item__val {
    font-size: 15px;
    font-weight: 800;
    color: #1a2620;
    letter-spacing: 0.3px;
    word-break: break-all;
    line-height: 1.2;
}

.d-contact-item__action {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: rgba(45,138,78,0.1);
    color: #2d8a4e;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all .2s;
}
.d-contact-item:hover .d-contact-item__action {
    background: #2d8a4e;
    color: #fff;
}
.d-contact-item__action--copy {
    width: auto;
    padding: 0 10px;
    gap: 4px;
    font-size: 11px;
    font-weight: 700;
}
.d-contact-item__action--copy span {
    line-height: 1;
}

.d-contact-qr-block {
    margin-top: 14px;
    padding: 14px;
    background: linear-gradient(135deg, #f8fbf8, #eef7f0);
    border-radius: 12px;
    border: 1px dashed rgba(45,138,78,0.25);
}
.d-contact-qr-block__head {
    font-size: 12px;
    font-weight: 700;
    color: #1e6b3a;
    margin-bottom: 12px;
    text-align: center;
    letter-spacing: 0.3px;
}
.d-contact-qr-block__list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}
.d-contact-qr-item {
    background: #fff;
    border: 1px solid #e8efe9;
    border-radius: 10px;
    padding: 10px 6px 8px;
    cursor: pointer;
    font-family: inherit;
    transition: all .25s;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}
.d-contact-qr-item:hover {
    border-color: #2d8a4e;
    box-shadow: 0 4px 14px rgba(45,138,78,0.15);
    transform: translateY(-2px);
}
.d-contact-qr-item:active {
    transform: translateY(0);
}
.d-contact-qr-item__img {
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: 8px;
    overflow: hidden;
    background: #f5f8f5;
}
.d-contact-qr-item__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.d-contact-qr-item__label {
    font-size: 11px;
    font-weight: 700;
    color: #5a6b60;
    letter-spacing: 0.2px;
    line-height: 1.2;
}

@media (max-width: 900px) {
    .d-contact-card {
        padding: 16px 16px 14px;
    }
    .d-contact-card__head {
        padding-bottom: 12px;
        margin-bottom: 12px;
    }
    .d-contact-card__icon {
        width: 38px;
        height: 38px;
        border-radius: 10px;
    }
    .d-contact-card__icon svg { width: 18px; height: 18px; }
    .d-contact-card__title { font-size: 14px; }
    .d-contact-item {
        padding: 10px 12px;
        gap: 10px;
        margin-bottom: 8px;
    }
    .d-contact-item__icon {
        width: 34px;
        height: 34px;
    }
    .d-contact-item__val { font-size: 14px; }
}

@media (max-width: 480px) {
    .d-contact-qr-block {
        padding: 12px;
    }
    .d-contact-qr-block__list {
        gap: 8px;
    }
    .d-contact-qr-item {
        padding: 8px 4px 6px;
    }
    .d-contact-qr-item__label { font-size: 10px; }
}

/* ============================================================
   28. 价格展示条 + 早鸟价倒计时
   ============================================================ */
.tag--deadline {
    background: rgba(255, 255, 255, 0.95);
    color: #e74c3c;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid rgba(231,76,60,0.2);
}

.d-price-bar {
    max-width: 1200px;
    margin: -40px auto 0;
    padding: 0 24px;
    position: relative;
    z-index: 6;
}
.d-price-bar__inner {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 12px 40px rgba(31,45,36,0.12);
    padding: 22px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    border: 1px solid #e8efe9;
    position: relative;
    overflow: hidden;
}
.d-price-bar__inner::before {
    content: '';
    position: absolute;
    top: -40px; right: -40px;
    width: 180px; height: 180px;
    background: radial-gradient(circle, rgba(45,138,78,0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.d-price-bar--early .d-price-bar__inner {
    background: linear-gradient(135deg, #fffdf7 0%, #fff7e6 100%);
    border-color: rgba(243,156,18,0.3);
    box-shadow: 0 12px 40px rgba(243,156,18,0.18);
}
.d-price-bar--early .d-price-bar__inner::before {
    background: radial-gradient(circle, rgba(243,156,18,0.15) 0%, transparent 70%);
}

.d-price-bar__left {
    flex: 1;
    min-width: 0;
}
.d-price-bar__label {
    font-size: 13px;
    color: #5a6b60;
    font-weight: 700;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.3px;
}
.d-price-bar--early .d-price-bar__label {
    color: #8a6d3a;
}
.d-price-bar__discount {
    display: inline-block;
    padding: 2px 10px;
    background: linear-gradient(135deg, #f39c12, #f7b731);
    color: #fff;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 800;
    box-shadow: 0 2px 6px rgba(243,156,18,0.35);
}

.d-price-bar__prices {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 10px;
}
.d-price-bar__original {
    font-size: 15px;
    color: #a9b8ad;
    text-decoration: line-through;
    font-weight: 500;
}
.d-price-bar__current {
    font-size: 32px;
    font-weight: 800;
    color: #e74c3c;
    letter-spacing: -0.5px;
    line-height: 1;
}
.d-price-bar--early .d-price-bar__current {
    color: #e67e22;
    font-size: 36px;
}
.d-price-bar__unit {
    font-size: 13px;
    color: #93a399;
    font-weight: 600;
}
.d-price-bar__save {
    display: inline-block;
    padding: 3px 10px;
    background: #fdeceb;
    color: #e74c3c;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    margin-left: 4px;
}

.d-price-bar__right {
    text-align: right;
    flex-shrink: 0;
}
.d-price-bar__deadline-label {
    font-size: 12px;
    color: #8a6d3a;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: 0.3px;
}
.d-price-bar__countdown {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.d-countdown__item {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    min-width: 40px;
}
.d-countdown__item strong {
    display: block;
    padding: 6px 8px;
    background: linear-gradient(135deg, #2d3a33, #1a2620);
    color: #fff;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 800;
    font-family: 'Courier New', monospace;
    line-height: 1;
    letter-spacing: 0.5px;
    min-width: 32px;
    text-align: center;
    box-shadow: 0 3px 8px rgba(26,38,32,0.25);
}
.d-price-bar--early .d-countdown__item strong {
    background: linear-gradient(135deg, #f39c12, #e67e22);
    box-shadow: 0 3px 8px rgba(243,156,18,0.35);
}
.d-countdown__item small {
    font-size: 10px;
    color: #93a399;
    font-weight: 600;
}
.d-countdown__sep {
    font-size: 16px;
    font-weight: 800;
    color: #93a399;
    margin-top: -12px;
    align-self: flex-start;
    line-height: 1;
}
.d-price-bar__deadline-time {
    font-size: 11px;
    color: #a9b8ad;
    margin-top: 6px;
    letter-spacing: 0.2px;
}
.d-stats--with-price {
    margin-top: 24px;
}

.d-signup__price-early {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    margin-top: 4px;
}
.d-signup__price-early-tag {
    display: inline-block;
    padding: 4px 12px;
    background: linear-gradient(135deg, #f39c12, #f7b731);
    color: #fff;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.3px;
    box-shadow: 0 3px 10px rgba(243,156,18,0.35);
    animation: earlyBirdPulse 2s infinite;
}
.d-signup__price-early-discount {
    display: inline-block;
    padding: 3px 10px;
    background: #fdeceb;
    color: #e74c3c;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 800;
}

.d-signup__deadline {
    margin: 6px 0 0;
    font-size: 13px;
    color: #856404;
    line-height: 1.6;
    padding: 8px 12px;
    background: rgba(243,156,18,0.08);
    border-radius: 8px;
    display: inline-block;
    border-left: 3px solid #f39c12;
}
.d-signup__deadline strong {
    color: #8a6d3a;
    font-weight: 800;
}
.d-signup__deadline-cd {
    color: #e74c3c;
    font-weight: 700;
    margin-left: 4px;
}

.d-summary--early {
    background: linear-gradient(135deg, #fffdf7 0%, #fff7e6 100%);
    border-color: rgba(243,156,18,0.25);
}
.d-summary--early::before {
    background: radial-gradient(circle, rgba(243,156,18,0.12) 0%, transparent 70%);
}
.d-summary__early-badge {
    display: inline-block;
    padding: 4px 12px;
    background: linear-gradient(135deg, #f39c12, #f7b731);
    color: #fff;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 12px;
    box-shadow: 0 3px 10px rgba(243,156,18,0.3);
    letter-spacing: 0.3px;
}

@media (max-width: 768px) {
    .d-bottom-nav__item--primary span {
        font-size: 12px;
    }
}

@media (max-width: 900px) {
    .d-price-bar {
        margin-top: -30px;
        padding: 0 16px;
    }
    .d-price-bar__inner {
        padding: 18px 20px;
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        border-radius: 14px;
    }
    .d-price-bar__current { font-size: 28px; }
    .d-price-bar--early .d-price-bar__current { font-size: 30px; }
    .d-price-bar__right {
        text-align: left;
        width: 100%;
        padding-top: 14px;
        border-top: 1px dashed #e8efe9;
    }
    .d-countdown__item strong {
        font-size: 15px;
        padding: 5px 6px;
        min-width: 28px;
    }
    .d-countdown__item { min-width: 36px; }
    .d-signup__deadline { font-size: 12px; padding: 7px 10px; }
}

@media (max-width: 540px) {
    .d-price-bar {
        margin-top: -24px;
        padding: 0 12px;
    }
    .d-price-bar__inner { padding: 16px 16px; }
    .d-price-bar__label { font-size: 12px; margin-bottom: 6px; }
    .d-price-bar__current { font-size: 24px; }
    .d-price-bar--early .d-price-bar__current { font-size: 26px; }
    .d-price-bar__original { font-size: 13px; }
    .d-price-bar__save { font-size: 11px; padding: 2px 8px; }

    .d-countdown__item strong {
        font-size: 14px;
        padding: 4px 5px;
        min-width: 26px;
    }
    .d-countdown__item small { font-size: 9px; }
    .d-countdown__item { min-width: 32px; }
    .d-countdown__sep { font-size: 14px; }

    .d-signup__price-early-tag { font-size: 11px; padding: 3px 10px; }
    .d-signup__price-early-discount { font-size: 11px; }
    .d-signup__deadline { font-size: 11px; padding: 6px 10px; }
}

/* ============================================================
   29. 金币抵扣 + 优惠券选择
   ============================================================ */
.d-coin-box {
    padding: 18px 20px;
    background: linear-gradient(135deg, #fffbf0 0%, #fff7e6 100%);
    border-radius: 12px;
    border: 1px solid rgba(230,126,34,0.2);
}
.d-coin-box__info {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 14px;
    font-size: 13px;
    color: #6b3a09;
}
.d-coin-box__info strong {
    color: #e67e22;
    font-weight: 800;
}
.d-coin-box__slider {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
}
.d-coin-box__slider input[type="range"] {
    flex: 1;
    -webkit-appearance: none;
    height: 8px;
    background: linear-gradient(90deg, #f39c12 0%, #e67e22 100%);
    border-radius: 100px;
    outline: none;
    cursor: pointer;
}
.d-coin-box__slider input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    background: #fff;
    border: 3px solid #e67e22;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(230,126,34,0.4);
    cursor: pointer;
    transition: all .2s;
}
.d-coin-box__slider input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(230,126,34,0.5);
}
.d-coin-box__slider input[type="range"]::-moz-range-thumb {
    width: 24px;
    height: 24px;
    background: #fff;
    border: 3px solid #e67e22;
    border-radius: 50%;
    cursor: pointer;
}
.d-coin-box__value {
    min-width: 80px;
    text-align: center;
    font-size: 15px;
    font-weight: 800;
    color: #e67e22;
    padding: 4px 12px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(230,126,34,0.15);
}
.d-coin-box__save {
    text-align: center;
    font-size: 13px;
    color: #6b3a09;
    font-weight: 600;
}
.d-coin-box__save strong {
    color: #e74c3c;
    font-size: 16px;
    font-weight: 800;
}

.d-coupon-select {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 340px;
    overflow-y: auto;
    padding-right: 4px;
}
.d-coupon-option {
    display: block;
    cursor: pointer;
    border: 2px solid #e8efe9;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    transition: all .25s;
    position: relative;
}
.d-coupon-option:hover:not(.is-disabled) {
    border-color: rgba(231,76,60,0.3);
    box-shadow: 0 4px 12px rgba(31,45,36,0.06);
}
.d-coupon-option input[type="radio"] {
    position: absolute;
    opacity: 0;
}
.d-coupon-option.is-active {
    border-color: var(--c,#e74c3c);
    box-shadow: 0 6px 20px rgba(231,76,60,0.15);
    background: linear-gradient(135deg, #fffaf8 0%, #fff5f2 100%);
}
.d-coupon-option.is-disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
.d-coupon-option--none {
    --c: #93a399;
}
.d-coupon-option__body {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
}
.d-coupon-option--none .d-coupon-option__name {
    font-size: 14px;
    font-weight: 700;
    color: #5a6b60;
}
.d-coupon-option__amount {
    flex-shrink: 0;
    min-width: 72px;
    padding: 8px 10px;
    background: var(--c,#e74c3c);
    color: #fff;
    border-radius: 10px;
    text-align: center;
    font-size: 20px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.5px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}
.d-coupon-option__info {
    flex: 1;
    min-width: 0;
}
.d-coupon-option__name {
    font-size: 14px;
    font-weight: 700;
    color: #1a2620;
    margin-bottom: 4px;
    line-height: 1.3;
    word-break: break-word;
}
.d-coupon-option__meta {
    font-size: 11px;
    color: #93a399;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .d-coin-box { padding: 14px 16px; }
    .d-coin-box__info { gap: 10px; font-size: 12px; }
    .d-coin-box__value { min-width: 70px; padding: 3px 10px; font-size: 14px; }
    .d-coupon-option__body { padding: 12px 14px; gap: 10px; }
    .d-coupon-option__amount { min-width: 60px; padding: 6px 8px; font-size: 17px; }
    .d-coupon-option__name { font-size: 13px; }
    .d-coupon-option__meta { font-size: 10px; }
}
@media (max-width: 480px) {
    .d-coin-box__slider { gap: 10px; }
    .d-coin-box__value { min-width: 62px; font-size: 13px; }
    .d-coupon-option__amount { min-width: 54px; font-size: 16px; padding: 5px 7px; }
}

/* ============================================================
   30. 分销佣金展示
   ============================================================ */
.d-dist-commission {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-radius: 12px;
    border: 1.5px solid rgba(30,64,175,0.2);
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}
.d-dist-commission::before {
    content: '';
    position: absolute;
    top: -30px; right: -30px;
    width: 120px; height: 120px;
    background: radial-gradient(circle, rgba(59,130,246,0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.d-dist-commission__icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(30,64,175,0.3);
}
.d-dist-commission__body {
    flex: 1;
    min-width: 0;
}
.d-dist-commission__label {
    font-size: 12px;
    color: #1e40af;
    font-weight: 600;
    letter-spacing: 0.3px;
    margin-bottom: 3px;
}
.d-dist-commission__value {
    font-size: 22px;
    font-weight: 800;
    color: #1e40af;
    letter-spacing: -0.3px;
}
.d-dist-commission__value small {
    font-size: 13px;
    color: #3b82f6;
    font-weight: 600;
    margin-left: 2px;
}
.d-dist-commission__tip {
    font-size: 11px;
    color: #3b82f6;
    margin-top: 2px;
}

@media (max-width: 768px) {
    .d-dist-commission {
        padding: 14px 16px;
        gap: 10px;
    }
    .d-dist-commission__icon {
        width: 38px;
        height: 38px;
        font-size: 18px;
    }
    .d-dist-commission__value { font-size: 19px; }
}

/* ============================================================
   31. ★ 活动批次卡片
   ============================================================ */
.d-batches {
    max-width: 1200px;
    margin: 24px auto 0;
    padding: 0 28px;
}
.d-batches__header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}
.d-batches__icon {
    width: 40px; height: 40px; border-radius: 12px;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #fff; font-size: 20px;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 6px 18px rgba(34,197,94,0.3);
    flex-shrink: 0;
}
.d-batches__title { margin: 0; font-size: 18px; font-weight: 800; color: #1a2620; }
.d-batches__sub { margin: 2px 0 0; font-size: 12px; color: #93a399; }

.d-batches__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
}

.d-batch-card {
    position: relative;
    background: #fff;
    border: 2px solid #e8efe9;
    border-radius: 14px;
    padding: 16px 18px 18px;
    cursor: pointer;
    transition: all .25s cubic-bezier(.4,0,.2,1);
    overflow: hidden;
}
.d-batch-card:hover:not(.is-full) {
    border-color: rgba(45,138,78,.4);
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(31,45,36,.1);
}
.d-batch-card.is-active {
    border-color: #2d8a4e;
    background: linear-gradient(135deg, #f8fbf8 0%, #eef7f0 100%);
    box-shadow: 0 12px 32px rgba(45,138,78,.18);
}
.d-batch-card.is-full {
    opacity: .55;
    cursor: not-allowed;
    background: #fafbfa;
}

.d-batch-card__top {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 10px;
}
.d-batch-card__idx {
    width: 26px; height: 26px; border-radius: 8px;
    background: linear-gradient(135deg, #2d8a4e, #4caf50);
    color: #fff; font-size: 12px; font-weight: 800;
    display: inline-flex; align-items: center; justify-content: center;
}
.d-batch-card__badge {
    padding: 3px 10px; border-radius: 100px;
    font-size: 11px; font-weight: 700;
}
.d-batch-card__badge.is-hot { background: #fef3c7; color: #92400e; }
.d-batch-card__badge.is-full { background: #fee2e2; color: #991b1b; }

.d-batch-card__name {
    font-size: 15px; font-weight: 800; color: #1a2620;
    margin: 0 0 10px; line-height: 1.4;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden; word-break: break-word;
}
.d-batch-card__meta {
    display: flex; flex-direction: column; gap: 4px;
    font-size: 12px; color: #5a6b60; line-height: 1.5;
    margin-bottom: 10px;
}
.d-batch-card__meta-item { display: flex; gap: 4px; align-items: flex-start; }
.d-batch-card__remark {
    font-size: 11px; color: #93a399; padding: 6px 10px;
    background: #f8fbf8; border-radius: 8px; margin-bottom: 10px;
    line-height: 1.5;
}
.d-batch-card__foot {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    padding-top: 12px; border-top: 1px dashed #e8efe9;
}
.d-batch-card__price {
    display: flex; align-items: baseline; gap: 2px;
    color: #e74c3c; font-weight: 800;
}
.d-batch-card__price .sym { font-size: 13px; }
.d-batch-card__price .num { font-size: 22px; letter-spacing: -.5px; line-height: 1; }
.d-batch-card__price .unit { font-size: 11px; color: #93a399; margin-left: 2px; font-weight: 500; }
.d-batch-card__price .free { color: #2d8a4e; font-size: 18px; }

.d-batch-card__progress { flex: 1; max-width: 140px; }
.d-batch-card__progress-bar {
    height: 6px; background: #e2ebe3; border-radius: 100px; overflow: hidden; margin-bottom: 4px;
}
.d-batch-card__progress-bar > div {
    height: 100%; background: linear-gradient(90deg, #2d8a4e, #4caf50);
    border-radius: 100px; transition: width .6s;
}
.d-batch-card__progress span {
    font-size: 11px; color: #93a399; font-weight: 600;
    display: block; text-align: right;
}
.d-batch-card__progress--unlimited { text-align: right; }
.d-batch-card__progress--unlimited span { color: #5a6b60; }

.d-batch-card__check {
    position: absolute; top: 12px; right: 12px;
    width: 22px; height: 22px; border-radius: 50%;
    background: #2d8a4e; color: #fff;
    display: none; align-items: center; justify-content: center;
    font-size: 12px; font-weight: 800;
    box-shadow: 0 3px 10px rgba(45,138,78,.35);
}
.d-batch-card.is-active .d-batch-card__check { display: flex; }
.d-batch-card.is-active .d-batch-card__badge.is-hot { display: none; }

/* ---------- 平板：4 列 ---------- */
@media (max-width: 1024px) {
    .d-batches__grid { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- 手机：2 列网格 ---------- */
@media (max-width: 768px) {
    .d-batches { padding: 0 12px; margin-top: 16px; }
    .d-batches__grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        overflow-x: visible;
        padding-bottom: 0;
    }
    .d-batch-card {
        padding: 12px 12px 14px;
    }
    .d-batch-card__name { font-size: 13px; line-height: 1.35; margin-bottom: 8px; }
    .d-batch-card__meta { font-size: 11px; margin-bottom: 8px; gap: 3px; }
    .d-batch-card__remark { font-size: 10px; padding: 5px 8px; margin-bottom: 8px; }
    .d-batch-card__price .num { font-size: 18px; }
    .d-batch-card__price .sym { font-size: 11px; }
    .d-batch-card__price .unit { font-size: 10px; }
    .d-batch-card__foot { padding-top: 10px; gap: 6px; }
    .d-batch-card__progress span { font-size: 10px; }
    .d-batch-card__idx { width: 22px; height: 22px; font-size: 11px; border-radius: 7px; }
    .d-batch-card__badge { font-size: 10px; padding: 2px 8px; }
    .d-batch-card__check { width: 18px; height: 18px; font-size: 11px; top: 10px; right: 10px; }
}

/* ---------- 超小屏：更紧凑 ---------- */
@media (max-width: 360px) {
    .d-batches__grid { gap: 8px; }
    .d-batch-card { padding: 10px 10px 12px; }
    .d-batch-card__name { font-size: 12px; }
    .d-batch-card__price .num { font-size: 16px; }
    .d-batch-card__price .unit { display: none; }
}